/* Homepage Option D (approved 21 Nov 2026). Rendered by includes/home-d.php ([wme_home]). Sizes are at 100 %: desktop
   shows them at 80 % through the .wp-site-blocks zoom in custom.css. Flat blocks, navy + gold.
   21 Nov 2026 (Patrick: "the homepage doesn't match the curved look"): the site's own rounded corners, measured from the live
   CSS: 12px boxes, cards and title bars (category intro box), 10px image frames and search field (header search), 8px
   buttons (sidebar button). Section titles use the category intro title bar exactly: navy, white, centred, rounded top,
   with the white bordered box below. Content width = the header container (custom.css: min(1560px, 100% - 96px)). */
.wme-hd{--hd-navy:#183251;--hd-gold:#d9b57f;--hd-gold-ink:#9b753f;--hd-red:#d62828;--hd-light:#e8f1fb;--hd-border:#d8e2ee;--hd-muted:#4a5b70;
  --hd-r-box:12px;--hd-r-frame:10px;--hd-r-btn:8px;
  --hd-s2:16px;--hd-s3:24px;--hd-s4:32px;--hd-s5:48px;--hd-s6:64px;--hd-s7:88px;
  color:var(--hd-navy);font-family:"League Spartan",Arial,sans-serif;font-weight:400;font-size:19px;line-height:1.55;background:#fff}
.wme-hd *,.wme-hd *::before,.wme-hd *::after{box-sizing:border-box}
.wme-hd a{color:inherit;text-decoration:none}
.wme-hd img{display:block;max-width:100%;height:auto}
.wme-hd h1,.wme-hd h2,.wme-hd h3,.wme-hd p,.wme-hd ul,.wme-hd ol{margin:0}
.wme-hd-wrap{width:min(1560px,calc(100% - 96px));margin:0 auto}
.wp-site-blocks>main.wme-home-d{margin-top:0!important;margin-block-start:0!important;padding:0!important}

/* section title bar + box: same values as body.wme-template-archive .wp-block-query-title / .wp-block-term-description */
.wme-hd .wme-hd-title{display:block;margin:0;padding:20px 28px;border-radius:12px 12px 0 0;background:#183251;color:#fff;text-align:center;font-family:"League Spartan",Arial,sans-serif;font-weight:700;font-size:clamp(2rem,3vw,2.75rem);line-height:1.15;letter-spacing:0;box-shadow:0 10px 24px rgba(24,50,81,.10)}
.wme-hd-panel{padding:28px 32px 30px;border:1px solid #dbe3ee;border-top:0;border-radius:0 0 12px 12px;background:#fff;box-shadow:0 10px 24px rgba(24,50,81,.10)}
.wme-hd .wme-hd-sub{margin:0 0 var(--hd-s3)!important;font-weight:300;font-size:20px;color:var(--hd-muted)}
.wme-hd-sub--row{display:flex;align-items:baseline;justify-content:space-between;gap:var(--hd-s3)}
.wme-hd .wme-hd-sub--row p{margin:0!important}
.wme-hd-more{font-weight:700;font-size:18px;color:var(--hd-navy);text-decoration:underline!important;text-decoration-color:var(--hd-gold)!important;text-decoration-thickness:3px!important;text-underline-offset:6px;white-space:nowrap}
.wme-hd-btn{display:inline-block;border-radius:var(--hd-r-btn);font-weight:700;font-size:18px;line-height:1;padding:17px 28px 15px;background:var(--hd-gold);color:var(--hd-navy)!important;text-align:center}
.wme-hd-btn:hover{background:#e4c693}
.wme-hd-btn--navy{background:var(--hd-navy);color:#fff!important}
.wme-hd-btn--navy:hover{background:#22426a}

/* hero */
.wme-hd-hero{background:var(--hd-navy);color:#fff;border-bottom:6px solid var(--hd-gold)}
.wme-hd-hero .wme-hd-wrap{display:grid;grid-template-columns:7fr 5fr;gap:var(--hd-s6);align-items:center;padding:var(--hd-s6) 0}
.wme-hd-hero h1{font-weight:800;font-size:clamp(38px,3.4vw,48px);line-height:1.1;letter-spacing:-.01em;color:#fff;text-wrap:balance}
.wme-hd-hero__lead{font-weight:300;font-size:23px;line-height:1.5;margin:var(--hd-s3) 0 var(--hd-s4)!important;max-width:640px;color:#fff}
.wme-hd-search{display:flex;max-width:680px;background:#fff;height:66px;margin:0;border-radius:var(--hd-r-frame);overflow:hidden}
.wme-hd-search input{flex:1;border:0;border-radius:0;font:inherit;font-weight:400;font-size:19px;padding:4px 22px 0;color:var(--hd-navy);min-width:0;outline:0;background:#fff;height:100%}
.wme-hd-search input::placeholder{color:#7b8aa0}
.wme-hd-search button{border:0;border-radius:0;background:var(--hd-gold);color:var(--hd-navy);font:inherit;font-weight:700;font-size:19px;padding:4px 34px 0;cursor:pointer}
.wme-hd-popular{margin-top:var(--hd-s2)!important;font-size:17px;color:var(--hd-light)}
.wme-hd-popular a{color:#fff;font-weight:600;margin-left:14px;text-decoration:underline!important;text-decoration-color:var(--hd-gold)!important;text-underline-offset:4px}
.wme-hd-stats{display:flex;margin-top:var(--hd-s5);border-top:1px solid rgba(232,241,251,.25);padding-top:var(--hd-s3)}
.wme-hd-stats a{flex:1;padding-right:var(--hd-s3)}
.wme-hd-stats a+a{border-left:1px solid rgba(232,241,251,.25);padding-left:var(--hd-s3)}
.wme-hd-stats b{display:block;font-weight:800;font-size:40px;line-height:1;color:var(--hd-gold)}
.wme-hd-stats span{display:block;margin-top:6px;font-weight:300;font-size:16px;line-height:1.3;color:#fff}
.wme-hd-pin{background:var(--hd-navy);border:1px solid rgba(232,241,251,.25);border-radius:var(--hd-r-box);overflow:hidden}
.wme-hd-pin__band{background:var(--hd-gold);color:var(--hd-navy);font-weight:800;font-size:19px;text-align:center;padding:12px 10px 9px;letter-spacing:.04em}
.wme-hd-pin__fan{position:relative;height:430px;overflow:hidden}
.wme-hd-pin__fan img{position:absolute;width:250px;background:#fff;border:1px solid #c9d3df}
.wme-hd .wme-hd-p1{left:9%;top:58px;transform:rotate(-7deg)}
.wme-hd .wme-hd-p2{right:9%;top:58px;transform:rotate(7deg)}
.wme-hd .wme-hd-p3{left:50%;top:30px;width:280px;margin-left:-140px}
.wme-hd-pin__bar{background:var(--hd-red);color:#fff;font-weight:800;font-size:22px;text-align:center;padding:13px 10px 10px;letter-spacing:.05em}

/* sections */
.wme-hd-sec{padding-top:var(--hd-s7)}
.wme-hd-sec--last{padding-bottom:var(--hd-s7)}

/* cards: 12px rounded frame (site cards), featured image, title, meta */
.wme-hd-card{display:block;border:1px solid var(--hd-border);border-radius:var(--hd-r-box);overflow:hidden;background:#fff}
.wme-hd-card:hover{border-color:var(--hd-navy)}
.wme-hd-card img,.wme-hd-noimg{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;background:var(--hd-light)}
.wme-hd-card__t{display:block;padding:14px 18px 2px;font-weight:700;font-size:20px;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.wme-hd-card__m{display:block;padding:2px 18px 16px;font-weight:400;font-size:15px;line-height:1.4;color:var(--hd-muted)}
.wme-hd-row4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--hd-s3)}

/* pillars */
.wme-hd-pillars{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--hd-s3)}
.wme-hd-pillar{border:1px solid var(--hd-border);border-radius:var(--hd-r-box);overflow:hidden;display:flex;flex-direction:column}
.wme-hd-bar{display:flex;align-items:center;justify-content:center;min-height:62px;padding:12px 16px 9px;background:var(--hd-navy);color:#fff!important;font-weight:800;font-size:25px!important;line-height:1.15;text-align:center;margin:0!important}
.wme-hd-bar a{color:#fff!important}
.wme-hd-pillar img{width:100%;aspect-ratio:16/9;object-fit:cover}
.wme-hd-pillar__body{padding:var(--hd-s3);flex:1;display:flex;flex-direction:column}
.wme-hd-pillar__body p{margin:0 0 var(--hd-s2)!important;font-weight:300;font-size:19px;color:var(--hd-muted)}
.wme-hd-pillar__links{display:flex;flex-wrap:wrap;gap:8px 20px;font-size:17px;font-weight:600;margin-bottom:var(--hd-s3)}
.wme-hd-pillar__links a{border-bottom:1px solid var(--hd-gold)}
.wme-hd-pillar .wme-hd-btn{margin-top:auto}

/* seasonal slot */
.wme-hd-slot{display:flex;align-items:center;justify-content:space-between;gap:var(--hd-s3);margin-bottom:var(--hd-s3)}
.wme-hd .wme-hd-slot p{margin:0!important;font-weight:300;font-size:20px;color:var(--hd-muted)}
.wme-hd-slot .wme-hd-btn{flex:none}
.wme-hd-season{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--hd-s3);align-items:start}
.wme-hd-card--feature .wme-hd-card__t{font-size:26px;padding-top:18px}
.wme-hd-card--feature .wme-hd-card__m{font-size:17px;padding-bottom:20px}
.wme-hd-season__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--hd-s3)}
.wme-hd-season__grid .wme-hd-card__t{font-size:18px}

/* gap after New this week: plain content break where Auto ads may place a unit (no ad code here) */
.wme-hd-adgap{height:var(--hd-s2)}

/* browse index */
.wme-hd-index{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--hd-s3)}
.wme-hd-box{border:1px solid var(--hd-border);border-radius:var(--hd-r-box);overflow:hidden}
.wme-hd-index ul{list-style:none;margin:0;padding:6px var(--hd-s3) var(--hd-s2)!important;columns:2;column-gap:var(--hd-s4)}
.wme-hd-index li{break-inside:avoid;display:flex;justify-content:space-between;gap:12px;padding:13px 0 11px;border-bottom:1px solid var(--hd-border);font-size:19px;font-weight:600;margin:0}
.wme-hd-index li span{color:var(--hd-gold-ink);font-weight:700;font-size:17px}
.wme-hd-index li a:hover{text-decoration:underline!important;text-decoration-color:var(--hd-gold)!important}
.wme-hd-deped{margin-top:var(--hd-s3);display:grid;grid-template-columns:280px 1fr auto;gap:var(--hd-s4);align-items:center;border:1px solid var(--hd-border);border-radius:var(--hd-r-box);padding:var(--hd-s3)}
.wme-hd-deped img{width:280px;aspect-ratio:16/9;object-fit:cover;border-radius:var(--hd-r-frame)}
.wme-hd-deped b{display:block;font-weight:800;font-size:26px;line-height:1.2}
.wme-hd-deped span{display:block;margin-top:6px;font-weight:300;color:var(--hd-muted)}

/* learn Word */
.wme-hd-learn{display:grid;grid-template-columns:5fr 7fr;gap:var(--hd-s3);align-items:start}
.wme-hd-course{background:var(--hd-navy);color:#fff;border-radius:var(--hd-r-box)}
.wme-hd-course__in{padding:var(--hd-s4)}
/* 0.39.6: the mascot sits in the heading row (a grid), so the chapter list always starts below it and never under it. */
.wme-hd-course__head{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:var(--hd-s3);align-items:start;margin-bottom:var(--hd-s3)}
.wme-hd-course__head p{margin-bottom:0!important}
.wme-hd-course h3{color:#fff;font-size:32px;font-weight:800;line-height:1.2}
.wme-hd-course h3 em{font-style:normal;color:var(--hd-gold)}
.wme-hd-course p{color:var(--hd-light);font-weight:300;margin:var(--hd-s2) 0 var(--hd-s3)!important}
.wme-hd-course ol{margin:0 0 var(--hd-s4)!important;padding:0!important;list-style:none;font-size:17px;counter-reset:wmehd;columns:2;column-gap:var(--hd-s4)}
.wme-hd-course li{counter-increment:wmehd;padding:7px 0 5px;border-bottom:1px solid rgba(232,241,251,.18);break-inside:avoid;margin:0}
.wme-hd-course li::before{content:counter(wmehd);display:inline-block;width:30px;color:var(--hd-gold);font-weight:800}
.wme-hd .wme-hd-course__mascot{display:block;width:auto;height:240px;margin:0}/* full-body pose, legs and feet showing (Patrick 23 Nov 2026) */
.wme-hd-vids{display:grid;grid-template-columns:1fr;gap:var(--hd-s3)}
.wme-hd-vid{display:grid;grid-template-columns:300px 1fr;border:1px solid var(--hd-border);border-radius:var(--hd-r-box);overflow:hidden;align-items:center}
.wme-hd-vid:hover{border-color:var(--hd-navy)}
.wme-hd-vid img,.wme-hd-vid .wme-hd-noimg{width:300px;aspect-ratio:16/9;object-fit:cover}
.wme-hd-vid div{padding:var(--hd-s2) var(--hd-s3)}
.wme-hd-vid b{display:block;font-weight:700;font-size:22px;line-height:1.25}
.wme-hd-vid span{display:block;margin-top:6px;font-size:16px;color:var(--hd-muted)}
.wme-hd-yt{display:flex;align-items:center;justify-content:space-between;gap:var(--hd-s3);border:1px solid var(--hd-border);border-radius:var(--hd-r-box);padding:var(--hd-s2) var(--hd-s3)}
.wme-hd-yt span{font-weight:300;font-size:18px;color:var(--hd-muted)}
.wme-hd-yt b{color:var(--hd-navy);font-weight:700}

/* meet the author */
.wme-hd-author__body{display:grid;grid-template-columns:240px 1fr;gap:var(--hd-s4);align-items:center}
.wme-hd-author img{width:240px;height:240px;object-fit:cover;border-radius:var(--hd-r-frame)}
.wme-hd-author p{margin:0 0 var(--hd-s2)!important;font-weight:300;font-size:21px;line-height:1.55;max-width:900px}
.wme-hd-author__facts{display:flex;flex-wrap:wrap;gap:8px 28px;font-size:17px;color:var(--hd-muted);margin-bottom:var(--hd-s3)}
.wme-hd-author__facts b{color:var(--hd-navy);font-weight:700}

/* book + email */
.wme-hd-closing{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--hd-s3)}
.wme-hd-prod__body{display:grid;grid-template-columns:200px 1fr;gap:var(--hd-s4);align-items:center}
.wme-hd-prod__body img{width:200px;border:1px solid var(--hd-border);border-radius:var(--hd-r-frame)}
.wme-hd-prod p{margin:0 0 var(--hd-s3)!important;font-weight:300;color:var(--hd-muted);font-size:18px}
.wme-hd-mail,.wme-hd-prod{display:flex;flex-direction:column}
.wme-hd-mail .wme-hd-panel,.wme-hd-prod .wme-hd-panel{flex:1}
.wme-hd-mail__in{display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.wme-hd-mail p{margin:0 0 var(--hd-s3)!important;font-weight:300;color:var(--hd-muted);font-size:20px}
.wme-hd-mail small{display:block;margin-top:var(--hd-s2);font-weight:300;font-size:14px;color:var(--hd-muted)}

/* phones and tablets */
@media (max-width:900px){
  .wme-hd{font-size:17px}
  .wme-hd-wrap{width:calc(100% - 32px)}
  .wme-hd-hero h1{font-size:38px;line-height:1.08}
  .wme-hd-hero .wme-hd-wrap{grid-template-columns:1fr;gap:var(--hd-s4);padding:var(--hd-s4) 0 var(--hd-s5)}
  .wme-hd-hero__lead{font-size:18px;margin:var(--hd-s2) 0 var(--hd-s3)!important}
  .wme-hd-search{height:56px}.wme-hd-search input{font-size:16px;padding:3px 14px 0}.wme-hd-search button{padding:3px 18px 0;font-size:16px}
  .wme-hd-popular{font-size:15px}.wme-hd-popular a{margin-left:8px;display:inline-block}
  .wme-hd-stats{margin-top:var(--hd-s4);padding-top:var(--hd-s2)}
  .wme-hd-stats a{padding-right:10px}.wme-hd-stats a+a{padding-left:10px}
  .wme-hd-stats b{font-size:26px}.wme-hd-stats span{font-size:13px}
  .wme-hd-pin__band{font-size:14px}.wme-hd-pin__bar{font-size:17px}
  .wme-hd-pin__fan{height:260px}
  .wme-hd-pin__fan img{width:140px}.wme-hd .wme-hd-p1{left:4%;top:40px}.wme-hd .wme-hd-p2{right:4%;top:40px}
  .wme-hd .wme-hd-p3{width:160px;margin-left:-80px;top:20px}
  .wme-hd-sec{padding-top:var(--hd-s6)}
  .wme-hd-sec--last{padding-bottom:var(--hd-s6)}
  .wme-hd .wme-hd-sub{font-size:17px;margin-bottom:var(--hd-s2)!important}
  .wme-hd-sub--row{flex-direction:column;gap:8px}
  .wme-hd-more{font-size:17px}
  .wme-hd-pillars{grid-template-columns:1fr}
  .wme-hd-bar{font-size:21px!important;min-height:54px}
  .wme-hd-pillar__body{padding:var(--hd-s2) var(--hd-s2) var(--hd-s3)}
  .wme-hd-slot{flex-direction:column;align-items:flex-start;gap:12px;margin-bottom:var(--hd-s2)}
  .wme-hd .wme-hd-slot p{font-size:17px}
  .wme-hd-season{grid-template-columns:1fr;gap:var(--hd-s2)}
  .wme-hd-season__grid,.wme-hd-row4{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--hd-s2) 12px}
  .wme-hd-card__t,.wme-hd-season__grid .wme-hd-card__t{font-size:15px;padding:10px 10px 2px}
  .wme-hd-card__m{font-size:13px;padding:2px 10px 12px}
  .wme-hd-card--feature .wme-hd-card__t{font-size:20px;padding:14px 14px 2px}.wme-hd-card--feature .wme-hd-card__m{font-size:15px;padding:2px 14px 16px}
  .wme-hd-index{grid-template-columns:1fr}
  .wme-hd-index ul{columns:1;padding:4px var(--hd-s2) var(--hd-s2)!important}.wme-hd-index li{font-size:17px;padding:11px 0 9px}
  .wme-hd-deped{grid-template-columns:1fr;gap:var(--hd-s2);padding:var(--hd-s2)}
  .wme-hd-deped img{width:100%}
  .wme-hd-deped b{font-size:22px}
  .wme-hd-learn{grid-template-columns:1fr}
  .wme-hd-course__in{padding:var(--hd-s3) var(--hd-s2)}
  .wme-hd-course__head{column-gap:var(--hd-s2)}
  .wme-hd-course h3{font-size:26px}
  .wme-hd-course ol{columns:1;font-size:16px}.wme-hd-course li{padding:5px 0 3px}
  .wme-hd .wme-hd-course__mascot{width:auto;height:220px}
  .wme-hd-vids{gap:var(--hd-s2)}
  .wme-hd-vid{grid-template-columns:150px 1fr}.wme-hd-vid img,.wme-hd-vid .wme-hd-noimg{width:150px}
  .wme-hd-vid div{padding:8px 12px}
  .wme-hd-vid b{font-size:16px}.wme-hd-vid span{font-size:13px;margin-top:3px}
  .wme-hd-yt{flex-direction:column;align-items:flex-start;padding:var(--hd-s2)}
  .wme-hd-author__body{grid-template-columns:1fr;gap:var(--hd-s2)}
  .wme-hd-author img{width:140px;height:140px}
  .wme-hd-author p{font-size:18px}
  .wme-hd-author__facts{font-size:15px;gap:4px 18px}
  .wme-hd-closing{grid-template-columns:1fr}
  .wme-hd-prod__body{grid-template-columns:120px 1fr;gap:var(--hd-s2)}
  .wme-hd-prod__body img{width:120px}
  .wme-hd-prod p{font-size:16px;margin-bottom:var(--hd-s2)!important}
  .wme-hd-prod .wme-hd-btn{font-size:16px;padding:14px 18px 12px}
  .wme-hd-mail p{font-size:17px}
}
/* title bar + box on phones: same values as the category intro box at 780px and below */
@media (max-width:780px){
  .wme-hd .wme-hd-title{padding:17px 20px;font-size:2rem}
  .wme-hd-panel{padding:22px 20px 24px}
}
/* tablets: the header container is 100% - 72px from 782 to 1024px (custom.css) */
@media (min-width:782px) and (max-width:1024px){
  .wme-hd-wrap{width:calc(100% - 72px)}
}
