/* Dec 2 site fixes (from the three skill passes on the test copy).
   Each block names the skill rule behind it. */


/* 1. Text size and line length (graphic-designing section 4, Mardochee's Dec 2 choice:
      18px for readers 55+, lines of 45 to 75 characters). Line spacing stays 1.65
      until the 1.35 vs 1.65 test is decided. Sales and help pages only (articles keep their look). */
body:has(.hd){font-size:18px}
body:has(.hd) main p,body:has(.hd) main li,body:has(.hd) details p,body:has(.hd) .quote p,body:has(.hd) .sub,
body:has(.hd) .s:not(.sources) .w>p,body:has(.hd) .s:not(.sources) .w>ul.ticks,body:has(.hd) .ft-fine{max-width:35em!important}

/* 2. One look everywhere (graphic-designing: one design system, one brand color;
      Nov 30 rule: clean modern sans, no classic serif). Checkout pages, the members'
      library and the Personal Joint Plan still used the old green and Fraunces. */
:root{--hc-head:"Plus Jakarta Sans",Inter,system-ui,sans-serif}
.ttl,ul.heads li,.ul-heads li{font-family:var(--hc-head)!important;font-weight:700!important;letter-spacing:-.01em}
body:has(.hc-wrap),body:has(.hc-top){--ink:#1E2A2C;--clay:#1E6670;--clay-dk:#0B3B44}
body:has(.hc-wrap) h1,body:has(.hc-wrap) h2,body:has(.hc-wrap) h3,body:has(.hc-top) h1,body:has(.hc-top) h2,body:has(.hc-top) h3,
.hc-brand,.ck-head a,header a.brand-old{font-family:var(--hc-head)!important;font-weight:800!important;letter-spacing:-.02em}
s.was{color:#5f6560!important}

/* 3. Tap targets at least 44px (graphic-designing section 8). Members' library tabs were 40px. */
.jump a{min-height:44px;display:inline-flex;align-items:center}
.hc-brand{min-height:44px}

/* 4. The free book reading page: green headings left from the old look move to the deep teal,
      body text up to 18px for older readers (shared rule 19). */
body.read7 h1,body.read7 h2,body.read7 h3{color:#0B3B44}
body.read7{font-size:18px}

/* 5. Pass 2: footer titles moved from h4 to h2 for logical headings; keep the old look. */
.ft-cols h2.ft-h{font:700 16px/1.2 "Plus Jakarta Sans",Inter,system-ui,sans-serif!important;letter-spacing:0;text-transform:none;color:#0B3B44;margin:0 0 6px}
.vh{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* Audiobook marks: one look everywhere (amber + headphones) */
.aud-badge{display:inline-flex;align-items:center;gap:8px;background:#FFC56B;color:#1F3A27;font:700 15px/1 Inter,system-ui,sans-serif;padding:9px 14px 9px 10px;border-radius:999px;box-shadow:0 2px 0 rgba(31,58,39,.12);margin:0 0 10px;white-space:nowrap}
.aud-badge svg{width:20px;height:20px;flex:none}
.audc{position:relative;width:min(360px,80%);margin:0 auto}
.audc .cover{width:100%!important;margin:0}
.card .audc{width:100%}
.card .audc img{width:100%;display:block}
.audc .aud-tag{position:absolute;right:-10px;bottom:16px;display:flex;align-items:center;gap:8px;background:#FFC56B;color:#1F3A27;font:800 15px/1 Inter,system-ui,sans-serif;padding:10px 14px 10px 10px;border-radius:999px;box-shadow:0 8px 18px rgba(0,0,0,.25)}
.audc .aud-tag svg{width:22px;height:22px}
.aud-strip{display:flex;align-items:center;gap:16px;background:#1F3A27;color:#fff;border-radius:16px;padding:16px 18px;margin:18px 0}
.aud-strip .aud-ic{flex:none;width:52px;height:52px;border-radius:50%;background:#FFC56B;color:#1F3A27;display:flex;align-items:center;justify-content:center}
.aud-strip .aud-ic svg{width:28px;height:28px}
.aud-strip b{display:block;font:700 19px/1.25 Inter,system-ui,sans-serif;color:#FFC56B}
.aud-strip span{font-size:17px;line-height:1.45;color:#fff}
.aud-wave{display:flex;align-items:center;gap:3px;margin-left:auto;flex:none}
.aud-wave i{display:block;width:4px;border-radius:2px;background:#FFC56B;opacity:.85}
@media(max-width:520px){.aud-wave{display:none}.audc .aud-tag{right:-6px;font-size:14px}}
