/* ===== Project Page (Premium Dark) ===== */
.project-page {
    background: #0f0f10;
    color: #fff;
}

.project-page .container {
    max-width: 1120px;
}

/* --- HERO --- */
.project-hero {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0b0b0c;
}

.project-hero__bg {
    position: absolute;
    inset: -40px;
    background-image: url('/wp-content/uploads/2026/01/ppf-banner-1-2048x1274.png');
    background-size: cover;
    background-position: center;
    filter: blur(2px) saturate(.9) contrast(1.1);
    transform: scale(1.06);
    opacity: .55;
}

.project-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 80% at 50% 30%, rgba(225, 29, 46, .10), rgba(0, 0, 0, 0)),
        linear-gradient(to bottom, rgba(0, 0, 0, .35), rgba(0, 0, 0, .92)),
        radial-gradient(120% 90% at 50% 20%, rgba(0, 0, 0, .15), rgba(0, 0, 0, .85));
}

.project-hero__inner {
    position: relative;
    text-align: center;
    padding: 84px 18px;
    max-width: 980px;
}

.project-hero__title {
    margin: 0 0 12px;
    font-size: 54px;
    font-weight: 900;
    letter-spacing: .02em;
    text-transform: uppercase;
    line-height: 1.05;
}

.project-hero__sub {
    margin: 0 auto;
    max-width: 720px;
    color: rgba(255, 255, 255, .78);
    font-size: 16px;
    line-height: 1.7;
}

@media (max-width: 680px) {
    .project-hero {
        min-height: 340px;
    }

    .project-hero__title {
        font-size: 34px;
    }
}

/* --- SECTION --- */
.project-section {
    padding: 34px 0 64px;
    background: #101112;
}

/* --- FILTER --- */
.project-filter {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 8px 0 30px;
}

.project-filter__btn {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .78);
    background: rgba(255, 255, 255, .04);
    text-decoration: none;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .04em;
    transition: .2s ease;
}

.project-filter__btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, .08);
}

.project-filter__btn--active {
    color: #fff;
    background: #e41b21;
    border-color: #e41b21;
}

/* --- GRID --- */
.project-grid {
    display: block !important;
    column-count: 3;
    column-gap: 14px;
}

/* --- CARD --- */
.project-card {
    display: inline-block !important;
    width: 100% !important;
    break-inside: avoid;
    margin: 0 0 14px;
    vertical-align: top;
}

.project-card__media {
    position: relative;
    width: 100%;
    height: auto !important;
    aspect-ratio: auto !important;
    overflow: hidden;
    border-radius: 14px;
}

.project-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .45));
    opacity: .55;
    transition: opacity .25s ease;
}

.project-card__media img {
    width: 100% !important;
    height: auto !important;
    display: block;
    object-fit: cover;
}

.project-card:hover img {
    transform: scale(1.06);
    filter: brightness(.95);
}

.project-card:hover .project-card__media::after {
    opacity: .75;
}

.project-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e11d2e;
    color: #fff;
    font-weight: 900;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 7px 10px;
    border-radius: 10px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .35);
    z-index: 1;
}

.project-card__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px 16px 14px;
    background: linear-gradient(to top,
            rgba(0, 0, 0, .65),
            rgba(0, 0, 0, .15),
            rgba(0, 0, 0, 0));
    opacity: 0;
    transform: translateY(10px);
    transition: all .25s ease;
    z-index: 1;
}

.project-card:hover .project-card__caption {
    opacity: 1;
    transform: translateY(0);
}

.project-card__title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    color: #fff !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 1200px) {
    .project-grid {
        column-count: 4;
    }
}

@media (max-width: 1000px) {
    .project-grid {
        column-count: 3;
    }
}

@media (max-width: 680px) {
    .project-grid {
        column-count: 2;
    }
}

@media (max-width: 420px) {
    .project-grid {
        column-count: 1;
    }
}

/* --- PAGINATION --- */
.project-pagination {
    margin-top: 26px;
    text-align: center;
}

.project-pagination .page-numbers {
    display: inline-block;
    margin: 0 4px;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .85);
}

.project-pagination .page-numbers.current {
    background: #e11d2e;
    border-color: #e11d2e;
    color: #fff;
}

/* --- CTA --- */
.project-cta {
    padding: 56px 0;
    background: #0f1011;
}

.project-cta__card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 26px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .10);
    box-shadow: 0 26px 70px rgba(0, 0, 0, .50);
}

.project-cta__kicker {
    display: inline-block;
    font-weight: 900;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .70);
    margin-bottom: 10px;
    position: relative;
    padding-left: 12px;
}

.project-cta__kicker::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 14px;
    background: #e11d2e;
    transform: translateY(-50%);
    border-radius: 2px;
}

.project-cta__text h3 {
    color: var(--color-text-white) !important;
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
}

.project-cta__text p {
    margin: 0;
    color: rgba(255, 255, 255, .72);
    max-width: 560px;
}

.project-cta__action {
    text-align: center;
    min-width: 240px;
}

.project-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 22px;
    background: #e11d2e;
    color: #fff !important;
    font-weight: 900;
    letter-spacing: .10em;
    text-transform: uppercase;
    border-radius: 12px;
    box-shadow: 0 18px 44px rgba(225, 29, 46, .28), 0 22px 60px rgba(0, 0, 0, .45);
    position: relative;
}

.project-cta__btn:hover {
    background: #c71626;
    transform: translateY(-1px);
}

.project-cta__note {
    margin-top: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, .55);
    text-align: center;
}

@media (max-width: 680px) {
    .project-cta__card {
        flex-direction: column;
        text-align: center;
    }

    .project-cta__action {
        width: 100%;
    }

    .project-cta__btn {
        width: 100%;
    }
}

.header-wrapper ul li a {
	color: white !important;
}