.bridge-calendar-wrap {
    width: min(1800px, calc(100% - 4rem));
    margin: 0 auto;
}

@media (max-width: 980px) {
    .bridge-calendar-wrap {
        width: calc(100% - 2rem);
    }
}

@media (min-width: 1101px) {
    .bridge-calendar-filter-toggle {
        display: none;
    }
}

.bridge-calendar-section {
    padding: clamp(3rem, 6vw, 5rem) 0 clamp(5rem, 9vw, 8rem);
    background: var(--bridge-surface-soft);
}

.bridge-calendar-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.bridge-calendar-toolbar h2 {
    margin-bottom: 0;
}

.bridge-calendar-toolbar__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bridge-calendar-view-toggle {
    display: inline-flex;
    padding: 0.25rem;
    border: 1px solid var(--bridge-border);
    border-radius: 999px;
    background: #fff;
}

.bridge-calendar-view-toggle button {
    min-height: 38px;
    padding: 0.45rem 0.8rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--bridge-muted);
    font-weight: 800;
    cursor: pointer;
}

.bridge-calendar-view-toggle button.is-active {
    background: var(--bridge-blue);
    color: #fff;
}

.bridge-calendar-layout {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.bridge-calendar-nav-actions {
    display: flex;
    gap: 0.45rem;
    align-items: center;
    justify-content: flex-end;
    margin-top: 0.75rem;
}

.bridge-calendar-nav-actions button {
    min-height: 36px;
    padding: 0.45rem 0.75rem;
    border: 1px solid var(--bridge-border);
    border-radius: 999px;
    background: #fff;
    color: var(--bridge-blue-dark);
    font-weight: 900;
    cursor: pointer;
}

.bridge-calendar-nav-actions button:hover {
    background: var(--bridge-blue);
    border-color: var(--bridge-blue);
    color: #fff;
}

.bridge-calendar-filters {
    position: sticky;
    top: 160px;
    max-height: calc(100vh - 180px);
    overflow: auto;
    border: 1px solid var(--bridge-border);
    border-radius: var(--bridge-radius-lg);
    background: #fff;
    box-shadow: var(--bridge-shadow-sm);
}

.bridge-calendar-filters__header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem;
    border-bottom: 1px solid var(--bridge-border);
}

.bridge-calendar-filters__header strong {
    display: block;
    color: var(--bridge-blue-dark);
    font-size: 1.15rem;
}

.bridge-calendar-filters__header p {
    margin: 0.25rem 0 0;
    color: var(--bridge-muted);
    font-size: 0.9rem;
}

.bridge-calendar-filter-close {
    display: none;
    width: 38px;
    height: 38px;
    border: 1px solid var(--bridge-border);
    border-radius: 999px;
    background: #fff;
    color: var(--bridge-blue-dark);
    font-size: 1.4rem;
    cursor: pointer;
}

.bridge-calendar-search {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--bridge-border);
}

.bridge-calendar-search label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--bridge-blue-dark);
    font-weight: 800;
}

.bridge-calendar-search input {
    width: 100%;
    min-height: 46px;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--bridge-border);
    border-radius: 999px;
    font: inherit;
}

.bridge-filter-group {
    border-bottom: 1px solid var(--bridge-border);
}

.bridge-filter-group__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 58px;
    padding: 0 1.25rem;
    border: 0;
    background: #fff;
    color: var(--bridge-blue-dark);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.bridge-filter-group__toggle::after {
    content: "›";
    font-size: 1.5rem;
    transform: rotate(90deg);
    transition: transform 160ms ease;
}

.bridge-filter-group.is-collapsed .bridge-filter-group__toggle::after {
    transform: rotate(0deg);
}

.bridge-filter-group__content {
    display: grid;
    gap: 0.65rem;
    padding: 0 1.25rem 1.25rem;
}

.bridge-filter-group.is-collapsed .bridge-filter-group__content {
    display: none;
}

.bridge-filter-group__content--scroll {
    max-height: 260px;
    overflow: auto;
    padding-right: 1rem;
}

.bridge-filter-group label {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--bridge-muted);
    font-size: 0.94rem;
}


/* ================================
   Dynamic Filter Options
================================ */

.bridge-filter-option--counted {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
}

.bridge-filter-option__label {
    min-width: 0;
    color: var(--bridge-muted);
    line-height: 1.35;
}

.bridge-filter-option__count {
    display: inline-grid;
    place-items: center;
    min-width: 28px;
    min-height: 24px;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: var(--bridge-blue-soft);
    color: var(--bridge-blue);
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;
}

.bridge-filter-option--counted:has(input:checked)
    .bridge-filter-option__label {
    color: var(--bridge-blue-dark);
    font-weight: 800;
}

.bridge-filter-option--counted:has(input:checked)
    .bridge-filter-option__count {
    background: var(--bridge-blue);
    color: #fff;
}

.bridge-filter-empty {
    margin: 0;
    color: var(--bridge-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}


.bridge-filter-group input {
    accent-color: var(--bridge-blue);
}

.bridge-calendar-filters__footer {
    display: grid;
    gap: 0.6rem;
    padding: 1.25rem;
}

.bridge-calendar-results {
    min-width: 0;
}

.bridge-calendar-results__summary {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1rem;
    padding: 1.25rem;
    border: 1px solid var(--bridge-border);
    border-radius: var(--bridge-radius-lg);
    background: #fff;
    box-shadow: var(--bridge-shadow-sm);
}

.bridge-calendar-results__summary h2 {
    margin-bottom: 0.35rem;
}

.bridge-calendar-results__summary p {
    margin-bottom: 0;
    color: var(--bridge-muted);
}

.bridge-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-content: start;
    justify-content: flex-end;
}

.bridge-active-filters span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: var(--bridge-blue-soft);
    color: var(--bridge-blue);
    font-size: 0.75rem;
    font-weight: 800;
}

.bridge-event-list {
    display: grid;
    gap: 1rem;
}

.bridge-event-card {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid var(--bridge-border);
    border-radius: var(--bridge-radius-lg);
    background: #fff;
    box-shadow: var(--bridge-shadow-sm);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.bridge-event-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 71, 108, 0.25);
    box-shadow: var(--bridge-shadow-md);
}

.bridge-event-card__date {
    display: grid;
    place-items: center;
    align-content: center;
    min-height: 84px;
    border-radius: var(--bridge-radius-md);
    background: var(--bridge-blue);
    color: #fff;
}

.bridge-event-card__date span {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.bridge-event-card__date strong {
    font-size: 2rem;
    line-height: 1;
}

.bridge-event-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.55rem;
}

.bridge-event-card__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    background: var(--bridge-green-soft);
    color: var(--bridge-green-dark);
    font-size: 0.72rem;
    font-weight: 800;
}

.bridge-event-card h3 {
    margin-bottom: 0.45rem;
}

.bridge-event-card p {
    color: var(--bridge-muted);
}

.bridge-event-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.65rem;
    border-top: 1px solid var(--bridge-border);
}

.bridge-event-card__footer span {
    color: var(--bridge-muted);
    font-weight: 700;
}

.bridge-event-card__footer a {
    font-weight: 900;
    text-decoration: none;
}

.bridge-calendar-filter-backdrop {
    position: fixed;
    inset: 0;
    z-index: 250;
    background: rgba(0, 47, 73, 0.42);
}

@media (max-width: 1100px) {
    .bridge-calendar-layout {
        grid-template-columns: 1fr;
    }

    .bridge-calendar-filters {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 300;
        width: min(420px, 92vw);
        max-height: none;
        border-radius: 0;
        transform: translateX(100%);
        transition: transform 220ms ease;
    }

    .bridge-calendar-filters.is-open {
        transform: translateX(0);
    }

    .bridge-calendar-filter-close {
        display: inline-grid;
        place-items: center;
    }
}

@media (max-width: 720px) {
    .bridge-calendar-toolbar,
    .bridge-calendar-results__summary,
    .bridge-event-card__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .bridge-calendar-toolbar__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .bridge-calendar-view-toggle {
        justify-content: center;
    }

    .bridge-event-card {
        grid-template-columns: 1fr;
    }

    .bridge-event-card__date {
        width: 90px;
    }
}

/* ================================
   BRIDGE Calendar Month View
================================ */

.bridge-month-shell {
    border: 1px solid var(--bridge-border);
    border-radius: var(--bridge-radius-lg);
    background: #fff;
    box-shadow: var(--bridge-shadow-sm);
    overflow: hidden;
}

.bridge-month-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--bridge-border);
    position: sticky;
    top: 0;
    z-index: 15;
    background: #fff;
}

.bridge-month-nav strong {
    color: var(--bridge-blue-dark);
    font-size: 1.25rem;
}

.bridge-month-nav__controls {
    display: flex;
    gap: 0.5rem;
}

.bridge-month-nav__controls button {
    min-height: 36px;
    padding: 0.45rem 0.75rem;
    border: 1px solid var(--bridge-border);
    border-radius: 999px;
    background: #fff;
    color: var(--bridge-blue-dark);
    font-weight: 800;
    cursor: pointer;
}

.bridge-month-nav__controls button:hover {
    background: var(--bridge-blue-soft);
}

.bridge-month-event--training {
    border-left-color: #0b6aa2;
}

.bridge-month-event--conference {
    border-left-color: #0c8a6a;
}

.bridge-month-event--internal {
    border-left-color: #7c3aed;
}

.bridge-month-event--public {
    border-left-color: #d97706;
}

.bridge-month-event.is-training-session {
    border-left-color: #0d6efd;
}

.bridge-month-event.is-conference {
    border-left-color: #198754;
}

.bridge-month-event.is-field-trip {
    border-left-color: #d97706;
}

.bridge-month-event.is-meeting {
    border-left-color: #64748b;
}

.bridge-month-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.bridge-calendar-sidebar {
    position: sticky;
    top: 110px;
}

.bridge-month-grid__day-name {
    padding: 0.65rem;
    background: var(--bridge-blue);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 900;
    text-align: center;
}

.bridge-month-cell {
    position: relative;
    min-height: 165px;
    padding: 0.75rem;
    border-right: 1px solid var(--bridge-border);
    border-bottom: 1px solid var(--bridge-border);
    background: #fff;
}

.bridge-month-cell:nth-child(7n) {
    border-right: 0;
}

.bridge-month-cell.is-muted {
    background: #f8fafc;
}

.bridge-month-cell__date {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--bridge-blue-dark);
    font-weight: 900;
}

.bridge-month-cell.is-muted .bridge-month-cell__date {
    color: #9aa8b2;
}

.bridge-month-event {
    display: block;
    margin-bottom: 0.5rem;
    padding: 0.3rem 0.45rem;
    border-left: 3px solid var(--bridge-blue);
    border-radius: 8px;
    background: var(--bridge-blue-soft);
    color: var(--bridge-blue-dark);
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1.25;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.bridge-month-event:hover {
    background: var(--bridge-green-soft);
    color: var(--bridge-green-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 71, 108, 0.12);
}

@media (max-width: 980px) {
    .bridge-month-grid {
        min-width: 900px;
    }

    .bridge-month-shell {
        overflow-x: auto;
    }
}

.bridge-event-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.bridge-event-modal[hidden] {
    display: none !important;
}

.bridge-event-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 22, 39, 0.72);
    backdrop-filter: blur(4px);
}

.bridge-event-modal__dialog {
    position: relative;
    z-index: 2;
    width: min(920px, 100%);
    max-height: calc(100vh - 4rem);
    overflow: auto;
    padding: 2.5rem;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.bridge-event-modal__close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 42px;
    height: 42px;
    border: 1px solid var(--bridge-border);
    border-radius: 999px;
    background: #fff;
    color: var(--bridge-blue-dark);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.bridge-event-modal__header {
    padding-right: 3rem;
    margin-bottom: 1.5rem;
}

.bridge-event-modal__header h2 {
    margin-bottom: 0;
    color: var(--bridge-blue-dark);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
}

.bridge-event-modal__meta {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--bridge-border);
}

.bridge-event-modal__meta-item {
    color: var(--bridge-ink);
}

.bridge-event-modal__description {
    margin-bottom: 2rem;
    color: var(--bridge-ink);
    line-height: 1.7;
}

.bridge-event-modal__footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.85rem;
    flex-wrap: wrap;
}

body.bridge-modal-open {
    overflow: hidden;
}

.bridge-month-loading {
    display: grid;
    place-items: center;
    gap: 0.65rem;
    min-height: 420px;
    padding: 3rem;
    border: 1px solid var(--bridge-border);
    border-radius: var(--bridge-radius-lg);
    background: #fff;
    box-shadow: var(--bridge-shadow-sm);
    text-align: center;
}

.bridge-month-loading strong {
    color: var(--bridge-blue-dark);
    font-size: 1.2rem;
}

.bridge-month-loading p {
    margin: 0;
    color: var(--bridge-muted);
}

.bridge-loader {
    width: 46px;
    height: 46px;
    border: 4px solid var(--bridge-blue-soft);
    border-top-color: var(--bridge-blue);
    border-radius: 999px;
    animation: bridgeSpin 800ms linear infinite;
}

@keyframes bridgeSpin {
    to {
        transform: rotate(360deg);
    }
}

.bridge-month-shell.is-loading {
    display: none;
}

.bridge-month-loading[hidden] {
    display: none !important;
}

/* ================================
   Live Cvent Event Pills
================================ */

.bridge-month-event {
    width: 100%;
    max-width: 100%;
    min-height: 28px;
    margin-bottom: 0.42rem;
    padding: 0.32rem 0.5rem;
    border: 1px solid rgba(0, 71, 108, 0.35);
    border-left: 4px solid var(--bridge-blue);
    border-radius: 8px;
    background: #f4fafc;
    color: var(--bridge-blue-dark);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.25;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

.bridge-month-event:hover {
    background: var(--bridge-blue);
    color: #fff;
    border-color: var(--bridge-blue);
}

.bridge-month-cell {
    overflow: hidden;
}

.bridge-month-cell.is-today {
    background: rgba(0, 71, 108, 0.05);
    position: relative;
}

.bridge-month-cell.is-today::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--bridge-blue);
}

.bridge-month-cell__events-more {
    display: inline-flex;
    align-items: center;
    margin-top: 0.15rem;
    padding: 0.22rem 0.45rem;
    border: 0;
    border-radius: 999px;
    background: var(--bridge-yellow-soft);
    color: #9a5d00;
    font-size: 0.7rem;
    font-weight: 900;
    cursor: pointer;
}

.bridge-month-cell__events-more:hover {
    background: var(--bridge-yellow);
    color: var(--bridge-blue-dark);
}



/* ================================
   BRIDGE Calendar List View
================================ */

.bridge-list-shell {
    overflow: hidden;
    border: 1px solid var(--bridge-border);
    border-radius: var(--bridge-radius-lg);
    background: #fff;
    box-shadow: var(--bridge-shadow-sm);
}

.bridge-list-results {
    display: grid;
    gap: 0;
    background: #fff;
}

.bridge-list-event {
    position: relative;
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 1.15rem;
    padding: 1.35rem 1.5rem;
    border-bottom: 1px solid var(--bridge-border);
    background: #fff;
    transition:
        background 180ms ease,
        box-shadow 180ms ease;
}

.bridge-list-event:last-child {
    border-bottom: 0;
}

.bridge-list-event:hover {
    z-index: 1;
    background: #f8fbfd;
    box-shadow: inset 4px 0 0 var(--bridge-blue);
}

.bridge-list-event__date {
    display: grid;
    place-items: center;
    align-content: center;
    min-height: 82px;
    border-radius: 14px;
    background: var(--bridge-blue);
    color: #fff;
    box-shadow: 0 8px 18px rgba(0, 71, 108, 0.13);
}

.bridge-list-event__date span {
    margin-bottom: 0.2rem;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.bridge-list-event__date strong {
    font-size: 1.8rem;
    line-height: 1;
}

.bridge-list-event__content {
    min-width: 0;
}

.bridge-list-event h3 {
    margin: 0 0 0.75rem;
    color: var(--bridge-blue-dark);
    font-size: clamp(1.05rem, 1.4vw, 1.3rem);
    line-height: 1.25;
}

.bridge-list-event__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.65rem;
}

.bridge-list-event__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    background: var(--bridge-blue-soft);
    color: var(--bridge-blue);
    font-size: 0.68rem;
    font-weight: 900;
}

.bridge-list-event__meta span:first-child {
    border: 1px solid transparent;
}

/* Event type colors */
.bridge-list-event.is-meeting .bridge-list-event__meta span:first-child {
    border-color: #b7e4c7;
    background: #e8f7ee;
    color: #1f7a46;
}

.bridge-list-event.is-training .bridge-list-event__meta span:first-child,
.bridge-list-event.is-training-session .bridge-list-event__meta span:first-child,
.bridge-list-event.is-trainingsession .bridge-list-event__meta span:first-child {
    border-color: #b8d6ff;
    background: #e8f2ff;
    color: #0b63ce;
}

.bridge-list-event.is-workshop .bridge-list-event__meta span:first-child {
    border-color: #dac0fb;
    background: #f3e9ff;
    color: #7d3ac1;
}

.bridge-list-event.is-conference .bridge-list-event__meta span:first-child {
    border-color: #f4d88b;
    background: #fff6dd;
    color: #9b6a00;
}

.bridge-list-event.is-public-event .bridge-list-event__meta span:first-child,
.bridge-list-event.is-publicevent .bridge-list-event__meta span:first-child {
    border-color: #f7c6a5;
    background: #fff0e8;
    color: #b5531d;
}

.bridge-list-event.is-field-trip .bridge-list-event__meta span:first-child,
.bridge-list-event.is-fieldtrip .bridge-list-event__meta span:first-child {
    border-color: #afe8e5;
    background: #e6fbfa;
    color: #0c6f72;
}

.bridge-list-event p {
    max-width: 980px;
    margin: 0 0 0.8rem;
    color: var(--bridge-muted);
    line-height: 1.65;
}

.bridge-list-event .bridge-card-link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--bridge-blue);
    font-size: 0.82rem;
    font-weight: 900;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}

.bridge-list-event .bridge-card-link::after {
    content: "→";
    margin-left: 0.4rem;
    transition: transform 160ms ease;
}

.bridge-list-event .bridge-card-link:hover {
    background: transparent;
    color: var(--bridge-blue-dark);
    text-decoration: underline;
}

.bridge-list-event .bridge-card-link:hover::after {
    transform: translateX(3px);
}

.bridge-list-empty {
    padding: clamp(2rem, 5vw, 4rem);
    text-align: center;
}

.bridge-list-empty h3 {
    margin-bottom: 0.45rem;
    color: var(--bridge-blue-dark);
}

.bridge-list-empty p {
    margin: 0;
    color: var(--bridge-muted);
}

.bridge-list-load-more {
    display: flex;
    justify-content: center;
    padding: 1.5rem;
    border-top: 1px solid var(--bridge-border);
    background: var(--bridge-surface-soft);
}

.bridge-list-load-more[hidden] {
    display: none !important;
}

.bridge-list-load-more .bridge-btn {
    min-width: 220px;
}

@media (max-width: 720px) {
    .bridge-list-event {
        grid-template-columns: 68px minmax(0, 1fr);
        gap: 0.85rem;
        padding: 1.1rem;
    }

    .bridge-list-event__date {
        width: 68px;
        min-height: 72px;
    }

    .bridge-list-event__date strong {
        font-size: 1.55rem;
    }
}

@media (max-width: 520px) {
    .bridge-list-event {
        grid-template-columns: 1fr;
    }

    .bridge-list-event__date {
        width: 72px;
    }
}

.bridge-week-shell {
    border: 1px solid var(--bridge-border);
    border-radius: var(--bridge-radius-lg);
    background: #fff;
    box-shadow: var(--bridge-shadow-sm);
    overflow: hidden;
}

.bridge-week-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem;
    border-bottom: 1px solid var(--bridge-border);
}

.bridge-week-header h3 {
    margin: 0;
}

.bridge-week-header p {
    margin: 0;
    color: var(--bridge-muted);
}

.bridge-week-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(180px, 1fr));
    overflow-x: auto;
}

.bridge-week-day {
    min-height: 520px;
    border-right: 1px solid var(--bridge-border);
    background: #fff;
}

.bridge-week-day:last-child {
    border-right: 0;
}

.bridge-week-day__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding: 0.75rem;
    border-bottom: 1px solid var(--bridge-border);
    background: var(--bridge-blue);
    color: #fff;
}

.bridge-week-day__header span {
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
}

.bridge-week-day__header strong {
    font-size: 1.4rem;
}

.bridge-week-day__events {
    display: grid;
    gap: 0.55rem;
    padding: 0.75rem;
}

.bridge-week-event {
    width: 100%;
    padding: 0.65rem;
    border: 1px solid rgba(0, 71, 108, 0.22);
    border-left: 4px solid var(--bridge-blue);
    border-radius: 10px;
    background: #f8fbfd;
    color: var(--bridge-blue-dark);
    text-align: left;
    cursor: pointer;
}

.bridge-week-event span {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--bridge-muted);
    font-size: 0.72rem;
    font-weight: 900;
}

.bridge-week-event strong {
    display: block;
    font-size: 0.86rem;
    line-height: 1.25;
}

.bridge-week-event:hover {
    background: var(--bridge-blue);
    color: #fff;
}

.bridge-week-event:hover span {
    color: rgba(255,255,255,0.78);
}

.bridge-week-empty {
    margin: 0;
    color: var(--bridge-muted);
    font-size: 0.85rem;
}

@media (max-width: 1000px) {
    .bridge-week-grid {
        grid-template-columns: repeat(7, minmax(220px, 1fr));
    }
}



/* =========================================================
   BRIDGE Calendar Search State
========================================================= */

.bridge-calendar-nav-actions[hidden] {
    display: none !important;
}

.bridge-calendar-section.is-searching .bridge-calendar-view-toggle {
    display: none;
}

.bridge-calendar-section.is-searching .bridge-calendar-results__summary {
    align-items: flex-start;
    padding: clamp(1.25rem, 2vw, 1.75rem);
}

.bridge-calendar-section.is-searching .bridge-calendar-results__summary h2 {
    max-width: 820px;
    margin-bottom: 0.45rem;
    font-size: clamp(1.9rem, 3vw, 2.75rem);
    line-height: 1.05;
}

.bridge-calendar-section.is-searching
    .bridge-calendar-results__summary > div:first-child > p:last-child {
    max-width: 780px;
}

.bridge-calendar-results__tools {
    flex: 0 0 auto;
}

.bridge-active-filters {
    max-width: 360px;
}

.bridge-active-filters span {
    white-space: nowrap;
}

.bridge-filter-option__count {
    min-width: 25px;
    min-height: 21px;
    padding: 0.12rem 0.4rem;
    font-size: 0.66rem;
}

.bridge-calendar-search input {
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        background 160ms ease;
}

.bridge-calendar-search input:focus {
    outline: 0;
    border-color: var(--bridge-blue);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 71, 108, 0.1);
}

@media (max-width: 720px) {
    .bridge-calendar-section.is-searching .bridge-calendar-results__summary {
        gap: 1rem;
    }

    .bridge-calendar-results__tools {
        width: 100%;
    }

    .bridge-active-filters {
        justify-content: flex-start;
        max-width: none;
    }
}
