/*
Theme Name: ExpressVocab
Version: 1.4.0
Requires PHP: 8.2
Text Domain: expressvocab
*/
:root{--blue:#2563eb;--navy:#142c50;--teal:#0d9488;--ice:#eff6ff;--slate:#475569}*{box-sizing:border-box}body{margin:0;color:var(--navy);background:white;font:16px/1.65 Inter,system-ui,sans-serif}h1,h2,h3{font-family:'Plus Jakarta Sans',system-ui,sans-serif;line-height:1.2}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--teal);outline-offset:3px}.wrap{max-width:1180px;margin:auto;padding:0 24px}.header{border-bottom:1px solid #e2e8f0}.nav{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:76px;flex-wrap:wrap}.brand{display:inline-flex;align-items:center;gap:10px;font-size:27px;font-weight:800;color:var(--navy);letter-spacing:-1px}.brand b{color:var(--blue)}.brand img{width:42px;height:42px}.links{display:flex;gap:22px;flex-wrap:wrap;align-items:center}.links a{color:var(--navy);font-weight:600}.hero{text-align:center;background:linear-gradient(125deg,#eff6ff,#dbeafe);padding:65px 0}.hero h1{font-size:clamp(32px,5vw,54px);max-width:850px;margin:12px auto}.hero p{max-width:700px;margin:16px auto;color:var(--slate)}.eyebrow{font-size:13px;font-weight:800;letter-spacing:1.4px;color:var(--blue)}.searchform{display:flex;max-width:700px;margin:25px auto 0;gap:8px;background:white;border:1px solid #bfdbfe;padding:7px;border-radius:14px}.searchform input{min-width:0;flex:1;border:0;padding:12px;font:inherit}.button,button{background:var(--blue);color:white;border:0;border-radius:9px;padding:12px 20px;font:600 15px system-ui;cursor:pointer}.section{padding:35px 0}.center{text-align:center}.categories{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.tile,.postcard{border:1px solid #dbe3ed;border-radius:12px;padding:20px;background:white}.tile{text-align:center;color:var(--navy)}.tile span{display:block;font-size:30px;color:var(--blue)}.tile h3{margin:10px 0}.tile p,.muted{color:var(--slate);font-size:14px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.postcard img{width:100%;height:auto;border-radius:8px}.postcard h2,.postcard h3{font-size:21px}.postcard p{color:var(--slate)}.layout{display:grid;grid-template-columns:minmax(0,760px) minmax(220px,1fr);gap:42px;padding-top:30px;padding-bottom:50px}.article h1{font-size:clamp(30px,4vw,44px)}.article img{max-width:100%;height:auto}.article table{display:block;overflow:auto;border-collapse:collapse}.article td,.article th{border:1px solid #cbd5e1;padding:10px}.toc,.sidebox{background:var(--ice);border-radius:12px;padding:20px;margin:24px 0}.toc ul,.sidebox ul{padding-left:22px}.crumb{font-size:13px;color:var(--slate)}.footer{background:var(--navy);color:white;padding:35px 0}.footer a{color:white}.footer .brand{color:white}.footer .brand b{color:#93c5fd}.footer .links{margin:18px 0}.pagination{margin:25px 0}.pagination a,.pagination span{padding:8px}.ad-slot{margin:24px 0;text-align:center}.skip{position:absolute;left:-9999px}.skip:focus{left:10px;top:10px;background:white;padding:10px;z-index:99}.mobile-toggle{display:none}.listcards{display:grid;gap:15px}.listcards .postcard{display:flex;gap:20px}.listcards .postcard img{width:180px;object-fit:cover;align-self:start}@media(max-width:800px){.categories{grid-template-columns:repeat(2,1fr)}.cards{grid-template-columns:repeat(2,1fr)}.layout{grid-template-columns:1fr;gap:10px}.hero{padding:40px 0}.nav{padding-top:12px;padding-bottom:12px}.mobile-toggle{display:block}.nav .links{display:none;width:100%;flex-direction:column;align-items:flex-start}.nav .links.open{display:flex}}@media(max-width:480px){.wrap{padding-left:16px;padding-right:16px}.cards{grid-template-columns:1fr}.tile{padding:12px}.listcards .postcard{display:block}.listcards .postcard img{width:100%}.brand{font-size:23px}.searchform button{padding:10px}.hero h1{font-size:32px}}
/* Approved homepage layout */
.hero{position:relative;overflow:hidden;background:linear-gradient(125deg,#eff6ff 0%,#dbeafe 100%);padding:46px 0 40px}.hero:before,.hero:after{content:"";position:absolute;pointer-events:none;border-radius:50%;background:#bfdbfe;opacity:.65;width:85%;height:75%;left:-35%;bottom:-45%;transform:rotate(20deg)}.hero:after{left:auto;right:-40%;bottom:-54%;transform:rotate(-20deg)}.hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) 29%;align-items:center;gap:16px}.hero-copy{min-width:0}.hero h1{font-size:clamp(32px,4vw,49px);letter-spacing:-1.7px;font-weight:800}.hero-art{width:100%;height:auto;max-width:320px}.hero .searchform{border-radius:40px;border-color:#93c5fd;box-shadow:0 5px 12px #2563eb22;padding:5px}.hero .searchform input{background:transparent;border-radius:30px}.hero .searchform button{border-radius:28px;min-width:110px}.hero-chips{display:flex;justify-content:center;flex-wrap:wrap;gap:9px;margin-top:16px}.hero-chips a{background:#eff6ff;color:var(--navy);padding:5px 13px;border-radius:18px;font-size:13px;box-shadow:0 2px 5px #2563eb12}.section{padding:26px 24px 38px}.section>h2{font-size:27px;letter-spacing:-.7px}.tile{padding:19px 12px;min-height:158px;transition:box-shadow .2s,border-color .2s}.tile:hover{border-color:#93c5fd;box-shadow:0 5px 16px #142c5010;text-decoration:none}.category-icon{width:34px;height:34px;color:var(--blue)}.tile h3{font-size:17px;margin:8px 0}.tile p{margin:0;line-height:1.45}.latest-list{padding:0;list-style:none}.latest-list a{display:flex;align-items:center;gap:12px;padding:10px 8px;border-bottom:1px solid #e2e8f0;color:var(--navy)}.latest-list span,.latest-list b{color:var(--blue)}.latest-list b{margin-left:auto}.empty-state{background:#f8fafc;padding:18px;border-radius:8px;color:var(--slate);text-align:center}.footer .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}.footer p{margin:0;font-size:13px}.footer .links{margin:0;font-size:13px}.footer small{width:100%;text-align:right;color:#cbd5e1}.footer .brand{font-size:23px}.footer .brand img{width:34px;height:34px}@media(max-width:800px){.hero-grid{grid-template-columns:1fr}.hero-art{display:none}.hero h1{letter-spacing:-1px}.section{padding:24px 16px}.footer small{text-align:left}}@media(max-width:480px){.hero h1{font-size:32px}.hero .searchform button{min-width:75px}.tile{min-height:140px}.hero-chips{gap:6px}.hero-chips a{font-size:12px}}
/* Reference-matched photographic artwork and compact editorial layout */
.hero-art{max-width:280px;mix-blend-mode:multiply;justify-self:center;border-radius:8px}.hero-grid{grid-template-columns:minmax(0,1fr) 26%;gap:8px}.hero{padding:38px 0 32px;background:linear-gradient(115deg,#eaf5ff,#d4e8fc)}.hero h1{font-size:clamp(32px,4vw,52px);line-height:1.08}.hero p{max-width:760px;font-size:16px}.nav{min-height:72px}.section>h2{margin:18px 0}.categories{gap:14px}.tile{min-height:166px;border-radius:10px}.tile h3{font-weight:800}.ad-preview{margin:22px auto;max-width:970px;padding:22px;text-align:center;border:1px dashed #93c5fd;background:#eff6ff;border-radius:8px;font-size:13px}.postcard{padding:8px;border-radius:10px}.postcard>div{padding:6px 9px 10px}.postcard img{display:block;width:100%;aspect-ratio:2.5;object-fit:cover}.postcard h2{font-size:20px;margin:6px 0}.postcard h2 a{color:var(--navy)}.postcard .muted{font-size:11px;text-transform:uppercase;font-weight:800;color:var(--blue)}.cards .postcard p{display:none}.card-image:empty{display:none}.listcards .card-image{flex:0 0 25%}.listcards .postcard img{width:100%;aspect-ratio:1.9}.listcards .postcard>div{flex:1}.footer{padding:18px 0}.article>img{border-radius:9px;width:100%}.sidebox{background:#f5f9ff;padding:14px}.sidebox h2{font-size:19px;margin:0 0 10px}.sidebox li{margin-bottom:10px}.category-hero .category-icon{width:58px;height:58px;background:#2563eb;color:white;padding:12px;border-radius:50%}.category-hero h1{margin:8px auto}.category-hero p{margin:0 auto}.category-hero{padding:30px 0}.archive-count{font-weight:700;margin-bottom:15px}@media(max-width:800px){.hero-grid{grid-template-columns:1fr}.hero-art{display:none}.hero h1{font-size:clamp(30px,6vw,44px)}}@media(max-width:480px){.listcards .postcard{display:flex;gap:8px}.listcards .card-image{flex:0 0 34%}.listcards .postcard h2{font-size:16px}.listcards .postcard p{font-size:13px}.tile{min-height:150px}}
/* V1.3 visual refinement */
.hero-art{mix-blend-mode:normal;border-radius:0;max-width:245px;filter:drop-shadow(0 7px 6px #142c5019)}.hero:before,.hero:after{display:none}.hero{background: url('images/waves.svg') center bottom/100% 100% no-repeat,linear-gradient(115deg,#eaf5ff,#d4e8fc);padding:30px 0 25px}.hero h1{font-family:'Plus Jakarta Sans',Arial,sans-serif;font-weight:800;letter-spacing:-1.7px;font-size:clamp(32px,3.9vw,51px)}.hero p{max-width:650px;margin:12px auto}.hero .searchform{margin-top:18px;align-items:center}.search-icon{flex:none;margin-left:13px;color:var(--navy)}.searchform input{padding-left:3px}.section>h2,.tile h3,.postcard h2{font-family:'Plus Jakarta Sans',Arial,sans-serif;font-weight:800}.tile{min-height:136px;padding:14px 13px}.tile p{max-width:190px;margin:auto}.section{padding-top:12px}.section>h2{margin:14px 0}.ad-preview{margin:16px auto;padding:18px}.postcard h2{line-height:1.2}.category-menu{position:relative}.category-menu summary{cursor:pointer;font-weight:600}.category-menu>div{position:absolute;z-index:20;top:100%;left:0;min-width:230px;background:white;border:1px solid #dbe3ed;border-radius:8px;padding:10px;box-shadow:0 8px 20px #142c5020}.category-menu a{display:block;padding:5px 8px}.nav-preview{font-weight:600;color:var(--navy)}.footer .wrap{display:grid;grid-template-columns:1fr auto;gap:4px 20px}.footer .brand{grid-column:1;grid-row:1}.footer p{grid-column:1;grid-row:2}.footer nav{grid-column:2;grid-row:1}.footer small{grid-column:2;grid-row:2}@media(max-width:800px){.category-menu>div{position:static;box-shadow:none}.footer .wrap{display:flex;align-items:flex-start;flex-direction:column}.hero h1{font-size:clamp(30px,6vw,44px);letter-spacing:-1px}.tile{min-height:140px}}

/* V1.4 typography and visual polish */
body{font-family:Inter,Arial,sans-serif}h1,h2,h3,.brand{font-family:'Plus Jakarta Sans',Arial,sans-serif;font-weight:800}.hero h1,.section>h2,.tile h3,.postcard h2,.article h1,.category-hero h1{font-weight:800;color:#142c50}.hero h1{letter-spacing:-1.8px}.category-menu summary{list-style:none;display:flex;align-items:center;gap:6px}.category-menu summary::-webkit-details-marker{display:none}.category-menu summary:after{content:'';width:6px;height:6px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-top:-3px}.hero-art{max-width:260px}.tile h3{margin:6px 0;font-size:17px}.tile p{font-size:14px}.postcard h2{font-size:21px}.postcard a:last-child{font-weight:700}.article h1{line-height:1.15}.footer .links{gap:15px}.footer .nav-preview{color:#cbd5e1}.footer .brand img{width:32px;height:32px}@media(max-width:800px){.hero h1{letter-spacing:-1px}.tile h3{font-size:16px}.footer .links{gap:12px}}
.custom-logo-link{display:inline-flex;align-items:center}.custom-logo{max-width:240px;max-height:55px;width:auto;height:auto}.footer .custom-logo-link{grid-column:1;grid-row:1}.footer .custom-logo{max-height:40px}
