:root {
    --cmhwb-bg: #f4f7f2;
    --cmhwb-surface: #ffffff;
    --cmhwb-ink: #132226;
    --cmhwb-muted: #4f676c;
    --cmhwb-brand: #0f766e;
    --cmhwb-brand-2: #14532d;
    --cmhwb-theme-blue: #0f4f8c;
    --cmhwb-accent: #f59e0b;
    --cmhwb-border: #dbe7dc;
    --cmhwb-shadow: 0 12px 30px rgba(19, 34, 38, 0.12);
    --cmhwb-radius-xl: 24px;
    --cmhwb-radius-lg: 18px;
    --cmhwb-radius-md: 12px;
    --cmhwb-space-1: 8px;
    --cmhwb-space-2: 12px;
    --cmhwb-space-3: 16px;
    --cmhwb-space-4: 24px;
    --cmhwb-space-5: 32px;
    --cmhwb-space-6: 42px;
}

.cmhwb-events-shell,
.cmhwb-next-event-shell,
.cmhwb-hero,
.cmhwb-overview,
.cmhwb-meta-shell,
.cmhwb-stage-shell,
.cmhwb-empty-state {
    font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
    color: var(--cmhwb-ink);
}

body.cmhwb-event-shortcode-page .site-content > .ast-container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

body.cmhwb-event-shortcode-page .entry-content {
    margin-top: 0;
}

/* Let the hero sit behind the transparent header and span edge-to-edge. */
body.cmhwb-event-shortcode-page .entry-content > .cmhwb-hero-carousel:first-child {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: -128px;
}

body.admin-bar.cmhwb-event-shortcode-page .entry-content > .cmhwb-hero-carousel:first-child {
    margin-top: -96px;
}

body.cmhwb-event-shortcode-page .cmhwb-hero-carousel .cmhwb-hero {
    min-height: clamp(440px, 62vw, 740px);
    padding-top: clamp(150px, 18vw, 210px);
}

.cmhwb-events-shell {
    padding: 0;
    background: transparent;
}

.cmhwb-next-event-shell {
    padding: 0;
    background: transparent;
}

.cmhwb-next-event-card {
    position: relative;
    min-height: clamp(360px, 54vw, 620px);
    border-radius: var(--cmhwb-radius-xl);
    overflow: hidden;
    background: linear-gradient(130deg, #0f172a, #1f2937);
    box-shadow: 0 16px 36px rgba(17, 24, 39, 0.22);
}

.cmhwb-next-event-link {
    position: relative;
    display: block;
    min-height: inherit;
    color: #ffffff;
    text-decoration: none !important;
}

.cmhwb-next-event-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.03);
    transition: transform 0.45s ease;
}

.cmhwb-next-event-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(8, 18, 24, 0.88) 0%, rgba(8, 18, 24, 0.22) 52%, rgba(8, 18, 24, 0.04) 100%),
        radial-gradient(circle at 92% 20%, rgba(245, 158, 11, 0.24), transparent 42%);
}

.cmhwb-next-event-content {
    position: absolute;
    z-index: 2;
    left: clamp(20px, 3vw, 34px);
    right: clamp(20px, 3vw, 34px);
    bottom: clamp(20px, 3vw, 34px);
    display: grid;
    gap: 12px;
}

.cmhwb-next-event-kicker {
    display: inline-flex;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    background: rgba(15, 118, 110, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(2px);
}

.cmhwb-next-event-title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.8rem, 3.2vw, 2.8rem);
    line-height: 1.12;
    text-wrap: balance;
}

.cmhwb-next-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cmhwb-next-event-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 7px 12px;
    color: rgba(255, 255, 255, 0.96);
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(10, 26, 31, 0.55);
}

.cmhwb-next-event-meta-item strong {
    color: #ffffff;
    font-weight: 700;
}

.cmhwb-next-event-card:hover .cmhwb-next-event-media {
    transform: scale(1.08);
}

.cmhwb-events-header,
.cmhwb-divider {
    --cmhwb-divider-gap: 14px;
    --cmhwb-divider-text-size: clamp(1.25rem, 1.7vw, 1.55rem);
    --cmhwb-divider-text-weight: 700;
    --cmhwb-divider-text-color: #162f35;
    --cmhwb-divider-line-color: rgba(19, 34, 38, 0.3);
    --cmhwb-divider-line-thickness: 1px;
    --cmhwb-divider-text-stroke-width: 0px;
    --cmhwb-divider-text-stroke-color: transparent;
    display: flex;
    align-items: center;
    gap: var(--cmhwb-divider-gap);
    margin: 0 0 18px;
}

.cmhwb-events-header::before,
.cmhwb-events-header::after,
.cmhwb-divider::before,
.cmhwb-divider::after {
    content: "";
    flex: 1 1 auto;
    height: var(--cmhwb-divider-line-thickness);
}

.cmhwb-events-header::before,
.cmhwb-divider::before {
    background: linear-gradient(90deg, transparent, var(--cmhwb-divider-line-color));
}

.cmhwb-events-header::after,
.cmhwb-divider::after {
    background: linear-gradient(90deg, var(--cmhwb-divider-line-color), transparent);
}

.cmhwb-events-title,
.cmhwb-divider-title {
    margin: 0;
    font-size: var(--cmhwb-divider-text-size);
    font-weight: var(--cmhwb-divider-text-weight);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--cmhwb-divider-text-color);
    text-align: center;
    white-space: normal;
    max-width: min(88vw, 980px);
    -webkit-text-stroke: var(--cmhwb-divider-text-stroke-width) var(--cmhwb-divider-text-stroke-color);
    paint-order: stroke fill;
}

.cmhwb-events-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
}

.cmhwb-events-filter-chip {
    border: 1px solid #c7d4ce;
    color: #28474f;
    background: #f8fbf9;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 10px;
}

.cmhwb-events-carousel-wrap {
    position: relative;
}

.cmhwb-events-grid-shell {
    padding: 0;
    background: transparent;
}

.cmhwb-events-grid-track {
    --cmhwb-grid-columns: 3;
    --cmhwb-grid-gap: 20px;
    display: grid;
    grid-template-columns: repeat(var(--cmhwb-grid-columns), minmax(0, 1fr));
    gap: var(--cmhwb-grid-gap);
    padding: 4px 2px 8px;
    width: 100%;
}

/* Event grid: override carousel-only card sizing so items don't collapse/overlap. */
.cmhwb-events-grid-track .cmhwb-event-card {
    width: 100%;
    min-width: 0;
    flex: none;
    scroll-snap-align: unset;
}

.cmhwb-events-grid-track .cmhwb-event-card-link {
    width: 100%;
    /* Keep a predictable card height in grid contexts. */
    aspect-ratio: 16/10;
}

/* Grid image layout: avoid translate-based sizing issues. */
.cmhwb-events-grid-track .cmhwb-event-card-link img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    object-fit: cover;
    object-position: center;
    transform: none;
}

.cmhwb-events-grid-track .cmhwb-event-card:hover .cmhwb-event-card-link img {
    transform: scale(1.04);
}

.cmhwb-events-pagination {
    display: flex;
    justify-content: center;
    padding: 18px 0 6px;
}

.cmhwb-events-pagination-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0;
    align-items: center;
    justify-content: center;
}

.cmhwb-events-pagination-item a,
.cmhwb-events-pagination-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    border-radius: 12px;
    padding: 0 12px;
    font-weight: 700;
    text-decoration: none !important;
    border: 1px solid rgba(15, 79, 140, 0.25);
    color: #0f4f8c;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.cmhwb-events-pagination-item .current {
    color: #ffffff;
    background: linear-gradient(135deg, #0f4f8c, #167a59);
    border-color: rgba(15, 79, 140, 0.45);
}

.cmhwb-events-pagination-item a:hover,
.cmhwb-events-pagination-item a:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(245, 158, 11, 0.55);
    outline: none;
}

.cmhwb-events-filters-shell {
    --cmhwb-filter-bg: rgba(255, 255, 255, 0.78);
    --cmhwb-filter-border: rgba(15, 79, 140, 0.16);
    margin: 0 0 18px;
    padding: 18px;
    border-radius: var(--cmhwb-radius-xl);
    background: var(--cmhwb-filter-bg);
    border: 1px solid var(--cmhwb-filter-border);
    box-shadow: none;
    backdrop-filter: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    /* Use this as your "left/right padding" control (desktop + mobile). */
    --cmhwb-filters-gutter: 0px;
}

.cmhwb-events-filters-title {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #162f35;
}

.cmhwb-events-filters-form {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 12px;
    align-items: end;
}

.cmhwb-filter-field {
    grid-column: span 3;
    display: grid;
    gap: 6px;
}

.cmhwb-filter-field.is-wide {
    grid-column: span 6;
}

.cmhwb-filter-field.is-category {
    grid-column: 1 / span 3;
}

.cmhwb-filter-field.is-scope {
    grid-column: 10 / span 3;
    justify-self: end;
}

.cmhwb-filter-field.is-search {
    grid-column: 1 / span 6;
}

.cmhwb-filter-field.is-from {
    grid-column: 7 / span 3;
}

.cmhwb-filter-field.is-to {
    grid-column: 10 / span 3;
}

.cmhwb-filter-field label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #28474f;
}

.cmhwb-filter-inline-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cmhwb-filter-inline-row label {
    margin: 0;
    white-space: nowrap;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: none;
}

.cmhwb-filter-inline-row select {
    flex: 1 1 auto;
}

.cmhwb-filter-field.is-search > label,
.cmhwb-filter-field.is-from > label,
.cmhwb-filter-field.is-to > label {
    padding-left: 6px;
}

/* Desktop: make the filters section full-bleed (full width) */
@media (min-width: 1025px) {
    .cmhwb-events-filters-shell {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        /* Gutters are included inside the full-bleed width (no clipping). */
        padding-left: var(--cmhwb-filters-gutter);
        padding-right: var(--cmhwb-filters-gutter);
    }

    .cmhwb-filter-field.is-category .cmhwb-filter-inline-row label,
    .cmhwb-filter-field.is-scope .cmhwb-filter-inline-row label {
        font-size: calc(12px + 6px);
        padding-left: 6px;
    }
}

.cmhwb-filter-field input,
.cmhwb-filter-field select {
    width: 100%;
    height: 44px;
    border-radius: 12px;
    padding: 0 12px;
    border: 1px solid rgba(15, 79, 140, 0.22);
    background: rgba(255, 255, 255, 0.92);
    color: #1d2d39;
    box-shadow: none;
    box-sizing: border-box;
    min-width: 0;
}

.cmhwb-filter-field input:focus,
.cmhwb-filter-field select:focus {
    outline: none;
    border-color: #0f4f8c;
    box-shadow: none;
}

.cmhwb-filter-search-row {
    display: grid;
    grid-template-columns: 1fr 44px;
    gap: 10px;
    align-items: center;
}

.cmhwb-filter-search-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(15, 79, 140, 0.25);
    background: rgba(255, 255, 255, 0.92);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    box-shadow: none;
}

.cmhwb-filter-search-icon {
    width: 18px;
    height: 18px;
    display: block;
    background: linear-gradient(135deg, #0f4f8c, #167a59);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 18a8 8 0 1 1 5.293-14.293A8 8 0 0 1 10 18m0-2a6 6 0 1 0-4.243-1.757A5.96 5.96 0 0 0 10 16m9.707 4.293l-5.06-5.06l1.414-1.414l5.06 5.06z'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 18a8 8 0 1 1 5.293-14.293A8 8 0 0 1 10 18m0-2a6 6 0 1 0-4.243-1.757A5.96 5.96 0 0 0 10 16m9.707 4.293l-5.06-5.06l1.414-1.414l5.06 5.06z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.cmhwb-filter-search-btn:hover,
.cmhwb-filter-search-btn:focus-visible {
    outline: none;
    background: linear-gradient(135deg, #0f4f8c, #167a59);
    border-color: rgba(15, 79, 140, 0.25);
}

.cmhwb-filter-search-btn:hover .cmhwb-filter-search-icon,
.cmhwb-filter-search-btn:focus-visible .cmhwb-filter-search-icon {
    background: #ffffff;
}

.cmhwb-filter-actions {
    grid-column: span 12;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding-top: 4px;
}

.cmhwb-filter-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid rgba(15, 79, 140, 0.25);
    background: linear-gradient(135deg, #0f4f8c, #167a59);
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0.02em;
    cursor: pointer;
    text-decoration: none !important;
    box-shadow: none;
}

.cmhwb-filter-submit:hover,
.cmhwb-filter-submit:focus-visible {
    outline: none;
    transform: translateY(-1px);
    box-shadow: none;
}

.cmhwb-filter-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid rgba(15, 79, 140, 0.18);
    background: rgba(255, 255, 255, 0.9);
    color: #0f4f8c;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: none;
}

.cmhwb-filter-reset:hover,
.cmhwb-filter-reset:focus-visible {
    outline: none;
    border-color: rgba(245, 158, 11, 0.55);
    transform: translateY(-1px);
}

.cmhwb-events-track {
    --cmhwb-card-columns: 3;
    --cmhwb-track-gap: 20px;
    display: flex;
    gap: var(--cmhwb-track-gap);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 2px;
    scrollbar-width: none;
    padding: 4px 2px 8px;
}

@media (max-width: 767px) {
    .cmhwb-events-grid-shell {
        padding-left: 0;
        padding-right: 0;
        /*
         * Full-bleed on mobile: Elementor sections/columns often have side padding.
         * This breaks the grid out of the padded container so cards can be full width.
         */
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .cmhwb-events-grid-track {
        grid-template-columns: 1fr;
        gap: 14px;
        padding-left: 0;
        padding-right: 0;
    }

    .cmhwb-events-grid-track .cmhwb-event-card-link {
        min-height: 220px;
        aspect-ratio: auto;
    }

    .cmhwb-events-filters-shell {
        padding: 14px;
        border-radius: 18px;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .cmhwb-events-filters-form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        width: 100%;
        box-sizing: border-box;
    }

    .cmhwb-filter-field,
    .cmhwb-filter-field.is-wide {
        grid-column: auto;
        min-width: 0;
    }

    /* Reset desktop positioning so nothing overflows on phones. */
    .cmhwb-filter-field.is-category,
    .cmhwb-filter-field.is-scope,
    .cmhwb-filter-field.is-search,
    .cmhwb-filter-field.is-from,
    .cmhwb-filter-field.is-to {
        grid-column: auto;
        justify-self: stretch;
        min-width: 0;
    }

    /* Phone layout:
       Row 1: Category | Show
       Row 2: Search (full width)
       Row 3: From | To
       Row 4: Actions (full width) */
    .cmhwb-filter-field.is-category { grid-column: 1; }
    .cmhwb-filter-field.is-scope { grid-column: 2; }
    .cmhwb-filter-field.is-search { grid-column: 1 / -1; }
    .cmhwb-filter-field.is-from { grid-column: 1; }
    .cmhwb-filter-field.is-to { grid-column: 2; }

    .cmhwb-filter-inline-row {
        width: 100%;
        gap: 8px;
    }

    /* Phone: keep inline "Category:" / "Show:" compact so they don't overlap. */
    .cmhwb-filter-field.is-category .cmhwb-filter-inline-row label,
    .cmhwb-filter-field.is-scope .cmhwb-filter-inline-row label {
        font-size: 12px;
        padding-left: 0;
    }

    .cmhwb-filter-search-row {
        grid-template-columns: 1fr 44px;
        gap: 10px;
        width: 100%;
        min-width: 0;
    }

    .cmhwb-filter-actions {
        grid-column: 1 / -1;
        justify-content: stretch;
    }

    .cmhwb-filter-submit,
    .cmhwb-filter-reset {
        width: 100%;
    }
}

/* Filters: stack earlier (phone + small tablets) to avoid squeezed controls. */
@media (min-width: 768px) and (max-width: 1024px) {
    .cmhwb-events-filters-form {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .cmhwb-filter-field,
    .cmhwb-filter-field.is-wide,
    .cmhwb-filter-field.is-category,
    .cmhwb-filter-field.is-scope,
    .cmhwb-filter-field.is-search,
    .cmhwb-filter-field.is-from,
    .cmhwb-filter-field.is-to {
        grid-column: auto;
        justify-self: stretch;
        width: 100%;
    }

    .cmhwb-filter-actions {
        width: 100%;
        justify-content: stretch;
    }

    .cmhwb-filter-submit,
    .cmhwb-filter-reset {
        width: 100%;
    }
}

.cmhwb-events-track::-webkit-scrollbar {
    display: none;
}

.cmhwb-events-shell.is-row-mode .cmhwb-events-track {
    --cmhwb-rows-visible: 3;
    --cmhwb-scroll-height: 900px;
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(calc((var(--cmhwb-scroll-height) - (var(--cmhwb-rows-visible) - 1) * var(--cmhwb-track-gap)) / var(--cmhwb-rows-visible)), auto);
    max-height: var(--cmhwb-scroll-height);
    overflow-y: auto;
    overflow-x: hidden;
    scroll-snap-type: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.cmhwb-events-shell.is-row-mode .cmhwb-events-track::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.cmhwb-events-shell.is-row-mode .cmhwb-event-card {
    flex: 0 0 auto;
    width: 100%;
}

.cmhwb-events-shell.is-row-mode .cmhwb-event-card-link {
    aspect-ratio: auto;
    min-height: 220px;
    height: 100%;
}

.cmhwb-events-shell.is-row-mode .cmhwb-events-nav {
    display: none !important;
}

.cmhwb-event-card {
    flex: 0 0 calc((100% - (var(--cmhwb-card-columns) - 1) * var(--cmhwb-track-gap)) / var(--cmhwb-card-columns));
    border-radius: var(--cmhwb-radius-lg);
    overflow: hidden;
    scroll-snap-align: start;
    background: #d7e2dd;
    box-shadow: var(--cmhwb-shadow);
    transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.cmhwb-event-card:hover {
    transform: none;
    box-shadow: 0 18px 36px rgba(19, 34, 38, 0.16);
}

.cmhwb-event-card-link {
    position: relative;
    display: block;
    aspect-ratio: 16/10;
    background: #d9e8de;
    overflow: hidden;
}

.cmhwb-event-card-link img {
    position: absolute;
    left: 50%;
    top: 50%;
    display: block;
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center center;
    transform: translate(-50%, -50%) scale(1.2);
    transform-origin: center center;
    will-change: transform;
    transition: transform 0.5s ease;
}

.cmhwb-event-card:hover .cmhwb-event-card-link img {
    transform: translate(-50%, -50%) scale(1.26);
}

.cmhwb-event-thumb-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(12, 24, 29, 0.84) 0%, rgba(12, 24, 29, 0.15) 52%, rgba(12, 24, 29, 0.02) 100%),
        radial-gradient(circle at 88% 13%, rgba(245, 158, 11, 0.25), transparent 38%);
}

.cmhwb-event-date-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffffff;
    padding: 7px 9px;
    border-radius: 999px;
    background: rgba(10, 26, 31, 0.72);
    backdrop-filter: blur(3px);
}

.cmhwb-event-thumb-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2f4b52;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-size: 0.95rem;
}

.cmhwb-event-title {
    position: absolute;
    left: 22px;
    right: 66px;
    bottom: 18px;
    z-index: 2;
    margin: 0;
    color: #ffffff;
    font-size: 1.73rem;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cmhwb-event-arrow {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 3;
    width: 39px;
    height: 39px;
    display: block;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #15313a;
    font-size: 0;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.25s ease, background 0.25s ease;
}

.cmhwb-event-arrow::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 16px;
    background: #15313a;
    transform: translate(-42%, -50%);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpolyline points='2,1.5 9,6 2,10.5' fill='none' stroke='black' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpolyline points='2,1.5 9,6 2,10.5' fill='none' stroke='black' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.cmhwb-event-card:hover .cmhwb-event-arrow {
    transform: translateX(2px);
    background: #ffffff;
}

.cmhwb-events-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #111827;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: none;
    outline: none;
    overflow: visible;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.cmhwb-events-nav,
.cmhwb-events-nav:hover,
.cmhwb-events-nav:focus,
.cmhwb-events-nav:focus-visible,
.cmhwb-events-nav:active {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.cmhwb-events-nav.is-prev { left: -46px; }
.cmhwb-events-nav.is-next { right: -46px; }

.cmhwb-events-nav span {
    display: none;
}

.cmhwb-events-nav::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 16px;
    border-right: 4px solid #111827;
    border-bottom: 4px solid #111827;
    box-sizing: border-box;
    filter: none;
}

.cmhwb-events-nav.is-next::before {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.cmhwb-events-nav.is-prev::before {
    transform: translate(-50%, -50%) rotate(135deg);
}

.cmhwb-events-nav:hover,
.cmhwb-events-nav:focus-visible {
    transform: translateY(-50%) scale(1.05);
    opacity: 0.95;
}

.cmhwb-events-nav:hover::before,
.cmhwb-events-nav:focus-visible::before {
    border-right-color: #2563eb;
    border-bottom-color: #2563eb;
}

.cmhwb-events-nav:disabled {
    opacity: 1;
    cursor: default;
}

.cmhwb-event-cta,
.cmhwb-hero-cta,
.cmhwb-manage-btn,
.cmhwb-stage-download,
.cmhwb-stage-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.cmhwb-event-cta,
.cmhwb-hero-cta,
.cmhwb-manage-btn {
    padding: 11px 16px;
    color: #ffffff;
    background: linear-gradient(120deg, var(--cmhwb-brand), #2563eb);
}

.cmhwb-event-cta:hover,
.cmhwb-hero-cta:hover,
.cmhwb-manage-btn:hover {
    transform: translateY(-2px);
    opacity: 0.93;
}

.cmhwb-hero {
    position: relative;
    border-radius: var(--cmhwb-radius-xl);
    padding: min(10vw, 80px) var(--cmhwb-space-5);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-image:
        linear-gradient(130deg, #12497a 0%, #14532d 60%, #0f766e 100%);
}

.cmhwb-hero-carousel {
    position: relative;
    min-height: clamp(360px, 48vw, 520px);
    margin: 0;
    overflow: hidden;
}

.cmhwb-hero-carousel .cmhwb-hero {
    min-height: clamp(360px, 48vw, 520px);
    border-radius: 0;
}

.cmhwb-hero-carousel.is-carousel .cmhwb-hero {
    position: absolute;
    inset: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
}

.cmhwb-hero-carousel.is-carousel .cmhwb-hero.is-active {
    visibility: visible;
    transform: translateX(0);
    z-index: 2;
}

.cmhwb-hero-carousel.is-carousel .cmhwb-hero.is-entering,
.cmhwb-hero-carousel.is-carousel .cmhwb-hero.is-leaving {
    visibility: visible;
}

.cmhwb-hero-carousel.is-carousel .cmhwb-hero.is-entering {
    transform: translateX(100%);
    z-index: 3;
}

.cmhwb-hero-carousel.is-carousel .cmhwb-hero.is-entering.is-animating {
    transform: translateX(0);
}

.cmhwb-hero-carousel.is-carousel .cmhwb-hero.is-leaving {
    transform: translateX(0);
    z-index: 2;
}

.cmhwb-hero-carousel.is-carousel .cmhwb-hero.is-leaving.is-animating {
    transform: translateX(-100%);
}

.cmhwb-hero-next {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 104px;
    height: 104px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #ffffff;
    font-size: 0;
    line-height: 1;
    padding: 0 20px 0 0;
    cursor: pointer;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    transition: transform 0.2s ease, opacity 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.cmhwb-hero-next span {
    display: block;
    font-size: 114px;
    font-weight: 700;
    line-height: 0.7;
    transform: translateY(-2px);
    pointer-events: none;
}

.cmhwb-hero-next:hover,
.cmhwb-hero-next:focus-visible {
    transform: translateY(-50%) scale(1.04);
    opacity: 0.94;
}

.cmhwb-hero-next:disabled,
.cmhwb-hero-carousel.is-single .cmhwb-hero-next {
    opacity: 0.28;
    cursor: default;
    transform: translateY(-50%);
    pointer-events: none;
    text-shadow: none;
}

.cmhwb-hero-next,
.cmhwb-hero-next:hover,
.cmhwb-hero-next:focus,
.cmhwb-hero-next:focus-visible,
.cmhwb-hero-next:active {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.cmhwb-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(19, 34, 38, 0.75), rgba(19, 34, 38, 0.28)),
        radial-gradient(circle at 95% 30%, rgba(245, 158, 11, 0.38), transparent 44%);
}

.cmhwb-hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    color: #ffffff;
    display: grid;
    gap: var(--cmhwb-space-3);
}

.cmhwb-hero-tag {
    display: inline-flex;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(2px);
}

.cmhwb-hero h1 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.15;
    color: #ffffff;
}

.cmhwb-hero h1 a {
    color: inherit;
    text-decoration: none !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

.cmhwb-hero h1 a:hover,
.cmhwb-hero h1 a:focus-visible {
    text-decoration: none !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

.cmhwb-hero-meta {
    margin: 0;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.9);
}

.cmhwb-hero-meta span {
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.cmhwb-overview,
.cmhwb-meta-shell,
.cmhwb-stage-shell {
    margin-top: var(--cmhwb-space-5);
    padding: var(--cmhwb-space-5);
    border-radius: var(--cmhwb-radius-lg);
    background: var(--cmhwb-surface);
    border: 1px solid var(--cmhwb-border);
    box-shadow: 0 10px 28px rgba(19, 34, 38, 0.08);
}

.cmhwb-overview {
    color: #25373b;
    line-height: 1.78;
}

.cmhwb-meta-shell h3,
.cmhwb-stage-header h2 {
    margin-top: 0;
    margin-bottom: var(--cmhwb-space-2);
}

.cmhwb-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--cmhwb-space-3);
}

.cmhwb-meta-card {
    border: 1px solid var(--cmhwb-border);
    background: #fbfdfb;
    border-radius: var(--cmhwb-radius-md);
    padding: var(--cmhwb-space-3);
}

.cmhwb-meta-label {
    margin: 0 0 6px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #5f767b;
}

.cmhwb-meta-value {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--cmhwb-ink);
}

.cmhwb-stage-header p {
    margin-top: 0;
    color: var(--cmhwb-muted);
}

.cmhwb-stage-grid {
    display: grid;
    gap: var(--cmhwb-space-3);
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cmhwb-stage-card {
    border: 1px solid var(--cmhwb-border);
    border-radius: var(--cmhwb-radius-md);
    padding: var(--cmhwb-space-3);
    background: #f9fcfa;
    display: grid;
    gap: var(--cmhwb-space-2);
}

.cmhwb-stage-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--cmhwb-space-2);
}

.cmhwb-stage-chip {
    --cmhwb-stage-color: #12497a;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
    color: var(--cmhwb-stage-color);
    background: color-mix(in srgb, var(--cmhwb-stage-color) 13%, #fff 87%);
}

.cmhwb-stage-status {
    font-size: 12px;
    font-weight: 700;
    padding: 5px 9px;
    border-radius: 999px;
}

.cmhwb-stage-status.is-ready {
    color: #155e45;
    background: #dcfce7;
}

.cmhwb-stage-status.is-empty {
    color: #92400e;
    background: #fef3c7;
}

.cmhwb-stage-link {
    justify-content: flex-start;
    color: #1d4ed8;
    text-decoration: underline;
    text-underline-offset: 3px;
    padding: 0;
    background: transparent;
}

.cmhwb-stage-qr-wrap {
    display: grid;
    place-items: start;
    gap: 10px;
}

.cmhwb-stage-qr-wrap img {
    border-radius: 10px;
    border: 1px solid var(--cmhwb-border);
    background: #ffffff;
    padding: 8px;
}

.cmhwb-stage-download {
    font-size: 13px;
    color: #0f766e;
    border: 1px solid #8cd6ce;
    background: #ecfdf5;
    padding: 7px 10px;
}

.cmhwb-stage-missing {
    margin: 0;
    color: #8b5e18;
}

.cmhwb-stage-admin-action {
    margin-top: var(--cmhwb-space-4);
}

.cmhwb-empty-state {
    padding: var(--cmhwb-space-4);
    border-radius: var(--cmhwb-radius-md);
    border: 1px dashed #a6beb2;
    color: #38545a;
    background: #f8fcf9;
}

.cmhwb-event-gallery-shell {
    margin-top: var(--cmhwb-space-4);
}

.cmhwb-event-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border-radius: 0;
    overflow: hidden;
}

.cmhwb-event-gallery-item {
    display: block;
    position: relative;
    width: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    background: #0b2740;
    aspect-ratio: 1 / 1;
    line-height: 0;
    cursor: pointer;
    overflow: hidden;
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
}

.cmhwb-event-gallery-item img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    min-width: 100%;
    min-height: 100%;
    display: block;
    object-fit: cover !important;
    object-position: center;
    transform: scale(1.18);
    transform-origin: center;
    transition: transform 0.35s ease;
}

.cmhwb-event-gallery-item:hover img,
.cmhwb-event-gallery-item:focus-visible img {
    transform: scale(1.26);
}

.cmhwb-event-gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(5, 14, 19, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.cmhwb-event-gallery-modal[hidden] {
    display: none !important;
}

.cmhwb-event-gallery-modal-image {
    width: min(1200px, calc(100vw - 48px));
    max-height: calc(100vh - 90px);
    object-fit: contain;
    border-radius: 0;
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.45);
}

.cmhwb-event-gallery-close {
    position: absolute;
    top: 18px;
    right: 18px;
    border: 0;
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 700;
    color: #ffffff !important;
    background: var(--cmhwb-theme-blue) !important;
    box-shadow: 0 8px 22px rgba(6, 34, 55, 0.4);
    cursor: pointer;
    z-index: 2;
}

.cmhwb-event-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: var(--cmhwb-theme-blue);
    color: #ffffff;
    font-size: 26px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 12px 24px rgba(6, 34, 55, 0.4);
}

.cmhwb-event-gallery-nav:hover,
.cmhwb-event-gallery-nav:focus-visible {
    background: #0a3f72;
}

.cmhwb-event-gallery-nav[disabled] {
    opacity: 0.5;
    cursor: default;
}

.cmhwb-event-gallery-nav-prev {
    left: 18px;
}

.cmhwb-event-gallery-nav-next {
    right: 18px;
}

body.cmhwb-gallery-open {
    overflow: hidden;
}

.cmhwb-latest-news-shell {
    --cmhwb-news-blue: var(--cmhwb-brand-blue, #0f4f8c);
    --cmhwb-news-orange: var(--cmhwb-accent, #f59e0b);
    --cmhwb-news-heading-color: var(--cmhwb-news-blue);
    --cmhwb-news-heading-stroke-color: var(--cmhwb-news-orange);
    --cmhwb-news-heading-stroke-width: 0.6px;
    --cmhwb-news-heading-weight: 800;
    --cmhwb-news-heading-size: 36px;
    --cmhwb-news-heading-style: italic;
    --cmhwb-news-heading-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
    --cmhwb-news-post-title-color: #1d2d39;
    --cmhwb-news-post-title-hover-color: var(--cmhwb-news-blue);
    --cmhwb-news-post-title-stroke-color: transparent;
    --cmhwb-news-post-title-stroke-width: 0px;
    --cmhwb-news-post-title-weight: 600;
    --cmhwb-news-post-title-size: 22px;
    margin: 0;
    position: relative;
    border: 1px solid rgba(15, 79, 140, 0.26);
    border-left: 6px solid var(--cmhwb-news-blue);
    border-radius: 28px;
    background: #ffffff;
    padding: 22px 18px 18px;
    box-shadow: none;
    color: #1d2d39;
}

.cmhwb-latest-news-header {
    margin: 0 0 14px;
    text-align: center;
}

.cmhwb-latest-news-title {
    margin: 0;
    display: inline-block;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--cmhwb-news-heading-color);
    font-size: var(--cmhwb-news-heading-size);
    line-height: 1.15;
    font-weight: var(--cmhwb-news-heading-weight);
    font-style: var(--cmhwb-news-heading-style);
    font-family: var(--cmhwb-news-heading-family);
    letter-spacing: 0.01em;
    -webkit-text-stroke: var(--cmhwb-news-heading-stroke-width) var(--cmhwb-news-heading-stroke-color);
    paint-order: stroke fill;
    text-shadow: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.cmhwb-latest-news-list {
    display: grid;
    gap: 0;
}

.cmhwb-latest-news-item {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 14px 0;
}

.cmhwb-latest-news-thumb {
    display: block;
    width: 110px;
    min-height: 74px;
    border-radius: 12px;
    border: 1px solid rgba(15, 79, 140, 0.2);
    background: #eef4fc;
    color: #3f4956;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none !important;
    overflow: hidden;
}

.cmhwb-latest-news-thumb img {
    width: 100%;
    height: 100%;
    min-height: 74px;
    display: block;
    object-fit: cover;
}

.cmhwb-latest-news-thumb span {
    display: grid;
    place-items: center;
    min-height: 74px;
    padding: 6px;
}

.cmhwb-latest-news-content {
    display: grid;
    gap: 6px;
    padding: 0;
}

.cmhwb-latest-news-content h4 {
    margin: 0;
    font-size: var(--cmhwb-news-post-title-size);
    line-height: 1.36;
    font-weight: var(--cmhwb-news-post-title-weight);
}

.cmhwb-latest-news-content h4 a {
    color: var(--cmhwb-news-post-title-color);
    text-decoration: none !important;
    -webkit-text-stroke: var(--cmhwb-news-post-title-stroke-width) var(--cmhwb-news-post-title-stroke-color);
    paint-order: stroke fill;
}

.cmhwb-latest-news-content h4 a:hover,
.cmhwb-latest-news-content h4 a:focus-visible {
    color: var(--cmhwb-news-post-title-hover-color);
}

.cmhwb-latest-news-meta,
.cmhwb-latest-news-excerpt {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: #466175;
}

.cmhwb-latest-news-divider {
    display: block;
    width: 100%;
    height: 1px;
    background: rgba(15, 79, 140, 0.35);
}

.cmhwb-latest-news-empty {
    margin: 0;
    border: 1px dashed rgba(15, 79, 140, 0.45);
    border-radius: 10px;
    background: #f8fbff;
    color: #25425c;
    padding: 12px;
    font-size: 13px;
}

.cmhwb-events-side-shell {
    --cmhwb-events-green: #167a59;
    --cmhwb-events-heading-color: var(--cmhwb-brand-blue, #0f4f8c);
    --cmhwb-events-heading-stroke-color: var(--cmhwb-accent, #f59e0b);
    --cmhwb-events-heading-stroke-width: 0.6px;
    --cmhwb-events-heading-weight: 800;
    --cmhwb-events-heading-size: 36px;
    --cmhwb-events-heading-style: italic;
    --cmhwb-events-heading-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
    --cmhwb-events-title-color: #1d2d39;
    --cmhwb-events-title-hover-color: var(--cmhwb-brand-blue, #0f4f8c);
    --cmhwb-events-title-stroke-color: transparent;
    --cmhwb-events-title-stroke-width: 0px;
    --cmhwb-events-title-weight: 600;
    --cmhwb-events-title-size: 22px;
    --cmhwb-events-meta-color: #466175;
    --cmhwb-events-meta-size: 13px;
    --cmhwb-events-meta-weight: 500;
    margin: 0;
    position: relative;
    border: 1px solid rgba(15, 79, 140, 0.26);
    border-left: 6px solid var(--cmhwb-events-green);
    border-radius: 28px;
    background: #ffffff;
    padding: 22px 18px 18px;
    box-shadow: none;
}

.cmhwb-events-side-header {
    margin: 0 0 14px;
    text-align: center;
}

.cmhwb-events-side-title {
    margin: 0;
    display: inline-block;
    padding: 0;
    color: var(--cmhwb-events-heading-color);
    font-size: var(--cmhwb-events-heading-size);
    line-height: 1.15;
    font-weight: var(--cmhwb-events-heading-weight);
    font-style: var(--cmhwb-events-heading-style);
    font-family: var(--cmhwb-events-heading-family);
    letter-spacing: 0.01em;
    -webkit-text-stroke: var(--cmhwb-events-heading-stroke-width) var(--cmhwb-events-heading-stroke-color);
    paint-order: stroke fill;
    text-shadow: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.cmhwb-events-side-list {
    display: grid;
    gap: 0;
}

.cmhwb-events-side-item {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 14px 0;
}

.cmhwb-events-side-thumb {
    display: block;
    width: 110px;
    min-height: 74px;
    border-radius: 12px;
    border: 1px solid rgba(15, 79, 140, 0.2);
    background: #eef4fc;
    color: #3f4956;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none !important;
    overflow: hidden;
}

.cmhwb-events-side-thumb img {
    width: 100%;
    height: 100%;
    min-height: 74px;
    display: block;
    object-fit: cover;
}

.cmhwb-events-side-thumb span {
    display: grid;
    place-items: center;
    min-height: 74px;
    padding: 6px;
}

.cmhwb-events-side-content {
    display: grid;
    gap: 6px;
    padding: 0;
}

.cmhwb-events-side-content h4 {
    margin: 0;
    font-size: var(--cmhwb-events-title-size);
    line-height: 1.36;
    font-weight: var(--cmhwb-events-title-weight);
}

.cmhwb-events-side-content h4 a {
    color: var(--cmhwb-events-title-color);
    text-decoration: none !important;
    -webkit-text-stroke: var(--cmhwb-events-title-stroke-width) var(--cmhwb-events-title-stroke-color);
    paint-order: stroke fill;
}

.cmhwb-events-side-content h4 a:hover,
.cmhwb-events-side-content h4 a:focus-visible {
    color: var(--cmhwb-events-title-hover-color);
}

.cmhwb-events-side-meta {
    margin: 0;
    font-size: var(--cmhwb-events-meta-size);
    line-height: 1.45;
    font-weight: var(--cmhwb-events-meta-weight);
    color: var(--cmhwb-events-meta-color);
}

.cmhwb-events-side-divider {
    display: block;
    width: 100%;
    height: 1px;
    background: rgba(22, 122, 89, 0.45);
}

.cmhwb-events-side-empty {
    margin: 0;
    border: 1px dashed rgba(22, 122, 89, 0.45);
    border-radius: 10px;
    background: #f5fbf8;
    color: #255847;
    padding: 12px;
    font-size: 13px;
}

body.cmhwb-volunteer-shortcode-page .entry-content {
    margin-top: 0;
}

body.cmhwb-volunteer-shortcode-page .entry-content > .cmhwb-volunteer-hero:first-child {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-bottom: 26px;
}

.cmhwb-volunteer-hero .cmhwb-hero {
    min-height: clamp(320px, 46vw, 500px);
    border-radius: 0;
    margin: 0;
}

.cmhwb-volunteer-hero .cmhwb-hero-overlay {
    background: linear-gradient(110deg, rgba(6, 33, 58, 0.72), rgba(6, 33, 58, 0.35) 55%, rgba(6, 33, 58, 0.2));
}

.cmhwb-volunteer-hero .cmhwb-hero-content {
    max-width: min(840px, 92vw);
}

.cmhwb-volunteer-hero .cmhwb-hero-meta {
    max-width: 760px;
    line-height: 1.65;
}

.cmhwb-story-shell {
    margin: 24px 0;
    padding: 0;
    width: 120%;
    margin-left: -10%;
    margin-right: -10%;
    max-width: none;
    border: 1px solid rgba(35, 43, 56, 0.55);
    border-radius: 24px;
    background: #f8faf7;
    overflow: visible;
}

.cmhwb-story-header {
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
    padding: 34px 26px 12px;
}

.cmhwb-story-header h2 {
    margin: 0 0 10px;
    font-size: clamp(1.55rem, 2.5vw, 2.2rem);
    color: #0f2d49;
}

.cmhwb-story-header p {
    margin: 0;
    color: #3f5963;
    line-height: 1.65;
}

.cmhwb-story-grid {
    display: grid;
    gap: 0;
}

.cmhwb-story-grid.cols-1 { grid-template-columns: 1fr; }
.cmhwb-story-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cmhwb-story-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cmhwb-story-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.cmhwb-story-card {
    padding: 0 56px 42px;
}

.cmhwb-story-grid.has-dividers .cmhwb-story-card {
    border-right: 1px solid rgba(35, 43, 56, 0.38);
}

.cmhwb-story-grid.has-dividers .cmhwb-story-card:last-child {
    border-right: 0;
}

.cmhwb-story-media-wrap {
    margin-top: -66px;
    width: 110%;
    margin-left: -5%;
    border-radius: 20px;
    overflow: hidden;
}

.cmhwb-story-media {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
    border-radius: 20px !important;
    display: block;
    transform: none;
    transform-origin: center center;
}

.cmhwb-story-content {
    padding-top: 20px;
}

.cmhwb-story-title {
    margin: 0 0 16px;
    font-size: clamp(1.45rem, 2vw, 2.05rem);
    line-height: 1.2;
    color: #07173d;
}

.cmhwb-story-text {
    margin: 0;
    color: #132850;
    line-height: 1.52;
    font-size: 1.03rem;
}

.cmhwb-resources-assessment-shell {
    margin: 24px 0;
}

.cmhwb-resources-assessment-grid {
    display: grid;
    gap: 22px;
    align-items: stretch;
}

.cmhwb-resources-assessment-grid.cols-1 { grid-template-columns: 1fr; }
.cmhwb-resources-assessment-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cmhwb-resources-assessment-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.cmhwb-resource-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    border: 1px solid #e9eef5;
    padding: 16px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cmhwb-resource-image-wrap {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #f2f6fb;
    min-height: 122px;
    max-height: 122px;
}

.cmhwb-resource-image {
    width: 100%;
    height: 122px;
    object-fit: cover;
    display: block;
}

.cmhwb-resource-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-top: 14px;
}

.cmhwb-resource-title {
    margin: 0;
    color: #12213f;
    font-size: 1.1rem;
    line-height: 1.35;
    font-weight: 700;
}

.cmhwb-resource-description {
    margin: 10px 0 0;
    color: #4c5d7a;
    font-size: 0.96rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cmhwb-resource-actions {
    margin-top: auto;
    padding-top: 14px;
    display: flex;
    justify-content: flex-end;
}

.cmhwb-resource-btn {
    min-width: 118px;
    position: relative;
    z-index: 2;
    touch-action: manipulation;
    cursor: pointer;
}

.cmhwb-story-actions {
    margin-top: 18px;
}

.cmhwb-story-btn {
    min-width: 150px;
}

.cmhwb-story-shell-with-button .cmhwb-story-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cmhwb-story-shell-with-button .cmhwb-story-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.cmhwb-story-shell-with-button .cmhwb-story-actions {
    margin-top: auto;
    padding-top: 12px;
    display: flex;
    justify-content: flex-end;
}

.cmhwb-landscape-shell {
    margin: 24px auto;
    width: 100%;
}

.cmhwb-landscape-header {
    max-width: min(92vw, 1060px);
    margin: 0 auto 16px;
}

.cmhwb-landscape-section-title {
    margin: 0 0 8px;
    color: #0f3140;
    font-size: clamp(1.55rem, 2.5vw, 2.2rem);
    line-height: 1.2;
}

.cmhwb-landscape-section-subtitle {
    margin: 0;
    color: #4f676c;
    line-height: 1.6;
}

.cmhwb-landscape-card {
    --cmhwb-landscape-max-width: 1060px;
    --cmhwb-landscape-padding: 30px;
    --cmhwb-landscape-radius: 18px;
    --cmhwb-landscape-border: #1f4b3a;
    --cmhwb-landscape-bg: #f4f7f2;
    --cmhwb-landscape-title: #1f2937;
    --cmhwb-landscape-text: #1f2937;
    --cmhwb-landscape-tag-bg: #d9efe4;
    --cmhwb-landscape-tag-text: #0f5132;
    --cmhwb-landscape-image-radius: 14px;
    max-width: var(--cmhwb-landscape-max-width);
    margin: 0 auto;
    padding: var(--cmhwb-landscape-padding);
    border-radius: var(--cmhwb-landscape-radius);
    border: 2px solid var(--cmhwb-landscape-border);
    background: var(--cmhwb-landscape-bg);
    box-shadow: 0 12px 24px rgba(19, 34, 38, 0.08);
    display: grid;
    grid-template-columns: minmax(220px, 30%) minmax(0, 1fr);
    gap: 24px;
    align-items: center;
}

.cmhwb-landscape-card.is-no-image {
    grid-template-columns: minmax(0, 1fr);
}

.cmhwb-landscape-media-wrap {
    margin: 0;
    border-radius: var(--cmhwb-landscape-image-radius);
    overflow: hidden;
    border: 1px solid rgba(31, 75, 58, 0.28);
    align-self: stretch;
    min-height: 220px;
}

.cmhwb-landscape-media {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.cmhwb-landscape-body {
    display: grid;
    gap: 12px;
    align-content: center;
}

.cmhwb-landscape-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cmhwb-landscape-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--cmhwb-landscape-tag-bg);
    color: var(--cmhwb-landscape-tag-text);
    border: 1px solid color-mix(in srgb, var(--cmhwb-landscape-tag-text) 26%, #ffffff 74%);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
}

.cmhwb-landscape-title {
    margin: 0;
    color: var(--cmhwb-landscape-title);
    font-size: clamp(1.45rem, 2.25vw, 2.2rem);
    line-height: 1.25;
}

.cmhwb-landscape-meta {
    margin: 0;
    color: color-mix(in srgb, var(--cmhwb-landscape-text) 85%, #5d6d74 15%);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.4;
}

.cmhwb-landscape-text {
    margin: 0;
    color: var(--cmhwb-landscape-text);
    line-height: 1.72;
    font-size: 1.03rem;
}

.cmhwb-landscape-link {
    width: fit-content;
    color: #11673f;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cmhwb-landscape-link:hover,
.cmhwb-landscape-link:focus-visible {
    color: #0b4f31;
}

.cmhwb-volunteer-shell {
    margin: 24px 0;
    padding: 26px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 8% 5%, rgba(15, 118, 110, 0.14), transparent 34%),
        radial-gradient(circle at 92% 0%, rgba(30, 64, 175, 0.16), transparent 30%),
        #f7faf8;
    border: 1px solid #d7e4de;
}

.cmhwb-volunteer-header {
    text-align: center;
    margin-bottom: 22px;
}

.cmhwb-volunteer-header h2 {
    margin: 0 0 8px;
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    color: #11354a;
    letter-spacing: 0.02em;
}

.cmhwb-volunteer-header p {
    margin: 0;
    color: #355b68;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.cmhwb-volunteer-grid {
    display: grid;
    gap: 22px;
}

.cmhwb-volunteer-grid.cols-1 { grid-template-columns: 1fr; }
.cmhwb-volunteer-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cmhwb-volunteer-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cmhwb-volunteer-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.cmhwb-volunteer-card {
    background: transparent;
    border: 0;
    border-radius: 18px;
    padding: 20px 16px 16px;
    box-shadow: none;
    text-align: center;
    transition: none;
}

.cmhwb-volunteer-card:hover {
    transform: none;
    box-shadow: none;
}

.cmhwb-volunteer-photo-wrap {
    width: 168px;
    height: 168px;
    aspect-ratio: 1 / 1;
    margin: 0 auto 14px;
    box-sizing: border-box;
    border-radius: 999px;
    clip-path: circle(50% at 50% 50%);
    overflow: hidden;
    padding: 5px;
    background: linear-gradient(145deg, #1f7f77, #1e4eb2);
    box-shadow: 0 8px 20px rgba(16, 88, 106, 0.25);
}

.cmhwb-volunteer-photo-wrap > .cmhwb-volunteer-photo {
    width: 100%;
    height: 100% !important;
    max-width: none;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    border-radius: 50% !important;
    clip-path: circle(50% at 50% 50%);
    display: block;
    background: #eaf2ef;
}

.cmhwb-volunteer-name {
    margin: 8px 0 0;
    font-size: clamp(1.2rem, 1.6vw, 1.55rem);
    color: #132226;
}

.cmhwb-volunteer-role {
    margin: 6px 0 8px;
    color: #a67a1f;
    font-size: 1.02rem;
    font-weight: 700;
}

.cmhwb-volunteer-socials {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.cmhwb-volunteer-social {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, #1f7f77, #1e4eb2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.cmhwb-volunteer-social:hover,
.cmhwb-volunteer-social:focus-visible {
    transform: translateY(-2px);
    opacity: 0.92;
}

.cmhwb-volunteer-social svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.cmhwb-volunteer-form-wrap {
    margin-top: 34px;
    padding-top: 0;
}

.cmhwb-volunteer-form-header {
    margin: 0 auto 28px;
    text-align: center;
    max-width: 760px;
}

.cmhwb-volunteer-form-header h3 {
    margin: 0 0 8px;
    font-size: clamp(1.35rem, 2.2vw, 1.9rem);
    color: #11354a;
}

.cmhwb-volunteer-form-header p {
    margin: 0;
    color: #3b5f58;
    line-height: 1.6;
}

.cmhwb-volunteer-notice {
    border-radius: 12px;
    padding: 12px 14px;
    margin: 0 0 16px;
    font-weight: 600;
}

.cmhwb-volunteer-notice.is-success {
    background: #e8f7ef;
    color: #1e6d48;
    border: 1px solid #b9e5cd;
}

.cmhwb-volunteer-notice.is-error {
    background: #fff1f1;
    color: #9e2c2c;
    border: 1px solid #f2c2c2;
}

.cmhwb-volunteer-form {
    background: linear-gradient(180deg, #fbfffc 0%, #f4fbf7 100%);
    border: 2px solid #2f8f66;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 10px 28px rgba(15, 79, 56, 0.11);
}

.cmhwb-volunteer-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.cmhwb-volunteer-form label {
    display: grid;
    gap: 7px;
    font-weight: 600;
    color: #154135;
}

.cmhwb-volunteer-form label[hidden] {
    display: none !important;
}

.cmhwb-volunteer-label-text {
    display: block;
    padding-left: 4px;
}

.cmhwb-volunteer-form label.is-full {
    grid-column: 1 / -1;
}

.cmhwb-volunteer-form input,
.cmhwb-volunteer-form select,
.cmhwb-volunteer-form textarea {
    width: 100%;
    border: 1px solid #b8d6c5;
    border-radius: 12px;
    padding: 12px 13px;
    font-family: inherit;
    font-size: 0.98rem;
    color: #14252a;
    background: #ffffff;
    line-height: 1.35;
}

.cmhwb-volunteer-form select {
    min-height: 48px;
    height: auto;
}

.cmhwb-volunteer-form input:focus,
.cmhwb-volunteer-form select:focus,
.cmhwb-volunteer-form textarea:focus {
    outline: none;
    border-color: #1f7f77;
    box-shadow: 0 0 0 3px rgba(31, 127, 119, 0.14);
}

.cmhwb-volunteer-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    letter-spacing: 0.01em;
    color: #ffffff;
    background: linear-gradient(135deg, #1b8a5f, #167a4f);
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.cmhwb-volunteer-form-actions {
    margin-top: 18px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cmhwb-volunteer-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #1b8a5f;
    border-radius: 12px;
    padding: 11px 20px;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    letter-spacing: 0.01em;
    color: #1b8a5f !important;
    background: #ffffff;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cmhwb-volunteer-clear:hover,
.cmhwb-volunteer-clear:focus-visible {
    background: #ecf8f1;
    transform: translateY(-1px);
}

.cmhwb-volunteer-submit:hover,
.cmhwb-volunteer-submit:focus-visible {
    transform: translateY(-1px);
    opacity: 0.95;
}

@media (max-width: 1080px) {
    .cmhwb-meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cmhwb-events-track {
        --cmhwb-card-columns: 2;
    }

    .cmhwb-stage-grid {
        grid-template-columns: 1fr;
    }

    .cmhwb-volunteer-grid.cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cmhwb-story-grid.cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cmhwb-resources-assessment-grid.cols-3,
    .cmhwb-resources-assessment-grid.cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cmhwb-resources-assessment-grid.cols-1 {
        grid-template-columns: 1fr;
    }

    .cmhwb-story-shell {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .cmhwb-story-card {
        padding: 0 28px 34px;
    }

    .cmhwb-story-media-wrap {
        margin-top: -34px;
    }

    .cmhwb-event-gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    html,
    body,
    #page {
        overflow-x: hidden;
    }

    .cmhwb-events-shell,
    .cmhwb-overview,
    .cmhwb-meta-shell,
    .cmhwb-stage-shell,
    .cmhwb-volunteer-shell {
        padding: var(--cmhwb-space-4);
    }

    .cmhwb-latest-news-shell {
        padding: 18px 14px 14px;
        border-radius: 20px;
    }

    .cmhwb-latest-news-item {
        grid-template-columns: 84px minmax(0, 1fr);
        gap: 10px;
        padding: 11px 0;
    }

    .cmhwb-latest-news-thumb {
        width: 84px;
    }

    .cmhwb-latest-news-thumb img,
    .cmhwb-latest-news-thumb span {
        min-height: 60px;
    }

    .cmhwb-latest-news-title {
        font-size: clamp(1.2rem, 6.2vw, calc(var(--cmhwb-news-heading-size) * 0.72));
    }

    .cmhwb-events-side-shell {
        padding: 18px 14px 14px;
        border-radius: 20px;
    }

    .cmhwb-events-side-item {
        grid-template-columns: 84px minmax(0, 1fr);
        gap: 10px;
        padding: 11px 0;
    }

    .cmhwb-events-side-thumb {
        width: 84px;
    }

    .cmhwb-events-side-thumb img,
    .cmhwb-events-side-thumb span {
        min-height: 60px;
    }

    .cmhwb-events-side-title {
        font-size: clamp(1.2rem, 6.2vw, calc(var(--cmhwb-events-heading-size) * 0.72));
    }

    .cmhwb-meta-grid {
        grid-template-columns: 1fr;
    }

    .cmhwb-events-header,
    .cmhwb-divider {
        --cmhwb-divider-gap: 12px;
        --cmhwb-divider-text-size: clamp(1.44rem, 6.2vw, 1.6rem);
        --cmhwb-divider-line-color: rgba(19, 34, 38, 0.48);
        --cmhwb-divider-line-thickness: 2px;
    }

    .cmhwb-events-shell {
        padding: 0;
        position: relative;
        z-index: 2;
        margin-bottom: 16px;
    }

    .cmhwb-events-carousel-wrap {
        padding-left: 16px;
        padding-right: 16px;
        padding-bottom: 56px;
        isolation: isolate;
    }

    .cmhwb-events-title,
    .cmhwb-divider-title {
        font-size: 1.54rem;
        letter-spacing: 0.02em;
    }

    .cmhwb-next-event-card {
        min-height: clamp(320px, 90vw, 460px);
    }

    .cmhwb-next-event-title {
        font-size: clamp(1.4rem, 7vw, 2rem);
    }

    .cmhwb-next-event-meta {
        gap: 8px;
    }

    .cmhwb-next-event-meta-item {
        font-size: 11px;
        padding: 6px 10px;
    }

    .cmhwb-events-track {
        --cmhwb-track-gap: 0px;
        padding-left: 0;
        padding-right: 0;
        scroll-padding-left: 0;
    }

    .cmhwb-event-card {
        flex: 0 0 100%;
        min-width: 100%;
        margin-left: 0;
        margin-right: 0;
        box-shadow: none;
    }

    .cmhwb-event-card-link {
        aspect-ratio: auto;
        min-height: clamp(200px, 56vw, 262px);
    }

    .cmhwb-event-card:hover {
        transform: none;
        box-shadow: none;
    }

    .cmhwb-events-nav {
        display: grid !important;
        width: 34px;
        height: 34px;
        top: auto;
        bottom: 10px;
        transform: none;
    }

    .cmhwb-events-nav.is-prev {
        left: 50%;
        right: auto;
        margin-left: -44px;
    }

    .cmhwb-events-nav.is-next {
        left: 50%;
        right: auto;
        margin-left: 10px;
    }

    .cmhwb-events-nav:hover,
    .cmhwb-events-nav:focus-visible {
        transform: none;
    }

    .cmhwb-events-nav:disabled {
        opacity: 0.35;
    }

    .cmhwb-volunteer-grid.cols-2,
    .cmhwb-volunteer-grid.cols-3,
    .cmhwb-volunteer-grid.cols-4 {
        grid-template-columns: 1fr;
    }

    .cmhwb-story-grid.cols-2,
    .cmhwb-story-grid.cols-3,
    .cmhwb-story-grid.cols-4 {
        grid-template-columns: 1fr;
    }

    .cmhwb-resources-assessment-grid.cols-1,
    .cmhwb-resources-assessment-grid.cols-2,
    .cmhwb-resources-assessment-grid.cols-3 {
        grid-template-columns: 1fr;
    }

    .cmhwb-story-grid.has-dividers .cmhwb-story-card {
        border-right: 0;
        border-bottom: 1px solid rgba(35, 43, 56, 0.3);
    }

    .cmhwb-story-grid.has-dividers .cmhwb-story-card:last-child {
        border-bottom: 0;
    }

    .cmhwb-story-header {
        text-align: left;
        padding: 24px 20px 10px;
    }

    .cmhwb-story-card {
        padding: 0 20px 28px;
    }

    .cmhwb-story-media {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        border-radius: 24px !important;
        aspect-ratio: 16 / 10;
        transform: none;
    }

    .cmhwb-story-media-wrap {
        width: 100%;
        margin-left: 0;
        margin-top: -22px;
    }

    .cmhwb-story-content {
        padding-top: 18px;
    }

    .cmhwb-story-btn {
        width: 100%;
    }

    .cmhwb-landscape-card {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .cmhwb-landscape-media-wrap {
        min-height: 210px;
    }

    .cmhwb-landscape-section-title {
        font-size: clamp(1.35rem, 6.2vw, 1.75rem);
    }

    .cmhwb-landscape-text {
        font-size: 0.98rem;
        line-height: 1.62;
    }

    .cmhwb-volunteer-form-grid {
        grid-template-columns: 1fr;
    }

    .cmhwb-volunteer-form {
        padding: 20px;
    }

    .cmhwb-volunteer-form-actions {
        justify-content: flex-end;
    }

    .cmhwb-volunteer-photo-wrap {
        width: 150px;
        height: 150px;
    }

    .cmhwb-volunteer-hero .cmhwb-hero {
        min-height: clamp(280px, 78vw, 420px);
    }

    .cmhwb-volunteer-hero .cmhwb-hero-content {
        padding-top: 72px;
        padding-bottom: 56px;
    }

    .cmhwb-event-title {
        left: 18px;
        right: 58px;
        bottom: 16px;
        font-size: 1.32rem;
    }

    .cmhwb-event-arrow {
        right: 13px;
        bottom: 14px;
        width: 45px;
        height: 45px;
        font-size: 0;
    }

    .cmhwb-event-arrow::before {
        width: 14px;
        height: 14px;
        transform: translate(-42%, -50%);
    }

    .cmhwb-event-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cmhwb-event-gallery-modal {
        padding: 14px;
    }

    .cmhwb-event-gallery-modal-image {
        width: calc(100vw - 28px);
        max-height: calc(100vh - 72px);
    }

    .cmhwb-event-gallery-close {
        top: 10px;
        right: 10px;
        padding: 7px 12px;
        font-size: 12px;
    }

    .cmhwb-event-gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }

    .cmhwb-event-gallery-nav-prev {
        left: 8px;
    }

    .cmhwb-event-gallery-nav-next {
        right: 8px;
    }

    .cmhwb-events-nav {
        display: grid !important;
    }

    .cmhwb-hero {
        padding: var(--cmhwb-space-5) var(--cmhwb-space-4);
    }

    body.cmhwb-event-shortcode-page .entry-content > .cmhwb-hero-carousel:first-child {
        margin-top: -96px;
    }

    body.admin-bar.cmhwb-event-shortcode-page .entry-content > .cmhwb-hero-carousel:first-child {
        margin-top: -72px;
    }

    body.cmhwb-event-shortcode-page .cmhwb-hero-carousel .cmhwb-hero {
        min-height: clamp(360px, 98vw, 540px);
        padding-top: 128px;
    }

    .cmhwb-hero-next {
        width: 84px;
        height: 84px;
        right: 12px;
        padding-right: 16px;
    }

    .cmhwb-hero-next span {
        font-size: 88px;
    }
}

body.cmhwb-event-single-page .site-content > .ast-container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.cmhwb-event-single-page #primary {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

body.cmhwb-event-single-page #masthead {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1001;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

body.admin-bar.cmhwb-event-single-page #masthead {
    top: 0 !important;
}

body.cmhwb-event-single-page #masthead .main-header-bar,
body.cmhwb-event-single-page #masthead .ast-primary-header-bar,
body.cmhwb-event-single-page #masthead .ast-builder-grid-row,
body.cmhwb-event-single-page #masthead .site-header-section {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}

body.cmhwb-event-single-page #masthead .ast-above-header-bar.ast-above-header {
    background: #082f5c !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
    min-height: 48px;
}

body.cmhwb-event-single-page #masthead .ast-above-header-bar .site-above-header-wrap,
body.cmhwb-event-single-page #masthead .ast-above-header-bar .ast-builder-grid-row {
    min-height: 48px;
    align-items: center;
}

body.cmhwb-event-single-page #masthead .ast-primary-header-bar.main-header-bar,
body.cmhwb-event-single-page #masthead .ast-primary-header-bar .site-primary-header-wrap {
    min-height: 82px;
}

body.cmhwb-event-single-page #masthead .ast-primary-header-bar.main-header-bar {
    background: rgba(8, 47, 92, 0.42) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

body.cmhwb-event-single-page #masthead .main-header-menu > .menu-item {
    line-height: 82px;
}

body.cmhwb-event-single-page #masthead .ast-above-header-wrap,
body.cmhwb-event-single-page #masthead .ast-above-header-bar,
body.cmhwb-event-single-page #masthead .ast-above-header-section,
body.cmhwb-event-single-page #masthead .ast-above-header,
body.cmhwb-event-single-page #masthead .ast-builder-grid-row-container {
    border: 0 !important;
    box-shadow: none !important;
}

body.cmhwb-event-single-page #masthead::before,
body.cmhwb-event-single-page #masthead::after {
    display: none !important;
}

body.cmhwb-event-single-page #masthead .main-header-menu > .menu-item > .menu-link,
body.cmhwb-event-single-page #masthead .ast-builder-menu-1 .menu-link,
body.cmhwb-event-single-page #masthead .ast-mobile-menu-trigger-minimal,
body.cmhwb-event-single-page #masthead .ast-menu-toggle {
    color: #ffffff !important;
}

body.cmhwb-event-single-page #masthead .site-title a,
body.cmhwb-event-single-page #masthead .ast-site-title-wrap a,
body.cmhwb-event-single-page #masthead .site-description {
    color: #ffffff !important;
}

body.cmhwb-event-single-page #masthead .ast-builder-button-wrap .ast-custom-button,
body.cmhwb-event-single-page #masthead .ast-builder-button-wrap .ast-custom-button-link,
body.cmhwb-event-single-page #masthead .ast-custom-button,
body.cmhwb-event-single-page #masthead .ast-button {
    background: #ffffff !important;
    color: #102a5f !important;
    border-color: #ffffff !important;
}

body.cmhwb-event-single-page #masthead .ast-builder-button-wrap .ast-custom-button:hover,
body.cmhwb-event-single-page #masthead .ast-builder-button-wrap .ast-custom-button-link:hover,
body.cmhwb-event-single-page #masthead .ast-custom-button:hover,
body.cmhwb-event-single-page #masthead .ast-button:hover {
    background: #f6f8ff !important;
    color: #102a5f !important;
    border-color: #f6f8ff !important;
}

@media (max-width: 921px) {
    /* Keep single-event mobile menu labels readable inside dropdown/off-canvas panels. */
    body.single-event_listing #masthead .ast-mobile-header-content .menu-link,
    body.single-event_listing #ast-mobile-popup .menu-link,
    body.cmhwb-event-single-page #masthead .ast-mobile-header-content .menu-link,
    body.cmhwb-event-single-page #ast-mobile-popup .menu-link {
        color: #0b2231 !important;
        -webkit-text-fill-color: #0b2231 !important;
    }

    body.single-event_listing #masthead .ast-mobile-header-content .cmhwb-mobile-cta-item > .menu-link,
    body.single-event_listing #ast-mobile-popup .cmhwb-mobile-cta-item > .menu-link,
    body.cmhwb-event-single-page #masthead .ast-mobile-header-content .cmhwb-mobile-cta-item > .menu-link,
    body.cmhwb-event-single-page #ast-mobile-popup .cmhwb-mobile-cta-item > .menu-link {
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
    }
}

body.cmhwb-event-single-page .ast-article-single,
body.cmhwb-event-single-page article.type-event_listing {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.cmhwb-event-single-page .wpem-single-event-page .wpem-single-event-wrapper,
body.cmhwb-event-single-page .wpem-single-event-page .event-manager-info {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

body.cmhwb-event-single-page .wpem-single-event-page .wpem-single-event-header-top {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 0;
    overflow: hidden;
}

body.admin-bar.cmhwb-event-single-page .wpem-single-event-page .wpem-single-event-header-top {
    margin-top: 0;
}

body.cmhwb-event-single-page .wpem-single-event-page .wpem-single-event-images,
body.cmhwb-event-single-page .wpem-single-event-page .wpem-event-single-image-wrapper,
body.cmhwb-event-single-page .wpem-single-event-page .wpem-event-single-image,
body.cmhwb-event-single-page .wpem-single-event-page .wpem-single-event-slider-wrapper,
body.cmhwb-event-single-page .wpem-single-event-page .wpem-single-event-slider,
body.cmhwb-event-single-page .wpem-single-event-page .wpem-slider-items {
    height: clamp(348px, 49.3vw, 523px);
}

body.cmhwb-event-single-page .wpem-single-event-page .wpem-single-event-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

body.cmhwb-event-single-page .wpem-single-event-page .cmhwb-event-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(10, 30, 66, 0.4);
}

body.cmhwb-event-single-page .wpem-single-event-page .cmhwb-event-hero-bottom-shade {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: linear-gradient(to top, rgba(6, 20, 48, 0.72) 0%, rgba(6, 20, 48, 0.24) 42%, rgba(6, 20, 48, 0.02) 100%);
}

body.cmhwb-event-single-page .wpem-single-event-page .cmhwb-event-hero-title-wrap {
    position: absolute;
    left: clamp(22px, 4.5vw, 72px);
    right: clamp(22px, 4.5vw, 72px);
    bottom: clamp(18px, 3vw, 34px);
    z-index: 4;
}

body.cmhwb-event-single-page .wpem-single-event-page .cmhwb-event-hero-title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2rem, 4.3vw, 3.65rem);
    line-height: 1.1;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

body.cmhwb-event-single-page .wpem-single-event-page .wpem-single-event-body {
    margin-top: 20px;
}

body.cmhwb-event-single-page .wpem-single-event-page .wpem-single-event-short-info {
    padding-top: 8px !important;
}

body.cmhwb-event-single-page .wpem-single-event-page .wpem-event-title {
    margin-bottom: 2px !important;
}

body.cmhwb-event-single-page .wpem-single-event-page .wpem-event-title .wpem-heading-text {
    font-size: 2.02rem;
    letter-spacing: 0.02em;
}

body.cmhwb-event-single-page .wpem-single-event-page .wpem-single-event-body-content {
    padding-top: 8px !important;
    font-size: 1.3rem;
    line-height: 1.75;
}

body.cmhwb-event-single-page .wpem-single-event-page .wpem-single-event-body-content p,
body.cmhwb-event-single-page .wpem-single-event-page .wpem-single-event-body-content li {
    font-size: inherit;
    line-height: inherit;
}

body.single-event_listing .elementor-location-single .elementor-top-section:first-of-type,
body.single-event_listing .elementor-location-single .e-con:first-of-type {
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

body.single-event_listing .elementor-location-single .elementor-top-section:first-of-type > .elementor-background-overlay,
body.single-event_listing .elementor-location-single .e-con:first-of-type > .elementor-background-overlay {
    background: #0a3f73 !important;
    opacity: 0.3 !important;
}

body.single-event_listing .elementor-location-single .elementor-top-section:first-of-type .elementor-container,
body.single-event_listing .elementor-location-single .elementor-top-section:first-of-type .elementor-column,
body.single-event_listing .elementor-location-single .elementor-top-section:first-of-type .elementor-widget-wrap,
body.single-event_listing .elementor-location-single .e-con:first-of-type .e-con-inner,
body.single-event_listing .elementor-location-single .e-con:first-of-type .elementor-widget {
    position: relative;
    z-index: 2;
}

@media (max-width: 720px) {
    body.cmhwb-event-single-page .wpem-single-event-page .wpem-single-event-header-top {
        margin-top: 0;
    }

    body.admin-bar.cmhwb-event-single-page .wpem-single-event-page .wpem-single-event-header-top {
        margin-top: 0;
    }

    body.cmhwb-event-single-page .wpem-single-event-page .wpem-single-event-images,
    body.cmhwb-event-single-page .wpem-single-event-page .wpem-event-single-image-wrapper,
    body.cmhwb-event-single-page .wpem-single-event-page .wpem-event-single-image,
    body.cmhwb-event-single-page .wpem-single-event-page .wpem-single-event-slider-wrapper,
    body.cmhwb-event-single-page .wpem-single-event-page .wpem-single-event-slider,
    body.cmhwb-event-single-page .wpem-single-event-page .wpem-slider-items {
        height: clamp(305px, 66.8vw, 407px);
    }

    body.cmhwb-event-single-page .wpem-single-event-page .cmhwb-event-hero-title {
        font-size: clamp(1.4rem, 7.2vw, 2.05rem);
    }
}

/* ==========================================================================
   CMHWB Post Gallery Strip
   Horizontal scrollable row of square thumbnail cubes below featured image.
   Clicking a thumbnail swaps the main featured image via JS.
   ========================================================================== */

.cmhwb-post-gallery-shell {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}

/* Prev / Next arrows */
.cmhwb-post-gallery-arrow {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: #012245;
    color: #fff;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.15s ease;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
    padding: 0;
}
.cmhwb-post-gallery-arrow:hover {
    background: #0036af;
    transform: scale(1.1);
}

/* Hidden when scrolled to the edge */
.cmhwb-post-gallery-arrow[disabled],
.cmhwb-post-gallery-arrow.is-hidden {
    opacity: 0.3;
    pointer-events: none;
}

/* Scrollable thumbnail track */
.cmhwb-post-gallery-track {
    display: flex;
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    scroll-behavior: smooth;
    flex: 1 1 0%;
    padding: 6px 0;
    /* hide scrollbar on all browsers */
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.cmhwb-post-gallery-track::-webkit-scrollbar {
    display: none;
}

/* Individual thumbnail cube */
.cmhwb-post-gallery-thumb {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    border: 2.5px solid transparent;
    cursor: pointer;
    padding: 0;
    background: none;
    transition: border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.14);
}
.cmhwb-post-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}
.cmhwb-post-gallery-thumb:hover {
    border-color: #0036af;
    transform: scale(1.07);
    box-shadow: 0 4px 14px rgba(0, 54, 175, 0.28);
}
.cmhwb-post-gallery-thumb.is-active {
    border-color: #012245;
    box-shadow: 0 0 0 3px rgba(1, 34, 69, 0.28);
}

/* Mobile: slightly smaller cubes */
@media (max-width: 600px) {
    .cmhwb-post-gallery-thumb {
        width: 56px;
        height: 56px;
    }
    .cmhwb-post-gallery-arrow {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}
