/**
 * Site-wide front-end styles (public pages using layouts.app).
 * Header tuned to match design reference (logo ~65px, nav 15px/#333, CTA #7B47D1).
 */
body {
    font-family: "Inter", sans-serif;
}

/* Main front layout: cap container at 1200px (was 1320 at xxl) */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

/* —— Header: sticky top + light shadow below only —— */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0 !important;
}

.site-header-brand {
    min-width: 0;
    /* Logo width follows asset aspect ratio at fixed height */
    max-width: min(280px, 36vw);
}

/* Desktop: logo height ~65px (reference), width auto — aspect ratio preserved */
.site-header-brand__img {
    display: block;
    height: 85px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
}

/* Mobile: slightly smaller, same proportions */
.site-header-brand__img--sm {
    height: 52px;
    width: auto;
    max-width: min(220px, 55vw);
}

/* Desktop: 3 columns — logo | nav (center) | actions */
.site-header-desktop {
    grid-template-columns: minmax(0, auto) minmax(0, 1fr) minmax(0, auto);
    align-items: center;
    column-gap: 1.5rem;
    min-height: 80px;
}

.site-header-center-nav {
    min-width: 0;
    display: flex;
    justify-content: center;
}

/* ~25px between nav items (reference) */
.site-header-nav-list {
    column-gap: 25px;
    row-gap: 0.5rem;
}

.site-header-actions {
    min-width: 0;
    column-gap: 20px;
}

/* Nav + login: 15px, regular, #333 (reference) */
.site-header-link {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: #333333;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease;
}

.site-header-link:hover,
.site-header-link:focus-visible {
    color: #1a1a1a;
}

.site-header-link.is-active {
    color: #1a1a1a;
    font-weight: 500;
}

/* Book Consultation — reference: #7B47D1, ~10px × 24px padding, ~10px radius, bold white */
.btn-book-consultation {
    --bs-btn-color: #ffffff;
    --bs-btn-bg: #7b47d1;
    --bs-btn-border-color: #7b47d1;
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: #6b3db8;
    --bs-btn-hover-border-color: #6b3db8;
    --bs-btn-focus-shadow-rgb: 123, 71, 209;
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: #6339ad;
    --bs-btn-active-border-color: #5c359f;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.25;
    padding: 12px 24px;
    border-radius: 10px;
    border: none;
    white-space: nowrap;
}

.btn-book-consultation:hover,
.btn-book-consultation:focus-visible {
    color: #ffffff;
}

.site-header .navbar-nav .nav-link.site-header-link {
    font-size: 15px;
    font-weight: 400;
    color: #333333;
}

.site-header .navbar-nav .nav-link.site-header-link:hover,
.site-header .navbar-nav .nav-link.site-header-link:focus-visible {
    color: #1a1a1a;
}

/* Bootstrap 5 has .shadow-sm; add .shadow-xl for hero cards (deeper than .shadow-lg) */
.shadow-xl {
    box-shadow:
        0 1.25rem 2.5rem rgba(0, 0, 0, 0.1),
        0 0.5rem 1rem rgba(0, 0, 0, 0.06) !important;
}

/* —— Home hero —— */
.hero-home {
    position: relative;
    background: linear-gradient(145deg, #f5f5f6 0%, #fafafa 22%, #fdfdfd 40%, #ffffff 58%, #ffffff 100%);
    padding-bottom: 3.5rem;
    box-shadow:
        rgba(50, 50, 93, 0.25) 0 6px 12px -2px,
        rgba(0, 0, 0, 0.3) 0 3px 7px -3px;
}

@media (min-width: 992px) {
    .hero-home {
        padding-top: 3rem;
        padding-bottom: 4.5rem;
    }
}

.hero-status-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: #22c55e;
}

.hero-title {
    font-size: clamp(1.625rem, 4vw + 1rem, 54px);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.12;
}

.hero-title > .d-block + .d-block {
    margin-top: 0.08em;
}

@media (min-width: 992px) {
    .hero-title {
        font-size: 54px;
    }
}

.hero-title-gradient {
    background: linear-gradient(90deg, #7b47d1 0%, #c9a227 55%, #e8a24a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lead {
    font-size: 1rem;
    max-width: 32rem;
    line-height: 1.6;
}

.btn-hero-primary {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    color: #fff;
    background-color: #7b47d1;
    border: none;
    border-radius: 0.625rem;
    padding: 0.875rem 1.4rem;
    box-shadow: 0 0.25rem 0.75rem rgba(123, 71, 209, 0.35);
}

.btn-hero-primary:hover,
.btn-hero-primary:focus-visible {
    color: #fff;
    background-color: #6b3db8;
}

.btn-hero-secondary {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    color: #7b47d1;
    background-color: #fff;
    border: 2px solid #64748b;
    border-radius: 0.625rem;
    padding: 0.875rem 1.4rem;
}

.btn-hero-secondary:hover,
.btn-hero-secondary:focus-visible {
    color: #5b2ea6;
    background-color: #faf8fc;
    border-color: #475569;
}

.hero-avatar-pile__circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -0.55rem;
    flex-shrink: 0;
}

.hero-avatar-pile__icon {
    width: 0.875rem;
    height: 0.875rem;
    color: #ffffff;
}

.hero-avatar-pile__circle:first-child {
    margin-left: 0;
}

.hero-avatar-pile__circle--violet {
    background: linear-gradient(135deg, #7b47d1, #9b6fe0);
}

.hero-avatar-pile__circle--amber {
    background: linear-gradient(135deg, #f5c842, #f0a020);
}

.hero-avatar-pile__circle--violet2 {
    background: linear-gradient(135deg, #5b35a8, #7b47d1);
}

.hero-stars {
    letter-spacing: 0.05em;
    font-size: 0.75rem;
    line-height: 1;
}

/* Hero: center badge + left content on mobile/tablet */
@media (max-width: 991.98px) {
    .hero-home .row.mb-3.mb-lg-4 {
        text-align: center;
    }

    .hero-home-content-col {
        text-align: center;
    }

    .hero-home-content-col .hero-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-home-content-col .hero-home-actions {
        justify-content: center;
    }

    .hero-home-content-col .hero-home-proof {
        justify-content: center;
    }
}

/* Astrologer cards — reference layout: padded frame, tinted border, tall portrait, pill overlay */
.hero-astro-card.card {
    --hero-astro-radius: 1.25rem;
    background-color: #ffffff;
    border-radius: var(--hero-astro-radius);
    overflow: visible;
}

.hero-astro-card--border-violet {
    border: 1px solid rgba(123, 71, 209, 0.38) !important;
}

.hero-astro-card--border-gold {
    border: 1px solid rgba(232, 162, 74, 0.5) !important;
}

.hero-astro-card__inner {
    padding: 0.5rem;
}
@media(max-width: 768px){
    .hero-home{
        padding-top: 20px !important;
    }
}

@media (min-width: 768px) {
    .hero-astro-card__inner {
        padding: 0.65rem;
    }
}

.hero-astro-card__media {
    background: linear-gradient(165deg, #f0edff 0%, #faf7ff 40%, #fff8ef 100%);
}

.hero-astro-card__aspect {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 4.45;
}

.hero-astro-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-astro-card__img--placeholder {
    background: linear-gradient(160deg, #e8e4f8 0%, #f5f0ff 50%, #fff3e0 100%);
}

.hero-astro-card__pill {
    position: absolute;
    left: 0.55rem;
    right: 0.55rem;
    bottom: 0.65rem;
    transform: none;
    width: auto;
    max-width: none;
    background: #f9f9f9;
    border-radius: 12px;
    padding: 5px 5px 5px 8px;
    text-align: left;
    z-index: 2;
}

.hero-astro-card__name {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 0.8125rem;
    color: #111827;
    line-height: 1.25;
    margin-bottom: 0.05rem;
}

.hero-astro-card__meta {
    font-family: "Inter", sans-serif;
    font-size: 0.6875rem;
    font-weight: 400;
    color: #6b7280;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-astro-card__star {
    color: #e8a24a;
    font-size: 0.65rem;
    margin-right: 0.12rem;
}

.hero-astro-card__dot {
    margin: 0 0.2rem;
    opacity: 0.65;
}

.hero-chat-fab {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1025;
    width: 3.25rem;
    height: 3.25rem;
    padding: 0;
    background-color: #22c55e !important;
    border: none;
}

.hero-chat-fab:hover,
.hero-chat-fab:focus-visible {
    background-color: #16a34a !important;
    color: #fff !important;
}

/* —— Consult steps (3 cards) —— */
.consult-steps-section {
    background-color: #ffffff;
    font-family: "Inter", sans-serif;
    padding-top: 3.5rem;
    padding-bottom: 4rem;
}

@media (min-width: 992px) {
    .consult-steps-section {
        padding-top: 4.5rem;
        padding-bottom: 5rem;
    }
}


.consult-steps-section__title {
    font-size: 2rem;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.consult-steps-section__subtitle {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.5;
}

.consult-step-card {
    background-color: #f8f9fd;
    border-radius: 14px;
    padding: 2rem 1.75rem;
}

@media (min-width: 992px) {
    .consult-step-card {
        padding: 2.25rem 2rem;
    }
}

.consult-step-card__icon-wrap {
    width: 4.25rem;
    height: 4.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.consult-step-card__icon-wrap--purple {
    background-color: #7b4fe0;
}

.consult-step-card__icon-wrap--amber {
    background-color: #fbb03b;
}

.consult-step-card__icon-wrap--green {
    background-color: #28c76f;
}

.consult-step-card__icon {
    width: 1.75rem;
    height: 1.75rem;
    color: #ffffff;
}

.consult-step-card__title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 0.65rem;
}

.consult-step-card__text {
    font-size: 0.9375rem;
    color: #6c757d;
    line-height: 1.55;
}

.consult-steps-cta {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    color: #ffffff;
    background-color: #7b4fe0;
    border: none;
    border-radius: 10px;
    padding: 0.75rem 1.75rem;
}

.consult-steps-cta:hover,
.consult-steps-cta:focus-visible {
    color: #ffffff;
    background-color: #6940c9;
}

/* —— How our consultation works (numbered row, white — design ref) —— */
.how-consult-works {
    background-color: #ffffff;
    font-family: "Inter", sans-serif;
    padding-top: 3.5rem;
    padding-bottom: 4rem;
}

@media (min-width: 992px) {
    .how-consult-works {
        padding-top: 4.5rem;
        padding-bottom: 5rem;
    }
}

.how-consult-works__title {
    font-size: 2rem;
    font-weight: 500;
    color: #212529;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 2.5rem;
}

@media (min-width: 992px) {
    .how-consult-works__title {
        margin-bottom: 3rem;
    }
}

.how-consult-works__track {
    position: relative;
    max-width: 62rem;
    margin-left: auto;
    margin-right: auto;
}

.how-consult-works__line {
    display: none;
}

@media (min-width: 768px) {
    .how-consult-works__line {
        display: block;
        position: absolute;
        left: 10%;
        right: 10%;
        top: 1.625rem;
        height: 1px;
        background-color: #dee2e6;
        z-index: 0;
        pointer-events: none;
    }
}

.how-consult-step {
    position: relative;
    z-index: 1;
}

.how-consult-step__num {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.how-consult-step__num--1 {
    background-color: #6f42c1;
}

.how-consult-step__num--2 {
    background-color: #ffc107;
}

.how-consult-step__num--3 {
    background-color: #28a745;
}

.how-consult-step__title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #212529;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.how-consult-step__text {
    font-size: 0.9375rem;
    font-weight: 400;
    color: #6c757d;
    line-height: 1.55;
    max-width: 17rem;
    margin-left: auto;
    margin-right: auto;
}

/* —— Explore astrology services (3 cards + CTA) —— */
.astro-services-section {
    background-color: #f5f5f5;
    font-family: "Inter", sans-serif;
    padding-top: 3.5rem;
    padding-bottom: 4rem;
}

@media (min-width: 992px) {
    .astro-services-section {
        padding-top: 4.5rem;
        padding-bottom: 5rem;
    }
}

.astro-services-section__title {
    font-size: 2rem;
    font-weight: 500;
    color: #212529;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 2.5rem;
}

@media (min-width: 992px) {
    .astro-services-section__title {
        margin-bottom: 3rem;
    }
}

.astro-service-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

@media (min-width: 992px) {
    .astro-service-card {
        padding: 2rem 1.75rem;
    }
}

.astro-service-card__icon-wrap {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.astro-service-card__icon-wrap--purple {
    background-color: #6f42c1;
}

.astro-service-card__icon-wrap--amber {
    background-color: #f5a623;
}

.astro-service-card__icon-wrap--green {
    background-color: #28a745;
}

.astro-service-card__icon {
    width: 1.375rem;
    height: 1.375rem;
    color: #ffffff;
}

.astro-service-card__title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #212529;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.astro-service-card__text {
    font-size: 0.9375rem;
    font-weight: 400;
    color: #6c757d;
    line-height: 1.55;
    flex: 1;
}

.astro-service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    margin-top: 1.125rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #6f42c1;
    text-decoration: none;
}

.astro-service-card__link:hover,
.astro-service-card__link:focus-visible {
    color: #5a32a3;
    text-decoration: underline;
}

.astro-services-section__cta {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    color: #ffffff;
    background-color: #6f42c1;
    border: none;
    border-radius: 10px;
    padding: 0.75rem 2rem;
}

.astro-services-section__cta:hover,
.astro-services-section__cta:focus-visible {
    color: #ffffff;
    background-color: #5a32a3;
}

/* —— Daily Horoscope / Rashifal —— */
.rashifal-section {
    background-color: #ffffff;
    font-family: "Inter", sans-serif;
    padding-top: 3.5rem;
    padding-bottom: 4rem;
}

.rashifal-section > .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 992px) {
    .rashifal-section {
        padding-top: 4.5rem;
        padding-bottom: 5rem;
    }
}

.rashifal-section__header {
    width: 100%;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.75rem;
    text-align: center;
}

@media (min-width: 992px) {
    .rashifal-section__header {
        margin-bottom: 2.25rem;
    }
}

.rashifal-section__title {
    font-size: 2rem;
    font-weight: 500;
    color: #212529;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem;
}

.rashifal-section__subtitle {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.55;
}

.rashifal-section__cluster {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.rashifal-tabs-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    margin-bottom: 1.25rem;
    padding-bottom: 0.125rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.rashifal-tabs {
    gap: 0.45rem;
    flex-wrap: nowrap;
    flex-shrink: 0;
    width: max-content;
    max-width: none;
}

@media (min-width: 768px) {
    .rashifal-tabs {
        gap: 0.55rem;
    }
}

.rashifal-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-width: 3.85rem;
    padding: 0.55rem 0.4rem;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background-color: #ffffff;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease,
        box-shadow 0.15s ease;
}

@media (min-width: 768px) {
    .rashifal-tab {
        min-width: 4.35rem;
        padding: 0.6rem 0.45rem;
    }
}

.rashifal-tab:hover,
.rashifal-tab:focus-visible {
    border-color: #c4b5dc;
    box-shadow: 0 1px 4px rgba(111, 66, 193, 0.12);
    outline: none;
}

.rashifal-tab--active {
    background-color: #6f42c1;
    border-color: #6f42c1;
    box-shadow: 0 2px 6px rgba(111, 66, 193, 0.25);
}

.rashifal-tab__icon-img {
    width: 1.875rem;
    height: 1.875rem;
    object-fit: contain;
    display: block;
}

@media (min-width: 768px) {
    .rashifal-tab__icon-img {
        width: 2rem;
        height: 2rem;
    }
}

.rashifal-tab--active .rashifal-tab__icon-img {
    filter: brightness(0) invert(1);
}

.rashifal-tab__icon-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6f42c1;
}

.rashifal-tab--active .rashifal-tab__icon-fallback {
    color: #ffffff;
}

.rashifal-tab__label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #212529;
    line-height: 1.15;
    text-align: center;
}

@media (min-width: 768px) {
    .rashifal-tab__label {
        font-size: 0.75rem;
    }
}

.rashifal-tab--active .rashifal-tab__label {
    color: #ffffff;
}

.rashifal-panel {
    width: 100%;
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    padding: 2.25rem 1.5rem 2.5rem;
    background-color: #ffffff;
    border: 1px solid #6f42c1;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

@media (min-width: 768px) {
    .rashifal-panel {
        padding: 2.5rem 2rem 2.75rem;
    }
}

.rashifal-panel__image-wrap {
    margin-bottom: 1.35rem;
}

.rashifal-panel__image-wrap--empty .rashifal-panel__icon-fallback {
    display: inline-flex;
    color: #6f42c1;
}

.rashifal-panel__zodiac-img {
    width: 6.75rem;
    height: 6.75rem;
    object-fit: contain;
    display: inline-block;
}

@media (min-width: 768px) {
    .rashifal-panel__zodiac-img {
        width: 7.5rem;
        height: 7.5rem;
    }
}

.rashifal-panel__sign-title {
    font-size: clamp(1.2rem, 1.8vw + 0.85rem, 1.45rem);
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.85rem;
}

.rashifal-panel__prediction-head {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.rashifal-panel__star {
    color: #ffc107;
    font-size: 1rem;
    line-height: 1;
}

.rashifal-panel__text {
    font-size: 0.9375rem;
    font-weight: 400;
    color: #343a40;
    line-height: 1.7;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.rashifal-panel__cta {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    color: #ffffff !important;
    background-color: #6f42c1;
    border: none;
    border-radius: 10px;
    padding: 0.7rem 1.85rem;
    margin-top: 1.75rem !important;
}

.rashifal-panel__cta:hover,
.rashifal-panel__cta:focus-visible {
    color: #ffffff !important;
    background-color: #5a32a3;
}

/* —— Home: text testimonials —— */
.home-testimonials-section {
    background-color: #ffffff;
    font-family: "Inter", sans-serif;
    padding-top: 3.5rem;
    padding-bottom: 4rem;
}

@media (min-width: 992px) {
    .home-testimonials-section {
        padding-top: 4.5rem;
        padding-bottom: 5rem;
    }
}

.home-testimonials-section__header {
    max-width: 36rem;
    margin-bottom: 2.25rem;
}

@media (min-width: 992px) {
    .home-testimonials-section__header {
        margin-bottom: 2.75rem;
    }
}

.home-testimonials-section__title {
    font-size: 2rem;
    font-weight: 500;
    color: #212529;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem;
}

.home-testimonials-section__subtitle {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.55;
}

.home-testimonial-card {
    background-color: #f4f1fa;
    border-radius: 14px;
    padding: 1.35rem 1.2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(111, 66, 193, 0.08);
}

@media (min-width: 992px) {
    .home-testimonial-card {
        padding: 1rem 1.35rem;
    }
}

.home-testimonial-card__stars {
    font-size: 1.4rem;
    line-height: 1;
    font-weight: 800;
}

.home-testimonial-card__star {
    color: #dee2e6;
}

.home-testimonial-card__star--on {
    color: #f5a623;
}

.home-testimonial-card__quote {
    font-size: 0.875rem;
    font-weight: 400;
    color: #495057;
    line-height: 1.6;
    text-align: left;
    flex: 1;
}

.home-testimonial-card__avatar {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.home-testimonial-card__avatar--fallback {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background-color: #6f42c1;
    color: #ffffff;
}

.home-testimonial-card__avatar-icon {
    flex-shrink: 0;
}

.home-testimonial-card__name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #212529;
    line-height: 1.3;
}

.home-testimonials-section__more {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #6f42c1;
    text-decoration: none;
}

.home-testimonials-section__more:hover,
.home-testimonials-section__more:focus-visible {
    color: #5a32a3;
    text-decoration: underline;
}

/* —— Home: FAQ accordion —— */
.home-faq-section {
    background-color: #f8f9fa;
    font-family: "Inter", sans-serif;
    padding-top: 3.5rem;
    padding-bottom: 4rem;
}

@media (min-width: 992px) {
    .home-faq-section {
        padding-top: 4.5rem;
        padding-bottom: 5rem;
    }
}

.home-faq-section__title {
    font-size: 2rem;
    font-weight: 500;
    color: #212529;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 2.25rem;
}

@media (min-width: 992px) {
    .home-faq-section__title {
        margin-bottom: 2.75rem;
    }
}

.home-faq-list {
    max-width: 42rem;
}

.home-faq-item {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    margin-bottom: 0.85rem;
    overflow: hidden;
}

@media (min-width: 768px) {
    .home-faq-item {
        margin-bottom: 1rem;
    }
}

.home-faq-item:last-child {
    margin-bottom: 0;
}

.home-faq-item__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: left;
    padding: 1.1rem 1.15rem;
    font-family: "Inter", sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #212529;
    background-color: #ffffff;
    border: none;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.home-faq-item__trigger:hover,
.home-faq-item__trigger:focus-visible {
    background-color: #fafafa;
}

.home-faq-item__trigger:focus-visible {
    outline: 2px solid #6f42c1;
    outline-offset: -2px;
}

.home-faq-item__question {
    flex: 1;
    min-width: 0;
    line-height: 1.45;
}

.home-faq-item__chev-wrap {
    flex-shrink: 0;
    color: #5b4bce;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-faq-item__chev {
    display: block;
    transition: transform 0.25s ease;
}

.home-faq-item__trigger[aria-expanded="true"] .home-faq-item__chev {
    transform: rotate(180deg);
}

.home-faq-item__collapse {
    border-top: 1px solid #f1f3f5;
}

.home-faq-item__answer {
    padding: 0 1.15rem 1.15rem;
    font-size: 0.9375rem;
    font-weight: 400;
    color: #495057;
    line-height: 1.65;
}

.home-faq-item__answer p:last-child {
    margin-bottom: 0;
}

.home-faq-item__answer p {
    margin-bottom: 0.5rem;
}

/* —— Astrologer listing: FAQ (stacked cards, full Q&A visible) —— */
.astro-listing-faq-section {
    font-family: "Inter", sans-serif;
    background-color: #f8f9fa;
    padding-top: 3.5rem;
    padding-bottom: 4rem;
}

@media (min-width: 992px) {
    .astro-listing-faq-section {
        padding-top: 4.5rem;
        padding-bottom: 5rem;
    }
}

.astro-listing-faq-section__title {
    font-size: 2rem;
    font-weight: 500;
    color: #212529;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

@media (min-width: 992px) {
    .astro-listing-faq-section__title {
        margin-bottom: 2.5rem;
    }
}

.astro-listing-faq-list {
    max-width: 48rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.astro-listing-faq-list--detail {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.astro-listing-faq-card {
    background-color: #ffffff;
    border-radius: 14px;
    padding: 1.6rem 1.75rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

@media (min-width: 768px) {
    .astro-listing-faq-card {
        padding: 1.75rem 1.85rem;
    }
}

.astro-listing-faq-card__question {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.35;
    margin: 0 0 0.65rem;
    letter-spacing: -0.01em;
}

.astro-listing-faq-card__answer {
    font-size: 0.9375rem;
    font-weight: 400;
    color: #555555;
    line-height: 1.65;
}

.astro-listing-faq-card__answer p {
    margin-bottom: 0.5rem;
}

.astro-listing-faq-card__answer p:last-child {
    margin-bottom: 0;
}

.astro-listing-faq-card__answer ul,
.astro-listing-faq-card__answer ol {
    margin-bottom: 0.5rem;
    padding-left: 1.25rem;
}

.astro-listing-faq-card__answer li {
    margin-bottom: 0.35rem;
}

/* —— Home: Articles —— */
.home-articles-section {
    background-color: #ffffff;
    font-family: "Inter", sans-serif;
    padding-top: 3.5rem;
    padding-bottom: 4rem;
}

@media (min-width: 992px) {
    .home-articles-section {
        padding-top: 4.5rem;
        padding-bottom: 5rem;
    }
}

.home-articles-section__header {
    margin-bottom: 2.25rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 992px) {
    .home-articles-section__header {
        margin-bottom: 2.75rem;
    }
}

.home-articles-section__title {
    font-size: 2rem;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem;
}

.home-articles-section__sub {
    font-size: 0.9375rem;
    font-weight: 400;
    color: #6c757d;
    line-height: 1.55;
}

.home-article-card {
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    overflow: hidden;
    background-color: #ffffff;
    border: 1px solid #f0f0f5;
}

.home-article-card__media-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.home-article-card__media {
    position: relative;
    aspect-ratio: 2 / 1;
    overflow: hidden;
    background-color: #ede8f7;
}

.home-article-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-article-card__placeholder {
    width: 100%;
    height: 100%;
    min-height: 9rem;
    background: linear-gradient(145deg, #e8e0ff 0%, #d4c4f5 45%, #c4b5e8 100%);
}

.home-article-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.15rem 1.25rem 1.35rem;
    background-color: #f8f8ff;
}

.home-article-card__date {
    display: block;
    font-size: 0.8125rem;
    font-weight: 400;
    color: #6c757d;
    line-height: 1.4;
    margin-bottom: 0.45rem;
}

.home-article-card__title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.35;
    margin: 0 0 auto;
    padding-bottom: 1rem;
}

.home-article-card__title a {
    color: inherit;
    text-decoration: none;
}

.home-article-card__title a:hover,
.home-article-card__title a:focus-visible {
    color: #7b47d1;
}

.home-article-card__read {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #7b47d1;
    text-decoration: none;
    align-self: flex-start;
    margin-top: auto;
}

.home-article-card__read:hover,
.home-article-card__read:focus-visible {
    color: #6b3db8;
    text-decoration: underline;
}

/* Article cards — compact purple CTA (same family as Book Consultation / #7B47D1) */
.btn-article-read-more {
    display: inline-block;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 0.8125rem;
    line-height: 1.25;
    color: #ffffff !important;
    background-color: #7b47d1;
    border: none;
    border-radius: 10px;
    padding: 0.45rem 0.9rem;
    text-decoration: none !important;
    align-self: flex-start;
    margin-top: auto;
    transition: background-color 0.15s ease, color 0.15s ease;
    box-shadow: 0 0.15rem 0.45rem rgba(123, 71, 209, 0.25);
}

.btn-article-read-more:hover,
.btn-article-read-more:focus-visible {
    color: #ffffff !important;
    background-color: #6b3db8;
}

.home-articles-section__cta-wrap {
    padding-top: 0.25rem;
}

.home-articles-section__cta {
    --bs-btn-color: #ffffff;
    --bs-btn-bg: #7b47d1;
    --bs-btn-border-color: #7b47d1;
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: #6b3db8;
    --bs-btn-hover-border-color: #6b3db8;
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: #6339ad;
    --bs-btn-active-border-color: #5c359f;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.65rem 1.85rem;
    border-radius: 10px;
}

/* —— Home: CTA banner —— */
.home-cta-banner {
    font-family: "Inter", sans-serif;
    width: 100%;
    background: linear-gradient(
        90deg,
        #4a2a82 0%,
        #5b32a3 18%,
        #6b3db8 38%,
        #7b47d1 50%,
        #6b3db8 62%,
        #5b32a3 82%,
        #4a2a82 100%
    );
    padding: 3.25rem 1rem;
}

@media (min-width: 768px) {
    .home-cta-banner {
        padding: 3.75rem 1.25rem;
    }
}

@media (min-width: 992px) {
    .home-cta-banner {
        padding: 4.25rem 1.5rem;
    }
}

.home-cta-banner__inner {
    max-width: 44rem;
    margin-left: auto;
    margin-right: auto;
}

.home-cta-banner__title {
    font-size: 2rem;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin: 0 0 0.75rem;
}

.home-cta-banner__sub {
    font-size: clamp(1rem, 1vw + 0.85rem, 1.125rem);
    font-weight: 400;
    color: #ffffff;
    line-height: 1.55;
    opacity: 0.98;
    margin-bottom: 1.75rem;
}

@media (min-width: 992px) {
    .home-cta-banner__sub {
        margin-bottom: 2rem;
    }
}

.home-cta-banner__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    background: linear-gradient(180deg, #f5c842 0%, #f0a020 100%);
    border: none;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
    transition: filter 0.15s ease, transform 0.15s ease;
}

.home-cta-banner__btn:hover,
.home-cta-banner__btn:focus-visible {
    color: #141414;
    filter: brightness(1.05);
}

.home-cta-banner__btn:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

.home-cta-banner__btn:active {
    transform: translateY(1px);
}

/* CMS banner carousel + overlay title/breadcrumb */
.cms-banner-carousel-wrap:not(.cms-banner-carousel-wrap--standalone) {
    background: transparent;
}

.cms-banner-carousel-wrap--standalone {
    background: #f8f9fa;
}

.cms-banner-carousel-stage {
    position: relative;
    overflow: hidden;
}

/* Readability over varied banner photos; clicks pass through to carousel */
.cms-banner-carousel-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(15, 23, 42, 0.58) 0%,
        rgba(15, 23, 42, 0.22) 42%,
        rgba(15, 23, 42, 0.45) 100%
    );
}

.cms-banner-carousel {
    position: relative;
    z-index: 0;
}

.cms-banner-carousel__picture {
    max-height: min(42vw, 380px);
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.cms-banner-carousel__img {
    display: block;
    width: 100%;
    height: min(42vw, 380px);
    object-fit: cover;
    object-position: center;
}

.cms-banner-page-head--overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(0.75rem, 3vw, 1.75rem);
    pointer-events: none;
}

.cms-banner-page-head__inner {
    pointer-events: auto;
    width: 100%;
    max-width: min(42rem, 92vw);
    margin-left: auto;
    margin-right: auto;
}

.cms-banner-page-head__title {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.cms-banner-page-head--standalone .cms-banner-page-head__title {
    color: #1a1a1a;
}

.cms-banner-page-head--overlay .cms-banner-page-head__title {
    color: #fff;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.35),
        0 2px 28px rgba(0, 0, 0, 0.45);
}

.cms-banner-page-head__breadcrumb {
    font-size: 0.8125rem;
    --bs-breadcrumb-divider-color: #9ca3af;
}

.cms-banner-page-head--standalone .cms-banner-page-head__breadcrumb .breadcrumb-item,
.cms-banner-page-head--standalone .cms-banner-page-head__breadcrumb .breadcrumb-item a {
    color: #6b7280;
}

.cms-banner-page-head--standalone .cms-banner-page-head__breadcrumb .breadcrumb-item.active {
    color: #4b5563;
}

.cms-banner-page-head--overlay .cms-banner-page-head__breadcrumb {
    --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.55);
}

.cms-banner-page-head--overlay .cms-banner-page-head__breadcrumb .breadcrumb-item,
.cms-banner-page-head--overlay .cms-banner-page-head__breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.92);
}

.cms-banner-page-head--overlay .cms-banner-page-head__breadcrumb .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.8);
}

.cms-banner-page-head__crumb-link {
    text-decoration: none;
}

.cms-banner-page-head--standalone .cms-banner-page-head__crumb-link:hover {
    color: #8a2be2;
    text-decoration: underline;
}

.cms-banner-page-head--overlay .cms-banner-page-head__crumb-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* —— User dashboard (layouts.app + dashboard.blade.php) —— */
.user-dashboard__card {
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
    font-family: "Inter", sans-serif;
}

.user-dashboard .nav-tabs.user-dashboard__tabs .nav-link {
    color: #6b7280;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    border-radius: 0;
}

.user-dashboard .nav-tabs.user-dashboard__tabs .nav-link:hover {
    color: #8a2be2;
    border-color: transparent;
}

.user-dashboard .nav-tabs.user-dashboard__tabs .nav-link.active {
    color: #8a2be2;
    border-bottom-color: #8a2be2;
    background: transparent;
}

.user-dashboard__avatar-wrap {
    position: relative;
    width: 120px;
    height: 120px;
}

.user-dashboard__avatar-img,
.user-dashboard__avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(138, 43, 226, 0.2);
}

.user-dashboard__avatar-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #e9d5ff 0%, #ddd6fe 100%);
    color: #7b47d1;
    font-weight: 700;
    font-size: 2.25rem;
    line-height: 1;
}

.user-dashboard__avatar-edit-btn {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 36px;
    height: 36px;
}

.user-dashboard-toast-container {
    z-index: 1090;
    pointer-events: none;
}

.user-dashboard-toast-container .toast {
    pointer-events: auto;
}

.user-dashboard-toast {
    background: #ffffff;
    color: #1a1a1a;
    border-left: 4px solid #22c55e !important;
}

.user-dashboard-toast .toast-body {
    padding-right: 0.5rem;
}

/* —— Public article pages —— */
.articles-index-section {
    font-family: "Inter", sans-serif;
    padding-top: 2.5rem;
    padding-bottom: 4rem;
}

.articles-index-section__title {
    font-size: clamp(1.5rem, 2.5vw + 0.85rem, 2rem);
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2rem;
}

.article-show-section {
    font-family: "Inter", sans-serif;
    padding-top: 20px;
    margin-top: 0;
    padding-bottom: 4rem;
    background-color: #f8f9fb;
}

/* Wider band for hero; text card slightly narrower (same center axis) */
.article-show-section .article-show-section__hero-wrap {
    max-width: 58rem;
}

.article-show-section .article-show-section__content-wrap {
    max-width: 50rem;
}

.article-show-section__content-wrap--no-hero {
    padding-top: 1.5rem;
}

.article-show-section__hero-outer {
    margin: 0 0.35rem 1.25rem;
    border-radius: 12px;
    overflow: hidden;
}

@media (min-width: 576px) {
    .article-show-section__hero-outer {
        margin: 0 0.5rem 1.5rem;
        border-radius: 14px;
    }
}

@media (min-width: 768px) {
    .article-show-section .article-show-section__hero-wrap {
        max-width: 75rem;
    }

    .article-show-section .article-show-section__content-wrap {
        max-width: 68rem;
    }

    .article-show-section__hero-outer {
        margin: 0 0.35rem 1.5rem;
    }
}

.article-show-section__hero-banner {
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: inherit;
}

.article-show-section__hero-banner img {
    display: block;
    width: 100%;
    height: min(42vw, 380px);
    object-fit: cover;
    object-position: center;
}

.article-show-section__card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 1.25rem 1.1rem 1.5rem;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

@media (min-width: 576px) {
    .article-show-section__card {
        padding: 1.5rem 1.35rem 1.75rem;
    }
}

.article-show-section__meta {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.75rem;
}

.article-show-section__meta-row {
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #6c757d;
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 0.35rem;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.article-show-section__meta-sep {
    color: #adb5bd;
    user-select: none;
}

.article-show-section__meta-title {
    font-weight: 600;
    color: #1a1a1a;
}

.article-show-section__body {
    font-size: 1rem;
    line-height: 1.7;
    color: #333333;
}

.article-show-section__body p:last-child {
    margin-bottom: 0;
}

/* —— Public CMS pages: default template (full-width hero, overlay title + breadcrumb) —— */
.article-show-section.cms-page-show--default {
    padding-top: 0;
}

.cms-page-default__hero-stage {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.cms-page-default__hero-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(15, 23, 42, 0.58) 0%,
        rgba(15, 23, 42, 0.22) 45%,
        rgba(15, 23, 42, 0.48) 100%
    );
}

.cms-page-default__hero-media {
    width: 100%;
}

.cms-page-default__hero-media img {
    display: block;
    width: 100%;
    height: min(46vw, 400px);
    object-fit: cover;
    object-position: center;
}

@media (min-width: 992px) {
    .cms-page-default__hero-media img {
        height: min(38vw, 420px);
    }
}

.cms-page-default__hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 4vw, 2rem);
    pointer-events: none;
}

.cms-page-default__hero-inner {
    pointer-events: auto;
    width: 100%;
    max-width: min(48rem, 94vw);
}

.cms-page-default__hero-title {
    font-size: clamp(1.45rem, 3.2vw + 0.65rem, 2.35rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.35),
        0 2px 28px rgba(0, 0, 0, 0.45);
}

.cms-page-default__breadcrumb {
    font-size: 0.8125rem;
    --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.55);
}

.cms-page-default__breadcrumb .breadcrumb-item,
.cms-page-default__breadcrumb .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.92);
}

.cms-page-default__breadcrumb .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.82);
}

.cms-page-default__crumb-link {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
}

.cms-page-default__crumb-link:hover {
    color: #fff;
    text-decoration: underline;
}

.cms-page-default__hero-fallback {
    background: #f8f9fb;
}

.cms-page-default__fallback-title {
    font-size: clamp(1.5rem, 2.9vw + 0.55rem, 2.35rem);
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.02em;
    line-height: 1.28;
}

.cms-page-default__breadcrumb-fallback {
    font-size: 0.875rem;
    --bs-breadcrumb-divider-color: #9ca3af;
}

.cms-page-default__breadcrumb-fallback .breadcrumb-item a {
    color: #6b7280;
    text-decoration: none;
}

.cms-page-default__breadcrumb-fallback .breadcrumb-item a:hover {
    color: #8a2be2;
}

.cms-page-default__breadcrumb-fallback .breadcrumb-item.active {
    color: #4b5563;
}

.article-show-section.cms-page-show--default .article-show-section__content-wrap.cms-page-default__content-wrap {
    max-width: 56rem;
}

@media (min-width: 768px) {
    .article-show-section.cms-page-show--default .article-show-section__content-wrap.cms-page-default__content-wrap {
        max-width: 72rem;
    }
}

@media (min-width: 1200px) {
    .article-show-section.cms-page-show--default .article-show-section__content-wrap.cms-page-default__content-wrap {
        max-width: 78rem;
    }
}

.cms-page-default__meta {
    font-size: 0.875rem;
}

.cms-page-show--content .cms-page-simple {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    font-family: "Inter", sans-serif;
}

.cms-page-simple__title {
    font-size: clamp(1.5rem, 2.5vw + 0.85rem, 2rem);
    font-weight: 700;
    color: #1a1a1a;
}

.cms-page-simple__body {
    font-size: 1rem;
    line-height: 1.7;
    color: #333333;
}

.cms-page-simple__body p:last-child {
    margin-bottom: 0;
}

.cms-page-about {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    font-family: "Inter", sans-serif;
}

.cms-page-about__title {
    font-size: clamp(1.65rem, 2.8vw + 0.5rem, 2.4rem);
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.cms-page-about__lead {
    max-width: 36rem;
    line-height: 1.55;
}

.cms-page-about__body {
    font-size: 1rem;
    line-height: 1.75;
    color: #333333;
}

.cms-page-about__body p:last-child {
    margin-bottom: 0;
}

/* —— Expert astrologers listing —— */
.expert-astro-section {
    background-color: #f9f9f9;
    font-family: "Inter", sans-serif;
    padding-top: 3.5rem;
    padding-bottom: 4rem;
}

@media (min-width: 992px) {
    .expert-astro-section {
        padding-top: 4.5rem;
        padding-bottom: 5rem;
    }
}



.expert-astro-section__title {
    font-size: 2rem;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .consult-steps-section__title,
    .how-consult-works__title,
    .astro-services-section__title,
    .rashifal-section__title,
    .home-testimonials-section__title,
    .home-faq-section__title,
    .home-articles-section__title,
    .home-cta-banner__title,
    .expert-astro-section__title,
    .astro-listing-faq-section__title {
        font-size: 3rem;
    }
}

.expert-astro-section__subtitle {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.55;
}

.expert-astro-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-width: 100%;
}

.expert-astro-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 5 / 3;
    background: linear-gradient(160deg, #eef0ff 0%, #f8f5ff 45%, #fff8ef 100%);
    flex-shrink: 0;
}

.expert-astro-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.expert-astro-card__img--placeholder {
    background: linear-gradient(160deg, #e8e4f8 0%, #f5f0ff 50%, #fff3e0 100%);
    min-height: 100%;
}

.expert-astro-card__body {
    padding: 0.95rem 1rem 1.1rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.expert-astro-card__name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 0.45rem;
}

.expert-astro-card__experience {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    color: #6c757d;
    margin-bottom: 0.35rem;
    line-height: 1.35;
}

.expert-astro-card__medal-icon {
    width: 0.8rem;
    height: 0.8rem;
    flex-shrink: 0;
    color: #9ca3af;
}

.expert-astro-card__spec {
    font-size: 0.72rem;
    color: #6c757d;
    line-height: 1.4;
}

.expert-astro-card__spec--muted {
    color: #adb5bd;
}

.expert-astro-card__rating {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-top: 0.4rem;
}

.expert-astro-card__star {
    color: #eab308;
    margin-right: 0.15rem;
    font-size: 0.75rem;
}

.expert-astro-card__btn {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 0.8125rem;
    color: #ffffff;
    background-color: #6a4ccf;
    border: none;
    border-radius: 9px;
    padding: 0.5rem 0.85rem;
    margin-top: auto;
}

.expert-astro-card__btn:hover,
.expert-astro-card__btn:focus-visible {
    color: #ffffff;
    background-color: #5a3fb8;
}

.expert-astro-section__view-all {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #2563eb;
    text-decoration: none;
}

.expert-astro-section__view-all:hover {
    text-decoration: underline;
    color: #1d4ed8;
}

/* —— Site footer —— */
.site-footer {
    font-family: "Inter", sans-serif;
    background-color: #1a1a1a;
    color: #adb5bd;
}

.site-footer__accent {
    height: 4px;
    width: 100%;
    background: #7b47d1;
    flex-shrink: 0;
}

.site-footer__main {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
}

@media (min-width: 992px) {
    .site-footer__main {
        padding-top: 3.5rem;
        padding-bottom: 3rem;
    }
}

.site-footer__grid {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

.site-footer__heading {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1rem;
    letter-spacing: -0.01em;
}

.site-footer__list li + li {
    margin-top: 0.55rem;
}

.site-footer__link {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 400;
    color: #adb5bd;
    text-decoration: none;
    line-height: 1.45;
    transition: color 0.15s ease;
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
    color: #ffffff;
}

.site-footer__link:focus-visible {
    outline: 2px solid #7b47d1;
    outline-offset: 2px;
    border-radius: 2px;
}

.site-footer__contact li + li {
    margin-top: 0.65rem;
}

.site-footer__contact-row {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.site-footer__contact-icon {
    flex-shrink: 0;
    width: 1.125rem;
    height: 1.125rem;
    margin-top: 0.15rem;
    color: #868e96;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-footer__link--contact {
    word-break: break-word;
}

.site-footer__divider {
    margin: 2.25rem 0 0;
    border: none;
    border-top: 1px solid #333333;
    opacity: 1;
}

@media (min-width: 992px) {
    .site-footer__divider {
        margin-top: 2.75rem;
    }
}

.site-footer__copyright {
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 400;
    color: #868e96;
    padding-top: 1.75rem;
    padding-bottom: 0.25rem;
    line-height: 1.5;
}

@media (min-width: 992px) {
    .site-footer__copyright {
        padding-top: 2rem;
    }
}

/* —— Public astrologer listing (/astrologers) —— */
.astro-listing-hero {
    font-family: "Inter", sans-serif;
    background: linear-gradient(115deg, #7b47d1 0%, #5b32a8 45%, #432286 100%);
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.astro-listing-hero__title {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .astro-listing-hero__title {
        font-size: 3rem;
    }
}

.astro-listing-hero__lead {
    font-size: clamp(0.95rem, 1.2vw + 0.85rem, 1.125rem);
    font-weight: 400;
    line-height: 1.55;
    max-width: 42rem;
    opacity: 0.97;
}

.astro-listing-hero__stats {
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
}

.astro-listing-hero__stat-value {
    font-size: clamp(1.75rem, 3vw + 0.85rem, 2.35rem);
    font-weight: 700;
    color: #f5d56a;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.astro-listing-hero__stat-star {
    display: inline-block;
    margin-left: 0.15rem;
    font-size: 0.92em;
    vertical-align: text-top;
}

.astro-listing-hero__stat-label {
    font-size: 0.9375rem;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.45;
    margin-top: 0.35rem;
    opacity: 0.96;
}

.astro-listing-section {
    font-family: "Inter", sans-serif;
    background-color: #eceef2;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.astro-listing-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 22px rgba(30, 20, 60, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.astro-listing-card__media {
    position: relative;
    flex-shrink: 0;
    height: 20rem;
    background: linear-gradient(160deg, #eef0ff 0%, #f8f5ff 45%, #fff8ef 100%);
}

@media (min-width: 992px) {
    .astro-listing-card__media {
        height: 20rem;
    }
}

.astro-listing-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.astro-listing-card__img--placeholder {
    min-height: 100%;
    background: linear-gradient(160deg, #e8e4f8 0%, #f5f0ff 50%, #fff3e0 100%);
}

.astro-listing-card__badge-avail {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.55rem 0.28rem 0.45rem;
    border-radius: 999px;
    background-color: #22c55e;
    color: #ffffff;
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.2;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.35);
}

.astro-listing-card__badge-dot {
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 50%;
    background-color: #ffffff;
    flex-shrink: 0;
}

.astro-listing-card__rating-pill {
    position: absolute;
    left: 0.65rem;
    bottom: 0.65rem;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.2rem 0.45rem;
    border-radius: 6px;
    background-color: #ffffff;
    color: #1a1a1a;
    font-size: 0.8125rem;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.astro-listing-card__rating-star {
    color: #f5a623;
    font-size: 0.875rem;
    line-height: 1;
    margin-top: -0.05em;
}

.astro-listing-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 1rem 1.1rem 1.15rem;
    min-height: 0;
}

.astro-listing-card__name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin: 0 0 0.5rem;
}

.astro-listing-card__meta-row {
    font-size: 0.8125rem;
    line-height: 1.35;
}

.astro-listing-card__meta-item {
    color: #6c757d;
}

.astro-listing-card__meta-item--exp {
    color: #7b4fe0;
    font-weight: 600;
}

.astro-listing-card__meta-icon {
    flex-shrink: 0;
    color: #7b4fe0;
}

.astro-listing-card__meta-icon--ok {
    color: #22c55e;
}

.astro-listing-card__bio {
    flex: 1 1 auto;
    min-height: 3.75rem;
    font-size: 0.8125rem;
    font-weight: 400;
    color: #6c757d;
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.astro-listing-card__bio--empty {
    font-style: italic;
    opacity: 0.9;
}

.astro-listing-card__field-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #adb5bd;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
}

.astro-listing-card__tags {
    margin-top: 0.1rem;
}

.astro-listing-card__tag {
    display: inline-block;
    padding: 0.22rem 0.5rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #6f42c1;
    background-color: #f4f1fa;
    border: 1px solid rgba(111, 66, 193, 0.28);
    line-height: 1.25;
}

.astro-listing-card__tag--more {
    font-weight: 500;
    color: #868e96;
    background-color: #f1f3f5;
    border-color: #dee2e6;
}

.astro-listing-card__langs-text {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #343a40;
    line-height: 1.45;
}

.astro-listing-card__price-row {
    gap: 0.45rem 0.65rem;
}

.astro-listing-card__price-current {
    font-size: 1.25rem;
    font-weight: 800;
    color: #6f42c1;
    line-height: 1.2;
}

.astro-listing-card__price-old {
    font-size: 0.875rem;
    font-weight: 500;
    color: #adb5bd;
    text-decoration: line-through;
}

.astro-listing-card__price-off {
    font-size: 0.6875rem;
    font-weight: 700;
    color: #15803d;
    background-color: #dcfce7;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    line-height: 1.2;
}

.astro-listing-card__cta {
    font-family: "Inter", sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(180deg, #8b5cf6 0%, #6f42c1 100%);
    border: none;
    border-radius: 10px;
    padding: 0.65rem 1rem;
    margin-top: auto;
    text-decoration: none;
    box-shadow: 0 2px 0 rgba(60, 30, 120, 0.22);
    transition: filter 0.15s ease, transform 0.15s ease;
}

.astro-listing-card__cta:hover,
.astro-listing-card__cta:focus-visible {
    color: #ffffff;
    filter: brightness(1.06);
}

.astro-listing-card__cta:focus-visible {
    outline: 2px solid #6f42c1;
    outline-offset: 2px;
}

.astro-listing-card__cta:active {
    transform: translateY(1px);
}

/* —— Astrologer profile (detail by slug) —— */
.astro-detail-backlink {
    font-family: "Inter", sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #5b32a3;
}

.astro-detail-backlink:hover,
.astro-detail-backlink:focus-visible {
    color: #432286;
}

.astro-detail-backlink__icon {
    color: #6f42c1;
}

.astro-detail-hero {
    font-family: "Inter", sans-serif;
    background: linear-gradient(125deg, #b8a8e8 0%, #8b6fcf 35%, #5b3aa8 70%, #3d2375 100%);
    padding-bottom: 0.25rem;
}

.astro-detail-gallery {
    width: 100%;
}

.astro-detail-gallery__main-wrap {
    background: rgba(0, 0, 0, 0.12);
}

.astro-detail-gallery__main {
    aspect-ratio: 4 / 5;
    max-height: 400px;
    object-fit: cover;
    object-position: center top;
}

.astro-detail-gallery__main--placeholder {
    min-height: 17rem;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.2) 0%, rgba(30, 15, 70, 0.35) 100%);
    font-size: 1.25rem;
    font-weight: 600;
}

.astro-detail-gallery__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background-color: #22c55e;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    box-shadow: 0 2px 10px rgba(34, 197, 94, 0.35);
}

.astro-detail-gallery__badge-dot {
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 50%;
    background: #ffffff;
    flex-shrink: 0;
}

.astro-detail-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
    width: 100%;
    align-content: start;
}

@media (min-width: 576px) {
    .astro-detail-gallery__thumbs {
        gap: 0.65rem;
    }
}

.astro-detail-gallery__thumb {
    width: 100%;
    min-width: 0;
    aspect-ratio: 1;
    height: auto;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0.65rem;
    transition:
        box-shadow 0.15s ease,
        transform 0.15s ease,
        opacity 0.15s ease;
}

.astro-detail-gallery__thumb:hover,
.astro-detail-gallery__thumb:focus-visible {
    opacity: 1;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.65);
}

.astro-detail-gallery__thumb.is-active {
    box-shadow: 0 0 0 3px #f59e0b;
}

.astro-detail-gallery__thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}

.astro-detail-name {
    font-size: clamp(1.75rem, 3vw + 1rem, 2.75rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.astro-detail-pills__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 0.65rem;
    max-width: 26rem;
}

.astro-detail-pills__grid > *:only-child {
    grid-column: 1 / -1;
}

.astro-detail-pills__grid > *:nth-child(3) {
    grid-column: 1;
}

.astro-detail-pill {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    line-height: 1.35;
}

.astro-detail-pill--stat {
    font-size: 0.9375rem;
    padding: 0.55rem 0.85rem;
    border-radius: 12px;
    background: rgba(230, 225, 252, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.22);
    line-height: 1.4;
    min-width: 0;
}

.astro-detail-pill__rating-num {
    font-size: 1rem;
    font-weight: 700;
}

.astro-detail-pill__star {
    color: #fde047;
    font-size: 1.05rem;
    line-height: 1;
}

.astro-detail-pill__reviews {
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}

.astro-detail-pill__icon--stat {
    flex-shrink: 0;
}

.astro-detail-pill__ok-badge {
    flex-shrink: 0;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    background: #22c55e;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.astro-detail-pill__icon {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.9);
}

.astro-detail-pill__icon--ok {
    color: #86efac;
}

.astro-detail-pill__icon--gold {
    flex-shrink: 0;
    color: #ffd166;
}

.astro-detail-hero-cta {
    max-width: 26rem;
}

.astro-detail-hero-pricecard {
    font-family: "Inter", sans-serif;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 28px rgba(45, 20, 90, 0.12);
}

.astro-detail-hero-pricecard .astro-detail-cta-pricebox__current {
    color: #6d3fd3;
    font-size: 1.65rem;
}

.astro-detail-hero-pricecard .astro-detail-cta-pricebox__label {
    color: #6c757d;
}

.astro-detail-hero-pricecard .astro-detail-cta-pricebox {
    background: transparent;
    border: none;
    padding: 0;
}

.astro-detail-hero-book-btn {
    font-family: "Inter", sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0f0f0f;
    background-color: #ffc107;
    border: none;
    border-radius: 18px;
    padding: 1.125rem 2rem;
    width: fit-content;
    max-width: min(22rem, 100%);
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    transform: scale(1);
    line-height: 1.2;
    transition:
        background-color 0.28s ease,
        transform 0.28s ease;
}

.astro-detail-hero-book-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #0f0f0f;
}

.astro-detail-hero-book-btn:hover,
.astro-detail-hero-book-btn:focus-visible {
    color: #0f0f0f;
    background-color: #ffd166;
    transform: scale(1.05);
}

.astro-detail-hero-book-btn:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

.astro-detail-hero-book-btn:active {
    transform: scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
    .astro-detail-hero-book-btn {
        transition: background-color 0.2s ease;
    }

    .astro-detail-hero-book-btn:hover,
    .astro-detail-hero-book-btn:focus-visible {
        transform: none;
    }

    .astro-detail-hero-book-btn:active {
        transform: none;
    }
}

.astro-detail-fact {
    font-size: 0.9375rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
}

.astro-detail-fact__icon {
    flex-shrink: 0;
    width: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 0.1rem;
}

.astro-detail-sidebar-book-btn {
    font-family: "Inter", sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #6f42c1;
    background-color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 0.65rem 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    transform: scale(1);
    transition:
        background-color 0.28s ease,
        color 0.2s ease,
        box-shadow 0.28s ease,
        transform 0.32s cubic-bezier(0.34, 1.3, 0.64, 1);
}

.astro-detail-sidebar-book-btn:hover,
.astro-detail-sidebar-book-btn:focus-visible {
    background-color: #ffd166;
    color: #4c1d95;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    transform: scale(1.06);
}

.astro-detail-sidebar-book-btn:focus-visible {
    outline: 2px solid #4c1d95;
    outline-offset: 2px;
}

.astro-detail-sidebar-book-btn:active {
    transform: scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
    .astro-detail-sidebar-book-btn {
        transition:
            background-color 0.2s ease,
            color 0.2s ease,
            box-shadow 0.2s ease;
    }

    .astro-detail-sidebar-book-btn:hover,
    .astro-detail-sidebar-book-btn:focus-visible {
        transform: none;
        background-color: #ffd166;
    }

    .astro-detail-sidebar-book-btn:active {
        transform: none;
    }
}

/* Two-column content below hero */
.astro-detail-main {
    font-family: "Inter", sans-serif;
    background-color: #f0f2f5;
}

.astro-detail-panel {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem 1.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
    .astro-detail-panel {
        padding: 1.75rem 1.85rem;
    }
}

.astro-detail-panel__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 1rem;
    letter-spacing: -0.01em;
}

.astro-detail-panel__title--lg {
    font-size: 1.5rem;
}

.astro-detail-spec-pill {
    background-color: #f8f7fc;
    border-radius: 10px;
    padding: 16px 10px 16px 12px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1a1a1a;
}

.astro-detail-spec-pill__check {
    width: 1.5rem;
    height: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6d3fd3;
}

.astro-detail-area-bullet {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: #6f42c1;
    margin-top: 0.45rem;
}

.astro-detail-area-item__text {
    font-size: 0.9375rem;
    color: #212529;
    line-height: 1.45;
}

/* Static Client Reviews (detail page, main column) */
.astro-detail-reviews {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.astro-detail-review {
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid #e8eaed;
}

.astro-detail-review:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.astro-detail-review__avatar {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background-color: #6d3fd3;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.275rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.astro-detail-review__name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}

.astro-detail-review__date {
    font-size: 0.8125rem;
    color: #6c757d;
    margin-top: 0.2rem;
}

.astro-detail-review__stars {
    display: inline-flex;
    gap: 0.1rem;
    line-height: 1;
    padding-top: 0.15rem;
}

.astro-detail-review__star {
    color: #ffd166;
    font-size: 20px;
    font-weight: 900;
}

.astro-detail-review__body {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin-top: 0.85rem;
}

.astro-detail-review__quote {
    flex-shrink: 0;
    line-height: 0;
    margin-top: 0.05rem;
    color: rgba(109, 63, 211, 0.2);
}

.astro-detail-review__quote-icon {
    display: block;
    width: calc(var(--spacing) * 5);
}

.astro-detail-review__text {
    font-size: 0.9375rem;
    color: #495057;
    line-height: 1.55;
}

.astro-detail-edu-icon {
    color: #7b4fe0;
}

.astro-detail-edu-text {
    font-size: 0.875rem;
    color: #6c757d;
    line-height: 1.55;
}

.astro-detail-panel--achieve {
    background: linear-gradient(160deg, #6f42c1 0%, #5a32a3 50%, #4a2888 100%);
    border: none;
    color: #ffffff;
}

.astro-detail-panel__title--on-dark {
    color: #ffffff;
}

.astro-detail-achieve-check {
    width: 1.5rem;
    height: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.05rem;
    color: #ffd166;
}

.astro-detail-achieve-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.55;
}

.astro-detail-achieve-item:last-child {
    margin-bottom: 0 !important;
}

.astro-detail-edu-item:last-child {
    margin-bottom: 0 !important;
}

.astro-detail-cta-card {
    font-family: "Inter", sans-serif;
    background: linear-gradient(180deg, #ffc933 0%, #ffb703 100%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 6px 28px rgba(180, 120, 0, 0.2);
}

.astro-detail-cta-pricebox {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.astro-detail-cta-pricebox__label {
    letter-spacing: 0.05em;
}

.astro-detail-cta-pricebox__current {
    font-size: 1.5rem;
    color: #1a1a1a;
}

.astro-detail-cta-pricebox__old {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #868e96;
    text-decoration: line-through;
}

.astro-detail-cta-pricebox__save {
    font-size: 0.7rem;
    font-weight: 700;
    color: #15803d;
    background: #dcfce7;
    padding: 0.35rem 0.55rem;
}

.astro-detail-about__body {
    font-size: 1rem;
    line-height: 1.56;
}

.astro-detail-about__body p:last-child {
    margin-bottom: 0;
}

/* —— Auth modal (login / sign-up popups) —— */
.auth-modal .modal-backdrop {
    background-color: rgba(17, 17, 17, 0.55);
}

.auth-modal__dialog {
    max-width: 440px;
    width: calc(100% - 2rem);
    margin-left: auto;
    margin-right: auto;
}

.auth-modal__content {
    position: relative;
    border: none;
    border-radius: 16px;
    padding: 2.25rem 2rem 2rem;
    box-shadow:
        0 1.25rem 3rem rgba(0, 0, 0, 0.18),
        0 0.35rem 1rem rgba(0, 0, 0, 0.08);
    font-family: "Inter", sans-serif;
}

.auth-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    opacity: 0.45;
}

.auth-modal__close:hover {
    opacity: 0.75;
}

.auth-modal__title {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    line-height: 1.25;
}

.auth-modal__subtitle {
    margin: 0 0 1.5rem;
    font-size: 0.9375rem;
    font-weight: 400;
    color: #666666;
    text-align: center;
    line-height: 1.45;
}

.auth-modal__session-status {
    text-align: center;
}

.auth-modal__google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: "Inter", sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #111111;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
    opacity: 1;
    position: relative;
    z-index: 2;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

a.auth-modal__google-btn:hover,
a.auth-modal__google-btn:focus-visible {
    color: #111111;
    border-color: #cfcfcf;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
}

.auth-modal__google-btn:disabled {
    cursor: default;
    opacity: 0.92;
    pointer-events: none;
}

.auth-modal__google-icon {
    display: inline-flex;
    flex-shrink: 0;
}

.auth-modal__divider {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 1.25rem 0 1.35rem;
    font-size: 0.8125rem;
    font-weight: 400;
    color: #888888;
}

.auth-modal__divider::before,
.auth-modal__divider::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: #e5e5e5;
}

.auth-modal__form {
    margin-top: 0;
}

.auth-modal__label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #1a1a1a;
}

.auth-modal__input.form-control {
    height: 48px;
    padding: 0.65rem 0.9rem;
    font-size: 0.9375rem;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background-color: #ffffff;
}

.auth-modal__input.form-control::placeholder {
    color: #b0b0b0;
}

.auth-modal__input.form-control:focus {
    border-color: #7047eb;
    box-shadow: 0 0 0 0.2rem rgba(112, 71, 235, 0.18);
}

.auth-modal__link {
    font-size: 0.875rem;
    font-weight: 500;
    color: #7047eb;
    text-decoration: none;
}

.auth-modal__link:hover {
    color: #5c38cc;
    text-decoration: underline;
}

.auth-modal__submit {
    margin-top: 0.25rem;
    padding: 0.85rem 1rem;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff !important;
    background-color: #7047eb !important;
    border: none !important;
    border-radius: 10px;
    transition: background-color 0.15s ease;
}

.auth-modal__submit:hover,
.auth-modal__submit:focus-visible {
    background-color: #5f3fd6 !important;
    color: #ffffff !important;
}

.auth-modal__footer-text {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    font-weight: 400;
    color: #666666;
    text-align: center;
    line-height: 1.5;
}

.auth-modal__link-btn {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    font-weight: 600;
    color: #7047eb;
    cursor: pointer;
    text-decoration: none;
}

.auth-modal__link-btn:hover {
    color: #5c38cc;
    text-decoration: underline;
}

.auth-modal__link-btn--inline {
    font-weight: 500;
}

.site-header-link.js-open-auth-modal {
    cursor: pointer;
}

.site-header-user-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: #7b47d1;
    color: #ffffff;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition:
        opacity 0.15s ease,
        background-color 0.15s ease;
}

.site-header-user-avatar:hover,
.site-header-user-avatar:focus-visible {
    color: #ffffff;
    background-color: #6b3db8;
    opacity: 1;
}

.site-header-user-avatar.site-header-user-avatar--img {
    background-color: #e5e7eb;
    padding: 0;
    overflow: hidden;
    border: 2px solid rgba(123, 71, 209, 0.35);
}

.site-header-user-avatar.site-header-user-avatar--img:hover,
.site-header-user-avatar.site-header-user-avatar--img:focus-visible {
    background-color: #e5e7eb;
    opacity: 0.92;
}

.site-header-user-avatar__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.site-header-user-avatar__letter {
    user-select: none;
}

.site-header-user-avatar--mobile {
    /* Hook for mobile-specific tweaks if needed */
}

/* =============================================================================
   Kundli chart detail page (resources/views/kundali/show.blade.php)
   ============================================================================= */
.kundali-detail-page {
    --kd-border: #e5e7eb;
    --kd-text: #111827;
    --kd-muted: #6b7280;
    --kd-active: #8a2be2;
    --kd-purple: #8a2be2;
    --kundali-tab-content-gap: 0.5rem;
    background: #f4f5f8;
}

/*
 * layouts/app: body min-vh-100 + main flex-grow-1 stretches main to fill the viewport.
 * Kundli tabs often have little visible HTML height → huge empty band under the dashboard cards.
 * Let main shrink to content on this page only (footer still follows naturally).
 */
body:has(.kundali-detail-page) > main.flex-grow-1 {
    flex-grow: 0;
}

/*
 * layouts/app + partials/footer: footer uses Bootstrap mt-auto so it sticks to the bottom on short pages.
 * With min-vh-100 body that eats all free space as margin above the footer → huge grey gap under dashboard cards.
 */
body:has(.kundali-detail-page) footer.site-footer.mt-auto {
    margin-top: 0 !important;
}

/* Dashboard tab: keep bottom breathing room minimal */
#panel-dashboard.kundali-panel.is-active {
    padding-bottom: 0.5rem;
}

@media (min-width: 992px) {
    .kundali-detail-page {
        --kundali-tab-content-gap: 0.625rem;
    }
}

.kundali-detail-tabs-wrap {
    background: #fff;
    border-bottom: 1px solid var(--kd-border);
    position: sticky;
    top: 88px;
    z-index: 1025;
    box-shadow: 0 1px 0 rgba(17, 24, 39, 0.04);
    margin-bottom: var(--kundali-tab-content-gap);
}

@media (max-width: 991.98px) {
    .kundali-detail-tabs-wrap {
        top: 72px;
    }
}

.kundali-detail-tabs {
    gap: 0.5rem;
    flex-wrap: nowrap;
    scrollbar-width: thin;
    padding-bottom: 2px;
}

.kundali-detail-tabs::-webkit-scrollbar {
    height: 6px;
}

.kundali-detail-tab {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid var(--kd-border);
    border-radius: 8px;
    background: #fff;
    color: var(--kd-text);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0.85rem;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.kundali-detail-tab:hover {
    border-color: #cbd5e1;
}

.kundali-detail-tab svg {
    flex-shrink: 0;
    opacity: 0.92;
}

.kundali-detail-tab.is-active {
    color: var(--kd-purple);
    border-color: rgba(138, 43, 226, 0.35);
    box-shadow: inset 0 -3px 0 var(--kd-purple);
}

.kundali-astro-section {
    padding-top: 0;
    padding-bottom: 2rem;
}

.kundali-astro-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--kd-purple);
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.kundali-astro-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid rgba(17, 24, 39, 0.06);
    box-shadow: 0 8px 28px rgba(17, 24, 39, 0.06);
    height: 100%;
    overflow: hidden;
}

.kundali-astro-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--kd-text);
    padding: 1rem 1.15rem;
    margin: 0;
    border-bottom: 1px solid var(--kd-border);
    background: #fafafa;
}

.kundali-astro-card__body {
    padding: 0 1.15rem;
}

.kundali-astro-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid #f0f2f5;
    font-size: 0.9375rem;
}

.kundali-astro-row:last-child {
    border-bottom: none;
}

.kundali-astro-label {
    color: var(--kd-muted);
    flex-shrink: 0;
}

.kundali-astro-value {
    font-weight: 600;
    color: var(--kd-text);
    text-align: right;
    word-break: break-word;
}

.kundali-insights {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.kundali-insights--tab {
    padding-top: 0;
    padding-bottom: 0;
}

.kundali-insights__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(138, 43, 226, 0.12);
    color: var(--kd-purple);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.kundali-insights__title {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--kd-purple);
    letter-spacing: -0.02em;
}

.kundali-insights__sub {
    color: var(--kd-muted);
    font-size: 0.98rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.kundali-insight-card {
    border: 1px solid rgba(17, 24, 39, 0.06);
    border-radius: 14px;
    padding: 1.25rem 1.15rem;
    height: 100%;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.kundali-insight-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(17, 24, 39, 0.1);
}

.kundali-insight-card__ico {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.65rem;
}

.kundali-insight-card__ttl {
    font-size: 1rem;
    font-weight: 700;
    color: var(--kd-text);
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.kundali-insight-card__txt {
    font-size: 0.8125rem;
    color: var(--kd-muted);
    line-height: 1.45;
    margin-bottom: 0;
}

.bg-insight-purple { background: #f5f0ff; }
.bg-insight-pink { background: #fff0f7; }
.bg-insight-blue { background: #eef6ff; }
.bg-insight-green { background: #eefcf3; }
.bg-insight-yellow { background: #fffbeb; }
.bg-insight-slate { background: #eef2f8; }
.bg-insight-cyan { background: #ecfeff; }
.bg-insight-rose { background: #fff1f2; }
.bg-insight-mint { background: #f0fdf4; }

.ico-purple { background: rgba(139, 92, 246, 0.25); color: #6d28d9; }
.ico-pink { background: rgba(236, 72, 153, 0.22); color: #db2777; }
.ico-blue { background: rgba(59, 130, 246, 0.22); color: #2563eb; }
.ico-green { background: rgba(34, 197, 94, 0.22); color: #16a34a; }
.ico-yellow { background: rgba(234, 179, 8, 0.22); color: #ca8a04; }
.ico-slate { background: rgba(100, 116, 139, 0.22); color: #475569; }
.ico-cyan { background: rgba(6, 182, 212, 0.22); color: #0891b2; }
.ico-rose { background: rgba(244, 63, 94, 0.18); color: #e11d48; }
.ico-mint { background: rgba(22, 163, 74, 0.2); color: #15803d; }

.kundali-panel {
    display: none;
    padding-bottom: 3rem;
}

.kundali-panel.is-active {
    display: block;
}

/*
 * Entire tab column: only hiding .kundali-panel keeps outer Bootstrap wrappers (e.g. container-fluid pb-4)
 * in the document flow → cumulative empty gaps under the visible tab. Shells are toggled with .is-active.
 */
.kundali-detail-page .kundali-tab-shell {
    display: none;
}

.kundali-detail-page .kundali-tab-shell.is-active {
    display: block;
}

.kundali-dash-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--kd-border);
    padding: 1.25rem 1.35rem;
    box-shadow: 0 8px 28px rgba(17, 24, 39, 0.05);
}

.kundali-dash-dl dt {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--kd-muted);
    margin-bottom: 0.15rem;
}

.kundali-dash-dl dd {
    font-weight: 600;
    margin-bottom: 0.85rem;
    color: var(--kd-text);
}

.kundali-dash-dl dd:last-child {
    margin-bottom: 0;
}

.kundali-chart-card-head .kundali-birth-chart-title {
    text-align: left;
}

.kundali-chart-card-head__rule {
    border: 0;
    border-top: 1px solid var(--kd-border);
    margin: 0.75rem 0 1.1rem;
    opacity: 1;
}

.kundali-chart-card-head__toggles {
    display: flex;
    justify-content: center;
    width: 100%;
}

.kundali-birth-chart-title {
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
    font-weight: 800;
    color: #581c87;
    letter-spacing: -0.02em;
}

.kundali-divisional-head-title {
    display: inline-block;
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
    font-weight: 800;
    color: #581c87;
    letter-spacing: -0.02em;
    padding-bottom: 0.4rem;
    border-bottom: 4px solid #581c87;
    margin-bottom: 0.65rem;
}

.kundali-chart-style-wrap {
    display: inline-flex;
    gap: 0.35rem;
    padding: 0.25rem;
    border-radius: 999px;
    background: #f8f4ff;
    border: 1px solid rgba(88, 28, 135, 0.12);
}

.kundali-chart-style-btn {
    border: none !important;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.45rem 1rem;
    border-radius: 999px !important;
    color: #6b7280 !important;
    background: transparent !important;
    transition: background 0.12s ease, color 0.12s ease, transform 0.08s ease;
}

.kundali-chart-style-btn[data-active="true"] {
    background: #facc15 !important;
    color: #78350f !important;
    box-shadow: 0 2px 8px rgba(250, 204, 21, 0.45);
}

.kundali-chart-style-btn[data-active="true"][data-variant="south"] {
    background: #f87171 !important;
    color: #fef2f2 !important;
    box-shadow: 0 2px 8px rgba(248, 113, 113, 0.4);
}

.kundali-chart-slot {
    text-align: center;
}

.kundali-chart-slot img {
    max-width: min(420px, 100%);
    height: auto;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(17, 24, 39, 0.1);
    background: #fafafa;
    object-fit: contain;
}

.kundali-chart-slot__caption {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #581c87;
    margin-bottom: 0.75rem;
}

.kundali-chart-load {
    font-size: 0.8125rem;
    color: var(--kd-muted);
}

.kundali-transit-subtitle {
    font-size: 1rem;
    font-weight: 700;
    color: #581c87;
    margin-bottom: 0;
}

.kundali-transit-dates-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #581c87;
    margin-bottom: 1rem;
}

.kundali-transit-dates-table thead th {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #581c87;
    font-weight: 800;
    border-color: var(--kd-border) !important;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    vertical-align: middle;
    white-space: nowrap;
}

.kundali-transit-dates-table tbody td {
    border-color: var(--kd-border) !important;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    font-size: 0.875rem;
}

.kundali-transit-dates-table .kundali-transit-strength {
    text-align: center;
    font-weight: 600;
}

.kundali-transit-dates-table .kundali-transit-r {
    text-align: center;
    width: 2.5rem;
}

.kundali-ashtak-table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 0;
}

.kundali-ashtak-table thead th {
    border: none !important;
    border-bottom: 1px solid var(--kd-border) !important;
    font-weight: 800;
    color: #111111;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    text-align: center;
    padding: 0.85rem 0.45rem;
    vertical-align: middle;
    background: #fff;
}

.kundali-ashtak-table thead th:first-child {
    text-align: left;
}

.kundali-ashtak-table tbody td {
    border: none !important;
    border-bottom: 1px solid var(--kd-border) !important;
    padding: 0.8rem 0.45rem;
    font-size: 0.875rem;
    color: var(--kd-text);
    vertical-align: middle;
}

.kundali-ashtak-table tbody td:first-child {
    text-align: left;
}

.kundali-ashtak-table tbody td:not(:first-child) {
    text-align: center;
}

.kundali-ashtak-table tbody tr.kundali-ashtak-total td {
    font-weight: 700;
}

.kundali-ashtak-table tbody tr:last-child td {
    border-bottom: none !important;
}

.kundali-dasha-section-title {
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
    font-weight: 800;
    color: #581c87;
    letter-spacing: -0.02em;
    padding-bottom: 0.35rem;
    border-bottom: 4px solid #581c87;
    display: inline-block;
    margin-bottom: 0;
}

.kundali-dasha-title-rule {
    border: 0;
    border-top: 1px solid var(--kd-border);
    margin: 0.5rem 0 1.25rem;
    opacity: 1;
}

.kundali-dasha-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(17, 24, 39, 0.06);
    overflow: hidden;
    border: 1px solid var(--kd-border);
    height: 100%;
}

.kundali-dasha-card__head {
    background: linear-gradient(180deg, #6d28d9 0%, #581c87 100%);
    color: #fff;
    text-align: center;
    font-weight: 700;
    padding: 0.7rem 0.5rem;
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
}

.kundali-dasha-card__body {
    padding: 1rem 0.9rem 1.15rem;
}

.kundali-dasha-card__planet {
    background: #ede9fe;
    color: #581c87;
    font-weight: 800;
    text-align: center;
    padding: 0.65rem 0.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.kundali-dasha-card__lbl {
    font-size: 0.72rem;
    color: var(--kd-muted);
    margin-bottom: 0.15rem;
    font-weight: 600;
}

.kundali-dasha-card__dt {
    font-size: 0.8125rem;
    color: #111111;
    margin-bottom: 0.85rem;
    line-height: 1.35;
    word-break: break-word;
    font-weight: 600;
}

.kundali-dasha-card__dt-date {
    font-weight: 600;
    color: #111111;
}

.kundali-dasha-card__dt-time {
    font-weight: 600;
    color: #111111;
    margin-top: 0.2rem;
}

.kundali-dasha-card__dt:last-child {
    margin-bottom: 0;
}

.kundali-antar-block {
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--kd-border);
    overflow: hidden;
    height: 100%;
    box-shadow: 0 4px 18px rgba(17, 24, 39, 0.04);
}

.kundali-antar-block__title {
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    padding: 0.65rem 0.5rem;
    font-size: 0.875rem;
    color: #111111;
    letter-spacing: 0.04em;
}

.kundali-antar-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

.kundali-antar-table thead th {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.68rem;
    color: var(--kd-muted);
    border-top: 1px solid var(--kd-border);
    border-bottom: 1px solid var(--kd-border);
    padding: 0.45rem 0.65rem;
    text-align: left;
}

.kundali-antar-table tbody td {
    padding: 0.5rem 0.65rem;
    border-bottom: 1px solid #eeeeee;
    color: #111111;
    font-weight: 600;
}

.kundali-antar-table tbody tr:last-child td {
    border-bottom: none;
}

.kundali-yogini-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

.kundali-yogini-table thead th {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.68rem;
    color: var(--kd-muted);
    border-bottom: 1px solid var(--kd-border);
    padding: 0.55rem 0.75rem;
    text-align: left;
    white-space: nowrap;
}

.kundali-yogini-table tbody td {
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid #eeeeee;
    color: #111111;
    font-weight: 600;
    vertical-align: middle;
}

.kundali-yogini-table tbody tr:last-child td {
    border-bottom: none;
}

.kundali-dosha-stack .kundali-dosha-main-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--kd-border);
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(17, 24, 39, 0.04);
}

.kundali-dosha-main-card__head {
    padding: 0.9rem 1.15rem;
    border-bottom: 1px solid var(--kd-border);
    font-weight: 800;
    font-size: 1.05rem;
    color: #581c87;
}

.kundali-dosha-main-card__body {
    padding: 1rem 1.15rem 1.25rem;
}

.kundali-dosha-analysis-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #581c87;
    margin-bottom: 0.65rem;
}

.kundali-dosha-analysis-box {
    margin-top: 0.35rem;
    padding: 1.15rem 1.25rem;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    background: #fff;
}

.kundali-dosha-analysis-box .kundali-dosha-headline {
    font-weight: 600;
    font-size: 0.875rem;
    color: #555555;
    margin-bottom: 0.35rem;
    line-height: 1.55;
}

.kundali-dosha-analysis-box .kundali-dosha-subtitle-line {
    font-weight: 500;
    color: #555555;
    margin-bottom: 0.65rem;
    font-size: 0.875rem;
    line-height: 1.55;
}

.kundali-dosha-analysis-box .kundali-dosha-factor {
    font-weight: 500;
    color: #555555;
    margin-bottom: 0.5rem;
    line-height: 1.55;
    font-size: 0.875rem;
}

.kundali-dosha-analysis-box .kundali-dosha-aspects-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #555555;
    margin-bottom: 0.35rem;
}

.kundali-dosha-analysis-box .kundali-dosha-aspects {
    margin: 0;
    padding-left: 1.15rem;
    font-weight: 500;
    font-size: 0.875rem;
    color: #555555;
    line-height: 1.55;
}

.kundali-dosha-analysis-box .kundali-dosha-factor:last-of-type {
    margin-bottom: 0;
}

.kundali-dosha-disclaimer {
    color: #c62828;
    font-size: 0.82rem;
    line-height: 1.4;
}

.kundali-dosha-desc {
    font-size: 0.875rem;
    color: #555555;
    line-height: 1.55;
    font-weight: 500;
}

.kundali-dosha-remedies-heading {
    font-size: 0.95rem;
    font-weight: 800;
    color: #581c87;
}

.kundali-dosha-remedy-line {
    font-size: 0.875rem;
    color: #555555;
    line-height: 1.55;
    font-weight: 500;
    margin-bottom: 0.45rem;
}

.kundali-dosha-remedy-line:last-child {
    margin-bottom: 0;
}

.kundali-gem-root {
    padding: 1rem 1.15rem 1.5rem;
}

.kundali-gem-rec-title {
    color: #581c87;
}

.kundali-gem-card {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    height: 100%;
}

.kundali-gem-card--purple {
    border-color: #a78bfa;
}

.kundali-gem-card--green {
    border-color: #4ade80;
}

.kundali-gem-card--yellow {
    border-color: #facc15;
}

.kundali-gem-card--sky {
    border-color: #bae6fd;
}

.kundali-gem-card__hd {
    font-size: 0.9rem;
    font-weight: 700;
    color: #581c87;
}

.kundali-gem-card__hd--blue {
    color: #581c87;
}

.kundali-gem-card__hd .kundali-gem-ico {
    color: #581c87;
}

.kundali-gem-card__hd .kundali-gem-ico svg {
    fill: currentColor;
}

.kundali-gem-card__bd {
    font-size: 0.9rem;
    font-weight: 600;
    color: #555555;
    line-height: 1.5;
    word-break: break-word;
}

.kundali-gem-body {
    color: #555555;
    font-size: 0.875rem;
    line-height: 1.55;
    font-weight: 500;
}

.kundali-gem-ico {
    flex-shrink: 0;
    display: inline-flex;
}

.kundali-gem-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.kundali-gem-pill {
    display: inline-block;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.2;
}

.kundali-gem-pill--good {
    background: #1e40af;
    color: #fff;
}

.kundali-gem-pill--disease {
    background: #374151;
    color: #fff;
}

.kundali-gem-pill--sub {
    background: #94a3b8;
    color: #fff;
}

.kundali-gem-pill--avoid {
    background: #1f2937;
    color: #fff;
}

.kundali-gem-meta-table td:first-child {
    font-weight: 700;
    color: #581c87;
    width: 42%;
    vertical-align: top;
}

.kundali-gem-meta-table td:last-child {
    color: #555555;
    font-weight: 500;
}

.kundali-gem-flaw-table thead th {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #581c87;
    border-bottom: 1px solid rgba(88, 28, 135, 0.22);
}

.kundali-gem-flaw-table td {
    font-size: 0.82rem;
    color: #555555;
    vertical-align: top;
}

.kundali-gem-time-label {
    font-weight: 700;
    color: #581c87;
    font-size: 0.88rem;
    margin-bottom: 0.25rem;
}

.kundali-planet-dash-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--kd-border);
}

.kundali-karak-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--kd-border);
}

.kundali-karak-title {
    font-size: 1.125rem;
    font-weight: 800;
    color: #581c87;
    letter-spacing: -0.02em;
}

.kundali-karak-rule {
    border: 0;
    border-top: 1px solid rgba(88, 28, 135, 0.25);
    margin: 0.65rem 0 1.15rem;
    opacity: 1;
}

.kundali-karak-table thead th {
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    color: #111111;
    white-space: nowrap;
    border-bottom-width: 1px;
    padding: 0.65rem 0.5rem;
    font-weight: 700;
}

.kundali-karak-table tbody td {
    vertical-align: middle;
    padding: 0.55rem 0.5rem;
    border-bottom: 1px solid rgba(229, 231, 235, 0.9);
    color: var(--kd-text);
    font-size: 0.8125rem;
}

.kundali-karak-table tbody tr:last-child td {
    border-bottom: none;
}

.kundali-subsection-title {
    font-size: 1.125rem;
    font-weight: 800;
    color: #581c87;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.kundali-subsection-title--black {
    color: #111111;
}

.kundali-planet-table {
    font-size: 0.8125rem;
    margin-bottom: 0;
}

.kundali-planet-table thead th {
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    color: #111111;
    white-space: nowrap;
    border-bottom-width: 1px;
    padding: 0.65rem 0.5rem;
    font-weight: 700;
}

.kundali-planet-table tbody td {
    vertical-align: middle;
    padding: 0.55rem 0.5rem;
    border-bottom: 1px solid rgba(229, 231, 235, 0.9);
}

.kundali-planet-table tbody tr:last-child td {
    border-bottom: none;
}

.kundali-vim-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--kd-border);
    padding: 1rem 1.15rem;
    height: 100%;
}

.kundali-vim-balance-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--kd-muted);
    margin-bottom: 0.35rem;
    font-weight: 700;
}

.kundali-vim-balance-val {
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--kd-text);
    margin-bottom: 1rem;
    line-height: 1.35;
}

.kundali-vim-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(229, 231, 235, 0.85);
    font-size: 0.8125rem;
}

.kundali-vim-row:last-of-type {
    border-bottom: none;
}

.kundali-vim-lord {
    font-weight: 600;
    color: var(--kd-text);
    font-size: 0.78rem;
}

.kundali-vim-until {
    color: var(--kd-muted);
    font-size: 0.72rem;
    text-align: right;
}

.kundali-vim-more {
    margin-top: 0.85rem;
    padding: 0;
    border: none;
    background: none;
    color: #581c87;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: underline;
    cursor: pointer;
}

.kundali-vim-more:hover {
    color: var(--kd-purple);
}

.kundali-vim-err {
    font-size: 0.8125rem;
    color: var(--kd-muted);
    margin-bottom: 0;
}

/* —— Panchang page —— */
.pch-page {
    background: linear-gradient(180deg, #f7f8fc 0%, #f0f2f8 100%);
    min-height: 60vh;
}

.pch-form.card {
    border-radius: 1rem;
    overflow: visible;
}

.pch-form .card-body {
    overflow: visible;
}

.pch-form-submit {
    background-color: #7b47d1;
    border-color: #7b47d1;
    color: #fff;
}

.pch-form-submit:hover,
.pch-form-submit:focus-visible {
    background-color: #6a3ab8;
    border-color: #6a3ab8;
    color: #fff;
}

.pch-form-submit:active {
    background-color: #5f35a6;
    border-color: #5f35a6;
    color: #fff;
}

.pch-place-autocomplete {
    position: relative;
}

.pch-suggestions {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 1055;
    margin-top: 4px;
    max-height: 220px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

.pch-suggestions:not(.d-none) {
    padding: 0.35rem 0;
}

.pch-suggestion {
    padding: 0.45rem 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
}

.pch-suggestion:hover,
.pch-suggestion:focus {
    background: rgba(123, 71, 209, 0.1);
    outline: none;
}

.pch-time-card {
    border-radius: 1rem;
    padding: 1rem 1.1rem;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.pch-time-card__label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.25rem;
}

.pch-time-card__value {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
}

.pch-time-card__icon {
    object-fit: contain;
}

.pch-time-card--sunrise {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
}

.pch-time-card--sunset {
    background: linear-gradient(135deg, #fff4e6 0%, #fde68a 35%, #fed7aa 100%);
}

.pch-time-card--moonrise {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.pch-time-card--moonset {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
}

.pch-media-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.07);
    border: 1px solid #eef0f5;
}

.pch-media-card__img-wrap {
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: #f3f4f6;
}

.pch-media-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pch-media-card__body {
    padding: 0.85rem 1rem 1rem;
}

.pch-media-card__title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.35rem;
}

.pch-media-card__text {
    font-size: 0.82rem;
    color: #374151;
    line-height: 1.45;
}

.pch-stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border-radius: 1rem;
    padding: 1.25rem 1.35rem;
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.06);
    border: 1px solid #eef0f5;
}

.pch-stat-card__label {
    font-weight: 700;
    font-size: 0.95rem;
    color: #111827;
}

.pch-stat-card__value {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1f2937;
}

.pch-mini-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1rem 0.75rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    border: 1px solid #eef0f5;
}

.pch-mini-card__label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #6b7280;
}

.pch-mini-card__value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
}

.pch-badge {
    font-weight: 600;
    padding: 0.45rem 0.85rem;
    font-size: 0.8125rem;
}

.pch-badge--sun {
    background: #fff7ed;
    border: 1px solid #fed7aa;
}

.pch-badge--moon {
    background: #f5f3ff;
    border: 1px solid #ddd6fe;
}

.pch-table-card {
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #eef0f5;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.pch-table-card__head {
    padding: 0.85rem 1rem;
    font-weight: 700;
    font-size: 0.95rem;
    border-bottom: 1px solid #f3f4f6;
    background: #fafbfc;
}

.pch-table thead th {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7280;
    border-bottom-color: #e5e7eb;
}

.pch-table tbody td {
    border-bottom-color: #f3f4f6;
    vertical-align: middle;
}

/* Hora Muhurta + Choghadiya: roomier boxes */
.pch-table-card--hora .pch-table-card__head,
.pch-table-card--choghadiya .pch-table-card__head {
    padding: 1rem 1.2rem;
}

.pch-table-card--hora .table-responsive,
.pch-table-card--choghadiya .table-responsive {
    padding: 0.4rem 0.55rem 0.75rem;
}

.pch-table-card--hora .pch-table thead th,
.pch-table-card--hora .pch-table tbody td,
.pch-table-card--choghadiya .pch-table thead th,
.pch-table-card--choghadiya .pch-table tbody td {
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Hora + Choghadiya: same body font size */
.pch-table-card--hora .pch-table tbody td,
.pch-table-card--choghadiya .pch-table tbody td {
    font-size: 0.8125rem;
    line-height: 1.35;
}

.pch-choghadiya-type--auspicious {
    color: #198754;
}

.pch-choghadiya-type--inauspicious {
    color: #dc3545;
}

.pch-choghadiya-type--good {
    color: #0d6efd;
}

.pch-legend-swatch {
    display: inline-block;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 2px;
    margin-right: 0.35rem;
    vertical-align: middle;
}

.pch-legend-swatch--good {
    background: #0d6efd;
}

.pch-legend-swatch--auspicious {
    background: #198754;
}

.pch-legend-swatch--inauspicious {
    background: #dc3545;
}

