/**
 * Rahao Website Studio 6.4.0
 * Final typography, contrast, focus and independently managed page layer.
 */

:root{
    --rahao-quality-serif:"Cormorant Garamond",Georgia,serif;
    --rahao-quality-sans:Manrope,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
    --rahao-quality-forest:#073f3d;
    --rahao-quality-terracotta:#934729;
    --rahao-quality-copy:#405751;
    --rahao-quality-cream:#f7eee4;
}

body.rahao-quality-completion{
    font-family:var(--rahao-quality-sans);
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
}

body.rahao-quality-completion :is(
    .wp-site-blocks,
    .wp-block-navigation,
    .wp-block-navigation-item,
    .wp-block-navigation-item__content,
    .wp-block-navigation-item__label,
    button,
    input,
    select,
    textarea
){
    font-family:var(--rahao-quality-sans)!important;
}

body.rahao-quality-completion :is(h1,h2,h3,h4,h5,h6),
body.rahao-quality-completion .wp-block-site-title{
    font-family:var(--rahao-quality-serif);
}

/* WCAG-visible keyboard focus across theme, Studio and Commune surfaces. */
body.rahao-quality-completion :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible{
    outline:3px solid #b85f38!important;
    outline-offset:4px!important;
    box-shadow:0 0 0 2px #fff!important;
}

/* Header and carousel controls: deep tones on pale surfaces. */
body.rahao-quality-completion .rs-nav-trigger,
body.rahao-quality-completion .rs-nav>a{
    color:var(--rahao-quality-forest)!important;
}
body.rahao-quality-completion .rs-nav-trigger span{
    color:#7b321e!important;
}
body.rahao-quality-completion .rs-slider-arrow{
    border-color:#52716a!important;
    background:#fffaf3!important;
    color:var(--rahao-quality-forest)!important;
}
body.rahao-quality-completion .rs-slider-arrow:hover,
body.rahao-quality-completion .rs-slider-arrow:focus-visible{
    border-color:var(--rahao-quality-forest)!important;
    background:var(--rahao-quality-forest)!important;
    color:#fff!important;
}

/* Decorative arrows and small numerals must remain legible, not merely pretty. */
body.rahao-quality-completion .rs-pathway-arrow{
    border-color:var(--rahao-quality-forest)!important;
    color:var(--rahao-quality-forest)!important;
}
body.rahao-quality-completion :is(
    .rs-mega-links>a>span,
    .rs-method-step>span,
    .rs-difference-grid article>span,
    .rs-work-setting-card>span,
    .rs-work-principle-card>span,
    .rs-p4-policy-grid>a>span,
    .rs-p4-support-grid>article>span,
    .rs-wc-guide-grid span,
    .rs-school-design-grid>article>span
){
    color:#7b321e!important;
}

/* Muted copy on white, cream and pale-green cards now clears AA. */
body.rahao-quality-completion :is(
    .rs-event-summary,
    .rs-pathway-card p,
    .rs-difference-grid article p,
    .rs-audience-card p,
    .rs-program-format p,
    .rs-program-fit-grid p,
    .rs-work-setting-card p,
    .rs-work-principle-card p,
    .rs-p4-story-copy>div,
    .rs-p4-past-copy>div,
    .rs-p4-policy-grid p,
    .rs-p4-support-grid p,
    .rs-wc-guide-grid p,
    .rs-school-design-grid p,
    .rs-custom-content,
    .rs-custom-lead
){
    color:var(--rahao-quality-copy)!important;
}

/* Keep every white-on-terracotta block on the accessible Rahao shade. */
body.rahao-quality-completion :is(
    .rs-final,
    .rs-p4-final,
    .rs-school-final,
    .rs-wc-final,
    .rs-wc-announcement,
    .rs-wc-floating-register
){
    background-color:var(--rahao-quality-terracotta)!important;
}

/* Current Inner Trail contribution: one date-valid answer and one safe path. */
body.rahao-innertrail-current-pricing #rahao-innertrail .it-pricing-early{
    display:none!important;
}
#rahao-innertrail .it-current-price-notice{
    display:grid;
    gap:5px;
    margin:0 0 28px!important;
    padding:18px 20px!important;
    border:1px solid rgba(238,220,174,.68);
    background:rgba(238,220,174,.10);
    color:#fffaf0!important;
    font-family:var(--rahao-quality-sans)!important;
    line-height:1.5!important;
}
#rahao-innertrail .it-current-price-notice strong{
    color:#eedcae!important;
    font-size:12px!important;
    letter-spacing:.12em;
    text-transform:uppercase;
}
#rahao-innertrail .it-current-price-notice span{
    color:#fffaf0!important;
    font-size:14px!important;
    font-weight:700;
}

/* Accessible titles added to third-party embeds do not change their layout. */
body.rahao-quality-completion iframe[title]{
    max-width:100%;
}

@media(max-width:650px){
    body.rahao-quality-completion :is(a,button){
        text-underline-offset:3px;
    }
    #rahao-innertrail .it-current-price-notice{
        padding:16px!important;
    }
}

@media(prefers-reduced-motion:reduce){
    body.rahao-quality-completion *,
    body.rahao-quality-completion *::before,
    body.rahao-quality-completion *::after{
        scroll-behavior:auto!important;
    }
}

