.content-area {
    padding: 64px;
    background-color: #F7F7F8;
}/* Project Single Template Styles */

.entry-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #009970;
    font-family: 'Space Grotesk', sans-serif;
}

.entry-header {
    margin-bottom: 2rem;
}

.entry-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.project-content-grid {
    display: flex;
    flex-direction: column;
}

.project-single {
    max-width: 1120px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Enhanced Featured Image Styles */
.project-featured-image {
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    align-self: start;
}

.project-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.project-featured-image:hover img {
    transform: scale(1.03);
}

/* Add a caption overlay for the featured image */
.project-featured-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-featured-image:hover::after {
    opacity: 1;
}

/* Featured Image Caption */
.featured-image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    color: #fff;
    font-size: 1rem;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-featured-image:hover .featured-image-caption {
    opacity: 1;
}

.project-details {
    background-color: #f9f9f9;
    /* padding: 2rem; */
    border-radius: 8px;
    margin-bottom: 2rem;
}

.project-details h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: #333;
}

.project-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1.5rem;
}

.project-detail-item {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.detail-label {
    font-weight: bold;
    color: #666;
    margin-bottom: 0.5rem;
}

.detail-value {
    font-size: 1.1rem;
    color: #333;
}

.project-description {
    margin-bottom: 2rem;
}

.project-description p {
    margin-bottom: 1.5rem;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    font-family: 'Axiforma', sans-serif;
}

.project-description ul {
    margin-bottom: 1.5rem;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    font-family: 'Axiforma', sans-serif;
}

.project-description h2 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: #333;
}

.project-gallery {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.project-gallery h2 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: #333;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.gallery-grid img {
    width: 260px;
    height: 260px;
    border-radius: 4px;
    transition: transform 0.3s ease;
    object-fit: cover;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

.project-availability {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.project-availability h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: #333;
}

.availability-status {
    font-size: 1.2rem;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.availability-status.available {
    background-color: #e6f7e6;
    color: #2e7d32;
}

.availability-status.not-available {
    background-color: #ffebee;
    color: #c62828;
}

.contact-info {
    margin-bottom: 1.5rem;
}

.contact-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    color: #333;
}

.project-documents {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.document-item {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.document-item h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #333;
}

.document-item .button {
    display: inline-block;
    background-color: #0073aa;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.document-item .button:hover {
    background-color: #005177;
}

.project-categories,
.project-materials {
    margin-bottom: 2rem;
}

.project-categories h2,
.project-materials h2 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: #333;
}

.categories-list,
.materials-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-link,
.material-link {
    display: inline-block;
    background-color: #f0f0f0;
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.category-link:hover,
.material-link:hover {
    background-color: #e0e0e0;
}

.project-tags {
    padding-top: 1rem;
}

.tag-link {
    display: inline-block;
    background-color: #f0f0f0;
    color: #666;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    text-decoration: none;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.tag-link:hover {
    background-color: #e0e0e0;
}

/* Fix elementor links */
.elementor-widget-heading .elementor-heading-title[class*="elementor-size-"] > a {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}
/* Responsive Styles */
@media (max-width: 1200px) {
    .project-single {
        max-width: 960px;
        padding: 1.5rem;
    }
}

@media (max-width: 992px) {
    .entry-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .project-featured-image {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .content-area {
        padding: 20px;
    }

    .project-single {
        padding: 0;
    }

    .project-single-content .entry-title {
        text-align: center;
    }
    
    .entry-title {
        font-size: 2.25rem;
        margin-bottom: 1.5rem;
    }

    .project-details-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .project-detail-item {
        flex-direction: row;
        gap: 1rem;
        align-items: center;
    }

    .detail-label {
        margin-bottom: 0;
    }
    
    .project-documents {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

    .project-description p {
        font-size: 16px;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .content-area {
        padding: 30px 16px;
    }

    .entry-title {
        font-size: 1.75rem;
    }

    .project-featured-image {
        margin-bottom: 1rem;
        order: -1;
    }

    .featured-image-caption {
        font-size: 0.875rem;
    }
}

.breadcrumbs {
    margin: 1rem auto;
    font-size: 16px;
    color: #123F8F;
    max-width: 1120px;
}

.breadcrumbs a {
    color: #123F8F;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: #333;
}

.breadcrumbs .current {
    color: #333;
    font-weight: 500;
} 

.breadcrumbs-icon {
    color: #474756;
    margin: 0 0.5rem;
}

.breadcrumbs-icon i {
    color: #474756;
}