.vd-section {
    position: relative;
    overflow: hidden;
    color: var(--color-navy);
}

/* Section backgrounds */
.vd-section.bg-white { background: var(--color-white); }
.vd-section.bg-cyan  { background: var(--color-cyan); }
.vd-section.bg-azure { background: var(--color-azure); }
.vd-section.bg-pink  { background: var(--color-pink); }

/* Header */
.vd-section .vd-header { margin-bottom: 3.5rem; max-width: 45rem; }
.vd-section .vd-eyebrow {
    margin: 0 0 .75rem;
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--color-blue);
}
.vd-section .vd-title { margin: 0 0 1.25rem; color: var(--color-navy); }
.vd-section .vd-header .content,
.vd-section .vd-header .content * { color: var(--color-navy); }
.vd-section .vd-header .content > *:last-child,
.vd-section .vd-title:last-child { margin-bottom: 0; }

/* Grid */
.vd-section .vd-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 5rem;
    row-gap: 2.5rem;
}
.vd-section.split-60-40 .vd-inner { grid-template-columns: 3fr 2fr; }
.vd-section.split-40-60 .vd-inner { grid-template-columns: 2fr 3fr; }
.vd-section.no-map .vd-inner,
.vd-section.no-items .vd-inner { grid-template-columns: minmax(0, 1fr); }

.vd-section.align-top .vd-inner    { align-items: start; }
.vd-section.align-middle .vd-inner { align-items: center; }
.vd-section.align-stretch .vd-inner{ align-items: stretch; }

/* Swap sides */
.vd-section.toggles-right .vd-items { order: 2; }
.vd-section.toggles-right .vd-media { order: 1; }
.vd-section.toggles-right.split-60-40 .vd-inner { grid-template-columns: 2fr 3fr; }
.vd-section.toggles-right.split-40-60 .vd-inner { grid-template-columns: 3fr 2fr; }

/* ---------- Toggles ---------- */
.vd-section .vd-items,
.vd-section .vd-media { min-width: 0; }

.vd-section .vd-item {
    margin-bottom: .75rem;
    border-radius: var(--border-radius, 8px);
    background: var(--color-white);
    box-shadow: inset 0 0 0 2px var(--color-azure);
    overflow: hidden;
}
.vd-section .vd-item:last-child { margin-bottom: 0; }
.vd-section.item-white .vd-item  { box-shadow: none; }
.vd-section.item-azure .vd-item  { background: var(--color-azure); box-shadow: none; }
.vd-section.item-pink .vd-item   { background: var(--color-pink); box-shadow: none; }
.vd-section.bg-azure.item-outline .vd-item,
.vd-section.bg-cyan.item-outline .vd-item { box-shadow: inset 0 0 0 2px var(--color-white); }

.vd-section .vd-heading { margin: 0; font-size: inherit; line-height: inherit; }
.vd-section .vd-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1.35rem 1.6rem;
    border: 0;
    background: transparent;
    color: var(--color-navy);
    font: inherit;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
}
.vd-section .vd-trigger:hover .vd-trigger-text { color: var(--color-blue); }
.vd-section .vd-trigger:focus-visible { outline: 3px solid var(--color-purple); outline-offset: -3px; }

/* Icon */
.vd-section .vd-icon { position: relative; flex: 0 0 auto; width: 1.25rem; height: 1.25rem; }
.vd-section.icon-chevron .vd-icon::before {
    content: "";
    position: absolute;
    top: 25%;
    left: 25%;
    width: 50%;
    height: 50%;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-10%, -10%);
    transition: transform .25s ease;
}
.vd-section.icon-chevron .is-open .vd-icon::before { transform: rotate(-135deg) translate(-10%, -10%); }
.vd-section.icon-plus .vd-icon::before,
.vd-section.icon-plus .vd-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 10%;
    width: 80%;
    height: 2px;
    margin-top: -1px;
    background: currentColor;
    transition: transform .25s ease, opacity .25s ease;
}
.vd-section.icon-plus .vd-icon::after { transform: rotate(90deg); }
.vd-section.icon-plus .is-open .vd-icon::after { transform: rotate(0); opacity: 0; }

/* Panel (animated height) */
.vd-section .vd-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .3s ease;
}
.vd-section .is-open .vd-panel { grid-template-rows: 1fr; }
.vd-section .vd-panel-inner { overflow: hidden; min-height: 0; }
.vd-section .vd-panel-content {
    padding: .25rem 1.6rem 1.75rem;
    font-size: 1rem;
    line-height: 1.65;
}
.vd-section .vd-panel-content > *:last-child { margin-bottom: 0; }

/* Teal bullets, as in the design */
.vd-section .vd-panel-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.vd-section .vd-panel-content ul li {
    position: relative;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}
.vd-section .vd-panel-content ul li:last-child { margin-bottom: 0; }
.vd-section .vd-panel-content ul li::before {
    content: "";
    position: absolute;
    top: .6em;
    left: .25rem;
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: var(--color-green);
}
.vd-section .vd-panel-content ol { padding-left: 1.5rem; }

.vd-section .vd-panel-content a {
    color: var(--color-purple) !important;
    text-decoration: underline;
}
/* ---------- Map ---------- */
.vd-section .vd-map {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius, 8px);
    background: var(--color-azure);
    aspect-ratio: 1 / 1;
}
.vd-section.ratio-4-3 .vd-map  { aspect-ratio: 4 / 3; }
.vd-section.ratio-16-9 .vd-map { aspect-ratio: 16 / 9; }
.vd-section.ratio-fill .vd-map { aspect-ratio: auto; min-height: 26rem; height: 100%; }
.vd-section.ratio-fill .vd-media { align-self: stretch; }

.vd-section .vd-iframe,
.vd-section .vd-map-link,
.vd-section .vd-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}
.vd-section .vd-image { object-fit: cover; }
.vd-section .vd-map-link:focus-visible { outline: 3px solid var(--color-purple); outline-offset: -3px; }

/* ---------- Tablet / mobile ---------- */
@media (max-width: 1199.98px) {
    .vd-section .vd-inner { column-gap: 3rem; }
}

@media (max-width: 991.98px) {
    .vd-section .vd-header { margin-bottom: 2.5rem; }
    .vd-section .vd-inner,
    .vd-section.split-60-40 .vd-inner,
    .vd-section.split-40-60 .vd-inner,
    .vd-section.toggles-right.split-60-40 .vd-inner,
    .vd-section.toggles-right.split-40-60 .vd-inner {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 2rem;
    }
    .vd-section.toggles-right .vd-items,
    .vd-section.toggles-right .vd-media { order: 0; }

    .vd-section.mobile-map-first .vd-media { order: 1; }
    .vd-section.mobile-map-first .vd-items { order: 2; }
    .vd-section.mobile-toggles-first .vd-items { order: 1; }
    .vd-section.mobile-toggles-first .vd-media { order: 2; }

    .vd-section.ratio-fill .vd-map { aspect-ratio: 4 / 3; min-height: 0; height: auto; }
}

@media (max-width: 575.98px) {
    .vd-section .vd-trigger { padding: 1.1rem 1.2rem; font-size: 1.125rem; }
    .vd-section .vd-panel-content { padding: .25rem 1.2rem 1.4rem; }
    .vd-section .vd-map { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
    .vd-section .vd-panel,
    .vd-section .vd-icon::before,
    .vd-section .vd-icon::after { transition: none; }
}
