/*
Theme Name: Expat Plan B
Theme URI: https://expatplanb.com/
Author: Rico / The Expat Files
Description: Custom WordPress theme matching the Expat Plan B HTML site, with seminar, tours and podcast-ready navigation.
Version: 1.5.0
Text Domain: expat-plan-b
*/
:root{--ink:#173b34;--ink2:#245247;--paper:#fffdf7;--cream:#fff3df;--sand:#f8ead3;--white:#fff;--jungle:#14705a;--jungle2:#0d5b49;--turq:#19a7a0;--sky:#e7f7f6;--sun:#f6c744;--coral:#e96f4d;--muted:#60756e;--line:rgba(23,59,52,.13);--shadow:0 22px 55px rgba(40,90,75,.14);--max:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:"Trebuchet MS",Inter,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.65;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto;display:block}.container{width:min(var(--max),calc(100% - 40px));margin-inline:auto}.topbar{background:linear-gradient(90deg,var(--coral),#ef8b55,var(--sun));color:#fff;padding:10px 18px;text-align:center;font-size:14px;font-weight:900}.topbar a{text-decoration:underline}.nav{position:sticky;top:0;z-index:60;background:rgba(255,253,247,.96);backdrop-filter:blur(14px);border-bottom:1px solid rgba(23,59,52,.10)}.nav-inner{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:22px}.brand{color:var(--jungle);font-family:Georgia,serif;font-size:26px;font-weight:900;line-height:1;display:flex;flex-direction:column;position:relative;padding-left:28px}.brand:before{content:"✦";position:absolute;left:0;top:-1px;color:var(--coral);font-family:system-ui;font-size:20px}.brand small{font-family:"Trebuchet MS",sans-serif;font-size:9px;letter-spacing:.19em;text-transform:uppercase;color:#729087;margin-top:7px}.nav-links{display:flex;align-items:center;gap:22px;font-size:14px;font-weight:850;color:var(--ink2);flex-wrap:wrap;justify-content:flex-end}.nav-links>a:hover{color:var(--coral)}.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:999px;padding:14px 23px;font-weight:900;line-height:1.1;cursor:pointer;transition:.2s;text-align:center}.btn:hover{transform:translateY(-2px)}.btn-primary{background:linear-gradient(135deg,var(--coral),#f38b52);color:#fff;box-shadow:0 12px 26px rgba(233,111,77,.24)}.btn-dark{background:var(--jungle);color:#fff}.btn-light{background:#fff;color:var(--jungle)}.btn-outline{border:2px solid rgba(20,112,90,.22);background:#fff;color:var(--jungle)}.btn-block{width:100%}
.hero,.page-hero{position:relative;color:#fff;overflow:hidden;background:var(--jungle)}.hero{min-height:700px;display:grid;align-items:center}.hero:before,.page-hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(90deg,rgba(12,92,71,.92) 0%,rgba(12,92,71,.70) 42%,rgba(12,92,71,.20) 75%,rgba(12,92,71,.06) 100%),url('https://images.pexels.com/photos/28407398/pexels-photo-28407398.jpeg?auto=compress&cs=tinysrgb&w=2200');background-size:cover;background-position:center 52%}.hero:after,.page-hero:after{content:"";position:absolute;left:-7vw;bottom:-105px;width:114vw;height:190px;background:var(--paper);border-radius:50% 50% 0 0/80% 80% 0 0;z-index:1}.hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1.28fr) minmax(330px,.72fr);gap:56px;align-items:center;padding:88px 0 145px}.page-hero .hero-grid{grid-template-columns:1fr;padding:82px 0 135px}.eyebrow,.kicker{display:inline-flex;align-items:center;gap:9px;text-transform:uppercase;letter-spacing:.15em;font-size:11px;font-weight:950}.eyebrow{color:#2e2410;padding:9px 13px;border-radius:999px;background:var(--sun)}.kicker{color:var(--coral)}.hero h1,.page-hero h1{font-family:Georgia,serif;font-size:clamp(48px,6vw,78px);line-height:.99;letter-spacing:-.04em;margin:20px 0 22px;max-width:900px}.lead{font-size:clamp(18px,2vw,22px);line-height:1.55;color:#f4fffb;max-width:790px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:28px 0 22px}.micro{font-size:13px;color:#e6fff7}.hero-card{background:rgba(255,253,247,.97);color:var(--ink);padding:30px;border-radius:26px;box-shadow:0 34px 75px rgba(22,65,52,.28);border:4px solid rgba(246,199,68,.92);position:relative}.hero-card h3{font-family:Georgia,serif;font-size:28px;line-height:1.15}.price{font-family:Georgia,serif;font-size:34px;font-weight:900;color:var(--jungle)}.price small{display:block;font-family:"Trebuchet MS";font-size:12px;color:var(--muted)}.deadline{background:#fff5cd;border:1px solid #eed071;padding:13px 14px;border-radius:13px;font-size:13px;font-weight:800;margin:20px 0}.stat-row{position:relative;z-index:5;width:min(1080px,calc(100% - 40px));margin:-58px auto 0;background:#fff;border-radius:22px;box-shadow:var(--shadow);display:grid;grid-template-columns:repeat(4,1fr);overflow:hidden;border:1px solid rgba(20,112,90,.10)}.stat{padding:24px 22px;text-align:center;border-right:1px solid var(--line)}.stat:last-child{border-right:0}.stat strong{display:block;font-family:Georgia,serif;font-size:25px;color:var(--jungle)}.stat span{font-size:12px;color:var(--muted)}
.section{padding:92px 0;position:relative}.section.alt{background:linear-gradient(180deg,#fff6e8 0%,#fffaf0 100%)}.section.dark{background:linear-gradient(135deg,#0d6b55 0%,#16816c 55%,#159596 100%);color:#fff}.section-head{max-width:840px;margin-bottom:38px}.section-head.center{text-align:center;margin-inline:auto}.section h2,.band h2,.register-box h2{font-family:Georgia,serif;font-size:clamp(32px,4vw,50px);line-height:1.08;letter-spacing:-.03em;margin:10px 0 16px}.grid-2,.grid-3{display:grid;gap:22px}.grid-2{grid-template-columns:repeat(2,1fr)}.grid-3{grid-template-columns:repeat(3,1fr)}.card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:26px;box-shadow:0 10px 30px rgba(40,90,75,.08);color:var(--ink)}.dark .card{background:rgba(255,255,255,.97)}.card h3{font-family:Georgia,serif;font-size:23px;margin:8px 0}.icon{font-size:26px;color:var(--coral)}.split{display:grid;grid-template-columns:1fr 1fr;gap:46px;align-items:center}.image-panel{min-height:420px;border-radius:24px;background-size:cover;background-position:center;box-shadow:var(--shadow)}.antigua{background-image:url('https://images.pexels.com/photos/16360391/pexels-photo-16360391.jpeg?auto=compress&cs=tinysrgb&w=1400')}.atitlan{background-image:url('https://images.pexels.com/photos/2101187/pexels-photo-2101187.jpeg?auto=compress&cs=tinysrgb&w=1400')}.tikal{background-image:url('https://images.pexels.com/photos/161815/guatemala-antigua-volcano-old-161815.jpeg?auto=compress&cs=tinysrgb&w=1400')}.band{background:#fff;border-radius:26px;padding:38px;box-shadow:var(--shadow);display:grid;grid-template-columns:1fr auto;gap:26px;align-items:center}.quote footer{margin-top:14px;font-weight:900;color:var(--jungle)}.quote-featured{grid-column:1/-1;font-size:1.2rem;border:2px solid rgba(246,199,68,.8);box-shadow:0 14px 36px rgba(23,59,52,.14)}.faq details{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px 20px;margin-bottom:12px}.faq summary{font-weight:900;cursor:pointer}.register-wrap{padding:70px 0;background:var(--jungle);color:#fff}.register-box{display:grid;grid-template-columns:1.2fr .8fr;gap:36px;align-items:center}.register-panel{background:#fff;color:var(--ink);padding:28px;border-radius:22px}.paypal-checkout select{width:100%;padding:12px;margin:10px 0 14px;border-radius:10px;border:1px solid var(--line)}.travel-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.destination-card{background:#fff;border-radius:20px;overflow:hidden;border:1px solid var(--line);box-shadow:0 10px 30px rgba(40,90,75,.08)}.destination-photo{height:230px;background-size:cover;background-position:center}.destination-copy{padding:24px}.trip-pill{display:inline-block;padding:8px 12px;border-radius:999px;background:var(--sky);margin:4px;font-weight:800;font-size:13px}.simple-list li{margin-bottom:8px}.footer{padding:40px 0;background:#102f29;color:#dff7ef}.footer-grid{display:flex;justify-content:space-between;gap:30px;flex-wrap:wrap}.mobile-cta{display:none}
.podcast-hero{background:linear-gradient(135deg,#0d6b55,#159596);color:#fff;padding:80px 0}.podcast-shell{display:grid;grid-template-columns:1fr 320px;gap:32px}.podcast-box{background:#fff;border:1px solid var(--line);border-radius:20px;padding:26px;box-shadow:var(--shadow)}.podcast-box iframe{width:100%;border:0}.archive-search{width:100%;padding:14px 16px;border:1px solid var(--line);border-radius:999px;font-size:16px}.episode-list{display:grid;gap:16px}.episode-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px}.episode-meta{font-size:12px;color:var(--muted);font-weight:800;text-transform:uppercase;letter-spacing:.05em}.episode-card h3{font-family:Georgia,serif;font-size:24px;margin:8px 0}.episode-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
@media(max-width:920px){.hero-grid,.podcast-shell,.split,.register-box{grid-template-columns:1fr}.grid-3{grid-template-columns:1fr 1fr}.travel-grid{grid-template-columns:1fr}.stat-row{grid-template-columns:1fr 1fr}.nav-inner{align-items:flex-start;padding:18px 0}.nav-links{gap:12px}.band{grid-template-columns:1fr}.hero{min-height:auto}}
@media(max-width:640px){.container{width:min(var(--max),calc(100% - 28px))}.grid-2,.grid-3,.stat-row{grid-template-columns:1fr}.hero-grid{padding-top:70px}.hero h1,.page-hero h1{font-size:46px}.section{padding:66px 0}.nav-links{display:none}.mobile-cta{display:block;position:fixed;bottom:0;left:0;right:0;padding:10px;background:rgba(255,253,247,.96);z-index:80}.footer{padding-bottom:90px}}

/* Podcast 1.1 */
.podcast-cover{width:100%;max-width:360px;border-radius:18px;box-shadow:0 18px 55px rgba(0,0,0,.18);display:block;margin:0 auto 26px}.episode-section{margin-top:38px}.episode-section h2{font-family:Georgia,serif;font-size:32px}.episode-chapters{white-space:pre-wrap;background:#f6f2e9;border-radius:14px;padding:22px;font-family:inherit}.episode-transcript{line-height:1.75}.episode-topics{font-size:.92rem}.efp-search-form{margin-bottom:24px}.efp-pagination{display:flex;gap:10px;flex-wrap:wrap;margin-top:28px}.efp-pagination .page-numbers{padding:9px 13px;border:1px solid #ccd3cf;border-radius:8px;text-decoration:none}.efp-pagination .current{background:#173b33;color:#fff;border-color:#173b33}


/* Persistent podcast experience 1.2 */
body{padding-bottom:76px}.nav-podcast-link{background:#fff3cf;border:1px solid rgba(246,199,68,.55);padding:9px 13px;border-radius:999px;color:var(--jungle)!important;box-shadow:0 5px 16px rgba(23,59,52,.08)}.nav-podcast-link:hover{background:var(--sun);transform:translateY(-1px)}#epb-page-content{min-height:40vh}.epb-player{position:fixed;z-index:1000;left:0;right:0;bottom:0;background:rgba(13,55,48,.985);color:#fff;border-top:1px solid rgba(255,255,255,.16);box-shadow:0 -10px 35px rgba(10,42,36,.24);backdrop-filter:blur(14px)}.epb-player-inner{height:76px;width:min(1320px,calc(100% - 28px));margin:auto;display:grid;grid-template-columns:48px minmax(220px,1fr) minmax(340px,1.8fr) 130px 36px;align-items:center;gap:14px}.epb-player-main{width:46px;height:46px;border-radius:50%;border:0;background:var(--sun);color:#183c34;font-size:18px;font-weight:900;cursor:pointer}.epb-player-copy{min-width:0;display:flex;flex-direction:column;line-height:1.15}.epb-player-copy strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px}.epb-player-copy small{color:#b9d7ce;margin-top:5px;font-size:11px}.epb-player-kicker{font-size:9px;letter-spacing:.14em;color:#f8cb48;font-weight:950;margin-bottom:4px}.epb-player-transport{display:grid;grid-template-columns:auto 42px minmax(140px,1fr) 42px auto;align-items:center;gap:8px;font-size:10px}.epb-player-transport button,.epb-player-expand{border:0;background:transparent;color:#e8fff8;font-weight:900;cursor:pointer}.epb-player input[type=range]{accent-color:var(--sun);width:100%}.epb-player-volume{display:flex;align-items:center;gap:6px}.epb-player-volume span{font-size:13px}.epb-player-expand{font-size:18px}.efp-play-episode{appearance:none}.epb-navigating #epb-page-content{opacity:.55;transition:opacity .12s}.epb-player.is-playing .epb-player-main{background:#fff;color:var(--coral)}@media(max-width:900px){body{padding-bottom:70px}.epb-player-inner{height:70px;grid-template-columns:46px minmax(0,1fr) 34px}.epb-player-transport,.epb-player-volume{display:none}.epb-player.is-expanded .epb-player-inner{height:auto;min-height:124px;padding:10px 0;grid-template-columns:46px minmax(0,1fr) 34px}.epb-player.is-expanded .epb-player-transport{display:grid;grid-column:1/-1;grid-row:2}.epb-player-copy strong{font-size:13px}.mobile-cta{bottom:70px}.footer{padding-bottom:70px}}@media(max-width:640px){.mobile-cta{display:none}.footer{padding-bottom:76px}.epb-player-inner{width:calc(100% - 18px)}.epb-player-copy small{font-size:10px}}


/* Podcast archive compact browsing - v1.5 */
.efp-search-form{margin-bottom:18px}.efp-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center}.efp-search-row .archive-search{border-radius:12px}.efp-episode{padding:14px 16px;border-radius:14px}.efp-episode h3{font-size:19px;line-height:1.18;margin:5px 0 7px}.efp-episode .episode-meta{font-size:10px}.efp-episode .efp-snippet{font-size:14px;line-height:1.42;margin:5px 0 8px;color:#42524d;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.efp-episode .episode-topics{font-size:12px;line-height:1.35;margin:5px 0;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.efp-episode .episode-actions{margin-top:9px;gap:7px}.efp-episode .episode-actions .btn{padding:8px 11px;font-size:12px}.episode-subtitle{max-width:800px;font-size:18px;line-height:1.5;opacity:.94}.episode-player-card{padding:16px}.episode-section{max-width:850px}.episode-section p{line-height:1.7}
@media(max-width:700px){.efp-search-row{grid-template-columns:1fr auto}.efp-search-row .btn-outline{grid-column:1/-1;width:max-content}.efp-episode{padding:12px}.efp-download{display:none}}
