

/* Start:/local/components/china/weather/templates/.default/style.css?177265417419694*/
/* ================================ */
/* Погода Китая                      */
/* BEM: .weather-*                   */
/* ================================ */

.weather-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 0px 60px;
    font-family: inherit;
    color: #222;
}

/* ================================ */
/* Баннер                            */
/* ================================ */

.weather-banner {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, #c62828 0%, #b71c1c 40%, #d32f2f 100%);
    border-radius: 20px;
    padding: 48px;
    margin-bottom: 48px;
    overflow: hidden;
    color: #fff;
    display: flex;
    align-items: center;
}

.weather-banner__decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.weather-banner__sun {
    position: absolute;
    top: 20px;
    right: 60px;
    width: 120px;
    height: 120px;
    opacity: 0.6;
}

.weather-banner__cloud {
    position: absolute;
    bottom: 30px;
    right: 40px;
    width: 180px;
    height: 100px;
}

.weather-banner__content {
    position: relative;
    max-width: 600px;
}

.weather-banner__title {
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 12px;
    line-height: 1.2;
}

.weather-banner__subtitle {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
    margin: 0 0 20px;
}

.weather-banner__meta {
    display: flex;
    gap: 24px;
}

.weather-banner__meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    opacity: 0.8;
}

/* ================================ */
/* Секции                            */
/* ================================ */

.weather-section {
    margin-bottom: 48px;
}

.weather-section__title {
    font-size: 26px;
    font-weight: 800;
    color: #222;
    margin: 0 0 6px;
    text-align: center;
}

.weather-section__subtitle {
    font-size: 14px;
    color: #888;
    text-align: center;
    margin: 0 0 24px;
}

/* ================================ */
/* Карточки мажорных городов         */
/* ================================ */

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

.weather-city-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 20px;
    text-decoration: none;
    color: #222;
    transition: all 0.2s;
}

.weather-city-card:hover {
    border-color: #c62828;
    box-shadow: 0 4px 16px rgba(198,40,40,0.1);
    transform: translateY(-2px);
}

.weather-city-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 12px;
}

.weather-city-card__name {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 2px;
}

.weather-city-card__cn {
    font-size: 12px;
    color: #bbb;
}

.weather-city-card__icon {
    flex-shrink: 0;
}

.weather-city-card__temp {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 10px;
}

.weather-city-card__temp-val {
    font-size: 32px;
    font-weight: 800;
    color: #c62828;
    line-height: 1;
}

.weather-city-card__condition {
    font-size: 13px;
    color: #888;
}

.weather-city-card__details {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #999;
}

/* ================================ */
/* Динамика по месяцам               */
/* ================================ */

.weather-dynamics {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    overflow: hidden;
}

.weather-dynamics__tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.weather-dynamics__tab {
    flex-shrink: 0;
    padding: 14px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 13px;
    font-weight: 600;
    color: #888;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.weather-dynamics__tab:hover {
    color: #c62828;
}

.weather-dynamics__tab--active {
    color: #c62828;
    border-bottom-color: #c62828;
}

.weather-dynamics__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.weather-dynamics__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    min-width: 800px;
}

.weather-dynamics__table th,
.weather-dynamics__table td {
    padding: 12px 10px;
    text-align: center;
    border-bottom: 1px solid #f5f5f5;
}

.weather-dynamics__table th {
    font-weight: 600;
    color: #999;
    font-size: 12px;
    background: #fafafa;
}

.weather-dynamics__table td:first-child,
.weather-dynamics__table th:first-child {
    text-align: left;
    padding-left: 20px;
    font-weight: 600;
    color: #222;
    position: sticky;
    left: 0;
    background: #fff;
    z-index: 1;
}

.weather-dynamics__table th:first-child {
    background: #fafafa;
}

.weather-dynamics__table td a {
    color: #c62828;
    text-decoration: none;
    font-weight: 600;
}

.weather-dynamics__table td a:hover {
    text-decoration: underline;
}

.weather-dynamics__th--current,
.weather-dynamics__td--current {
    background: #ffebee !important;
    font-weight: 700;
}

/* ================================ */
/* Популярные города                 */
/* ================================ */

.weather-popular {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.weather-popular__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 13px;
    color: #444;
    text-decoration: none;
    transition: all 0.2s;
}

.weather-popular__chip:hover {
    border-color: #c62828;
    color: #c62828;
}

.weather-popular__chip--major {
    background: #ffebee;
    border-color: #ef9a9a;
    font-weight: 600;
}

.weather-popular__chip span {
    font-weight: 700;
    color: #c62828;
}

/* ================================ */
/* Поиск                             */
/* ================================ */

.weather-search {
    max-width: 480px;
    margin: 0 auto 16px;
    position: relative;
    display: flex;
    align-items: center;
}

.weather-search svg {
    position: absolute;
    left: 14px;
    pointer-events: none;
}

.weather-search__input {
    width: 100%;
    padding: 12px 40px 12px 42px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 15px;
    color: #222;
    outline: none;
    transition: border-color 0.2s;
}

.weather-search__input:focus {
    border-color: #c62828;
}

.weather-search__input::placeholder {
    color: #bbb;
}

.weather-search__clear {
    position: absolute;
    right: 12px;
    font-size: 20px;
    color: #bbb;
    cursor: pointer;
    display: none;
    line-height: 1;
}

.weather-search__clear--visible {
    display: block;
}

/* ================================ */
/* Алфавитная панель                 */
/* ================================ */

.weather-alphabet {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
    margin-bottom: 24px;
    position: sticky;
    top: 0;
    background: #fff;
    padding: 10px 0;
    z-index: 10;
    border-bottom: 1px solid #f0f0f0;
}

.weather-alphabet__letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #555;
    text-decoration: none;
    background: #f5f5f5;
    transition: all 0.2s;
}

.weather-alphabet__letter:hover,
.weather-alphabet__letter--active {
    background: #c62828;
    color: #fff;
}

/* ================================ */
/* Каталог городов                   */
/* ================================ */

.weather-catalog__group {
    margin-bottom: 24px;
}

.weather-catalog__letter {
    font-size: 22px;
    font-weight: 800;
    color: #c62828;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #ffebee;
}

.weather-catalog__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px 12px;
}

.weather-catalog__city {
    padding: 8px 12px;
    font-size: 14px;
    color: #444;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.15s;
}

.weather-catalog__city:hover {
    background: #ffebee;
    color: #c62828;
}

.weather-catalog__city--hidden {
    display: none;
}

.weather-catalog__group--hidden {
    display: none;
}

.weather-catalog__empty {
    text-align: center;
    padding: 40px 20px;
    font-size: 15px;
    color: #999;
}

/* ================================ */
/* FAQ                               */
/* ================================ */

.weather-faq {
    max-width: 100%;
    margin: 0;
}

.weather-faq__item {
    border: 1px solid #eee;
    border-radius: 12px;
    margin-bottom: 8px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.weather-faq__item:hover {
    border-color: #ddd;
}

.weather-faq__item--open {
    border-color: #c62828;
}

.weather-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #222;
    text-align: left;
    gap: 12px;
}

.weather-faq__question svg {
    flex-shrink: 0;
    transition: transform 0.3s;
    color: #999;
}

.weather-faq__item--open .weather-faq__question svg {
    transform: rotate(180deg);
    color: #c62828;
}

.weather-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.weather-faq__item--open .weather-faq__answer {
    max-height: 400px;
}

.weather-faq__answer p {
    padding: 0 20px 18px;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* ================================ */
/* Страница города — навигация       */
/* ================================ */

.weather-city-nav {
    margin-bottom: 16px;
}

.weather-city-nav__back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #c62828;
    text-decoration: none;
}

.weather-city-nav__back:hover {
    text-decoration: underline;
}

/* ================================ */
/* Страница города — hero            */
/* ================================ */

.weather-city-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #c62828, #d32f2f);
    border-radius: 20px;
    padding: 40px 48px;
    margin-bottom: 40px;
    color: #fff;
}

.weather-city-hero__title {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 4px;
}

.weather-city-hero__cn {
    font-size: 18px;
    opacity: 0.5;
    font-weight: 700;
}

.weather-city-hero__desc {
    font-size: 14px;
    opacity: 0.85;
    margin: 10px 0 0;
    max-width: 600px;
    line-height: 1.5;
}

.weather-city-hero__current {
    text-align: center;
    flex-shrink: 0;
}

.weather-city-hero__icon {
    margin-bottom: 4px;
}

.weather-city-hero__temp {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
}

.weather-city-hero__condition {
    font-size: 14px;
    opacity: 0.85;
    margin-top: 4px;
}

.weather-city-hero__feels {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 4px;
}

/* ================================ */
/* Текущая погода — сетка            */
/* ================================ */

.weather-current-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.weather-current-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
}

.weather-current-item__label {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 6px;
}

.weather-current-item__value {
    font-size: 20px;
    font-weight: 700;
    color: #222;
}

.weather-current-updated {
    text-align: center;
    font-size: 12px;
    color: #bbb;
    margin: 12px 0 0;
}

/* ================================ */
/* Прогноз на 3 дня                  */
/* ================================ */

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

.weather-forecast__day {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
}

.weather-forecast__date {
    margin-bottom: 12px;
}

.weather-forecast__day-name {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #222;
}

.weather-forecast__day-num {
    font-size: 12px;
    color: #999;
}

.weather-forecast__icon {
    margin-bottom: 8px;
}

.weather-forecast__condition {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

.weather-forecast__temps {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 14px;
}

.weather-forecast__high {
    font-size: 22px;
    font-weight: 800;
    color: #e65100;
}

.weather-forecast__low {
    font-size: 22px;
    font-weight: 800;
    color: #1565c0;
}

.weather-forecast__meta {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.weather-forecast__astro {
    display: flex;
    justify-content: center;
    gap: 12px;
    font-size: 11px;
    color: #bbb;
}

/* ================================ */
/* Климат — температурные полоски    */
/* ================================ */

.weather-climate-bars {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 32px;
    padding: 20px 0;
}

.weather-climate-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
    max-width: 60px;
}

.weather-climate-bar--current {
    background: #ffebee;
    border-radius: 8px;
    padding: 8px 4px;
    margin: -8px -4px;
}

.weather-climate-bar__month {
    font-size: 12px;
    font-weight: 600;
    color: #999;
}

.weather-climate-bar__track {
    width: 24px;
    height: 120px;
    background: #f0f0f0;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.weather-climate-bar__fill {
    position: absolute;
    left: 0;
    right: 0;
    background: linear-gradient(to top, #1565c0, #e65100);
    border-radius: 12px;
}

.weather-climate-bar__hi {
    font-size: 12px;
    font-weight: 700;
    color: #e65100;
}

.weather-climate-bar__lo {
    font-size: 11px;
    color: #1565c0;
}

/* ================================ */
/* Климат — таблица                  */
/* ================================ */

.weather-climate-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.weather-climate-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    min-width: 700px;
}

.weather-climate-table th,
.weather-climate-table td {
    padding: 11px 8px;
    text-align: center;
    border-bottom: 1px solid #f5f5f5;
}

.weather-climate-table th {
    background: #fafafa;
    font-weight: 600;
    color: #999;
    font-size: 12px;
}

.weather-climate-table td:first-child {
    text-align: left;
    padding-left: 16px;
    font-weight: 600;
    color: #555;
}

.weather-climate-table__th--current,
.weather-climate-table__td--current {
    background: #ffebee !important;
    font-weight: 700;
}

/* ================================ */
/* Другие города                     */
/* ================================ */

.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 #eee;
    border-radius: 10px;
    padding: 16px;
    text-decoration: none;
    color: #222;
    transition: all 0.2s;
}

.weather-other-city:hover {
    border-color: #c62828;
}

.weather-other-city__name {
    font-weight: 600;
    font-size: 15px;
}

.weather-other-city__cn {
    font-size: 12px;
    color: #ccc;
    flex-grow: 1;
}

.weather-other-city__temp {
    font-size: 18px;
    font-weight: 800;
    color: #c62828;
}

.weather-other-cities__all {
    text-align: center;
}

.weather-other-cities__all a {
    color: #c62828;
    font-size: 14px;
    font-weight: 600;
    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;
}

.weather-404 p {
    color: #888;
    margin: 0 0 20px;
}

.weather-404 a {
    color: #c62828;
    text-decoration: underline;
}

/* ================================ */
/* Адаптивность                      */
/* ================================ */

@media (max-width: 1024px) {
    .weather-major-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .weather-other-cities {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .weather-page {
        padding: 0 16px 40px;
    }

    .weather-banner {
        height: auto;
        padding: 32px 24px;
        border-radius: 16px;
        margin-bottom: 32px;
    }

    .weather-banner__title {
        font-size: 26px;
    }

    .weather-banner__sun {
        width: 80px;
        height: 80px;
        top: 10px;
        right: 20px;
    }

    .weather-banner__cloud {
        width: 120px;
        bottom: 10px;
        right: 10px;
    }

    .weather-section__title {
        font-size: 22px;
    }

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

    .weather-city-card {
        padding: 16px;
    }

    .weather-city-card__temp-val {
        font-size: 26px;
    }

    .weather-dynamics__tab {
        padding: 10px 14px;
        font-size: 12px;
    }

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

    .weather-alphabet__letter {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .weather-city-hero {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
        gap: 20px;
    }

    .weather-city-hero__desc {
        max-width: none;
    }

    .weather-city-hero__temp {
        font-size: 40px;
    }

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

    .weather-forecast {
        grid-template-columns: 1fr;
    }

    .weather-climate-bars {
        gap: 4px;
    }

    .weather-climate-bar__track {
        height: 80px;
        width: 18px;
    }

    .weather-other-cities {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .weather-banner__title {
        font-size: 22px;
    }

    .weather-banner__meta {
        flex-direction: column;
        gap: 8px;
    }

    .weather-major-grid {
        grid-template-columns: 1fr;
    }

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

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

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