/* Kill WordPress white wrapper */
#page, #content, .site, .site-content { background: transparent !important; }
body { background: #F9F7F3 !important; }

/* ============================================================
   Astrobility Educational Pages
   Purple accent theme — Five Pillar methodology pages
   v56.1 — Fixed fonts, consistent gold, kept purple depth
   ============================================================ */

.educational-page {
    background: #F9F7F3;
    min-height: 100vh;
    color: #5A5450;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* ============================================================
   HERO
   ============================================================ */

.hero-section {
    text-align: center;
    padding: 90px 20px 70px;
    background: linear-gradient(160deg, #0B1426 0%, #1e1b4b 55%, #312e81 100%);
    border-bottom: 1px solid rgba(212,168,67,0.2);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23a78bfa' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.6;
}

.hero-content { position: relative; z-index: 1; }

.hero-section h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 5.5vw, 3.2rem);
    color: #1A1A1A;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.15;
}

.hero-section p {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 1.15em;
    color: #a5b4fc;
    max-width: 640px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

.hero-badge {
    display: inline-block;
    background: rgba(167,139,250,0.15);
    border: 1px solid rgba(167,139,250,0.35);
    color: #7eb8d4;
    padding: 6px 20px;
    font-family: 'EB Garamond', serif;
    font-size: 0.85em;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* ============================================================
   SECTION CONTENT
   ============================================================ */

.edu-section, .content-section {
    padding: 48px 0;
    border-bottom: 1px solid rgba(212,168,67,0.12);
}

.edu-section:last-of-type, .content-section:last-of-type {
    border-bottom: none;
}

.section-heading, .edu-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.85em;
    color: #1A1A1A;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(167,139,250,0.25);
}

.section-text, .edu-text {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 1.08em;
    color: #5A5450;
    line-height: 1.85;
    margin-bottom: 16px;
}

.section-text strong, .edu-text strong { color: #1A1A1A; }

/* ============================================================
   CARDS — purple accent variant
   ============================================================ */

.edu-card, .tradition-card, .feature-card {
    background: rgba(49,46,129,0.2);
    border: 1px solid rgba(167,139,250,0.2);
    padding: 28px 24px;
    transition: border-color 0.2s;
}

.edu-card:hover, .tradition-card:hover, .feature-card:hover {
    border-color: rgba(167,139,250,0.5);
}

.card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3em;
    color: #1A1A1A;
    font-weight: 600;
    margin-bottom: 8px;
}

.card-label {
    font-size: 0.72em;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #7eb8d4;
    margin-bottom: 6px;
}

.card-text {
    color: #7A736B;
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 0.95em;
    line-height: 1.65;
}

/* ============================================================
   GRIDS
   ============================================================ */

.edu-grid, .traditions-grid, .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

/* ============================================================
   QUOTE / CALLOUT
   ============================================================ */

.edu-quote, .callout-box {
    background: rgba(49,46,129,0.25);
    border-left: 3px solid #2d7fa5;
    padding: 22px 26px;
    margin: 28px 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2em;
    color: #c4b5fd;
    line-height: 1.8;
    font-style: italic;
}

/* ============================================================
   DATA / STAT HIGHLIGHTS
   ============================================================ */

.stat-highlight {
    text-align: center;
    padding: 20px;
    background: rgba(49,46,129,0.2);
    border: 1px solid rgba(167,139,250,0.2);
}

.stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.6em;
    color: #D4A843;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8em;
    color: #7A736B;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================================
   PAGE-SPECIFIC HERO VARIANTS
   ============================================================ */

.hero-western  { background: linear-gradient(160deg, #0B1426 0%, #1e1b4b 60%, #1e3a8a 100%); }
.hero-vedic    { background: linear-gradient(160deg, #0B1426 0%, #1e1b4b 60%, #4a1d96 100%); }
.hero-chinese  { background: linear-gradient(160deg, #0B1426 0%, #1e1b4b 60%, #6b21a8 100%); }
.hero-numerology { background: linear-gradient(160deg, #0B1426 0%, #1e1b4b 60%, #312e81 100%); }
.hero-synthesis { background: linear-gradient(160deg, #0B1426 0%, #1e1b4b 50%, #3730a3 100%); }

/* ============================================================
   CTAs
   ============================================================ */

.edu-cta { text-align: center; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(212,168,67,0.15); }

.edu-link-primary {
    display: inline-block;
    background: linear-gradient(135deg, #8b6914, #d4a843);
    color: #0B1426;
    padding: 13px 30px;
    text-decoration: none;
    font-family: 'EB Garamond', serif;
    font-weight: 600;
    margin: 6px;
}

.edu-link {
    display: inline-block;
    border: 1.5px solid rgba(212,168,67,0.45);
    color: #1A1A1A;
    padding: 11px 26px;
    text-decoration: none;
    font-family: 'EB Garamond', serif;
    margin: 6px;
    transition: border-color 0.2s;
}

.edu-link:hover { border-color: #D4A843; color: #D4A843; }

/* ============================================================
   NAVIGATION / BREADCRUMB
   ============================================================ */

.edu-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }

.edu-nav-link {
    padding: 7px 16px;
    border: 1px solid rgba(167,139,250,0.25);
    color: #7A736B;
    text-decoration: none;
    font-family: 'EB Garamond', serif;
    font-size: 0.88em;
    transition: all 0.2s;
}

.edu-nav-link:hover, .edu-nav-link.active {
    border-color: rgba(167,139,250,0.6);
    color: #c4b5fd;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
    .hero-section { padding: 60px 20px 50px; }
    .edu-grid, .traditions-grid { grid-template-columns: 1fr; }
    .container { padding: 40px 16px; }
}

/* ============================================================
   v63.0 — the methodology page wrapper (.edu-page)
   These pages sat on the dark starfield with dark text. They now
   join the light pages, like every other page wrapper.
   ============================================================ */
.edu-page {
    background: #F9F7F3 !important;
    background-attachment: unset !important;
    color: #5A5450 !important;
}
.edu-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 56px 24px 64px;
}
.edu-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.3rem, 5.5vw, 3.2rem);
    color: #1A1A1A;
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 12px;
}
.edu-subtitle {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 1.2em;
    font-style: italic;
    color: #8B6914;
    line-height: 1.6;
    margin: 0 0 8px;
}
@media (max-width: 600px) {
    .edu-container { padding: 36px 16px 48px; }
}
