/* ═══════════════════════════════════════════════════
   НетМкдМетео — pages.css
   Стилови за: topbar навигација, внатрешни страници,
   footer, hero секции, картички, UV калкулатор
═══════════════════════════════════════════════════ */

/* ══════════════════════════════════════
   TOPBAR — надграден со навигација
══════════════════════════════════════ */
#site-topbar {
    background: linear-gradient(135deg, #0D2E4E 0%, #1565C0 60%, #1976D2 100%);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 16px rgba(0,0,0,0.32);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 58px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 16px;
}

/* Лого */
.topbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.topbar-emoji  { font-size: 26px; filter: drop-shadow(0 1px 3px rgba(0,0,0,.3)); }
.topbar-titles { display: flex; flex-direction: column; }
.topbar-title  { font-size: 15px; font-weight: 800; color: #fff; line-height: 1.2; }
.topbar-sub    { font-size: 9px; color: #29B6F6; letter-spacing: .08em; font-weight: 600; }

/* Навигација — десктоп */
.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,.72);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 8px;
    border-bottom: 2px solid transparent;
    transition: color .18s ease, background .18s ease, border-color .18s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,.1);
}

.nav-link.active {
    color: #fff;
    border-bottom-color: #29B6F6;
    background: rgba(41,182,246,.12);
}

/* Десна страна */
.topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

#topbar-weather {
    font-size: 12px;
    font-weight: 800;
    color: #0D2E4E;
    background: #FFB300;
    border-radius: 24px;
    padding: 6px 13px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
    transition: background .2s ease;
}

.topbar-map-btn {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 20px;
    padding: 5px 13px;
    text-decoration: none;
    transition: background .18s ease;
    white-space: nowrap;
}
.topbar-map-btn:hover { background: rgba(255,255,255,.25); }

/* Хамбургер */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 8px;
    cursor: pointer;
    padding: 0 8px;
}

.hamburger span {
    display: block;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .22s ease, opacity .18s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Мобилен мени */
.mobile-nav {
    background: #0D2E4E;
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 8px 0;
    display: flex;
    flex-direction: column;
}

.mobile-nav[hidden] { display: none; }

.mobile-nav-link {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,.78);
    text-decoration: none;
    padding: 12px 20px;
    border-left: 3px solid transparent;
    transition: color .15s ease, border-color .15s ease, background .15s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: #fff;
    border-left-color: #29B6F6;
    background: rgba(255,255,255,.07);
}

/* ══════════════════════════════════════
   BODY ПОЗАДИНА
══════════════════════════════════════ */
body {
    background-color: #EEF3F8;
    background-image: url('/assets/img/pozadina.png');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
}

/* Overlay врз позадината за читливост */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(10, 25, 47, 0.55);
    z-index: 0;
    pointer-events: none;
}

/* Сè над overlay-от */
#site-topbar,
main,
#site-footer {
    position: relative;
    z-index: 1;
}

#site-topbar { z-index: 100; }

/* Modal — НЕ се ставаат во горниот блок, добиваат поинаков третман */
#meteo-modal-overlay,
#meteo-modal {
    position: fixed;
    z-index: 9000;
}

#meteo-modal-overlay { z-index: 9000; }
#meteo-modal         { z-index: 9001; }

/* ══════════════════════════════════════
   СТРАНИЦА — заеднички layout
══════════════════════════════════════ */
.page-wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 32px 16px 48px;
}

/* ══════════════════════════════════════
   HERO СЕКЦИЈА
══════════════════════════════════════ */
.page-hero {
    text-align: center;
    padding: 48px 20px 40px;
    max-width: 960px;
    margin: 0 auto;
}

.page-hero-icon {
    font-size: 56px;
    line-height: 1;
    margin-bottom: 16px;
    filter: drop-shadow(0 3px 10px rgba(0,0,0,.4));
}

.page-hero-title {
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    text-shadow: 0 2px 12px rgba(0,0,0,.5);
    letter-spacing: -.02em;
    line-height: 1.2;
}

.page-hero-sub {
    font-size: 15px;
    color: rgba(255,255,255,.78);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.65;
}

.page-hero-source {
    display: inline-block;
    margin-top: 16px;
    font-size: 11px;
    color: rgba(255,255,255,.5);
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 20px;
    padding: 4px 14px;
    letter-spacing: .04em;
}

/* ══════════════════════════════════════
   СЕКЦИИ И КАРТИЧКИ
══════════════════════════════════════ */
.section-title {
    font-size: 13px;
    font-weight: 800;
    color: rgba(255,255,255,.45);
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding-left: 2px;
}

/* Стаклена картичка */
.glass-card {
    background: rgba(11, 31, 53, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 16px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.glass-card:hover {
    border-color: rgba(41,182,246,.35);
    box-shadow: 0 4px 32px rgba(0,0,0,.25);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.card-icon {
    font-size: 32px;
    line-height: 1;
    flex-shrink: 0;
}

.card-title {
    font-size: 19px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.card-subtitle {
    font-size: 11px;
    color: rgba(255,255,255,.45);
    margin-top: 2px;
    letter-spacing: .04em;
}

.card-body {
    font-size: 13.5px;
    color: rgba(255,255,255,.78);
    line-height: 1.7;
}

.card-body p { margin-bottom: 10px; }
.card-body p:last-child { margin-bottom: 0; }

.card-source {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 14px;
    font-size: 11px;
    color: #29B6F6;
    text-decoration: none;
    background: rgba(41,182,246,.1);
    border: 1px solid rgba(41,182,246,.25);
    border-radius: 20px;
    padding: 4px 12px;
    transition: background .18s ease;
}
.card-source:hover { background: rgba(41,182,246,.2); }

/* Grid за картички */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 680px) {
    .cards-grid-2 { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════
   СКАЛИ — УВ, Бофорт, AQI итн.
══════════════════════════════════════ */
.scale-wrap {
    margin: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.scale-row {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.05);
}

.scale-num {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    text-align: center;
}

.scale-label { font-size: 12px; color: rgba(255,255,255,.82); font-weight: 600; }
.scale-tip   { font-size: 10.5px; color: rgba(255,255,255,.45); }
.scale-badge {
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    border-radius: 20px;
    padding: 2px 9px;
    white-space: nowrap;
}

/* Хоризонтална скала за UV */
.uv-bar {
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    height: 14px;
    margin: 10px 0 6px;
}

.uv-bar-seg {
    flex: 1;
    position: relative;
}

.uv-labels {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    color: rgba(255,255,255,.45);
    font-weight: 700;
    padding: 0 2px;
}

/* ══════════════════════════════════════
   UV КАЛКУЛАТОР
══════════════════════════════════════ */
.uv-calc {
    background: rgba(255,183,0,.08);
    border: 1px solid rgba(255,183,0,.25);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
}

.uv-calc-title {
    font-size: 16px;
    font-weight: 800;
    color: #FFB300;
    margin-bottom: 18px;
}

.uv-calc-group {
    margin-bottom: 18px;
}

.uv-calc-label {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,.55);
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

/* Тип на кожа — копчиња */
.skin-types {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.skin-btn {
    padding: 8px 14px;
    border-radius: 10px;
    border: 1.5px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.07);
    color: rgba(255,255,255,.75);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Nunito', Arial, sans-serif;
    transition: all .18s ease;
    text-align: center;
    min-width: 70px;
}

.skin-btn:hover  { border-color: #FFB300; color: #FFB300; }
.skin-btn.active { border-color: #FFB300; background: rgba(255,183,0,.18); color: #FFB300; }

.skin-btn small { display: block; font-size: 9px; font-weight: 400; opacity: .7; margin-top: 2px; }

/* УВ слајдер */
.uv-slider-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.uv-slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(90deg, #4CAF50, #FFB300, #EF5350);
    outline: none;
    cursor: pointer;
}

.uv-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #FFB300;
    box-shadow: 0 2px 6px rgba(0,0,0,.3);
    cursor: pointer;
}

.uv-slider::-moz-range-thumb {
    width: 20px; height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #FFB300;
    box-shadow: 0 2px 6px rgba(0,0,0,.3);
    cursor: pointer;
}

.uv-val-display {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    min-width: 32px;
    text-align: center;
}

/* Резултат на калкулаторот */
.uv-result {
    background: rgba(11, 31, 53, 0.6);
    border-radius: 12px;
    padding: 16px;
    margin-top: 6px;
    border: 1px solid rgba(255,255,255,.1);
}

.uv-result-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
    font-size: 13px;
}
.uv-result-row:last-child { border-bottom: none; }
.uv-result-label { color: rgba(255,255,255,.6); font-weight: 600; }
.uv-result-val   { color: #fff; font-weight: 800; }
.uv-result-val.danger { color: #EF5350; }
.uv-result-val.warn   { color: #FFB300; }
.uv-result-val.safe   { color: #4CAF50; }

/* ══════════════════════════════════════
   ТАБЕЛА — месечни UV просеци
══════════════════════════════════════ */
.data-table-wrap { overflow-x: auto; margin: 12px 0; }

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
}

.data-table th {
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.65);
    font-weight: 700;
    font-size: 10px;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 8px 10px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.data-table td {
    padding: 9px 10px;
    text-align: center;
    color: rgba(255,255,255,.82);
    border-bottom: 1px solid rgba(255,255,255,.06);
    font-weight: 600;
}

.data-table tr:hover td { background: rgba(255,255,255,.04); }

.data-table .city-col { text-align: left; font-weight: 800; color: #fff; }

/* UV вредност во боја */
.uv-cell { border-radius: 6px; padding: 3px 8px; font-weight: 800; font-size: 12px; }

/* ══════════════════════════════════════
   БОФОРТ СКАЛА — специјална табела
══════════════════════════════════════ */
.beaufort-row {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    align-items: start;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.07);
    background: rgba(255,255,255,.04);
    margin-bottom: 6px;
    transition: background .15s ease;
}
.beaufort-row:hover { background: rgba(255,255,255,.08); }

.beaufort-num {
    width: 32px; height: 32px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 800; color: #fff;
    flex-shrink: 0;
}

.beaufort-info { min-width: 0; }
.beaufort-name { font-size: 13px; font-weight: 700; color: #fff; }
.beaufort-desc { font-size: 11px; color: rgba(255,255,255,.52); margin-top: 2px; line-height: 1.4; }
.beaufort-speed { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.55); white-space: nowrap; }

/* ══════════════════════════════════════
   ИЗВОРИ КАРТИЧКИ — За нас
══════════════════════════════════════ */
.sources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin: 16px 0;
}

.source-card {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    padding: 18px 16px;
    text-align: center;
    transition: border-color .18s ease, background .18s ease;
    text-decoration: none;
    display: block;
}

.source-card:hover {
    border-color: rgba(41,182,246,.4);
    background: rgba(41,182,246,.08);
}

.source-icon  { font-size: 32px; margin-bottom: 8px; }
.source-name  { font-size: 14px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.source-desc  { font-size: 11px; color: rgba(255,255,255,.5); line-height: 1.5; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
#site-footer {
    background: rgba(5, 15, 30, 0.85);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,.1);
    position: relative;
    z-index: 1;
    isolation: isolate;
}

.footer-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 28px 20px;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 14px 24px;
    align-items: start;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    grid-row: 1 / 3;
}

.footer-emoji { font-size: 30px; }
.footer-title { font-size: 14px; font-weight: 800; color: #fff; }
.footer-sub   { font-size: 9px; color: #29B6F6; letter-spacing: .08em; }

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    align-items: center;
}

.footer-nav a {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,.6);
    text-decoration: none;
    transition: color .15s ease;
}
.footer-nav a:hover { color: #29B6F6; }

.footer-sources {
    font-size: 11.5px;
    color: rgba(255,255,255,.42);
}
.footer-sources a {
    color: #29B6F6;
    text-decoration: none;
    font-weight: 600;
}
.footer-sources a:hover { text-decoration: underline; }

.footer-copy {
    grid-column: 1 / -1;
    font-size: 11px;
    color: rgba(255,255,255,.3);
    border-top: 1px solid rgba(255,255,255,.07);
    padding-top: 12px;
    margin-top: 4px;
}
.footer-copy a { color: rgba(255,255,255,.5); text-decoration: none; }


/* Футерот секогаш на дното */
.page-prebaruvanje main {
    min-height: calc(100vh - 58px);
}

/* Модалот над футерот */
body.modal-open #site-footer {
    z-index: 0;
}

/* ══════════════════════════════════════
   КАРТА — надграден style за index.php
══════════════════════════════════════ */

/* Лента „Денес во Македонија" */
#mk-today-bar {
    background: rgba(11, 31, 53, 0.75);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,.1);
    padding: 8px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,.8);
    position: relative;
    z-index: 1;
    min-height: 38px;
}

#mk-today-bar .bar-item { display: flex; align-items: center; gap: 5px; }
#mk-today-bar .bar-sep  { color: rgba(255,255,255,.2); }

/* Hint за корисникот */
#map-hint {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #faff28;
    padding: 8px;
    letter-spacing: .02em;
    transition: opacity .5s ease;
}
#map-hint.hidden { opacity: 0; pointer-events: none; }

/* Маркери — обоени кругчиња (без икони) */
.meteo-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    z-index: 10;
    transition: transform .18s ease;
    width: 36px;
    overflow: visible;
}

.meteo-marker:hover  { transform: translate(-50%, -50%) scale(1.22); z-index: 30; }
.meteo-marker.active { transform: translate(-50%, -50%) scale(1.18); z-index: 40; }

.marker-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--marker-color, #607D8B);
    border: 2.5px solid rgba(255,255,255,.9);
    box-shadow: 0 2px 10px rgba(0,0,0,.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    font-variant-numeric: tabular-nums;
    transition: box-shadow .18s ease, transform .18s ease;
}

.meteo-marker.active .marker-dot {
    box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--marker-color, #607D8B), 0 4px 14px rgba(0,0,0,.4);
}

/* Анимација при вчитување */
.marker-dot--loading {
    background: rgba(84,110,122,.7);
    font-size: 10px;
    color: rgba(255,255,255,.6);
}

@keyframes markerPulse {
    0%,100% { box-shadow: 0 2px 10px rgba(0,0,0,.35); }
    50%      { box-shadow: 0 2px 10px rgba(0,0,0,.35), 0 0 0 6px rgba(255,255,255,.15); }
}

.marker-dot--loading { animation: markerPulse 1.5s ease infinite; }

.marker-name {
    font-size: 9px;
    font-weight: 700;
    color: #fff;
    margin-top: 3px;
    text-shadow: 0 1px 4px rgba(0,0,0,.8), 0 -1px 4px rgba(0,0,0,.8),
                 1px 0 4px rgba(0,0,0,.8), -1px 0 4px rgba(0,0,0,.8);
    white-space: nowrap;
    pointer-events: none;
    overflow: visible;
}

/* Температурни анимации */
@keyframes tempShake  { 0%,100%{transform:translate(-50%,-50%) rotate(0)} 25%{transform:translate(-50%,-50%) rotate(-4deg)} 75%{transform:translate(-50%,-50%) rotate(4deg)} }
@keyframes tempWobble { 0%,100%{transform:translate(-50%,-50%) translateY(0)} 50%{transform:translate(-50%,-50%) translateY(-4px)} }

.meteo-marker.anim-shake  { animation: tempShake  1.4s ease-in-out infinite; }
.meteo-marker.anim-wobble { animation: tempWobble 2s ease-in-out infinite; }

/* Легенда со описи */
#meteo-legend {
    background: rgba(11,31,53,.75);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 8px 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    max-width: 960px;
    margin: 0 auto;
    justify-content: center;
}

.leg-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: rgba(255,255,255,.72);
    font-weight: 600;
}

.leg-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.5);
    box-shadow: 0 1px 3px rgba(0,0,0,.3);
    flex-shrink: 0;
}

.leg-desc {
    color: rgba(255,255,255,.42);
    font-weight: 400;
}

/* ══════════════════════════════════════
   CSS GRID OVERLAY за картата
══════════════════════════════════════ */
#meteo-map-wrap {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    max-width: 960px;
    margin: 0 auto;
    padding: 12px 12px 0;
    position: relative;
    background: none;
}

#meteo-map-img {
    grid-area: 1 / 1;
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0,0,0,.55), 0 2px 12px rgba(0,0,0,.35);
    pointer-events: none;
    user-select: none;
}

#meteo-city-layer {
    grid-area: 1 / 1;
    position: relative;
    border-radius: 12px;
    overflow: visible;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 768px) {
    .site-nav   { display: none; }
    .hamburger  { display: flex; }
    .topbar-sub { display: none; }

    .page-hero-title { font-size: 26px; }
    .page-hero-icon  { font-size: 44px; }

    .footer-inner {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 12px;
    }
    .footer-brand { grid-row: auto; }

    .beaufort-row { grid-template-columns: 36px 1fr; }
    .beaufort-speed { display: none; }

    .sources-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .topbar-inner { padding: 0 12px; }
    #mk-today-bar { font-size: 11px; gap: 10px; }
    .page-wrap    { padding: 20px 12px 36px; }
    .glass-card   { padding: 16px; }
    .sources-grid { grid-template-columns: 1fr; }
    #meteo-map-wrap { padding: 6px 6px 0; }
}
