

/* Start:/local/components/china/weather/templates/.default/style.css?177664284533214*/
/* ================================================================
   China-RU · Погода (/weather/)
   Web 3.0 · Живой hero с анимированной погодой поверх закатного фото
   ================================================================ */

:root {
    --wth-brand: #c62828;
    --wth-warm: #f59e0b;
    --wth-cool: #3b82f6;
    --wth-ink: #0f1419;
    --wth-ink-2: #1a1f2e;
    --wth-text: #1a1f2e;
    --wth-text-muted: #5f6b7c;
    --wth-text-dim: #8a94a6;
    --wth-border: #e6eaf0;
    --wth-border-soft: #eef1f5;
    --wth-bg: #ffffff;
    --wth-bg-soft: #f7f9fc;
    --wth-shadow-sm: 0 2px 8px rgba(15, 20, 25, 0.04);
    --wth-shadow-md: 0 8px 24px rgba(15, 20, 25, 0.08);
    --wth-shadow-lg: 0 20px 48px rgba(15, 20, 25, 0.14);
    --wth-radius: 14px;
    --wth-radius-lg: 22px;
    --wth-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --wth-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.weather-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 0 64px;
    font-family: var(--wth-font);
    color: var(--wth-text);
}

/* ================================================================
   1. HERO · фото + анимированная погода
   ================================================================ */

.wth-hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--wth-radius-lg);
    min-height: 300px;
    margin-bottom: 32px;
    isolation: isolate;
    color: #fff;
    background:
        linear-gradient(180deg, rgba(15, 20, 25, .1) 0%, rgba(15, 20, 25, .5) 100%),
        url('/upload/weather/weather-banner.jpg') center/cover no-repeat;
}

/* Overlay по условию — меняется через data-condition на hero */
.wth-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    transition: background 1s ease;
}
.wth-hero[data-condition="sunny"]::before {
    background: linear-gradient(180deg, rgba(251, 146, 60, .15) 0%, transparent 40%, rgba(15, 20, 25, .35) 100%);
}
.wth-hero[data-condition="cloudy"]::before {
    background: linear-gradient(180deg, rgba(75, 85, 99, .35) 0%, rgba(55, 65, 80, .45) 100%);
}
.wth-hero[data-condition="rainy"]::before {
    background: linear-gradient(180deg, rgba(30, 41, 59, .55) 0%, rgba(15, 23, 42, .7) 100%);
}
.wth-hero[data-condition="snowy"]::before {
    background: linear-gradient(180deg, rgba(186, 214, 232, .35) 0%, rgba(75, 99, 132, .55) 100%);
}
.wth-hero[data-condition="night"]::before {
    background: linear-gradient(180deg, rgba(15, 23, 60, .65) 0%, rgba(7, 11, 30, .85) 100%);
}

/* Слой анимаций (облака, солнце, дождь, снег, звёзды) */
.wth-sky {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

/* --- Солнце (появляется при sunny) --- */
.wth-sun {
    position: absolute;
    top: 12%;
    right: 10%;
    width: 140px;
    height: 140px;
    opacity: 0;
    transition: opacity 1s ease;
    filter: blur(.3px);
}
.wth-hero[data-condition="sunny"] .wth-sun { opacity: .55; }
.wth-sun::before {
    content: '';
    position: absolute;
    inset: 18%;
    background: radial-gradient(circle, rgba(255, 250, 235, .7) 0%, rgba(252, 211, 77, .55) 40%, rgba(251, 191, 36, .2) 70%, transparent 100%);
    border-radius: 50%;
    box-shadow: 0 0 80px 20px rgba(252, 211, 77, .2);
    animation: wth-sun-pulse 6s ease-in-out infinite;
}
.wth-sun::after {
    content: '';
    position: absolute;
    inset: 0;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(252, 211, 77, .12) 15deg, transparent 30deg, transparent 45deg, rgba(252, 211, 77, .12) 60deg, transparent 75deg, transparent 90deg, rgba(252, 211, 77, .12) 105deg, transparent 120deg);
    border-radius: 50%;
    animation: wth-sun-rays 40s linear infinite;
    filter: blur(3px);
}
@keyframes wth-sun-pulse {
    0%, 100% { box-shadow: 0 0 80px 20px rgba(252, 211, 77, .2); }
    50% { box-shadow: 0 0 120px 40px rgba(252, 211, 77, .3); }
}
@keyframes wth-sun-rays { to { transform: rotate(360deg); } }

/* --- Луна (при night) --- */
.wth-moon {
    position: absolute;
    top: 14%;
    right: 12%;
    width: 110px;
    height: 110px;
    background: radial-gradient(circle at 35% 35%, #f1f5f9 0%, #cbd5e1 60%, rgba(203, 213, 225, .3) 100%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 1.5s ease;
    box-shadow: 0 0 60px rgba(203, 213, 225, .4), inset -15px -10px 30px rgba(100, 116, 139, .3);
}
.wth-hero[data-condition="night"] .wth-moon { opacity: 1; }

/* --- Звёзды (при night) --- */
.wth-stars {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease;
}
.wth-hero[data-condition="night"] .wth-stars { opacity: 1; }
.wth-star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 3px rgba(255, 255, 255, .8);
    animation: wth-twinkle 3s ease-in-out infinite;
}
.wth-star--lg { width: 3px; height: 3px; box-shadow: 0 0 6px rgba(255, 255, 255, 1); }
@keyframes wth-twinkle {
    0%, 100% { opacity: .3; transform: scale(.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* --- Облака (прозрачные, добавляют атмосферы) --- */
.wth-cloud {
    position: absolute;
    color: rgba(255, 255, 255, .6);
    filter: drop-shadow(0 4px 16px rgba(255, 150, 100, .15)) blur(.5px);
    animation: wth-cloud-drift 55s linear infinite;
    will-change: transform;
}
.wth-cloud--1 { top: 18%; width: 180px; animation-duration: 65s; animation-delay: -10s; opacity: .4; }
.wth-cloud--2 { top: 32%; width: 140px; animation-duration: 80s; animation-delay: -35s; opacity: .3; }
.wth-cloud--3 { top: 48%; width: 220px; animation-duration: 95s; animation-delay: -55s; opacity: .25; }
.wth-cloud--4 { top: 25%; width: 110px; animation-duration: 48s; animation-delay: -18s; opacity: .35; }
.wth-cloud--5 { top: 60%; width: 160px; animation-duration: 70s; animation-delay: -40s; opacity: .22; }

@keyframes wth-cloud-drift {
    from { transform: translateX(-280px); }
    to   { transform: translateX(calc(100vw + 280px)); }
}

/* При cloudy — облака плотнее и ниже */
.wth-hero[data-condition="cloudy"] .wth-cloud { filter: drop-shadow(0 4px 16px rgba(100, 110, 130, .35)); opacity: .85; }
/* При rainy — облака серые */
.wth-hero[data-condition="rainy"] .wth-cloud { color: rgba(200, 210, 220, .7); filter: drop-shadow(0 4px 16px rgba(15, 23, 42, .4)); }
/* При night — облака полупрозрачные синеватые */
.wth-hero[data-condition="night"] .wth-cloud { color: rgba(180, 190, 220, .35); filter: none; opacity: .6; }

/* --- Дождь (при rainy) --- */
.wth-rain {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .8s ease;
}
.wth-hero[data-condition="rainy"] .wth-rain { opacity: 1; }
.wth-drop {
    position: absolute;
    width: 2px;
    height: 18px;
    background: linear-gradient(180deg, transparent 0%, rgba(186, 214, 232, .7) 100%);
    border-radius: 2px;
    animation: wth-rain-fall 0.9s linear infinite;
    will-change: transform;
    transform: rotate(15deg);
}
@keyframes wth-rain-fall {
    from { transform: translateY(-30px) rotate(15deg); opacity: 0; }
    10%  { opacity: 1; }
    to   { transform: translateY(520px) rotate(15deg); opacity: .4; }
}

/* --- Снег (при snowy) --- */
.wth-snow {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}
.wth-hero[data-condition="snowy"] .wth-snow { opacity: 1; }
.wth-flake {
    position: absolute;
    top: -20px;
    color: #fff;
    font-size: 14px;
    user-select: none;
    animation: wth-snow-fall linear infinite;
    will-change: transform;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, .6));
}
@keyframes wth-snow-fall {
    from { transform: translateY(0) rotate(0); opacity: 0; }
    10%  { opacity: 1; }
    to   { transform: translateY(520px) rotate(360deg); opacity: .6; }
}

/* --- Hero контент --- */
.wth-hero__content {
    position: relative;
    z-index: 5;
    padding: 30px 44px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
    max-width: 820px;
    gap: 18px;
}
.wth-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .85);
    width: fit-content;
}
.wth-hero__eyebrow::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, .6);
    animation: wth-dot-pulse 2s ease-in-out infinite;
}
@keyframes wth-dot-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); }
    50% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
}
.wth-hero__title {
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.05;
    margin: 0 0 14px;
    color: #fff !important;
    text-shadow: 0 4px 24px rgba(0, 0, 0, .35);
}
.wth-hero__sub {
    font-size: 17px;
    line-height: 1.55;
    color: rgba(255, 255, 255, .9);
    max-width: 560px;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}

/* Виджет текущей погоды в hero */
.wth-current {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 20px 26px;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--wth-radius-lg);
    box-shadow: 0 20px 48px rgba(0, 0, 0, .2);
    min-width: 0;
    max-width: 520px;
}
.wth-current__icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.wth-current__icon img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(0,0,0,.3)); }
.wth-current__info { min-width: 0; }
.wth-current__city {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, .75);
    letter-spacing: .02em;
    text-transform: uppercase;
}
.wth-current__temp {
    font-family: var(--wth-mono);
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1;
    color: #fff;
    margin: 2px 0 4px;
}
.wth-current__condition {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, .9);
}
.wth-current__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, .2);
    font-family: var(--wth-mono);
    font-size: 13px;
    color: rgba(255, 255, 255, .85);
    white-space: nowrap;
}

/* ================================================================
   2. СЕКЦИИ И КАРТОЧКИ ГОРОДОВ
   ================================================================ */

.weather-section {
    margin: 48px 0 0;
}
.weather-section__title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 0 0 6px;
    color: var(--wth-ink);
}
.weather-section__subtitle {
    font-size: 15px;
    color: var(--wth-text-muted);
    margin: 0 0 24px;
    max-width: 720px;
}

.weather-major-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.weather-city-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 22px;
    background: linear-gradient(135deg, #fff 0%, var(--wth-bg-soft) 100%);
    border: 1px solid var(--wth-border);
    border-radius: var(--wth-radius-lg);
    text-decoration: none;
    color: var(--wth-text);
    box-shadow: var(--wth-shadow-sm);
    transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s, border-color .2s;
}
.weather-city-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--wth-shadow-md);
    border-color: var(--wth-brand);
}
.weather-city-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}
.weather-city-card__name {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.015em;
    margin: 0;
    line-height: 1.2;
}
.weather-city-card__cn {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    color: var(--wth-text-dim);
    font-weight: 500;
}
.weather-city-card__icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    margin-top: -4px;
}
.weather-city-card__temp {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: auto;
}
.weather-city-card__temp-val {
    font-family: var(--wth-mono);
    font-size: 36px;
    font-weight: 800;
    color: var(--wth-ink);
    letter-spacing: -.03em;
    line-height: 1;
}
.weather-city-card__condition {
    font-size: 13px;
    color: var(--wth-text-muted);
    font-weight: 600;
}
.weather-city-card__details {
    display: flex;
    gap: 14px;
    padding-top: 10px;
    border-top: 1px solid var(--wth-border-soft);
    font-size: 13px;
    color: var(--wth-text-muted);
    font-family: var(--wth-mono);
}

/* ================================================================
   3. КЛИМАТ ПО МЕСЯЦАМ — табы + таблица
   ================================================================ */

.weather-dynamics {
    background: #fff;
    border: 1px solid var(--wth-border);
    border-radius: var(--wth-radius-lg);
    overflow: hidden;
    box-shadow: var(--wth-shadow-sm);
}
.weather-dynamics__tabs {
    display: flex;
    gap: 4px;
    padding: 10px;
    background: var(--wth-bg-soft);
    border-bottom: 1px solid var(--wth-border-soft);
    overflow-x: auto;
    scrollbar-width: none;
}
.weather-dynamics__tabs::-webkit-scrollbar { display: none; }
.weather-dynamics__tab {
    padding: 8px 16px;
    background: transparent;
    border: 0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    color: var(--wth-text-muted);
    cursor: pointer;
    white-space: nowrap;
    letter-spacing: -.01em;
    transition: all .15s;
}
.weather-dynamics__tab:hover { color: var(--wth-ink); }
.weather-dynamics__tab--active {
    background: #fff;
    color: var(--wth-brand);
    box-shadow: var(--wth-shadow-sm);
}
.weather-dynamics__table-wrap { overflow-x: auto; }
.weather-dynamics__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.weather-dynamics__table th,
.weather-dynamics__table td {
    padding: 10px 12px;
    text-align: center;
    white-space: nowrap;
    border-bottom: 1px solid var(--wth-border-soft);
}
.weather-dynamics__table th {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--wth-text-dim);
    background: var(--wth-bg-soft);
}
.weather-dynamics__table th:first-child,
.weather-dynamics__table td:first-child {
    text-align: left;
    padding-left: 18px;
    min-width: 120px;
}
.weather-dynamics__table td {
    font-family: var(--wth-mono);
    font-weight: 600;
    color: var(--wth-ink);
}
.weather-dynamics__table td:first-child {
    font-family: var(--wth-font);
    font-weight: 700;
}
.weather-dynamics__table td:first-child a {
    color: var(--wth-ink);
    text-decoration: none;
}
.weather-dynamics__table td:first-child a:hover { color: var(--wth-brand); }
.weather-dynamics__table tr:last-child td { border-bottom: 0; }
.weather-dynamics__th--current,
.weather-dynamics__td--current {
    background: rgba(198, 40, 40, .08) !important;
    color: var(--wth-brand) !important;
    font-weight: 800;
}

/* ================================================================
   4. ПОПУЛЯРНЫЕ ГОРОДА — чипы
   ================================================================ */

.weather-popular {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.weather-popular__chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid var(--wth-border);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--wth-text);
    text-decoration: none;
    letter-spacing: -.01em;
    transition: all .15s;
}
.weather-popular__chip:hover {
    border-color: var(--wth-brand);
    color: var(--wth-brand);
    transform: translateY(-1px);
}
.weather-popular__chip span {
    font-family: var(--wth-mono);
    font-weight: 700;
    color: var(--wth-brand);
    font-size: 13px;
}
.weather-popular__chip--major {
    background: rgba(198, 40, 40, .05);
    border-color: rgba(198, 40, 40, .15);
}

/* ================================================================
   5. ПОИСК + АЛФАВИТ + КАТАЛОГ
   ================================================================ */

.weather-search {
    position: relative;
    margin-bottom: 20px;
    max-width: 520px;
}
.weather-search svg {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}
.weather-search__input {
    width: 100%;
    padding: 14px 44px 14px 50px;
    background: #fff;
    border: 1.5px solid var(--wth-border);
    border-radius: 999px;
    font-family: inherit;
    font-size: 15px;
    color: var(--wth-ink);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    box-sizing: border-box;
}
.weather-search__input:focus {
    border-color: var(--wth-brand);
    box-shadow: 0 0 0 4px rgba(198, 40, 40, .08);
}
.weather-search__clear {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--wth-text-dim);
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    border-radius: 50%;
    transition: background .15s, color .15s;
}
.weather-search__clear:hover { background: var(--wth-bg-soft); color: var(--wth-brand); }
.weather-search.is-filled .weather-search__clear { display: flex; }

.weather-alphabet {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(36px, 1fr));
    gap: 4px;
    padding: 10px;
    margin-bottom: 24px;
    background: var(--wth-bg-soft);
    border-radius: var(--wth-radius);
}
.weather-alphabet__letter {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 8px;
    border-radius: 8px;
    font-family: var(--wth-mono);
    font-weight: 700;
    font-size: 14px;
    color: var(--wth-text);
    text-decoration: none;
    transition: all .15s;
}
.weather-alphabet__letter:hover {
    background: var(--wth-brand);
    color: #fff;
}

.weather-catalog__group {
    margin-bottom: 22px;
    scroll-margin-top: 20px;
}
.weather-catalog__letter {
    font-family: var(--wth-mono);
    font-size: 22px;
    font-weight: 800;
    color: var(--wth-brand);
    margin: 0 0 10px;
    padding: 6px 16px;
    background: rgba(198, 40, 40, .06);
    border-radius: 8px;
    display: inline-block;
    letter-spacing: -.02em;
}
.weather-catalog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 6px;
}
.weather-catalog__city {
    display: block;
    padding: 8px 14px;
    font-size: 14px;
    color: var(--wth-text);
    text-decoration: none;
    border-radius: 8px;
    transition: all .15s;
}
.weather-catalog__city:hover {
    background: var(--wth-bg-soft);
    color: var(--wth-brand);
}
.weather-catalog__city.is-hidden { display: none; }
.weather-catalog__group.is-hidden { display: none; }
.weather-catalog__empty {
    padding: 30px;
    text-align: center;
    color: var(--wth-text-muted);
    background: var(--wth-bg-soft);
    border-radius: var(--wth-radius);
}

/* ================================================================
   6. FAQ
   ================================================================ */

.weather-faq {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.weather-faq__item {
    background: #fff;
    border: 1px solid var(--wth-border);
    border-radius: var(--wth-radius);
    overflow: hidden;
    transition: border-color .15s;
}
.weather-faq__item:hover { border-color: var(--wth-brand); }
.weather-faq__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: transparent;
    border: 0;
    text-align: left;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    color: var(--wth-ink);
    cursor: pointer;
    letter-spacing: -.01em;
}
.weather-faq__question svg {
    flex-shrink: 0;
    color: var(--wth-text-muted);
    transition: transform .2s;
}
.weather-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    padding: 0 22px;
}
.weather-faq__answer p {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--wth-text-muted);
}
.weather-faq__item--open .weather-faq__answer {
    max-height: 500px;
}
.weather-faq__item--open .weather-faq__question svg {
    transform: rotate(180deg);
    color: var(--wth-brand);
}

/* ================================================================
   7. АДАПТИВ
   ================================================================ */

@media (max-width: 900px) {
    .wth-hero { min-height: 320px; }
    .wth-hero__content { padding: 24px 22px 24px; min-height: 320px; }
    .wth-hero__title { font-size: 32px; }
    .wth-sun, .wth-moon { width: 90px; height: 90px; top: 8%; right: 6%; }
    .wth-current { grid-template-columns: auto 1fr; padding: 16px 20px; max-width: 100%; }
    .wth-current__meta { display: none; }
    .wth-current__temp { font-size: 36px; }
    .weather-section { margin-top: 36px; }
    .weather-section__title { font-size: 22px; }
    .weather-major-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .weather-catalog__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .weather-page { padding: 16px 16px 48px; }
    .wth-hero { border-radius: var(--wth-radius); min-height: 320px; }
    .weather-major-grid { grid-template-columns: 1fr; }
    .weather-catalog__grid { grid-template-columns: 1fr; }
}

/* ================================================================
   8. ВНУТРЕННЯЯ СТРАНИЦА ГОРОДА (city.php)
   ================================================================ */

.weather-city-nav { margin-bottom: 16px; }
.weather-city-nav__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--wth-text-muted);
    text-decoration: none;
    background: #fff;
    border: 1.5px solid var(--wth-border);
    border-radius: 999px;
    transition: all .15s;
}
.weather-city-nav__back:hover {
    color: var(--wth-brand);
    border-color: var(--wth-brand);
}

/* Hero страницы города */
.weather-city-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    background: linear-gradient(135deg, var(--wth-ink) 0%, var(--wth-ink-2) 65%, #2a3142 100%);
    border-radius: var(--wth-radius-lg);
    padding: 40px 48px;
    margin-bottom: 32px;
    color: #fff;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.weather-city-hero::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -80px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(198, 40, 40, .35) 0%, transparent 65%);
    z-index: 0;
    pointer-events: none;
}
.weather-city-hero > * { position: relative; z-index: 1; }
.weather-city-hero__title {
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 0 0 4px;
    color: #fff !important;
}
.weather-city-hero__cn {
    font-size: 18px;
    opacity: .55;
    font-weight: 500;
    margin-left: 8px;
}
.weather-city-hero__desc {
    font-size: 14px;
    opacity: .85;
    margin: 12px 0 0;
    max-width: 560px;
    line-height: 1.55;
}
.weather-city-hero__current {
    text-align: center;
    flex-shrink: 0;
    padding: 20px 24px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: var(--wth-radius);
    min-width: 180px;
}
.weather-city-hero__icon { margin-bottom: 4px; }
.weather-city-hero__temp {
    font-family: var(--wth-mono);
    font-size: 52px;
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1;
}
.weather-city-hero__condition {
    font-size: 14px;
    opacity: .9;
    margin-top: 6px;
    font-weight: 600;
}
.weather-city-hero__feels {
    font-size: 12px;
    opacity: .65;
    margin-top: 4px;
    font-family: var(--wth-mono);
}

/* Сетка текущих показателей */
.weather-current-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.weather-current-item {
    background: #fff;
    border: 1px solid var(--wth-border);
    border-radius: var(--wth-radius);
    padding: 20px 18px;
    text-align: center;
    box-shadow: var(--wth-shadow-sm);
}
.weather-current-item__label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--wth-text-dim);
    margin-bottom: 8px;
}
.weather-current-item__value {
    font-family: var(--wth-mono);
    font-size: 22px;
    font-weight: 800;
    color: var(--wth-ink);
    letter-spacing: -.02em;
}
.weather-current-updated {
    text-align: center;
    font-size: 12px;
    color: var(--wth-text-dim);
    margin: 16px 0 0;
    font-family: var(--wth-mono);
}

/* Прогноз на 3 дня */
.weather-forecast {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.weather-forecast__day {
    background: #fff;
    border: 1px solid var(--wth-border);
    border-radius: var(--wth-radius-lg);
    padding: 24px 22px;
    text-align: center;
    box-shadow: var(--wth-shadow-sm);
    transition: all .2s;
}
.weather-forecast__day:hover {
    border-color: var(--wth-brand);
    transform: translateY(-3px);
    box-shadow: var(--wth-shadow-md);
}
.weather-forecast__date { margin-bottom: 12px; }
.weather-forecast__day-name {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: var(--wth-ink);
    letter-spacing: -.01em;
}
.weather-forecast__day-num {
    font-size: 12px;
    color: var(--wth-text-dim);
    font-family: var(--wth-mono);
    font-weight: 600;
}
.weather-forecast__icon { margin-bottom: 4px; }
.weather-forecast__condition {
    font-size: 13px;
    color: var(--wth-text-muted);
    margin-bottom: 14px;
    font-weight: 600;
}
.weather-forecast__temps {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
    font-family: var(--wth-mono);
}
.weather-forecast__high {
    font-size: 26px;
    font-weight: 800;
    color: var(--wth-brand);
    letter-spacing: -.03em;
}
.weather-forecast__low {
    font-size: 26px;
    font-weight: 800;
    color: #1565c0;
    letter-spacing: -.03em;
}
.weather-forecast__meta {
    display: flex;
    justify-content: center;
    gap: 12px;
    font-size: 12px;
    color: var(--wth-text-muted);
    margin-bottom: 8px;
    font-family: var(--wth-mono);
}
.weather-forecast__astro {
    display: flex;
    justify-content: center;
    gap: 14px;
    font-size: 11px;
    color: var(--wth-text-dim);
    padding-top: 10px;
    border-top: 1px solid var(--wth-border-soft);
}

/* Климатические полоски по месяцам */
.weather-climate-bars {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 28px;
    padding: 20px 0;
    background: #fff;
    border: 1px solid var(--wth-border);
    border-radius: var(--wth-radius-lg);
    box-shadow: var(--wth-shadow-sm);
}
.weather-climate-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
    max-width: 60px;
}
.weather-climate-bar--current {
    background: rgba(198, 40, 40, .08);
    border-radius: 8px;
    padding: 8px 4px;
    margin: -8px -4px;
}
.weather-climate-bar__month {
    font-size: 11px;
    font-weight: 700;
    color: var(--wth-text-dim);
    font-family: var(--wth-mono);
    text-transform: uppercase;
}
.weather-climate-bar__track {
    width: 24px;
    height: 120px;
    background: var(--wth-bg-soft);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}
.weather-climate-bar__fill {
    position: absolute;
    left: 0;
    right: 0;
    background: linear-gradient(to top, #1565c0, var(--wth-brand));
    border-radius: 12px;
}
.weather-climate-bar__hi {
    font-size: 12px;
    font-weight: 800;
    color: var(--wth-brand);
    font-family: var(--wth-mono);
}
.weather-climate-bar__lo {
    font-size: 11px;
    color: #1565c0;
    font-family: var(--wth-mono);
    font-weight: 600;
}

/* Таблица климата */
.weather-climate-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    border: 1px solid var(--wth-border);
    border-radius: var(--wth-radius);
    box-shadow: var(--wth-shadow-sm);
}
.weather-climate-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    min-width: 700px;
}
.weather-climate-table th,
.weather-climate-table td {
    padding: 11px 10px;
    text-align: center;
    border-bottom: 1px solid var(--wth-border-soft);
}
.weather-climate-table th {
    background: var(--wth-bg-soft);
    font-weight: 700;
    color: var(--wth-text-dim);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.weather-climate-table td {
    font-family: var(--wth-mono);
    font-weight: 600;
}
.weather-climate-table td:first-child {
    text-align: left;
    padding-left: 18px;
    font-family: var(--wth-font);
    font-weight: 700;
    color: var(--wth-text);
}
.weather-climate-table tr:last-child td { border-bottom: 0; }
.weather-climate-table__th--current,
.weather-climate-table__td--current {
    background: rgba(198, 40, 40, .08) !important;
    color: var(--wth-brand) !important;
    font-weight: 800;
}

/* Другие города */
.weather-other-cities {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}
.weather-other-city {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--wth-border);
    border-radius: var(--wth-radius);
    padding: 16px;
    text-decoration: none;
    color: var(--wth-text);
    transition: all .15s;
    box-shadow: var(--wth-shadow-sm);
}
.weather-other-city:hover {
    border-color: var(--wth-brand);
    transform: translateY(-2px);
    box-shadow: var(--wth-shadow-md);
}
.weather-other-city__name { font-weight: 700; font-size: 15px; letter-spacing: -.01em; }
.weather-other-city__cn { font-size: 12px; color: var(--wth-text-dim); flex-grow: 1; font-weight: 500; }
.weather-other-city__temp {
    font-size: 20px;
    font-weight: 800;
    color: var(--wth-brand);
    font-family: var(--wth-mono);
    letter-spacing: -.02em;
}
.weather-other-cities__all { text-align: center; }
.weather-other-cities__all a {
    color: var(--wth-brand);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}
.weather-other-cities__all a:hover { text-decoration: underline; }

/* 404 */
.weather-404 {
    text-align: center;
    padding: 80px 20px;
}
.weather-404 h1 { font-size: 28px; margin: 0 0 10px; color: var(--wth-ink); }
.weather-404 p { color: var(--wth-text-muted); margin: 0 0 20px; }
.weather-404 a { color: var(--wth-brand); text-decoration: underline; font-weight: 700; }

/* Адаптив city */
@media (max-width: 900px) {
    .weather-city-hero {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 28px 24px;
    }
    .weather-city-hero__current { align-self: stretch; }
    .weather-current-grid { grid-template-columns: repeat(2, 1fr); }
    .weather-forecast { grid-template-columns: 1fr; gap: 12px; }
    .weather-other-cities { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .weather-current-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .weather-other-cities { grid-template-columns: 1fr; }
    .weather-climate-bar__track { width: 18px; height: 90px; }
    .weather-climate-bar__hi, .weather-climate-bar__lo { font-size: 10px; }
}

/* End */
/* /local/components/china/weather/templates/.default/style.css?177664284533214 */
