/*
Theme Name: PAX Learning
Theme URI: https://example.com/pax-learning
Author: Panamerican Exchange Company
Description: A lightweight bilingual-ready learning theme inspired by the PAX Navigator identity, coastal Brazil, travel and connection across the Americas.
Version: 2.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: pax-learning
*/
:root{--navy:#0c2c3c;--teal:#0c5965;--cream:#f7f0df;--paper:#fffaf0;--ink:#10293a;--gold:#b18b4f;--line:#d8ccb5;--radius:22px;--shadow:0 16px 42px rgba(17,39,49,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--cream);font-family:Georgia,'Times New Roman',serif;line-height:1.55}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.wrap{width:min(1180px,calc(100% - 36px));margin:auto}.site-header{position:sticky;top:0;z-index:20;background:rgba(255,250,240,.94);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}.header-inner{min-height:92px;display:flex;align-items:center;gap:34px}.brand{display:flex;align-items:center;gap:14px;margin-right:auto}.brand img{width:72px;height:72px;border-radius:50%;object-fit:cover}.brand-title{font-size:17px;letter-spacing:.14em;line-height:1.15}.brand-title small{display:block;font-size:12px;letter-spacing:.45em;margin-top:7px;text-align:center}.nav-menu{display:flex;gap:28px;list-style:none;margin:0;padding:0}.nav-menu a:hover{color:var(--teal)}.header-actions{display:flex;align-items:center;gap:10px}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 24px;border-radius:999px;border:1px solid var(--navy);font-family:inherit;font-size:16px}.btn-primary{background:var(--teal);color:white;border-color:var(--teal)}.btn:hover{transform:translateY(-1px)}.hero{position:relative;overflow:hidden;background:linear-gradient(100deg,rgba(247,240,223,.98) 0%,rgba(247,240,223,.89) 43%,rgba(247,240,223,.18) 72%),linear-gradient(145deg,#bfe2e2,#7db7c5 55%,#3f7d84);min-height:610px}.hero:after{content:'';position:absolute;inset:0;background-image:radial-gradient(circle at 82% 35%,rgba(255,255,255,.55),transparent 20%),linear-gradient(0deg,rgba(10,68,76,.08),transparent 45%);pointer-events:none}.hero-inner{position:relative;z-index:2;padding:92px 0 70px;display:grid;grid-template-columns:1.08fr .92fr;gap:55px;align-items:center}.eyebrow{text-transform:uppercase;letter-spacing:.34em;font-size:12px}.hero h1{font-size:clamp(46px,6vw,76px);line-height:.96;margin:18px 0 22px;max-width:760px}.hero p{font-size:20px;max-width:650px}.hero-actions{display:flex;gap:12px;margin:30px 0}.benefits{display:flex;gap:28px;flex-wrap:wrap;margin-top:38px}.benefit{font-size:14px}.benefit b{display:block;font-size:24px;color:var(--teal)}.navigator-card{justify-self:end;max-width:410px;text-align:center}.navigator-card img{width:330px;border-radius:50%;box-shadow:var(--shadow);mix-blend-mode:multiply}.navigator-card blockquote{font-size:22px;font-style:italic;margin:20px 0 0}.feature-strip{position:relative;z-index:5;margin-top:-48px}.features{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.feature{background:rgba(255,250,240,.96);border:1px solid rgba(216,204,181,.9);border-radius:18px;padding:26px;box-shadow:var(--shadow)}.feature h3{font-size:24px;margin:5px 0}.feature p{margin:0;color:#52636b}.section{padding:90px 0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:32px}.section h2{font-size:48px;line-height:1.05;margin:8px 0}.course-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.course-card{background:var(--paper);border:1px solid var(--line);border-radius:18px;overflow:hidden;min-height:300px;box-shadow:0 10px 24px rgba(17,39,49,.06)}.course-art{height:145px;background:linear-gradient(145deg,#8fd1d1,#e7c982);display:flex;align-items:end;padding:16px;font-size:38px}.course-copy{padding:18px}.course-copy h3{margin:0 0 8px;font-size:20px}.course-copy p{font-size:14px;color:#64747a;margin:0}.story{background:var(--navy);color:white}.story-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.story h2{font-size:52px;margin:0 0 18px}.seal{background:var(--paper);border-radius:50%;padding:18px;max-width:430px}.site-footer{background:#071e2a;color:#e9e2d5;padding:55px 0}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:50px}.footer-title{letter-spacing:.16em}.site-footer ul{list-style:none;padding:0}.site-footer li{margin:8px 0}.menu-toggle{display:none}.content-area{padding:70px 0;min-height:55vh}.entry-title{font-size:52px}.woocommerce ul.products li.product,.woocommerce div.product{font-family:Georgia,'Times New Roman',serif}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--teal);color:#fff;border-radius:999px}
@media(max-width:900px){.menu-toggle{display:inline-flex}.nav-menu{display:none}.nav-menu.is-open{display:flex;position:absolute;top:92px;left:0;right:0;background:var(--paper);padding:25px 30px;flex-direction:column;border-bottom:1px solid var(--line)}.header-actions .btn:not(.btn-primary){display:none}.hero-inner,.story-grid{grid-template-columns:1fr}.navigator-card{justify-self:center}.features{grid-template-columns:1fr}.course-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr}.hero{min-height:auto}}@media(max-width:560px){.brand-title{font-size:12px}.brand img{width:54px;height:54px}.header-inner{min-height:74px}.nav-menu.is-open{top:74px}.header-actions .btn-primary{display:none}.hero-inner{padding-top:58px}.hero h1{font-size:46px}.course-grid{grid-template-columns:1fr}.section h2,.story h2{font-size:38px}.feature-strip{margin-top:-24px}}

/* Responsive refinements — v1.1 */
html{-webkit-text-size-adjust:100%}body{overflow-wrap:anywhere}.wrap{width:min(1180px,calc(100% - clamp(28px,5vw,64px)))}
.btn,.menu-toggle{-webkit-tap-highlight-color:transparent;transition:transform .18s ease,background-color .18s ease,color .18s ease}.btn:focus-visible,.menu-toggle:focus-visible,.nav-menu a:focus-visible{outline:3px solid rgba(12,89,101,.35);outline-offset:3px}
.hero h1,.section h2,.story h2{overflow-wrap:normal;word-break:normal}.course-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr))}.course-card{min-width:0}.header-inner{position:relative}.menu-toggle{padding-inline:18px;background:transparent;color:var(--ink);cursor:pointer}.nav-menu a{display:block}
@media (min-width:901px) and (max-width:1120px){.header-inner{gap:18px}.brand-title{font-size:14px}.brand img{width:62px;height:62px}.nav-menu{gap:17px}.header-actions .btn{padding-inline:17px}.hero-inner{gap:32px}.hero h1{font-size:clamp(48px,6vw,66px)}}
@media (max-width:900px){.site-header{backdrop-filter:blur(9px)}.header-inner{min-height:82px;gap:12px}.brand img{width:60px;height:60px}.brand-title{font-size:14px}.brand-title small{letter-spacing:.34em}.menu-toggle{display:inline-flex;order:3}.header-actions{margin-left:auto}.nav-menu.is-open{top:calc(100% + 1px);padding:18px max(22px,calc((100vw - 760px)/2));gap:0;box-shadow:0 18px 30px rgba(17,39,49,.08)}.nav-menu.is-open li+li{border-top:1px solid var(--line)}.nav-menu.is-open a{padding:14px 4px;font-size:17px}.hero-inner{padding:64px 0 74px;gap:36px}.hero h1{font-size:clamp(44px,8vw,66px);max-width:780px}.hero p{font-size:18px}.navigator-card{max-width:360px}.navigator-card img{width:min(310px,72vw)}.features{grid-template-columns:repeat(3,1fr)}.feature{padding:21px}.feature h3{font-size:21px}.section{padding:72px 0}.section-head{align-items:center}.course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.story-grid{gap:38px}.seal{justify-self:center;width:min(430px,78vw)}}
@media (max-width:720px){.header-actions{display:none}.features{grid-template-columns:1fr}.feature-strip{margin-top:-34px}.section-head{display:block}.section-head>.btn{margin-top:16px}.hero-actions{flex-wrap:wrap}.hero-actions .btn{flex:1 1 190px}.benefits{display:grid;grid-template-columns:repeat(2,1fr);gap:20px 28px}.course-grid{grid-template-columns:1fr 1fr}.footer-grid{gap:26px}}
@media (max-width:560px){.wrap{width:min(100% - 28px,1180px)}.site-header{position:sticky}.header-inner{min-height:70px}.brand{gap:10px;min-width:0}.brand img{width:48px;height:48px;flex:0 0 auto}.brand-title{font-size:11px;letter-spacing:.1em;white-space:nowrap}.brand-title small{font-size:10px;margin-top:4px}.menu-toggle{min-height:42px;padding:0 15px;font-size:14px}.nav-menu.is-open{padding-inline:18px}.hero{background:linear-gradient(160deg,rgba(247,240,223,.98),rgba(247,240,223,.84) 58%,rgba(125,183,197,.38))}.hero-inner{padding:46px 0 62px}.eyebrow{font-size:10px;letter-spacing:.25em}.hero h1{font-size:clamp(39px,12.5vw,52px);line-height:1.01;margin:14px 0 18px}.hero p{font-size:17px;line-height:1.5}.hero-actions{display:grid;grid-template-columns:1fr;margin:24px 0}.hero-actions .btn{width:100%;min-height:50px}.benefits{margin-top:28px}.navigator-card blockquote{font-size:19px}.feature-strip{margin-top:-22px}.feature{padding:20px}.section{padding:58px 0}.section h2,.story h2,.entry-title{font-size:clamp(34px,10vw,42px)}.course-grid{grid-template-columns:1fr}.course-card{min-height:0}.course-art{height:128px}.story-grid{gap:30px}.footer-grid{grid-template-columns:1fr}.site-footer{padding:42px 0}.content-area{padding:48px 0}}
@media (max-width:370px){.brand-title{font-size:10px;letter-spacing:.06em}.brand img{width:44px;height:44px}.menu-toggle{padding-inline:12px}.benefits{grid-template-columns:1fr 1fr;gap:16px}.hero h1{font-size:38px}}
@media (orientation:landscape) and (max-height:520px) and (max-width:900px){.site-header{position:relative}.hero-inner{grid-template-columns:1.2fr .8fr;padding:38px 0}.hero h1{font-size:44px}.navigator-card img{width:220px}.navigator-card blockquote{font-size:17px}.benefits{margin-top:20px}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn{transition:none}.btn:hover{transform:none}}

/* v1.2 Noah Learning logo + bilingual interface */
.brand img{border-radius:18px;object-fit:contain;background:transparent}.brand-title{font-weight:700}.brand-title small{letter-spacing:.14em;font-weight:400}.lang-switch{display:inline-flex;align-items:center;padding:3px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.55)}.lang-btn{border:0;background:transparent;color:var(--ink);font:600 12px/1 Georgia,'Times New Roman',serif;padding:8px 10px;border-radius:999px;cursor:pointer}.lang-btn.is-active{background:var(--navy);color:#fff}.lang-btn:focus-visible{outline:3px solid rgba(12,89,101,.35);outline-offset:2px}.mascot-card img{border-radius:24px;mix-blend-mode:normal;width:min(390px,100%);background:transparent}.mascot-seal{border-radius:30px;padding:0;object-fit:contain;background:transparent}.footer-language{margin-top:12px;flex-wrap:wrap}.footer-language .lang-btn{color:#e9e2d5}.footer-language .lang-btn.is-active{background:#e9e2d5;color:#071e2a}.desktop-nav{display:block}
@media(max-width:900px){.desktop-nav{display:contents}.header-actions .lang-switch{display:inline-flex}.brand-title{display:block}}
@media(max-width:720px){.header-actions{display:flex;margin-left:auto}.header-actions>a{display:none}.lang-switch{margin-right:2px}.lang-btn{padding:7px 9px}.menu-toggle{order:4}.brand-title small{display:block}}
@media(max-width:480px){.brand-title{display:none}.brand img{width:58px;height:58px}.header-inner{gap:8px}.header-actions{margin-left:auto}.lang-btn{font-size:11px;padding:7px 8px}.mascot-card img{width:min(330px,88vw)}}

/* v1.3 Under-construction landing page */
.construction-page{min-height:calc(100vh - 92px);background:linear-gradient(135deg,rgba(247,240,223,.98),rgba(255,250,240,.92) 52%,rgba(125,183,197,.28)),radial-gradient(circle at 85% 15%,rgba(12,89,101,.18),transparent 32%);position:relative;overflow:hidden}.construction-page:before{content:"";position:absolute;inset:0;opacity:.12;pointer-events:none;background-image:linear-gradient(rgba(12,44,60,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(12,44,60,.08) 1px,transparent 1px);background-size:46px 46px;mask-image:linear-gradient(to bottom right,transparent,black 55%,transparent)}.construction-hero{position:relative;z-index:1}.construction-inner{min-height:calc(100vh - 92px);display:grid;grid-template-columns:minmax(280px,.82fr) minmax(0,1.18fr);gap:clamp(42px,7vw,100px);align-items:center;padding-block:clamp(64px,9vh,120px)}.construction-logo-wrap{display:flex;justify-content:center}.construction-logo{width:min(440px,100%);border-radius:34px;box-shadow:0 24px 70px rgba(17,39,49,.14);background:transparent}.construction-copy{max-width:700px}.construction-copy h1{font-size:clamp(48px,6.2vw,82px);line-height:.96;margin:18px 0 26px;letter-spacing:-.035em}.construction-copy>p{font-size:clamp(18px,2vw,22px);max-width:650px;color:#425963}.construction-rule{display:flex;align-items:center;gap:14px;margin:34px 0 24px;color:var(--gold)}.construction-rule:before,.construction-rule:after{content:"";height:1px;background:var(--line);width:110px}.construction-status{font-style:italic}.construction-pax{margin-top:38px;padding-top:20px;border-top:1px solid var(--line);font-size:13px;letter-spacing:.08em;text-transform:uppercase}.construction-pax strong{color:var(--teal)}
@media(max-width:900px){.construction-page,.construction-inner{min-height:calc(100vh - 82px)}.construction-inner{grid-template-columns:1fr;text-align:center;padding-block:58px;gap:36px}.construction-logo{width:min(340px,74vw)}.construction-copy{margin:auto}.construction-copy>p{margin-inline:auto}.construction-rule{justify-content:center}.construction-pax{max-width:600px;margin-inline:auto}}
@media(max-width:560px){.construction-page,.construction-inner{min-height:calc(100vh - 70px)}.construction-inner{padding-block:40px 54px;gap:30px}.construction-logo{width:min(290px,78vw);border-radius:26px}.construction-copy h1{font-size:clamp(40px,12vw,54px);margin:14px 0 20px}.construction-copy>p{font-size:17px}.construction-rule{margin:26px 0 20px}.construction-rule:before,.construction-rule:after{width:70px}.construction-pax{font-size:11px;line-height:1.7;margin-top:30px}}

/* v1.6 editable site chrome */
.custom-logo{display:block}.footer-copyright{grid-column:1/-1;border-top:1px solid rgba(233,226,213,.2);padding-top:22px;margin-top:8px;font-size:13px;opacity:.82}.footer-links{list-style:none;padding:0;margin:10px 0 0}.footer-links li{margin:8px 0}
.footer-legal{grid-column:1/-1;padding-top:18px;border-top:1px solid rgba(233,226,213,.18);font-size:14px}.footer-legal a{text-decoration:underline;text-underline-offset:3px}.content-area .entry-content,.content-area article{max-width:850px}.content-area article h2{margin-top:2.2em;font-size:30px;line-height:1.2}.content-area article li{margin:.35em 0}

/* v2.0 bilingual legal pages */
.legal-language-version[hidden]{display:none!important}.legal-language-version{max-width:860px;margin:0 auto}.legal-language-version .entry-title{margin-bottom:1.5rem}.legal-language-version h2{margin-top:2rem}.legal-language-version ul{padding-left:1.4rem}
