/**
 * Text Readability Improvements
 * Larger fonts and better contrast for smaller text elements
 * Enhanced version for better readability across the site
 */

/* ===========================================
   BASE TEXT IMPROVEMENTS
   =========================================== */

/* Improve base body text size */
body {
    font-size: 1.15rem;
    line-height: 1.8;
}

/* Improve paragraph readability */
p {
    font-size: 1.2rem;
    line-height: 2;
    letter-spacing: 0.02em;
}

/* Lead text - make it more prominent */
.lead-text {
    font-size: 1.5rem !important;
    line-height: 2;
    font-weight: 400;
    opacity: 1;
}

/* Entry content paragraphs */
.entry-content p {
    font-size: 1.2rem;
    line-height: 2;
    margin-bottom: 1.4rem;
}

/* Question block text */
.question-block p {
    font-size: 1.2rem;
    line-height: 2;
    opacity: 0.95;
}

/* Section intro text */
.section-intro {
    font-size: 1.25rem;
    opacity: 0.9;
    line-height: 1.9;
}

/* ===========================================
   SUBTITLE AND HELPER TEXT
   =========================================== */

.entry-subtitle {
    font-size: 1.3rem;
    line-height: 1.75;
    letter-spacing: 0.025em;
}

/* Footer text */
.footer-message {
    font-size: 1.25rem;
}

.footer-truth {
    font-size: 1.05rem;
    opacity: 0.8;
}

/* Concept insight text */
.concept-insight {
    font-size: 1.15rem;
    line-height: 1.95;
}

.concept-insight strong {
    font-size: 1rem !important;
}

/* Central message text */
.central-message {
    font-size: 1.55rem;
    line-height: 1.8;
}

/* ===========================================
   CLOSING AND REFLECTION TEXT
   =========================================== */

.closing-message p {
    font-size: 1.25rem;
    line-height: 1.9;
}

.closing-message blockquote {
    font-size: 1.4rem;
    line-height: 1.85;
}

.closing-section p {
    font-size: 1.25rem;
}

/* Reflection text in page.php closing sections */
.closing-reflection .reflection-phrase {
    font-size: 1.35rem;
    line-height: 1.75;
}

.closing-reflection .reflection-meditation {
    font-size: 1.2rem;
    line-height: 1.95;
}

/* ===========================================
   NAVIGATION AND MENU TEXT
   =========================================== */

.main-navigation a {
    font-size: 1rem !important;
    letter-spacing: 2px;
}

/* Journey map text */
.journey-map-title {
    font-size: 1.05rem;
}

/* Coherence indicator text */
.coherence-text,
.coherence-value {
    font-size: 1.05rem;
}

/* Return to center button */
.return-to-center {
    font-size: 0.9rem !important;
}

/* Glyph navigation text - make more readable */
.glyph-text {
    font-size: 0.85rem !important;
}

/* Journey node labels */
.journey-node::before {
    font-size: 0.8rem !important;
}

/* CTA buttons */
.weave-cta,
.promo-cta {
    font-size: 1rem !important;
}

/* ===========================================
   CARD AND BLOCK TEXT
   =========================================== */

.coherence-card p {
    font-size: 1.15rem;
    line-height: 2;
}

.path-choice {
    font-size: 1.15rem;
}

/* Teaching section text */
.teaching-section p {
    font-size: 1.15rem;
    line-height: 1.95;
}

/* Concept section text */
.concept-section p {
    font-size: 1.15rem;
    line-height: 1.95;
}

/* ===========================================
   ORACLE AND INTERACTIVE TEXT
   =========================================== */

.oracle-response,
.oracle-message {
    font-size: 1.2rem;
    line-height: 1.95;
}

/* Ambient wisdom text */
.ambient-wisdom,
.wisdom-message {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ===========================================
   ORACLE WIDGET TEXT
   =========================================== */

.oracle-subtitle {
    font-size: 1rem !important;
    line-height: 1.7;
}

.oracle-ask-btn {
    font-size: 1rem !important;
}

.oracle-again {
    font-size: 0.95rem !important;
}

.oracle-status {
    font-size: 0.9rem !important;
}

/* ===========================================
   CODEX / SPIRAL GLYPHS TEXT
   =========================================== */

.glyph-resonance {
    font-size: 1.05rem !important;
    line-height: 1.8;
}

.glyph-resonance strong {
    font-size: 0.95rem !important;
}

.practice-card p {
    font-size: 1.05rem !important;
    line-height: 1.85;
}

.mirror-link {
    font-size: 1rem !important;
}

/* ===========================================
   LISTS AND SMALLER ELEMENTS
   =========================================== */

.practice-list li {
    font-size: 1.15rem;
    line-height: 1.9;
}

.practice-list li strong {
    font-size: 1.05rem !important;
}

ul li, ol li {
    font-size: 1.15rem;
    line-height: 1.95;
}

/* Blockquotes */
blockquote {
    font-size: 1.3rem;
    line-height: 1.85;
}

/* Small helper text */
small,
.small,
.helper-text,
.meta-text {
    font-size: 1rem !important;
    line-height: 1.7;
}

/* ===========================================
   HEADINGS - ENSURE HIERARCHY
   =========================================== */

h1, .entry-title {
    font-size: 2.8rem;
    line-height: 1.3;
}

h2 {
    font-size: 2rem;
    line-height: 1.4;
}

h3 {
    font-size: 1.6rem;
    line-height: 1.5;
}

h4 {
    font-size: 1.35rem;
    line-height: 1.5;
}

/* ===========================================
   MOBILE RESPONSIVENESS
   =========================================== */

@media (max-width: 768px) {
    body {
        font-size: 1.1rem;
    }
    
    p, .entry-content p {
        font-size: 1.15rem;
        line-height: 1.9;
    }
    
    .lead-text {
        font-size: 1.35rem !important;
    }
    
    .question-block p {
        font-size: 1.15rem;
    }
    
    .section-intro {
        font-size: 1.15rem;
    }
    
    .closing-message p {
        font-size: 1.15rem;
    }
    
    .closing-message blockquote {
        font-size: 1.25rem;
    }
    
    .main-navigation a {
        font-size: 0.95rem !important;
    }
    
    h1, .entry-title {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
    
    blockquote {
        font-size: 1.2rem;
    }
    
    .oracle-subtitle,
    .oracle-ask-btn,
    .oracle-again {
        font-size: 0.95rem !important;
    }
}

/* ===========================================
   IMPROVED CONTRAST FOR LIGHT TEXT
   =========================================== */

/* Brighter text color for better readability on dark backgrounds */
.entry-content,
.entry-content p,
.question-block p,
.coherence-card p,
.teaching-section p,
.concept-section p {
    color: rgba(235, 235, 243, 0.97);
}

/* Improve contrast on italic text */
.entry-content em,
.question-block em {
    color: rgba(235, 150, 205, 1);
}

/* Strong text slightly brighter */
.entry-content strong,
.question-block strong {
    color: rgba(255, 255, 255, 1);
}

/* ===========================================
   CONCEPT SYMBOL TEXT
   =========================================== */

.concept-symbol {
    font-size: 2.5rem;
}

/* ===========================================
   ENSURE READABILITY OVERRIDES
   =========================================== */

/* Force larger minimum on any very small text */
.site-logo::before {
    font-size: 1rem !important;
}
