body.site-weather-theme {
    background:
        linear-gradient(180deg, rgba(249, 248, 242, 0.98) 0%, rgba(241, 247, 244, 1) 44%, rgba(255, 252, 244, 1) 100%);
    color: #14241f;
    overflow-x: hidden;
}

body.weather-home-v2 .thai-location-panel {
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid rgba(20, 36, 31, 0.12) !important;
    color: #082757 !important;
}

body.weather-home-v2 .thai-location-panel::before {
    display: none !important;
}

body.weather-home-v2 .thai-location-panel .section-head {
    border-bottom: 1px solid rgba(20, 36, 31, 0.12) !important;
    padding: 0 0 20px !important;
}

body.weather-home-v2 .thai-location-panel .section-title {
    color: #31443c !important;
    font-size: 18px !important;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

body.weather-home-v2 .thai-location-panel .section-note {
    color: #6d7d76 !important;
}

body.weather-home-v2 .thai-location-panel .location-count {
    background: #f7fbf9 !important;
    border: 1px solid rgba(20, 36, 31, 0.14) !important;
    color: #31443c !important;
}

body.weather-home-v2 .province-grid {
    gap: 14px !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    padding: 20px 0 0 !important;
}

body.weather-home-v2 .province-link a {
    align-items: center !important;
    background: #fbfdfc !important;
    border: 1px solid rgba(20, 36, 31, 0.14) !important;
    color: #082757 !important;
    flex-direction: row !important;
    gap: 8px !important;
    min-height: 56px !important;
    padding: 0 16px !important;
}

body.weather-home-v2 .province-link a:hover {
    background: #f0faf6 !important;
    border-color: rgba(15, 118, 110, 0.3) !important;
    color: #18332e !important;
}

body.weather-home-v2 .province-name {
    color: inherit !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
}

body.weather-home-v2 .province-type {
    color: #4f6b62 !important;
    font-size: 12px !important;
    margin-top: 0 !important;
}

body.site-weather-theme .province-list-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(20, 36, 31, 0.12);
    border-radius: 0;
    box-shadow: none;
}

body.site-weather-theme .province-list-card .card-header {
    background: transparent;
    border-bottom: 1px solid rgba(20, 36, 31, 0.12);
    padding: 22px 24px;
}

body.site-weather-theme .province-list-card .font-h2 {
    color: #31443c;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 1.5px;
    margin: 0;
    text-transform: uppercase;
}

body.site-weather-theme .province-list-card .card-body {
    padding: 22px 24px 28px;
}

body.site-weather-theme .province-list-card .row {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
}

body.site-weather-theme .province-list-card [class*="col-"] {
    max-width: none;
    padding: 0;
    width: auto;
}

body.site-weather-theme .province-list-card .item-link {
    margin: 0 !important;
}

body.site-weather-theme .province-list-card .font-h3 {
    margin: 0;
}

body.site-weather-theme .province-list-card a {
    align-items: center;
    background: #fbfdfc;
    border: 1px solid rgba(20, 36, 31, 0.14);
    color: #082757;
    display: flex;
    font-size: 16px;
    font-weight: 900;
    gap: 8px;
    text-decoration: none;
}

body.site-weather-theme .province-list-card a:hover,
body.site-weather-theme .province-list-card a:focus {
    background: #f0faf6;
    border-color: rgba(15, 118, 110, 0.3);
    color: #18332e;
}

body.site-weather-theme .province-list-card a i {
    display: none;
}

@media (max-width: 991.98px) {
    body.weather-home-v2 .province-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    body.site-weather-theme .province-list-card .row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    body.weather-home-v2 .province-grid {
        grid-template-columns: 1fr !important;
    }

    body.site-weather-theme .province-list-card .row {
        grid-template-columns: 1fr;
    }

    body.site-weather-theme .province-list-card .card-header,
    body.site-weather-theme .province-list-card .card-body {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Mobile featured weather cards: two items per row. */
@media (max-width: 767.98px) {
    body.weather-home-v2 .thai-featured-panel .featured-grid {
        gap: 10px;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.weather-home-v2 .thai-featured-panel .city-card,
    body.weather-home-v2 .thai-featured-panel .city-card:first-child {
        grid-column: auto;
        grid-row: auto;
        min-height: 168px;
        padding: 14px 12px;
    }

    body.weather-home-v2 .thai-featured-panel .city-card:first-child {
        align-content: initial;
        background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 255, 0.92));
        border-color: rgba(191, 216, 241, 0.92);
        box-shadow: 0 12px 28px rgba(35, 112, 190, 0.08);
        color: #082757;
        display: block;
    }

    body.weather-home-v2 .thai-featured-panel .city-name,
    body.weather-home-v2 .thai-featured-panel .city-card:first-child .city-name {
        color: #082757;
        font-size: 17px;
        line-height: 1.12;
        margin-bottom: 10px;
    }

    body.weather-home-v2 .thai-featured-panel .city-weather {
        gap: 8px;
        margin-bottom: 8px;
    }

    body.weather-home-v2 .thai-featured-panel .city-weather img,
    body.weather-home-v2 .thai-featured-panel .city-card:first-child .city-weather img {
        height: 34px;
        width: 34px;
    }

    body.weather-home-v2 .thai-featured-panel .city-temp,
    body.weather-home-v2 .thai-featured-panel .city-card:first-child .city-temp {
        color: #ff5262;
        font-size: 38px;
    }

    body.weather-home-v2 .thai-featured-panel .city-meta,
    body.weather-home-v2 .thai-featured-panel .city-card:first-child .city-meta {
        color: #617185;
        font-size: 12px;
        gap: 6px;
        line-height: 1.25;
    }

    body.weather-home-v2 .thai-featured-panel .city-condition,
    body.weather-home-v2 .thai-featured-panel .city-card:first-child .city-condition {
        color: #334a68;
        font-size: 13px;
        line-height: 1.25;
    }
}

body.site-weather-theme *,
body.site-weather-theme *::before,
body.site-weather-theme *::after {
    box-sizing: border-box;
}

body.site-weather-theme #app,
body.site-weather-theme .container {
    min-width: 0 !important;
}

body.site-weather-theme:not(.weather-home-v2) .header-wrap {
    background:
        linear-gradient(180deg, rgba(5, 23, 21, 0.98), rgba(8, 31, 29, 0.96)),
        url("/images/home/bangkok-weather-hero.png") center / cover no-repeat;
    border: 0 !important;
    box-shadow: none !important;
}

body.site-weather-theme:not(.weather-home-v2) .header-wrap-inner {
    background:
        linear-gradient(90deg, rgba(5, 23, 21, 0.94), rgba(9, 38, 35, 0.88), rgba(5, 23, 21, 0.94));
    border: 0 !important;
    box-shadow: none !important;
    padding: 18px 0;
}

body.site-weather-theme:not(.weather-home-v2) .header-wrap-inner.sticky {
    background: rgba(5, 23, 21, 0.94) !important;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.22) !important;
}

body.site-weather-theme:not(.weather-home-v2) .header-top-row,
body.site-weather-theme:not(.weather-home-v2) .header-bottom {
    background: transparent;
    border: 0 !important;
    box-shadow: none !important;
}

body.site-weather-theme:not(.weather-home-v2) .header-top-row .general-header-inner {
    align-items: center;
    background: transparent;
    border: 0;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(150px, 190px) minmax(320px, 520px) minmax(180px, auto);
    justify-content: space-between;
    min-height: 62px;
    padding: 0 20px;
}

body.site-weather-theme:not(.weather-home-v2) .header-top-row .header-column-left {
    align-items: center;
    display: contents;
}

body.site-weather-theme:not(.weather-home-v2) .header-top-row .header-logo {
    align-items: center;
    display: inline-flex;
    justify-self: start;
    min-width: 0;
}

body.site-weather-theme:not(.weather-home-v2) .header-top-row .show-search-form {
    justify-self: center;
    min-width: 0;
    width: min(100%, 500px);
}

body.site-weather-theme .header-top-row .tdb-drop-down-search,
body.site-weather-theme .header-top-row .tdb-drop-down-search-inner,
body.site-weather-theme .header-top-row .tdb-search-form,
body.site-weather-theme .header-top-row .tdb-search-form-inner {
    width: 100%;
}

body.site-weather-theme:not(.weather-home-v2) .header-top-row .tdb-search-form-inner {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(142, 232, 223, 0.18);
    border-radius: 999px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    min-height: 40px;
    overflow: hidden;
}

body.site-weather-theme:not(.weather-home-v2) .header-top-row .tdb-head-search-form-input {
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 14px;
    height: 40px;
    padding: 0 14px;
}

body.site-weather-theme:not(.weather-home-v2) .header-top-row .tdb-head-search-form-input::placeholder {
    color: rgba(255, 255, 255, 0.72);
}

body.site-weather-theme:not(.weather-home-v2) .header-top-row .tdb-head-search-form-btn {
    align-items: center;
    background: #63d6cf;
    border: 0;
    border-radius: 0 999px 999px 0;
    color: #06211f;
    display: inline-flex;
    height: 40px;
    justify-content: center;
    margin-right: 0;
    padding: 0;
    width: 42px;
}

body.site-weather-theme:not(.weather-home-v2) .header-top-row .header-column-right {
    display: flex;
    grid-column: 3;
    justify-content: flex-end;
    justify-self: end;
}

body.site-weather-theme:not(.weather-home-v2) .header-top-row .header-select-city {
    align-items: center;
    display: flex;
    gap: 10px;
}

body.site-weather-theme:not(.weather-home-v2) .header-top-row .header-select-unit {
    align-items: center;
    background: rgba(11, 43, 39, 0.72);
    border: 1px solid rgba(142, 232, 223, 0.18);
    color: #fff;
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    min-height: 36px;
    padding: 0 11px;
}

body.site-weather-theme:not(.weather-home-v2) .header-top-row .header-select-unit select {
    background: transparent;
    border: 0;
    color: #fff;
    font-weight: 900;
    max-width: 84px;
}

body.site-weather-theme .header-top-row .header-select-unit select option {
    color: #10221e;
}

body.site-weather-theme:not(.weather-home-v2) .header-bottom {
    margin-top: 14px;
}

body.site-weather-theme:not(.weather-home-v2) .header-bottom .general-header-inner.site-main-menu {
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(142, 232, 223, 0.12);
    display: flex;
    gap: 8px;
    min-height: 40px;
    padding: 10px;
    width: 100%;
}

body.site-weather-theme:not(.weather-home-v2) .header-bottom .header-column-left,
body.site-weather-theme:not(.weather-home-v2) .header-bottom .header-select-city {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-width: 0;
    width: 100%;
}

body.site-weather-theme:not(.weather-home-v2) .header-bottom .menu-select-city__title,
body.site-weather-theme:not(.weather-home-v2) .header-bottom .header-location-quick-links a,
body.site-weather-theme:not(.weather-home-v2) .header-bottom .header-menu-link a {
    align-items: center;
    background: rgba(11, 43, 39, 0.72);
    border: 1px solid rgba(142, 232, 223, 0.18);
    color: rgba(255, 255, 255, 0.88);
    display: inline-flex;
    font-size: 13px;
    font-weight: 900;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    text-decoration: none;
}

body.site-weather-theme:not(.weather-home-v2) .header-bottom .menu-select-city__title {
    background: #1f8f86;
    border-color: #1f8f86;
    color: #fff;
}

body.site-weather-theme:not(.weather-home-v2) .header-bottom .header-location-quick-links {
    align-items: center;
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

body.site-weather-theme:not(.weather-home-v2) .header-bottom .header-location-quick-links a {
    color: rgba(255, 255, 255, 0.86);
    max-width: 150px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.site-weather-theme:not(.weather-home-v2) .header-bottom .header-location-quick-links a:first-child {
    background: rgba(32, 214, 199, 0.12);
    border-color: rgba(32, 214, 199, 0.3);
    color: #d7fffb;
}

body.site-weather-theme:not(.weather-home-v2) .header-bottom .header-location-quick-links a:hover,
body.site-weather-theme:not(.weather-home-v2) .header-bottom .header-location-quick-links a:focus,
body.site-weather-theme:not(.weather-home-v2) .header-bottom .header-menu-link a:hover,
body.site-weather-theme:not(.weather-home-v2) .header-bottom .header-menu-link a:focus {
    background: rgba(32, 214, 199, 0.14);
    border-color: rgba(32, 214, 199, 0.36);
    color: #fff;
}

body.site-weather-theme:not(.weather-home-v2) .header-bottom .header-menu-link {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.site-weather-theme .header-bottom .menu-select-city__list,
body.site-weather-theme .list-search-location {
    backdrop-filter: blur(20px);
    background: rgba(8, 30, 28, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

body.site-weather-theme .list-search-location {
    border-radius: 0;
    color: #fff;
    margin-top: 8px;
    overflow: hidden;
}

body.site-weather-theme .search-location-item a,
body.site-weather-theme .search-location-empty {
    color: #fff;
}

body.site-weather-theme .search-location-empty {
    display: block;
    font-weight: 800;
    padding: 12px 14px;
}

body.site-weather-theme .search-location-item.active a,
body.site-weather-theme .search-location-item a:hover {
    background: #ff6b79;
    color: #fff;
}

body.site-weather-theme .search-location-item small {
    color: rgba(255, 255, 255, 0.66);
}

body.site-weather-theme:not(.weather-home-v2)>#app>.container:first-of-type {
    margin-top: 18px;
}

body.site-weather-theme:not(.weather-home-v2) .card,
body.site-weather-theme:not(.weather-home-v2) .section-card,
body.site-weather-theme:not(.weather-home-v2) .static-page-card {
    border-color: rgba(20, 36, 31, 0.12);
    border-radius: 0;
    box-shadow: none;
}

body.site-weather-theme .footer-type-10 {
    background: rgba(247, 243, 232, 0.92);
    border-top: 1px solid rgba(20, 36, 31, 0.08);
    color: #14241f;
}

body.site-weather-theme .footer-wrap {
    align-items: center;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    min-height: 78px;
}

body.site-weather-theme .footer-copyright p,
body.site-weather-theme .menu-footer a {
    color: #082757;
}

body.site-weather-theme .menu-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 0;
}

body.site-weather-theme .site-error-shell {
    background:
        linear-gradient(180deg, rgba(8, 30, 28, 0.08), transparent 260px),
        linear-gradient(180deg, #eef7f2 0%, #f5fbf8 100%);
    min-height: 440px;
    padding: 64px 0 72px;
}

body.site-weather-theme .site-error-panel {
    background: rgba(8, 30, 28, 0.96);
    color: #fff;
    margin: 0 auto;
    max-width: 620px;
    padding: 48px;
    text-align: center;
}

body.site-weather-theme .site-error-kicker {
    color: #20d6c7;
    display: block;
    font-size: 72px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 18px;
}

body.site-weather-theme .site-error-panel h1 {
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.35;
    margin: 0 auto 24px;
    max-width: 500px;
}

body.site-weather-theme .site-error-action {
    align-items: center;
    background: #ff6b79;
    color: #fff;
    display: inline-flex;
    font-weight: 900;
    gap: 8px;
    min-height: 42px;
    padding: 0 18px;
    text-decoration: none;
}

body.site-weather-theme .site-error-action:hover {
    color: #fff;
    filter: brightness(0.96);
}

body.site-weather-theme .menu-location-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    list-style: none;
    margin: 0;
    max-height: min(72vh, 760px);
    overflow: auto;
    padding: 22px;
    width: min(1180px, calc(100vw - 48px));
}

body.site-weather-theme .menu-location-item {
    margin: 0;
    min-width: 0;
}

body.site-weather-theme .menu-location-item a {
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    display: flex;
    gap: 8px;
    justify-content: flex-start;
    min-height: 54px;
    padding: 0 14px;
    text-decoration: none;
    transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

body.site-weather-theme .menu-location-item a:hover,
body.site-weather-theme .menu-location-item a:focus {
    background: rgba(32, 214, 199, 0.16);
    border-color: rgba(32, 214, 199, 0.5);
    color: #fff;
    transform: translateY(-1px);
}

body.site-weather-theme .menu-location-item span {
    color: inherit;
    font-size: 16px;
    font-weight: 900;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.site-weather-theme .menu-location-item small {
    color: #8ee8df;
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

body.weather-home-v2 .thai-location-panel {
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid rgba(20, 36, 31, 0.12);
    color: #082757;
}

body.weather-home-v2 .thai-location-panel::before {
    display: none;
}

body.weather-home-v2 .thai-location-panel .section-head {
    border-bottom: 1px solid rgba(20, 36, 31, 0.12);
    padding: 0 0 20px;
}

body.weather-home-v2 .thai-location-panel .section-title {
    color: #31443c;
    font-size: 18px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

body.weather-home-v2 .thai-location-panel .section-note {
    color: #6d7d76;
}

body.weather-home-v2 .thai-location-panel .location-count {
    background: #f7fbf9;
    border: 1px solid rgba(20, 36, 31, 0.14);
    color: #31443c;
}

body.weather-home-v2 .province-grid {
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 20px 0 0;
}

body.weather-home-v2 .province-link a {
    align-items: center;
    background: #fbfdfc;
    border: 1px solid rgba(20, 36, 31, 0.14);
    color: #082757;
    flex-direction: row;
    gap: 8px;
    min-height: 56px;
    padding: 0 16px;
}

body.weather-home-v2 .province-link a:hover {
    background: #f0faf6;
    border-color: rgba(15, 118, 110, 0.3);
    color: #18332e;
}

body.weather-home-v2 .province-name {
    color: inherit;
    font-size: 16px;
    line-height: 1.2;
}

body.weather-home-v2 .province-type {
    color: #4f6b62;
    font-size: 12px;
    margin-top: 0;
}

@media (max-width: 991.98px) {
    body.site-weather-theme:not(.weather-home-v2) .header-top-row .general-header-inner {
        grid-template-columns: minmax(120px, 150px) minmax(0, 1fr) auto;
        gap: 12px;
        padding: 0 14px;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-top-row .show-search-form {
        width: 100%;
    }

    body.site-weather-theme .menu-location-grid,
    body.weather-home-v2 .province-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    body.site-weather-theme:not(.weather-home-v2) .header-wrap-inner {
        padding: 10px 0;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-top-row .general-header-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        min-height: 0;
        padding: 12px;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-top-row .header-logo {
        grid-column: 1;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-top-row .show-search-form {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-top-row .header-column-right {
        grid-column: 1 / -1;
        grid-row: 3;
        justify-self: stretch;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-top-row .header-select-city {
        justify-content: space-between;
        width: 100%;
    }

    body.site-weather-theme:not(.weather-home-v2) .mobile-menu-toggle {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-bottom .general-header-inner.site-main-menu,
    body.site-weather-theme:not(.weather-home-v2) .header-bottom .header-column-left,
    body.site-weather-theme:not(.weather-home-v2) .header-bottom .header-select-city {
        align-items: stretch;
        display: grid;
        width: 100%;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-bottom .header-location-quick-links {
        display: grid;
        gap: 8px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-bottom .header-location-quick-links a {
        justify-content: flex-start;
        max-width: none;
        width: 100%;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-bottom .header-menu-link {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    body.site-weather-theme .menu-location-grid,
    body.weather-home-v2 .province-grid {
        grid-template-columns: 1fr;
    }

    body.site-weather-theme .menu-location-grid {
        max-height: 62vh;
        padding: 14px;
        width: 100%;
    }

    body.site-weather-theme .footer-wrap {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding: 22px 0;
    }

    body.site-weather-theme .site-error-shell {
        padding: 36px 0 48px;
    }

    body.site-weather-theme .site-error-panel {
        padding: 32px 20px;
    }

    body.site-weather-theme .site-error-kicker {
        font-size: 56px;
    }

    body.site-weather-theme .site-error-panel h1 {
        font-size: 20px;
    }
}

body.weather-home-v2 {
    background:
        linear-gradient(180deg, rgba(249, 248, 242, 0.98) 0%, rgba(241, 247, 244, 1) 44%, rgba(255, 252, 244, 1) 100%);
    color: #14241f;
}

body.weather-home-v2 .header-wrap {
    background: transparent;
    border: 0 !important;
    box-shadow: none;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 20;
}

body.weather-home-v2 .header-wrap-inner {
    background: linear-gradient(180deg, rgba(4, 20, 19, 0.56), rgba(4, 20, 19, 0));
    border: 0 !important;
    box-shadow: none !important;
    padding: 18px 0 0;
}

body.weather-home-v2 .header-top-row,
body.weather-home-v2 .header-bottom {
    background: transparent;
    border: 0 !important;
    box-shadow: none !important;
}

body.weather-home-v2 .header-top-row .general-header-inner {
    align-items: center;
    backdrop-filter: blur(18px);
    background: rgba(7, 28, 27, 0.54);
    border: 1px solid rgba(255, 255, 255, 0.16);
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(150px, 190px) minmax(320px, 520px) minmax(180px, auto);
    justify-content: space-between;
    min-height: 62px;
    padding: 0 20px;
}

body.weather-home-v2 .header-top-row .header-column-left {
    align-items: center;
    display: contents;
}

body.weather-home-v2 .header-top-row .header-logo {
    align-items: center;
    display: inline-flex;
    justify-self: start;
    min-width: 0;
}

body.weather-home-v2 .header-top-row .header-logo img {
    height: 38px;
    max-width: 154px;
    object-fit: contain;
}

body.weather-home-v2 .header-top-row .show-search-form {
    justify-self: center;
    min-width: 0;
    width: min(100%, 500px);
}

body.weather-home-v2 .header-top-row .tdb-drop-down-search,
body.weather-home-v2 .header-top-row .tdb-drop-down-search-inner,
body.weather-home-v2 .header-top-row .tdb-search-form,
body.weather-home-v2 .header-top-row .tdb-search-form-inner {
    width: 100%;
}

body.weather-home-v2 .header-top-row .tdb-search-form-inner {
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    min-height: 40px;
    overflow: hidden;
}

body.weather-home-v2 .header-top-row .tdb-head-search-form-input {
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 14px;
    height: 40px;
    padding: 0 14px;
}

body.weather-home-v2 .header-top-row .tdb-head-search-form-input::placeholder {
    color: rgba(255, 255, 255, 0.72);
}

body.weather-home-v2 .header-top-row .tdb-head-search-form-btn {
    align-items: center;
    background: #20d6c7;
    border: 0;
    border-radius: 0 999px 999px 0;
    color: #06211f;
    display: inline-flex;
    height: 40px;
    justify-content: center;
    margin-right: 0;
    padding: 0;
    width: 42px;
}

body.weather-home-v2 .header-top-row .header-column-right {
    display: flex;
    grid-column: 3;
    justify-self: end;
    justify-content: flex-end;
}

body.weather-home-v2 .header-top-row .header-select-city {
    align-items: center;
    display: flex;
    gap: 10px;
}

body.weather-home-v2 .header-top-row .header-select-unit {
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    min-height: 36px;
    padding: 0 11px;
}

body.weather-home-v2 .header-top-row .header-select-unit select {
    background: transparent;
    border: 0;
    color: #fff;
    font-weight: 900;
    max-width: 84px;
}

body.weather-home-v2 .header-top-row .header-select-unit select option {
    color: #10221e;
}

body.weather-home-v2 .header-bottom {
    border: 0 !important;
    box-shadow: none !important;
    margin-top: 8px;
}

body.weather-home-v2 .header-bottom::before,
body.weather-home-v2 .header-bottom::after,
body.weather-home-v2 .header-wrap::before,
body.weather-home-v2 .header-wrap::after,
body.weather-home-v2 .header-wrap-inner::before,
body.weather-home-v2 .header-wrap-inner::after {
    display: none !important;
}

body.weather-home-v2 .header-wrap .container,
body.weather-home-v2 .header-bottom>.container,
body.weather-home-v2 .home-hero {
    border: 0 !important;
    box-shadow: none !important;
}

body.weather-home-v2 .header-bottom .general-header-inner.site-main-menu {
    align-items: center;
    backdrop-filter: blur(18px);
    background: transparent;
    border: 0;
    display: inline-flex;
    gap: 8px;
    min-height: 40px;
    padding: 0;
    width: auto;
}

body.weather-home-v2 .header-bottom .header-column-left,
body.weather-home-v2 .header-bottom .header-select-city {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

body.weather-home-v2 .header-bottom .menu-select-city__title,
body.weather-home-v2 .header-bottom .header-location-quick-links a,
body.weather-home-v2 .header-bottom .header-menu-link a {
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    display: inline-flex;
    font-size: 13px;
    font-weight: 900;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    text-decoration: none;
}

body.weather-home-v2 .header-bottom .header-location-quick-links {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    min-width: 0;
}

body.weather-home-v2 .header-bottom .header-location-quick-links a {
    max-width: 150px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.weather-home-v2 .header-bottom .header-location-quick-links a:first-child {
    background: rgba(32, 214, 199, 0.2);
    border-color: rgba(32, 214, 199, 0.42);
}

body.weather-home-v2 .header-bottom .menu-select-city__title {
    background: #ff6b79;
    border-color: #ff6b79;
    color: #fff;
}

body.weather-home-v2 .header-bottom .menu-select-city__title i:first-child,
body.weather-home-v2 .header-bottom .header-menu-link a i {
    color: #20d6c7;
}

body.weather-home-v2 .header-bottom .menu-select-city__title i:first-child {
    color: #fff;
}

body.weather-home-v2 .header-bottom .menu-select-city__title.active i:last-child {
    transform: rotate(180deg);
}

body.weather-home-v2 .header-bottom .header-menu-link {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.weather-home-v2 .header-bottom .menu-select-city__list {
    backdrop-filter: blur(20px);
    background: rgba(8, 30, 28, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
    margin-top: 10px;
}

body.weather-home-v2 .header-wrap .menu-region-group {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
    border-radius: 0;
}

body.weather-home-v2 .header-wrap .menu-region-group h3 {
    color: #20d6c7;
}

body.weather-home-v2 .header-wrap .menu-region-group a {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    border-radius: 0;
    color: #fff;
}

body.weather-home-v2 .header-wrap .menu-region-group a:hover,
body.weather-home-v2 .header-wrap .menu-region-group a:focus {
    background: #ff6b79;
    color: #fff;
}

body.weather-home-v2 .home-shell {
    background:
        linear-gradient(180deg, rgba(8, 30, 28, 0) 0, rgba(8, 30, 28, 0.08) 120px, transparent 320px),
        radial-gradient(circle at 18% 18%, rgba(32, 214, 199, 0.12), transparent 24%),
        radial-gradient(circle at 86% 34%, rgba(255, 107, 121, 0.09), transparent 24%),
        linear-gradient(180deg, #eef7f2 0%, #f5fbf8 44%, #edf6f1 100%);
    padding-bottom: 64px;
}

body.weather-home-v2 .home-hero {
    background:
        linear-gradient(90deg, rgba(6, 28, 26, 0.92) 0%, rgba(6, 28, 26, 0.66) 46%, rgba(6, 28, 26, 0.2) 82%),
        linear-gradient(180deg, rgba(255, 255, 255, 0) 72%, rgba(247, 243, 232, 1) 100%),
        url("/images/home/bangkok-weather-hero.png") center / cover no-repeat;
    color: #fff;
    margin-bottom: 0;
    min-height: 0;
    padding: 168px 0 54px;
    position: relative;
}

body.weather-home-v2 .home-hero::after {
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 196, 87, 0.24), transparent 28%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 32%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

body.weather-home-v2 .home-hero>.container {
    position: relative;
    z-index: 1;
}

body.weather-home-v2 .home-hero-grid {
    display: block;
    min-height: 0;
    position: relative;
}

body.weather-home-v2 .home-panel,
body.weather-home-v2 .section-card,
body.weather-home-v2 .forecast-stack,
body.weather-home-v2 .forecast-day {
    border-radius: 0;
    box-shadow: none;
}

body.weather-home-v2 .hero-main {
    background: transparent;
    border: 0;
    color: #fff;
    display: flex;
    flex-direction: column;
    max-width: 760px;
    min-height: 0;
    overflow: visible;
    padding: 0;
    position: relative;
    width: 58%;
}

body.weather-home-v2 .hero-main::before {
    background: linear-gradient(180deg, #20d6c7, #ff4f61);
    content: "";
    height: 132px;
    left: -28px;
    position: absolute;
    top: 8px;
    width: 6px;
}

body.weather-home-v2 .thai-hero-kicker {
    align-items: center;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    font-size: 12px;
    font-weight: 800;
    gap: 10px;
    letter-spacing: 0;
    margin-bottom: 14px;
    text-transform: uppercase;
}

body.weather-home-v2 .thai-hero-kicker span {
    backdrop-filter: blur(14px);
    background: rgba(9, 30, 28, 0.46);
    border: 1px solid rgba(255, 255, 255, 0.24);
    padding: 7px 10px;
}

body.weather-home-v2 .thai-hero-kicker span:first-child {
    background: #0f766e;
    border-color: #0f766e;
    color: #fff;
}

body.weather-home-v2 .hero-title {
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(48px, 5.8vw, 86px);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 0.88;
    margin: 0;
    max-width: 760px;
    text-shadow: 0 20px 60px rgba(0, 0, 0, 0.36);
    margin-bottom: 20px;
}

body.weather-home-v2 .hero-title a {
    color: #ff6b79;
    text-decoration: none;
    text-shadow: 0 14px 44px rgba(0, 0, 0, 0.58);
}

body.weather-home-v2 .hero-intro {
    color: rgba(255, 255, 255, 0.78);
    font-size: 18px;
    line-height: 1.65;
    margin: 14px 0 18px;
    max-width: 540px;
}

body.weather-home-v2 .thai-hero-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
}

body.weather-home-v2 .thai-hero-signals span {
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    padding: 7px 10px;
}

body.weather-home-v2 .hero-current {
    align-items: center;
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    display: grid;
    gap: 10px;
    grid-template-columns: auto 1fr;
    margin-bottom: 14px;
    padding: 12px;
    width: min(640px, 100%);
}

body.weather-home-v2 .hero-temp {
    align-items: center;
    background: rgba(255, 255, 255, 0.86);
    display: flex;
    min-height: 84px;
    min-width: 142px;
    padding: 8px 14px;
}

body.weather-home-v2 .hero-temp img {
    height: 52px;
    width: 52px;
}

body.weather-home-v2 .hero-temp strong {
    color: #0f766e;
    font-size: 52px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
}

body.weather-home-v2 .hero-temp sup {
    font-size: 28px;
}

body.weather-home-v2 .hero-condition {
    color: #fff;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.2;
    margin: 0 0 8px;
}

body.weather-home-v2 .hero-feels {
    color: rgba(255, 255, 255, 0.74);
    font-size: 14px;
    line-height: 1.42;
    margin: 0;
}

body.weather-home-v2 .hero-metrics {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: min(640px, 100%);
}

body.weather-home-v2 .thai-season-strip {
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 8px 0 14px;
    width: min(640px, 100%);
}

body.weather-home-v2 .thai-season-strip div {
    background: rgba(255, 255, 255, 0.16);
    border-right: 1px solid rgba(255, 255, 255, 0.16);
    min-height: 58px;
    padding: 10px 12px;
}

body.weather-home-v2 .thai-season-strip div:last-child {
    border-right: 0;
}

body.weather-home-v2 .thai-season-strip span {
    color: rgba(255, 255, 255, 0.7);
    display: block;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 4px;
    text-transform: uppercase;
}

body.weather-home-v2 .thai-season-strip strong {
    color: #fff;
    display: block;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.2;
}

body.weather-home-v2 .metric-card {
    backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    min-height: 76px;
    padding: 10px;
}

body.weather-home-v2 .metric-card svg,
body.weather-home-v2 .metric-card i {
    color: #ff4f61;
    display: block;
    font-size: 17px;
    height: 18px;
    margin-bottom: 8px;
    width: 18px;
}

body.weather-home-v2 .metric-card span {
    color: rgba(255, 255, 255, 0.68);
    display: block;
    font-size: 12px;
    margin-bottom: 3px;
}

body.weather-home-v2 .metric-card strong {
    color: #fff;
    display: block;
    font-size: 16px;
    font-weight: 900;
}

body.weather-home-v2 .thai-quick-routes {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    margin: 14px 0 0;
    width: min(640px, 100%);
}

body.weather-home-v2 .thai-quick-routes a {
    align-items: center;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0;
    color: #fff;
    display: inline-flex;
    flex: 1 1 0;
    font-size: 13px;
    font-weight: 900;
    justify-content: center;
    min-height: 50px;
    min-width: 0;
    padding: 0 12px;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
    white-space: nowrap;
}

body.weather-home-v2 .thai-quick-routes a:hover {
    background: #0f766e;
    color: #fff;
    transform: translateY(-2px);
}

body.weather-home-v2 .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    width: min(640px, 100%);
}

body.weather-home-v2 .home-btn {
    align-items: center;
    border: 0;
    display: inline-flex;
    font-size: 14px;
    font-weight: 900;
    gap: 8px;
    min-height: 38px;
    padding: 0 13px;
    text-decoration: none;
}

body.weather-home-v2 .hero-actions .home-btn {
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0;
    font-size: 13px;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
}

body.weather-home-v2 .thai-quick-routes .home-btn {
    border-radius: 0 !important;
    gap: 8px;
    min-height: 50px;
    padding: 0 12px;
}

body.weather-home-v2 .home-btn-primary {
    background: #b71f2a;
    color: #fff;
}

body.weather-home-v2 .home-btn-light {
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

body.weather-home-v2 .home-btn:hover {
    color: #fff;
    filter: brightness(0.96);
}

body.weather-home-v2 .thai-hero-map-link {
    align-items: center;
    backdrop-filter: blur(16px);
    background: rgba(16, 34, 30, 0.72);
    color: #fff;
    display: inline-flex;
    font-size: 13px;
    font-weight: 900;
    gap: 8px;
    padding: 8px 12px;
    margin-top: 8px;
    position: static;
    width: fit-content;
    text-decoration: none;
}

body.weather-home-v2 .forecast-stack {
    align-content: start;
    background: transparent;
    border: 0;
    display: grid;
    gap: 14px;
    padding: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: min(470px, 38%);
}

body.weather-home-v2 .forecast-stack-label {
    align-self: start;
    backdrop-filter: blur(14px);
    background: rgba(16, 34, 30, 0.58);
    color: #fff;
    justify-self: start;
    padding: 8px 11px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

body.weather-home-v2 .forecast-day {
    backdrop-filter: blur(20px);
    background: linear-gradient(135deg, rgba(8, 30, 28, 0.54), rgba(8, 30, 28, 0.26));
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-left: 5px solid #20d6c7;
    color: #fff;
    display: grid;
    gap: 12px;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    min-height: 96px;
    padding: 12px 14px;
    transform: translateX(0);
}

body.weather-home-v2 .forecast-day:nth-child(3) {
    transform: translateX(-34px);
}

body.weather-home-v2 .forecast-day:nth-child(4) {
    transform: translateX(-68px);
}

body.weather-home-v2 .forecast-date {
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

body.weather-home-v2 .forecast-day img {
    height: 40px;
    width: 40px;
}

body.weather-home-v2 .forecast-condition {
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.25;
    margin: 0 0 4px;
}

body.weather-home-v2 .forecast-rain {
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    margin: 0;
}

body.weather-home-v2 .forecast-temp {
    align-self: end;
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    white-space: nowrap;
    text-shadow: 0 12px 34px rgba(0, 0, 0, 0.58);
}

body.weather-home-v2 .thai-route-board {
    background:
        linear-gradient(135deg, rgba(11, 48, 43, 0.98), rgba(18, 72, 63, 0.9)),
        url("/images/home/bangkok-weather-hero.png") center / cover no-repeat;
    border: 1px solid rgba(15, 118, 110, 0.18);
    color: #fff;
    display: grid;
    gap: 0;
    grid-template-columns: 0.92fr 1.08fr;
    margin: 30px 0 24px;
    overflow: hidden;
}

body.weather-home-v2 .thai-route-copy {
    background:
        linear-gradient(135deg, rgba(5, 27, 25, 0.64), rgba(15, 118, 110, 0.18));
    min-height: 286px;
    padding: 30px;
}

body.weather-home-v2 .thai-route-copy span {
    color: #ffe1a3;
    display: block;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 14px;
    text-transform: uppercase;
}

body.weather-home-v2 .thai-route-copy h2 {
    color: #fff;
    font-size: clamp(30px, 4vw, 54px);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 0.98;
    margin: 0 0 18px;
    max-width: 520px;
}

body.weather-home-v2 .thai-route-copy p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
    max-width: 520px;
}

body.weather-home-v2 .thai-route-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.weather-home-v2 .thai-route-tiles a {
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    min-height: 143px;
    padding: 22px;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

body.weather-home-v2 .thai-route-tiles a:nth-child(2),
body.weather-home-v2 .thai-route-tiles a:nth-child(4) {
    border-right: 0;
}

body.weather-home-v2 .thai-route-tiles a:nth-child(3),
body.weather-home-v2 .thai-route-tiles a:nth-child(4) {
    border-bottom: 0;
}

body.weather-home-v2 .thai-route-tiles a:hover {
    background: rgba(32, 214, 199, 0.2);
    color: #fff;
    transform: translateY(-2px);
}

body.weather-home-v2 .thai-route-tiles span {
    color: #ff6b79;
    display: block;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 18px;
}

body.weather-home-v2 .thai-route-tiles strong {
    display: block;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 8px;
}

body.weather-home-v2 .thai-route-tiles small {
    color: rgba(255, 255, 255, 0.68);
    display: block;
    font-size: 13px;
    font-weight: 800;
}

body.weather-home-v2 .home-grid {
    align-items: start;
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, 1fr) 360px;
}

body.weather-home-v2 .section-card {
    backdrop-filter: blur(18px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(246, 253, 250, 0.74));
    border: 1px solid rgba(15, 118, 110, 0.15);
    box-shadow: 0 20px 60px rgba(16, 34, 30, 0.08);
    margin-bottom: 22px;
    padding: 22px;
}

body.weather-home-v2 .thai-location-panel {
    background:
        linear-gradient(135deg, rgba(8, 22, 34, 0.98), rgba(5, 34, 32, 0.98));
    border: 1px solid rgba(93, 179, 156, 0.18);
    color: #fff;
    grid-column: 1 / -1;
    margin-top: 6px;
    overflow: hidden;
    padding: 0 30px 34px;
    position: relative;
}

body.weather-home-v2 .thai-location-panel::before {
    background:
        radial-gradient(circle at 18% 20%, rgba(32, 214, 199, 0.1), transparent 28%),
        radial-gradient(circle at 86% 34%, rgba(50, 89, 143, 0.18), transparent 30%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

body.weather-home-v2 .thai-location-panel .section-head,
body.weather-home-v2 .thai-location-panel .province-grid {
    position: relative;
    z-index: 1;
}

body.weather-home-v2 .thai-location-panel .section-head {
    align-items: center;
    border-bottom: 1px solid rgba(147, 209, 190, 0.18);
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 32px 0 24px;
}

body.weather-home-v2 .thai-location-panel .section-title {
    color: rgba(232, 248, 242, 0.96);
    font-size: 22px;
    letter-spacing: 1.8px;
    line-height: 1.2;
    margin: 0;
    text-transform: uppercase;
}

body.weather-home-v2 .thai-location-panel .section-note {
    color: rgba(185, 220, 208, 0.68);
    font-size: 13px;
    margin-top: 8px;
    max-width: 680px;
}

body.weather-home-v2 .location-count {
    align-items: center;
    background: rgba(67, 168, 133, 0.18);
    border: 2px solid rgba(97, 199, 164, 0.28);
    color: #9ee8c7;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 22px;
    font-weight: 900;
    justify-content: center;
    letter-spacing: 1px;
    min-height: 46px;
    min-width: 76px;
    padding: 0 18px;
}

body.weather-home-v2 .section-head {
    align-items: end;
    border-bottom: 1px solid rgba(15, 118, 110, 0.14);
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 16px;
}

body.weather-home-v2 .section-title {
    color: #0b302b;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.12;
    margin: 0 0 6px;
}

body.weather-home-v2 .section-note {
    color: #5f766f;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

body.weather-home-v2 .featured-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.weather-home-v2 .thai-featured-panel .featured-grid {
    grid-auto-flow: dense;
}

body.weather-home-v2 .city-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0%, rgba(237, 248, 244, 0.9) 100%);
    border: 1px solid rgba(15, 118, 110, 0.16);
    color: #12322b;
    min-height: 166px;
    overflow: hidden;
    padding: 16px;
    position: relative;
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

body.weather-home-v2 .thai-featured-panel .city-card:first-child {
    background:
        linear-gradient(150deg, rgba(8, 55, 50, 0.9), rgba(16, 34, 30, 0.86)),
        url("/images/home/bangkok-weather-hero.png") center / cover no-repeat;
    color: #fff;
    grid-column: span 2;
    grid-row: span 2;
    min-height: 344px;
    padding: 24px;
}

body.weather-home-v2 .thai-featured-panel .city-card:first-child .city-name,
body.weather-home-v2 .thai-featured-panel .city-card:first-child .city-condition,
body.weather-home-v2 .thai-featured-panel .city-card:first-child .city-meta {
    color: #fff;
}

body.weather-home-v2 .thai-featured-panel .city-card:first-child .city-temp {
    color: #ffe1a3;
    font-size: 54px;
}

body.weather-home-v2 .thai-featured-panel .city-card:first-child .city-weather img {
    height: 70px;
    width: 70px;
}

body.weather-home-v2 .city-card::after {
    background: linear-gradient(90deg, #20d6c7, #ff6b79);
    bottom: 0;
    content: "";
    height: 4px;
    left: 0;
    position: absolute;
    width: 100%;
}

body.weather-home-v2 .city-card:hover {
    border-color: rgba(32, 214, 199, 0.42);
    box-shadow: 0 18px 38px rgba(15, 118, 110, 0.16);
    color: #12322b;
    transform: translateY(-4px);
}

body.weather-home-v2 .city-name {
    color: #12322b;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.25;
    margin: 0 0 14px;
}

body.weather-home-v2 .city-weather {
    align-items: center;
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

body.weather-home-v2 .city-weather img {
    height: 46px;
    width: 46px;
}

body.weather-home-v2 .city-temp {
    color: #b7323c;
    font-size: 34px;
    font-weight: 900;
}

body.weather-home-v2 .city-meta,
body.weather-home-v2 .city-condition {
    color: #66786f;
    font-size: 13px;
    line-height: 1.45;
    margin: 0;
}

body.weather-home-v2 .province-grid {
    columns: initial;
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 24px 0 0;
}

body.weather-home-v2 .province-link {
    break-inside: initial;
    margin-bottom: 0;
    min-height: 88px;
}

body.weather-home-v2 .province-link a {
    align-items: flex-start;
    background:
        linear-gradient(135deg, rgba(25, 72, 64, 0.56), rgba(22, 44, 72, 0.62));
    border: 1px solid rgba(113, 190, 169, 0.28);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 5px;
    height: 100%;
    justify-content: flex-start;
    min-height: 88px;
    overflow: hidden;
    padding: 16px 18px;
    position: relative;
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

body.weather-home-v2 .province-link a:hover {
    background:
        linear-gradient(135deg, rgba(25, 94, 76, 0.74), rgba(29, 61, 96, 0.74));
    border-color: rgba(142, 236, 202, 0.5);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
    color: #fff;
    transform: translateY(-3px);
}

body.weather-home-v2 .province-name {
    color: rgba(243, 252, 248, 0.96);
    display: inline;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.18;
}

body.weather-home-v2 .province-type {
    color: #98e6c3;
    display: inline;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.2px;
    line-height: 1.18;
    text-transform: uppercase;
}

body.weather-home-v2 .windy-frame {
    background: #e7f3ef;
    border: 0;
    display: block;
    height: 420px;
    width: 100%;
}

body.weather-home-v2 .home-calendar {
    background: #10221e;
    color: #fff;
}

body.weather-home-v2 #calendar_header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

body.weather-home-v2 #calendar_header h3 {
    color: #ffe1a3;
    font-size: 16px;
    font-weight: 900;
    margin: 0;
}

body.weather-home-v2 #calendar_header i {
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    display: inline-flex;
    height: 34px;
    justify-content: center;
    width: 34px;
}

body.weather-home-v2 #calendar_header svg {
    fill: #fff;
}

body.weather-home-v2 #calendar_weekdays,
body.weather-home-v2 #calendar_content {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

body.weather-home-v2 #calendar_weekdays div {
    color: rgba(255, 255, 255, 0.62);
    font-size: 11px;
    font-weight: 900;
    text-align: center;
}

body.weather-home-v2 #calendar_content div {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: flex;
    font-size: 12px;
    font-weight: 800;
    height: 34px;
    justify-content: center;
}

body.weather-home-v2 #calendar_content .blank {
    background: transparent;
}

body.weather-home-v2 #calendar_content .today {
    background: #f3b33d;
    color: #10221e;
}

body.weather-home-v2 .sidebar-news {
    display: grid;
    gap: 12px;
}

body.weather-home-v2 .sidebar-news-item {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(20, 36, 31, 0.1);
    color: #152d26;
    display: grid;
    gap: 12px;
    grid-template-columns: 76px 1fr;
    min-height: 82px;
    padding: 8px;
    text-decoration: none;
}

body.weather-home-v2 .sidebar-news-item:hover {
    border-color: rgba(183, 31, 42, 0.32);
    color: #b71f2a;
}

body.weather-home-v2 .sidebar-news-thumb {
    background: linear-gradient(135deg, #e7fbf6, #fff4d8);
    display: block;
    height: 66px;
    overflow: hidden;
    width: 76px;
}

body.weather-home-v2 .sidebar-news-thumb img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

body.weather-home-v2 .sidebar-news-title {
    display: block;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.35;
}

body.weather-home-v2 .sidebar-news-meta {
    color: #6b7c74;
    display: block;
    font-size: 12px;
    margin-top: 5px;
}

body.weather-home-v2 .footer-type-10 {
    background: #10221e;
    color: rgba(255, 255, 255, 0.78);
}

body.weather-home-v2 .footer-type-10 .footer-wrap {
    border-top: 4px solid #f3b33d;
}

body.weather-home-v2 .footer-type-10 a {
    color: #ffe1a3;
}

@media (max-width: 1199px) {

    body.weather-home-v2 .home-hero-grid,
    body.weather-home-v2 .home-grid {
        grid-template-columns: 1fr;
    }

    body.weather-home-v2 .home-hero-grid {
        min-height: 0;
    }

    body.weather-home-v2 .hero-main {
        max-width: 780px;
        width: 100%;
    }

    body.weather-home-v2 .forecast-stack {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin-top: 24px;
        position: static;
        width: auto;
    }

    body.weather-home-v2 .forecast-stack-label {
        grid-column: 1 / -1;
    }

    body.weather-home-v2 .forecast-day,
    body.weather-home-v2 .forecast-day:nth-child(3),
    body.weather-home-v2 .forecast-day:nth-child(4) {
        transform: none;
    }

    body.weather-home-v2 .thai-route-board {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) {
    body.weather-home-v2 .home-hero {
        min-height: 0;
        padding: 36px 0 44px;
    }

    body.weather-home-v2 .hero-main {
        min-height: 0;
    }

    body.weather-home-v2 .hero-metrics,
    body.weather-home-v2 .featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.weather-home-v2 .forecast-stack {
        grid-template-columns: 1fr;
    }

    body.weather-home-v2 .thai-featured-panel .city-card:first-child {
        grid-column: span 2;
        min-height: 260px;
    }

    body.weather-home-v2 .province-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    body.weather-home-v2 .header-wrap {
        background: #071c1b;
        position: relative;
    }

    body.weather-home-v2 .header-wrap-inner {
        background:
            radial-gradient(circle at 20% 0%, rgba(32, 214, 199, 0.16), transparent 32%),
            linear-gradient(180deg, #071c1b, #10221e);
        padding: 10px 0;
    }

    body.weather-home-v2 .header-top-row .general-header-inner {
        display: grid;
        gap: 10px 8px;
        grid-template-areas:
            "menu logo"
            "search search";
        grid-template-columns: 44px minmax(0, 1fr);
        margin-left: 0;
        min-height: 0;
        padding: 10px !important;
        width: 100%;
    }

    body.weather-home-v2 .mobile-menu-toggle {
        grid-area: menu;
        position: static;
    }

    body.weather-home-v2 .header-top-row .header-logo {
        grid-area: logo;
        justify-content: center;
    }

    body.weather-home-v2 .header-top-row .header-logo img {
        height: 42px;
        max-width: 150px;
    }

    body.weather-home-v2 .header-top-row .show-search-form {
        grid-area: search;
    }

    body.weather-home-v2 .header-top-row .header-column-right {
        display: none;
        grid-area: unit;
        grid-column: auto;
        justify-self: end;
        min-width: 0;
        width: 100%;
    }

    body.weather-home-v2 .header-top-row .header-select-city {
        gap: 4px;
        justify-content: flex-end;
        min-width: 0;
        width: 100%;
    }

    body.weather-home-v2 .header-top-row .header-select-unit {
        font-size: 0;
        min-height: 36px;
        min-width: 46px;
        overflow: hidden;
        padding: 0 4px;
        width: 46px;
    }

    body.weather-home-v2 .header-top-row .header-select-unit select {
        font-size: 12px;
        max-width: 38px;
        min-width: 0;
    }

    body.weather-home-v2 .header-top-row .tdb-search-form-inner {
        min-height: 40px;
    }

    body.weather-home-v2 .header-top-row .tdb-head-search-form-input {
        height: 40px;
    }

    body.weather-home-v2 .header-bottom {
        margin-top: 0;
    }

    body.weather-home-v2 .header-bottom .general-header-inner.site-main-menu {
        background: transparent;
        border: 0;
        display: flex;
        min-height: 0;
        padding: 14px;
        width: 100%;
    }

    body.weather-home-v2 .header-bottom .header-column-left,
    body.weather-home-v2 .header-bottom .header-select-city {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    body.weather-home-v2 .header-bottom .menu-select-city__title {
        justify-content: flex-start;
        width: 100%;
    }

    body.weather-home-v2 .header-bottom .header-location-quick-links {
        display: grid;
        gap: 8px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    body.weather-home-v2 .header-bottom .header-location-quick-links a {
        justify-content: flex-start;
        max-width: none;
        width: 100%;
    }

    body.weather-home-v2 .header-bottom .header-menu-link {
        align-items: stretch;
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    body.weather-home-v2 .header-bottom .header-menu-link a {
        justify-content: flex-start;
        width: 100%;
    }

    body.weather-home-v2 .home-shell {
        padding-bottom: 36px;
    }

    body.weather-home-v2 .home-hero {
        background:
            linear-gradient(180deg, rgba(9, 36, 35, 0.72) 0%, rgba(9, 36, 35, 0.24) 42%, rgba(249, 248, 242, 1) 100%),
            url("/images/home/bangkok-weather-hero.png") center top / cover no-repeat;
        padding-top: 26px;
    }

    body.weather-home-v2 .hero-main,
    body.weather-home-v2 .section-card {
        padding: 16px;
    }

    body.weather-home-v2 .hero-main {
        padding: 0;
    }

    body.weather-home-v2 .hero-title {
        font-size: 34px;
    }

    body.weather-home-v2 .hero-intro {
        font-size: 15px;
        line-height: 1.5;
        margin: 14px 0 18px;
    }

    body.weather-home-v2 .hero-current {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 16px;
        padding: 14px;
    }

    body.weather-home-v2 .thai-season-strip {
        grid-template-columns: 1fr;
    }

    body.weather-home-v2 .thai-season-strip div {
        border-bottom: 1px solid rgba(20, 36, 31, 0.1);
        border-right: 0;
        min-height: 0;
    }

    body.weather-home-v2 .thai-season-strip div:last-child {
        border-bottom: 0;
    }

    body.weather-home-v2 .hero-temp {
        min-height: 82px;
        min-width: 0;
        padding: 10px 12px;
        width: 100%;
    }

    body.weather-home-v2 .hero-temp img {
        height: 50px;
        width: 50px;
    }

    body.weather-home-v2 .hero-temp strong {
        font-size: 48px;
    }

    body.weather-home-v2 .hero-condition {
        font-size: 22px;
    }

    body.weather-home-v2 .hero-metrics {
        gap: 8px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.weather-home-v2 .featured-grid {
        grid-template-columns: 1fr;
    }

    body.weather-home-v2 .metric-card {
        display: grid;
        grid-template-columns: 24px 1fr;
        min-height: 78px;
        padding: 11px;
    }

    body.weather-home-v2 .metric-card svg,
    body.weather-home-v2 .metric-card i {
        grid-row: span 2;
        margin-bottom: 0;
    }

    body.weather-home-v2 .metric-card span,
    body.weather-home-v2 .metric-card strong {
        align-self: center;
    }

    body.weather-home-v2 .metric-card strong {
        font-size: 16px;
    }

    body.weather-home-v2 .thai-quick-routes {
        margin: 16px 0;
    }

    body.weather-home-v2 .hero-actions {
        gap: 8px;
    }

    body.weather-home-v2 .home-btn {
        min-height: 40px;
        padding: 0 12px;
    }

    body.weather-home-v2 .forecast-stack {
        padding: 12px;
    }

    body.weather-home-v2 .forecast-day {
        min-height: 0;
        padding: 12px;
    }

    body.weather-home-v2 .thai-route-board {
        margin-left: -1px;
        margin-right: -1px;
    }

    body.weather-home-v2 .thai-route-copy {
        min-height: 240px;
        padding: 22px;
    }

    body.weather-home-v2 .thai-route-copy h2 {
        font-size: 32px;
    }

    body.weather-home-v2 .thai-route-tiles {
        grid-template-columns: 1fr;
    }

    body.weather-home-v2 .thai-route-tiles a {
        border-right: 0;
        min-height: 112px;
        padding: 18px;
    }

    body.weather-home-v2 .thai-route-tiles a:nth-child(3) {
        border-bottom: 1px solid rgba(20, 36, 31, 0.1);
    }

    body.weather-home-v2 .thai-featured-panel .city-card:first-child {
        grid-column: span 1;
        grid-row: span 1;
        min-height: 230px;
    }

    body.weather-home-v2 .forecast-day {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    body.weather-home-v2 .forecast-temp {
        grid-column: 1 / -1;
    }

    body.weather-home-v2 .section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    body.weather-home-v2 .section-title {
        font-size: 24px;
    }

    body.weather-home-v2 .thai-location-panel .section-head {
        align-items: flex-start;
        gap: 14px;
        padding: 22px 0 18px;
    }

    body.weather-home-v2 .thai-location-panel .section-title {
        font-size: 19px;
    }

    body.weather-home-v2 .province-grid {
        grid-template-columns: 1fr;
        padding: 18px 0 0;
    }

    body.weather-home-v2 .province-link {
        min-height: 78px;
    }

    body.weather-home-v2 .province-link a {
        min-height: 78px;
        padding: 14px;
    }

    body.weather-home-v2 .province-name {
        font-size: 18px;
    }

    body.weather-home-v2 .windy-frame {
        height: 330px;
    }
}

body.weather-home-v2 .thai-location-panel {
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid rgba(20, 36, 31, 0.12) !important;
    color: #082757 !important;
}

body.weather-home-v2 .thai-location-panel::before {
    display: none !important;
}

body.weather-home-v2 .thai-location-panel .section-head {
    border-bottom: 1px solid rgba(20, 36, 31, 0.12) !important;
    padding: 0 0 20px !important;
}

body.weather-home-v2 .thai-location-panel .section-title {
    color: #31443c !important;
    font-size: 18px !important;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

body.weather-home-v2 .thai-location-panel .section-note {
    color: #6d7d76 !important;
}

body.weather-home-v2 .thai-location-panel .location-count {
    background: #f7fbf9 !important;
    border: 1px solid rgba(20, 36, 31, 0.14) !important;
    color: #31443c !important;
}

body.weather-home-v2 .province-grid {
    gap: 14px !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    padding: 20px 0 0 !important;
}

body.weather-home-v2 .province-link a {
    align-items: center !important;
    background: #fbfdfc !important;
    border: 1px solid rgba(20, 36, 31, 0.14) !important;
    color: #082757 !important;
    flex-direction: row !important;
    gap: 8px !important;
    min-height: 56px !important;
    padding: 0 16px !important;
}

body.weather-home-v2 .province-link a:hover {
    background: #f0faf6 !important;
    border-color: rgba(15, 118, 110, 0.3) !important;
    color: #18332e !important;
}

body.weather-home-v2 .province-name {
    color: inherit !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
}

body.weather-home-v2 .province-type {
    color: #4f6b62 !important;
    font-size: 12px !important;
    margin-top: 0 !important;
}

@media (max-width: 991.98px) {
    body.weather-home-v2 .province-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767.98px) {
    body.weather-home-v2 .province-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Final location dropdown pass: keep the menu readable over the hero artwork. */
body.site-weather-theme .header-bottom,
body.site-weather-theme .header-bottom>.container,
body.site-weather-theme .site-main-menu,
body.site-weather-theme .site-main-menu .menu-select-city {
    position: relative;
}

body.site-weather-theme .site-main-menu .menu-select-city__list {
    background: linear-gradient(180deg, rgba(7, 27, 25, 0.99), rgba(8, 31, 29, 0.98)) !important;
    border: 1px solid rgba(142, 232, 223, 0.34) !important;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.46) !important;
    left: 0 !important;
    margin-top: 10px !important;
    max-width: min(1120px, calc(100vw - 48px)) !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    right: auto !important;
    top: 100% !important;
    width: min(1120px, calc(100vw - 48px)) !important;
    z-index: 3000 !important;
}

body.site-weather-theme .site-main-menu .menu-select-city__list.active {
    display: block !important;
}

body.site-weather-theme .menu-location-grid {
    display: grid !important;
    gap: 12px !important;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)) !important;
    list-style: none !important;
    margin: 0 !important;
    max-height: min(62vh, 620px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding: 18px !important;
    width: 100% !important;
}

body.site-weather-theme .menu-location-grid::-webkit-scrollbar {
    width: 10px;
}

body.site-weather-theme .menu-location-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.06);
}

body.site-weather-theme .menu-location-grid::-webkit-scrollbar-thumb {
    background: rgba(142, 232, 223, 0.42);
}

body.site-weather-theme .menu-location-item {
    min-width: 0 !important;
}

body.site-weather-theme .menu-location-item a {
    align-items: flex-start !important;
    background: rgba(255, 255, 255, 0.11) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: rgba(255, 255, 255, 0.96) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    justify-content: center !important;
    min-height: 66px !important;
    padding: 12px 14px !important;
}

body.site-weather-theme .menu-location-item a:hover,
body.site-weather-theme .menu-location-item a:focus {
    background: rgba(32, 214, 199, 0.2) !important;
    border-color: rgba(32, 214, 199, 0.62) !important;
    color: #fff !important;
    transform: none !important;
}

body.site-weather-theme .menu-location-item span {
    color: inherit !important;
    display: block !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
}

body.site-weather-theme .menu-location-item small {
    color: #8ee8df !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

@media (min-width: 1200px) {
    body.site-weather-theme .site-main-menu .menu-select-city__list {
        width: 1060px !important;
    }
}

@media (max-width: 1199.98px) {
    body.weather-home-v2 .thai-quick-routes {
        flex-wrap: wrap;
    }

    body.weather-home-v2 .thai-quick-routes a {
        flex-basis: calc(33.333% - 7px);
    }
}

@media (max-width: 767.98px) {
    body.site-weather-theme .site-main-menu .menu-select-city__list {
        left: 0 !important;
        max-width: 100% !important;
        position: relative !important;
        top: auto !important;
        width: 100% !important;
    }

    body.site-weather-theme .menu-location-grid {
        grid-template-columns: 1fr !important;
        max-height: 58vh !important;
        padding: 12px !important;
    }

    body.weather-home-v2 .thai-quick-routes a {
        flex-basis: calc(50% - 5px);
    }
}

/* Align the home header chrome with the hero accent bar. */
@media (min-width: 768px) {
    body.weather-home-v2 .header-top-row .general-header-inner {
        transform: translateX(-13px);
        width: calc(100% + 32px);
    }

    body.weather-home-v2 .header-bottom .general-header-inner.site-main-menu {
        transform: translateX(-13px);
    }
}

/* Bright sky theme for every page except the home hero. */
body.site-weather-theme:not(.weather-home-v2) {
    --sky-blue: #2f8ddd;
    --sky-blue-strong: #1f73c9;
    --sky-blue-soft: #eaf5ff;
    --sky-border: #d8e8f7;
    --sky-ink: #0b2346;
    --sky-muted: #607188;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0) 0, rgba(247, 251, 255, 0.94) 330px, #f8fbff 100%),
        url("/themes/tinhte/public/images/bg_home.jpg") top center / 100% 330px no-repeat,
        #f8fbff !important;
    color: var(--sky-ink);
}

body.site-weather-theme:not(.weather-home-v2) .header-wrap {
    background:
        linear-gradient(180deg, rgba(29, 146, 230, 0.12), rgba(255, 255, 255, 0.54)),
        url("/themes/tinhte/public/images/bg_home.jpg") top center / cover no-repeat !important;
    color: var(--sky-ink);
}

body.site-weather-theme:not(.weather-home-v2) .header-wrap-inner {
    background: transparent !important;
    padding: 28px 0 20px;
}

body.site-weather-theme:not(.weather-home-v2) .header-top-row .general-header-inner {
    background: transparent;
    padding: 0 4px;
}

body.site-weather-theme:not(.weather-home-v2) .header-top-row .header-logo {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 12px;
    box-shadow: 0 12px 34px rgba(35, 112, 190, 0.12);
    min-height: 48px;
    padding: 0 14px;
}

body.site-weather-theme:not(.weather-home-v2) .header-top-row .tdb-search-form-inner {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 38px rgba(28, 113, 196, 0.14);
    grid-template-columns: minmax(0, 1fr) 52px;
    min-height: 48px;
}

body.site-weather-theme:not(.weather-home-v2) .header-top-row .tdb-head-search-form-input {
    color: var(--sky-ink);
    font-size: 15px;
    height: 48px;
    padding: 0 18px;
}

body.site-weather-theme:not(.weather-home-v2) .header-top-row .tdb-head-search-form-input::placeholder {
    color: #7b8da3;
}

body.site-weather-theme:not(.weather-home-v2) .header-top-row .tdb-head-search-form-btn {
    background: transparent;
    color: var(--sky-blue-strong);
    height: 48px;
    width: 52px;
}

body.site-weather-theme:not(.weather-home-v2) .header-top-row .header-select-unit {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(160, 203, 239, 0.92);
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(28, 113, 196, 0.16);
    color: var(--sky-ink);
    min-height: 44px;
    padding: 0 14px;
}

body.site-weather-theme:not(.weather-home-v2) .header-top-row .header-select-unit select {
    color: var(--sky-ink);
}

body.site-weather-theme:not(.weather-home-v2) .header-bottom {
    margin-top: 26px;
}

body.site-weather-theme:not(.weather-home-v2) .header-bottom .general-header-inner.site-main-menu {
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 14px;
    box-shadow: 0 18px 46px rgba(35, 112, 190, 0.13);
    padding: 12px;
}

body.site-weather-theme:not(.weather-home-v2) .header-bottom .menu-select-city__title,
body.site-weather-theme:not(.weather-home-v2) .header-bottom .header-location-quick-links a,
body.site-weather-theme:not(.weather-home-v2) .header-bottom .header-menu-link a {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(191, 216, 241, 0.82);
    border-radius: 9px;
    color: #24415f;
    min-height: 42px;
    padding: 0 18px;
}

body.site-weather-theme:not(.weather-home-v2) .header-bottom .menu-select-city__title,
body.site-weather-theme:not(.weather-home-v2) .header-bottom .header-location-quick-links a.is-active,
body.site-weather-theme:not(.weather-home-v2) .header-bottom .header-location-quick-links a:hover,
body.site-weather-theme:not(.weather-home-v2) .header-bottom .header-location-quick-links a:focus,
body.site-weather-theme:not(.weather-home-v2) .header-bottom .header-menu-link a:hover,
body.site-weather-theme:not(.weather-home-v2) .header-bottom .header-menu-link a:focus {
    background: linear-gradient(180deg, #3c9be4, #2878cd);
    border-color: rgba(31, 115, 201, 0.42);
    box-shadow: 0 10px 22px rgba(40, 120, 205, 0.22);
    color: #fff;
}

body.site-weather-theme:not(.weather-home-v2) .header-bottom .header-location-quick-links a:first-child:not(.is-active) {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(191, 216, 241, 0.82);
    box-shadow: none;
    color: #24415f;
}

body.site-weather-theme:not(.weather-home-v2) .header-bottom .menu-select-city__title i:first-child,
body.site-weather-theme:not(.weather-home-v2) .header-bottom .header-menu-link a i {
    color: currentColor;
}

body.site-weather-theme:not(.weather-home-v2) .site-main-menu .menu-select-city__list,
body.site-weather-theme:not(.weather-home-v2) .list-search-location {
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid var(--sky-border) !important;
    border-radius: 14px !important;
    box-shadow: 0 28px 70px rgba(28, 113, 196, 0.18) !important;
    color: var(--sky-ink);
}

body.site-weather-theme:not(.weather-home-v2) .menu-location-item a,
body.site-weather-theme:not(.weather-home-v2) .search-location-item a {
    background: #f8fbff !important;
    border: 1px solid #e0ecf8 !important;
    border-radius: 10px;
    color: var(--sky-ink) !important;
}

body.site-weather-theme:not(.weather-home-v2) .menu-location-item a:hover,
body.site-weather-theme:not(.weather-home-v2) .menu-location-item a:focus,
body.site-weather-theme:not(.weather-home-v2) .search-location-item.active a,
body.site-weather-theme:not(.weather-home-v2) .search-location-item a:hover {
    background: var(--sky-blue-soft) !important;
    border-color: #9bc8f3 !important;
    color: var(--sky-blue-strong) !important;
}

body.site-weather-theme:not(.weather-home-v2) .menu-location-item small,
body.site-weather-theme:not(.weather-home-v2) .search-location-item small {
    color: var(--sky-blue-strong) !important;
}

body.site-weather-theme:not(.weather-home-v2)>#app>.container:first-of-type {
    margin-top: 24px;
}

body.site-weather-theme:not(.weather-home-v2) .breadcrumb {
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(218, 232, 247, 0.72);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(35, 112, 190, 0.08);
    color: var(--sky-muted);
    min-height: 56px;
    padding: 16px 20px;
}

body.site-weather-theme:not(.weather-home-v2) .breadcrumb a {
    color: var(--sky-blue-strong);
    font-weight: 900;
}

body.site-weather-theme:not(.weather-home-v2) .menu-location {
    background: transparent !important;
    border: 0;
}

body.site-weather-theme:not(.weather-home-v2) .menu-location .nav {
    gap: clamp(10px, 3vw, 46px);
    justify-content: space-between;
}

body.site-weather-theme:not(.weather-home-v2) .menu-location .nav-pills .nav-link {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--sky-border);
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(35, 112, 190, 0.08);
    color: #24415f;
    font-weight: 900;
    min-height: 42px;
    padding: 10px 18px;
}

body.site-weather-theme:not(.weather-home-v2) .menu-location .nav-pills .nav-link.active,
body.site-weather-theme:not(.weather-home-v2) .menu-location .nav-pills .show>.nav-link {
    background: linear-gradient(180deg, #3c9be4, #2878cd);
    border-color: rgba(31, 115, 201, 0.4);
    box-shadow: 0 12px 26px rgba(40, 120, 205, 0.24);
    color: #fff;
}

body.site-weather-theme:not(.weather-home-v2) .card,
body.site-weather-theme:not(.weather-home-v2) .section-card,
body.site-weather-theme:not(.weather-home-v2) .static-page-card,
body.site-weather-theme:not(.weather-home-v2) .province-list-card {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(218, 232, 247, 0.86) !important;
    border-radius: 16px !important;
    box-shadow: 0 18px 54px rgba(35, 112, 190, 0.1) !important;
    color: var(--sky-ink);
}

body.site-weather-theme:not(.weather-home-v2) .card-body {
    padding: 15px 0px;
}

body.site-weather-theme:not(.weather-home-v2) .weather-main-title,
body.site-weather-theme:not(.weather-home-v2) .card-title,
body.site-weather-theme:not(.weather-home-v2) .font-h2,
body.site-weather-theme:not(.weather-home-v2) h1,
body.site-weather-theme:not(.weather-home-v2) h2,
body.site-weather-theme:not(.weather-home-v2) h3 {
    color: var(--sky-ink);
}

body.site-weather-theme:not(.weather-home-v2) .current-temperature {
    color: #e5353f;
}

body.site-weather-theme:not(.weather-home-v2) .weather-detail-location,
body.site-weather-theme:not(.weather-home-v2) .weather-item,
body.site-weather-theme:not(.weather-home-v2) .day-item {
    background: rgba(248, 251, 255, 0.86) !important;
    border: 1px solid rgba(218, 232, 247, 0.9) !important;
    border-radius: 14px !important;
    box-shadow: none !important;
    color: var(--sky-ink) !important;
}

body.site-weather-theme:not(.weather-home-v2) .weather-icon,
body.site-weather-theme:not(.weather-home-v2) .weather-detail-location svg,
body.site-weather-theme:not(.weather-home-v2) .current-icon svg {
    color: var(--sky-blue-strong);
    fill: currentColor;
}

body.site-weather-theme:not(.weather-home-v2) .btn-primary,
body.site-weather-theme:not(.weather-home-v2) .btn-outline-primary:hover,
body.site-weather-theme:not(.weather-home-v2) .site-error-action {
    background: linear-gradient(180deg, #3c9be4, #2878cd) !important;
    border-color: rgba(31, 115, 201, 0.45) !important;
    box-shadow: 0 12px 26px rgba(40, 120, 205, 0.22);
    color: #fff !important;
}

body.site-weather-theme:not(.weather-home-v2) .btn-outline-primary {
    background: rgba(255, 255, 255, 0.76);
    border-color: #b8d8f5;
    color: var(--sky-blue-strong);
    font-weight: 900;
}

body.site-weather-theme:not(.weather-home-v2) .footer-type-10 {
    background: rgba(255, 255, 255, 0.82);
    border-top: 1px solid var(--sky-border);
    color: var(--sky-ink);
}

body.site-weather-theme:not(.weather-home-v2) .site-error-shell {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.2), #f8fbff 340px),
        url("/themes/tinhte/public/images/bg_home.jpg") top center / cover no-repeat;
}

body.site-weather-theme:not(.weather-home-v2) .site-error-panel {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--sky-border);
    border-radius: 16px;
    color: var(--sky-ink);
    box-shadow: 0 18px 54px rgba(35, 112, 190, 0.1);
}

body.site-weather-theme:not(.weather-home-v2) .site-error-panel h1 {
    color: var(--sky-ink);
}

@media (max-width: 767.98px) {
    body.site-weather-theme:not(.weather-home-v2) .header-wrap-inner {
        padding: 16px 0;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-top-row .general-header-inner {
        background: rgba(255, 255, 255, 0.34);
        border: 1px solid rgba(255, 255, 255, 0.7);
        border-radius: 14px;
        padding: 12px;
    }

    body.site-weather-theme:not(.weather-home-v2) .card-body {
        padding: 0px;
    }

    body.site-weather-theme:not(.weather-home-v2) .menu-location .nav {
        gap: 10px;
    }
}

/* Home bright redesign: sync the header and hero with the sky theme. */
body.weather-home-v2 {
    --sky-blue: #2f8ddd;
    --sky-blue-strong: #1f73c9;
    --sky-blue-soft: #eaf5ff;
    --sky-border: #d8e8f7;
    --sky-ink: #0b2346;
    --sky-muted: #516885;
    background: #f8fbff;
    color: var(--sky-ink);
}

body.weather-home-v2 .header-wrap-inner {
    background: transparent !important;
    padding: 28px 0 0;
}

body.weather-home-v2 .header-top-row .general-header-inner {
    background: transparent;
    border: 0;
    padding: 0 4px;
    transform: none !important;
    width: auto !important;
}

body.weather-home-v2 .header-top-row .header-logo {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 12px;
    box-shadow: 0 12px 34px rgba(35, 112, 190, 0.12);
    min-height: 48px;
    padding: 0 14px;
}

body.weather-home-v2 .header-top-row .tdb-search-form-inner {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 38px rgba(28, 113, 196, 0.14);
    grid-template-columns: minmax(0, 1fr) 52px;
    min-height: 48px;
}

body.weather-home-v2 .header-top-row .tdb-head-search-form-input {
    color: var(--sky-ink);
    font-size: 15px;
    height: 48px;
    padding: 0 18px;
}

body.weather-home-v2 .header-top-row .tdb-head-search-form-input::placeholder {
    color: #7b8da3;
}

body.weather-home-v2 .header-top-row .tdb-head-search-form-btn {
    background: transparent;
    color: var(--sky-blue-strong);
    height: 48px;
    width: 52px;
}

body.weather-home-v2 .header-top-row .header-select-unit {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(160, 203, 239, 0.92);
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(28, 113, 196, 0.16);
    color: var(--sky-ink);
    min-height: 44px;
    padding: 0 14px;
}

body.weather-home-v2 .header-top-row .header-select-unit select {
    color: var(--sky-ink);
}

body.weather-home-v2 .header-bottom {
    margin-top: 22px;
}

body.weather-home-v2 .header-bottom .general-header-inner.site-main-menu {
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 14px;
    box-shadow: 0 18px 46px rgba(35, 112, 190, 0.13);
    display: flex;
    padding: 12px;
    transform: none !important;
    width: 100%;
}

body.weather-home-v2 .header-bottom .header-column-left,
body.weather-home-v2 .header-bottom .header-select-city {
    min-width: 0;
    width: 100%;
}

body.weather-home-v2 .header-bottom .menu-select-city__title,
body.weather-home-v2 .header-bottom .header-location-quick-links a,
body.weather-home-v2 .header-bottom .header-menu-link a {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(191, 216, 241, 0.82);
    border-radius: 9px;
    color: #24415f;
    min-height: 42px;
    padding: 0 18px;
}

body.weather-home-v2 .header-bottom .menu-select-city__title {
    background: linear-gradient(180deg, #ff6d7b, #ee5063);
    border-color: rgba(238, 80, 99, 0.45);
    box-shadow: 0 10px 22px rgba(238, 80, 99, 0.2);
    color: #fff;
}

body.weather-home-v2 .header-bottom .header-location-quick-links a:first-child,
body.weather-home-v2 .header-bottom .header-location-quick-links a.is-active,
body.weather-home-v2 .header-bottom .header-location-quick-links a:hover,
body.weather-home-v2 .header-bottom .header-location-quick-links a:focus,
body.weather-home-v2 .header-bottom .header-menu-link a:hover,
body.weather-home-v2 .header-bottom .header-menu-link a:focus {
    background: linear-gradient(180deg, #2495e9, #1479d4);
    border-color: rgba(31, 115, 201, 0.42);
    box-shadow: 0 10px 22px rgba(40, 120, 205, 0.22);
    color: #fff;
}

body.weather-home-v2 .header-bottom .menu-select-city__title i:first-child,
body.weather-home-v2 .header-bottom .header-menu-link a i {
    color: currentColor;
}

body.weather-home-v2 .home-shell {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0) 0, rgba(248, 251, 255, 0.9) 860px, #f8fbff 100%);
    color: var(--sky-ink);
}

body.weather-home-v2 .home-hero {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.84) 42%, rgba(255, 255, 255, 0.28) 78%),
        linear-gradient(180deg, rgba(110, 193, 255, 0.18) 0%, rgba(255, 255, 255, 0.2) 72%, #f8fbff 100%),
        url("/images/home/bangkok-weather-hero.png") center / cover no-repeat;
    color: var(--sky-ink);
    min-height: 900px;
    padding: 272px 0 64px;
}

body.weather-home-v2 .home-hero::after {
    background:
        radial-gradient(circle at 10% 8%, rgba(255, 255, 255, 0.7), transparent 20%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.28));
}

body.weather-home-v2 .hero-main {
    color: var(--sky-ink);
}

body.weather-home-v2 .hero-main::before {
    display: none;
}

body.weather-home-v2 .thai-hero-kicker span {
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(191, 216, 241, 0.8);
    border-radius: 6px;
    box-shadow: 0 8px 18px rgba(35, 112, 190, 0.08);
    color: var(--sky-blue-strong);
}

body.weather-home-v2 .thai-hero-kicker span:first-child {
    background: linear-gradient(180deg, #3c9be4, #2878cd);
    border-color: rgba(31, 115, 201, 0.42);
    color: #fff;
}

body.weather-home-v2 .hero-title {
    color: var(--sky-ink);
    text-shadow: none;
}

body.weather-home-v2 .hero-title a {
    color: #ff5262;
    text-shadow: none;
}

body.weather-home-v2 .hero-intro,
body.weather-home-v2 .hero-feels,
body.weather-home-v2 .forecast-rain {
    color: var(--sky-muted);
}

body.weather-home-v2 .thai-hero-signals span,
body.weather-home-v2 .thai-quick-routes a {
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(218, 232, 247, 0.86);
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(35, 112, 190, 0.08);
    color: #24415f;
}

body.weather-home-v2 .thai-quick-routes a:first-child,
body.weather-home-v2 .thai-quick-routes a:hover,
body.weather-home-v2 .thai-quick-routes a:focus {
    background: linear-gradient(180deg, #2495e9, #1479d4);
    border-color: rgba(31, 115, 201, 0.42);
    box-shadow: 0 10px 22px rgba(40, 120, 205, 0.22);
    color: #fff;
    transform: none;
}

body.weather-home-v2 .thai-quick-routes .home-btn-primary,
body.weather-home-v2 .thai-quick-routes .home-btn-light {
    background: rgba(255, 255, 255, 0.76);
    border-color: rgba(218, 232, 247, 0.86);
    box-shadow: 0 8px 18px rgba(35, 112, 190, 0.08);
    color: #24415f;
}

body.weather-home-v2 .hero-current,
body.weather-home-v2 .metric-card,
body.weather-home-v2 .thai-season-strip,
body.weather-home-v2 .forecast-day {
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(218, 232, 247, 0.9);
    border-radius: 14px;
    box-shadow: 0 18px 54px rgba(35, 112, 190, 0.11);
    color: var(--sky-ink);
}

body.weather-home-v2 .hero-current {
    padding: 18px;
}

body.weather-home-v2 .hero-temp {
    background: transparent;
    min-width: 150px;
    padding: 0 8px;
}

body.weather-home-v2 .hero-temp strong {
    color: var(--sky-blue-strong);
}

body.weather-home-v2 .hero-condition,
body.weather-home-v2 .metric-card strong,
body.weather-home-v2 .thai-season-strip strong,
body.weather-home-v2 .forecast-date,
body.weather-home-v2 .forecast-condition,
body.weather-home-v2 .forecast-temp {
    color: var(--sky-ink);
    text-shadow: none;
}

body.weather-home-v2 .metric-card {
    min-height: 96px;
    padding: 16px;
}

body.weather-home-v2 .metric-card svg,
body.weather-home-v2 .metric-card i {
    color: #ff5a6a;
}

body.weather-home-v2 .metric-card span,
body.weather-home-v2 .thai-season-strip span {
    color: var(--sky-muted);
}

body.weather-home-v2 .thai-season-strip {
    overflow: hidden;
}

body.weather-home-v2 .thai-season-strip div {
    background: transparent;
    border-right: 1px solid rgba(218, 232, 247, 0.9);
}

body.weather-home-v2 .forecast-stack-label {
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(218, 232, 247, 0.86);
    border-radius: 6px;
    color: var(--sky-blue-strong);
}

body.weather-home-v2 .forecast-day {
    border-left: 5px solid #18a8f2;
    min-height: 108px;
    padding: 16px 18px;
}

body.weather-home-v2 .home-panel,
body.weather-home-v2 .section-card,
body.weather-home-v2 .forecast-stack,
body.weather-home-v2 .forecast-day {
    border-radius: 14px;
}

@media (max-width: 767.98px) {
    body.weather-home-v2 .home-hero {
        min-height: 0;
        padding-top: 24px;
    }

    body.weather-home-v2 .header-top-row .general-header-inner {
        background: rgba(255, 255, 255, 0.34);
        border: 1px solid rgba(255, 255, 255, 0.7);
        border-radius: 14px;
        padding: 12px !important;
    }

    body.weather-home-v2 .header-bottom .general-header-inner.site-main-menu {
        border-radius: 14px;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    body.weather-home-v2 .home-hero {
        padding-top: 300px;
    }
}

/* Home lower content: bright weather dashboard */
body.weather-home-v2 .home-shell>.container {
    position: relative;
    z-index: 2;
}

body.weather-home-v2 .home-hero+.container {
    margin-top: 34px;
}

body.weather-home-v2 .thai-route-board {
    display: none;
}

body.weather-home-v2 .home-grid {
    align-items: start;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) 380px;
}

body.weather-home-v2 .section-card {
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(191, 216, 241, 0.82);
    border-radius: 16px;
    box-shadow: 0 22px 58px rgba(35, 112, 190, 0.12);
    color: var(--sky-ink);
    margin-bottom: 24px;
    padding: 26px;
}

body.weather-home-v2 .section-head {
    align-items: center;
    border-bottom: 0;
    display: flex;
    gap: 14px;
    justify-content: flex-start;
    margin-bottom: 22px;
    padding-bottom: 0;
}

body.weather-home-v2 .section-head>div {
    min-width: 0;
}

body.weather-home-v2 .thai-featured-panel .section-head::before {
    background: url("/themes/tinhte/public/images/day.png") center / contain no-repeat;
    content: "";
    flex: 0 0 54px;
    height: 54px;
}

body.weather-home-v2 .section-title {
    color: #082757;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.08;
    margin: 0 0 6px;
}

body.weather-home-v2 .section-note {
    color: #6d7f93;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    margin: 0;
}

body.weather-home-v2 .thai-featured-panel {
    padding: 24px;
}

body.weather-home-v2 .featured-grid {
    display: grid;
    gap: 14px;
    grid-auto-flow: dense;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.weather-home-v2 .city-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 255, 0.92));
    border: 1px solid rgba(191, 216, 241, 0.92);
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(35, 112, 190, 0.08);
    color: #082757;
    min-height: 150px;
    overflow: hidden;
    padding: 18px 20px;
    position: relative;
    text-decoration: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

body.weather-home-v2 .city-card::after {
    background: linear-gradient(90deg, #18a8f2, #ff5262);
    bottom: 0;
    content: "";
    height: 4px;
    left: 0;
    position: absolute;
    width: 100%;
}

body.weather-home-v2 .city-card:hover,
body.weather-home-v2 .city-card:focus {
    border-color: rgba(36, 149, 233, 0.48);
    box-shadow: 0 18px 40px rgba(35, 112, 190, 0.16);
    color: #082757;
    transform: translateY(-3px);
}

body.weather-home-v2 .thai-featured-panel .city-card:first-child {
    align-content: end;
    background:
        linear-gradient(90deg, rgba(21, 129, 211, 0.86) 0%, rgba(21, 129, 211, 0.56) 42%, rgba(255, 255, 255, 0.1) 100%),
        url("/images/home/bangkok-weather-hero.png") center / cover no-repeat;
    border-color: rgba(255, 255, 255, 0.72);
    box-shadow: 0 18px 48px rgba(20, 121, 212, 0.2);
    color: #fff;
    display: grid;
    grid-column: span 2;
    grid-row: span 2;
    min-height: 334px;
    padding: 26px 28px;
}

body.weather-home-v2 .thai-featured-panel .city-card:first-child::after {
    background: linear-gradient(90deg, #18a8f2, #ff5262);
}

body.weather-home-v2 .city-name {
    color: #082757;
    font-size: 19px;
    font-weight: 900;
    line-height: 1.2;
    margin: 0 0 12px;
}

body.weather-home-v2 .thai-featured-panel .city-card:first-child .city-name {
    color: #fff;
    font-size: 25px;
    margin-bottom: 8px;
}

body.weather-home-v2 .city-weather {
    align-items: center;
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
}

body.weather-home-v2 .city-weather img {
    height: 44px;
    width: 44px;
}

body.weather-home-v2 .city-temp {
    color: #ff5262;
    font-size: 38px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
}

body.weather-home-v2 .thai-featured-panel .city-card:first-child .city-weather img {
    height: 78px;
    width: 78px;
}

body.weather-home-v2 .thai-featured-panel .city-card:first-child .city-temp {
    color: #fff;
    font-size: 66px;
}

body.weather-home-v2 .city-meta {
    color: #617185;
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    font-weight: 800;
    gap: 10px;
    line-height: 1.35;
    margin: 0 0 3px;
}

body.weather-home-v2 .city-condition {
    color: #334a68;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
    margin: 0;
}

body.weather-home-v2 .thai-featured-panel .city-card:first-child .city-meta,
body.weather-home-v2 .thai-featured-panel .city-card:first-child .city-condition {
    color: rgba(255, 255, 255, 0.94);
    font-size: 16px;
}

body.weather-home-v2 .windy-frame {
    background: #dff1ff;
    border: 0;
    border-radius: 14px;
    box-shadow: inset 0 0 0 1px rgba(191, 216, 241, 0.82);
    display: block;
    height: 390px;
    overflow: hidden;
    width: 100%;
}

body.weather-home-v2 .home-calendar {
    padding: 22px;
}

body.weather-home-v2 #calendar_header {
    align-items: center;
    background: linear-gradient(180deg, #eaf5ff, #dff0ff);
    border: 1px solid rgba(160, 203, 239, 0.7);
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
    min-height: 54px;
    padding: 0 14px;
}

body.weather-home-v2 #calendar_header h3 {
    color: #1f73c9;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 0.8px;
    margin: 0;
    text-transform: uppercase;
}

body.weather-home-v2 #calendar_header i {
    align-items: center;
    background: rgba(255, 255, 255, 0.86);
    border-radius: 10px;
    color: #1f73c9;
    cursor: pointer;
    display: inline-flex;
    height: 34px;
    justify-content: center;
    width: 34px;
}

body.weather-home-v2 #calendar_header svg {
    fill: currentColor;
}

body.weather-home-v2 #calendar_weekdays,
body.weather-home-v2 #calendar_content {
    display: grid;
    gap: 7px;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

body.weather-home-v2 #calendar_weekdays {
    margin-bottom: 8px;
}

body.weather-home-v2 #calendar_weekdays div {
    color: #082757;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
}

body.weather-home-v2 #calendar_weekdays div:first-child {
    color: #ff5262;
}

body.weather-home-v2 #calendar_content div {
    align-items: center;
    background: #eef5fc;
    border-radius: 6px;
    color: #082757;
    display: flex;
    font-size: 12px;
    font-weight: 800;
    height: 34px;
    justify-content: center;
}

body.weather-home-v2 #calendar_content .blank {
    background: transparent;
}

body.weather-home-v2 #calendar_content .today {
    background: #ff5262;
    box-shadow: 0 10px 20px rgba(255, 82, 98, 0.24);
    color: #fff;
}

body.weather-home-v2 .thai-location-panel {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(191, 216, 241, 0.82);
    color: var(--sky-ink);
    overflow: hidden;
    padding: 26px;
}

body.weather-home-v2 .thai-location-panel::before {
    display: none;
}

body.weather-home-v2 .thai-location-panel .section-head {
    border-bottom: 1px solid rgba(191, 216, 241, 0.72);
    padding: 0 0 18px;
}

body.weather-home-v2 .thai-location-panel .section-title {
    color: #082757;
}

body.weather-home-v2 .thai-location-panel .section-note {
    color: #6d7f93;
}

body.weather-home-v2 .location-count {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(191, 216, 241, 0.86);
    border-radius: 999px;
    color: #24415f;
}

body.weather-home-v2 .province-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0;
}

body.weather-home-v2 .province-link {
    min-height: 58px;
}

body.weather-home-v2 .province-link a {
    align-items: center;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(191, 216, 241, 0.86);
    border-radius: 10px;
    box-shadow: none;
    color: #082757;
    display: flex;
    flex-direction: row;
    gap: 8px;
    height: 100%;
    min-height: 58px;
    padding: 0 16px;
}

body.weather-home-v2 .province-link a:hover,
body.weather-home-v2 .province-link a:focus {
    background: #fff;
    border-color: rgba(36, 149, 233, 0.46);
    box-shadow: 0 14px 30px rgba(35, 112, 190, 0.14);
    color: #082757;
    transform: translateY(-2px);
}

body.weather-home-v2 .province-name {
    color: #082757;
    font-size: 17px;
}

body.weather-home-v2 .province-type {
    color: #2b7fd4;
    font-size: 12px;
}

body.weather-home-v2 .sidebar-news-item {
    border-color: rgba(191, 216, 241, 0.82);
    border-radius: 12px;
}

body.weather-home-v2 .sidebar-news-thumb {
    border-radius: 10px;
}

@media (max-width: 1199.98px) {
    body.weather-home-v2 .home-grid {
        grid-template-columns: 1fr;
    }

    body.weather-home-v2 .windy-frame {
        height: 430px;
    }
}

@media (max-width: 991.98px) {

    body.weather-home-v2 .featured-grid,
    body.weather-home-v2 .province-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    body.weather-home-v2 .home-hero+.container {
        margin-top: 22px;
    }

    body.weather-home-v2 .section-card,
    body.weather-home-v2 .thai-featured-panel,
    body.weather-home-v2 .thai-location-panel {
        border-radius: 14px;
        padding: 18px;
    }

    body.weather-home-v2 .section-title {
        font-size: 25px;
    }

    body.weather-home-v2 .featured-grid,
    body.weather-home-v2 .province-grid {
        grid-template-columns: 1fr;
    }

    body.weather-home-v2 .thai-featured-panel .city-card:first-child {
        grid-column: auto;
        grid-row: auto;
        min-height: 280px;
    }

    body.weather-home-v2 .windy-frame {
        height: 360px;
    }
}

/* Keep the home header aligned with the hero/content container edges. */
body.weather-home-v2 .header-wrap .container,
body.weather-home-v2 .header-bottom>.container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.weather-home-v2 .mobile-hourly-panel,
body.weather-home-v2 .mobile-home-nav {
    display: none;
}

@media (max-width: 767.98px) {
    body.weather-home-v2 {
        background: #f5fbff;
        padding-bottom: 88px;
    }

    body.weather-home-v2 .header-wrap {
        background: transparent;
        position: absolute;
        z-index: 40;
    }

    body.weather-home-v2 .header-wrap-inner {
        padding: 14px 0 0;
    }

    body.weather-home-v2 .header-wrap .container,
    body.weather-home-v2 .header-bottom>.container,
    body.weather-home-v2 .home-hero>.container,
    body.weather-home-v2 .home-shell>.container {
        max-width: none !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        width: 100% !important;
    }

    body.weather-home-v2 .header-top-row .general-header-inner {
        backdrop-filter: blur(18px);
        background: rgba(255, 255, 255, 0.94) !important;
        border: 1px solid rgba(255, 255, 255, 0.9) !important;
        border-radius: 22px !important;
        box-shadow: 0 18px 46px rgba(35, 112, 190, 0.14);
        display: grid;
        gap: 16px;
        grid-template-columns: 78px 1fr;
        grid-template-rows: 76px 58px;
        min-height: 0;
        padding: 16px !important;
    }

    body.weather-home-v2 .header-top-row .header-column-left {
        display: contents;
    }

    body.weather-home-v2 .mobile-menu-toggle {
        align-items: center;
        background: rgba(255, 255, 255, 0.96);
        border: 0;
        border-radius: 16px;
        box-shadow: 0 12px 30px rgba(35, 112, 190, 0.12);
        display: inline-flex;
        flex-direction: column;
        grid-column: 1;
        grid-row: 1;
        height: 62px;
        justify-content: center;
        position: static;
        width: 62px;
    }

    body.weather-home-v2 .mobile-menu-toggle span {
        background: #2087df;
        border-radius: 999px;
        display: block;
        height: 3px;
        width: 26px;
    }

    body.weather-home-v2 .mobile-menu-toggle span+span {
        margin-top: 6px;
    }

    body.weather-home-v2 .header-top-row .header-logo {
        background: transparent;
        border: 0;
        box-shadow: none;
        grid-column: 2;
        grid-row: 1;
        justify-self: start;
        min-height: 62px;
        padding: 0;
    }

    body.weather-home-v2 .header-top-row .header-logo img {
        height: 58px;
        max-width: 190px;
        object-fit: contain;
        width: auto;
    }

    body.weather-home-v2 .header-top-row .show-search-form {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
    }

    body.weather-home-v2 .header-top-row .tdb-drop-down-search,
    body.weather-home-v2 .header-top-row .tdb-drop-down-search-inner,
    body.weather-home-v2 .header-top-row .tdb-search-form {
        width: 100%;
    }

    body.weather-home-v2 .header-top-row .tdb-search-form-inner {
        background: #fff;
        border: 1px solid #d9e9f9;
        border-radius: 999px;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75);
        grid-template-columns: minmax(0, 1fr) 52px;
        min-height: 58px;
    }

    body.weather-home-v2 .header-top-row .tdb-head-search-form-input {
        font-size: 19px;
        height: 58px;
        padding: 0 18px 0 24px;
    }

    body.weather-home-v2 .header-top-row .tdb-head-search-form-btn {
        height: 58px;
        width: 52px;
    }

    body.weather-home-v2 .header-top-row .tdb-head-search-form-btn i {
        font-size: 15px;
    }

    body.weather-home-v2 .header-top-row .header-column-right {
        display: none;
    }

    body.weather-home-v2 .header-bottom {
        margin-top: 0px;
    }

    body.weather-home-v2 .header-bottom:not(.is-open) {
        display: none;
    }

    body.weather-home-v2 .home-hero {
        background:
            linear-gradient(180deg, rgba(186, 226, 255, 0.2) 0%, rgba(255, 255, 255, 0.28) 66%, #f8fbff 100%),
            url("/themes/tinhte/public/images/bg_home.jpg") top center / cover no-repeat;
        min-height: 0;
        padding: 260px 0 28px;
    }

    body.weather-home-v2 .home-hero::after {
        display: none;
    }

    body.weather-home-v2 .home-hero-grid {
        display: block;
    }

    body.weather-home-v2 .hero-main {
        background: transparent;
        border: 0;
        box-shadow: none;
        padding: 0;
    }

    body.weather-home-v2 .thai-hero-kicker {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 20px;
    }

    body.weather-home-v2 .thai-hero-kicker span {
        border-radius: 12px;
        font-size: 13px;
        min-height: 40px;
        padding: 0 16px;
    }

    body.weather-home-v2 .hero-title {
        font-size: clamp(42px, 12.8vw, 64px);
        line-height: 0.98;
        margin-bottom: 22px;
    }

    body.weather-home-v2 .hero-title a,
    body.weather-home-v2 .hero-title span {
        display: block;
    }

    body.weather-home-v2 .thai-hero-signals {
        display: grid;
        gap: 10px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin-bottom: 18px;
    }

    body.weather-home-v2 .thai-hero-signals span {
        align-items: center;
        border-radius: 14px;
        font-size: 13px;
        gap: 7px;
        justify-content: center;
        min-height: 52px;
        padding: 0 8px;
        text-align: center;
        white-space: normal;
    }

    body.weather-home-v2 .thai-hero-signals span::before {
        color: #2087df;
        font-family: "Font Awesome 5 Free";
        font-size: 17px;
        font-weight: 900;
    }

    body.weather-home-v2 .thai-hero-signals span:nth-child(1)::before {
        content: "\f0e9";
    }

    body.weather-home-v2 .thai-hero-signals span:nth-child(2)::before {
        content: "\f1ad";
    }

    body.weather-home-v2 .thai-hero-signals span:nth-child(3)::before {
        content: "\f773";
    }

    body.weather-home-v2 .hero-current {
        border-radius: 20px;
        display: grid;
        gap: 14px;
        grid-template-columns: auto 1fr;
        margin-bottom: 16px;
        padding: 22px 18px;
    }

    body.weather-home-v2 .hero-temp {
        align-items: center;
        display: flex;
        gap: 12px;
        min-width: 0;
        padding: 0;
    }

    body.weather-home-v2 .hero-temp img {
        height: 68px;
        width: 68px;
    }

    body.weather-home-v2 .hero-temp strong {
        color: #1f7fe0;
        font-size: 56px;
        line-height: 0.9;
    }

    body.weather-home-v2 .hero-condition {
        font-size: 24px;
        line-height: 1.15;
        margin-bottom: 8px;
    }

    body.weather-home-v2 .hero-feels {
        font-size: 14px;
        line-height: 1.45;
    }

    body.weather-home-v2 .hero-metrics {
        display: grid;
        gap: 10px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-bottom: 14px;
    }

    body.weather-home-v2 .metric-card {
        border-radius: 16px;
        display: grid;
        gap: 7px;
        grid-template-columns: 34px 1fr;
        min-height: 106px;
        padding: 16px 14px;
    }

    body.weather-home-v2 .metric-card:last-child {
        grid-column: 1 / -1;
    }

    body.weather-home-v2 .metric-card svg,
    body.weather-home-v2 .metric-card i {
        align-self: center;
        font-size: 28px;
        height: 30px;
        width: 30px;
    }

    body.weather-home-v2 .metric-card span {
        align-self: end;
        font-size: 12px;
    }

    body.weather-home-v2 .metric-card strong {
        font-size: 24px;
        grid-column: 2;
        line-height: 1.08;
    }

    body.weather-home-v2 .thai-season-strip,
    body.weather-home-v2 .thai-quick-routes,
    body.weather-home-v2 .forecast-stack {
        display: none;
    }

    body.weather-home-v2 .mobile-hourly-panel {
        backdrop-filter: blur(18px);
        background: rgba(255, 255, 255, 0.78);
        border: 1px solid rgba(218, 232, 247, 0.9);
        border-radius: 18px;
        box-shadow: 0 18px 42px rgba(35, 112, 190, 0.12);
        display: block;
        margin-top: 18px;
        overflow: hidden;
        padding: 16px;
    }

    body.weather-home-v2 .mobile-hourly-head {
        align-items: center;
        display: flex;
        justify-content: space-between;
        margin-bottom: 12px;
    }

    body.weather-home-v2 .mobile-hourly-head h2 {
        color: #1479d4;
        font-size: 15px;
        font-weight: 900;
        margin: 0;
        text-transform: uppercase;
    }

    body.weather-home-v2 .mobile-hourly-head a {
        color: #2087df;
        font-size: 13px;
        font-weight: 800;
        text-decoration: none;
    }

    body.weather-home-v2 .mobile-hourly-list {
        display: grid;
        gap: 8px;
        grid-template-columns: repeat(6, minmax(78px, 1fr));
        overflow-x: auto;
        padding-bottom: 2px;
        scroll-snap-type: x proximity;
    }

    body.weather-home-v2 .mobile-hour-card {
        align-items: center;
        background: rgba(255, 255, 255, 0.82);
        border: 1px solid rgba(218, 232, 247, 0.9);
        border-radius: 14px;
        display: grid;
        gap: 4px;
        justify-items: center;
        min-height: 100px;
        padding: 10px 8px;
        scroll-snap-align: start;
    }

    body.weather-home-v2 .mobile-hour-card span {
        color: #5b708b;
        font-size: 13px;
        font-weight: 800;
    }

    body.weather-home-v2 .mobile-hour-card img {
        height: 36px;
        width: 36px;
    }

    body.weather-home-v2 .mobile-hour-card strong {
        color: #082757;
        font-size: 20px;
        font-weight: 900;
        line-height: 1;
    }

    body.weather-home-v2 .mobile-hour-card:first-child strong,
    body.weather-home-v2 .mobile-hour-card:first-child span {
        color: #2087df;
    }

    body.weather-home-v2 .mobile-home-nav {
        align-items: center;
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(218, 232, 247, 0.9);
        border-radius: 24px 24px 0 0;
        bottom: 0;
        box-shadow: 0 -12px 34px rgba(35, 112, 190, 0.16);
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        left: 0;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        position: fixed;
        right: 0;
        z-index: 50;
    }

    body.weather-home-v2 .mobile-home-nav a {
        align-items: center;
        color: #607188;
        display: grid;
        font-size: 12px;
        font-weight: 800;
        gap: 4px;
        justify-items: center;
        line-height: 1;
        text-decoration: none;
    }

    body.weather-home-v2 .mobile-home-nav i {
        font-size: 22px;
    }

    body.weather-home-v2 .mobile-home-nav a.is-active,
    body.weather-home-v2 .mobile-home-nav a:hover,
    body.weather-home-v2 .mobile-home-nav a:focus {
        color: #2087df;
    }

    body.weather-home-v2 .home-hero+.container {
        margin-top: 0;
    }

    body.weather-home-v2 .home-grid {
        display: block;
    }
}

/* Final mobile polish: balance the home hero and match the menu overlay mockup. */
@media (max-width: 767.98px) {
    body.weather-home-v2 .header-top-row .general-header-inner {
        gap: 14px;
        grid-template-columns: 64px minmax(0, 1fr);
        grid-template-rows: 64px 56px;
        padding: 14px !important;
    }

    body.weather-home-v2 .mobile-menu-toggle {
        border-radius: 18px;
        height: 64px;
        width: 64px;
    }

    body.weather-home-v2 .mobile-menu-toggle span {
        height: 3px;
        width: 27px;
    }

    body.weather-home-v2 .mobile-menu-toggle span+span {
        margin-top: 7px;
    }

    body.weather-home-v2 .header-top-row .header-logo {
        align-items: center;
        display: flex;
        justify-content: center;
        width: 100%;
    }

    body.weather-home-v2 .header-top-row .header-logo img {
        max-height: 56px;
        max-width: min(210px, 100%);
    }

    body.weather-home-v2 .header-top-row .tdb-search-form-inner,
    body.weather-home-v2 .header-top-row .tdb-head-search-form-input,
    body.weather-home-v2 .header-top-row .tdb-head-search-form-btn {
        min-height: 40px;
        height: 40px !important;
    }

    body.weather-home-v2 .header-top-row .tdb-head-search-form-input {
        font-size: 18px;
    }

    body.weather-home-v2 .home-hero {
        padding-top: 244px;
    }

    body.weather-home-v2 .thai-hero-kicker {
        align-items: center;
        display: grid;
        gap: 12px;
        grid-template-columns: minmax(0, auto) minmax(0, 1fr);
        margin-bottom: 24px;
    }

    body.weather-home-v2 .thai-hero-kicker span {
        font-size: 13px;
        justify-content: center;
        padding: 0 14px;
        text-align: center;
        width: 100%;
    }

    body.weather-home-v2 .hero-title {
        font-size: clamp(40px, 10.8vw, 54px);
        letter-spacing: 0;
        line-height: 1.02;
        margin-bottom: 26px;
    }

    body.weather-home-v2 .thai-hero-signals {
        gap: 10px;
        margin-bottom: 20px;
    }

    body.weather-home-v2 .thai-hero-signals span {
        align-items: center;
        display: flex;
        font-size: 12px;
        font-weight: 900;
        gap: 6px;
        line-height: 1.15;
        min-height: 48px;
        padding: 0 8px;
    }

    body.weather-home-v2 .thai-hero-signals span::before {
        display: none;
    }

    body.weather-home-v2 .hero-current {
        align-items: center;
        gap: 16px;
        grid-template-columns: minmax(132px, 0.82fr) minmax(0, 1fr);
        min-height: 148px;
        padding: 20px 18px;
    }

    body.weather-home-v2 .hero-temp {
        justify-content: center;
    }

    body.weather-home-v2 .hero-temp img {
        height: 62px;
        width: 62px;
    }

    body.weather-home-v2 .hero-temp strong {
        font-size: 52px;
    }

    body.weather-home-v2 .hero-condition {
        font-size: 22px;
        margin: 0 0 8px;
    }

    body.weather-home-v2 .hero-feels {
        -webkit-line-clamp: initial !important;
        color: #516885;
        display: block !important;
        font-size: 14px;
        line-height: 1.45;
        margin: 0;
        overflow: visible !important;
    }

    body.weather-home-v2 .hero-metrics {
        border-top: 1px solid rgba(218, 232, 247, 0.9);
        gap: 12px;
        margin-top: 18px;
        padding-top: 18px;
    }

    body.weather-home-v2 .metric-card {
        align-items: center;
        gap: 8px 12px;
        grid-template-columns: 38px 1fr;
        min-height: 96px;
        padding: 15px;
    }

    body.weather-home-v2 .metric-card span,
    body.weather-home-v2 .metric-card strong {
        text-align: left;
    }

    body.weather-home-v2 .metric-card strong {
        font-size: 23px;
    }

    body.weather-home-v2 .mobile-home-nav {
        border-radius: 24px 24px 0 0;
        min-height: 76px;
    }

    body.weather-home-v2 .header-bottom {
        background:
            linear-gradient(180deg, #148cf5 0%, #39a6ff 34%, #dff4ff 100%) !important;
        bottom: 0;
        display: none;
        height: 100vh;
        left: 0;
        overflow-y: auto;
        padding: 28px 10px 20px;
        position: fixed !important;
        right: 0;
        top: 0;
        width: 100vw;
        z-index: 20100;
    }

    body.weather-home-v2 .header-bottom.is-open {
        display: block !important;
    }

    body.weather-home-v2 .header-bottom>.container {
        background: transparent;
        box-shadow: none;
        display: block;
        height: auto;
        margin: 0;
        max-width: none !important;
        padding: 0 !important;
        width: 100% !important;
    }

    body.weather-home-v2 .mobile-menu-panel-head {
        align-items: center;
        background: transparent;
        color: #fff;
        display: flex;
        justify-content: space-between;
        margin: 0 20px 28px;
        min-height: 64px;
        padding: 0;
        position: static;
    }

    body.weather-home-v2 .mobile-menu-panel-head strong {
        color: #fff;
        font-size: 38px;
        font-weight: 900;
        letter-spacing: 0;
        line-height: 1;
    }

    body.weather-home-v2 .mobile-menu-close {
        align-items: center;
        background: rgba(255, 255, 255, 0.18);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 18px;
        box-shadow: 0 18px 34px rgba(10, 97, 188, 0.18);
        color: #fff;
        display: inline-flex;
        height: 64px;
        justify-content: center;
        width: 64px;
    }

    body.weather-home-v2 .mobile-menu-close i {
        font-size: 30px;
    }

    body.weather-home-v2 .header-bottom .general-header-inner.site-main-menu {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 251, 255, 0.92)),
            url("/themes/tinhte/public/images/bg_home.jpg") bottom right / 170% auto no-repeat;
        border: 1px solid rgba(255, 255, 255, 0.86);
        border-radius: 30px;
        box-shadow: 0 24px 60px rgba(18, 102, 186, 0.2);
        display: block;
        min-height: calc(100vh - 126px);
        padding: 22px;
    }

    body.weather-home-v2 .header-bottom .header-column-left,
    body.weather-home-v2 .header-bottom .header-select-city {
        display: block;
        width: 100%;
    }

    body.weather-home-v2 .header-bottom .menu-select-city {
        display: block;
        margin-bottom: 22px;
    }

    body.weather-home-v2 .header-bottom .menu-select-city__title {
        background: linear-gradient(180deg, #ff6d85, #ff405c);
        border: 0;
        border-radius: 18px;
        box-shadow: 0 14px 30px rgba(255, 64, 92, 0.24);
        color: #fff;
        display: grid;
        font-size: 22px;
        font-weight: 900;
        gap: 14px;
        grid-template-columns: 44px 1fr 24px;
        min-height: 76px;
        padding: 0 22px;
        width: 100%;
    }

    body.weather-home-v2 .header-bottom .menu-select-city__title i:first-child {
        font-size: 30px;
    }

    body.weather-home-v2 .header-bottom .menu-select-city__title i:last-child {
        font-size: 26px;
    }

    body.weather-home-v2 .header-bottom .menu-select-city__list {
        display: none !important;
    }

    body.weather-home-v2 .header-bottom .header-location-quick-links {
        display: grid;
        gap: 12px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    body.weather-home-v2 .header-bottom .header-location-quick-links a {
        align-items: center;
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid #d7e9fb;
        border-radius: 18px;
        box-shadow: 0 12px 28px rgba(35, 112, 190, 0.08);
        color: #082757;
        display: flex;
        font-size: 18px;
        font-weight: 900;
        gap: 12px;
        justify-content: flex-start;
        min-height: 78px;
        padding: 0 18px;
        text-decoration: none;
        white-space: normal;
    }

    body.weather-home-v2 .header-bottom .header-location-quick-links a::before {
        color: #2087df;
        content: "\f041";
        font-family: FontAwesome;
        font-size: 25px;
        font-weight: normal;
        line-height: 1;
    }

    body.weather-home-v2 .header-bottom .header-location-quick-links a:first-child,
    body.weather-home-v2 .header-bottom .header-location-quick-links a.is-active {
        background: linear-gradient(180deg, #2495e9, #087be5);
        border-color: transparent;
        box-shadow: 0 18px 38px rgba(8, 123, 229, 0.26);
        color: #fff;
    }

    body.weather-home-v2 .header-bottom .header-location-quick-links a:first-child::before,
    body.weather-home-v2 .header-bottom .header-location-quick-links a.is-active::before {
        color: #fff;
    }

    body.weather-home-v2 .header-bottom .header-menu-link {
        display: none;
    }

    body.mobile-menu-open.weather-home-v2 .mobile-menu-toggle {
        display: none;
    }
}

/* Mobile home match pass for the provided Bangkok design. */
@media (max-width: 767.98px) {
    body.weather-home-v2 {
        background: #eef8ff;
    }

    body.weather-home-v2 .home-shell {
        background: #eef8ff;
        padding-bottom: 92px;
    }

    body.weather-home-v2 .header-wrap-inner {
        padding-top: 13px;
    }

    body.weather-home-v2 .header-wrap .container,
    body.weather-home-v2 .home-hero>.container,
    body.weather-home-v2 .home-shell>.container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    body.weather-home-v2 .header-top-row .general-header-inner {
        background: rgba(255, 255, 255, 0.95) !important;
        border-color: rgba(255, 255, 255, 0.92) !important;
        border-radius: 24px !important;
        box-shadow: 0 18px 50px rgba(42, 130, 201, 0.16);
        gap: 12px 18px;
        grid-template-columns: 48px minmax(0, 1fr);
        grid-template-rows: 48px 45px;
        padding: 14px 15px !important;
    }

    body.weather-home-v2 .mobile-menu-toggle {
        border-radius: 15px;
        height: 48px;
        width: 48px;
    }

    body.weather-home-v2 .mobile-menu-toggle span {
        height: 2px;
        width: 22px;
    }

    body.weather-home-v2 .mobile-menu-toggle span+span {
        margin-top: 5px;
    }

    body.weather-home-v2 .header-top-row .header-logo {
        justify-content: flex-start;
        min-height: 48px;
    }

    body.weather-home-v2 .header-top-row .header-logo img {
        max-height: 48px;
        max-width: min(176px, 100%);
    }

    body.weather-home-v2 .header-top-row .tdb-search-form-inner {
        border-color: #d8e8fb;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.82);
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        min-height: 40px;
        position: relative;
    }

    body.weather-home-v2 .header-top-row .tdb-search-form-inner::before {
        border: 3px solid #61758f;
        border-radius: 999px;
        content: "";
        height: 12px;
        left: 17px;
        pointer-events: none;
        position: absolute;
        top: 12px;
        width: 15px;
    }

    body.weather-home-v2 .header-top-row .tdb-search-form-inner::after {
        background: #61758f;
        border-radius: 999px;
        content: "";
        height: 3px;
        left: 30px;
        pointer-events: none;
        position: absolute;
        top: 20px;
        transform: rotate(45deg);
        transform-origin: left center;
        width: 10px;
    }

    body.weather-home-v2 .header-top-row .tdb-head-search-form-input,
    body.weather-home-v2 .header-top-row .tdb-head-search-form-btn {
        height: 40px !important;
        min-height: 40px;
    }

    body.weather-home-v2 .header-top-row .tdb-head-search-form-input {
        color: #082757;
        font-size: 16px;
        grid-column: 2;
        padding: 0 6px;
    }

    body.weather-home-v2 .header-top-row .tdb-head-search-form-input::placeholder {
        color: #6a7d98;
        opacity: 1;
    }

    body.weather-home-v2 .header-top-row .tdb-head-search-form-btn {
        background: transparent;
        border-radius: 999px;
        color: #087be5;
        grid-column: 3;
        width: 44px;
    }

    body.weather-home-v2 .home-hero {
        background:
            linear-gradient(180deg, rgba(142, 209, 255, 0.86) 0%, rgba(211, 240, 255, 0.36) 38%, rgba(248, 252, 255, 0.96) 100%),
            url("/themes/tinhte/public/images/bg_home.jpg") top center / cover no-repeat;
        color: #082757;
        padding: 174px 0 24px;
    }

    body.weather-home-v2 .hero-main {
        max-width: none;
        width: 100%;
    }

    body.weather-home-v2 .thai-hero-kicker {
        display: grid;
        gap: 16px;
        grid-template-columns: minmax(0, 0.72fr) minmax(0, 0.92fr);
        margin: 0 0 15px;
    }

    body.weather-home-v2 .thai-hero-kicker span {
        align-items: center;
        border: 1px solid #d8e8fb;
        border-radius: 13px;
        box-shadow: 0 12px 30px rgba(42, 130, 201, 0.1);
        display: flex;
        font-size: 13px;
        justify-content: center;
        min-height: 41px;
        padding: 0 10px;
        white-space: nowrap;
    }

    body.weather-home-v2 .thai-hero-kicker span:first-child {
        background: linear-gradient(180deg, #39a7ee, #1479d4);
        border: 0;
    }

    body.weather-home-v2 .thai-hero-kicker span:last-child {
        background: rgba(255, 255, 255, 0.92);
        color: #1479d4;
    }

    body.weather-home-v2 .hero-title {
        color: #082757;
        font-size: clamp(40px, 10vw, 48px);
        line-height: 1.02;
        margin: 0 0 16px;
        text-shadow: none;
    }

    body.weather-home-v2 .hero-title a,
    body.weather-home-v2 .hero-title span {
        color: #ff5268;
        text-shadow: none;
    }

    body.weather-home-v2 .thai-hero-signals {
        gap: 10px;
        margin-bottom: 12px;
    }

    body.weather-home-v2 .thai-hero-signals span {
        background: rgba(255, 255, 255, 0.92);
        border: 1px solid #d8e8fb;
        border-radius: 13px;
        box-shadow: 0 12px 30px rgba(42, 130, 201, 0.1);
        color: #082757;
        font-size: 13px;
        min-height: 38px;
        padding: 0 8px;
    }

    body.weather-home-v2 .thai-hero-signals i {
        color: #2087df;
        font-size: 15px;
    }

    body.weather-home-v2 .hero-current,
    body.weather-home-v2 .metric-card,
    body.weather-home-v2 .mobile-hourly-panel {
        background: rgba(255, 255, 255, 0.94);
        border: 1px solid #d8e8fb;
        box-shadow: 0 15px 38px rgba(42, 130, 201, 0.12);
    }

    body.weather-home-v2 .hero-current {
        border-radius: 20px;
        grid-template-columns: minmax(146px, 0.86fr) minmax(0, 1fr);
        margin-bottom: 12px;
        min-height: 100px;
        padding: 16px 18px;
    }

    body.weather-home-v2 .hero-temp {
        background: transparent;
        gap: 10px;
        justify-content: flex-start;
        min-height: 0;
        min-width: 0;
    }

    body.weather-home-v2 .hero-temp img {
        height: 58px;
        width: 58px;
    }

    body.weather-home-v2 .hero-temp strong {
        color: #2385e4;
        font-size: 54px;
    }

    body.weather-home-v2 .hero-condition {
        color: #082757;
        font-size: 21px;
        margin-bottom: 7px;
    }

    body.weather-home-v2 .hero-feels {
        color: #516885;
        font-size: 13px;
        font-weight: 800;
        line-height: 1.45;
    }

    body.weather-home-v2 .hero-metrics {
        border-top: 0;
        gap: 12px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin: 0 0 16px;
        padding-top: 0;
    }

    body.weather-home-v2 .metric-card {
        border-radius: 17px;
        color: #082757;
        grid-template-columns: 39px minmax(0, 1fr);
        min-height: 70px;
        padding: 12px 14px;
    }

    body.weather-home-v2 .metric-card:last-child {
        grid-column: 1 / -1;
    }

    body.weather-home-v2 .metric-card svg,
    body.weather-home-v2 .metric-card i {
        color: #ff5268;
        font-size: 27px;
        height: 29px;
        margin: 0;
        width: 29px;
    }

    body.weather-home-v2 .metric-card span {
        color: #516885;
        font-size: 12px;
        font-weight: 900;
        margin: 0;
    }

    body.weather-home-v2 .metric-card strong {
        color: #082757;
        font-size: 23px;
        line-height: 1;
    }

    body.weather-home-v2 .mobile-hourly-panel {
        border-radius: 18px;
        margin-top: 10px;
        padding: 13px 12px;
    }

    body.weather-home-v2 .mobile-hourly-list {
        gap: 7px;
        grid-template-columns: repeat(6, minmax(62px, 1fr));
    }

    body.weather-home-v2 .mobile-hour-card {
        border-radius: 12px;
        min-height: 78px;
        padding: 8px 6px;
    }

    body.weather-home-v2 .mobile-hour-card img {
        height: 30px;
        width: 30px;
    }

    body.weather-home-v2 .mobile-home-nav {
        border-radius: 22px 22px 0 0;
        min-height: 72px;
        padding-top: 9px;
    }
}

/* Mobile menu overlay match pass. */
@media (max-width: 767.98px) {
    body.weather-home-v2 .header-bottom {
        background: linear-gradient(180deg, #6cbbec 0%, #7dceff 44%, #d9f2ff 100%) !important;
        border-radius: 0;
        padding: 14px 10px 18px;
    }

    body.weather-home-v2 .mobile-menu-panel-head {
        margin: 0 20px 18px;
        min-height: 50px;
    }

    body.weather-home-v2 .mobile-menu-panel-head strong {
        font-size: 25px;
        line-height: 1;
    }

    body.weather-home-v2 .mobile-menu-close {
        background: rgba(255, 255, 255, 0.18);
        border: 1px solid rgba(255, 255, 255, 0.24);
        border-radius: 15px;
        box-shadow: 0 14px 30px rgba(9, 95, 188, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.18);
        height: 44px;
        width: 44px;
    }

    body.weather-home-v2 .mobile-menu-close i {
        color: #fff;
        font-size: 21px;
        line-height: 1;
    }

    body.weather-home-v2 .header-bottom .general-header-inner.site-main-menu {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 252, 255, 0.9) 44%, rgba(233, 247, 255, 0.46) 100%),
            url("/themes/tinhte/public/images/bg_home.jpg") bottom right / 172% auto no-repeat;
        border: 1px solid rgba(255, 255, 255, 0.86);
        border-radius: 24px;
        box-shadow: 0 22px 48px rgba(17, 99, 189, 0.12);
        min-height: calc(100vh - 82px);
        padding: 20px;
    }

    body.weather-home-v2 .header-bottom .menu-select-city {
        margin-bottom: 22px;
    }

    body.weather-home-v2 .header-bottom .menu-select-city__title {
        align-items: center;
        background: linear-gradient(180deg, #ff6d86 0%, #ff3f5f 100%);
        border: 1px solid rgba(255, 255, 255, 0.38);
        border-radius: 17px;
        box-shadow: 0 14px 28px rgba(255, 64, 95, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.22);
        display: grid;
        font-size: 18px;
        gap: 16px;
        grid-template-columns: 36px minmax(0, 1fr) 20px;
        min-height: 62px;
        padding: 0 20px;
    }

    body.weather-home-v2 .header-bottom .menu-select-city__title i:first-child {
        color: transparent !important;
        display: block;
        font-size: 0;
        height: 28px;
        position: relative;
        width: 30px;
    }

    body.weather-home-v2 .header-bottom .menu-select-city__title i:first-child::before {
        background:
            linear-gradient(90deg, #fff 0 30%, transparent 30% 36%, #fff 36% 64%, transparent 64% 70%, #fff 70% 100%);
        border-radius: 2px;
        content: "";
        height: 22px;
        left: 0;
        position: absolute;
        top: 6px;
        width: 30px;
    }

    body.weather-home-v2 .header-bottom .menu-select-city__title i:first-child::after {
        background: #fff;
        border-radius: 999px 999px 999px 0;
        box-shadow: inset 0 0 0 6px #ff526d;
        content: "";
        height: 18px;
        left: 11px;
        position: absolute;
        top: 0;
        transform: rotate(-45deg);
        width: 18px;
    }

    body.weather-home-v2 .header-bottom .menu-select-city__title i:last-child {
        color: #fff;
        font-size: 23px;
        justify-self: end;
    }

    body.weather-home-v2 .header-bottom .header-location-quick-links {
        gap: 10px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.weather-home-v2 .header-bottom .header-location-quick-links a {
        align-items: center;
        background: rgba(255, 255, 255, 0.94);
        border: 1px solid #cfe6fb;
        border-radius: 15px;
        box-shadow: 0 10px 24px rgba(34, 123, 207, 0.07);
        color: #082757;
        display: grid;
        font-size: 14px;
        font-weight: 900;
        gap: 9px;
        grid-template-columns: 22px minmax(0, 1fr);
        justify-content: initial;
        line-height: 1.12;
        min-height: 64px;
        padding: 0 14px;
        position: relative;
        text-align: left;
    }

    body.weather-home-v2 .header-bottom .header-location-quick-links a::before {
        background: transparent;
        border: 2px solid #1689ef;
        border-radius: 999px 999px 999px 0;
        box-sizing: border-box;
        color: transparent;
        content: "";
        display: block;
        font-family: inherit;
        height: 21px;
        line-height: 1;
        position: relative;
        transform: rotate(-45deg);
        width: 21px;
    }

    body.weather-home-v2 .header-bottom .header-location-quick-links a::after {
        background: #1689ef;
        border-radius: 999px;
        content: "";
        height: 5px;
        left: 24px;
        pointer-events: none;
        position: absolute;
        top: calc(50% - 2px);
        width: 5px;
    }

    body.weather-home-v2 .header-bottom .header-location-quick-links a:first-child,
    body.weather-home-v2 .header-bottom .header-location-quick-links a.is-active {
        background: linear-gradient(180deg, #279bf3 0%, #077fe9 100%);
        border-color: transparent;
        box-shadow: 0 14px 30px rgba(8, 123, 229, 0.18);
        color: #fff;
    }

    body.weather-home-v2 .header-bottom .header-location-quick-links a:first-child::before,
    body.weather-home-v2 .header-bottom .header-location-quick-links a.is-active::before {
        border-color: #fff;
    }

    body.weather-home-v2 .header-bottom .header-location-quick-links a:first-child::after,
    body.weather-home-v2 .header-bottom .header-location-quick-links a.is-active::after {
        background: #fff;
    }

    body.weather-home-v2 .header-bottom .site-main-menu .menu-select-city__list.active {
        background:
            linear-gradient(180deg, rgba(238, 248, 255, 0.98), rgba(217, 242, 255, 0.96)) !important;
        border: 1px solid #cfe6fb !important;
        border-radius: 18px !important;
        box-shadow: 0 16px 36px rgba(34, 123, 207, 0.12) !important;
        display: block !important;
        margin-top: 10px !important;
        overflow: hidden !important;
        padding: 0 !important;
        width: 100% !important;
    }

    body.weather-home-v2 .header-bottom .menu-location-grid {
        background: transparent !important;
        display: grid !important;
        gap: 8px !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        list-style: none !important;
        margin: 0 !important;
        max-height: 50vh !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        padding: 10px !important;
        width: 100% !important;
    }

    body.weather-home-v2 .header-bottom .menu-location-grid::-webkit-scrollbar {
        width: 6px;
    }

    body.weather-home-v2 .header-bottom .menu-location-grid::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.42);
    }

    body.weather-home-v2 .header-bottom .menu-location-grid::-webkit-scrollbar-thumb {
        background: rgba(22, 137, 239, 0.34);
        border-radius: 999px;
    }

    body.weather-home-v2 .header-bottom .menu-location-item a {
        align-items: flex-start !important;
        background: rgba(255, 255, 255, 0.94) !important;
        border: 1px solid #cfe6fb !important;
        border-radius: 12px !important;
        box-shadow: 0 8px 18px rgba(34, 123, 207, 0.06) !important;
        color: #082757 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
        justify-content: center !important;
        min-height: 58px !important;
        padding: 9px 10px !important;
    }

    body.weather-home-v2 .header-bottom .menu-location-item a:hover,
    body.weather-home-v2 .header-bottom .menu-location-item a:focus {
        background: #e8f6ff !important;
        border-color: #9dd4ff !important;
        color: #082757 !important;
    }

    body.weather-home-v2 .header-bottom .menu-location-item span {
        color: inherit !important;
        font-size: 12px !important;
        font-weight: 900 !important;
        line-height: 1.15 !important;
        white-space: normal !important;
    }

    body.weather-home-v2 .header-bottom .menu-location-item small {
        color: #1689ef !important;
        font-size: 9px !important;
        font-weight: 900 !important;
        letter-spacing: 0;
        line-height: 1 !important;
    }
}

/* Final mobile featured weather layout: equal two-column cards. */
@media (max-width: 767.98px) {
    body.weather-home-v2 .thai-featured-panel .featured-grid {
        display: grid;
        gap: 10px;
        grid-auto-flow: row;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.weather-home-v2 .thai-featured-panel .city-card,
    body.weather-home-v2 .thai-featured-panel .city-card:first-child {
        align-content: initial !important;
        background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 255, 0.92)) !important;
        border: 1px solid rgba(191, 216, 241, 0.92) !important;
        border-radius: 10px;
        box-shadow: 0 10px 22px rgba(35, 112, 190, 0.07) !important;
        color: #082757 !important;
        display: block !important;
        grid-column: auto !important;
        grid-row: auto !important;
        min-height: 168px !important;
        padding: 14px 12px !important;
    }

    body.weather-home-v2 .thai-featured-panel .city-name,
    body.weather-home-v2 .thai-featured-panel .city-card:first-child .city-name {
        color: #082757 !important;
        font-size: 17px !important;
        line-height: 1.12;
        margin: 0 0 10px;
    }

    body.weather-home-v2 .thai-featured-panel .city-weather {
        gap: 8px;
        margin-bottom: 8px;
    }

    body.weather-home-v2 .thai-featured-panel .city-weather img,
    body.weather-home-v2 .thai-featured-panel .city-card:first-child .city-weather img {
        height: 34px !important;
        width: 34px !important;
    }

    body.weather-home-v2 .thai-featured-panel .city-temp,
    body.weather-home-v2 .thai-featured-panel .city-card:first-child .city-temp {
        color: #ff5262 !important;
        font-size: 38px !important;
    }

    body.weather-home-v2 .thai-featured-panel .city-meta,
    body.weather-home-v2 .thai-featured-panel .city-card:first-child .city-meta {
        color: #617185 !important;
        font-size: 12px !important;
        gap: 6px;
        line-height: 1.25;
    }

    body.weather-home-v2 .thai-featured-panel .city-condition,
    body.weather-home-v2 .thai-featured-panel .city-card:first-child .city-condition {
        color: #334a68 !important;
        font-size: 13px !important;
        line-height: 1.25;
    }
}

/* Final mobile locations directory: 3 columns with vertical scroll, no bottom nav. */
@media (max-width: 767.98px) {
    body.weather-home-v2 {
        padding-bottom: 0 !important;
    }

    body.weather-home-v2 .home-shell {
        padding-bottom: 0px !important;
    }

    body.weather-home-v2 .mobile-home-nav {
        display: none !important;
    }

    body.weather-home-v2 .thai-location-panel .province-grid {
        display: grid !important;
        gap: 8px !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        max-height: 430px;
        overflow-x: hidden;
        overflow-y: auto;
        padding: 14px 0 0 !important;
    }

    body.weather-home-v2 .thai-location-panel .province-grid::-webkit-scrollbar {
        width: 6px;
    }

    body.weather-home-v2 .thai-location-panel .province-grid::-webkit-scrollbar-track {
        background: rgba(218, 232, 247, 0.72);
    }

    body.weather-home-v2 .thai-location-panel .province-grid::-webkit-scrollbar-thumb {
        background: rgba(22, 137, 239, 0.34);
        border-radius: 999px;
    }

    body.weather-home-v2 .thai-location-panel .province-link a {
        border-radius: 12px;
        gap: 3px !important;
        justify-content: center;
        min-height: 66px !important;
        padding: 9px 8px !important;
    }

    body.weather-home-v2 .thai-location-panel .province-name {
        font-size: 12px !important;
        line-height: 1.15 !important;
        text-align: center;
        white-space: normal;
    }

    body.weather-home-v2 .thai-location-panel .province-type {
        font-size: 9px !important;
        line-height: 1 !important;
        text-align: center;
    }
}

/* Footer polish for the weather theme. */
body.site-weather-theme .footer-type-10,
body.weather-home-v2 .footer-type-10 {
    background: linear-gradient(180deg, #eef8ff 0%, #d9f2ff 100%) !important;
    border-top: 1px solid #cfe6fb !important;
    color: #082757 !important;
}

body.site-weather-theme .footer-type-10 .container,
body.weather-home-v2 .footer-type-10 .container {
    max-width: 1140px;
}

body.site-weather-theme .footer-type-10 .footer-wrap,
body.weather-home-v2 .footer-type-10 .footer-wrap {
    align-items: center;
    border-top: 0 !important;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    min-height: 104px;
    padding: 24px 0;
}

body.site-weather-theme .footer-type-10 .footer-copyright p,
body.weather-home-v2 .footer-type-10 .footer-copyright p {
    color: #334a68 !important;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.45;
    margin: 0;
}

body.site-weather-theme .footer-type-10 .menu-footer,
body.weather-home-v2 .footer-type-10 .menu-footer {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

body.site-weather-theme .footer-type-10 .menu-footer a,
body.weather-home-v2 .footer-type-10 .menu-footer a {
    color: #082757 !important;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
}

body.site-weather-theme .footer-type-10 .menu-footer a:hover,
body.site-weather-theme .footer-type-10 .menu-footer a:focus,
body.weather-home-v2 .footer-type-10 .menu-footer a:hover,
body.weather-home-v2 .footer-type-10 .menu-footer a:focus {
    color: #1689ef !important;
}

@media (max-width: 767.98px) {
    body.site-weather-theme .footer-type-10 {
        background: #eef8ff !important;
        padding: 0px;
    }

    body.site-weather-theme .footer-type-10 .container {
        background: rgba(255, 255, 255, 0.94);
        border: 1px solid #d8e8fb;
        border-radius: 0;
        box-shadow: 0 14px 34px rgba(42, 130, 201, 0.1);
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    body.site-weather-theme .footer-type-10 .footer-wrap,
    body.weather-home-v2 .footer-type-10 .footer-wrap {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        min-height: 0;
        padding: 22px 0 28px;
    }

    body.site-weather-theme .footer-type-10 .footer-copyright p {
        font-size: 13px;
    }

    body.site-weather-theme .footer-type-10 .menu-footer,
    body.weather-home-v2 .footer-type-10 .menu-footer {
        display: grid;
        gap: 8px;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        width: 100%;
    }

    body.site-weather-theme .footer-type-10 .menu-footer a {
        align-items: center;
        background: #f8fbff;
        border: 1px solid #d8e8fb;
        border-radius: 0;
        display: flex;
        font-size: 12px;
        justify-content: center;
        min-height: 40px;
        padding: 8px 6px;
        text-align: center;
    }
}

/* Mobile shared header/menu: apply the home header treatment to detail pages. */
@media (max-width: 767.98px) {
    body.site-weather-theme:not(.weather-home-v2) .header-wrap {
        background:
            linear-gradient(180deg, rgba(142, 209, 255, 0.74) 0%, rgba(238, 248, 255, 0.94) 100%),
            url("/themes/tinhte/public/images/bg_home.jpg") top center / cover no-repeat !important;
        border: 0 !important;
        box-shadow: none !important;
        position: relative;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-wrap-inner {
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        padding: 13px 0 18px !important;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-wrap .container,
    body.site-weather-theme:not(.weather-home-v2) .header-bottom>.container {
        max-width: none !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-top-row,
    body.site-weather-theme:not(.weather-home-v2) .header-bottom {
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-top-row .general-header-inner {
        background: rgba(255, 255, 255, 0.95) !important;
        border: 1px solid rgba(255, 255, 255, 0.92) !important;
        border-radius: 24px !important;
        box-shadow: 0 18px 50px rgba(42, 130, 201, 0.16) !important;
        display: grid !important;
        gap: 12px 18px !important;
        grid-template-columns: 48px minmax(0, 1fr) !important;
        grid-template-rows: 48px 45px !important;
        min-height: 0 !important;
        padding: 14px 15px !important;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-top-row .header-column-left {
        display: contents !important;
    }

    body.site-weather-theme:not(.weather-home-v2) .mobile-menu-toggle {
        align-items: center;
        background: rgba(255, 255, 255, 0.96) !important;
        border: 0 !important;
        border-radius: 15px !important;
        box-shadow: 0 12px 30px rgba(35, 112, 190, 0.12) !important;
        display: inline-flex !important;
        flex-direction: column;
        grid-column: 1 !important;
        grid-row: 1 !important;
        height: 48px !important;
        justify-content: center;
        justify-self: start !important;
        position: static !important;
        width: 48px !important;
    }

    body.site-weather-theme:not(.weather-home-v2) .mobile-menu-toggle span {
        background: #2087df !important;
        border-radius: 999px;
        display: block;
        height: 2px !important;
        width: 22px !important;
    }

    body.site-weather-theme:not(.weather-home-v2) .mobile-menu-toggle span+span {
        margin-top: 5px !important;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-top-row .header-logo {
        align-items: center !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        display: flex !important;
        grid-column: 2 !important;
        grid-row: 1 !important;
        justify-content: flex-start !important;
        justify-self: stretch !important;
        min-height: 48px !important;
        padding: 0 !important;
        width: 100% !important;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-top-row .header-logo img {
        max-height: 48px !important;
        max-width: min(176px, 100%) !important;
        object-fit: contain;
        width: auto !important;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-top-row .show-search-form {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        width: 100% !important;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-top-row .tdb-drop-down-search,
    body.site-weather-theme:not(.weather-home-v2) .header-top-row .tdb-drop-down-search-inner,
    body.site-weather-theme:not(.weather-home-v2) .header-top-row .tdb-search-form {
        width: 100% !important;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-top-row .tdb-search-form-inner {
        background: #fff !important;
        border: 1px solid #d8e8fb !important;
        border-radius: 999px !important;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.82) !important;
        display: grid !important;
        grid-template-columns: 44px minmax(0, 1fr) 44px !important;
        min-height: 45px !important;
        overflow: hidden;
        position: relative;
        width: 100% !important;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-top-row .tdb-search-form-inner::before {
        border: 3px solid #61758f;
        border-radius: 999px;
        content: "";
        height: 15px;
        left: 17px;
        pointer-events: none;
        position: absolute;
        top: 14px;
        width: 15px;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-top-row .tdb-search-form-inner::after {
        background: #61758f;
        border-radius: 999px;
        content: "";
        height: 3px;
        left: 30px;
        pointer-events: none;
        position: absolute;
        top: 29px;
        transform: rotate(45deg);
        transform-origin: left center;
        width: 10px;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-top-row .tdb-head-search-form-input,
    body.site-weather-theme:not(.weather-home-v2) .header-top-row .tdb-head-search-form-btn {
        height: 45px !important;
        min-height: 45px !important;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-top-row .tdb-head-search-form-input {
        color: #082757 !important;
        font-size: 16px !important;
        grid-column: 2 !important;
        padding: 0 6px !important;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-top-row .tdb-head-search-form-input::placeholder {
        color: #6a7d98 !important;
        opacity: 1;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-top-row .tdb-head-search-form-btn {
        background: transparent !important;
        border: 0 !important;
        border-radius: 999px !important;
        color: #087be5 !important;
        grid-column: 3 !important;
        margin: 0 !important;
        width: 44px !important;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-top-row .header-column-right {
        display: none !important;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-bottom:not(.is-open) {
        display: none !important;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-bottom {
        background: linear-gradient(180deg, #45b8ff 0%, #7dceff 44%, #d9f2ff 100%) !important;
        bottom: 0;
        display: none;
        height: 100vh;
        left: 0;
        overflow-y: auto;
        padding: 14px 10px 18px !important;
        position: fixed !important;
        right: 0;
        top: 0;
        width: 100vw;
        z-index: 20100;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-bottom.is-open {
        display: block !important;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-bottom>.container {
        background: transparent !important;
        box-shadow: none !important;
        display: block;
        height: auto;
        margin: 0;
        max-width: none !important;
        padding: 0 15px !important;
        width: 100% !important;
    }

    body.site-weather-theme:not(.weather-home-v2) .mobile-menu-panel-head {
        align-items: center;
        background: transparent;
        color: #fff;
        display: flex;
        justify-content: space-between;
        margin: 0 20px 18px;
        min-height: 50px;
        padding: 0;
        position: static;
    }

    body.site-weather-theme:not(.weather-home-v2) .mobile-menu-panel-head strong {
        color: #fff;
        font-size: 25px;
        font-weight: 900;
        line-height: 1;
    }

    body.site-weather-theme:not(.weather-home-v2) .mobile-menu-close {
        align-items: center;
        background: rgba(255, 255, 255, 0.18);
        border: 1px solid rgba(255, 255, 255, 0.24);
        border-radius: 15px;
        box-shadow: 0 14px 30px rgba(9, 95, 188, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.18);
        color: #fff;
        display: inline-flex;
        height: 44px;
        justify-content: center;
        width: 44px;
    }

    body.site-weather-theme:not(.weather-home-v2) .mobile-menu-close i {
        color: #fff;
        font-size: 21px;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-bottom .general-header-inner.site-main-menu {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 252, 255, 0.9) 44%, rgba(233, 247, 255, 0.46) 100%),
            url("/themes/tinhte/public/images/bg_home.jpg") bottom right / 172% auto no-repeat !important;
        border: 1px solid rgba(255, 255, 255, 0.86) !important;
        border-radius: 24px !important;
        box-shadow: 0 22px 48px rgba(17, 99, 189, 0.12) !important;
        display: block !important;
        min-height: calc(100vh - 82px);
        padding: 20px !important;
        width: 100% !important;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-bottom .header-column-left,
    body.site-weather-theme:not(.weather-home-v2) .header-bottom .header-select-city {
        display: block !important;
        width: 100% !important;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-bottom .menu-select-city {
        display: block;
        margin-bottom: 22px;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-bottom .menu-select-city__title {
        align-items: center;
        background: linear-gradient(180deg, #ff6d86 0%, #ff3f5f 100%) !important;
        border: 1px solid rgba(255, 255, 255, 0.38) !important;
        border-radius: 17px !important;
        box-shadow: 0 14px 28px rgba(255, 64, 95, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
        color: #fff !important;
        display: grid !important;
        font-size: 18px !important;
        font-weight: 900;
        gap: 16px;
        grid-template-columns: 36px minmax(0, 1fr) 20px;
        min-height: 62px;
        padding: 0 20px !important;
        width: 100%;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-bottom .menu-select-city__title i:first-child {
        color: transparent !important;
        display: block;
        font-size: 0 !important;
        height: 28px;
        position: relative;
        width: 30px;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-bottom .menu-select-city__title i:first-child::before {
        background:
            linear-gradient(90deg, #fff 0 30%, transparent 30% 36%, #fff 36% 64%, transparent 64% 70%, #fff 70% 100%);
        border-radius: 2px;
        content: "";
        height: 22px;
        left: 0;
        position: absolute;
        top: 6px;
        width: 30px;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-bottom .menu-select-city__title i:first-child::after {
        background: #fff;
        border-radius: 999px 999px 999px 0;
        box-shadow: inset 0 0 0 6px #ff526d;
        content: "";
        height: 18px;
        left: 11px;
        position: absolute;
        top: 0;
        transform: rotate(-45deg);
        width: 18px;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-bottom .menu-select-city__title i:last-child {
        color: #fff !important;
        font-size: 23px !important;
        justify-self: end;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-bottom .menu-select-city__list {
        display: none !important;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-bottom .site-main-menu .menu-select-city__list.active {
        background:
            linear-gradient(180deg, rgba(238, 248, 255, 0.98), rgba(217, 242, 255, 0.96)) !important;
        border: 1px solid #cfe6fb !important;
        border-radius: 18px !important;
        box-shadow: 0 16px 36px rgba(34, 123, 207, 0.12) !important;
        display: block !important;
        margin-top: 10px !important;
        max-width: 100% !important;
        overflow: hidden !important;
        padding: 0 !important;
        position: relative !important;
        top: auto !important;
        width: 100% !important;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-bottom .menu-location-grid {
        background: transparent !important;
        display: grid !important;
        gap: 8px !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        list-style: none !important;
        margin: 0 !important;
        max-height: 50vh !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        padding: 10px !important;
        width: 100% !important;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-bottom .menu-location-item a {
        align-items: flex-start !important;
        background: rgba(255, 255, 255, 0.94) !important;
        border: 1px solid #cfe6fb !important;
        border-radius: 12px !important;
        box-shadow: 0 8px 18px rgba(34, 123, 207, 0.06) !important;
        color: #082757 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
        justify-content: center !important;
        min-height: 58px !important;
        padding: 9px 10px !important;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-bottom .menu-location-item span {
        color: inherit !important;
        font-size: 12px !important;
        font-weight: 900 !important;
        line-height: 1.15 !important;
        white-space: normal !important;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-bottom .menu-location-item small {
        color: #1689ef !important;
        font-size: 9px !important;
        font-weight: 900 !important;
        line-height: 1 !important;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-bottom .header-location-quick-links {
        display: grid !important;
        gap: 10px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-bottom .header-location-quick-links a {
        align-items: center;
        background: rgba(255, 255, 255, 0.94) !important;
        border: 1px solid #cfe6fb !important;
        border-radius: 15px !important;
        box-shadow: 0 10px 24px rgba(34, 123, 207, 0.07) !important;
        color: #082757 !important;
        display: grid;
        font-size: 14px !important;
        font-weight: 900;
        gap: 9px;
        grid-template-columns: 22px minmax(0, 1fr);
        line-height: 1.12;
        min-height: 64px;
        max-width: none !important;
        overflow: visible !important;
        padding: 0 14px !important;
        position: relative;
        text-align: left;
        text-decoration: none;
        text-overflow: clip !important;
        white-space: normal !important;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-bottom .header-location-quick-links a::before {
        background: transparent;
        border: 2px solid #1689ef;
        border-radius: 999px 999px 999px 0;
        box-sizing: border-box;
        content: "";
        display: block;
        height: 21px;
        transform: rotate(-45deg);
        width: 21px;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-bottom .header-location-quick-links a::after {
        background: #1689ef;
        border-radius: 999px;
        content: "";
        height: 5px;
        left: 24px;
        pointer-events: none;
        position: absolute;
        top: calc(50% - 2px);
        width: 5px;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-bottom .header-location-quick-links a:first-child,
    body.site-weather-theme:not(.weather-home-v2) .header-bottom .header-location-quick-links a.is-active {
        background: linear-gradient(180deg, #279bf3 0%, #077fe9 100%) !important;
        border-color: transparent !important;
        color: #fff !important;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-bottom .header-location-quick-links a:first-child::before,
    body.site-weather-theme:not(.weather-home-v2) .header-bottom .header-location-quick-links a.is-active::before {
        border-color: #fff;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-bottom .header-location-quick-links a:first-child::after,
    body.site-weather-theme:not(.weather-home-v2) .header-bottom .header-location-quick-links a.is-active::after {
        background: #fff;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-bottom .header-menu-link {
        display: none !important;
    }

    body.mobile-menu-open.site-weather-theme:not(.weather-home-v2) .mobile-menu-toggle {
        display: none !important;
    }
}

/* Detail page mobile forecast grids: no horizontal sliders. */
@media (max-width: 767.98px) {

    body.page-location .list-weather-fullday,
    body.page-location .list-weather-fullday .py-1,
    body.page-location .slider_weather_fullday,
    body.page-location .slider_weather_fullday .slick-list,
    body.page-location .slider_weather_fullday .slick-track {
        max-width: 100% !important;
        overflow: visible !important;
        transform: none !important;
        width: 100% !important;
    }

    body.page-location .list-weather-fullday {
        margin-top: 12px;
        max-width: calc(100vw - 56px) !important;
        min-width: 0;
        overflow: hidden !important;
        width: 100% !important;
    }

    body.page-location .list-weather-fullday .py-1 {
        margin-bottom: 0 !important;
        max-width: 100% !important;
        padding: 0 !important;
    }

    body.page-location .weather-hourly-card,
    body.page-location .card:has(.list-weather-fullday) {
        max-width: calc(100vw - 24px);
        overflow: hidden;
    }

    body.page-location .weather-hourly-card .card-body,
    body.page-location .list-weather-fullday .card-body,
    body.page-location .card .card-body:has(.list-weather-fullday) {
        overflow: hidden;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    body.page-location .weather-hourly-card .card-title,
    body.page-location .card .card-body:has(.list-weather-fullday) .card-title {
        font-size: 19px !important;
        line-height: 1.28 !important;
        max-width: 100%;
        white-space: normal !important;
    }

    body.page-location .weather-hourly-card .card-body>*,
    body.page-location .card .card-body:has(.list-weather-fullday)>* {
        max-width: 100%;
        min-width: 0;
    }

    body.page-location .list-weather-fullday+div,
    body.page-location .list-weather-fullday~div {
        margin-top: 14px;
    }

    body.page-location .slider_weather_fullday .slick-track,
    body.page-location .slider_weather_fullday:not(.slick-initialized) {
        display: grid !important;
        gap: 10px 8px !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        padding: 0 !important;
    }

    body.page-location .slider_weather_fullday {
        display: block !important;
    }

    body.page-location .slider_weather_fullday .slick-list {
        margin: 0 !important;
        max-width: calc(100vw - 56px) !important;
    }

    body.page-location .slider_weather_fullday .slick-track {
        left: auto !important;
        max-width: calc(100vw - 56px) !important;
    }

    body.page-location .slider_weather_fullday .slick-track::before,
    body.page-location .slider_weather_fullday .slick-track::after {
        display: none !important;
    }

    body.page-location .slider_weather_fullday .slick-slide,
    body.page-location .slider_weather_fullday .weather-item {
        box-sizing: border-box !important;
        float: none !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    body.page-location .slider_weather_fullday .slick-slide {
        display: block !important;
        padding: 0 !important;
    }

    body.page-location .slider_weather_fullday .slick-slide>div {
        height: 100%;
        min-width: 0 !important;
        width: 100% !important;
    }

    body.page-location .slider_weather_fullday .weather-item {
        align-content: start;
        border-radius: 12px;
        display: grid !important;
        gap: 5px;
        grid-template-rows: auto auto 30px auto 32px;
        height: 134px !important;
        justify-items: center;
        min-height: 0 !important;
        overflow: hidden;
        padding: 9px 6px !important;
        text-align: center;
    }

    body.page-location .slider_weather_fullday .weather-item-title,
    body.page-location .slider_weather_fullday .weather-item-footer {
        font-size: 12px !important;
        line-height: 1.12;
    }

    body.page-location .slider_weather_fullday .weather-item-body {
        align-items: center;
        display: contents;
        font-size: 12px;
        gap: 4px;
        justify-items: center;
        line-height: 1.15;
        min-width: 0;
    }

    body.page-location .slider_weather_fullday .weather-item-body img {
        align-self: center;
        height: 24px !important;
        width: 24px !important;
    }

    body.page-location .slider_weather_fullday .weather-item-body div {
        align-items: center;
        display: flex;
        gap: 3px;
        justify-content: center;
        min-width: 0;
        white-space: nowrap;
    }

    body.page-location .slider_weather_fullday .weather-item-body svg {
        height: 12px !important;
    }

    body.page-location .slider_weather_fullday .weather-item-body p {
        align-self: start;
        display: -webkit-box;
        margin-top: 0;
        overflow: hidden;
        overflow-wrap: anywhere;
        text-align: center;
        width: 100%;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    body.page-location .list-weather-fullday .weather-slick-prev,
    body.page-location .list-weather-fullday .weather-slick-next {
        display: none !important;
    }

    body.page-location .forecast-days-card .card-body {
        display: grid;
        gap: 10px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-height: none !important;
        overflow: visible !important;
        padding-right: 18px !important;
    }

    body.page-location .forecast-days-card .title-main {
        grid-column: 1 / -1;
    }

    body.page-location .forecast-days-card .weather-day {
        margin-bottom: 0 !important;
        overflow: hidden !important;
        min-width: 0;
        width: auto;
    }

    body.page-location .forecast-days-card .weather-summary {
        display: block !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    body.page-location .forecast-days-card .weather-summary-content {
        align-items: center;
        display: grid !important;
        gap: 6px;
        grid-template-columns: 1fr;
        justify-items: center;
        min-height: 124px;
        min-width: 0 !important;
        padding: 10px 6px !important;
        text-align: center;
        width: 100% !important;
    }

    body.page-location .forecast-days-card .weather-summary-title {
        align-items: center;
        display: grid !important;
        gap: 4px;
        grid-template-columns: 1fr;
        justify-items: center;
        min-width: 0;
        width: 100%;
    }

    body.page-location .forecast-days-card .summary-day,
    body.page-location .forecast-days-card .summary-temperature {
        color: #092a59 !important;
        font-size: 13px !important;
        line-height: 1.15;
        min-width: 0;
        white-space: normal !important;
    }

    body.page-location .forecast-days-card .summary-temperature {
        font-size: 15px !important;
    }

    body.page-location .forecast-days-card .summary-description {
        align-items: center;
        display: flex !important;
        justify-content: center;
        min-width: 0;
    }

    body.page-location .forecast-days-card .summary-img {
        height: 30px !important;
        width: 30px !important;
    }

    body.page-location .forecast-days-card .summary-description-detail,
    body.page-location .forecast-days-card .summary-humidity,
    body.page-location .forecast-days-card .summary-speed,
    body.page-location .forecast-days-card .weather-summary-toggle {
        display: none !important;
    }

    body.page-location .forecast-days-card .weather-content {
        grid-column: 1 / -1;
    }

    body.page-location .forecast-location-page .forecast-list-card .card-body {
        overflow: hidden;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    body.page-location .forecast-location-page .forecast-list-card .title-main h1 {
        font-size: 19px !important;
        line-height: 1.28 !important;
        margin-bottom: 16px;
        white-space: normal !important;
    }

    body.page-location .forecast-location-page .forecast-list {
        display: grid;
        gap: 10px 8px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        min-width: 0;
        width: 100%;
    }

    body.page-location .forecast-location-page .forecast-list-day {
        border-radius: 12px;
        height: 134px;
        margin: 0 !important;
        min-width: 0;
        overflow: hidden;
        width: 100%;
    }

    body.page-location .forecast-location-page .forecast-list-summary {
        align-items: center;
        display: grid !important;
        gap: 5px;
        grid-template-columns: 1fr;
        grid-template-rows: 36px auto 30px;
        height: 100%;
        justify-items: center;
        min-height: 0 !important;
        min-width: 0 !important;
        padding: 9px 6px !important;
        text-align: center;
        width: 100%;
    }

    body.page-location .forecast-location-page .forecast-list-date {
        align-self: start;
        display: -webkit-box;
        font-size: 12px !important;
        line-height: 1.15;
        overflow: hidden;
        overflow-wrap: anywhere;
        text-align: center;
        white-space: normal !important;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    body.page-location .forecast-location-page .forecast-list-temp {
        font-size: 16px !important;
        justify-self: center;
        line-height: 1.1;
        white-space: nowrap;
    }

    body.page-location .forecast-location-page .forecast-list-desc {
        align-items: center;
        display: flex !important;
        justify-content: center;
        min-width: 0;
    }

    body.page-location .forecast-location-page .forecast-list-desc img {
        height: 26px !important;
        width: 26px !important;
    }

    body.page-location .forecast-location-page .forecast-list-desc span,
    body.page-location .forecast-location-page .forecast-list-rain,
    body.page-location .forecast-location-page .forecast-list-wind,
    body.page-location .forecast-location-page .forecast-list-toggle {
        display: none !important;
    }

    body.page-location .forecast-location-page .forecast-list-detail {
        display: none !important;
    }

    body.page-location .province-list-card .card-body {
        max-height: 520px !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    body.page-location .province-list-card .card-body::-webkit-scrollbar {
        width: 6px;
    }

    body.page-location .province-list-card .card-body::-webkit-scrollbar-thumb {
        background: #c8d6e6;
        border-radius: 999px;
    }

    body.page-location .province-list-card .cover-content-bottom .row,
    body.site-weather-theme .province-list-card .row {
        display: grid !important;
        gap: 8px !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        margin: 0 !important;
    }

    body.page-location .province-list-card .cover-content-bottom .row>[class*="col-"],
    body.site-weather-theme .province-list-card [class*="col-"] {
        max-width: none !important;
        padding: 0 !important;
        width: auto !important;
    }

    body.page-location .province-list-card .item-link {
        margin: 0 !important;
        min-width: 0;
    }

    body.page-location .province-list-card .font-h3 {
        margin: 0;
        min-width: 0;
    }

    body.page-location .province-list-card .item-link a,
    body.site-weather-theme .province-list-card a {
        align-items: center;
        border-radius: 12px !important;
        display: flex !important;
        font-size: 12px !important;
        justify-content: center;
        line-height: 1.15 !important;
        min-height: 54px !important;
        padding: 8px 6px !important;
        text-align: center;
        white-space: normal !important;
    }

    body.page-location .province-list-card .item-link a i,
    body.site-weather-theme .province-list-card a i {
        display: none !important;
    }

    body.page-location .air-quality-content {
        align-items: center;
        display: grid !important;
        gap: 12px;
        grid-template-columns: minmax(96px, 0.8fr) minmax(0, 1fr);
        padding: 14px !important;
    }

    body.page-location .air-quality-content .title {
        height: 72px;
        min-width: 0 !important;
        width: 100%;
    }

    body.page-location .air-quality-content .desc {
        font-size: 14px;
        line-height: 1.3;
        min-width: 0;
    }

    body.page-location .air-quality-list,
    body.page-location .forecast-sidebar .air-quality-list {
        display: grid !important;
        gap: 8px !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 10px !important;
        width: 100%;
    }

    body.page-location .air-quality-item,
    body.page-location .forecast-sidebar .air-quality-item {
        align-items: center;
        background: #f8fbff;
        border: 1px solid #e7eef7;
        border-radius: 12px;
        display: grid !important;
        gap: 4px;
        justify-items: center;
        max-width: none !important;
        min-height: 72px;
        min-width: 0;
        padding: 9px 6px !important;
        text-align: center;
        width: 100% !important;
    }

    body.page-location .air-quality-item .title,
    body.page-location .air-quality-item p {
        display: block;
        font-size: 13px;
        line-height: 1.1;
        margin: 0 !important;
        overflow-wrap: normal;
        text-align: center;
        white-space: nowrap;
        word-break: keep-all;
        writing-mode: horizontal-tb;
    }

    body.page-location .air-quality-item .title {
        color: #344054;
        font-weight: 900;
    }

    body.page-location .air-quality-item p {
        color: #17212b;
        font-weight: 800;
    }

    body.page-location .forecast-detail-layout .forecast-day-hero .extra,
    body.page-location .forecast-detail-layout .forecast-day-stats,
    body.page-location .weather-detail-cac-ngay,
    body.page-location .forecast-list-detail,
    body.page-location .weather-main-desc,
    body.page-location .weather-detail.weather-location,
    body.page-location .weather-detail:not(.weather-detail-cac-ngay) {
        display: flex !important;
        gap: 8px !important;
        grid-template-columns: none !important;
        margin-left: -2px;
        margin-right: -2px;
        max-width: calc(100vw - 28px);
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding-bottom: 6px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    body.page-location .forecast-detail-layout .forecast-day-stats {
        border-top: 1px solid #e7eef7;
        margin-top: 14px !important;
        padding-top: 14px;
    }

    body.page-location .forecast-detail-layout .forecast-day-hero .extra::-webkit-scrollbar,
    body.page-location .forecast-detail-layout .forecast-day-stats::-webkit-scrollbar,
    body.page-location .weather-detail-cac-ngay::-webkit-scrollbar,
    body.page-location .forecast-list-detail::-webkit-scrollbar,
    body.page-location .weather-main-desc::-webkit-scrollbar,
    body.page-location .weather-detail.weather-location::-webkit-scrollbar,
    body.page-location .weather-detail:not(.weather-detail-cac-ngay)::-webkit-scrollbar {
        display: none;
    }

    body.page-location .forecast-detail-layout .forecast-day-hero .extra .item,
    body.page-location .forecast-detail-layout .forecast-day-stats .item,
    body.page-location .weather-content-item,
    body.page-location .weather-content-item-sun,
    body.page-location .forecast-detail-item,
    body.page-location .weather-main-desc>div,
    body.page-location .weather-detail.weather-location>div,
    body.page-location .weather-detail:not(.weather-detail-cac-ngay)>div {
        align-items: center;
        border-radius: 12px;
        display: grid !important;
        flex: 0 0 112px !important;
        gap: 4px;
        grid-template-columns: 1fr !important;
        justify-items: center;
        min-height: 82px !important;
        min-width: 0 !important;
        padding: 8px 6px !important;
        text-align: center;
        width: auto !important;
    }

    body.page-location .forecast-detail-layout .forecast-day-hero .extra .item .icon,
    body.page-location .forecast-detail-layout .forecast-day-stats .item .icon,
    body.page-location .weather-content-item .avatar,
    body.page-location .weather-content-item-sun .avatar,
    body.page-location .forecast-detail-item svg,
    body.page-location .weather-main-desc .avatar,
    body.page-location .weather-detail.weather-location .avatar,
    body.page-location .weather-detail:not(.weather-detail-cac-ngay) .avatar {
        grid-column: auto !important;
        grid-row: auto !important;
        height: 18px;
        justify-self: center;
        width: 18px;
    }

    body.page-location .forecast-detail-layout .forecast-day-hero .extra .item span:not(.icon),
    body.page-location .forecast-detail-layout .forecast-day-hero .extra .item strong,
    body.page-location .forecast-detail-layout .forecast-day-stats .item span:not(.icon),
    body.page-location .forecast-detail-layout .forecast-day-stats .item strong,
    body.page-location .weather-content-item *,
    body.page-location .weather-content-item-sun *,
    body.page-location .forecast-detail-item span,
    body.page-location .forecast-detail-item strong {
        font-size: 11px !important;
        grid-column: auto !important;
        line-height: 1.15 !important;
        min-width: 0;
        overflow-wrap: normal;
        text-align: center;
        white-space: normal !important;
        word-break: normal;
    }

    body.page-location .forecast-detail-layout .forecast-day-hero .extra .item strong,
    body.page-location .forecast-detail-layout .forecast-day-stats .item strong,
    body.page-location .forecast-detail-item strong {
        color: #003870;
        font-size: 12px !important;
        font-weight: 900;
        overflow-wrap: normal;
        word-break: keep-all;
    }

    body.site-weather-theme .header-top-row .general-header-inner,
    body.weather-home-v2 .header-top-row .general-header-inner,
    body.site-weather-theme:not(.weather-home-v2) .header-top-row .general-header-inner {
        grid-template-columns: 48px minmax(0, 1fr) auto !important;
        grid-template-rows: 48px 45px !important;
    }

    body.site-weather-theme .header-top-row .header-logo,
    body.weather-home-v2 .header-top-row .header-logo,
    body.site-weather-theme:not(.weather-home-v2) .header-top-row .header-logo {
        grid-column: 2 !important;
        grid-row: 1 !important;
        justify-content: flex-start !important;
        min-width: 0;
    }

    body.site-weather-theme .header-top-row .header-logo img,
    body.weather-home-v2 .header-top-row .header-logo img,
    body.site-weather-theme:not(.weather-home-v2) .header-top-row .header-logo img {
        max-width: min(138px, 100%) !important;
    }

    body.site-weather-theme .header-top-row .header-column-right,
    body.weather-home-v2 .header-top-row .header-column-right,
    body.site-weather-theme:not(.weather-home-v2) .header-top-row .header-column-right {
        align-items: center !important;
        display: flex !important;
        grid-column: 3 !important;
        grid-row: 1 !important;
        justify-content: flex-end !important;
        min-width: 0;
    }

    body.site-weather-theme .header-top-row .header-select-city,
    body.weather-home-v2 .header-top-row .header-select-city,
    body.site-weather-theme:not(.weather-home-v2) .header-top-row .header-select-city {
        align-items: center !important;
        display: flex !important;
        gap: 6px !important;
        justify-content: flex-end !important;
        width: auto !important;
    }

    body.site-weather-theme .header-top-row .header-select-unit,
    body.weather-home-v2 .header-top-row .header-select-unit,
    body.site-weather-theme:not(.weather-home-v2) .header-top-row .header-select-unit {
        color: transparent !important;
        display: flex !important;
        font-size: 0 !important;
        line-height: 1 !important;
        width: auto !important;
    }

    body.site-weather-theme .header-top-row .header-select-unit select,
    body.weather-home-v2 .header-top-row .header-select-unit select,
    body.site-weather-theme:not(.weather-home-v2) .header-top-row .header-select-unit select,
    body.site-weather-theme .header-top-row #select_degree,
    body.weather-home-v2 .header-top-row #select_degree {
        appearance: none;
        background: none !important;
        border: none !important;
        border-radius: 12px !important;
        color: #082757 !important;
        display: block !important;
        font-size: 12px !important;
        font-weight: 900 !important;
        height: 36px !important;
        line-height: 1 !important;
        min-width: 48px !important;
        padding: 0 8px !important;
        text-align: center;
    }

    body.site-weather-theme .header-top-row .header-select-unit select[aria-label="Language"],
    body.weather-home-v2 .header-top-row .header-select-unit select[aria-label="Language"],
    body.site-weather-theme:not(.weather-home-v2) .header-top-row .header-select-unit select[aria-label="Language"] {
        min-width: 56px !important;
    }
}


@media screen and (max-width:600px) {
    body.weather-home-v2 .section-head {
        display: block;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-bottom {
        margin-top: 0px;
    }

    body.site-weather-theme:not(.weather-home-v2) .header-bottom {
        background: linear-gradient(180deg, #66b6e8 0%, #7dceff 44%, #d9f2ff 100%) !important;
    }

    .main-location-heading .card {
    flex: 1 1 auto;
    padding: 0;
}
}

body.weather-home-v2 .header-top-row .header-logo img {
    height: auto;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 0;
}