/* Container for the portfolio page */
.portfolio-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    font-family: Arial, sans-serif;
}

/* Portfolio title: Centered */
.portfolio-title {
    text-align: center;
    font-size: 2.5em;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
}

/* Meta info like categories and publish date */
.portfolio-meta {
    display: flex;
    justify-content: space-between;
    font-size: 1.1em;
    color: #666;
    margin-bottom: 30px;
}

.portfolio-categories {
    font-style: italic;
}

.portfolio-date {
    color: #aaa;
}

/* Body section of the portfolio, with image and descriptions */
.portfolio-body {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}

/* Featured image: Centered and Full Width */
.portfolio-image {
    text-align: center;
    margin-bottom: 30px;
}

.portfolio-image img {
    width: 100%;
    max-width: 100%; /* Ensures it can take full width of its container */
    height: auto;
    border: 1px solid #ddd;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Short description: Full width */
.portfolio-description {
    width: 100%;
}

.portfolio-description h2 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 10px;
}

.portfolio-description h3 {
    font-size: 1.6em;
    color: #444;
    margin-top: 30px;
    margin-bottom: 20px;
}

.short-description, .long-description {
    font-size: 1.1em;
    line-height: 1.6;
    color: #444;
}

.short-description {
    font-weight: normal;
    color: #555;
    margin-bottom: 20px;
}

/* Long description should take full width */
.long-description {
    width: 100%;
    color: #333;
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 1px solid #eee;
}

/* Add spacing between content sections */
.portfolio-container > .portfolio-header,
.portfolio-body {
    margin-bottom: 40px;
}

/* Styling for Footer */
footer {
    text-align: center;
    margin-top: 50px;
    font-size: 1em;
    color: #666;
}

footer a {
    color: #0066cc;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}