/**
 * Block: Overview Section
 * Two-column: image panel + content (heading, lead, checklist, buttons).
 * Image position (left/right) toggled via modifier class.
 */

.glacial-overview-section {
    --ov-navy:   #181c48;
    --ov-teal:   #0cb9a2;
    --ov-muted:  #586275;
    --ov-border: #dce3ee;
    --ov-shadow: 0 18px 45px rgba(24, 28, 72, 0.10);

    display: grid;
    grid-template-columns: 0.96fr 1.04fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 44px;
}

/* Image on right */
.glacial-overview-section--image-right {
    grid-template-columns: 1.04fr 0.96fr;
}

.glacial-overview-section--image-right .glacial-overview-section__image-panel {
    order: 2;
}

.glacial-overview-section--image-right .glacial-overview-section__content {
    order: 1;
}

/* ── Image panel ────────────────────────────────────────────────── */
.glacial-overview-section__image-panel {
    min-height: 310px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--ov-shadow);
    background-color: #e9f5fb;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: linear-gradient(135deg, #f1e0d5, #e9f5fb 50%, #d4e4ea);
}

/* ── Content ────────────────────────────────────────────────────── */
.glacial-overview-section__content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ── Eyebrow heading ────────────────────────────────────────────── */
.glacial-overview-section__eyebrow {
    margin: 0 0 8px;
    color: var(--ov-teal);
    font-size: 13px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ── Section title (h2 or h3) ───────────────────────────────────── */
.glacial-overview-section .glacial-section-title {
    font-size: 34px;
    line-height: 1.1;
    color: var(--ov-navy);
    margin: 0 0 14px;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.glacial-overview-section .glacial-section-title::after {
    content: "";
    display: block;
    width: 54px;
    height: 4px;
    background: var(--ov-teal);
    margin-top: 14px;
    border-radius: 999px;
}

/* ── Lead text ──────────────────────────────────────────────────── */
.glacial-overview-section .glacial-lead {
    font-size: 17px;
    line-height: 1.7;
    color: var(--ov-muted);
    max-width: 710px;
    margin: 0;
}

/* ── Checklist ──────────────────────────────────────────────────── */
.glacial-check-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: grid;
    gap: 14px;
}

.glacial-check-list li {
    position: relative;
    padding-left: 34px;
    line-height: 1.55;
    color: #26324d;
    font-size: 15px;
}

.glacial-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--ov-teal);
    font-size: 12px;
    font-weight: 700;
}

/* ── Buttons ────────────────────────────────────────────────────── */
.glacial-overview-section__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.glacial-overview-section__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    transition: opacity 0.15s ease, background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

/* Primary — teal filled */
.glacial-overview-section__btn--primary {
    background: var(--ov-teal);
    border-color: var(--ov-teal);
    color: #fff;
}

.glacial-overview-section__btn--primary:hover {
    opacity: 0.88;
    color: #fff;
}

/* Outline — navy border */
.glacial-overview-section__btn--outline {
    background: transparent;
    border-color: var(--ov-navy);
    color: var(--ov-navy);
}

.glacial-overview-section__btn--outline:hover {
    background: var(--ov-navy);
    color: #fff;
}

/* Ghost — white border and text (for use on dark/image backgrounds) */
.glacial-overview-section__btn--ghost {
    background: transparent;
    border-color: #fff;
    color: #fff;
}

.glacial-overview-section__btn--ghost:hover {
    background: var(--ov-teal);
    border-color: var(--ov-teal);
    color: #fff;
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 980px) {
    .glacial-overview-section,
    .glacial-overview-section--image-right {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .glacial-overview-section--image-right .glacial-overview-section__image-panel,
    .glacial-overview-section--image-right .glacial-overview-section__content {
        order: unset;
    }

    .glacial-overview-section__image-panel {
        min-height: 240px;
    }
}

@media (max-width: 480px) {
    .glacial-overview-section__actions {
        flex-direction: column;
    }

    .glacial-overview-section__btn {
        width: 100%;
        justify-content: center;
    }
}

/* ── Video panel ────────────────────────────────────────────────── */
.glacial-overview-section__video-panel {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--ov-shadow);
    background: #000;
    aspect-ratio: 16 / 9;
    align-self: center;
    width: 100%;
}

.glacial-overview-section__video-panel iframe {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    display: block !important;
    max-width: 100% !important;
}

/* Image-right variant: video panel also moves to the right */
.glacial-overview-section--image-right .glacial-overview-section__video-panel {
    order: 2;
}