:root {
    --pmw-primary: #0d2e4f;
    --pmw-secondary: #1fa89a;
    --pmw-accent: #ffb347;
    --pmw-bg: #eef6fb;
    --pmw-surface: #ffffff;
    --pmw-text: #142638;
    --pmw-muted: #617284;
    --pmw-border: #d7e3ec;
    --pmw-shadow: 0 18px 60px rgba(13, 46, 79, .12);
    --pmw-radius: 22px;
    --pmw-container: 1280px;
}

html[data-pm-theme="dark"] {
    --pmw-primary: #9ad7ff;
    --pmw-secondary: #4dd7c8;
    --pmw-accent: #ffc56b;
    --pmw-bg: #07131f;
    --pmw-surface: #101f2e;
    --pmw-text: #eef7fb;
    --pmw-muted: #a8bac8;
    --pmw-border: #294054;
    --pmw-shadow: 0 18px 60px rgba(0, 0, 0, .34);
}

html { scroll-behavior: smooth; }
body.pm-weather-page {
    margin: 0;
    background: var(--pmw-bg);
    color: var(--pmw-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body.pm-weather-page.admin-bar { padding-top: 0; }
.pm-weather-shell, .pm-weather-shell * { box-sizing: border-box; }
.pm-weather-shell a { color: inherit; }
.pm-weather-container { width: min(calc(100% - 32px), var(--pmw-container)); margin-inline: auto; }
.pm-weather-main { min-height: 75vh; }
.pm-weather-section { scroll-margin-top: 110px; margin: 34px 0; padding: 32px; border: 1px solid var(--pmw-border); border-radius: var(--pmw-radius); background: var(--pmw-surface); box-shadow: 0 8px 34px rgba(13, 46, 79, .06); }
.pm-weather-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--pmw-secondary); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.pm-weather-kicker::before { content: ""; width: 24px; height: 3px; border-radius: 999px; background: currentColor; }
.pm-weather-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; margin-bottom: 24px; }
.pm-weather-section-heading h2 { margin: 7px 0 0; font-size: clamp(1.55rem, 3vw, 2.35rem); line-height: 1.08; color: var(--pmw-text); }
.pm-weather-section-heading p { margin: 10px 0 0; color: var(--pmw-muted); }

.pm-weather-header { position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid color-mix(in srgb, var(--pmw-border) 78%, transparent); background: color-mix(in srgb, var(--pmw-surface) 92%, transparent); backdrop-filter: blur(16px); }
.admin-bar .pm-weather-header { top: var(--wp-admin--admin-bar--height, 32px); }
.pm-weather-header__inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.pm-weather-brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; min-width: 230px; }
.pm-weather-brand img { width: 174px; height: auto; display: block; }
.pm-weather-brand span { display: grid; gap: 1px; padding-left: 14px; border-left: 1px solid var(--pmw-border); }
.pm-weather-brand strong { color: var(--pmw-secondary); font-size: 1.08rem; }
.pm-weather-brand small { color: var(--pmw-muted); font-size: .72rem; white-space: nowrap; }
.pm-weather-header__nav { display: flex; align-items: center; gap: 18px; }
.pm-weather-header__nav a { color: var(--pmw-text); font-size: .9rem; font-weight: 700; text-decoration: none; }
.pm-weather-header__nav a:hover { color: var(--pmw-secondary); }
.pm-weather-back { padding: 10px 16px; border: 1px solid var(--pmw-border); border-radius: 999px; }
.pm-weather-theme-toggle { width: 42px; height: 42px; border: 1px solid var(--pmw-border); border-radius: 50%; background: var(--pmw-surface); color: var(--pmw-text); font-size: 1.2rem; cursor: pointer; }

.pm-weather-hero { position: relative; overflow: hidden; padding: 46px 0 28px; background:
    radial-gradient(circle at 12% 15%, rgba(77, 215, 200, .25), transparent 34%),
    radial-gradient(circle at 88% 0%, rgba(154, 215, 255, .32), transparent 32%),
    linear-gradient(145deg, color-mix(in srgb, var(--pmw-bg) 92%, #fff), var(--pmw-bg));
}
.pm-weather-hero::after { content: ""; position: absolute; right: -140px; top: 110px; width: 420px; height: 420px; border: 1px solid color-mix(in srgb, var(--pmw-secondary) 22%, transparent); border-radius: 50%; box-shadow: 0 0 0 54px color-mix(in srgb, var(--pmw-secondary) 8%, transparent), 0 0 0 108px color-mix(in srgb, var(--pmw-secondary) 5%, transparent); pointer-events: none; }
.pm-weather-search-wrap { position: relative; z-index: 2; margin-bottom: 20px; }
.pm-weather-search { position: relative; padding: 18px; border: 1px solid var(--pmw-border); border-radius: 20px; background: color-mix(in srgb, var(--pmw-surface) 95%, transparent); box-shadow: 0 14px 44px rgba(13, 46, 79, .08); }
.pm-weather-search > label { display: block; margin: 0 0 9px; font-size: .84rem; font-weight: 800; color: var(--pmw-text); }
.pm-weather-search__row { display: grid; grid-template-columns: minmax(260px, 1fr) auto auto; gap: 10px; align-items: stretch; }
.pm-weather-search__field { position: relative; display: flex; align-items: center; }
.pm-weather-search__field > span { position: absolute; left: 16px; z-index: 2; color: var(--pmw-muted); font-size: 1.35rem; }
.pm-weather-search input[type="search"] { width: 100%; min-height: 52px; padding: 0 18px 0 48px; border: 1px solid var(--pmw-border); border-radius: 14px; background: var(--pmw-surface); color: var(--pmw-text); font: inherit; }
.pm-weather-search input[type="search"]:focus { outline: 3px solid color-mix(in srgb, var(--pmw-secondary) 22%, transparent); border-color: var(--pmw-secondary); }
.pm-weather-search__privacy { margin: 10px 2px 0; color: var(--pmw-muted); font-size: .76rem; }
.pm-weather-button { min-height: 52px; padding: 0 20px; border: 0; border-radius: 14px; background: var(--pmw-secondary); color: #fff; font: inherit; font-size: .88rem; font-weight: 800; cursor: pointer; white-space: nowrap; }
.pm-weather-button:hover { filter: brightness(.94); transform: translateY(-1px); }
.pm-weather-button:disabled { opacity: .55; cursor: wait; }
.pm-weather-button--secondary { border: 1px solid var(--pmw-border); background: var(--pmw-surface); color: var(--pmw-text); }
.pm-weather-search-results { position: absolute; z-index: 40; top: calc(100% + 7px); left: 0; right: 0; max-height: 360px; overflow: auto; padding: 8px; border: 1px solid var(--pmw-border); border-radius: 14px; background: var(--pmw-surface); box-shadow: var(--pmw-shadow); }
.pm-weather-search-results button { width: 100%; display: grid; gap: 3px; padding: 11px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--pmw-text); text-align: left; cursor: pointer; }
.pm-weather-search-results button:hover, .pm-weather-search-results button:focus { background: color-mix(in srgb, var(--pmw-secondary) 10%, transparent); }
.pm-weather-search-results button span, .pm-weather-search-results__empty { color: var(--pmw-muted); font-size: .78rem; }
.pm-weather-search-results__empty { padding: 12px; }
.pm-weather-favourites { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 12px 4px 0; min-height: 10px; }
.pm-weather-favourites > span { color: var(--pmw-muted); font-size: .8rem; font-weight: 700; }
.pm-weather-favourites button { padding: 6px 10px; border: 1px solid var(--pmw-border); border-radius: 999px; background: var(--pmw-surface); color: var(--pmw-text); font-size: .77rem; cursor: pointer; }

.pm-weather-status { position: relative; z-index: 2; margin: 0 0 14px; padding: 11px 14px; border-radius: 12px; background: color-mix(in srgb, var(--pmw-primary) 9%, var(--pmw-surface)); color: var(--pmw-text); font-size: .86rem; }
.pm-weather-status.is-error { background: #fff1f1; color: #9b1c1c; }
.pm-weather-status.is-success { background: #ecfff5; color: #17623d; }
html[data-pm-theme="dark"] .pm-weather-status.is-error { background: #431d24; color: #ffc6cc; }
html[data-pm-theme="dark"] .pm-weather-status.is-success { background: #123a2b; color: #b8f5d7; }

.pm-weather-current { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .95fr 1.45fr; gap: 28px; align-items: center; min-height: 270px; padding: clamp(25px, 4vw, 44px); border: 1px solid color-mix(in srgb, var(--pmw-primary) 18%, var(--pmw-border)); border-radius: 30px; background:
    linear-gradient(135deg, color-mix(in srgb, var(--pmw-surface) 96%, transparent), color-mix(in srgb, var(--pmw-secondary) 9%, var(--pmw-surface)));
    box-shadow: var(--pmw-shadow); overflow: hidden; }
.pm-weather-current::after { content: ""; position: absolute; inset: auto -80px -150px auto; width: 360px; height: 360px; border-radius: 50%; background: color-mix(in srgb, var(--pmw-secondary) 12%, transparent); pointer-events: none; }
.pm-weather-current__place { position: relative; z-index: 2; min-width: 0; }
.pm-weather-current__place h1 { margin: 8px 0 8px; font-size: clamp(1.8rem, 4vw, 3.45rem); line-height: 1.02; overflow-wrap: anywhere; }
.pm-weather-current__place > p { margin: 0; color: var(--pmw-muted); font-size: .86rem; }
.pm-weather-current__actions { display: flex; gap: 8px; margin-top: 18px; }
.pm-weather-icon-button { width: 42px; height: 42px; border: 1px solid var(--pmw-border); border-radius: 12px; background: var(--pmw-surface); color: var(--pmw-text); font-size: 1.22rem; cursor: pointer; }
.pm-weather-icon-button.is-active { color: #ef9b16; }
.pm-weather-current__main { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 14px; }
.pm-weather-current__icon { font-size: clamp(4rem, 8vw, 7.2rem); filter: drop-shadow(0 8px 16px rgba(13, 46, 79, .14)); }
.pm-weather-current__temperature { display: block; font-size: clamp(3.3rem, 7vw, 6.3rem); line-height: .9; letter-spacing: -.06em; }
.pm-weather-current__main-label { display: block; margin-bottom: 8px; color: var(--pmw-muted); font-size: .72rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.pm-weather-current__main p { margin: 10px 0 4px; font-size: 1.05rem; font-weight: 800; }
.pm-weather-current__main small { color: var(--pmw-muted); }
.pm-weather-current__metrics { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.pm-weather-current__metrics > div { min-width: 0; padding: 13px 14px; border: 1px solid color-mix(in srgb, var(--pmw-border) 85%, transparent); border-radius: 14px; background: color-mix(in srgb, var(--pmw-surface) 76%, transparent); }
.pm-weather-current__metrics dt { color: var(--pmw-muted); font-size: .74rem; }
.pm-weather-now-label { display: inline-flex; align-items: center; margin-left: 4px; padding: 2px 6px; border-radius: 999px; background: color-mix(in srgb, var(--pmw-secondary) 12%, transparent); color: var(--pmw-secondary); font-size: .62rem; font-weight: 850; line-height: 1.1; letter-spacing: .02em; text-transform: uppercase; vertical-align: middle; }
.pm-weather-current__metrics dd { margin: 3px 0 0; font-weight: 800; overflow-wrap: anywhere; }
.pm-weather-current[aria-busy="true"] { opacity: .75; }

.pm-weather-alerts { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-top: 14px; }
.pm-weather-alert { padding: 15px 17px; border-left: 5px solid #ef9b16; border-radius: 12px; background: var(--pmw-surface); box-shadow: 0 8px 28px rgba(13, 46, 79, .08); }
.pm-weather-alert p { margin: 4px 0 0; color: var(--pmw-muted); font-size: .84rem; }
.pm-weather-alert--storm { border-color: #7756d8; }.pm-weather-alert--wind { border-color: #3797d3; }.pm-weather-alert--rain { border-color: #327dc5; }.pm-weather-alert--heat { border-color: #e55b35; }.pm-weather-alert--frost { border-color: #50a9d8; }

.pm-weather-tabs { position: sticky; top: 88px; z-index: 90; display: flex; gap: 6px; overflow-x: auto; margin: 20px 0 0; padding: 8px; border: 1px solid var(--pmw-border); border-radius: 16px; background: color-mix(in srgb, var(--pmw-surface) 94%, transparent); backdrop-filter: blur(14px); scrollbar-width: thin; }
.admin-bar .pm-weather-tabs { top: calc(88px + var(--wp-admin--admin-bar--height, 32px)); }
.pm-weather-tabs button { flex: 0 0 auto; padding: 10px 14px; border: 0; border-radius: 11px; background: transparent; color: var(--pmw-muted); font: inherit; font-size: .82rem; font-weight: 800; cursor: pointer; }
.pm-weather-tabs button:hover, .pm-weather-tabs button.is-active { background: var(--pmw-primary); color: #fff; }
html[data-pm-theme="dark"] .pm-weather-tabs button:hover, html[data-pm-theme="dark"] .pm-weather-tabs button.is-active { color: #07131f; }

.pm-weather-unit-toggle { display: inline-flex; padding: 4px; border: 1px solid var(--pmw-border); border-radius: 999px; }
.pm-weather-unit-toggle button { width: 42px; height: 34px; border: 0; border-radius: 999px; background: transparent; color: var(--pmw-muted); font-weight: 800; cursor: pointer; }
.pm-weather-unit-toggle button[aria-pressed="true"] { background: var(--pmw-primary); color: #fff; }
html[data-pm-theme="dark"] .pm-weather-unit-toggle button[aria-pressed="true"] { color: #07131f; }

.pm-weather-hourly { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(104px, 1fr); gap: 9px; overflow-x: auto; padding: 3px 2px 10px; scroll-snap-type: x mandatory; }
.pm-weather-hour { display: grid; justify-items: center; gap: 8px; min-height: 178px; padding: 14px 10px; border: 1px solid var(--pmw-border); border-radius: 15px; background: color-mix(in srgb, var(--pmw-bg) 38%, var(--pmw-surface)); scroll-snap-align: start; }
.pm-weather-hour time { color: var(--pmw-muted); font-size: .75rem; font-weight: 700; }
.pm-weather-hour__icon { font-size: 2.2rem; }
.pm-weather-hour strong { font-size: 1.32rem; }
.pm-weather-hour small { color: var(--pmw-muted); font-size: .72rem; white-space: nowrap; }

.pm-weather-chart-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pm-weather-chart-card { min-width: 0; padding: 20px; border: 1px solid var(--pmw-border); border-radius: 17px; background: color-mix(in srgb, var(--pmw-bg) 30%, var(--pmw-surface)); }
.pm-weather-chart-card h3 { margin: 0 0 12px; font-size: 1rem; }
.pm-weather-chart { min-width: 0; overflow-x: auto; }
.pm-weather-chart svg { display: block; width: 100%; min-width: 600px; height: auto; overflow: visible; }
.pm-chart-gridline { stroke: var(--pmw-border); stroke-width: 1; stroke-dasharray: 4 5; }
.pm-chart-label { fill: var(--pmw-muted); font: 11px Inter, sans-serif; }
.pm-chart-line { stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.pm-chart-line--temp { stroke: #ed674c; }.pm-chart-line--feels { stroke: #e4a738; }.pm-chart-line--wind { stroke: #3c9fd5; }.pm-chart-line--gust { stroke: #6755c7; }.pm-chart-line--pressure { stroke: #2ca58d; }
.pm-chart-bar { opacity: .78; }.pm-chart-bar--prob { fill: #72b9e8; }.pm-chart-bar--rain { fill: #176caa; }
.pm-chart-legend { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 7px; color: var(--pmw-muted); font-size: .72rem; }
.pm-chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.pm-chart-legend i { width: 14px; height: 4px; border-radius: 999px; background: var(--pmw-secondary); }
.pm-chart-legend--temp { background: #ed674c !important; }.pm-chart-legend--feels { background: #e4a738 !important; }.pm-chart-legend--wind { background: #3c9fd5 !important; }.pm-chart-legend--gust { background: #6755c7 !important; }.pm-chart-legend--pressure { background: #2ca58d !important; }.pm-chart-legend--prob { background: #72b9e8 !important; }.pm-chart-legend--rain { background: #176caa !important; }

.pm-weather-daily-grid { display: grid; grid-template-columns: repeat(7, minmax(145px, 1fr)); gap: 10px; overflow-x: auto; padding-bottom: 8px; }
.pm-weather-day-card { min-width: 145px; padding: 18px 14px; border: 1px solid var(--pmw-border); border-radius: 16px; background: color-mix(in srgb, var(--pmw-bg) 32%, var(--pmw-surface)); text-align: center; }
.pm-weather-day-card > div:first-child { display: grid; gap: 2px; }
.pm-weather-day-card time { font-weight: 800; text-transform: capitalize; }
.pm-weather-day-card time + small { color: var(--pmw-muted); font-size: .72rem; }
.pm-weather-day-card__icon { display: block; margin: 12px 0 7px; font-size: 2.7rem; }
.pm-weather-day-card > strong { font-size: 1.3rem; }.pm-weather-day-card > strong small { color: var(--pmw-muted); font-size: .9rem; font-weight: 700; }
.pm-weather-day-card > p { min-height: 34px; margin: 7px 0 12px; color: var(--pmw-muted); font-size: .76rem; }
.pm-weather-day-card dl { display: grid; gap: 7px; margin: 0; text-align: left; }
.pm-weather-day-card dl div { display: flex; justify-content: space-between; gap: 8px; font-size: .68rem; }
.pm-weather-day-card dt { color: var(--pmw-muted); }.pm-weather-day-card dd { margin: 0; font-weight: 700; }
.pm-weather-daily-grid--compact { grid-template-columns: repeat(9, minmax(140px, 1fr)); }

.pm-weather-table-wrap { overflow-x: auto; border: 1px solid var(--pmw-border); border-radius: 16px; }
.pm-weather-table { width: 100%; min-width: 850px; border-collapse: collapse; }
.pm-weather-table th, .pm-weather-table td { padding: 14px 16px; border-bottom: 1px solid var(--pmw-border); text-align: left; font-size: .84rem; }
.pm-weather-table thead th { background: color-mix(in srgb, var(--pmw-bg) 55%, var(--pmw-surface)); color: var(--pmw-muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; }
.pm-weather-table tbody tr:last-child > * { border-bottom: 0; }
.pm-weather-table tbody tr:hover { background: color-mix(in srgb, var(--pmw-secondary) 6%, transparent); }
.pm-weather-table th[scope="row"] { display: grid; min-width: 150px; text-transform: capitalize; }.pm-weather-table th[scope="row"] small, .pm-weather-table td small { display: block; margin-top: 3px; color: var(--pmw-muted); font-size: .72rem; }
.pm-weather-table__condition { display: inline-flex; align-items: center; gap: 8px; }.pm-weather-table__condition > span { font-size: 1.7rem; }

.pm-weather-notice { padding: 14px 16px; border-left: 4px solid var(--pmw-accent); border-radius: 11px; background: color-mix(in srgb, var(--pmw-accent) 12%, var(--pmw-surface)); color: var(--pmw-muted); font-size: .86rem; }
.pm-weather-longterm__summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.pm-weather-longterm__summary article { display: grid; gap: 5px; padding: 16px; border: 1px solid var(--pmw-border); border-radius: 14px; }
.pm-weather-longterm__summary span { color: var(--pmw-muted); font-size: .72rem; }.pm-weather-longterm__summary strong { font-size: 1.15rem; }

.pm-weather-detail-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pm-weather-detail-grid article { display: flex; align-items: center; gap: 13px; min-width: 0; padding: 16px; border: 1px solid var(--pmw-border); border-radius: 14px; }
.pm-weather-detail-grid article > span { flex: 0 0 auto; font-size: 1.7rem; }.pm-weather-detail-grid article > div { min-width: 0; display: grid; gap: 3px; }.pm-weather-detail-grid small { color: var(--pmw-muted); }.pm-weather-detail-grid strong { overflow-wrap: anywhere; }

.pm-weather-air { display: grid; grid-template-columns: minmax(220px, .75fr) 1.6fr; gap: 16px; }
.pm-weather-aqi { display: grid; align-content: center; justify-items: center; min-height: 210px; padding: 24px; border-radius: 18px; background: #dff8e9; color: #134b30; text-align: center; }
.pm-weather-aqi > span { font-size: .77rem; }.pm-weather-aqi strong { margin: 8px 0; font-size: 4rem; line-height: 1; }.pm-weather-aqi b { font-size: 1rem; }
.pm-weather-aqi--fair { background: #eaf7cf; color: #425b16; }.pm-weather-aqi--moderate { background: #fff0b8; color: #6c4a00; }.pm-weather-aqi--poor { background: #ffd8ba; color: #7b3212; }.pm-weather-aqi--very-poor { background: #f9c4cf; color: #751d33; }.pm-weather-aqi--extreme { background: #d6bfdc; color: #4d1c5d; }
.pm-weather-air__metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pm-weather-air__metrics article { display: grid; gap: 6px; align-content: center; padding: 18px; border: 1px solid var(--pmw-border); border-radius: 14px; }.pm-weather-air__metrics small { color: var(--pmw-muted); }.pm-weather-air__metrics strong { font-size: 1.12rem; }
.pm-weather-pollen { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 9px; padding: 16px; border: 1px solid var(--pmw-border); border-radius: 14px; }.pm-weather-pollen h3 { width: 100%; margin: 0 0 4px; font-size: .95rem; }.pm-weather-pollen span { display: inline-grid; gap: 2px; padding: 8px 11px; border-radius: 10px; background: color-mix(in srgb, var(--pmw-secondary) 9%, transparent); font-size: .72rem; }.pm-weather-pollen b { font-size: .75rem; }

.pm-weather-radar { position: relative; min-height: 500px; overflow: hidden; border: 1px solid var(--pmw-border); border-radius: 18px; background: color-mix(in srgb, var(--pmw-bg) 70%, #9fc4d9); }
.pm-weather-radar__loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--pmw-muted); }
.pm-weather-radar-controls { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; margin-top: 12px; }
.pm-weather-radar-controls input { width: 100%; accent-color: var(--pmw-secondary); }.pm-weather-radar-controls time { color: var(--pmw-muted); font-size: .82rem; white-space: nowrap; }
.pm-weather-attribution { color: var(--pmw-muted); font-size: .72rem; line-height: 1.5; }
.leaflet-container { font: inherit; }

.pm-weather-guide__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.pm-weather-guide__grid article { padding: 19px; border: 1px solid var(--pmw-border); border-radius: 15px; }.pm-weather-guide__grid h3 { margin: 0 0 8px; font-size: 1rem; }.pm-weather-guide__grid p { margin: 0; color: var(--pmw-muted); font-size: .84rem; line-height: 1.65; }

.pm-weather-cities { margin-top: 50px; padding: 58px 0; background: color-mix(in srgb, var(--pmw-primary) 92%, #05111d); color: #fff; }
.pm-weather-cities .pm-weather-kicker { color: var(--pmw-secondary); }.pm-weather-cities .pm-weather-section-heading h2 { color: #fff; }.pm-weather-cities .pm-weather-section-heading p { color: rgba(255,255,255,.7); }
.pm-weather-city-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pm-weather-city-group { padding: 22px; border: 1px solid rgba(255,255,255,.13); border-radius: 17px; background: rgba(255,255,255,.055); }
.pm-weather-city-group h3 { margin: 0 0 15px; color: #fff; font-size: 1.05rem; }
.pm-weather-city-list { display: grid; gap: 8px; }
.pm-weather-city-link { display: grid; grid-template-columns: minmax(145px, .7fr) 1.3fr; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.pm-weather-city-link:last-child { border-bottom: 0; }.pm-weather-city-link a { text-decoration: none; }.pm-weather-city-link__name { font-weight: 800; color: #fff; }.pm-weather-city-link > span { display: flex; flex-wrap: wrap; gap: 8px; }.pm-weather-city-link > span a { color: rgba(255,255,255,.72); font-size: .72rem; }.pm-weather-city-link > span a:hover { color: var(--pmw-secondary); }


.pm-weather-back-to-top { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 1200; display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid color-mix(in srgb, var(--pmw-secondary) 45%, var(--pmw-border)); border-radius: 50%; background: var(--pmw-secondary); color: #fff; box-shadow: 0 14px 34px rgba(5, 30, 49, .24); font-size: 1.65rem; font-weight: 800; line-height: 1; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
.pm-weather-back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.pm-weather-back-to-top:hover { transform: translateY(-2px); }
.pm-weather-back-to-top:focus-visible { outline: 3px solid color-mix(in srgb, var(--pmw-secondary) 40%, #fff); outline-offset: 3px; }

.pm-weather-footer { padding: 34px 0; background: #06111c; color: rgba(255,255,255,.78); }
.pm-weather-footer__grid { display: grid; grid-template-columns: 1.3fr .7fr 1fr; gap: 28px; align-items: start; }.pm-weather-footer strong { color: #fff; font-size: 1.05rem; }.pm-weather-footer p { max-width: 600px; margin: 8px 0 0; font-size: .8rem; line-height: 1.6; }.pm-weather-footer__grid > div:nth-child(2) { display: grid; gap: 7px; }.pm-weather-footer a { color: #fff; text-decoration: none; }

.front-section--weather-promo { margin-block: 30px; }
.home-weather-promo { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; overflow: hidden; padding: 25px 28px; border: 1px solid color-mix(in srgb, var(--color-secondary, #1fa89a) 30%, var(--color-border, #dde4ea)); border-radius: 22px; background: linear-gradient(135deg, color-mix(in srgb, var(--color-secondary, #1fa89a) 12%, var(--color-surface, #fff)), color-mix(in srgb, var(--color-primary, #0d2e4f) 7%, var(--color-surface, #fff))); color: var(--color-text, #152331); text-decoration: none; box-shadow: 0 18px 50px rgba(13, 46, 79, .09); }
.home-weather-promo::after { content: ""; position: absolute; right: -80px; top: -110px; width: 260px; height: 260px; border-radius: 50%; background: color-mix(in srgb, var(--color-secondary, #1fa89a) 15%, transparent); }.home-weather-promo__icon { position: relative; z-index: 1; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 20px; background: var(--color-primary, #0d2e4f); font-size: 2.65rem; }.home-weather-promo__content { position: relative; z-index: 1; }.home-weather-promo__content span { color: var(--color-secondary, #1fa89a); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }.home-weather-promo__content h2 { margin: 5px 0 6px; font-size: clamp(1.35rem, 3vw, 2rem); }.home-weather-promo__content p { margin: 0; color: var(--color-muted, #5d6b78); }.home-weather-promo__button { position: relative; z-index: 1; padding: 12px 18px; border-radius: 999px; background: var(--color-secondary, #1fa89a); color: #fff; font-weight: 800; white-space: nowrap; }

@media (max-width: 1100px) {
    .pm-weather-header__nav > a:not(.pm-weather-back) { display: none; }
    .pm-weather-current { grid-template-columns: 1fr 1fr; }
    .pm-weather-current__metrics { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
    .pm-weather-chart-grid { grid-template-columns: 1fr; }
    .pm-weather-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pm-weather-city-groups { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
    .pm-weather-header__inner { min-height: 68px; }
    .pm-weather-brand img { width: 145px; }.pm-weather-brand span { display: none; }.pm-weather-brand { min-width: 0; }
    .pm-weather-header__nav { gap: 8px; }.pm-weather-back { padding: 8px 11px; font-size: .76rem !important; }
    .pm-weather-search__row { grid-template-columns: 1fr 1fr; }.pm-weather-search__field { grid-column: 1 / -1; }
    .pm-weather-current { grid-template-columns: 1fr; text-align: center; }.pm-weather-current__actions { justify-content: center; }.pm-weather-current__main { justify-content: center; }.pm-weather-current__metrics { grid-column: auto; grid-template-columns: repeat(2, 1fr); text-align: left; }
    .pm-weather-tabs { top: 76px; }.admin-bar .pm-weather-tabs { top: calc(76px + var(--wp-admin--admin-bar--height, 46px)); }
    .pm-weather-section { padding: 22px; }
    .pm-weather-section-heading { flex-direction: column; }
    .pm-weather-longterm__summary { grid-template-columns: repeat(2, 1fr); }
    .pm-weather-air { grid-template-columns: 1fr; }
    .pm-weather-guide__grid { grid-template-columns: 1fr; }
    .pm-weather-footer__grid { grid-template-columns: 1fr; }
    .home-weather-promo { grid-template-columns: auto 1fr; }.home-weather-promo__button { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 560px) {
    .pm-weather-container { width: min(calc(100% - 20px), var(--pmw-container)); }
    .pm-weather-hero { padding-top: 24px; }
    .pm-weather-search { padding: 13px; }.pm-weather-search__row { grid-template-columns: 1fr; }.pm-weather-search__field { grid-column: auto; }.pm-weather-button { width: 100%; }
    .pm-weather-current { padding: 23px 17px; border-radius: 22px; }.pm-weather-current__main { flex-direction: column; }.pm-weather-current__icon { font-size: 4.5rem; }.pm-weather-current__metrics { grid-template-columns: 1fr; }
    .pm-weather-section { margin: 22px 0; padding: 18px 14px; border-radius: 18px; }
    .pm-weather-section-heading { margin-bottom: 17px; }
    .pm-weather-detail-grid, .pm-weather-air__metrics, .pm-weather-longterm__summary { grid-template-columns: 1fr; }
    .pm-weather-radar { min-height: 380px; }.pm-weather-radar-controls { grid-template-columns: 1fr; }
    .pm-weather-back-to-top { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); width: 46px; height: 46px; }
    .pm-weather-city-group { padding: 16px; }.pm-weather-city-link { grid-template-columns: 1fr; gap: 5px; }
    .home-weather-promo { grid-template-columns: 1fr; padding: 22px; }.home-weather-promo__icon { width: 64px; height: 64px; }.home-weather-promo__button { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .pm-weather-button:hover { transform: none; }
}


/* Weather portal 1.7.3 enhancements. */
.pm-weather-current__place h1 { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: .32em; row-gap: .08em; max-width: 100%; font-size: clamp(1.6rem, 3.75vw, 3.35rem); line-height: 1.08; }
.pm-weather-current__title-prefix { flex: 0 0 auto; font-weight: 650; }
.pm-weather-current__title-location { display: inline-flex; flex: 1 1 12ch; flex-wrap: wrap; align-items: baseline; min-width: 0; }
.pm-weather-current__title-place { min-width: 0; max-width: 100%; font-weight: 850; overflow-wrap: anywhere; hyphens: auto; }
.pm-weather-current__title-region { color: var(--pmw-muted); font-size: clamp(.72rem, 1.15vw, .98rem); font-weight: 650; line-height: 1.25; letter-spacing: .01em; text-transform: none; }
.pm-weather-current__title-region::before { content: ",\00a0"; }
.pm-weather-coastal-highlight { position: relative; z-index: 2; display: grid; grid-template-columns: auto 1fr auto; gap: 13px; align-items: center; margin-top: 14px; padding: 14px 17px; border: 1px solid color-mix(in srgb, #168ac0 35%, var(--pmw-border)); border-radius: 16px; background: linear-gradient(135deg, color-mix(in srgb, #4fc3f7 16%, var(--pmw-surface)), color-mix(in srgb, #1fa89a 10%, var(--pmw-surface))); color: var(--pmw-text); text-decoration: none; box-shadow: 0 12px 34px rgba(12, 94, 135, .12); }
.pm-weather-coastal-highlight[hidden] { display: none; }
.pm-weather-coastal-highlight > span:first-child { font-size: 2rem; }.pm-weather-coastal-highlight > span:nth-child(2) { display: grid; gap: 2px; }.pm-weather-coastal-highlight small { color: var(--pmw-muted); }.pm-weather-coastal-highlight b { color: var(--pmw-secondary); }
.pm-weather-fortnight-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.pm-weather-fortnight-card { display: grid; gap: 14px; padding: 17px; border: 1px solid var(--pmw-border); border-radius: 17px; background: color-mix(in srgb, var(--pmw-bg) 28%, var(--pmw-surface)); }
.pm-weather-fortnight-card.is-today { border-color: color-mix(in srgb, var(--pmw-secondary) 65%, var(--pmw-border)); box-shadow: inset 4px 0 0 var(--pmw-secondary); }
.pm-weather-fortnight-card header, .pm-weather-fortnight-card footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }.pm-weather-fortnight-card header > div { display: grid; text-transform: capitalize; }.pm-weather-fortnight-card header time { color: var(--pmw-muted); font-size: .75rem; }.pm-weather-fortnight-card header > span { font-size: 2rem; }
.pm-weather-fortnight-card__temps { display: grid; grid-template-columns: auto auto 1fr; gap: 9px; align-items: baseline; }.pm-weather-fortnight-card__temps > strong { font-size: 1.8rem; }.pm-weather-fortnight-card__temps > span { color: var(--pmw-muted); font-size: 1.15rem; }.pm-weather-fortnight-card__temps small { justify-self: end; color: var(--pmw-muted); }
.pm-weather-fortnight-card__rain { display: grid; gap: 7px; }.pm-weather-fortnight-card__rain > span { display: flex; justify-content: space-between; color: var(--pmw-muted); font-size: .78rem; }.pm-weather-fortnight-card__rain em { font-style: normal; }.pm-weather-fortnight-card__rain > i { height: 7px; overflow: hidden; border-radius: 999px; background: color-mix(in srgb, #5ab6e6 15%, var(--pmw-border)); }.pm-weather-fortnight-card__rain > i b { display: block; height: 100%; border-radius: inherit; background: #4aa8dd; }
.pm-weather-fortnight-card footer { justify-content: flex-start; flex-wrap: wrap; color: var(--pmw-muted); font-size: .72rem; }.pm-weather-fortnight-card footer span { padding: 5px 8px; border-radius: 999px; background: color-mix(in srgb, var(--pmw-secondary) 7%, var(--pmw-surface)); }
.pm-weather-monthly-grid { display: grid; grid-template-columns: repeat(5, minmax(170px, 1fr)); gap: 13px; overflow-x: auto; }.pm-weather-monthly-grid article { min-width: 170px; padding: 19px; border: 1px solid var(--pmw-border); border-radius: 17px; background: linear-gradient(160deg, color-mix(in srgb, var(--pmw-secondary) 8%, var(--pmw-surface)), var(--pmw-surface)); }.pm-weather-monthly-grid article > span { display: block; color: var(--pmw-muted); text-transform: capitalize; }.pm-weather-monthly-grid article > strong { display: block; margin-top: 9px; font-size: 2rem; }.pm-weather-monthly-grid article > p { margin: 2px 0 14px; color: var(--pmw-muted); font-size: .72rem; }.pm-weather-monthly-grid dl { display: grid; gap: 8px; margin: 0; }.pm-weather-monthly-grid dl div { display: flex; justify-content: space-between; gap: 10px; font-size: .74rem; }.pm-weather-monthly-grid dt { color: var(--pmw-muted); }
.pm-weather-temperature-map { min-height: 440px; }.pm-weather-temperature-legend { display: flex; align-items: center; gap: 9px; margin-top: 12px; color: var(--pmw-muted); font-size: .75rem; }.pm-weather-temperature-legend i { width: min(320px, 60vw); height: 10px; border-radius: 999px; background: linear-gradient(90deg, hsl(220 78% 48%), hsl(160 78% 48%), hsl(60 78% 48%), hsl(0 78% 48%)); }.pm-weather-temp-label { border: 0 !important; background: transparent !important; box-shadow: none !important; color: #fff !important; font-weight: 850; text-shadow: 0 1px 3px rgba(0,0,0,.7); }
.pm-weather-marine-section { border-color: color-mix(in srgb, #168ac0 42%, var(--pmw-border)); background: linear-gradient(145deg, color-mix(in srgb, #58bce7 11%, var(--pmw-surface)), var(--pmw-surface)); }.pm-weather-marine-section[hidden] { display: none; }.pm-weather-marine { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }.pm-weather-marine article { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; padding: 17px; border: 1px solid color-mix(in srgb, #168ac0 25%, var(--pmw-border)); border-radius: 15px; background: color-mix(in srgb, var(--pmw-surface) 90%, transparent); }.pm-weather-marine article > span { grid-row: 1 / 3; font-size: 1.8rem; }.pm-weather-marine small { color: var(--pmw-muted); }.pm-weather-marine strong { font-size: 1.1rem; }
.pm-weather-advanced-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }.pm-weather-advanced-grid article { padding: 17px; border: 1px solid var(--pmw-border); border-radius: 15px; }.pm-weather-advanced-grid small { display: block; color: var(--pmw-muted); }.pm-weather-advanced-grid strong { display: block; margin: 7px 0; font-size: 1.12rem; }.pm-weather-advanced-grid p { margin: 0; color: var(--pmw-muted); font-size: .75rem; line-height: 1.5; }
@media (max-width: 980px) { .pm-weather-marine, .pm-weather-advanced-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .pm-weather-fortnight-grid { grid-template-columns: 1fr; }.pm-weather-marine, .pm-weather-advanced-grid { grid-template-columns: 1fr; }.pm-weather-current__place h1 { justify-content: center; font-size: clamp(1.5rem, 8.2vw, 2.45rem); }.pm-weather-current__title-location { flex: 0 1 auto; justify-content: center; }.pm-weather-current__title-region { flex-basis: 100%; margin-top: .2rem; text-align: center; }.pm-weather-current__title-region::before { content: none; }.pm-weather-coastal-highlight { grid-template-columns: auto 1fr; }.pm-weather-coastal-highlight b { grid-column: 2; }.pm-weather-temperature-map { min-height: 360px; } }
