.air-map-page {
    background: #f7f9fb;
    color: #3d4449;
    padding-bottom: 3.5em;
}

.air-map-page > * > .inner {
    margin: 0 auto;
    max-width: 68em;
    padding: 0 2.5em;
    width: 100%;
}

#wrapper > .air-map-page > .air-map-main > .inner {
    padding-top: 1.75em;
}

.air-map-main,
.air-map-section {
    background: #f7f9fb;
    padding: 0.75em 0 !important;
    scroll-margin-top: 5.5em;
}

.air-map-section.rowColor {
    background: #edf5f3 !important;
}

.air-map-main .row,
.air-map-section .row {
    margin-left: 0;
    margin-right: 0;
}

.air-map-main .u12,
.air-map-section .u12 {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
}

.air-map-hero {
    background: #ffffff;
    border: 1px solid rgba(42, 69, 80, 0.1);
    border-radius: 8px;
    margin-bottom: 0.85em;
    padding: 1.65em 1.85em;
}

.air-map-hero h1 {
    color: #22282d;
    font-size: 2.6em;
    line-height: 1.1;
    margin: 0 0 0.35em;
}

.air-map-hero p {
    color: #5c666f;
    font-size: 1.08em;
    line-height: 1.65;
    margin: 0;
    max-width: 54em;
}

.air-map-content {
    width: 100%;
}

.map-controls {
    background: #ffffff;
    border: 1px solid rgba(42, 69, 80, 0.1);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(30, 47, 56, 0.06);
    margin-bottom: 0.85em;
    padding: 1em;
}

.filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #2c7a65;
    border: 0;
    border-radius: 6px;
    color: #ffffff;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 700;
    line-height: 1;
    min-height: 2.65em;
    padding: 0.8em 1em;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.filter-toggle:hover {
    background: #1f6f5c;
    transform: translateY(-1px);
}

.filters-bar {
    align-items: stretch;
    border-top: 1px solid rgba(42, 69, 80, 0.08);
    display: none;
    gap: 0.75em;
    grid-template-columns: repeat(auto-fit, minmax(12.5em, 1fr));
    margin-top: 0.9em;
    padding-top: 0.9em;
}

.filters-bar.is-open {
    display: grid;
}

.filters-bar-label {
    align-items: center;
    color: #66717a;
    display: inline-flex;
    font-size: 0.78em;
    font-weight: 800;
    grid-column: 1 / -1;
    letter-spacing: 0.08em;
    margin: 0;
    min-height: 0;
    text-transform: uppercase;
    white-space: nowrap;
}

.switch-wrap {
    align-items: center;
    background: #f7f9fb;
    border: 1px solid rgba(42, 69, 80, 0.1);
    border-radius: 8px;
    color: #2f3840;
    cursor: pointer;
    display: flex;
    font-size: 0.95em;
    font-weight: 700;
    gap: 0.55em;
    justify-content: space-between;
    min-height: 3.25em;
    padding: 0.65em 0.75em;
    white-space: normal;
}

.switch-wrap span:first-child {
    display: inline-flex;
    line-height: 1.2;
    min-width: 0;
}

.switch {
    flex: 0 0 auto;
    display: inline-block;
    height: 22px;
    position: relative;
    width: 42px;
}

.switch input {
    height: 0;
    opacity: 0;
    width: 0;
}

.slider {
    background-color: #c9d1d6;
    border-radius: 22px;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: 0.2s ease;
}

.slider:before {
    background-color: #ffffff;
    border-radius: 50%;
    bottom: 3px;
    content: "";
    height: 16px;
    left: 3px;
    position: absolute;
    transition: 0.2s ease;
    width: 16px;
}

.switch input:checked + .slider {
    background-color: #0077c8;
}

.switch input:checked + .slider:before {
    transform: translateX(20px);
}

#filter-status,
.monitor-select-col select {
    background: #ffffff;
    border: 1px solid rgba(42, 69, 80, 0.16);
    border-radius: 6px;
    color: #3d4449;
    height: 2.65em;
    line-height: 2.65em;
    padding: 0 0.75em;
}

#filter-status {
    min-width: 8.5em;
    max-width: 10em;
}

.monitor-controls {
    margin-top: 0.85em;
}

.monitor-controls-row {
    align-items: flex-end;
    display: grid;
    gap: 0.85em;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) auto;
}

.monitor-select-col {
    min-width: 0;
}

.monitor-select-col label {
    color: #66717a;
    display: block;
    font-size: 0.82em;
    font-weight: 800;
    letter-spacing: 0.06em;
    margin: 0 0 0.35em;
    text-transform: uppercase;
}

.monitor-select-col select {
    width: 100%;
}

.monitor-button-col {
    min-width: 0;
}

.custom-button {
    all: unset !important;
    align-items: center;
    background: #2c7a65 !important;
    border: 0 !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
    color: #ffffff !important;
    cursor: pointer;
    display: inline-flex !important;
    font-family: "Source Sans Pro", Helvetica, sans-serif !important;
    font-size: 0.95em !important;
    font-weight: 800 !important;
    gap: 0.5em;
    min-height: 2.65em;
    padding: 0.75em 1em !important;
    text-align: center !important;
    white-space: nowrap;
}

.custom-button:hover {
    background: #1f6f5c !important;
    color: #ffffff !important;
}

.air-map-frame {
    background: #ffffff;
    border: 1px solid rgba(42, 69, 80, 0.1);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(30, 47, 56, 0.06);
    overflow: hidden;
}

.map-clock {
    background: #f7f9fb;
    border-bottom: 1px solid rgba(42, 69, 80, 0.08);
    color: #66717a;
    font-size: 0.9em;
    font-weight: 700;
    line-height: 1.4;
    padding: 0.75em 1em;
    text-align: right;
}

#map {
    border: 0;
    border-radius: 0;
    height: 560px;
    margin: 0;
    min-height: 60vh;
    width: 100%;
}

.air-map-note {
    background: #ffffff;
    border: 1px solid rgba(42, 69, 80, 0.1);
    border-radius: 8px;
    color: #5c666f;
    margin-top: 0.85em;
    padding: 1em 1.25em !important;
}

.air-map-note p {
    line-height: 1.65;
    margin: 0;
}

.air-map-info-card {
    background: #ffffff;
    border: 1px solid rgba(42, 69, 80, 0.1);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(30, 47, 56, 0.05);
    color: #3d4449;
    padding: 1.65em 1.85em;
}

.air-map-section.rowColor .air-map-info-card {
    background: rgba(255, 255, 255, 0.88);
}

.air-map-info-card h2 {
    color: #22282d;
    font-size: 1.65em;
    line-height: 1.2;
    margin: 0 0 0.85em;
    padding-top: 0;
}

.air-map-info-card h2:before {
    background: #2c7a65;
    border-radius: 999px;
    content: "";
    display: block;
    height: 0.18em;
    margin-bottom: 0.65em;
    width: 2.25em;
}

.air-map-info-card p,
.air-map-info-card li {
    color: #5c666f;
    font-size: 1em;
    line-height: 1.7;
}

@media screen and (max-width: 980px) {
    .monitor-controls-row {
        grid-template-columns: 1fr 1fr;
    }

    .monitor-button-col {
        grid-column: 1 / -1;
    }

    .custom-button {
        justify-content: center;
        width: 100%;
    }
}

@media screen and (max-width: 736px) {
    .air-map-page > * > .inner {
        padding: 0 1.25em;
    }

    #wrapper > .air-map-page > .air-map-main > .inner {
        padding-top: 1.25em;
    }

    .air-map-hero,
    .map-controls,
    .air-map-info-card {
        padding: 1.25em;
    }

    .air-map-hero h1 {
        font-size: 2.1em;
    }

    .filters-bar {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .map-controls .filters-bar {
        display: none !important;
    }

    .map-controls .filters-bar.is-open {
        display: grid !important;
    }

    .switch-wrap {
        justify-content: space-between;
        white-space: normal;
        width: 100%;
    }

    #filter-status {
        max-width: none;
        width: 10em;
    }

    .monitor-controls-row {
        grid-template-columns: 1fr;
    }

    .monitor-button-col {
        grid-column: auto;
    }

    .map-clock {
        text-align: left;
    }

    #map {
        height: 68vh;
        min-height: 26em;
    }
}
