

/* Start:/local/components/china/horoscope/templates/.default/style.css?177241805514784*/
/* === Китайский гороскоп === */

.horo-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 0px 40px;
}

/* --- Баннер --- */
.horo-banner {
    position: relative;
    background: linear-gradient(135deg, #8b0000 0%, #c62828 40%, #b71c1c 100%);
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    color: #fff;
    overflow: hidden;
    margin-bottom: 32px;
}

.horo-banner--compact {
    padding: 40px;
}

.horo-banner__decor {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.horo-banner__lantern {
    position: absolute;
    top: 8px;
    opacity: 0.5;
}

.horo-banner__lantern--left {
    left: 40px;
}

.horo-banner__lantern--right {
    right: 40px;
}

.horo-banner__cn {
    display: block;
    font-size: 48px;
    line-height: 1;
    opacity: 0.3;
    margin-bottom: 8px;
}

.horo-banner__title {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 8px;
    position: relative;
}

.horo-banner__subtitle {
    font-size: 16px;
    opacity: 0.85;
    margin: 0;
    position: relative;
}

/* --- Навигация --- */
.horo-breadcrumb {
    padding: 12px 0;
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
}

.horo-breadcrumb a {
    color: #c62828;
    text-decoration: none;
}

.horo-breadcrumb a:hover {
    text-decoration: underline;
}

/* --- Заголовки секций --- */
.horo-section {
    margin-bottom: 40px;
}

.horo-section-title {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    margin: 0 0 20px;
    text-align: center;
}

.horo-section-desc {
    text-align: center;
    color: #666;
    font-size: 15px;
    margin: -12px 0 24px;
}

/* --- Калькулятор знака --- */
.horo-calc {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 40px;
    text-align: center;
}

.horo-calc .horo-section-title {
    margin-bottom: 16px;
}

.horo-calc__form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.horo-calc__fields {
    display: flex;
    gap: 8px;
}

.horo-calc__select {
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    background: #fff;
    color: #333;
    cursor: pointer;
    min-width: 100px;
}

.horo-calc__select:focus {
    border-color: #c62828;
    outline: none;
}

.horo-calc__btn {
    padding: 10px 24px;
    background: #c62828;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.horo-calc__btn:hover {
    background: #a31f1f;
}

.horo-calc__result {
    margin-top: 20px;
    padding: 20px;
    background: #fef7f0;
    border-radius: 10px;
    border: 1px solid #f0d9bc;
}

.horo-calc__result-title {
    font-size: 20px;
    font-weight: 700;
    color: #c62828;
    margin: 0 0 6px;
}

.horo-calc__result-element {
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
}

.horo-calc__result-desc {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 12px;
}

.horo-calc__result-link {
    display: inline-block;
    color: #c62828;
    font-weight: 600;
    text-decoration: none;
}

.horo-calc__result-link:hover {
    text-decoration: underline;
}

/* --- Сетка знаков 4x3 --- */
.horo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.horo-card {
    background: linear-gradient(135deg, #b71c1c 0%, #8b0000 100%);
    border-radius: 12px;
    padding: 24px 18px;
    text-decoration: none;
    color: #fff;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.horo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(139, 0, 0, 0.3);
}

.horo-card__icon {
    width: 80px;
    height: 80px;
    margin-bottom: 12px;
}

.horo-card__icon svg {
    width: 100%;
    height: 100%;
}

.horo-card__title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
}

.horo-card__desc {
    font-size: 13px;
    line-height: 1.5;
    opacity: 0.9;
    margin: 0 0 10px;
    flex-grow: 1;
}

.horo-card__years {
    font-size: 12px;
    opacity: 0.7;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.2);
    width: 100%;
}

/* --- Совместимость форма --- */
.horo-compat__form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.horo-compat__result {
    margin-top: 16px;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.horo-compat__result--good {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
}

.horo-compat__result--neutral {
    background: #fff8e1;
    border: 1px solid #ffe082;
}

.horo-compat__result--bad {
    background: #fce4ec;
    border: 1px solid #ef9a9a;
}

.horo-compat__result-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.horo-compat__result-text {
    font-size: 15px;
    color: #444;
    line-height: 1.5;
}

.horo-compat__link {
    text-align: center;
    margin-top: 12px;
}

.horo-compat__link a {
    color: #c62828;
    text-decoration: none;
    font-weight: 500;
}

.horo-compat__link a:hover {
    text-decoration: underline;
}

/* --- Таблица годов --- */
.horo-years-table-wrap {
    overflow-x: auto;
}

.horo-years-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.horo-years-table th {
    background: #c62828;
    color: #fff;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
}

.horo-years-table td {
    padding: 10px 16px;
    border-bottom: 1px solid #eee;
}

.horo-years-table tr:hover td {
    background: #fef7f0;
}

.horo-years-table__sign {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #c62828;
    text-decoration: none;
    font-weight: 600;
}

.horo-years-table__sign:hover {
    text-decoration: underline;
}

.horo-years-table__cn {
    font-size: 13px;
    color: #999;
}

.horo-years-table__years {
    color: #555;
}

/* --- Новости --- */
.horo-news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.horo-news-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
}

.horo-news-card__img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.horo-news-card__title {
    font-size: 15px;
    font-weight: 600;
    color: #222;
    margin: 12px 14px 6px;
}

.horo-news-card__text {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0 14px 14px;
}

/* === Страница знака === */

.horo-sign-banner {
    background: linear-gradient(135deg, #8b0000 0%, #c62828 40%, #b71c1c 100%);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 32px;
    color: #fff;
    margin-bottom: 24px;
}

.horo-sign-banner__icon {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.horo-sign-banner__icon svg {
    width: 100%;
    height: 100%;
}

.horo-sign-banner__cn {
    font-size: 52px;
    opacity: 0.4;
    line-height: 1;
}

.horo-sign-banner__title {
    font-size: 32px;
    font-weight: 700;
    margin: 4px 0;
}

.horo-sign-banner__pinyin {
    font-size: 16px;
    opacity: 0.7;
}

.horo-sign-banner__meta {
    margin-top: 8px;
}

.horo-sign-banner__element {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    font-size: 14px;
}

/* --- Секции знака --- */
.horo-sign-section {
    margin-bottom: 36px;
}

.horo-sign-text {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    max-width: 800px;
    margin: 0 auto;
}

.horo-sign-text p {
    margin: 0 0 16px;
}

.horo-sign-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: #555;
    margin: 0 0 12px;
    text-align: center;
}

/* Элемент */
.horo-element-card {
    background: #fef7f0;
    border: 1px solid #f0d9bc;
    border-radius: 10px;
    padding: 20px 24px;
    max-width: 700px;
    margin: 0 auto;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

.horo-element-card p {
    margin: 0;
}

/* Годы знака */
.horo-sign-years {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.horo-sign-year {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 10px 16px;
    text-align: center;
    min-width: 90px;
}

.horo-sign-year__num {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #c62828;
}

.horo-sign-year__element {
    font-size: 12px;
    color: #888;
}

/* Совместимость карточки */
.horo-match-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.horo-match-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 20px;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.15s;
    min-width: 100px;
}

.horo-match-card:hover {
    transform: translateY(-2px);
}

.horo-match-card--best {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    color: #2e7d32;
}

.horo-match-card--worst {
    background: #fce4ec;
    border: 1px solid #ef9a9a;
    color: #c62828;
}

.horo-match-card__icon {
    width: 50px;
    height: 50px;
    margin-bottom: 8px;
}

.horo-match-card__icon svg {
    width: 100%;
    height: 100%;
}

.horo-match-card__name {
    font-weight: 600;
    font-size: 14px;
}

/* Навигация по знакам */
.horo-signs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.horo-signs-nav__item {
    padding: 8px 16px;
    border-radius: 20px;
    background: #f5f5f5;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.15s;
}

.horo-signs-nav__item:hover {
    background: #fce4ec;
    color: #c62828;
}

.horo-signs-nav__item--active {
    background: #c62828;
    color: #fff;
}

/* === Страница совместимости === */

.horo-triads {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.horo-triad-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.horo-triad-card__signs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.horo-triad-card__sign {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 13px;
    font-weight: 600;
}

.horo-triad-card__sign:hover {
    color: #c62828;
}

.horo-triad-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 4px;
}

.horo-triad-card__icon svg {
    width: 100%;
    height: 100%;
}

.horo-triad-card__plus {
    font-size: 18px;
    color: #aaa;
    font-weight: 300;
}

.horo-triad-card__label {
    font-size: 13px;
    color: #888;
    margin: 0;
}

/* Пары */
.horo-pairs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.horo-pair-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e8e8e8;
}

.horo-pair-card--best {
    border-color: #a5d6a7;
}

.horo-pair-card--conflict {
    border-color: #ef9a9a;
}

.horo-pair-card__sign {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 13px;
    font-weight: 600;
}

.horo-pair-card__sign:hover {
    color: #c62828;
}

.horo-pair-card__icon {
    width: 44px;
    height: 44px;
    margin-bottom: 4px;
}

.horo-pair-card__icon svg {
    width: 100%;
    height: 100%;
}

.horo-pair-card__heart {
    font-size: 22px;
    color: #e53935;
}

.horo-pair-card__vs {
    font-size: 22px;
    color: #999;
    font-weight: 300;
}

/* Таблица совместимости */
.horo-compat-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.horo-compat-table th {
    background: #c62828;
    color: #fff;
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
}

.horo-compat-table td {
    padding: 8px 14px;
    border-bottom: 1px solid #eee;
}

.horo-compat-table tr:hover td {
    background: #fef7f0;
}

.horo-compat-table__good a {
    color: #2e7d32;
    text-decoration: none;
    margin-right: 8px;
}

.horo-compat-table__bad a {
    color: #c62828;
    text-decoration: none;
    margin-right: 8px;
}

.horo-compat-table__good a:hover,
.horo-compat-table__bad a:hover {
    text-decoration: underline;
}

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

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

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

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

@media (max-width: 768px) {
    .horo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .horo-banner {
        padding: 36px 20px;
    }

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

    .horo-banner__cn {
        font-size: 36px;
    }

    .horo-banner__lantern {
        display: none;
    }

    .horo-calc__form {
        flex-direction: column;
    }

    .horo-calc__fields {
        width: 100%;
        justify-content: center;
    }

    .horo-calc__btn {
        width: 100%;
    }

    .horo-compat__form {
        flex-direction: column;
    }

    .horo-compat__form .horo-calc__select {
        width: 100%;
    }

    .horo-sign-banner {
        flex-direction: column;
        text-align: center;
        padding: 28px 20px;
    }

    .horo-sign-banner__icon {
        width: 90px;
        height: 90px;
    }

    .horo-sign-banner__title {
        font-size: 24px;
    }

    .horo-triads {
        grid-template-columns: 1fr;
    }

    .horo-pairs-grid {
        grid-template-columns: 1fr;
    }

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

    .horo-section-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .horo-grid {
        grid-template-columns: 1fr;
    }

    .horo-card {
        padding: 20px 16px;
    }

    .horo-calc__fields {
        flex-direction: column;
    }

    .horo-calc__select {
        width: 100%;
    }
}

/* End */
/* /local/components/china/horoscope/templates/.default/style.css?177241805514784 */
