/* Presentation only. Loaded exclusively by views/horoscope.php. */
body.page-horoscope .horo-stars-section {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin-inline: auto;
    padding-inline: 0;
    padding-bottom: 48px;
    background: #fff;
}
body.page-horoscope .horo-stars-section > .page-header {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 390px;
    margin: 0;
    padding: 64px 24px 54px;
    border: 0;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 0;
    background: #f7f9fb !important;
}
body.page-horoscope .horo-stars-section > .page-header::before {
    content: '';
    display: block;
    position: absolute;
    inset: auto 0 0;
    z-index: -1;
    width: 100%;
    /* Show only the lower half of the photograph, below the moon. */
    height: 200%;
    background: linear-gradient(90deg, #ffffff99, #ffffff88 50%, #ffffff44), url('/img/alpine-hero.jpg') center bottom / cover no-repeat;
    opacity: 1;
    transform-origin: 65% 50%;
    pointer-events: none;
}
body.page-horoscope .horo-stars-section > .page-header .container {
    width: 100%;
    max-width: 1392px;
    padding: 0;
    margin-inline: auto;
    text-align: center;
}
body.page-horoscope .horo-stars-section > .page-header h1 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(38px, 4.3vw, 66px);
    line-height: 1.12;
    letter-spacing: -.035em;
    color: #10172c;
    text-shadow: 0 2px 20px #ffffff;
    margin: 0 0 18px;
    animation: ns-horoscope-arrive .6s ease-out both;
}
body.page-horoscope .horo-stars-section > .page-header p {
    color: #18181b;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 auto;
}
body.page-horoscope .page-header .tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}
body.page-horoscope .page-header .tab {
    min-width: 128px;
    border: 1px solid #b99465;
    border-radius: 8px;
    background: #fffffff2;
    padding: 14px 27px;
    color: #18181b;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    transition: background-color .2s, border-color .2s, transform .2s;
}
body.page-horoscope .page-header .tab.active {
    background: #966a35;
    border-color: #dec5a0;
    box-shadow: 0 4px 16px #966a3522;
    color: #fff;
}
body.page-horoscope .page-header .tab:hover {
    transform: translateY(-2px);
    border-color: #e9c798;
    background: #76502d;
    color: #fff;
}
body.page-horoscope .horo-stars-section > .av-picker-bar {
    width: calc(100% - 48px);
    max-width: 1392px;
    margin: 16px auto 26px;
    border: 0;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 0;
    background: #fff;
}
body.page-horoscope .av-picker-inner {
    width: 100%;
    max-width: 100%;
    padding: 14px 0 22px;
    gap: 6px;
}
body.page-horoscope .av-pick-sym {
    transition: transform .25s, background-color .25s, border-color .25s;
}
body.page-horoscope .av-pick:hover .av-pick-sym {
    transform: translateY(-3px);
    border-color: #98703e;
}
body.page-horoscope .av-pick.active .av-pick-sym {
    background: #f7f0e4;
    border-color: #a67e50;
}
body.page-horoscope .horo-full-wrap {
    width: calc(100% - 48px);
    max-width: 1392px;
    margin-inline: auto;
    padding: 0;
}
body.page-horoscope .horo-3col {
    grid-template-columns: 220px minmax(0, 1fr) 240px;
    gap: 26px;
}
body.page-horoscope .horo-3col > .sidebar,
body.page-horoscope .horo-3col > .horo-right-panel {
    min-width: 0;
    padding-top: 0;
    margin-right: 0;
}
body.page-horoscope .horo-3col > .horoscope-content {
    width: 100%;
    min-width: 0;
    padding: 28px 30px 36px;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 7px 26px #17294405;
}
body.page-horoscope .horoscope-body p {
    font-size: 16px;
    line-height: 1.85;
    color: #18181b;
    overflow-wrap: anywhere;
}
body.page-horoscope .horoscope-body h2,
body.page-horoscope .horoscope-body h3 {
    color: #10172c;
    scroll-margin-top: 112px;
}
body.page-horoscope .horoscope-body h3 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -.02em;
}
body.page-horoscope .horoscope-body > h3:first-child { margin-top: 0; }
body.page-horoscope .horoscope-meta-grid {
    gap: 12px;
    margin-block: 28px;
}
body.page-horoscope .horoscope-meta-item {
    min-width: 0;
    padding: 17px 10px;
    border: 1px solid #e9e2d7;
    border-radius: 8px;
    background: #fcfaf6;
}
body.page-horoscope .horoscope-meta-item .meta-label { color: #18181b; }
body.page-horoscope .horoscope-meta-item .meta-value {
    color: #10172c;
    font-size: 24px;
    overflow-wrap: anywhere;
}
body.page-horoscope .horo-right-panel .hrp-card {
    padding: 20px;
    background: #fff;
    border: 1px solid #e4e7ec;
    box-shadow: 0 5px 18px #17294404;
}
body.page-horoscope .horo-right-panel .hrp-card h4 {
    color: #10172c;
    font-size: 19px;
    letter-spacing: -.01em;
}
body.page-horoscope .horoscope-content .card {
    border-radius: 8px;
    transition: border-color .2s, transform .2s;
}
body.page-horoscope .horoscope-content .card:hover {
    border-color: #ad8757;
    transform: translateY(-2px);
}
body.page-horoscope .horo-stars-section a:focus-visible {
    outline: 2px solid #98703e;
    outline-offset: 4px;
}
@keyframes ns-horoscope-cosmos {
    from { transform: scale(1); }
    to { transform: scale(1.035); }
}
@keyframes ns-horoscope-arrive {
    from { opacity: .5; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (min-width: 1025px) and (max-width: 1200px) {
    body.page-horoscope .horo-3col {
        grid-template-columns: 180px minmax(0, 1fr) 210px;
        gap: 18px;
    }
    body.page-horoscope .horo-3col > .horoscope-content { padding: 24px; }
}
@media (max-width: 1024px) {
    body.page-horoscope .horo-3col { grid-template-columns: minmax(0, 1fr); }
    body.page-horoscope .horo-stars-section > .av-picker-bar,
    body.page-horoscope .horo-full-wrap { max-width: 852px; }
    body.page-horoscope .av-picker-inner { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    body.page-horoscope .horo-stars-section > .av-picker-bar,
    body.page-horoscope .horo-full-wrap { width: calc(100% - 32px); }
    body.page-horoscope .horo-stars-section > .page-header {
        min-height: 340px;
        margin-top: 0;
        padding: 44px 18px 36px;
        border-radius: 0;
    }
    body.page-horoscope .page-header .tabs { gap: 8px; }
    body.page-horoscope .page-header .tab { min-width: 0; padding: 12px 15px; font-size: 14px; }
    body.page-horoscope .av-picker-inner { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px 4px; }
    body.page-horoscope .horo-3col > .horoscope-content { padding: 23px 18px; }
    body.page-horoscope .horoscope-body p { line-height: 1.75; }
    body.page-horoscope .horoscope-content .card-grid { grid-template-columns: 1fr !important; }
}
@media (prefers-reduced-motion: reduce) {
    body.page-horoscope .horo-stars-section > .page-header::before,
    body.page-horoscope .horo-stars-section > .page-header h1 { animation: none; }
    body.page-horoscope .horo-stars-section a,
    body.page-horoscope .horo-stars-section .av-pick-sym { transition: none; }
    body.page-horoscope .horo-stars-section a:hover,
    body.page-horoscope .av-pick:hover .av-pick-sym { transform: none; }
}
