/*
Theme Name: ThoiTiet
Theme URI: https://thoitiet.vn
Author: Weather Vietnam
Description: WordPress Theme for Vietnam Weather Forecast - 5-Day Forecast, Rain Probability, Beautiful UI
Version: 10.0
License: GPL v2 or later
Text Domain: weather-vietnam
*/

:root {
    --primary-blue: #1B4D7C;
    --primary-light-blue: #3B7CB8;
    --accent-orange: #FF6B35;
    --accent-red: #DC2626;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --border-gray: #E5E7EB;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
}

.container {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.site-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-light-blue) 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}
.site-logo-link img {
    max-height: 60px;
    width: auto;
}
.site-title-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

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

.site-title {
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.site-title:hover {
    opacity: 0.9;
}

/* Header Search */
.header-search {
    flex: 1;
    max-width: 400px;
    margin: 0 20px;
}

.header-search input {
    width: 100%;
    padding: 10px 16px;
    border-radius: 25px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.header-search input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.header-search input:focus {
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.25);
}

/* Header Actions / Language Selector */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.language-selector {
    padding: 8px 12px;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 13px;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
}

.language-selector option {
    background: var(--primary-blue);
    color: white;
}

.language-selector:hover,
.language-selector:focus {
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.25);
}

/* Navigation */
.site-nav {
    background: var(--primary-blue);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-nav .container {
    padding: 0 20px;
}

.site-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
}

.site-nav ul li a {
    display: block;
    padding: 12px 18px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.site-nav ul li a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.15);
}

.site-nav ul li.current-menu-item a,
.site-nav ul li a.active {
    color: white;
    background: rgba(255, 255, 255, 0.2);
}

/* ============================================
   TITLES & HEADINGS
   ============================================ */

h1 {
    font-size: 32px;
    font-weight: 700;
    margin: 30px 0 10px;
    color: var(--primary-blue);
}

h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 30px 0 15px;
    color: var(--primary-blue);
}

h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0 10px;
}

h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

/* ============================================
   WEATHER CONTAINER & CURRENT WEATHER
   ============================================ */

.weather-container {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.current-weather {
    margin-bottom: 40px;
}

.weather-main {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 30px;
    align-items: center;
    padding: 30px;
    background: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    border-radius: 12px;
    color: white;
    margin-bottom: 30px;
}

.weather-icon {
    font-size: 100px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.weather-temp {
    flex: 1;
}

.temp-value {
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
}

.temp-description {
    font-size: 18px;
    opacity: 0.95;
    text-transform: capitalize;
}

/* Weather Details Grid */

.weather-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.detail-item {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    transform: translateY(-2px);
}

.detail-icon {
    font-size: 32px;
    min-width: 40px;
}

.detail-info {
    flex: 1;
}

.detail-info h4 {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 5px;
}

.detail-info p {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

/* ============================================
   5-DAY FORECAST CARDS
   ============================================ */

.forecast-section {
    margin: 40px 0;
}

.forecast-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.forecast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.forecast-card {
    background: #ffffff;
    border: 2px solid #e0f0ff;
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(59,130,246,0.08);
}

.forecast-card:hover {
    background: linear-gradient(160deg, #dbeafe 0%, #e0f2fe 100%);
    border-color: #3b82f6;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
    transform: translateY(-4px);
}

.forecast-card.active {
    background: linear-gradient(135deg, #1d4ed8 0%, #0ea5e9 100%);
    color: white;
    border-color: #1d4ed8;
    box-shadow: 0 8px 24px rgba(29, 78, 216, 0.35);
}

.forecast-day {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #1e40af;
}

.forecast-card.active .forecast-day {
    color: rgba(255, 255, 255, 0.95);
}

.forecast-date {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 12px;
}

.forecast-card.active .forecast-date {
    color: rgba(255, 255, 255, 0.8);
}

.forecast-icon-emoji {
    font-size: 52px;
    line-height: 1;
    margin: 12px 0;
    text-align: center;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.forecast-temp {
    font-size: 24px;
    font-weight: 800;
    color: #1e40af;
    margin-bottom: 6px;
}

.forecast-card.active .forecast-temp {
    color: white;
}

.forecast-temp-range {
    font-size: 12px;
    color: #64748b;
}

.forecast-card.active .forecast-temp-range {
    color: rgba(255, 255, 255, 0.8);
}

.forecast-desc {
    font-size: 13px;
    font-weight: 500;
    margin-top: 10px;
    color: #334155;
    min-height: 30px;
    background: rgba(255,255,255,0.6);
    border-radius: 6px;
    padding: 4px 6px;
}

.forecast-card.active .forecast-desc {
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255,255,255,0.15);
}

/* ============================================
   RAIN PROBABILITY
   ============================================ */

.rain-section {
    margin: 40px 0;
}

.rain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.rain-card {
    background: linear-gradient(135deg, #3B82F6 0%, #1E40AF 100%);
    border-radius: 12px;
    padding: 20px;
    color: white;
    text-align: center;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.rain-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.rain-day {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    opacity: 0.95;
}

.rain-percentage {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.rain-percentage span {
    font-size: 20px;
}

.rain-label {
    font-size: 12px;
    opacity: 0.9;
    text-transform: uppercase;
}

/* ============================================
   HOURLY FORECAST
   ============================================ */

.hourly-section {
    margin: 40px 0;
}

.hourly-scroll {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.hourly-card {
    background: white;
    border: 1px solid var(--border-gray);
    border-radius: 10px;
    padding: 15px 10px;
    text-align: center;
    min-width: 100px;
    transition: all 0.3s ease;
}

.hourly-card:hover {
    border-color: var(--accent-orange);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.hourly-time {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 10px;
}

.hourly-icon-emoji {
    font-size: 36px;
    line-height: 1;
    margin: 6px 0;
    text-align: center;
}

.hourly-temp {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

/* ============================================
   PROVINCES GRID
   ============================================ */

.provinces-section {
    margin: 40px 0;
}

.provinces-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.province-card {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-light-blue) 100%);
    border-radius: 10px;
    padding: 25px 15px;
    text-align: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.province-card:hover {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #FF8C42 100%);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .weather-main {
        grid-template-columns: 100px 1fr;
        gap: 15px;
        padding: 20px;
    }

    .weather-icon {
        font-size: 60px;
    }

    .temp-value {
        font-size: 40px;
    }

    .temp-description {
        font-size: 14px;
    }

    .weather-details {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .forecast-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 12px;
    }

    .hourly-scroll {
        grid-template-columns: repeat(4, 1fr);
    }

    .provinces-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .content-wrapper {
        padding: 12px;
        width: 100%;
        max-width: 100%;
    }

    .weather-container {
        padding: 15px;
    }

    .weather-main {
        grid-template-columns: 80px 1fr;
        padding: 15px;
        margin-bottom: 20px;
    }

    .weather-icon {
        font-size: 50px;
    }

    .temp-value {
        font-size: 32px;
    }

    .weather-details {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .detail-item {
        padding: 15px;
    }

    .forecast-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .forecast-card {
        padding: 15px;
    }

    .hourly-scroll {
        grid-template-columns: repeat(3, 1fr);
    }

    .provinces-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .province-card {
        padding: 15px 10px;
        min-height: 80px;
        font-size: 13px;
    }

    h1 {
        font-size: 20px;
        margin: 20px 0 10px;
    }

    h2 {
        font-size: 16px;
        margin: 20px 0 10px;
    }
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background: #0b2f4b;
    color: white;
    padding: 0 24px;
    margin-top: 54px;
    text-align: left;
    border-top: 4px solid #21b6ae;
}

.site-footer .footer-content {
    max-width: 1192px;
    margin: 0 auto;
    padding: 34px 0 28px;
}

.footer-editor-content {
    display: grid;
    grid-template-columns: minmax(280px, 1.25fr) minmax(360px, 1.75fr);
    column-gap: 54px;
    align-items: start;
    color: rgba(255,255,255,.78);
    font-size: 14px;
    line-height: 1.65;
}

.footer-editor-content > p:first-child {
    grid-column: 1;
    margin: 0 0 7px;
    color: #fff;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.footer-editor-content > p:nth-child(2) {
    grid-column: 1;
    margin: 0;
    max-width: 430px;
    color: rgba(255,255,255,.63);
}

.footer-editor-content > ul {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-editor-content > ul li {
    position: relative;
    margin: 0;
    padding-left: 19px;
}

.footer-editor-content > ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .72em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3dd7c9;
}

.footer-editor-content > table {
    grid-column: 1 / -1;
    margin: 28px 0 0;
    border-top: 1px solid rgba(255,255,255,.13);
    border-bottom: 1px solid rgba(255,255,255,.13);
}

.footer-editor-content > table td {
    padding: 14px 0;
    border: 0;
    text-align: center;
}

.footer-editor-content a {
    color: rgba(255,255,255,.9);
    font-weight: 600;
    text-decoration: none;
}

.footer-editor-content a:hover { color: #67e8dc; text-decoration: none; }

.footer-editor-content > p:last-child {
    grid-column: 1 / -1;
    margin: 16px 0 0 !important;
    text-align: center;
    color: rgba(255,255,255,.52);
    font-size: 12px !important;
    opacity: 1 !important;
}

/* ============================================
   UTILITIES
   ============================================ */

.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.loading {
    display: inline-block;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Link styles */

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-orange);
    text-decoration: underline;
}

/* ============================================
   LOCATION CONTENT (SEO text below widget)
   ============================================ */

.location-content {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 30px 35px;
    margin: 30px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    line-height: 1.8;
    color: var(--text-dark);
    font-size: 15px;
}

.location-content h2 {
    font-size: 20px;
    color: var(--primary-blue);
    margin: 24px 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-gray);
}

.location-content h3 {
    font-size: 17px;
    color: var(--primary-blue);
    margin: 18px 0 8px;
}

.location-content p {
    margin-bottom: 14px;
}

.location-content ul, .location-content ol {
    margin: 10px 0 14px 20px;
}

.location-content li {
    margin-bottom: 6px;
}

/* ============================================
   WEATHER UI 2026
   ============================================ */
:root {
    --primary-blue: #0f3d62;
    --primary-light-blue: #1677a8;
    --sky: #eaf7ff;
    --aqua: #26c6b5;
    --sun: #ffbd45;
    --ink: #102a43;
    --muted: #60758a;
    --line: #dceaf2;
}

html, body { overflow-x: hidden; }
body {
    background:
        radial-gradient(circle at 15% -10%, rgba(38,198,181,.12), transparent 30%),
        linear-gradient(180deg, #f3faff 0, #f8fbfd 440px, #f6f8fa 100%);
    color: var(--ink);
}

.content-wrapper { max-width: 1240px; padding: 30px 24px 56px; }
.content-wrapper > .container > h1,
.content-wrapper > .container > h2 {
    color: var(--ink);
    letter-spacing: -.035em;
    line-height: 1.2;
}

.weather-dashboard {
    border: 1px solid rgba(167,202,221,.55);
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 18px 55px rgba(15,61,98,.10);
    overflow: hidden;
}

.weather-dashboard .current-weather { margin-bottom: 12px; }
.weather-dashboard .weather-main {
    position: relative;
    grid-template-columns: 1fr 140px 1.15fr;
    min-height: 240px;
    gap: 24px;
    margin: 0 0 16px;
    padding: 36px 42px;
    border-radius: 20px;
    background:
        radial-gradient(circle at 82% 18%, rgba(255,255,255,.25), transparent 24%),
        linear-gradient(125deg, #087eaa 0%, #0b5e8e 48%, #103f69 100%);
    box-shadow: inset 0 1px rgba(255,255,255,.25);
}
.weather-dashboard .weather-main::after {
    content: '';
    position: absolute;
    right: -70px; bottom: -115px;
    width: 320px; height: 320px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    box-shadow: 0 0 0 35px rgba(255,255,255,.04), 0 0 0 75px rgba(255,255,255,.025);
}
.weather-main-copy, .weather-icon, .weather-temp { position: relative; z-index: 1; }
.weather-main-copy { display:flex; flex-direction:column; align-self:stretch; justify-content:center; }
.weather-kicker {
    display:inline-flex; align-self:flex-start; padding:6px 11px; border-radius:999px;
    background:rgba(255,255,255,.14); font-size:12px; font-weight:700;
    letter-spacing:.06em; text-transform:uppercase;
}
.weather-location-name { font-size:28px; line-height:1.2; margin:14px 0 7px; letter-spacing:-.03em; }
.weather-updated { font-size:13px; opacity:.78; }
.weather-dashboard .weather-icon { font-size:94px; filter:drop-shadow(0 12px 18px rgba(4,31,52,.22)); }
.weather-dashboard .temp-value { font-size:72px; letter-spacing:-.06em; }
.weather-dashboard .temp-description { font-size:20px; font-weight:600; }

.weather-dashboard .weather-details {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 0;
}
.weather-dashboard .detail-item {
    min-height: 88px;
    padding: 15px 14px;
    border: 1px solid #e4eef4;
    background: #f8fbfd;
    border-radius: 14px;
    gap: 10px;
}
.weather-dashboard .detail-item:hover { transform:none; background:#eff9fc; border-color:#b9dee8; }
.weather-dashboard .detail-icon { min-width:30px; font-size:25px; overflow:visible; }
.weather-dashboard .wind-arrow { display:inline-block; color:#1597a7; transition:transform .3s ease; }
.weather-dashboard .detail-info h4 { color:#718397; font-size:10px; letter-spacing:.08em; }
.weather-dashboard .detail-info p { color:var(--ink); font-size:16px; white-space:nowrap; }

.weather-dashboard .forecast-section,
.weather-dashboard .hourly-section { margin: 32px 0 8px; }
.weather-dashboard .forecast-section h3,
.weather-dashboard .hourly-section h3 {
    margin:0 0 14px; color:var(--ink); font-size:19px; letter-spacing:-.02em;
}
.weather-dashboard .forecast-grid { grid-template-columns:repeat(5,1fr); gap:10px; margin:0; }
.weather-dashboard .forecast-card {
    min-width:0; padding:17px 13px; border:1px solid var(--line); border-radius:16px;
    box-shadow:none; cursor:default; background:linear-gradient(180deg,#fff,#f8fbfd);
}
.weather-dashboard .forecast-card:hover { transform:translateY(-2px); border-color:#91cad8; box-shadow:0 10px 22px rgba(15,61,98,.09); }
.weather-dashboard .forecast-day { color:var(--ink); font-size:15px; }
.weather-dashboard .forecast-icon-emoji { font-size:43px; margin:9px 0; }
.weather-dashboard .forecast-temp { color:var(--ink); font-size:22px; }
.weather-dashboard .forecast-desc { min-height:0; padding:0; background:none; color:var(--muted); }
.forecast-meta { display:flex; flex-direction:column; gap:3px; margin-top:11px; padding-top:10px; border-top:1px solid var(--line); color:#526a7d; font-size:11px; text-align:left; }

.weather-dashboard .hourly-scroll {
    display:flex; gap:9px; overflow-x:auto; padding:2px 2px 12px; scroll-snap-type:x proximity;
    scrollbar-color:#b9d4df transparent;
}
.weather-dashboard .hourly-card {
    flex:1 0 105px; min-width:105px; padding:14px 10px; border-color:var(--line);
    border-radius:14px; scroll-snap-align:start; background:#fff;
}
.weather-dashboard .hourly-card:hover { transform:none; border-color:#8ecad8; }
.hourly-rain { margin-top:5px; font-size:11px; color:#3587a8; }

.location-content {
    border:1px solid #e3edf2; border-radius:20px; box-shadow:0 12px 35px rgba(15,61,98,.06);
}

/* Homepage */
.hp-section-title { color:var(--ink)!important; border:0!important; margin-top:34px!important; }
.hp-region-label { color:#3e637e!important; opacity:1!important; }
.hp-weather-grid { gap:12px!important; }
.hp-wcard {
    align-items:flex-start!important; position:relative; min-height:184px;
    padding:18px!important; border:1px solid rgba(255,255,255,.2)!important;
    border-radius:18px!important; background:linear-gradient(145deg,#0c789e,#16466f)!important;
    box-shadow:0 12px 26px rgba(15,61,98,.13)!important;
}
.hp-wcard:hover { transform:translateY(-3px)!important; background:linear-gradient(145deg,#078c9e,#184c75)!important; text-decoration:none; }
.hp-wcard-name { max-width:72%; text-align:left!important; font-size:15px!important; }
.hp-wcard-rain { position:absolute; right:16px; top:17px; }
.hp-wcard-icon { font-size:48px!important; margin:auto 0 2px!important; }
.hp-wcard-desc { text-align:left!important; }
.hp-wcard-temp { position:absolute; right:16px; bottom:17px; font-size:28px!important; letter-spacing:-.04em; }
.hp-province-grid { gap:9px!important; }
.hp-province-btn {
    min-height:56px!important; padding:13px 15px!important; justify-content:flex-start!important;
    color:#23435c!important; background:#fff!important; border:1px solid #dce9ef;
    border-radius:12px!important; box-shadow:none!important;
}
.hp-province-btn::before { content:'›'; margin-right:9px; color:#18a0a6; font-size:21px; }
.hp-province-btn:hover { color:#0d6075!important; background:#eefafd!important; border-color:#91ccd5; transform:translateY(-1px)!important; text-decoration:none; }

@media (max-width: 900px) {
    .weather-dashboard .weather-main { grid-template-columns:1fr 100px 1fr; padding:28px; }
    .weather-dashboard .weather-details { grid-template-columns:repeat(3,1fr); }
    .weather-dashboard .forecast-grid { display:flex; overflow-x:auto; padding-bottom:10px; scroll-snap-type:x mandatory; }
    .weather-dashboard .forecast-card { flex:0 0 180px; scroll-snap-align:start; }
}

@media (max-width: 600px) {
    .content-wrapper { padding:18px 12px 40px; }
    .content-wrapper > .container > h1,
    .content-wrapper > .container > h2 { font-size:22px; margin:18px 2px 14px; }
    .weather-dashboard { margin:16px 0 24px; padding:10px; border-radius:18px; }
    .weather-dashboard .weather-main {
        display:grid; grid-template-columns:1fr 80px; min-height:245px; padding:22px 18px;
        gap:8px; border-radius:15px;
    }
    .weather-main-copy { grid-column:1/-1; align-self:start; }
    .weather-location-name { font-size:23px; margin:9px 0 3px; }
    .weather-dashboard .weather-icon { grid-column:2; grid-row:2; font-size:60px; }
    .weather-dashboard .weather-temp { grid-column:1; grid-row:2; }
    .weather-dashboard .temp-value { font-size:54px; }
    .weather-dashboard .temp-description { font-size:16px; }
    .weather-dashboard .weather-details { grid-template-columns:repeat(2,1fr); gap:8px; }
    .weather-dashboard .detail-item { min-height:76px; padding:12px 10px; }
    .weather-dashboard .detail-info p { font-size:14px; }
    .weather-dashboard .forecast-section,
    .weather-dashboard .hourly-section { margin-top:26px; }
    .weather-dashboard .forecast-card { flex-basis:155px; }
    .hp-weather-grid { grid-template-columns:1fr!important; }
    .hp-wcard { min-height:155px; }
    .hp-province-grid { grid-template-columns:repeat(2,1fr)!important; }
    .hp-province-btn { font-size:12px!important; padding:10px!important; }
    .location-content { padding:22px 18px; border-radius:16px; }
    .site-footer { padding:0 18px; margin-top:36px; }
    .site-footer .footer-content { padding:28px 0 22px; }
    .footer-editor-content { display:block; font-size:13px; }
    .footer-editor-content > p:first-child { font-size:18px; margin-bottom:6px; }
    .footer-editor-content > p:nth-child(2) { margin-bottom:20px; }
    .footer-editor-content > ul { display:block; }
    .footer-editor-content > ul li { margin-bottom:7px; }
    .footer-editor-content > table { margin-top:22px; table-layout:fixed; }
    .footer-editor-content > table td { padding:12px 3px; font-size:12px; }
    .footer-editor-content > p:last-child { margin-top:14px!important; line-height:1.5; }
}

/* ========================================================================== */
/* WEATHER WAP EXPERIENCE 2026                                                */
/* ========================================================================== */
:root{--ww-navy:#0d3551;--ww-blue:#087fa4;--ww-cyan:#20b7c5;--ww-pale:#edf8fb;--ww-sun:#ffb72c;--ww-card:#fff;--ww-shadow:0 18px 55px rgba(16,65,91,.09)}
body{background:linear-gradient(180deg,#f4fbfd 0,#f7fafc 640px,#f5f7f9 100%);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.content-wrapper{max-width:1200px;padding:30px 22px 70px}.weather-page-title{max-width:900px;margin:18px 0 22px!important;font-size:clamp(27px,4vw,44px)!important;font-weight:850!important;line-height:1.08!important;color:var(--ww-navy)!important}
.weather-page-title::after{content:'';display:block;width:58px;height:5px;margin-top:14px;border-radius:5px;background:linear-gradient(90deg,var(--ww-sun),#ff7d45)}

/* Homepage conversion hero */
.home-welcome{display:grid;grid-template-columns:1.5fr .8fr;gap:28px;align-items:center;margin:12px 0 34px;padding:34px 38px;border:1px solid #cfe8ee;border-radius:25px;background:radial-gradient(circle at 96% 0,rgba(255,195,54,.22),transparent 28%),linear-gradient(135deg,#fff,#eaf8fb);box-shadow:var(--ww-shadow)}
.home-welcome .eyebrow{display:inline-block;margin-bottom:10px;color:#0e8398;font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.home-welcome h2{margin:0 0 12px!important;font-size:clamp(25px,3vw,38px);line-height:1.15;color:var(--ww-navy)}.home-welcome p{max-width:700px;color:#587286;font-size:15px}.home-actions{display:flex;flex-direction:column;gap:10px}.home-actions button,.home-actions a{display:flex;justify-content:center;align-items:center;min-height:49px;padding:0 18px;border-radius:13px;font-weight:750;text-decoration:none;cursor:pointer}.home-actions button{border:0;background:linear-gradient(135deg,#0b91a9,#176e9e);color:#fff;box-shadow:0 10px 22px rgba(10,126,157,.22)}.home-actions a{border:1px solid #b9dce5;background:#fff;color:#17617c}

/* Main dashboard */
.weather-dashboard{background:#fff;border-color:#d5e9ef!important;border-radius:26px!important;padding:14px 18px 24px!important;box-shadow:var(--ww-shadow)!important}
.forecast-jump{display:flex;gap:7px;overflow-x:auto;padding:0 0 12px}.forecast-jump a{flex:0 0 auto;padding:8px 14px;border-radius:999px;background:#eef8fb;color:#18738a;text-decoration:none;font-size:12px;font-weight:750}.forecast-jump a:first-child{background:#147d9c;color:#fff}
.weather-dashboard .weather-main{min-height:260px!important;background:radial-gradient(circle at 78% 10%,rgba(255,210,85,.25),transparent 23%),linear-gradient(135deg,#13a5ba 0%,#08759e 45%,#123f67 100%)!important}
.weather-dashboard .weather-main-copy .weather-location-name{font-size:clamp(26px,3vw,38px)!important}.weather-dashboard .weather-kicker{background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.17)}
.weather-dashboard .detail-item{background:#f6fafc!important;border-color:#e0edf2!important}.weather-dashboard .detail-item:hover{background:#edfafb!important}
.weather-dashboard .forecast-card{background:linear-gradient(180deg,#fff,#f1f9fb)!important}.weather-dashboard .forecast-card:first-child{border-color:#67c7d3!important;box-shadow:inset 0 3px #32b4c2!important}

/* Homepage cards */
.hp-section-title{font-size:18px!important;text-transform:none!important;letter-spacing:-.015em!important}.hp-region-label{display:inline-flex;align-items:center;padding:6px 11px;border-radius:999px;background:#eaf6f9;color:#27657a!important}.hp-weather-grid{grid-template-columns:repeat(4,1fr)!important}.hp-wcard{min-height:178px!important;background:radial-gradient(circle at 100% 100%,rgba(255,255,255,.12),transparent 40%),linear-gradient(145deg,#149bb0,#164a70)!important}.hp-wcard:nth-child(2n){background:radial-gradient(circle at 100% 100%,rgba(255,255,255,.12),transparent 40%),linear-gradient(145deg,#2a8ab0,#21456d)!important}.hp-province-grid{grid-template-columns:repeat(4,1fr)!important}.hp-province-btn{font-size:14px!important;font-weight:700!important}

/* Province directory: searchable and intentionally compact */
.location-directory{margin:42px 0 30px;padding:27px;border:1px solid #daeaf0;border-radius:22px;background:#fff;box-shadow:0 13px 38px rgba(16,65,91,.065)}
.directory-heading{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:18px}.directory-heading span{color:#1390a4;font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.directory-heading h2{margin:4px 0 0!important;font-size:25px!important}.directory-heading>strong{padding:7px 11px;border-radius:10px;background:#edf8fa;color:#397184;font-size:12px;white-space:nowrap}.directory-search{display:flex;align-items:center;gap:10px;margin-bottom:16px;padding:0 15px;height:48px;border:1px solid #cee4eb;border-radius:14px;background:#f7fbfc}.directory-search:focus-within{border-color:#35b3c3;box-shadow:0 0 0 4px rgba(52,178,195,.1)}.directory-search span{font-size:22px;color:#32879d}.directory-search input{width:100%;border:0;outline:0;background:transparent;color:#183d55;font-size:14px}.location-child-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.location-child-link{display:flex;align-items:center;gap:9px;min-height:52px;padding:10px 12px;border:1px solid #e0ebef;border-radius:12px;color:#274b61;text-decoration:none;background:#fff}.location-child-link:hover{border-color:#82cbd5;background:#effafb;color:#08778d}.location-child-link>span{color:#22aebe}.location-child-link>strong{font-size:13px;line-height:1.3}.location-child-link>i{margin-left:auto;color:#8aa0ad;font-size:20px;font-style:normal}.location-child-link.is-extra{display:none}.location-child-grid.show-all .location-child-link.is-extra{display:flex}.directory-more{display:block;margin:18px auto 0;padding:10px 18px;border:1px solid #c9e1e8;border-radius:12px;background:#f1f9fb;color:#126d83;font-weight:750;cursor:pointer}

/* SEO reading section */
.location-content{position:relative;margin-top:35px!important;padding:34px 38px!important;background:#fff!important}.location-content.is-collapsed{max-height:580px;overflow:hidden}.location-content.is-collapsed:not(.is-open)::after{content:'';position:absolute;left:0;right:0;bottom:0;height:150px;background:linear-gradient(transparent,#fff)}.location-content.is-open{max-height:none}.content-more{display:block;margin:-18px auto 20px;position:relative;z-index:3;padding:11px 18px;border:1px solid #c9e1e8;border-radius:12px;background:#fff;color:#146c82;font-weight:750;box-shadow:0 8px 20px rgba(16,65,91,.08);cursor:pointer}

/* Footer */
.site-footer{margin-top:30px!important;padding:0 22px!important;background:#0d304a!important;color:#d9ebf2!important}.site-footer .footer-content{max-width:1160px!important;padding:40px 0 30px!important}.footer-brandline{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:22px;margin-bottom:20px;border-bottom:1px solid rgba(255,255,255,.11)}.footer-brandline a{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none;font-size:20px}.footer-brandline a span{display:grid;place-items:center;width:39px;height:39px;border-radius:12px;background:#1ca5ba}.footer-brandline em{color:#9fc1cf;font-size:13px;font-style:normal}.site-footer a{color:#dff8ff!important}.footer-editor-content{color:#b9d3de!important}

@media(max-width:900px){.home-welcome{grid-template-columns:1fr}.hp-weather-grid{grid-template-columns:repeat(2,1fr)!important}.hp-province-grid,.location-child-grid{grid-template-columns:repeat(3,1fr)!important}}
@media(max-width:600px){.content-wrapper{padding:18px 11px 45px}.weather-page-title{font-size:27px!important;margin-top:10px!important}.home-welcome{padding:24px 20px;border-radius:19px}.home-welcome h2{font-size:26px}.weather-dashboard{padding:9px 9px 18px!important;border-radius:19px!important}.weather-dashboard .weather-main{min-height:238px!important;padding:22px 18px!important}.weather-dashboard .weather-details{display:flex!important;overflow-x:auto;gap:8px!important;padding-bottom:8px}.weather-dashboard .detail-item{flex:0 0 145px}.weather-dashboard .hourly-section{order:2}.weather-dashboard .forecast-section{order:3}.hp-weather-grid{grid-template-columns:1fr 1fr!important;gap:9px!important}.hp-wcard{min-height:155px!important}.hp-province-grid,.location-child-grid{grid-template-columns:1fr 1fr!important}.location-directory{padding:19px 13px;border-radius:17px}.directory-heading h2{font-size:21px!important}.location-child-link{min-height:50px;padding:9px}.location-child-link>strong{font-size:12px}.location-content{padding:24px 18px!important}.footer-brandline{align-items:flex-start;flex-direction:column}.site-footer{padding:0 18px!important}}
/* Province forecast hierarchy and internal discovery */
.weather-future-title{margin:34px 0 16px;font-size:25px;line-height:1.3;color:#123f62;letter-spacing:-.02em}
.nearby-provinces{margin:28px 0 40px;padding:25px;background:#fff;border:1px solid #dceaf0;border-radius:20px;box-shadow:0 12px 35px rgba(19,65,94,.07)}
.nearby-provinces-heading span{display:block;margin-bottom:4px;color:#1590a7;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.nearby-provinces-heading h2{margin:0 0 18px;color:#123f62;font-size:23px;line-height:1.3}
.nearby-provinces-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.nearby-provinces-grid a{display:grid;grid-template-columns:30px 1fr auto 16px;align-items:center;gap:9px;min-height:66px;padding:12px 14px;border:1px solid #dceaf0;border-radius:14px;background:#f7fbfc;color:#183f59;text-decoration:none;transition:.2s ease}
.nearby-provinces-grid a:hover{transform:translateY(-2px);border-color:#65c0cf;background:#edfafb;box-shadow:0 9px 20px rgba(21,109,137,.1)}
.nearby-provinces-grid a>span{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#dff5f7;color:#087990}
.nearby-provinces-grid strong{font-size:14px}.nearby-provinces-grid small{color:#78909f;font-size:11px}.nearby-provinces-grid i{color:#1590a7;font-size:20px;font-style:normal}
@media(max-width:760px){.weather-future-title{font-size:21px}.nearby-provinces{padding:18px;border-radius:16px}.nearby-provinces-grid{grid-template-columns:1fr}.nearby-provinces-heading h2{font-size:20px}}
html,body,button,input,select,textarea{font-family:"Roboto",Arial,sans-serif!important}
