*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --red: #8B1A1A; --red-dark: #5C0F0F; --gold: #C8820A; --gold-lt: #F5C842;
  --cream: #FDF6E3; --cream-dk: #F5EDD4; --text: #2C1810; --text-lt: #5C3D2A;
  --white: #ffffff; --shadow: 0 2px 12px rgba(139,26,26,0.12); --radius: 10px;
  --font-tamil: 'Noto Serif Tamil', 'Noto Sans Tamil', sans-serif;
  --font-symbol: 'Segoe UI Symbol', 'Apple Color Emoji', 'Noto Sans Symbols', 'Noto Emoji', sans-serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font-tamil); background: var(--cream); color: var(--text); line-height: 1.7; }
a { color: var(--red); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.topbar { background: var(--red-dark); color: #FFD9A0; font-size: 13px; padding: 6px 0; }
.topbar .container { display: flex; gap: 24px; flex-wrap: wrap; }
.site-header { background: var(--red); box-shadow: var(--shadow); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--gold-lt) !important; }
.logo-om { font-size: 36px; line-height: 1; }
.logo-title { font-size: 22px; font-weight: 700; color: var(--gold-lt); }
.logo-sub { font-size: 12px; color: rgba(255,255,255,0.75); letter-spacing: 1px; }
.main-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.main-nav a { color: rgba(255,255,255,0.9); padding: 8px 14px; border-radius: 6px; font-size: 14px; font-weight: 500; transition: background .2s; }
.main-nav a:hover { background: rgba(255,255,255,0.15); color: var(--gold-lt); }
.nav-dropdown { position: relative; display: inline-flex; align-items: center; }
.nav-dropdown-btn { color: rgba(255,255,255,0.9); padding: 8px 14px; border-radius: 6px; font-size: 14px; font-weight: 500; cursor: pointer; transition: background .2s; white-space: nowrap; }
.nav-dropdown:hover .nav-dropdown-btn { background: rgba(255,255,255,0.15); color: var(--gold-lt); }
.nav-dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: #5C0F0F; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.4); min-width: 200px; z-index: 300; padding: 6px 0; }
.nav-dropdown:hover .nav-dropdown-menu { display: flex; flex-direction: column; }
.nav-dropdown-menu a { color: rgba(255,255,255,0.9) !important; padding: 10px 18px !important; border-radius: 0 !important; font-size: 14px; white-space: nowrap; border-bottom: 1px solid rgba(255,255,255,0.08); }
.nav-dropdown-menu a:hover { background: rgba(255,255,255,0.15) !important; color: var(--gold-lt) !important; }
.nav-toggle { display: none; background: none; border: 2px solid rgba(255,255,255,0.5); color: white; padding: 6px 12px; border-radius: 6px; cursor: pointer; font-size: 18px; }
.flash-success { background: #D4EDDA; border: 1px solid #A8D5B5; color: #1A5C2A; padding: 12px 20px; border-radius: var(--radius); margin: 16px auto; max-width: 1200px; }
.hero { position: relative; overflow: hidden; padding: 60px 0; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 50%, #A0280A 100%); z-index: 0; }
.hero-inner { position: relative; z-index: 1; }
.hero-text h1 { font-size: 48px; color: var(--gold-lt); text-shadow: 0 2px 8px rgba(0,0,0,0.4); line-height: 1.2; }
.hero-sub { color: rgba(255,255,255,0.88); font-size: 18px; margin: 16px 0 24px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-stats { display: flex; gap: 24px; }
.hero-stats .stat { text-align: center; color: white; }
.hero-stats .stat strong { display: block; font-size: 28px; color: var(--gold-lt); font-weight: 700; }
.hero-stats .stat span { font-size: 12px; opacity: 0.8; }
.btn-primary { display: inline-block; background: linear-gradient(135deg, var(--red), var(--red-dark)); color: white !important; padding: 12px 24px; border-radius: 8px; font-weight: 600; border: none; cursor: pointer; font-size: 15px; font-family: var(--font-tamil); transition: transform .2s, box-shadow .2s; box-shadow: 0 3px 10px rgba(139,26,26,0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(139,26,26,0.45); }
.btn-outline { display: inline-block; border: 2px solid var(--red); color: var(--red) !important; padding: 10px 22px; border-radius: 8px; font-weight: 600; font-size: 15px; background: transparent; cursor: pointer; font-family: var(--font-tamil); transition: all .2s; }
.btn-outline:hover { background: var(--red); color: white !important; }
.hero .btn-outline { border-color: rgba(255,255,255,0.85); color: white !important; }
.hero .btn-outline:hover { background: rgba(255,255,255,0.2); border-color: white; color: white !important; }
.full-width { width: 100%; text-align: center; }
.btn-large { padding: 16px 32px; font-size: 17px; }
.form-input { width: 100%; padding: 10px 14px; border: 1.5px solid #D5C5A0; border-radius: 8px; font-size: 14px; font-family: var(--font-tamil); background: white; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.form-input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(139,26,26,0.12); }
select.form-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238B1A1A' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--text); font-size: 14px; }
.radio-group { display: flex; gap: 24px; }
.radio-label { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 15px; }
.select-row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.validation-summary { background: #FFE5E5; border: 1px solid #FFB3B3; padding: 10px 14px; border-radius: 8px; margin-bottom: 16px; color: #8B0000; }
.field-error { color: #C0392B; font-size: 12px; margin-top: 4px; display: block; }
.help-text { display: block; font-size: 12px; color: var(--text-lt); margin-top: 6px; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-size: 32px; color: var(--red-dark); margin-bottom: 8px; }
.section-header p { color: var(--text-lt); font-size: 16px; }
.services-section { padding: 60px 0; background: white; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.service-card { display: block; background: var(--cream); border: 1px solid #E5D8B8; border-radius: 12px; padding: 28px; text-align: center; transition: all .25s; color: var(--text) !important; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--red); }
.service-icon { font-size: 48px; margin-bottom: 14px; }
.service-card h3 { color: var(--red-dark); font-size: 18px; margin-bottom: 10px; }
.service-card p { color: var(--text-lt); font-size: 14px; line-height: 1.6; }
.rasi-section { padding: 60px 0; }
.rasi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.rasi-card { display: block; background: white; border: 1.5px solid #E5D8B8; border-radius: 12px; padding: 20px 12px; text-align: center; transition: all .25s; color: var(--text) !important; }
.rasi-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold); }
.rasi-symbol { font-size: 36px; margin-bottom: 8px; }
.rasi-name-tamil { font-size: 16px; font-weight: 700; color: var(--red-dark); }
.rasi-name-eng { font-size: 12px; color: var(--text-lt); margin: 2px 0; }
.articles-section { padding: 60px 0; background: var(--cream-dk); }
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.article-card { display: block; background: white; border-radius: 12px; padding: 24px; border: 1px solid #E5D8B8; transition: all .25s; color: var(--text) !important; }
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.article-cat { display: inline-block; background: var(--red); color: white; font-size: 11px; padding: 3px 10px; border-radius: 20px; margin-bottom: 10px; }
.article-card h3 { font-size: 16px; color: var(--red-dark); margin-bottom: 10px; line-height: 1.5; }
.article-card p { color: var(--text-lt); font-size: 13px; margin-bottom: 12px; line-height: 1.6; }
.page-hero { background: linear-gradient(135deg, var(--red-dark), var(--red)); color: white; padding: 48px 0; text-align: center; }
.page-hero h1 { font-size: 36px; color: var(--gold-lt); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 16px; }
.page-hero-gold { background: linear-gradient(135deg, #4A1A00, var(--red-dark)) !important; }
.article-cat-badge { display: inline-block; background: var(--gold); color: white; padding: 4px 14px; border-radius: 20px; font-size: 13px; margin-bottom: 12px; }
.page-content { padding: 40px 20px; }
.content-layout { display: grid; grid-template-columns: 1fr 280px; gap: 32px; align-items: start; }
.content-sidebar { position: sticky; top: 80px; }
.card { background: white; border: 1px solid #E5D8B8; border-radius: 12px; overflow: hidden; }
.card-header { background: var(--cream-dk); border-bottom: 1px solid #E5D8B8; padding: 16px 20px; font-size: 17px; font-weight: 700; color: var(--red-dark); }
.card-body { padding: 20px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.seo-content-block { background: white; border: 1px solid #E5D8B8; border-radius: 12px; padding: 24px 28px; }
.seo-content-block h2 { font-size: 20px; color: var(--red-dark); margin-bottom: 12px; }
.seo-content-block p { font-size: 14px; color: var(--text-lt); line-height: 1.8; margin: 0; }
.sidebar-links { list-style: none; }
.sidebar-links li { border-bottom: 1px solid #F0E8D0; }
.sidebar-links li:last-child { border-bottom: none; }
.sidebar-links a { display: block; padding: 8px 0; color: var(--text-lt); font-size: 14px; transition: color .2s; }
.sidebar-links a:hover { color: var(--red); padding-left: 4px; }
.active-link a { color: var(--red) !important; font-weight: 700; }
.small-text { font-size: 13px; color: var(--text-lt); line-height: 1.7; }
.info-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.info-card { background: white; border: 1px solid #E5D8B8; border-radius: 10px; padding: 16px; text-align: center; }
.ic-label { font-size: 12px; color: var(--text-lt); margin-bottom: 6px; }
.ic-value { font-size: 18px; font-weight: 700; color: var(--red-dark); }
.charts-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 28px; }
.si-chart { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(80px, auto); border: 2px solid var(--red-dark); border-radius: 4px; overflow: hidden; }
.si-cell { border: 1px solid #D5C5A0; padding: 6px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 4px; background: white; min-height: 80px; position: relative; }
.si-cell:hover { background: var(--cream); }
.si-num { font-size: 10px; color: #AAA; }
.si-rasi { font-size: 11px; font-weight: 600; color: #8B4513; position: absolute; top: 4px; right: 5px; font-family: var(--font-tamil), sans-serif; }
.si-planets { font-size: 14px; font-weight: 700; color: var(--red-dark); line-height: 1.4; display: flex; flex-direction: column; gap: 1px; width: 100%; }
.si-planet-item { white-space: nowrap; }
.si-lagna-item { color: red !important; }
.si-center { background: var(--cream-dk); display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; font-weight: 700; color: var(--red-dark); font-size: 13px; border: 1px solid #D5C5A0; }
.chart-legend { margin-top: 8px; padding: 8px; background: var(--cream); border-radius: 6px; }
.chart-legend small { color: var(--text-lt); font-size: 11px; line-height: 1.7; }
.result-sections { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px; }
.result-card { background: white; border: 1px solid #E5D8B8; border-radius: 12px; overflow: hidden; }
.result-card-header { background: linear-gradient(135deg, var(--red-dark), var(--red)); color: var(--gold-lt); padding: 12px 16px; font-weight: 700; font-size: 15px; }
.result-card-body { padding: 16px; color: var(--text-lt); font-size: 14px; line-height: 1.9; }
.result-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.disclaimer { background: #FFF8E0; border: 1px solid #F0D88A; border-radius: 10px; padding: 16px; font-size: 13px; color: #7A5C00; line-height: 1.7; }
.rasi-facts { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.rasi-facts span { background: var(--cream-dk); padding: 6px 14px; border-radius: 20px; font-size: 13px; color: var(--text-lt); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th { text-align: left; padding: 10px 12px; background: var(--cream-dk); border-bottom: 2px solid #E5D8B8; color: var(--text-lt); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.admin-table td { padding: 10px 12px; border-bottom: 1px solid #F0E8D0; vertical-align: middle; color: var(--text-lt); }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #FAF6E8; }
.rasi-detail-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-bottom: 40px; }
.rasi-detail-card { display: block; background: white; border: 1.5px solid #E5D8B8; border-radius: 12px; padding: 24px; text-align: center; transition: all .25s; color: var(--text) !important; }
.rasi-detail-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.rdc-symbol { font-size: 44px; margin-bottom: 10px; }
.rdc-name { font-size: 20px; font-weight: 700; color: var(--red-dark); }
.rdc-eng { font-size: 14px; color: var(--text-lt); }
.rdc-ruler { font-size: 13px; color: var(--gold); font-weight: 600; margin: 4px 0 10px; }
.rdc-desc { font-size: 13px; color: var(--text-lt); line-height: 1.6; }
.rdc-link { display: inline-block; margin-top: 10px; color: var(--red); font-size: 13px; font-weight: 600; }
.nakshatra-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin-bottom: 40px; }
.nakshatra-card { display: block; background: white; border: 1.5px solid #E5D8B8; border-radius: 10px; padding: 16px; text-align: center; transition: all .25s; color: var(--text) !important; }
.nakshatra-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold); }
.nk-num { width: 28px; height: 28px; background: var(--red); color: white; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.nk-name { font-size: 15px; font-weight: 700; color: var(--red-dark); }
.nk-eng { font-size: 12px; color: var(--text-lt); margin: 3px 0; }
.nk-meta { font-size: 11px; color: #888; margin: 6px 0; }
.nk-link { font-size: 12px; color: var(--red); font-weight: 600; }
.articles-list { display: flex; flex-direction: column; gap: 16px; }
.article-list-card { display: block; background: white; border: 1px solid #E5D8B8; border-radius: 12px; padding: 20px; transition: all .2s; color: var(--text) !important; }
.article-list-card:hover { box-shadow: var(--shadow); border-color: var(--red); }
.alc-cat { display: inline-block; background: var(--red); color: white; font-size: 11px; padding: 2px 10px; border-radius: 20px; margin-bottom: 8px; }
.article-list-card h3 { font-size: 17px; color: var(--red-dark); margin-bottom: 8px; }
.article-list-card p { font-size: 14px; color: var(--text-lt); margin-bottom: 10px; }
.alc-meta { display: flex; gap: 16px; font-size: 12px; color: #888; align-items: center; }
.alc-read { color: var(--red); font-weight: 600; margin-left: auto; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 24px; }
.page-link { background: white; border: 1.5px solid #E5D8B8; color: var(--text-lt); padding: 8px 14px; border-radius: 8px; font-size: 14px; }
.page-active { background: var(--red); border-color: var(--red); color: white; padding: 8px 14px; border-radius: 8px; font-size: 14px; display: inline-block; }
.article-content h2 { font-size: 20px; color: var(--red-dark); margin: 28px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--cream-dk); }
.article-content h2:first-child { margin-top: 0; }
.article-content h3 { font-size: 17px; color: var(--gold); margin: 20px 0 8px; font-weight: 700; }
.article-content p { margin-bottom: 14px; line-height: 1.9; color: var(--text-lt); }
.article-content ul, .article-content ol { padding-left: 24px; margin-bottom: 14px; }
.article-content li { margin-bottom: 6px; color: var(--text-lt); line-height: 1.7; }
.article-content strong { color: var(--red-dark); }
.related-article { display: block; padding: 12px 0; border-bottom: 1px solid #EEE; color: var(--text) !important; }
.related-article:last-child { border-bottom: none; }
.related-article small { color: var(--text-lt); font-size: 12px; }
.contact-layout { display: grid; grid-template-columns: 1fr 300px; gap: 32px; }
.success-box { background: #D4EDDA; border: 1px solid #A8D5B5; color: #1A5C2A; padding: 24px; border-radius: 12px; text-align: center; font-size: 17px; }
.site-footer { background: var(--red-dark); color: rgba(255,255,255,0.85); margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 2fr 1fr; gap: 40px; padding: 48px 20px; }
.footer-logo { font-size: 22px; font-weight: 700; color: var(--gold-lt); margin-bottom: 14px; }
.site-footer p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.7); }
.footer-col h4 { color: var(--gold-lt); font-size: 15px; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { color: rgba(255,255,255,0.7); font-size: 14px; }
.footer-col ul a:hover { color: var(--gold-lt); }
.footer-rasi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.footer-rasi-grid a { color: rgba(255,255,255,0.7); font-size: 13px; padding: 3px 0; }
.footer-rasi-grid a:hover { color: var(--gold-lt); }
.footer-disclaimer { margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom { background: rgba(0,0,0,0.2); padding: 16px 0; font-size: 13px; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { color: rgba(255,255,255,0.6); margin: 0; }
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--gold-lt); }

/* ── அடிப்படை விவரங்கள் table ──────────────────────────────────── */
.adipadai-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.adipadai-table th { width: 22%; padding: 9px 14px; background: var(--cream-dk); color: var(--text-lt); font-size: 12px; font-weight: 700; text-align: left; border: 1px solid #E5D8B8; vertical-align: top; white-space: nowrap; }
.adipadai-table td { width: 28%; padding: 9px 14px; color: var(--text); font-size: 14px; border: 1px solid #E5D8B8; vertical-align: top; }
.adipadai-table tr:nth-child(even) { background: #FAFAF7; }
.adipadai-table tr:nth-child(even) th { background: #EDE5C8; }

/* ── Dasa Accordion ─────────────────────────────────────────────── */
.dasa-accordion { display: flex; flex-direction: column; gap: 6px; }
.dasa-accordion-item { border: 1px solid #E5D8B8; border-radius: 8px; overflow: hidden; }
.dasa-accordion-item[open] { border-color: var(--gold); }
.dasa-accordion-summary { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; cursor: pointer; background: var(--cream-dk); list-style: none; font-weight: 600; color: var(--text); font-size: 14px; gap: 12px; }
.dasa-accordion-summary::-webkit-details-marker { display: none; }
.dasa-accordion-summary::marker { display: none; }
.dasa-accordion-summary:hover { background: #EDE5C8; }
.dasa-current-summary { background: linear-gradient(135deg, #5C0F0F, var(--red)) !important; color: white !important; }
.dasa-current-row { background: #FFF8E0 !important; font-weight: 600; }
.dasa-accordion-body { padding: 12px 16px; }
.dasa-label { font-size: 11px; color: rgba(255,255,255,0.7); }

/* ── FAQ page ────────────────────────────────────────────────────── */
.faq-category-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.faq-category-nav a { background: white; border: 1.5px solid #E5D8B8; color: var(--text-lt); padding: 8px 16px; border-radius: 20px; font-size: 14px; font-weight: 500; transition: all .2s; text-decoration: none; }
.faq-category-nav a:hover, .faq-category-nav a.active { background: var(--red); border-color: var(--red); color: white; }
.faq-section { margin-bottom: 48px; }
.faq-section-title { font-size: 22px; color: var(--red-dark); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--cream-dk); }
.faq-item { border: 1px solid #E5D8B8; border-radius: 10px; margin-bottom: 10px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: var(--cream-dk); border: none; padding: 16px 20px; font-size: 15px; font-family: var(--font-tamil); color: var(--text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 600; line-height: 1.5; transition: background .2s; }
.faq-q:hover { background: #EDE5C8; }
.faq-q.open { background: linear-gradient(135deg, var(--red-dark), var(--red)); color: white; }
.faq-q::after { content: '▼'; font-size: 12px; flex-shrink: 0; transition: transform .3s; }
.faq-q.open::after { transform: rotate(180deg); }
.faq-a { display: none; padding: 20px; background: white; border-top: 1px solid #E5D8B8; font-size: 14px; line-height: 1.9; color: var(--text-lt); }
.faq-a.open { display: block; }
.faq-a p { margin-bottom: 12px; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-detail-link { display: inline-block; margin-top: 8px; color: var(--red); font-size: 13px; font-weight: 600; }

/* ── Mobile Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Nav */
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--red-dark);
    flex-direction: column;
    padding: 12px 0;
    z-index: 200;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 20px; border-radius: 0; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-dropdown { display: contents; }
  .nav-dropdown-btn { display: none; }
  .nav-dropdown-menu { display: contents; position: static; background: none; box-shadow: none; padding: 0; }
  .nav-dropdown-menu a { padding: 12px 20px 12px 32px !important; border-radius: 0 !important; font-size: 14px !important; }
  .site-header { position: relative; }
  .header-inner { position: relative; }

  /* Hero */
  .hero { padding: 36px 0; }
  .hero-text h1 { font-size: 28px; }
  .hero-sub { font-size: 15px; }
  .hero-stats { gap: 16px; flex-wrap: wrap; }
  .hero-stats .stat strong { font-size: 22px; }

  /* Grids → single column */
  .services-grid { grid-template-columns: 1fr; }
  .rasi-grid { grid-template-columns: repeat(3, 1fr); }
  .articles-grid { grid-template-columns: 1fr; }
  .content-layout { grid-template-columns: 1fr; }
  .content-sidebar { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
  .result-sections { grid-template-columns: 1fr; }
  .charts-row { grid-template-columns: 1fr; }
  .info-cards { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; padding: 32px 16px; }

  /* Select row 3 */
  .select-row-3 { grid-template-columns: 1fr; }

  /* Page hero */
  .page-hero h1 { font-size: 24px; }
  .page-hero { padding: 32px 16px; }

  /* Section header */
  .section-header h2 { font-size: 24px; }

  /* FAQ nav wrap */
  .faq-category-nav { gap: 6px; }
  .faq-category-nav a { font-size: 12px; padding: 6px 12px; }

  /* Tables */
  .admin-table { font-size: 12px; }
  .admin-table th, .admin-table td { padding: 8px 8px; }
  .adipadai-table th { white-space: normal; }

  /* Topbar */
  .topbar .container { gap: 12px; font-size: 12px; }

  /* Button */
  .btn-large { padding: 14px 24px; font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { text-align: center; }

  /* Result actions */
  .result-actions { flex-direction: column; align-items: center; }

  /* Rasi detail / nakshatra grids */
  .rasi-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .nakshatra-grid { grid-template-columns: repeat(2, 1fr); }

  /* Dasa accordion body table */
  .dasa-accordion-body { overflow-x: auto; }
}

@media (max-width: 480px) {
  .rasi-grid { grid-template-columns: repeat(2, 1fr); }
  .rasi-detail-grid { grid-template-columns: 1fr; }
  .nakshatra-grid { grid-template-columns: repeat(2, 1fr); }
  .info-cards { grid-template-columns: repeat(2, 1fr); }
  .hero-text h1 { font-size: 24px; }
  .logo-title { font-size: 18px; }
  .logo-om { font-size: 28px; }
  .footer-rasi-grid { grid-template-columns: repeat(3, 1fr); }
  .si-chart { font-size: 12px; }
  .si-planets { font-size: 12px; }
  .faq-q { font-size: 14px; padding: 13px 16px; }
}
