/*
 * Single Project Template Styles
 */

/* --- Marquee project variant --- */
.c-marquee--project {
    padding: 20px 0;
}

/* --- Client Overview Section --- */
.c-project-overview {
    padding: 30px 0;
}
.c-project-overview__content {
    font-size: 30px;
    font-style: normal;
    font-weight: 500;
    line-height: 36px; /* 120% */
    letter-spacing: -1.2px;
}
.c-project-overview__content > :last-child {
    margin-bottom: 0;
}
.c-project-overview__meta {
    display: flex;
    align-items: center;
}
.c-project-overview__meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    width: 100%;
}
.c-project-overview__tile {
    background-color: #eeede7;
    border-radius: 15px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.c-project-overview__tile-label {
    color: #bebdb3;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 38px; /* 190% */
    letter-spacing: -0.4px;
    text-transform: uppercase;
}
.c-project-overview__tile-value {
    font-size: 46px;
    font-weight: 500;
    line-height: 38px;
    letter-spacing: -0.92px;
    text-transform: uppercase;
    color: var(--text-colour, #00253f);
    margin-top: auto;
}

/* --- Details Section (Brief / Work / Result) --- */

.c-project-details__block {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 45px 0;
}
.c-project-details__title .text-accent {
    color: #717171;
    transition: color 0.8s ease;
    width: 100%;
}
.c-project-details__block.is-in-view .c-project-details__title .text-accent {
    color: var(--blue, #2a7dd6);
}
.c-project-details__content {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.16px;
}
.c-project-details__content > :last-child {
    margin-bottom: 0;
}
hr.c-project-details__divider {
    display: block;
    position: relative;
    background: #545454;
    height: 2px;
    width: 100%;
}
hr.c-project-details__divider::before {
    content: "";
    background: var(--blue);
    position: absolute;
    inset: 0 auto 0 0;
    width: 180px;
}
/* --- Project Gallery Section --- */
.c-project-gallery {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 20px;
}
.c-project-gallery__row.swiper {
    overflow: visible;
}
.c-project-gallery__row .swiper-wrapper {
    transition-timing-function: linear;
}
.c-project-gallery__slide.swiper-slide {
    width: auto;
    height: auto;
}
.c-project-gallery__link {
    display: inline-block;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    line-height: 0;
}
.c-project-gallery__img {
    display: block;
    width: auto;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.4s ease;
}
.c-project-gallery__link:hover .c-project-gallery__img {
    transform: scale(1.03);
}

/* Responsive */
@media (max-width: 991px) {
    .c-project-overview {
        padding: 60px 0;
    }
    .c-project-overview__tile {
        gap: 8px;
    }
    .c-project-overview__meta-grid {
        grid-template-columns: 1fr;
    }
    .c-project-overview__meta {
        margin-top: 30px;
    }
    .c-project-overview__content {
        font-size: 18px;
        line-height: 23px;
        font-weight: 500;
    }
    .c-project-details__divider {
        margin: 40px 0;
    }
    .c-project-gallery {
        padding: 40px 0;
    }
}

@media (max-width: 575px) {
    .c-project-overview {
        padding: 40px 0;
    }
    .c-project-overview__tile-value {
        font-size: 24px;
        line-height: 29px;
    }

    .c-project-details__divider {
        margin: 30px 0;
    }
    .c-project-details__title h2 {
        margin-bottom: 16px;
    }
    .c-project-gallery {
        padding: 30px 0;
        gap: 10px;
    }
}
