@charset "UTF-8";

.alerts-v5 {
    --alerts-cyan: #48c8f1;
    --alerts-mint: #39d8b6;
    width: min(100% - 3rem, 1180px);
    margin: 0 auto;
    padding: clamp(2rem, 4vw, 4.5rem) 0 4rem;
    color: #f5f9fd;
}

.alerts-v5-back {
    flex: 0 0 auto;
    padding: .7rem 1rem;
    border: 1px solid rgba(72, 200, 241, .22);
    border-radius: 999px;
    color: #cbe6f4;
    background: rgba(72, 200, 241, .06);
    font-size: .8rem;
    font-weight: 650;
    text-decoration: none;
}

.alerts-v5-live {
    --alerts-live-accent: #72b8ff;
    --alerts-live-rgb: 114, 184, 255;
    margin: 0 0 1rem;
    overflow: hidden;
    border: 1px solid rgba(var(--alerts-live-rgb), .3) !important;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(16, 41, 67, .9), rgba(8, 27, 47, .88)) !important;
}

.alerts-v5-live-level-yellow {
    --alerts-live-accent: #f8c35a;
    --alerts-live-rgb: 248, 195, 90;
}

.alerts-v5-live-level-orange {
    --alerts-live-accent: #ff9f43;
    --alerts-live-rgb: 255, 159, 67;
}

.alerts-v5-live-level-red {
    --alerts-live-accent: #ff6478;
    --alerts-live-rgb: 255, 100, 120;
}

.alerts-v5-live[data-state="empty"] {
    --alerts-live-accent: #63dbc1;
    --alerts-live-rgb: 99, 219, 193;
}

.alerts-v5-live[data-state="error"] {
    --alerts-live-accent: #f8c35a;
    --alerts-live-rgb: 248, 195, 90;
}

.alerts-v5-live-summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    cursor: pointer;
    list-style: none;
}

.alerts-v5-live-summary::-webkit-details-marker {
    display: none;
}

.alerts-v5-live-summary:hover,
.alerts-v5-live-summary:focus-visible,
.alerts-v5-live[open] .alerts-v5-live-summary {
    background: rgba(var(--alerts-live-rgb), .05);
}

.alerts-v5-live-summary:focus-visible {
    outline: 2px solid rgba(var(--alerts-live-rgb), .55);
    outline-offset: -2px;
}

.alerts-v5-live-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(var(--alerts-live-rgb), .42);
    border-radius: 12px;
    color: var(--alerts-live-accent);
    background: rgba(var(--alerts-live-rgb), .11);
    font-size: 1rem;
    font-weight: 850;
}

.alerts-v5-live-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.alerts-v5-live-copy small {
    margin-bottom: .18rem;
    color: var(--alerts-live-accent);
    font-size: .62rem;
    font-weight: 760;
    letter-spacing: .1em;
}

.alerts-v5-live-copy strong {
    color: #fff;
    font-size: .94rem;
    line-height: 1.35;
}

.alerts-v5-live-copy > span {
    margin-top: .14rem;
    color: #9fb1c2;
    font-size: .72rem;
    line-height: 1.45;
}

.alerts-v5-live-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: .45rem .68rem;
    border: 1px solid rgba(var(--alerts-live-rgb), .24);
    border-radius: 10px;
    color: var(--alerts-live-accent);
    background: rgba(var(--alerts-live-rgb), .06);
    font-size: .7rem;
    font-weight: 750;
    white-space: nowrap;
}

.alerts-v5-live-toggle span:last-child,
.alerts-v5-live[open] .alerts-v5-live-toggle span:first-child {
    display: none;
}

.alerts-v5-live[open] .alerts-v5-live-toggle span:last-child {
    display: inline;
}

.alerts-v5-live:not([data-state="ready"]) .alerts-v5-live-toggle,
.alerts-v5-live:not([data-state="ready"]) .alerts-v5-live-body {
    display: none;
}

.alerts-v5-live-body {
    padding: 1rem;
    border-top: 1px solid rgba(var(--alerts-live-rgb), .18);
}

.alerts-v5-live-list {
    display: grid;
    gap: 1rem;
}

.alerts-v5-day {
    min-width: 0;
}

.alerts-v5-day-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 0 .55rem;
}

.alerts-v5-day-heading h3 {
    margin: 0;
    color: #f4f8fc;
    font-size: .86rem;
}

.alerts-v5-day-heading span {
    color: #8fa5b8;
    font-size: .65rem;
    white-space: nowrap;
}

.alerts-v5-day-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
}

.alerts-v5-live-item {
    grid-template-columns: 1fr;
    align-content: start;
    gap: .65rem;
    margin: 0;
    padding: .8rem .85rem;
}

.alerts-v5-live-item .home-alert-dates {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.alerts-v5-live-item .home-alert-dates > div:first-child {
    padding-left: 0;
    border-left: 0;
}

.alerts-v5-live-footer,
.alerts-v5-map-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.alerts-v5-live-footer {
    margin-top: .85rem;
}

.alerts-v5-live-footer p,
.alerts-v5-map-footer p {
    margin: 0;
    color: #879caf;
    font-size: .67rem;
    line-height: 1.5;
}

.alerts-v5-live-footer a,
.alerts-v5-map-footer a {
    flex: 0 0 auto;
    color: var(--alerts-cyan);
    font-size: .72rem;
    font-weight: 720;
    text-decoration: none;
}

.alerts-v5-map {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid rgba(116, 180, 221, .16);
    border-radius: 20px;
    background: rgba(7, 30, 50, .84);
}

.alerts-v5-map-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, .7fr);
    align-items: end;
    gap: 1.5rem;
    margin-bottom: .8rem;
}

.alerts-v5-map-heading span {
    display: block;
    margin-bottom: .2rem;
    color: var(--alerts-mint);
    font-size: .62rem;
    font-weight: 760;
    letter-spacing: .1em;
}

.alerts-v5-map-heading h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
}

.alerts-v5-map-heading p {
    margin: 0;
    color: #9eb0c2;
    font-size: .72rem;
    line-height: 1.5;
}

.alerts-v5-map-frame {
    overflow: hidden;
    border: 1px solid rgba(116, 180, 221, .14);
    border-radius: 14px;
    background: #fff;
}

.alerts-v5-map-frame iframe {
    display: block;
    width: 100%;
    height: 490px;
    border: 0;
}

.alerts-v5-map-footer {
    margin-top: .7rem;
}

.alerts-v5-sources {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
    margin-top: .8rem;
}

.alerts-v5-sources a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .08rem .65rem;
    align-items: center;
    padding: .72rem .8rem;
    border: 1px solid rgba(72, 200, 241, .14);
    border-radius: 12px;
    color: #eaf5fb;
    background: rgba(72, 200, 241, .04);
    text-decoration: none;
}

.alerts-v5-sources a:hover,
.alerts-v5-sources a:focus-visible {
    border-color: rgba(72, 200, 241, .35);
    background: rgba(72, 200, 241, .08);
}

.alerts-v5-sources a > span {
    grid-row: 1 / 3;
    display: grid;
    width: 35px;
    height: 35px;
    place-items: center;
    border-radius: 9px;
    color: var(--alerts-cyan);
    background: rgba(72, 200, 241, .09);
    font-size: .58rem;
    font-weight: 800;
}

.alerts-v5-sources strong {
    font-size: .76rem;
}

.alerts-v5-sources small {
    color: #8fa4b7;
    font-size: .63rem;
}

.alerts-v5-footnote {
    margin: .8rem .15rem 0;
    color: #7f94a7;
    font-size: .66rem;
    line-height: 1.55;
}

@media (max-width: 1024px) {
    .alerts-v5 {
        padding-top: 5.5rem;
    }

    .alerts-v5-day-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .alerts-v5 {
        width: min(100% - 1.25rem, 1180px);
        padding-top: 3.75rem;
    }

    .alerts-v5-live-summary {
        gap: .7rem;
        padding: .8rem;
    }

    .alerts-v5-live-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .alerts-v5-live-copy strong {
        font-size: .78rem;
    }

    .alerts-v5-live-copy > span {
        font-size: .65rem;
    }

    .alerts-v5-live-toggle {
        min-height: 30px;
        padding: .38rem .5rem;
        font-size: .62rem;
    }

    .alerts-v5-live-body {
        padding: .75rem;
    }

    .alerts-v5-live-footer,
    .alerts-v5-map-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: .5rem;
    }

    .alerts-v5-map {
        padding: .7rem;
        border-radius: 16px;
    }

    .alerts-v5-map-heading {
        display: block;
    }

    .alerts-v5-map-heading p {
        margin-top: .4rem;
    }

    .alerts-v5-map-frame iframe {
        height: 430px;
    }
}

@media (max-width: 699px) {
    .alerts-v5-live {
        margin: 0 0 .7rem;
        border-radius: 14px;
    }

    .alerts-v5-live-copy small {
        font-size: .55rem;
    }

    .alerts-v5-live-copy > span {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .alerts-v5-day-heading h3 {
        font-size: .76rem;
    }

    .alerts-v5-live-item .home-alert-dates {
        grid-template-columns: 1fr;
    }

    .alerts-v5-live-item .home-alert-dates > div {
        padding: .48rem 0 0;
        border-top: 1px solid rgba(var(--home-alert-item-accent-rgb), .16);
        border-left: 0;
    }

    .alerts-v5-live-item .home-alert-dates > div:first-child {
        padding-top: 0;
        border-top: 0;
    }

    .alerts-v5-map-heading h2 {
        font-size: 1.2rem;
    }

    .alerts-v5-map-frame iframe {
        height: clamp(540px, 150vw, 620px);
    }

    .alerts-v5-sources {
        gap: .45rem;
    }

    .alerts-v5-sources a {
        display: flex;
        min-width: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: .16rem;
        padding: .62rem;
    }

    .alerts-v5-sources a > span {
        width: 30px;
        height: 30px;
    }

    .alerts-v5-sources strong {
        font-size: .68rem;
    }

    .alerts-v5-sources small {
        font-size: .57rem;
    }
}

@media (orientation: landscape) and (max-height: 500px) and (hover: none) and (pointer: coarse) {
    .alerts-v5-map-heading p,
    .alerts-v5-footnote {
        display: none;
    }

    .alerts-v5-map-frame iframe {
        height: 560px;
    }

    .alerts-v5-sources a {
        min-height: 58px;
    }
}
