/* ══════════════════════════════════════════
       CAMPAIGNS HEADER SECTION
   ══════════════════════════════════════════ */
.campaigns-header-section {
    background: #F5F4F0;
    padding: 40px 40px;
}

.campaigns-header-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.campaigns-header-h2 {
    font-family: "f4", serif;
    font-size: 54px;
    color: #111111;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.campaigns-header-italic {
    font-family: "f4", serif;
    font-style: italic;
    color: #2C4A6E;
    font-weight: 400;
}

.campaigns-header-desc {
    font-family: "f1", sans-serif;
    font-size: 18px;
    color: #555555;
    line-height: 1.75;
    max-width: 640px;
}

@media (max-width: 768px) {
    .campaigns-header-section {
        padding: 64px 24px 48px;
    }
}

@media (max-width: 480px) {
    .campaigns-header-section {
        padding: 48px 16px 36px;
    }
}



/* ══════════════════════════════════════════
   CAMPAIGN PORTFOLIO CARDS (FIXED)
   ══════════════════════════════════════════ */

.portfolio-section {
    background: #F5F4F0;
    padding: 40px;
}

.portfolio-inner {
    max-width: 1280px;
    margin: 0 auto;
}

/* ✅ Better responsive grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Card */
.portfolio-card {
    background: #ffffff;
    border: 1px solid #e4e2dc;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Image */
.portfolio-img-wrap {
    width: 100%;
    height: 260px;
    overflow: hidden;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-img {
    transform: scale(1.04);
}

/* Body */
.portfolio-body {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Tags */
.portfolio-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.portfolio-tag {
    font-family: "f2", sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #ffffff;
    background: #4e6640;
    border-radius: 20px;
    padding: 4px 12px;
}

.portfolio-t {
    font-family: "f2", sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #ffffff;
    background: #1a38be;
    border-radius: 20px;
    padding: 4px 12px;
}

/* Meta section */
.portfolio-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

/* Text block */
.portfolio-title {
    font-family: "f4", serif;
    font-size: 22px;
    color: #111;
    margin-bottom: 6px;
    line-height: 1.3;

    white-space: normal;
}

.portfolio-stat {
    font-family: "f1", sans-serif;
    font-size: 16px;
    color: #777;
    line-height: 1.5;

    display: -webkit-box;
    /* -webkit-line-clamp: 2; */
    -webkit-box-orient: vertical;
    overflow: hidden;

    max-width: 100%;
}

/* Button */
.portfolio-arrow {
    height: 48px;
    min-width: 48px;
    border-radius: 30px;
    background: #1e3254;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    font-size: 18px;
    text-decoration: none;
    flex-shrink: 0;
    overflow: hidden;
    padding: 0 14px;
    transition: all 0.3s ease;
}

.portfolio-arrow-label {
    font-family: "f1", sans-serif;
    font-size: 14px;
    width: 0;
    opacity: 0;
    overflow: hidden;
    transition: 0.3s;
}

/* Hover (desktop only effect) */
.portfolio-arrow:hover {
    width: 130px;
    gap: 8px;
    background: #2C4A6E;
}

.portfolio-arrow:hover .portfolio-arrow-label {
    width: auto;
    opacity: 1;
}

/* ══════════════════════════════════════════
   TABLET
   ══════════════════════════════════════════ */
@media (max-width: 768px) {

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-section {
        padding: 24px;
    }

    .portfolio-img-wrap {
        height: 220px;
    }

    /* ✅ Stack content */
    .portfolio-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    /* ✅ Mobile button fix */
    .portfolio-arrow {
        width: auto;
        padding: 10px 16px;
        gap: 6px;
    }

    .portfolio-arrow-label {
        width: auto;
        opacity: 1;
    }
}

/* ══════════════════════════════════════════
   MOBILE
   ══════════════════════════════════════════ */
@media (max-width: 480px) {

    .portfolio-section {
        padding: 16px;
    }

    .portfolio-img-wrap {
        height: 180px;
    }

    .portfolio-body {
        padding: 16px;
    }

    .portfolio-title {
        font-size: 20px;
    }

    .portfolio-stat {
        font-size: 14px;
    }
}