/* Home v2 — zdweather.com editorial homepage
   Scoped to body.hz-home so other pages are unaffected. */

body.hz-home {
    background: #f3f5f9 !important;
    color: #0f172a;
}

body.hz-home .hz-frame {
    box-sizing: border-box;
    width: auto;
    max-width: 1200px;
    margin: 0 auto;
    padding: 22px 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body.hz-home .hz-frame a {
    color: inherit;
}

/* ---------- Hero ---------- */

.hz-hero {
    display: grid;
    grid-template-columns: 1.62fr 1fr;
    gap: 22px;
    align-items: stretch;
}

.hz-hero-main {
    min-width: 0;
}

.hz-hero-card {
    position: relative;
    display: block;
    height: 100%;
    min-height: 460px;
    border-radius: 18px;
    overflow: hidden;
    background: #0b1220;
}

.hz-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hz-hero-card:hover .hz-hero-img {
    transform: scale(1.03);
}

.hz-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 15, 30, 0) 34%, rgba(8, 15, 30, 0.55) 68%, rgba(8, 15, 30, 0.92) 100%);
}

.hz-hero-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 30px 30px;
    color: #fff;
}

.hz-kicker {
    display: inline-block;
    margin-bottom: 14px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #2a82e4;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hz-hero-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 10px;
    font-size: 32px;
    line-height: 1.22;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #fff;
}

.hz-hero-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 16px;
    max-width: 620px;
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
}

.hz-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #7b8798;
}

.hz-meta-light {
    color: rgba(255, 255, 255, 0.72);
}

.hz-meta-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2a82e4;
}

/* ---------- Side panels ---------- */

.hz-hero-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.hz-panel {
    background: #fff;
    border-radius: 18px;
    padding: 16px 18px 10px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.05);
}

.hz-panel-head {
    padding-bottom: 12px;
    border-bottom: 1px solid #edf1f6;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0f172a;
}

.hz-trend-list {
    counter-reset: hz-trend;
}

.hz-trend {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid #f0f3f8;
    counter-increment: hz-trend;
}

.hz-trend:last-child {
    border-bottom: 0;
}

.hz-trend-num::before {
    content: counter(hz-trend, decimal-leading-zero);
    display: block;
    width: 22px;
    font-size: 17px;
    font-weight: 800;
    color: #c6d2e1;
    line-height: 1;
}

.hz-trend-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1 1 auto;
    min-width: 0;
}

.hz-trend-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13.5px;
    line-height: 1.4;
    font-weight: 600;
    color: #16233a;
}

.hz-trend:hover .hz-trend-title,
.hz-trend:hover .hz-trend-title {
    color: #2a82e4;
}

.hz-trend-date {
    font-size: 11px;
    color: #8b97a8;
}

.hz-trend-img {
    flex: 0 0 auto;
    width: 78px;
    height: 56px;
    border-radius: 9px;
    object-fit: cover;
    background: #e8edf4;
}

.hz-latest {
    list-style: none;
    margin: 0;
    padding: 4px 0 0;
}

.hz-latest li {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f3f8;
}

.hz-latest li:last-child {
    border-bottom: 0;
}

.hz-latest li a {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
    line-height: 1.5;
    color: #26344b;
}

.hz-latest li a:hover {
    color: #2a82e4;
}

.hz-latest-date {
    flex: 0 0 auto;
    font-size: 11px;
    color: #8b97a8;
}

/* ---------- Regions ---------- */

.hz-regions {
    margin-top: 34px;
}

.hz-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 16px;
}

.hz-section-title {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #0f172a;
}

.hz-section-sub {
    margin: 6px 0 0;
    font-size: 13px;
    color: #7b8798;
}

.hz-region-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.hz-region {
    background: #fff;
    border-radius: 16px;
    padding: 18px 20px 14px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.hz-region-head {
    position: relative;
    padding-left: 14px;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

.hz-region-head::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 4px;
    height: 14px;
    border-radius: 2px;
    background: #2a82e4;
}

.hz-region-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hz-region-list li {
    padding: 6px 0;
    border-bottom: 1px dashed #eef2f7;
}

.hz-region-list li:last-child {
    border-bottom: 0;
}

.hz-region-list a {
    font-size: 13.5px;
    color: #4a586e;
}

.hz-region-list a:hover {
    color: #2a82e4;
}

/* ---------- Category blocks ---------- */

.hz-news {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: 34px;
    margin-bottom: 24px;
}

.hz-block {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 18px;
    padding: 20px 22px 10px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.04);
}

.hz-block-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid #edf1f6;
}

.hz-block-title {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #0f172a;
}

.hz-seeall {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #2a82e4;
}

.hz-arrow {
    font-size: 16px;
    line-height: 1;
}

.hz-lead {
    display: flex;
    gap: 14px;
    padding: 16px 0 14px;
    border-bottom: 1px solid #f0f3f8;
}

.hz-lead-img,
.hz-lead-ph {
    flex: 0 0 auto;
    width: 128px;
    height: 92px;
    border-radius: 12px;
    object-fit: cover;
    background: #e8edf4;
}

.hz-lead-ph {
    display: block;
    background: linear-gradient(135deg, #dbe7f7 0%, #eef3fa 55%, #d7e3f4 100%);
    position: relative;
}

.hz-lead-ph::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 20px;
    height: 26px;
    border-radius: 999px;
    background: rgba(42, 130, 228, 0.18);
}

.hz-lead-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.hz-lead-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 16px;
    line-height: 1.38;
    font-weight: 700;
    color: #13203a;
}

.hz-lead:hover .hz-lead-title {
    color: #2a82e4;
}

.hz-lead-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 6px 0 8px;
    font-size: 12.5px;
    line-height: 1.55;
    color: #6b7a8f;
}

.hz-mini {
    list-style: none;
    margin: 0;
    padding: 2px 0 6px;
}

.hz-mini li {
    position: relative;
    padding: 9px 0 9px 16px;
    border-bottom: 1px solid #f4f6fa;
}

.hz-mini li:last-child {
    border-bottom: 0;
}

.hz-mini li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 50%;
    width: 5px;
    height: 5px;
    margin-top: -2px;
    border-radius: 50%;
    background: #c3d2e5;
}

.hz-mini a {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.45;
    color: #2c3a51;
}

.hz-mini a:hover {
    color: #2a82e4;
}

/* ---------- Responsive ---------- */

/* Keep the shared header inside the viewport on mid-size desktops */
@media (min-width: 751px) and (max-width: 1240px) {
    body.hz-home .nav_,
    body.hz-home ul.nav-list.fix,
    body.hz-home .temperature_frame {
        box-sizing: border-box;
        width: 100%;
        max-width: 1200px;
        padding-left: 20px;
        padding-right: 20px;
    }

    body.hz-home .htmlBody1 {
        width: 100%;
    }

    body.hz-home .htmlBody1_frame {
        flex-wrap: wrap;
    }

    body.hz-home .Website_Box {
        box-sizing: border-box;
        width: 28%;
    }

    body.hz-home .Website_Box1 {
        box-sizing: border-box;
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .hz-hero {
        grid-template-columns: 1fr;
    }

    .hz-hero-card {
        min-height: 420px;
    }

    .hz-hero-side {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }

    .hz-region-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hz-news {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 750px) {
    body.hz-home .hz-frame {
        padding: 12px 12px 20px;
    }

    .hz-hero-card {
        min-height: 360px;
        border-radius: 14px;
    }

    .hz-hero-body {
        padding: 18px 18px 20px;
    }

    .hz-hero-title {
        font-size: 22px;
        -webkit-line-clamp: 3;
    }

    .hz-hero-desc {
        font-size: 13px;
    }

    .hz-hero-side {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .hz-panel {
        padding: 14px 16px 8px;
        border-radius: 14px;
    }

    .hz-regions {
        margin-top: 24px;
    }

    .hz-section-title {
        font-size: 19px;
    }

    .hz-region-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hz-news {
        gap: 14px;
        margin-top: 24px;
    }

    .hz-block {
        padding: 16px 16px 8px;
        border-radius: 14px;
    }

    .hz-lead {
        flex-direction: column;
        gap: 10px;
    }

    .hz-lead-img,
    .hz-lead-ph {
        width: 100%;
        height: 168px;
    }

    .hz-lead-title {
        font-size: 15.5px;
    }
}
