/* Weather Station Styles - Palette v5
   Primary: Black (#000000)
   Accents: #7A93C7 (blue), #C7C7C7 (gray)
   Font: Comfortaa
*/

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comfortaa', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: #eaeaea;
    background-color: #000000;
}

/* Prevent horizontal overflow */
html, body { width: 100%; overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #000000;
    border-bottom: 1px solid rgba(199, 199, 199, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
}

/* Logo block: text on left, brand mark on right, vertically centered */
.logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-text {
    display: inline-block;
}

.brand-mark {
    height: 78px;
    width: auto;
    display: block;
    margin-left: 25px;
}

.site-title {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.tagline {
    color: #C7C7C7;
    font-size: 0.9rem;
}

.main-nav { display: flex; flex-direction: column; align-items: flex-end; }
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

/* Remove header link menu; keep Menu button only */
.header .main-nav ul {
    display: none;
}

.main-nav a {
    color: #eaeaea;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.main-nav a:hover {
    background-color: rgba(122, 147, 199, 0.15);
    color: #7A93C7;
}

/* Hero */
.hero {
    background: radial-gradient(1200px 500px at 50% -10%, rgba(122, 147, 199, 0.25), transparent 60%),
                radial-gradient(1000px 400px at 100% 0%, rgba(199, 199, 199, 0.12), transparent 70%),
                #000000;
    color: #ffffff;
    padding: 64px 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.hero-content p {
    color: #C7C7C7;
    margin-bottom: 1.5rem;
}

.hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
    background-color: #7A93C7;
    color: #000000;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(122, 147, 199, 0.35);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border-color: #7A93C7;
}

.btn-secondary:hover {
    background-color: #7A93C7;
    color: #000000;
}

/* Menu button (above nav links) */
.menu-button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; margin-bottom: 15px; }
.menu-icon { position: relative; width: 18px; height: 14px; display: inline-block; }
.menu-icon span,
.menu-icon::before,
.menu-icon::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}
.menu-icon span { top: 6px; }
.menu-icon::before { top: 0; }
.menu-icon::after { bottom: 0; }

/* Menu popup tied to fixed Menu button */
.menu-popup {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.75);
    z-index: 2050;
}

.menu-popup.open {
    display: flex;
}

.menu-popup-panel {
    position: relative;
    background: #0b0b0b;
    border: 1px solid rgba(199, 199, 199, 0.25);
    border-radius: 12px;
    /* 3x5 using 140px buttons + 16px grid gaps + explicit 16px side padding */
    width: 484px;
    min-height: 366px;
    padding-top: 16px;
    padding-right: 16px;
    padding-bottom: 16px;
    padding-left: 16px;
    max-height: calc(100vh - 24px);
    overflow-y: auto;
}

.menu-popup-close {
    position: absolute;
    top: 6px;
    right: 8px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(199, 199, 199, 0.35);
    background: rgba(0, 0, 0, 0.65);
    color: #eaeaea;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.menu-popup-grid {
    display: grid;
    grid-template-columns: repeat(3, 140px);
    grid-template-rows: repeat(5, auto);
    gap: 16px;
    justify-content: center;
    margin-top: 24px;
}

.menu-popup-btn {
    width: 140px;
    min-width: 140px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.menu-popup-btn.lit {
    opacity: 1;
}

.menu-popup-btn.unlit {
    background-color: rgba(120, 120, 120, 0.15);
    border-color: rgba(140, 140, 140, 0.75);
    color: #8f8f8f;
    box-shadow: none;
    cursor: not-allowed;
}

.menu-popup-btn.unlit:hover,
.menu-popup-btn.unlit:focus {
    background-color: rgba(120, 120, 120, 0.15);
    border-color: rgba(140, 140, 140, 0.75);
    color: #8f8f8f;
    transform: none;
    box-shadow: none;
}

@media (max-width: 600px) {
    .menu-popup-panel {
        /* 3x5 mobile layout using 126px buttons + 6px gaps + explicit 12px side padding */
        width: 414px;
        min-height: 318px;
        max-width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
        padding-top: 12px;
        padding-right: 12px;
        padding-bottom: 12px;
        padding-left: 12px;
    }

    .menu-popup-grid {
        grid-template-columns: repeat(3, 126px);
        gap: 6px;
        margin-top: 18px;
    }

    .menu-popup-btn {
        width: 126px;
        min-width: 126px;
    }

    .menu-popup-close {
        width: 38px;
        height: 38px;
        font-size: 26px;
    }
}

/* Weather Section */
.weather-section {
    background: #0b0b0b;
    border-top: 1px solid rgba(199, 199, 199, 0.12);
    border-bottom: 1px solid rgba(199, 199, 199, 0.12);
    padding: 64px 0;
}

.weather-section h2 {
    text-align: center;
    color: #ffffff;
    margin-bottom: 12px;
}

.forecast {
    text-align: center;
    color: #C7C7C7;
    margin-bottom: 13px;
}

.forecast-conds {
    margin-bottom: 0;
}

.forecast-barometer {
    margin-top: 0;
}

.weather-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

/* Limit to 3 cards per row on desktop */
@media (min-width: 1024px) {
    .weather-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Desktop-only: row 2 order -> Pressure, UV Index, Rain Last 24h */
    #weather > .container > .weather-grid > .weather-card-link:nth-child(5) { order: 6; }
    #weather > .container > .weather-grid > .weather-card-link:nth-child(6) { order: 5; }
}

.weather-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(199, 199, 199, 0.15);
    border-left: 4px solid #7A93C7;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.weather-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.weather-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.weather-card h3 {
    color: #7A93C7;
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.forecast-card-grid {
    margin-top: 28px;
}

.forecast-weather-card {
    min-height: 240px;
    justify-content: center;
    gap: 10px;
}

.forecast-card-title {
    margin-bottom: 0;
}

.forecast-card-value {
    font-size: 2.2rem;
}

.sun-times-weather-card {
    padding-top: 16px;
    padding-bottom: 16px;
}

.sun-times-row {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: end;
}

.sun-time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.sun-time-value {
    font-size: 1.05rem;
    line-height: 1.2;
}

.sun-times-icon {
    max-height: 100px;
    width: auto;
    display: block;
}

.weather-value {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.temp-trend {
    font-size: 0.5em;
}

.temp-unit {
    font-size: 0.5em;
    vertical-align: super;
}

.weather-desc {
    color: #C7C7C7;
    font-size: 0.95rem;
}

/* Make full card clickable without link styles */
.weather-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.weather-card-link:focus .weather-card,
.weather-card-link:hover .weather-card {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.weather-details {
    margin-top: 28px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(199, 199, 199, 0.12);
    border-radius: 12px;
    padding: 16px 20px;
}

.sun-forecast-strip {
    width: 60%;
    max-width: 100%;
    margin: 28px auto 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 14px;
}

@supports (display: grid) {
    .sun-forecast-strip {
        display: grid;
        grid-template-columns: repeat(4, minmax(200px, 1fr));
        justify-content: center;
    }
}

.sun-forecast-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 0 1 200px;
    min-width: 200px;
}

/* Add extra spacing between col 1->2 and col 3->4 */
.sun-forecast-strip .sun-forecast-cell:nth-child(4n+2),
.sun-forecast-strip .sun-forecast-cell:nth-child(4n+4) {
    padding-left: 50px;
}

.sun-forecast-label {
    color: #C7C7C7;
    font-size: 2.2rem;
    font-weight: 600;
}

.sun-forecast-edge-label {
    color: #ffffff;
}

.sun-forecast-value {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 700;
}

.sun-forecast-icon {
    height: 150px;
    width: auto;
    display: block;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(199, 199, 199, 0.12);
}

.detail-row:last-child {
    border-bottom: none;
}

/* Equal width columns for lines 1-4 in records sections */
.detail-row.records-equal-cols {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.detail-row.records-equal-cols .detail-label {
    text-align: left;
}

.detail-row.records-equal-cols .detail-value:nth-child(2) {
    text-align: center;
}

.detail-row.records-equal-cols .detail-value:nth-child(3) {
    text-align: right;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 4px;
}

.record-date,
.record-time {
    display: inline-block;
}

/* Mobile: Stack DATE and TIME vertically in column 3 */
@media (max-width: 768px) {
    .detail-row.records-equal-cols .detail-value:nth-child(3) {
        flex-direction: column;
        align-items: flex-end;
        gap: 0;
    }
    
    .record-time {
        display: block;
    }
    
    /* Accordions: full width on mobile */
    .accordion {
        width: 100%;
        max-width: 100%;
        margin: 20px 0;
        padding: 0 10px;
    }
    
    .accordion-header {
        padding: 12px 15px;
        font-size: 1.2rem;
    }
    
    .accordion-content {
        padding: 0 15px;
    }
    
    .accordion-checkbox:checked + .accordion-header + .accordion-content {
        padding: 15px;
    }
    
    /* Ensure accordion content fits viewport */
    .accordion-content * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .accordion-content table,
    .accordion-content .holidays-table {
        width: 100%;
        max-width: 100%;
        font-size: 0.9rem;
    }
    
    /* Holidays table: responsive for mobile - keep table format but fit viewport */
    .holidays-table {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        font-size: 0.75rem !important;
        table-layout: fixed;
    }
    
    .holidays-table th,
    .holidays-table td {
        padding: 6px 4px !important;
        font-size: 0.75rem !important;
        min-width: auto !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .holidays-table th {
        font-size: 0.95rem !important;
        padding: 8px 4px !important;
    }
    
    .holidays-table th:nth-child(1),
    .holidays-table td:nth-child(1) {
        padding-left: 8px !important;
        padding-right: 8px !important;
        width: 35%;
    }
    
    .holidays-table th:nth-child(2),
    .holidays-table td:nth-child(2) {
        padding-left: 6px !important;
        padding-right: 6px !important;
        width: 25%;
    }
    
    .holidays-table th:nth-child(3),
    .holidays-table td:nth-child(3) {
        padding-left: 6px !important;
        padding-right: 8px !important;
        width: 40%;
    }
    
    /* Wrapper div for holidays table */
    .accordion-content > div[style*="text-align: center"] {
        width: 100%;
        padding: 0 5px;
        overflow-x: hidden;
    }
    
    .accordion-content iframe {
        max-width: 100%;
        height: auto;
    }
    
    /* Nested accordion iframes (archived calendars): full width on mobile */
    /* Target iframes specifically within nested accordions in Archived Calendars */
    #holidays-archived-accordion:checked + .accordion-header + .accordion-content .accordion-content iframe,
    .accordion-content .accordion .accordion-content iframe {
        width: 100% !important;
        max-width: 100% !important;
        height: 800px !important;
        min-height: 600px;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        display: block;
    }
    
    /* Ensure nested accordion content containers allow full width */
    #holidays-archived-accordion:checked + .accordion-header + .accordion-content .accordion-content > div,
    .accordion-content .accordion .accordion-content > div {
        width: 100% !important;
        max-width: 100% !important;
        padding: 5px 0 !important;
        margin: 0 !important;
        overflow-x: hidden;
        text-align: center;
    }
    
    /* Make nested accordions themselves full width */
    #holidays-archived-accordion:checked + .accordion-header + .accordion-content .accordion {
        width: 100% !important;
        max-width: 100% !important;
        margin: 15px 0;
        padding: 0;
    }
    
    /* All-Time accordion iframe: larger on mobile with proper scaling */
    #averages-alltime-accordion:checked + .accordion-header + .accordion-content .weather-details {
        padding: 10px 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }
    
    #averages-alltime-accordion:checked + .accordion-header + .accordion-content .weather-details > div {
        width: 100%;
        overflow-x: auto;
        text-align: left;
        padding: 0;
    }
    
    #averages-alltime-accordion:checked + .accordion-header + .accordion-content iframe {
        width: 100% !important;
        max-width: 100%;
        height: 800px;
        min-height: 600px;
        border: none;
        margin: 0;
        padding: 0;
        display: block;
    }
    
    .accordion-content .weather-details {
        padding: 12px 15px;
    }
}

/* High temperature values in red */
.detail-row.records-equal-cols .detail-value.high-temp {
    color: #FF0000;
}

/* Low temperature values in blue */
.detail-row.records-equal-cols .detail-value.low-temp {
    color: #00BFFF;
}

/* Wind values in red */
.detail-row.records-equal-cols .detail-value.wind-high {
    color: #FF0000;
}

/* Rain values in blue-green */
.detail-row.records-equal-cols .detail-value.rain-color {
    color: #7AB9C7;
}

/* Make detail rows fully clickable without link styling */
.detail-row a {
    display: flex;
    justify-content: space-between;
    width: 100%;
    color: inherit;
    text-decoration: none;
}

.detail-label {
    color: #C7C7C7;
    font-weight: 600;
}

.detail-value {
    color: #ffffff;
    font-weight: 700;
}

.detail-value.high-temp { color: #FF0000; }
.detail-value.low-temp { color: #00BFFF; }
.detail-value.dew-temp { color: #7AC788; }
.detail-value.feels-like { color: #49EC5A; }

/* Wind card: #WINDSPD_DISPLAY / #WINDPEAK15_DISPLAY tiers (alert-banner.js); host stays default for "kph" etc. */
.wind-value { /* inherits default color */ }
#WINDSPD_DISPLAY.mcc-wind-tier-0,
#WINDPEAK15_DISPLAY.mcc-wind-tier-0 { color: #ffffff; }
#WINDSPD_DISPLAY.mcc-wind-tier-1,
#WINDPEAK15_DISPLAY.mcc-wind-tier-1 { color: #90D5FF; }
#WINDSPD_DISPLAY.mcc-wind-tier-2,
#WINDPEAK15_DISPLAY.mcc-wind-tier-2 { color: #81c784; }
#WINDSPD_DISPLAY.mcc-wind-tier-3,
#WINDPEAK15_DISPLAY.mcc-wind-tier-3 { color: #ffd54f; }
#WINDSPD_DISPLAY.mcc-wind-tier-4,
#WINDPEAK15_DISPLAY.mcc-wind-tier-4 { color: #ffa726; }
#WINDSPD_DISPLAY.mcc-wind-tier-5,
#WINDPEAK15_DISPLAY.mcc-wind-tier-5 { color: #ff5252; }

/* Detail rows (e.g. daily peak) if template still emits level-* on .wind-value */
.wind-value.level-yellow { color: #ffd54f; }
.wind-value.level-orange { color: #ffa726; }
.wind-value.level-red { color: #ff5252; }

/* Rain rate on Rain Last 24h card: 2.6–7.6 mm/h orange, >7.6 red */
#rainInsRateDesc.mcc-rain-rate-orange { color: #ffa726; }
#rainInsRateDesc.mcc-rain-rate-red { color: #ff5252; }

/* Actions under weather details */
.weather-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 18px;
}

.weather-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(199, 199, 199, 0.12);
    color: #eaeaea;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    min-width: 140px;
}

.soft-border-btn {
    border: 1px solid rgba(199, 199, 199, 0.55);
}

/* Make Radar and MESOnet equal width */
.weather-actions .btn.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
}

.weather-actions .btn.btn-secondary.unlit,
.weather-actions .btn.btn-secondary[aria-disabled="true"] {
    background-color: rgba(120, 120, 120, 0.15);
    border-color: rgba(140, 140, 140, 0.75);
    color: #8f8f8f;
    box-shadow: none;
    cursor: not-allowed;
}

.weather-actions .btn.btn-secondary.unlit:hover,
.weather-actions .btn.btn-secondary.unlit:focus,
.weather-actions .btn.btn-secondary[aria-disabled="true"]:hover,
.weather-actions .btn.btn-secondary[aria-disabled="true"]:focus {
    background-color: rgba(120, 120, 120, 0.15);
    border-color: rgba(140, 140, 140, 0.75);
    color: #8f8f8f;
    transform: none;
    box-shadow: none;
}

.weather-action-btn:hover,
.weather-action-btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    background: rgba(255, 255, 255, 0.06);
}

/* Desktop/tablet action button layout */
@media (min-width: 601px) {
    .weather-actions {
        display: grid;
        grid-template-columns: repeat(7, auto);
        gap: 16px;
        justify-content: center;
    }

    .weather-actions a:nth-child(1) { /* Marine */ grid-column: 1; grid-row: 1; }
    .weather-actions a:nth-child(2) { /* Tides */ grid-column: 2; grid-row: 1; }
    .weather-actions a:nth-child(3) { /* Graphics */ grid-column: 3; grid-row: 1; }
    .weather-actions a:nth-child(5) { /* Radar */ grid-column: 4; grid-row: 1; }
    .weather-actions a:nth-child(6) { /* Stations */ grid-column: 5; grid-row: 1; }
    .weather-actions a:nth-child(7) { /* Almanac */ grid-column: 6; grid-row: 1; }
    .weather-actions a:nth-child(8) { /* Records */ grid-column: 7; grid-row: 1; }
    .weather-actions a:nth-child(4) { /* Forecast */ grid-column: 4; grid-row: 2; }

    /* Desktop-only: make Forecast visually match Radar (.btn.btn-secondary) */
    .weather-actions a:nth-child(4) {
        background-color: transparent;
        color: #ffffff;
        border: 2px solid #7A93C7;
        border-radius: 999px;
        padding: 12px 24px;
        min-width: 140px;
    }

    .weather-actions a:nth-child(4):hover,
    .weather-actions a:nth-child(4):focus {
        background-color: #7A93C7;
        color: #000000;
        box-shadow: none;
        transform: none;
    }

    /* index5-only action layout */
    .weather-actions.index5-actions {
        grid-template-columns: repeat(4, auto);
    }
    .weather-actions.index5-actions a:nth-child(1) { grid-column: 1; grid-row: 1; } /* Graphics */
    .weather-actions.index5-actions a:nth-child(2) { grid-column: 2; grid-row: 1; } /* Radar */
    .weather-actions.index5-actions a:nth-child(3) { grid-column: 3; grid-row: 1; } /* Camera */
    .weather-actions.index5-actions a:nth-child(4) { grid-column: 4; grid-row: 1; } /* Stations */
}

/* Almanac reports section */
.reports-section {
    margin-top: 100px;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 50px;
    align-items: start;
}

.reports-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reports-column-title {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 18px;
}

.reports-label {
    color: #C7C7C7;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.reports-roller {
    width: 90%;
    background: #000000;
    color: #7A93C7;
    border: 1px solid rgba(199, 199, 199, 0.55);
    border-radius: 12px;
    padding: 12px 14px;
    font-family: 'Comfortaa', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 1rem;
    margin-bottom: 16px;
}

.reports-roller option {
    background: #000000;
    color: #7A93C7;
}

.reports-roller:focus {
    outline: none;
    border-color: #7A93C7;
    box-shadow: 0 0 0 3px rgba(122, 147, 199, 0.25);
}

.report-submit-btn {
    min-width: 140px;
    border: 1px solid rgba(199, 199, 199, 0.55);
}

/* About */
.about {
    background: #000000;
    padding: 64px 0;
}

.about h2 {
    text-align: center;
    margin-bottom: 16px;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: #C7C7C7;
}

/* About section cheatline */
.about-cheatline {
    border: 0;
    height: 0.5px;
    background: rgba(199, 199, 199, 0.1);
    width: 140px;
    margin: 15px auto;
}

/* Contact */
.contact {
    background: #0b0b0b;
    padding: 64px 0;
}

.contact h2 {
    text-align: center;
    margin-bottom: 28px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    justify-items: center;
}

.contact-info h3 {
    color: #7A93C7;
    margin-bottom: 8px;
}

.contact-info p {
    color: #C7C7C7;
    margin-bottom: 16px;
}

.contact-info {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.contact-details {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(199, 199, 199, 0.12);
    border-radius: 12px;
    padding: 16px 20px;
    margin: 0 auto;
    width: 100%;
    max-width: 640px;
}

.contact-item {
    padding: 10px 0;
    border-bottom: 1px solid rgba(199, 199, 199, 0.12);
    display: grid;
    grid-template-columns: 140px 1fr;
    column-gap: 16px;
    align-items: center;
}

.contact-item:last-child {
    border-bottom: none;
}

/* Center single-line contact blocks (e.g., email-only on index). */
.contact-details .contact-item:only-child {
    display: block;
    text-align: center;
}

/* Normalize contact links (email/phone) to match body text */
.contact-details a {
    color: inherit;
    text-decoration: none;
}

.contact-details a:hover,
.contact-details a:focus {
    color: inherit;
    text-decoration: none;
}

.contact-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(199, 199, 199, 0.12);
    border-radius: 12px;
    padding: 16px 20px;
}

.form-group {
    margin-bottom: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    background: #0b0b0b;
    border: 1px solid rgba(199, 199, 199, 0.2);
    color: #ffffff;
    font-family: 'Comfortaa', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #8f8f8f;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #7A93C7;
    box-shadow: 0 0 0 3px rgba(122, 147, 199, 0.25);
}

/* Footer */
.footer {
    background: #000000;
    border-top: 1px solid rgba(199, 199, 199, 0.2);
    padding: 36px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 12px;
}

.footer-section h4 {
    color: #ffffff;
    margin-bottom: 8px;
}

.footer-section p,
.footer-section a {
    color: #C7C7C7;
    text-decoration: none;
}

.footer-section ul { list-style: none; }
.footer-section li { margin: 6px 0; }

.footer-section a:hover { color: #7A93C7; }

/* Station link hover popup in footer */
.station-link-hover {
    position: relative;
    display: inline-block;
}

.station-link-label {
    cursor: default;
}

.station-link-popup {
    position: absolute;
    left: 0;
    bottom: calc(100% + 2px);
    display: none;
    flex-direction: column;
    gap: 6px;
    min-width: 240px;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.92);
    border: 1px solid rgba(199, 199, 199, 0.25);
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease;
    z-index: 50;
}

.station-link-popup::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 8px;
}

.station-link-popup a,
.footer-section .station-link-popup a {
    color: #C7C7C7;
    text-decoration: none;
    white-space: nowrap;
}

.station-link-popup a:hover,
.station-link-popup a:focus,
.footer-section .station-link-popup a:hover,
.footer-section .station-link-popup a:focus {
    color: #7A93C7;
    text-decoration: none;
}

.station-link-hover:hover .station-link-popup,
.station-link-hover:focus-within .station-link-popup {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.footer-logo {
    text-align: center;
    margin: 10px 0 12px;
}

.footer-logo-image {
    height: 68px;
    width: auto;
}

.mccbrand-footer {
    display: block;
    margin: 8px auto 0;
}

.footer-bottom {
    text-align: center;
    color: #8f8f8f;
    border-top: 1px solid rgba(199, 199, 199, 0.12);
    padding-top: 12px;
}

/* Mobile-only footer logo above copyright */
.footer-logo-mobile { display: none; }

/* Show Canada flag only on mobile in footer station line */
.mobile-flag { display: none; }

/* Responsive */
@media (max-width: 900px) {
    .contact-content { grid-template-columns: 1fr; }
    .reports-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .container { padding: 0 16px; }
    .hero-content h2 { font-size: 1.9rem; }
    .header-content { flex-direction: column; align-items: center; }
    .logo { justify-content: center; }
    /* Add space below city line on mobile */
    .logo-text .tagline:last-child { display: inline-block; padding-bottom: 10px; }
    /* Mobile header nav: links on left, Menu button on right */
    .main-nav { width: 100%; flex-direction: row; align-items: center; justify-content: space-between; }
    .brand-mark { margin-left: 25px; }
    .main-nav ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px 12px;
        justify-items: start; /* left align items */
        margin-top: 0; /* align vertically with Menu button */
    }
    .main-nav ul li a { text-align: left; }
    .main-nav .menu-button { order: 2; margin-left: 12px; margin-bottom: 0; align-self: center; }
    .main-nav ul { order: 1; flex: 1; }

    /* Break before Weather word on small screens */
    .break-on-mobile { display: block; }
    /* Extra wrapping to avoid overflow */
    .footer-section p { overflow-wrap: anywhere; }
    .footer-logo-mobile { display: block; text-align: center; margin: 10px 0 12px; }
    .mccbrand-footer { display: none; }
    .mobile-flag { display: inline; }

    /* Stack action buttons for eight-button layout */
    .weather-actions {
        display: grid;
        grid-template-columns: repeat(3, auto);
        gap: 6px;
        justify-content: center;
        width: 100%;
        max-width: 100%;
    }
    .weather-actions a {
        justify-self: center;
        min-width: 126px;
        width: auto;
        box-sizing: border-box;
    }
    .weather-actions a:nth-child(3) { /* Graphics */ grid-column: 1; grid-row: 1; }
    .weather-actions a:nth-child(5) { /* Radar */ grid-column: 2; grid-row: 1; }
    .weather-actions a:nth-child(6) { /* MESOnet */ grid-column: 3; grid-row: 1; }
    .weather-actions a:nth-child(4) { /* Forecast */ grid-column: 1; grid-row: 2; }
    .weather-actions a:nth-child(1) { /* Marine */ grid-column: 2; grid-row: 2; }
    .weather-actions a:nth-child(7) { /* Almanac */ grid-column: 3; grid-row: 2; }
    .weather-actions a:nth-child(2) { /* Tides */ grid-column: 2; grid-row: 3; }
    .weather-actions a:nth-child(8) { /* Records */ grid-column: 3; grid-row: 3; }

    /* index5 mobile action placement */
    .weather-actions.index5-actions a:nth-child(1) { grid-column: 1; grid-row: 1; } /* Graphics */
    .weather-actions.index5-actions a:nth-child(2) { grid-column: 2; grid-row: 1; } /* Radar */
    .weather-actions.index5-actions a:nth-child(3) { grid-column: 3; grid-row: 1; } /* Camera */
    .weather-actions.index5-actions a:nth-child(4) { grid-column: 2; grid-row: 2; } /* Stations */

    .sun-forecast-strip {
        width: 100%;
        min-width: 0;
        grid-template-columns: repeat(2, minmax(200px, 1fr));
    }

    /* Mobile layout: 2 columns x 4 rows with cells 2 and 3 on top */
    .sun-forecast-strip .sun-forecast-cell {
        min-width: 0;
        padding-left: 0;
    }

    .sun-forecast-strip .sun-forecast-cell:nth-child(2) { grid-column: 1; grid-row: 1; }
    .sun-forecast-strip .sun-forecast-cell:nth-child(3) { grid-column: 2; grid-row: 1; }
    .sun-forecast-strip .sun-forecast-cell:nth-child(6) { grid-column: 1; grid-row: 2; }
    .sun-forecast-strip .sun-forecast-cell:nth-child(7) { grid-column: 2; grid-row: 2; }
    .sun-forecast-strip .sun-forecast-cell:nth-child(1) { grid-column: 1; grid-row: 3; margin-top: 50px; }
    .sun-forecast-strip .sun-forecast-cell:nth-child(4) { grid-column: 2; grid-row: 3; margin-top: 50px; }
    .sun-forecast-strip .sun-forecast-cell:nth-child(5) { grid-column: 1; grid-row: 4; }
    .sun-forecast-strip .sun-forecast-cell:nth-child(8) { grid-column: 2; grid-row: 4; }
    .sun-forecast-label { font-size: 1.5rem; }
    .sun-forecast-edge-label { font-size: 1.5rem; }
    .sun-forecast-icon { height: 100px; }

    /* Almanac reports: stack Weekly above Monthly on mobile */
    .reports-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        margin-top: 20px;
    }

    .reports-column {
        width: 100%;
    }

    .reports-roller {
        width: 90vw;
        max-width: 90%;
        font-size: 0.9rem;
    }

    /* Mobile order for forecast cards below main weather grid:
       sunrise/sunset, 6h, then 12h */
    .forecast-card-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .forecast-card-grid > .weather-card-link:nth-child(1) { order: 2; }
    .forecast-card-grid > .weather-card-link:nth-child(2) { order: 1; }
    .forecast-card-grid > .weather-card-link:nth-child(3) { order: 3; }
}

/* TEMPBAR / HUMBAR: hide .4-scale variants by default (shown in mobile landscape below) */
.tempbar-ml,
.humbar-ml {
    display: none;
}

/*
 * Landscape on viewports up to 1023px wide: unified 3-column layout.
 * index.html — row 1: Temp, Hum, Wind; row 2: Pressure, UV, Rain (same as desktop ≥1024px).
 * fire5.html (.fire-weather-section) — row 1: Temp, Fire danger, Wind; row 2: Humidity, FFMC, Rain 24h.
 * Forecast row — three columns in document order: 6h, sun times, 12h (overrides portrait flex reorder).
 */
@media (orientation: landscape) and (max-width: 1023px) {
    #weather:not(.fire-weather-section) > .container > .weather-grid:not(.forecast-card-grid) {
        grid-template-columns: repeat(3, 1fr);
    }

    #weather:not(.fire-weather-section) > .container > .weather-grid:not(.forecast-card-grid) > .weather-card-link:nth-child(5) { order: 6; }
    #weather:not(.fire-weather-section) > .container > .weather-grid:not(.forecast-card-grid) > .weather-card-link:nth-child(6) { order: 5; }

    #weather.fire-weather-section > .container > .weather-grid:not(.forecast-card-grid) {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Override fire5.html fire-order-* (max-width: 768px) so row 2 is Humidity, FFMC, Rain Last 24h */
    #weather.fire-weather-section > .container > .weather-grid:not(.forecast-card-grid) > .weather-card-link { order: unset; }
    #weather.fire-weather-section > .container > .weather-grid:not(.forecast-card-grid) > .weather-card-link:nth-child(5) { order: 6; }
    #weather.fire-weather-section > .container > .weather-grid:not(.forecast-card-grid) > .weather-card-link:nth-child(6) { order: 5; }

    #weather > .container > .forecast-card-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    #weather > .container > .forecast-card-grid > .weather-card-link:nth-child(1),
    #weather > .container > .forecast-card-grid > .weather-card-link:nth-child(2),
    #weather > .container > .forecast-card-grid > .weather-card-link:nth-child(3) {
        order: 0;
    }

    /* Slimmer TEMPBAR / HUMBAR scale (.4) — index + fire */
    .tempbar-ml,
    .humbar-ml {
        display: inline;
    }

    .tempbar-default,
    .humbar-default {
        display: none !important;
    }

    /* Temperature trend: same font size as wind "Direction" line (.weather-desc) */
    #weather > .container > .weather-grid:not(.forecast-card-grid) > .weather-card-link:first-child .temp-trend {
        font-size: 0.95rem;
    }
}

/* Blur-to-reveal phone */
.phone-blur {
    display: inline-block;
    filter: blur(6px);
    transition: filter 0.2s ease;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 6px;
    background: rgba(122, 147, 199, 0.08);
    user-select: none;
}

.phone-blur:hover {
    background: rgba(122, 147, 199, 0.15);
}

.phone-blur.revealed {
    filter: none;
    background: transparent;
    cursor: default;
}

/* MESOnet modal */
.mesonet-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.mesonet-modal.open { display: flex; }
.mesonet-modal:target { display: flex; }

.mesonet-modal-content {
    background: #0b0b0b;
    border: 1px solid rgba(199,199,199,0.2);
    border-radius: 10px;
    max-width: 92vw;
    max-height: 86vh;
    width: 100%;
    padding: 12px 12px 12px 12px;
    position: relative;
}

.mesonet-close {
    position: absolute;
    top: 6px;
    right: 8px;
    background: rgba(0,0,0,0.6);
    color: #eaeaea;
    border: 1px solid rgba(199,199,199,0.25);
    border-radius: 32px;
    width: 56px;
    height: 56px;
    line-height: 48px;
    font-size: 40px;
    text-align: center;
    cursor: pointer;
    z-index: 99; /* ensure close button is above image and overlays */
}

.zoomable-container {
    position: relative;
    width: 100%;
    height: calc(86vh - 24px);
    overflow: auto; /* allow scroll when zoomed */
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoomable-image {
    display: block;
    transform-origin: center center;
    user-select: none;
    -webkit-user-drag: none;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; /* fit image within container without scrolling */
}

/* Weather chart image modal */
.image-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2100;
}

.image-modal.open { display: flex; }

.image-modal-content {
    position: relative;
    width: min(96vw, 1800px);
    height: min(92vh, 1100px);
    padding: 12px;
    border-radius: 10px;
    background: #0b0b0b;
    border: 1px solid rgba(199, 199, 199, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal-charts {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    max-height: 100%;
    overflow: auto;
}

.image-modal-charts img {
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.image-modal-charts img + img {
    padding-top: 5px;
}

.image-modal-close {
    position: absolute;
    top: 6px;
    right: 8px;
    background: rgba(0, 0, 0, 0.6);
    color: #eaeaea;
    border: 1px solid rgba(199, 199, 199, 0.25);
    border-radius: 32px;
    width: 56px;
    height: 56px;
    line-height: 48px;
    font-size: 40px;
    text-align: center;
    cursor: pointer;
    z-index: 2;
}

/* MESOnet menu overlay - positioned at bottom left of image */
.mesonet-menu-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(199, 199, 199, 0.3);
    border-radius: 8px;
    padding: 12px 16px;
    z-index: 10;
    width: auto;
    min-width: 400px;
    text-align: left;
}

.mesonet-menu-header {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.08675rem; /* Reduced by 10% from 1.2075rem */
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
}

.mesonet-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mesonet-menu-list li {
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mesonet-menu-list li:last-child {
    border-bottom: none;
}

.mesonet-menu-item {
    color: #eaeaea;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.08675rem; /* Reduced by 10% from 1.2075rem */
    display: block;
    text-align: left;
    transition: color 0.2s ease;
    white-space: nowrap;
}

/* Preserve hover color */
.mesonet-menu-item.hoverable:hover { color: #7A93C7; }

.mesonet-menu-item.disabled {
    color: #eaeaea;
    cursor: default;
}

.mesonet-menu-item:not(.disabled):hover,
.mesonet-menu-item.hoverable:hover {
    color: #7A93C7;
}

/* Submenu for "Other MCC Weather Stations" */
.mesonet-menu-parent {
    position: relative;
}

.mesonet-submenu {
    position: absolute;
    left: 100%;
    bottom: 0;
    margin-left: 8px;
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(199, 199, 199, 0.3);
    border-radius: 8px;
    padding: 12px 16px;
    list-style: none;
    min-width: 400px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 20;
}

.mesonet-menu-parent:hover .mesonet-submenu {
    opacity: 1;
    visibility: visible;
}

.mesonet-submenu li {
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mesonet-submenu li:last-child {
    border-bottom: none;
}

.mesonet-submenu-header {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.08675rem;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    list-style: none;
}

.mesonet-menu-footer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

/* Tides modal content */
.tides-modal-content {
    max-width: 94vw;
    width: min(1500px, 94vw);
}

.tides-modal-body {
    width: 100%;
    height: calc(86vh - 24px);
    overflow: auto;
    background: #000;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.tides-note {
    max-width: 95%;
    margin: 0;
}

.tides-frame {
    width: 85%;
    height: 680px;
    border: none;
    display: block;
    margin: 6px auto 0;
}

/* Camera modal */
.camera-modal-content {
    max-width: 92vw;
    width: min(1300px, 92vw);
}

.camera-modal-body {
    width: 100%;
    height: calc(86vh - 24px);
    overflow: auto;
    background: #000;
    padding: 20px;
}

.camera-modal-label {
    color: #ffffff;
    font-weight: 700;
    text-align: center;
}

.camera-modal-label-east {
    padding-top: 20px;
}

.camera-frame {
    width: 100%;
    height: auto;
    aspect-ratio: 480 / 394;
    border: none;
    display: block;
}

/* (removed map-image styles) */

/* (removed map-wrapper styles) */

/* (removed hotspot-link styles) */

/* (removed hotspots container styles) */

/* (removed hotspot hover styles) */

/* Desktop-only larger Radar iframe */
@media (min-width: 1024px) {
    .radar-frame {
        width: 1300px;
        height: 750px;
    }
}

/* Records section headers */
.records-section-header {
    text-align: center;
    margin-top: 100px;
    margin-bottom: 25px;
    font-size: 24px;
    font-weight: bold;
    color: #C7C7C7;
}

.records-section-header-2 {
    margin-top: 100px;
    margin-bottom: 25px;
}

.records-section-header-3 {
    margin-top: 100px;
    margin-bottom: 25px;
}

.records-section-header-4 {
    margin-top: 100px;
    margin-bottom: 25px;
}

/* Accordion styles */
.accordion {
    margin: 20px auto;
    width: calc(60% + 225px);
    max-width: 100%;
    box-sizing: border-box;
}

.accordion-checkbox {
    display: none;
}

.accordion-header {
    display: block;
    padding: 15px 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(199, 199, 199, 0.15);
    border-left: 4px solid #7A93C7;
    border-radius: 6px;
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-align: center;
}

.accordion-header:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.accordion-checkbox:checked + .accordion-header + .accordion-content {
    max-height: 2500px;
    padding: 20px;
    overflow: visible;
}

/* All-Time accordion specific height */
#averages-alltime-accordion:checked + .accordion-header + .accordion-content {
    max-height: 890px;
}

.accordion-checkbox:checked + .accordion-header {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: none;
}

/* Statutory Holidays table styles */
.holidays-table {
    width: auto;
    border-collapse: collapse;
    margin-left: 20px;
    border: none;
    display: table;
}

/* Center tables in Statutory Holidays accordions */
.accordion-content > div[style*="text-align: center"] {
    display: flex;
    justify-content: center;
    width: 100%;
}

.holidays-table th,
.holidays-table td {
    border: none;
    padding: 10px;
    text-align: center;
    color: #eaeaea;
    font-size: 1rem;
}

.holidays-table th {
    font-size: 1.25rem; /* 25% larger than base text */
    font-weight: bold;
    color: #ffffff;
}

.holidays-table td {
    font-size: 1rem;
}

/* Increase column 1 width */
.holidays-table th:nth-child(1),
.holidays-table td:nth-child(1) {
    padding-left: 23.5px;
    padding-right: 23.5px;
    min-width: 137px;
}

/* Increase center column width */
.holidays-table th:nth-child(2),
.holidays-table td:nth-child(2) {
    padding-left: 25px;
    padding-right: 25px;
    min-width: 150px;
}

/* ANIMOD bottom banner — hidden site-wide */
.fire-bottom-banner {
    display: none !important;
}

body:has(.fire-bottom-banner) {
    padding-bottom: 0 !important;
}

/* Footer: non-MESOnet — Mesoscale line keeps spacing formerly used by MESOnet network line */
.footer-section .footer-mcc-tagline-last {
    padding-bottom: 1.6em;
}

/* index.html: no UV sensor — blank card desktop + mobile landscape; hidden mobile portrait */
.weather-card--uv-blank {
    pointer-events: none;
}

@media (max-width: 1023px) and (orientation: portrait) {
    #weather > .container > .weather-grid:not(.forecast-card-grid) > .weather-card-link--uv-blank {
        display: none !important;
    }
}

@media (orientation: landscape) and (max-width: 1023px) {
    #weather > .container > .weather-grid:not(.forecast-card-grid) > .weather-card-link--uv-blank {
        display: block;
    }
}

