﻿/* HERO (Option A) */
.hero-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
    border: 1px solid #e2e8f0;
    min-height: 340px;
}

.hero-img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    left: 6.5%;
    top: 50%;
    transform: translateY(-50%);
    width: min(560px, 88%);
    background: rgba(18,78,67,.88);
    border-radius: 22px;
    padding: 30px 30px 24px 30px;
    color: #fff;
}

.hero-title {
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.05;
    font-size: clamp(26px, 2.1vw, 44px);
    margin: 0;
}

.hero-sub {
    color: rgba(255,255,255,.9);
    font-size: 14px;
    line-height: 1.6;
    max-width: 48ch;
}

.hero-btn {
    border-radius: 14px;
    padding: 10px 16px;
    font-weight: 700;
    border: 0;
    color: #fff;
    background: #52b7b0;
}

    .hero-btn:hover {
        background: #3aa59e;
        color: #fff;
    }

/* INTRO BLOCK */
.statement-card {
    overflow: hidden;
    background: #e9dfda;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: var(--shadow);
}

.statement-inner {
    padding: 26px;
    max-width: 1100px;
    margin: 0 auto;
}

.statement-title {
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.2;
    font-size: 22px;
    color: #111827;
}

.statement-p {
    color: rgba(17,24,39,.78);
    font-size: 14px;
    line-height: 1.8;
}

/* Cards */
.card.shadow-sm {
    box-shadow: var(--shadow) !important;
}

/* Multi-select nicer */
#fGeo {
    border-radius: 14px;
}

    #fGeo option {
        padding: 6px 8px;
    }

/* Results list cards match your structure */
.program-card {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

    .program-card .card-body {
        padding: 14px;
    }

    .program-card img {
        border-radius: 12px;
    }

.program-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.program-tag {
    background: var(--chip-bg);
    color: #065f46;
    border-radius: var(--radius-pill);
    border: 1px solid var(--chip-border);
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
}

@@media (max-width: 991px) {
    .container-fluid.px-5 {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .hero-overlay {
        left: 16px;
        right: 16px;
        width: auto;
        padding: 20px;
        border-radius: 20px;
    }
}

.incentives {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.incentive {
    background: #f1f5f9;
    border-radius: var(--radius-pill);
    border: 1px solid #e2e8f0;
    padding: 4px 8px;
    font-size: 12px;
    color: #334155;
}

.img-wrap {
    position: relative;
}

.badge {
    border-radius: var(--radius-pill);
    border: 1px solid #e2e8f0;
    color: black;
    font-weight: normal;
}

.min-img-height {
    min-height: 60%;
}


/* =========================
           Compare Dock (bottom bar)
        ========================= */
.compare-dock {
    position: sticky;
    bottom: 0;
    z-index: 1200;
    margin-top: 18px;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(8px);
    border: 1px solid #d6efe1;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(16, 24, 40, .12);
}

.compare-dock-inner {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
}

.compare-left {
    min-width: 160px;
}

.compare-chips {
    display: flex;
    gap: 8px;
    flex: 1;
    overflow: auto;
    padding: 2px 6px;
}

.compare-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 13px;
}

    .compare-chip .x {
        border: 0;
        background: transparent;
        font-size: 16px;
        line-height: 1;
        opacity: .6;
    }

        .compare-chip .x:hover {
            opacity: 1;
        }

.btn-compare.is-selected {
    border-color: #059669 !important;
    color: #059669 !important;
    background: rgba(5,150,105,.08);
}

/* keep the dock inside your container nicely */
@media (min-width: 992px) {
    .compare-dock {
        margin-left: auto;
        margin-right: auto;
    }
}


.drawer {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 40;
}

    .drawer.open {
        display: block;
    }

.drawer-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 100%;
    height: 100%;
    background: #fff;
    border-left: 1px solid #ddd;
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 9999;
    overflow: auto;
}

@keyframes drawer-in {
    to {
        transform: translateX(0);
    }
}

.drawer-meta {
    font-size: 12px;
    color: var(--muted);
}

.drawer-title {
    font-size: 18px;
    font-weight: 700;
}

.drawer-body {
    padding: 1rem;
    overflow-y: auto;
    overflow: auto;
}

    .drawer-body img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        border-radius: 14px;
        margin-bottom: 10px;
    }

    .drawer-body .info {
        margin-bottom: 10px;
        font-size: 14px;
    }

.drawer-summary {
    color: #475569;
    font-size: 14px;
}

#drawer-region .drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.35);
    opacity: 0;
    transition: opacity .25s;
    z-index: 998;
}

#drawer-region.open .drawer-backdrop {
    opacity: 1;
}

#drawer-region.open .drawer-panel {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #eee;
}