/* Campaigns & Social Drives — light cards, equal images, readable text */

.hp-campaigns {
    position: relative;
    padding: clamp(3.5rem, 6vw, 5.5rem) 0 clamp(2rem, 3vw, 2.75rem);
    background: linear-gradient(165deg, #eef6f1 0%, #f8faf9 48%, #fff 100%);
    overflow: hidden;
    border-top: 1px solid rgba(0, 200, 104, 0.14);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.hp-campaigns__glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 45% 38% at 12% 18%, rgba(0, 200, 104, 0.1), transparent 55%),
        radial-gradient(ellipse 38% 32% at 88% 82%, rgba(255, 170, 0, 0.08), transparent 50%);
}

.hp-campaigns__stripes {
    display: none;
}

.hp-campaigns .container {
    position: relative;
    z-index: 1;
}

.hp-campaigns__head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 12px 28px;
    margin-bottom: 0;
    position: relative;
    z-index: 3;
}

.hp-campaigns__head > div:first-child {
    grid-column: 1;
}

.hp-campaigns__head p {
    grid-column: 1 / -1;
    max-width: 640px;
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #475569 !important;
}

.hp-campaigns__cta {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
}

.hp-campaigns__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #9a7209 !important;
    background: rgba(255, 170, 0, 0.12);
    border: 1px solid rgba(255, 170, 0, 0.28);
}

.hp-campaigns__head h2 {
    margin: 0;
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 900;
    line-height: 1.1;
    color: #0f172a !important;
}

.hp-campaigns__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid rgba(0, 200, 104, 0.4);
    background: #fff;
    color: #087a42 !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(0, 200, 104, 0.12);
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.hp-campaigns__cta:hover {
    background: #00c868;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 200, 104, 0.22);
}

.hp-scroll--campaigns {
    position: relative;
    z-index: 1;
}

.hp-scroll--campaigns .hp-scroll__track {
    padding-left: max(1.25rem, calc((100vw - 1320px) / 2 + 1.25rem));
    padding-right: 1.25rem;
    gap: 20px;
}

.hp-campaign-card {
    flex: 0 0 320px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #0f172a !important;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.hp-campaign-card:hover {
    color: #0f172a !important;
    transform: translateY(-8px);
    border-color: rgba(0, 200, 104, 0.35);
    box-shadow: 0 18px 44px rgba(0, 200, 104, 0.16);
}

.hp-campaign-card__visual {
    position: relative;
    height: 200px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    background-color: #e2e8f0;
}

.hp-campaign-card__visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(15, 23, 42, 0.35) 100%);
    pointer-events: none;
}

.hp-campaign-card__ring {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
    z-index: 1;
}

.hp-campaign-card__ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.hp-campaign-card__ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.35);
    stroke-width: 3;
}

.hp-campaign-card__ring-fill {
    fill: none;
    stroke: #00ff88;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 113;
    stroke-dashoffset: calc(113 - (113 * var(--progress, 0) / 100));
}

.hp-campaign-card__ring span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 900;
    color: #fff !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.hp-campaign-card__body {
    padding: 20px 20px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #fff;
}

.hp-campaign-card__badge {
    align-self: flex-start;
    margin-bottom: 10px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #9a7209 !important;
    background: rgba(255, 170, 0, 0.12);
    border: 1px solid rgba(255, 170, 0, 0.25);
}

.hp-campaign-card__body h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1.25;
    color: #0f172a !important;
}

.hp-campaign-card__body p {
    margin: 0;
    flex: 1;
    font-size: 14px;
    line-height: 1.65;
    color: #64748b !important;
}

.hp-campaign-card__bar {
    margin-top: 14px;
    height: 6px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.hp-campaign-card__bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #00c868, #ffaa00);
}

.hp-campaign-card__stats {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    font-size: 12px;
    font-weight: 800;
    color: #334155 !important;
}

@media (max-width: 767px) {
    .hp-campaigns__head {
        grid-template-columns: 1fr;
    }

    .hp-campaigns__cta {
        grid-column: 1;
        grid-row: auto;
        justify-self: start;
    }

    .hp-campaign-card {
        flex-basis: min(300px, 86vw);
    }
}
