/*
 * Astroleaf minimal astrology reset.
 * Warm Jyotish palette, quiet surfaces, square geometry and stable interactions.
 */
:root {
    --ale-warm-ivory: #fffdf7;
    --ale-warm-cream: #fff5df;
    --ale-warm-sand: #f6e4c7;
    --ale-warm-saffron: #e8871a;
    --ale-warm-marigold: #f4b63f;
    --ale-warm-terracotta: #bd4d2f;
    --ale-warm-red-orange: #d95b32;
    --ale-warm-brown: #5a2b18;
    --ale-warm-ink: #34251d;
    --ale-warm-muted: #705b4d;
    --ale-warm-line: #e8d5bd;
    --ale-warm-white: #ffffff;
}

html,
body {
    color: var(--ale-warm-ink) !important;
    background: var(--ale-warm-ivory) !important;
}

body :where(p, li) { color: var(--ale-warm-muted); }
body :where(h1, h2, h3, h4) { color: var(--ale-warm-brown); }
body :where(a) { text-underline-offset: 3px; }

/* Header and Panchang strip */
.ale-header-navigation,
.ale-header-navigation.scrolled {
    background: rgba(255, 253, 247, .98) !important;
    border-bottom: 1px solid var(--ale-warm-line) !important;
    box-shadow: 0 5px 18px rgba(90, 43, 24, .055) !important;
}

.ale-menu-list-primary a.menu-link-top,
.ale-menu-list-secondary a.menu-link-secondary,
.dropdown-header {
    color: var(--ale-warm-brown) !important;
}

.ale-menu-list-primary a.menu-link-top:hover,
.ale-menu-list-secondary a.menu-link-secondary:hover,
.dropdown-link-item:hover {
    color: var(--ale-warm-red-orange) !important;
}

.menu-link-top::after { background: var(--ale-warm-saffron) !important; }
.ale-megamenu-dropdown,
.ale-mobile-drawer {
    background: var(--ale-warm-ivory) !important;
    border-color: var(--ale-warm-line) !important;
    box-shadow: 0 18px 34px rgba(90, 43, 24, .09) !important;
}

html body .ale-astrobars-strip {
    color: #4a260f !important;
    background: #f7b733 !important;
    border-top: 1px solid #e39a1f !important;
    border-bottom: 1px solid #dc8d18 !important;
}

.ale-astrobars-strip .astro-meta-date,
.ale-astrobars-strip .astro-ticker-label,
.ale-astrobars-strip .astro-ticker-val,
.ale-astrobars-strip .astro-meta-badge {
    color: #4a260f !important;
}

.ale-astrobars-strip .astro-meta-badge,
.ale-astrobars-strip .astro-ticker-item {
    background: rgba(255,255,255,.28) !important;
    border-color: rgba(90,43,24,.18) !important;
}

/* Homepage */
body.home .ale-main-homepage-landmark,
body.home .ale-services-section,
body.home .ale-calculators-section {
    color: var(--ale-warm-ink) !important;
    background: var(--ale-warm-ivory) !important;
}

body.home .ale-astrology-hero {
    color: var(--ale-warm-ink) !important;
    background:
        radial-gradient(circle at 85% 18%, rgba(244,182,63,.25), transparent 27%),
        linear-gradient(180deg, #fff9eb 0%, #fffdf7 100%) !important;
    border-bottom: 1px solid var(--ale-warm-line) !important;
}

body.home .ale-astrology-hero::after {
    inset: auto 6% 13% auto !important;
    width: min(29vw, 350px) !important;
    border: 1px solid rgba(232,135,26,.2) !important;
    box-shadow: 0 0 0 28px rgba(244,182,63,.055), 0 0 0 56px rgba(217,91,50,.025) !important;
}

body.home .ale-hero-title {
    color: var(--ale-warm-brown) !important;
    font-size: clamp(2.55rem, 5vw, 4.8rem) !important;
}

body.home .ale-hero-title .highlight-text { color: var(--ale-warm-terracotta) !important; }
body.home .ale-hero-description { color: var(--ale-warm-muted) !important; }
body.home .ale-btn-hero-primary {
    color: #fff !important;
    background: var(--ale-warm-saffron) !important;
    border-color: var(--ale-warm-saffron) !important;
    box-shadow: 0 8px 18px rgba(189,77,47,.15) !important;
}

body.home .ale-btn-hero-primary:hover { background: var(--ale-warm-red-orange) !important; }
body.home .ale-btn-hero-secondary {
    color: var(--ale-warm-brown) !important;
    background: transparent !important;
    border-color: var(--ale-warm-terracotta) !important;
}

body.home .ale-btn-hero-secondary:hover { color: var(--ale-warm-terracotta) !important; background: #fff7e9 !important; }
body.home .ale-hero-calc-card {
    background: var(--ale-warm-white) !important;
    border: 1px solid var(--ale-warm-line) !important;
    box-shadow: 12px 12px 0 #f4dfbd !important;
}

body.home .ale-section-title { color: #111827 !important; }
body.home .ale-service-card-title { color: var(--ale-warm-brown) !important; }
body.home .ale-section-description,
body.home .ale-service-card-text { color: var(--ale-warm-muted) !important; }
body.home .ale-services-grid,
body.home .ale-calculators-grid { background: var(--ale-warm-line) !important; border-color: var(--ale-warm-line) !important; }
body.home .ale-service-card,
body.home .ale-calculator-card { background: var(--ale-warm-white) !important; border-color: var(--ale-warm-line) !important; }
body.home .ale-service-card:hover,
body.home .ale-calculator-card:hover { background: #fff8ea !important; }
body.home .ale-service-card:nth-child(1),
body.home .ale-service-card:nth-child(4) { border-top-color: var(--ale-warm-marigold) !important; }
body.home .ale-service-card:nth-child(2) { border-top-color: var(--ale-warm-saffron) !important; }
body.home .ale-service-card:nth-child(3) { border-top-color: var(--ale-warm-red-orange) !important; }
body.home .ale-service-cta-btn,
body.home .ale-calculator-btn { color: var(--ale-warm-terracotta) !important; border-color: var(--ale-warm-terracotta) !important; }
body.home .ale-service-cta-btn:hover,
body.home .ale-service-card:hover .ale-service-cta-btn,
body.home .ale-calculator-card:hover .ale-calculator-btn {
    color: #fff !important;
    background: var(--ale-warm-terracotta) !important;
    border-color: var(--ale-warm-terracotta) !important;
}

body.home .ale-panchang-section { background: var(--ale-warm-cream) !important; border-color: var(--ale-warm-line) !important; }
body.home .ale-transit-section {
    color: var(--ale-warm-ink) !important;
    background: #f9e7ca !important;
    border-top: 1px solid var(--ale-warm-line) !important;
}
body.home .ale-transit-title,
body.home .ale-transit-panel-title,
body.home .ale-transit-row-name,
body.home .ale-transit-row-value,
body.home .ale-transit-timeline-heading { color: var(--ale-warm-brown) !important; }
body.home .ale-transit-subtitle,
body.home .ale-transit-panel-subtitle,
body.home .ale-transit-row-desc,
body.home .ale-detail-meta,
body.home .ale-transit-timeline-desc { color: var(--ale-warm-muted) !important; }
body.home .ale-transit-panel { background: rgba(255,255,255,.58) !important; border-color: var(--ale-warm-line) !important; }

/* Reports */
.ale-reports-page-wrapper { background: var(--ale-warm-ivory) !important; color: var(--ale-warm-ink) !important; }
.ale-reports-hero {
    color: var(--ale-warm-ink) !important;
    background:
        radial-gradient(circle at 82% 25%, rgba(217,91,50,.12), transparent 24%),
        linear-gradient(110deg, #fff1cf 0%, #f7b733 100%) !important;
    border-bottom: 1px solid #de9a23 !important;
}
.ale-reports-hero::before,
.ale-reports-hero::after { opacity: .18 !important; }
.ale-hero-main-title,
.ale-hero-main-title span { color: var(--ale-warm-brown) !important; -webkit-text-fill-color: var(--ale-warm-brown) !important; }
.ale-hero-subtext { color: #65452f !important; }
.ale-report-card,
.ale-problem-card,
.ale-process-card,
.ale-faq-item { background: #fff !important; border-color: var(--ale-warm-line) !important; box-shadow: none !important; }
.ale-report-card::before { background: var(--ale-warm-saffron) !important; }
.ale-report-card:nth-child(3n+2)::before { background: var(--ale-warm-red-orange) !important; }
.ale-report-card:nth-child(3n)::before { background: var(--ale-warm-marigold) !important; }
.ale-card-visual-frame { background: #f8e4bd !important; }

/* Horoscopes */
.sds-strict-wrapper,
.ale-horoscopes-container { color: var(--ale-warm-ink) !important; background: var(--ale-warm-ivory) !important; }
.ale-hero-section {
    color: var(--ale-warm-ink) !important;
    background:
        radial-gradient(circle at 50% -20%, rgba(244,182,63,.34), transparent 42%),
        #fff6e2 !important;
    border-bottom: 1px solid var(--ale-warm-line) !important;
}

/* Horoscope template adds a high-specificity inline-era hero rule. Keep the
   directory consistent with the rest of the warm public palette. */
html body .sds-strict-wrapper .ale-hero-section {
    color: var(--ale-warm-ink) !important;
    background: radial-gradient(circle at 50% -20%, rgba(244,182,63,.34), transparent 42%), #fff6e2 !important;
    border-bottom: 1px solid var(--ale-warm-line) !important;
}
html body .sds-strict-wrapper .ale-hero-badge { color: var(--ale-warm-terracotta) !important; background: transparent !important; border-color: rgba(189,77,47,.3) !important; }
html body .sds-strict-wrapper .ale-hero-title,
html body .sds-strict-wrapper .pkr-hero-title { color: var(--ale-warm-brown) !important; -webkit-text-fill-color: var(--ale-warm-brown) !important; }
html body .sds-strict-wrapper .ale-hero-desc,
html body .sds-strict-wrapper .pkr-hero-sub { color: var(--ale-warm-muted) !important; -webkit-text-fill-color: var(--ale-warm-muted) !important; }
html body .sds-strict-wrapper .ale-meta-chip { color: var(--ale-warm-brown) !important; background: #fff !important; border-color: var(--ale-warm-line) !important; }
html body .sds-strict-wrapper .ale-horoscope-tabs { background: #fff !important; border-color: var(--ale-warm-line) !important; box-shadow: none !important; }
.ale-horoscope-tab-link,
.ale-period-btn { color: var(--ale-warm-muted) !important; }
.ale-horoscope-tab-link:hover,
.ale-period-btn:hover { color: var(--ale-warm-terracotta) !important; background: #fff4df !important; transform: none !important; }
.ale-horoscope-tab-link.active,
.ale-period-btn.active { color: #fff !important; background: var(--ale-warm-saffron) !important; box-shadow: none !important; }
html body .ale-horoscope-sign-card {
    background: #fff !important;
    border-color: var(--ale-warm-line) !important;
    box-shadow: none !important;
}
html body .ale-horoscope-sign-card:hover { background: #fff8e9 !important; border-color: var(--ale-warm-saffron) !important; box-shadow: none !important; transform: none !important; }
html body .ale-horoscope-sign-title { color: var(--ale-warm-brown) !important; }
html body .ale-horoscope-sign-date,
html body .ale-horoscope-read-btn { color: var(--ale-warm-terracotta) !important; }
.ale-sign-pill { color: var(--ale-warm-brown) !important; background: #fff !important; border-color: var(--ale-warm-line) !important; box-shadow: none !important; }
.ale-sign-pill:hover,
.ale-sign-pill.active { color: var(--ale-warm-terracotta) !important; background: #fff4df !important; border-color: var(--ale-warm-saffron) !important; box-shadow: none !important; transform: none !important; }
.ale-sign-pill:hover .ale-sign-pill-svg { transform: none !important; }
.ale-horoscope-summary { background: #fff7e7 !important; border-color: var(--ale-warm-line) !important; box-shadow: none !important; }
.ale-horoscope-reading-flow { background: transparent !important; border: 0 !important; box-shadow: none !important; padding-inline: 0 !important; }

/* Legal pages */
.ale-legal-shell { color: var(--ale-warm-ink) !important; background: var(--ale-warm-ivory) !important; }
.ale-legal-hero {
    color: var(--ale-warm-ink) !important;
    background: linear-gradient(110deg, #FFF5DF 0%, #F5C96B 100%) !important;
    border-bottom: 3px solid var(--ale-warm-saffron) !important;
}
.ale-legal-hero::after { border-color: rgba(189,77,47,.18) !important; box-shadow: none !important; }
.ale-legal-eyebrow { color: #8D3D24 !important; background: rgba(141,61,36,0.08) !important; border-color: rgba(141,61,36,0.2) !important; font-weight: 800 !important; }
.ale-legal-updated { color: #8D3D24 !important; font-weight: 700 !important; }
.ale-legal-hero h1 { color: #3C1F10 !important; -webkit-text-fill-color: #3C1F10 !important; font-weight: 800 !important; }
.ale-legal-intro { color: #4A2E1B !important; font-weight: 500 !important; font-size: 1.05rem !important; }
.ale-legal-meta-strip { color: #5A3924 !important; font-weight: 650 !important; }
.ale-legal-meta-item { color: #5A3924 !important; font-weight: 650 !important; font-size: 0.88rem !important; }
.ale-legal-meta-item i { color: #A85D1B !important; }
.ale-legal-index { border-top-color: var(--ale-warm-terracotta) !important; }
.ale-legal-index a { color: var(--ale-warm-muted) !important; }
.ale-legal-content p,
.ale-legal-content li { color: #3C2E3F !important; font-size: 1.01rem !important; line-height: 1.8 !important; }
.ale-legal-content h2 { color: #3C1F10 !important; font-weight: 750 !important; }
.ale-manage-cookies-button { color: #fff !important; background: var(--ale-warm-saffron) !important; border-color: var(--ale-warm-saffron) !important; }
.ale-manage-cookies-button:hover { background: var(--ale-warm-red-orange) !important; }

/* Calculator and tool surfaces */
.ale-calc-workspace,
.cd-strict-container,
.cd-strict-wrapper,
.jaimini-hub-body,
.pkr-page-wrapper,
.ud-page-wrapper { color: var(--ale-warm-ink) !important; background: var(--ale-warm-ivory) !important; }
.aap-form-card,
.cd-form-card,
.bento-card,
.control-panel-card,
[class*='form-card'],
[class*='result-card'],
[class*='result-panel'] {
    background: #fff !important;
    border-color: var(--ale-warm-line) !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}
html body .aap-form-card,
html body .cd-form-card,
html body .bento-card,
html body .control-panel-card,
html body [class*='form-card'],
html body [class*='result-card'],
html body [class*='result-panel'] { border-radius: 0 !important; }
html body .cd-strict-wrapper .aap-form-card,
html body .cd-strict-wrapper .cd-form-card,
html body .cd-strict-wrapper .bento-card,
html body .cd-strict-wrapper .control-panel-card { background: #fff !important; border-color: var(--ale-warm-line) !important; }
/* Universal Calculator Forms Master Styling */
html body .ud-form-card,
html body .aap-form-card,
html body .kl-form-card,
html body .calc-form-card,
html body .vng-card-wrapper,
html body .arudha-form-card,
html body .al-form-card,
html body .ry-form-card,
html body .ck-form-card,
html body .lc-form-card,
html body .cd-form-card,
html body .btr-form-card,
html body .d9-form-card,
html body .d10-form-card,
html body .vp-form-card,
html body .sb-form-card,
html body .panchang-form-card,
html body .ms-form-card,
html body .ss-form-card,
html body .as-form-card,
html body .vnc-form-card,
html body .raj-form-card,
html body .form-card,
html body .astroleaf-calc-card,
html body [class*="form-card"],
html body [class*="card-wrapper"],
html body .vng-strict-wrapper .d9-form-card,
html body .vng-strict-wrapper .d10-form-card,
html body .cd-strict-wrapper .cd-form-card,
html body .cd-strict-wrapper .vng-card-wrapper,
html body .cd-strict-wrapper .aap-form-card,
html body .ck-strict-wrapper .ck-form-card,
html body .ck-strict-wrapper .vng-card-wrapper,
html body .ck-strict-wrapper .aap-form-card,
html body .cd-strict-container .aap-form-card {
    background-color: #FFFDF9 !important;
    background: #FFFDF9 !important;
    border: 1px solid rgba(217, 119, 6, 0.22) !important;
    border-radius: 16px !important;
    padding: clamp(24px, 4vw, 36px) !important;
    box-shadow: 0 8px 30px rgba(42, 21, 10, 0.05) !important;
    box-sizing: border-box !important;
    max-width: 840px !important;
    margin: 36px auto !important;
    width: 100% !important;
}

html body input:not([type='checkbox']):not([type='radio']):not([type='submit']):not([type='button']):not([type='hidden']),
html body select,
html body textarea,
html body [class*="form-card"] input,
html body [class*="form-card"] select,
html body [class*="card-wrapper"] input,
html body [class*="card-wrapper"] select,
html body .ud-form-card input,
html body .ud-form-card select,
html body .d9-form-card input,
html body .d9-form-card select,
html body .d10-form-card input,
html body .d10-form-card select,
html body .vp-form-card input,
html body .vp-form-card select,
html body .vng-strict-wrapper .d9-form-card input,
html body .vng-strict-wrapper .d9-form-card select,
html body .vng-strict-wrapper .d10-form-card input,
html body .vng-strict-wrapper .d10-form-card select,
html body .cd-strict-wrapper input,
html body .cd-strict-wrapper select,
html body .ck-strict-wrapper input,
html body .ck-strict-wrapper select,
html body .d9-form-card input.ale-input,
html body .d9-form-card select.ale-input,
html body .d10-form-card input.ale-input,
html body .d10-form-card select.ale-input,
html body .ale-input,
html body select.ale-input {
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    line-height: normal !important;
    padding: 0 14px !important;
    text-align: left !important;
    text-align-last: left !important;
    color: #1E293B !important;
    background-color: #FFFFFF !important;
    background: #FFFFFF !important;
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 8px !important;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
    box-sizing: border-box !important;
    outline: none !important;
    transition: all 0.2s ease !important;
}

html body select,
html body [class*="form-card"] select,
html body select.ale-input {
    padding-left: 14px !important;
    padding-right: 36px !important;
    text-align: left !important;
    text-align-last: left !important;
    color-scheme: light !important;
    background-color: #FFFFFF !important;
    background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23D97706' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 12px center / 12px 12px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    cursor: pointer !important;
}

html body input:not([type='checkbox']):not([type='radio']):not([type='submit']):not([type='button']):focus,
html body select:focus,
html body textarea:focus {
    border-color: #D97706 !important;
    background-color: #FFFFFF !important;
    background: #FFFFFF !important;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.16) !important;
    outline: none !important;
}

html body .btn-submit,
html body [class*='btn-submit'],
html body [class*='submit-btn'],
html body .btn-calculate,
html body #btn-calculate {
    color: #FFFFFF !important;
    background: #F97316 !important;
    border: 1px solid #F97316 !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35) !important;
    font-weight: 700 !important;
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
    font-size: 1.05rem !important;
    height: 50px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    transition: all 0.25s ease !important;
    text-decoration: none !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

html body .btn-submit:hover,
html body [class*='btn-submit']:hover,
html body [class*='submit-btn']:hover,
html body .btn-calculate:hover,
html body #btn-calculate:hover {
    color: #FFFFFF !important;
    background: #EA580C !important;
    border-color: #EA580C !important;
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.45) !important;
    transform: translateY(-2px) !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

html body .form-card-title,
html body .cd-form-title,
html body .ck-form-title,
html body .d9-form-title,
html body .d10-form-title,
html body .vp-form-title,
html body [class*="form-title"],
html body h2.form-card-title,
html body h3.form-card-title {
    color: #2A150A !important;
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    margin: 0 0 20px 0 !important;
    line-height: 1.3 !important;
    border: none !important;
    background: transparent !important;
    background-color: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

html body .form-card-header,
html body [class*="form-header"],
html body .vp-form-header,
html body .al-form-header,
html body .cd-form-header {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-bottom: none !important;
    padding: 0 !important;
    margin-bottom: 20px !important;
    box-shadow: none !important;
    text-align: left !important;
}

html body .form-card-eyebrow,
html body [class*="form-card"] .form-card-eyebrow,
html body [class*="form-card"] .form-eyebrow {
    color: #92400E !important;
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    display: inline-block !important;
    margin-bottom: 6px !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

/* Clear Cross Icon - Hidden across all calculator input forms */
html body #clear-pob,
html body .clear-pob-btn,
html body #clear-location,
html body [id*="clear-pob"],
html body [id*="clear-location"],
html body [class*="clear-pob"] {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

/* Global Form Error Validation Highlighting with Red Placeholders & Selects */
.input-error,
input.input-error,
select.input-error,
textarea.input-error,
html body input.input-error,
html body select.input-error,
html body textarea.input-error {
    border-color: #DC2626 !important;
    background-color: #FEF2F2 !important;
    background: #FEF2F2 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.16) !important;
    color: #DC2626 !important;
}

html body input.input-error::placeholder,
html body textarea.input-error::placeholder,
.input-error::placeholder {
    color: #DC2626 !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #DC2626 !important;
}

html body input.input-error::-webkit-input-placeholder,
html body textarea.input-error::-webkit-input-placeholder,
.input-error::-webkit-input-placeholder {
    color: #DC2626 !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #DC2626 !important;
}

html body input.input-error::-moz-placeholder,
html body textarea.input-error::-moz-placeholder,
.input-error::-moz-placeholder {
    color: #DC2626 !important;
    opacity: 1 !important;
}

html body input.input-error:-ms-input-placeholder,
html body textarea.input-error:-ms-input-placeholder,
.input-error:-ms-input-placeholder {
    color: #DC2626 !important;
    opacity: 1 !important;
}

html body select.input-error,
select.input-error {
    color: #DC2626 !important;
}

html body select.input-error option:not([value=""]) {
    color: #1E293B !important;
}
html body .wy-seo-articles h2,
html body .wy-seo-articles h3,
html body .wy-article-h2,
html body .wy-article-h3,
html body .pkr-section-title { color: var(--ale-warm-brown) !important; font-family: 'Outfit', sans-serif !important; }

html body .wy-seo-articles p,
html body .wy-seo-articles li,
html body .wy-article-body p,
html body .wy-article-body li,
html body .wy-item-list li { color: var(--ale-warm-muted) !important; font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important; }

/* Footer */
.site-footer.ale-footer-master {
    color: var(--ale-warm-ink) !important;
    background: #fff4df !important;
    border-top: 4px solid var(--ale-warm-saffron) !important;
}
.site-footer.ale-footer-master .footer-brand-wordmark,
.site-footer.ale-footer-master .footer-col h2,
.site-footer.ale-footer-master .footer-col h3,
.site-footer.ale-footer-master .footer-col-title { color: var(--ale-warm-brown) !important; font-family: 'Outfit', sans-serif !important; font-size: 1.15rem !important; font-weight: 700 !important; margin: 0 0 16px 0 !important; }
.site-footer.ale-footer-master .footer-tagline,
.site-footer.ale-footer-master .footer-links a,
.site-footer.ale-footer-master .disclaimer-text,
.site-footer.ale-footer-master .copyright-strip,
.site-footer.ale-footer-master .legal-nav a,
.site-footer.ale-footer-master .ale-footer-cookie-settings { color: var(--ale-warm-muted) !important; }
.site-footer.ale-footer-master .footer-links a:hover,
.site-footer.ale-footer-master .legal-nav a:hover,
.site-footer.ale-footer-master .ale-footer-cookie-settings:hover { color: var(--ale-warm-terracotta) !important; }
.site-footer.ale-footer-master .footer-bottom {
    background: rgba(232,135,26,.045) !important;
    border-top-color: var(--ale-warm-line) !important;
}

/* Consent panel */
#ale-cookie-consent-banner,
.ale-cookie-consent-banner { color: var(--ale-warm-ink) !important; background: #fff !important; border-color: var(--ale-warm-line) !important; box-shadow: 0 12px 30px rgba(90,43,24,.12) !important; }
#ale-cookie-accept-btn { color: #fff !important; background: var(--ale-warm-saffron) !important; border-color: var(--ale-warm-saffron) !important; }
#ale-cookie-decline-btn { color: var(--ale-warm-terracotta) !important; background: #fff !important; border-color: var(--ale-warm-terracotta) !important; }

@media (max-width: 640px) {
    body.home .ale-hero-calc-card { box-shadow: 7px 7px 0 #f4dfbd !important; }
}

/* ==========================================================================
   GLOBAL ACCESSIBILITY & CONTRAST INVARIANTS (WCAG AAA)
   ========================================================================== */
html body .calc-tab-count {
    background: #E2E8F0 !important;
    color: #0F172A !important;
    font-weight: 800 !important;
}
html body .calc-category-tab.is-active .calc-tab-count {
    background: #000000 !important;
    color: #FFFFFF !important;
    font-weight: 800 !important;
}
html body .ale-problem-solve {
    color: #92400E !important;
    font-weight: 700 !important;
}
html body .ale-card-details-btn {
    color: #78350F !important;
    border-color: #EA580C !important;
    font-weight: 700 !important;
}
html body .ale-section-tag,
html body .ale-section-badge {
    color: #78350F !important;
    background: #FFEDD5 !important;
    border: 1px solid #FDBA74 !important;
    font-weight: 700 !important;
}
html body .al-date-card-num,
html body .al-date-card-month,
html body .al-date-card-day {
    color: #334155 !important;
    font-weight: 700 !important;
}
html body .al-date-card.closed-day .al-date-card-num,
html body .al-date-card.closed-day .al-date-card-month {
    color: #475569 !important;
}
html body .pkr-section-desc {
    color: #475569 !important;
}
html body .ale-legal-nav-header {
    color: #65250C !important;
    font-weight: 800 !important;
}
html body .panchang-ledger-table .trans-end-time,
html body .panchang-ledger-table .edu-link {
    color: #92400E !important;
    font-weight: 700 !important;
}

/* Kundli SVG Chart Structure & Typography Safeguards */
html body .ale-post-content-body svg,
html body .wy-article-section svg,
html body .ale-astro-deep-dive-card svg {
    max-width: 420px !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    display: block !important;
    margin: 20px auto !important;
    overflow: visible !important;
}

html body .ale-post-content-body svg text,
html body .wy-article-section svg text,
html body .ale-astro-deep-dive-card svg text {
    display: inline !important;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif !important;
    user-select: none !important;
}

html body .ale-astro-deep-dive-card {
    background: #FFFDF9 !important;
    border: 1.5px solid #EADCCB !important;
    border-radius: 12px !important;
    padding: 24px 28px !important;
    margin: 32px 0 28px 0 !important;
    box-shadow: 0 4px 14px rgba(101, 37, 12, 0.05) !important;
}
