.horo-fullwrap {
    width: 100%;
    margin: 0 auto;
}

.horo-container {
    max-width: 1100px;
    margin: 0 40px 40px 40px;
    padding: 0px 20px 20px 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}

@media (max-width: 600px) {
    .horo-container {
        margin: 5px !important;
        border-radius: 0;
        padding: 15px;
    }
}


.horo-title {
    font-size: 28px;
    margin-bottom: 20px;
}

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

.horo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px;
    border-radius: 16px;
    background: #f7f7ff;
    border: 1px solid #ececff;
    text-align: center;
    transition: 0.25s ease;
    text-decoration: none !important;
    color: inherit;
}

.horo-card:hover {
    background: #ffffff;
    border-color: #c7c7ff;
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}

.horo-card * {
    text-decoration: none !important;
}

.horo-card-icon img {
    height: 64px;
    width: auto;
    display: block;
}

.horo-card-name {
    margin-top: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #222;
}

.horo-card-dates {
    margin-top: 4px;
    font-size: 14px;
    color: #666;
}

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

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


.horo-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    margin-top: 20px;
}

.horo-aside {
    text-align: center;
    background: #faf7ff;
    border: 1px solid #f0e9ff;
    padding: 25px 20px;
    border-radius: 18px;
}

.horo-aside-icon img {
    height: 90px;
    width: auto;
    margin: 0 auto 15px auto;
}

.horo-aside-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #2a1a52;
}

.horo-aside-dates {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
}

.horo-aside-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.horo-aside-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 15px;
}

.horo-aside-list li span {
    font-weight: 600;
    color: #4a327a;
}


@media (max-width: 780px) {
    .horo-layout {
        grid-template-columns: 1fr;
    }
    .horo-aside {
        order: -1;
    }
}


.horo-aside-list li {
    display: grid;
    grid-template-columns: 26px 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    margin-bottom: 14px;
}

.horo-icon {
    width: 22px;
    height: 22px;
    margin-top: 4px;
    opacity: 0.85;
}

.horo-aside-list li span {
    font-weight: 600;
    color: #4a327a;
    grid-column: 2;
}

.horo-list-value {
    grid-column: 2;
    font-size: 15px;
    color: #444;
}

.horo-info {
    margin-top: 25px;
}

.horo-info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 15px;
}

.horo-info-row img {
    width: 22px;
    height: 19px;
    opacity: 0.9;
}

.horo-info-row .label {
    font-weight: 600;
    color: #444;
    text-align: left;
    min-width: 90px;
}

.horo-info-row .value {
    color: #222;
    text-align: left;
}

.horo-meta-date {
    font-weight: 600;
    padding-bottom: 15px;
    color: #5a3ef2;
    font-size: 16px;
}

/* ======= Капсульные табы ======= */

.horo-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none; /* Firefox */
}

.horo-tabs::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.horo-tabs a {
    padding: 6px 14px;
    font-size: 14px;
    border-radius: 16px;
    background: #f3f0ff;
    color: #444;
    text-decoration: none;
    white-space: nowrap;
    transition: .25s;
}

.horo-tabs a:hover {
    background: #e6e0ff;
}

.horo-tabs a.active {
    background: #5A3EF2;
    color: #fff;
}

/* ======= Мобилка ======= */
@media (max-width: 600px) {
    .horo-tabs {
        gap: 8px;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px;
    }

    .horo-tabs a {
        font-size: 15px;
        padding: 8px 14px;
    }
}


/* ------------------------------------------
   ГОРИЗОНТАЛЬНАЯ ЛЕНТА ЗНАКОВ — ФИНАЛЬНАЯ
-------------------------------------------*/
/* === Контейнер навигации === */
.horo-signs-nav {
    position: relative;
    margin: 40px 0 10px 0;
}

/* === Горизонтальная лента === */
.horo-signs-scroll {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    scrollbar-width: none;
}
.horo-signs-scroll::-webkit-scrollbar {
    display: none;
}

/* === Карточки === */
.horo-sign-card {
    flex: 0 0 auto;
    background: #fff;
    border-radius: 18px;
    padding: 18px 20px;
    border: 1px solid #eee;
    text-align: center;
    min-width: 150px;
    transition: .25s ease;
}
.horo-sign-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

/* === Стрелки === */
.horo-scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center; /* важное исправление */
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    cursor: pointer;
    transition: 0.25s ease;
    opacity: 0.95;
    z-index: 10;
    padding: 0; /* убрать любые скрытые отступы */
}

.horo-scroll-arrow:hover {
    background: #ece6ff;
    transform: translateY(-50%) scale(1.06);
}

.horo-scroll-arrow.left {
    left: -22px;
}

.horo-scroll-arrow.right {
    right: -22px;
}

.horo-scroll-arrow svg {
    pointer-events: none;
}

.arrow-icon {
    display: flex;             /* выравнивание */
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.arrow-icon svg {
    stroke: #6d5afc;
    width: 22px;               /* одинаковые размеры */
    height: 22px;
}



    .horo-sign-card {
        min-width: 150px;
        display: block;
        text-align: center;
        padding: 18px;
        background: #faf8ff;
        border: 1px solid #ece7ff;
        border-radius: 18px;
        text-decoration: none !important;
        color: inherit;
        transition: .25s;
    }

    .horo-sign-card:hover {
        background: #ffffff;
        border-color: #d6ccff;
        transform: translateY(-4px);
        box-shadow: 0 8px 18px rgba(0,0,0,0.05);
    }

    .horo-sign-card-inner img {
        height: 50px;
        margin-bottom: 10px;
        object-fit: contain;
    }

    .horo-sign-name {
        font-size: 15px;
        font-weight: 600;
    }

    .horo-sign-dates {
        font-size: 13px;
        color: #666;
    }
    
    .horo-scroll-arrow {
    border: none !important;
    outline: none !important;
}

.horo-scroll-arrow:focus {
    outline: none !important;
    box-shadow: none !important;
}

.horo-scroll-arrow:active {
    outline: none !important;
    box-shadow: none !important;
}

/* Контейнер */
.horo-breadcrumbs.scrollable {
    display: flex;
    font-size: 14px;
    white-space: nowrap;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 30px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

/* Скрыть полосу в Chrome/Safari */
.horo-breadcrumbs.scrollable::-webkit-scrollbar {
    display: none;
}

/* Ссылки */
.horo-breadcrumbs a {
    color: #212121;
    text-decoration: none;
    font-weight: 600;
    flex-shrink: 0;
}

/* Активный элемент */
.horo-breadcrumbs .current {
    color: #ff6b6b;
    font-weight: 600;
    flex-shrink: 0;
}

/* Разделитель */
.horo-breadcrumbs .sep {
    color: #aaa;
    flex-shrink: 0;
}

.horo-breadcrumbs .current {
    white-space: nowrap; /* ключ */
    display: inline-block;
}


.horo-breadcrumbs.scrollable span,
.horo-breadcrumbs.scrollable a {
    white-space: nowrap;
    flex-shrink: 0;
}

