/* page-post.css - a blog post, carried verbatim from
   ctc-migration/reskin/extract/post.style.css, which is the blog-post mockup's own
   <style> block (design-preview/blog-post-money-layout.html, the lines between its
   <style> and </style>). Nothing here is authored: selectors, order, values and
   comments are the mockup's own, byte for byte.

   It loads after style.css and instead of assets/pages-legacy.css, the way
   assets/page-school.css and assets/page-list.css load on their own page types
   (functions.php, ctc_starter_styles): a handle depending on 'ctc-starter', with the
   legacy sheet skipped on this page type. The :root block is kept because the sheet
   has to stand on its own on top of the home base; the mockup's palette tokens are
   byte-for-byte the same ones style.css already declares, so nothing here repaints
   the site.

   The rules for this mockup's own masthead, footer and preview furniture cannot
   match the live markup, because the live masthead and footer are the ones already
   built from the home-page mockup; they are kept so this file stays a 1:1 copy.

*/

:root{
  --paper:#fffaf1; --paper-2:#fff6e6; --paper-3:#f6ecd9;
  --ink:#2a2118; --ink-2:#5b4c3c; --ink-3:#8c7c69; --line:#e6d8c2;
  --brand:#ffac00; --brand-2:#ffb601; --accent:#ff9217; --green:#005548; --green-2:#01483b;
  --grape:#4a3cae; --grape-2:#6a5ad6; --maroon:#620000; --sun:#ffc93c;
  --ok:#2f855a; --warn:#c9a227; --bad:#c0392b;
  --score-col:var(--green); --on-band:#fffaf1;
  --display:'Fredoka',system-ui,sans-serif;
  --read:'Nunito Sans',system-ui,sans-serif;
  --hand:'Caveat',cursive;
}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--read);font-size:17.5px;line-height:1.65}
h1,h2,h3,h4,h5{font-family:var(--display);line-height:1.14;margin:0;font-weight:600}
a{color:var(--green);text-decoration-thickness:2px;text-underline-offset:3px}
.wrap{max-width:1160px;margin:0 auto;padding:0 22px}
.flag{background:var(--ink);color:#fff;font-size:14px;padding:11px 22px;text-align:center;line-height:1.55}
.flag b{color:var(--sun)}
.tools{position:fixed;right:14px;bottom:14px;display:flex;gap:8px;flex-wrap:wrap;z-index:70}
.tools button{font-family:var(--display);font-size:13px;border:2px solid var(--ink);color:var(--ink);padding:8px 13px;border-radius:999px;cursor:pointer;box-shadow:3px 3px 0 var(--ink);background:var(--sun)}
.tools button.on{background:var(--grape);color:#fff}
.drawer{position:fixed;right:14px;bottom:62px;width:min(460px,calc(100vw - 28px));max-height:78vh;overflow:auto;background:var(--paper-2);border:2px solid var(--ink);border-radius:16px;padding:16px 18px;box-shadow:6px 6px 0 var(--ink);z-index:70;display:none}
.drawer.open{display:block}
.drawer h3{font-size:20px;margin-bottom:8px}
.drawer li{margin:0 0 9px;font-size:14.5px}

.masthead{border-bottom:2px solid var(--ink);background:var(--paper-2)}
.masthead .row{display:flex;align-items:center;gap:14px;padding:16px 0 10px;flex-wrap:wrap}
.masthead img.logo{display:block}
.masthead .sitename{font-family:var(--display);font-size:21px;margin:0;line-height:1.1}
.masthead .tag{font-family:var(--hand);color:var(--green);font-size:19px;margin:0;line-height:1.1}
nav.chips{display:flex;gap:8px;flex-wrap:wrap;padding:0 0 14px}
nav.chips a{font-family:var(--display);font-size:14px;text-decoration:none;border:2px solid var(--ink);border-radius:999px;padding:6px 12px;color:var(--ink);background:#fff}
nav.chips a[aria-current]{background:var(--brand)}

.crumbs{font-size:14px;color:var(--ink-2);padding:20px 0 0}
.posthead{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:28px;align-items:end;padding:10px 0 6px}
.kicker{font-family:var(--display);font-size:13px;letter-spacing:.04em;text-transform:uppercase;color:var(--maroon);margin:0 0 8px}
h1.post{font-size:clamp(2.1rem,4.6vw,3.5rem);letter-spacing:-.4px}
h1.post .hl{background:linear-gradient(transparent 60%,var(--brand) 60%,var(--brand) 92%,transparent 92%);padding:0 4px;text-decoration:none}
.meta{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0 0}
.meta span{font-family:var(--display);font-size:13px;border:2px solid var(--line);border-radius:999px;padding:5px 11px;color:var(--ink-2);background:#fff}
.deck{font-size:20px;color:var(--ink-2);margin:14px 0 0;max-width:44ch}
.deck u{text-decoration:none;background:linear-gradient(transparent 62%,var(--sun) 62%,var(--sun) 94%,transparent 94%);padding:0 3px}

.shot{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;border:2px solid var(--ink);border-radius:10px;background:#fff;padding:8px 8px 0;box-shadow:8px 9px 0 var(--paper-3)}
.shot .inner{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;border-radius:6px}
.shot img{width:100%;height:100%;object-fit:cover;display:block;filter:saturate(.9) contrast(1.05) sepia(.07)}
.shot .inner::after{content:"";position:absolute;inset:0;background:var(--brand);mix-blend-mode:multiply;opacity:.13}
.tape{position:absolute;left:50%;top:-11px;width:96px;height:22px;background:var(--brand);opacity:.85;border:1px solid rgba(42,33,24,.22);transform:translateX(-50%) rotate(-3deg);z-index:3}
.cap{font-size:13px;color:var(--ink-3);margin:10px 0 0}

.band{background:#fff;border:2px solid var(--ink);border-radius:18px;padding:16px 16px 18px;box-shadow:7px 8px 0 var(--green);margin:26px 0 4px}
.band .bhead{display:flex;gap:12px;align-items:baseline;flex-wrap:wrap;margin-bottom:4px}
.band h2{font-size:22px}
.band .btag{font-family:var(--hand);font-size:19px;color:var(--green);line-height:1.15}
.band .bsub{font-size:14.5px;color:var(--ink-2);margin:6px 0 14px;max-width:76ch}
.pickgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}
.pick{border:2px solid var(--ink);border-radius:14px;padding:13px 13px 14px;background:var(--paper-2);display:flex;flex-direction:column;gap:9px}
.pick .ptop{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.pick h3{font-size:19px;line-height:1.15}
.pick h3 a{text-decoration:none;color:var(--ink);border-bottom:2px solid var(--brand)}
.pick .price{font-family:var(--display);font-size:24px;color:var(--maroon);line-height:1;flex:none}
.pick .kv{font-size:13px;color:var(--ink-2);margin:0}
.pick .scorepill{font-family:var(--display);font-size:13px;background:var(--score-col);color:var(--on-band);border:2px solid var(--ink);border-radius:999px;padding:3px 9px}
.accrow{display:flex;align-items:center;gap:8px}
.mini{width:88px;height:12px;border:2px solid var(--ink);border-radius:999px;background:#fff;overflow:hidden;flex:none}
.mini span{display:block;height:100%;background:var(--ink-3)}
.accrow small{font-size:12.5px;color:var(--ink-2)}
.go{display:block;text-align:center;font-family:var(--display);font-size:16px;text-decoration:none;border:2px solid var(--ink);border-radius:12px;padding:10px 12px;margin-top:auto}
.go.aff{background:var(--accent);color:#fff;box-shadow:3px 4px 0 var(--green)}
.go.plain{background:#fff;color:var(--ink)}
.disc{font-size:12.5px;color:var(--ink-3);margin:6px 0 0}
.bandfoot{display:flex;gap:14px;justify-content:space-between;flex-wrap:wrap;border-top:1px dashed var(--line);margin-top:14px;padding-top:10px;font-size:13px;color:var(--ink-2)}

.postgrid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,.85fr);gap:34px;margin:30px 0 0;align-items:start}
.prose p{margin:0 0 18px}
.prose h2{font-size:clamp(1.5rem,2.6vw,2rem);margin:26px 0 10px}
.prose h2 span{background:var(--sun);padding:0 6px;border-radius:5px}
.dropcap{float:left;font-family:var(--display);font-size:54px;line-height:.86;padding:4px 10px 0 0;color:var(--maroon)}
.prose em{font-style:normal;font-weight:700}
a.autolink{text-decoration:none;color:var(--green);background:linear-gradient(transparent 66%,#ffd98a 66%,#ffd98a 92%,transparent 92%)}
a.autolink::after{content:"\00a0\00a0\2197";font-family:var(--display);font-size:12px;color:var(--maroon)}
.pill{font-family:var(--display);font-size:11.5px;background:var(--score-col);color:var(--on-band);border:1px solid var(--ink);border-radius:999px;padding:1px 7px;white-space:nowrap}
/* each mark carries the band of the school it belongs to, not of the page; the four
   thresholds and the four band words are settings, not values written into code */
.band-hi{--score-col:var(--green);--on-band:#fffaf1}
.band-mid{--score-col:var(--warn);--on-band:var(--ink)}
.band-low{--score-col:var(--accent);--on-band:var(--ink)}
.band-bad{--score-col:var(--bad);--on-band:#fffaf1}
.note{font-family:var(--hand);font-size:21px;color:var(--green);line-height:1.25;margin:0 0 18px}
.ba{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin:0 0 20px}
.ba div{border:2px solid var(--ink);border-radius:14px;padding:13px 14px}
.ba .before{background:#fff}
.ba .after{background:var(--paper-2);box-shadow:5px 6px 0 var(--brand)}
.ba h4{font-size:15px;font-family:var(--display);margin-bottom:6px}
.ba p{margin:0;font-size:15.5px}
ul.check{list-style:none;padding:0;margin:0 0 20px;display:grid;gap:9px}
ul.check li{border-left:4px solid var(--brand);background:#fff;border-radius:0 12px 12px 0;padding:10px 13px;font-size:16px}

aside.schoolcard{background:#fff;border:2px solid var(--ink);border-radius:18px;padding:15px 16px 16px;box-shadow:6px 7px 0 var(--brand);margin:0 0 22px}
.tagfrom{display:inline-block;font-family:var(--hand);font-size:18px;color:var(--green);margin-bottom:8px}
aside.schoolcard .top{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.stamp{width:64px;height:64px;border-radius:52% 46% 48% 52%/46% 54% 44% 56%;background:var(--score-col);color:var(--on-band);border:2px solid var(--ink);display:grid;place-items:center;position:relative;transform:rotate(-5deg);flex:none}
.stamp::after{content:"";position:absolute;inset:5px;border:2px dashed var(--ink);border-radius:52% 46% 48% 52%/46% 54% 44% 56%;opacity:.5}
.stamp b{font-family:var(--display);font-size:22px;line-height:1}
.stamp i{font-family:var(--hand);font-style:normal;font-size:12px;display:block;text-align:center;color:var(--on-band);opacity:.82}
aside.schoolcard h3{font-size:22px}
aside.schoolcard h3 a{text-decoration:none;color:var(--ink);border-bottom:3px solid var(--brand)}
aside.schoolcard .kv{font-size:14px;color:var(--ink-2);margin:6px 0 0}
.meters{margin:12px 0 0;display:grid;gap:7px}
.mt{display:grid;grid-template-columns:88px 1fr 34px;gap:9px;align-items:center;font-size:13px;color:var(--ink-2)}
.meter{height:11px;border:2px solid var(--ink);border-radius:999px;background:var(--paper-2);overflow:hidden}
.meter span{display:block;height:100%;background:var(--green)}
.mv{font-family:var(--display);font-size:13px;color:var(--ink);text-align:right}
.cardfoot{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:14px;border-top:1px dashed var(--line);padding-top:12px}
.cardfoot .go{margin:0;min-width:200px}

.side{position:sticky;top:16px;display:grid;gap:16px}
.scard{background:#fff;border:2px solid var(--ink);border-radius:16px;padding:14px 15px 15px}
.scard.greencard{background:var(--green-2);color:#f2ece2;border-color:var(--ink)}
.scard.greencard h4{color:#fff}
.scard h4{font-size:18px;margin-bottom:8px}
.scard p{margin:0 0 10px;font-size:15px;color:var(--ink-2)}
.scard.greencard p{color:#d8cec1}
.scard a.go{display:block;text-align:center;font-family:var(--display);font-size:15px;text-decoration:none;border:2px solid var(--ink);border-radius:12px;padding:10px 12px}
.scard a.go.aff{background:var(--accent);color:#fff;box-shadow:3px 4px 0 #fff}
.statgrid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:0 0 12px}
.statgrid div{border:2px solid var(--line);border-radius:11px;padding:9px 10px;background:var(--paper-2)}
.statgrid b{display:block;font-family:var(--display);font-size:19px;line-height:1.1}
.statgrid small{font-size:12px;color:var(--ink-2)}
.pbarwrap{margin:6px 0 2px}
.pbar{position:relative;height:16px;border:2px solid var(--ink);border-radius:999px;background:linear-gradient(90deg,var(--sun),var(--brand) 58%,var(--maroon))}
.pbar i{position:absolute;top:-3px;bottom:-3px;left:14%;width:4px;background:var(--ink);border-radius:2px}
.ends{display:flex;justify-content:space-between;font-size:12px;color:var(--ink-2);margin-top:8px;gap:6px}
.critlist{list-style:none;padding:0;margin:0;display:grid;gap:6px;font-size:14.5px;color:var(--ink-2)}
.critlist li{display:flex;justify-content:space-between;gap:10px;border-bottom:1px dotted var(--line);padding-bottom:5px}

.keepreading{margin:40px 0 0}
.keepreading h2{font-size:clamp(1.5rem,2.8vw,2.1rem);margin-bottom:14px}
.keepreading h2 span{background:var(--sun);padding:0 6px;border-radius:5px}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}
.pcard{background:#fff;border:2px solid var(--ink);border-radius:14px;overflow:hidden;box-shadow:5px 6px 0 var(--paper-3)}
.pcard:nth-child(odd){box-shadow:5px 6px 0 #ded7f5}
.pcard .frame{position:relative;padding:9px 9px 0;background:var(--paper-3)}
.pcard .shot{box-shadow:none;margin:0}
.pcard .body{padding:12px 13px 14px}
.pcard h3{font-size:18.5px;line-height:1.2;margin:0 0 6px}
.pcard h3 a{text-decoration:none;color:var(--ink)}
.pcard p{margin:0;font-size:14px;color:var(--ink-2)}
.pcard .kick{font-family:var(--display);font-size:11.5px;color:var(--maroon);margin:0 0 4px;text-transform:uppercase;letter-spacing:.04em}

.closing{background:var(--paper-3);border:2px dashed var(--ink);border-radius:20px;padding:20px 20px 22px;margin:34px 0 0}
.closing h2{font-size:clamp(1.4rem,2.6vw,2rem);margin-bottom:8px}
.closing p{margin:0 0 12px;max-width:72ch;color:var(--ink-2)}
.closing .btns{display:flex;gap:10px;flex-wrap:wrap}
.closing a{font-family:var(--display);font-size:16px;text-decoration:none;border:2px solid var(--ink);border-radius:12px;padding:11px 15px;background:var(--accent);color:#fff;box-shadow:4px 4px 0 var(--green)}
.closing a.alt{background:#fff;color:var(--ink);box-shadow:4px 4px 0 var(--grape-2)}

footer{background:var(--green-2);color:#f2ece2;margin:56px 0 0;padding:28px 0 34px}
footer .wrap{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:24px}
footer h4{color:#fff;font-size:20px;margin-bottom:8px}
footer p{margin:0 0 10px;font-size:15px;color:#d8cec1}
footer a{color:var(--sun)}
footer ul{list-style:none;padding:0;margin:0;display:grid;gap:6px}

body.calm *,body.calm *::before,body.calm *::after{transform:none!important;animation:none!important;transition:none!important;box-shadow:none!important}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
@media (max-width:980px){
  .posthead,.postgrid,.ba,.closing .wrap,footer .wrap{grid-template-columns:minmax(0,1fr)}
  aside.side{position:static}
  .deck{max-width:none}
}
@media (max-width:640px){
  .band .bhead{flex-direction:column;gap:4px}
  .mt{grid-template-columns:78px 1fr 30px}
  .cardfoot .go{min-width:100%}
  .statgrid{grid-template-columns:1fr 1fr}
}
@media (max-width:430px){
  .posthead{padding-top:22px}
  .deck{font-size:18px}
  .shot{box-shadow:5px 6px 0 var(--paper-3)}
  aside.schoolcard{padding:13px 13px 14px}
  aside.schoolcard h3{font-size:19px}
  .stamp{width:56px;height:56px}
  .stamp b{font-size:19px}
  .mt{grid-template-columns:62px 1fr 26px;font-size:12.5px;gap:7px}
  .statgrid b{font-size:17px}
  .statgrid small{font-size:11.5px}
  .critlist li{font-size:14px}
  ul.check li{font-size:15.5px}
  .ends{flex-wrap:wrap;align-items:center;font-size:11.5px}
  .cardfoot{gap:9px}
  .tools{right:10px;bottom:10px}
  .drawer{bottom:56px}
}


/* =====================================================================
   One line this file adds

   Everything above is the blog-post mockup's own <style> block, unchanged.

   The mockup writes its drop cap as markup — the first paragraph of its article
   begins <span class="dropcap">A</span>. A theme cannot rewrite the first letter of
   an author's paragraph, so the same three values from the mockup's own .dropcap rule
   are applied to the first letter of the first paragraph of the article instead.
   Nothing here is a new value; it is the mockup's rule moved onto a selector the
   theme can actually reach.

   It does nothing when the first paragraph begins with an image, which is how
   WordPress writes a content image: a ::first-letter rule is not applied to a line
   that starts with an inline element.

   The rules style.css needs to be beaten on are named at the end of this file.
   ===================================================================== */
.prose > p:first-of-type::first-letter{float:left;font-family:var(--display);font-size:54px;color:var(--maroon)}

/* =====================================================================
   Rules this page has to win back from style.css.

   style.css is the home page's mockup copied in full, and it is loaded before
   this file. Several of its rules reach this page's markup through selectors
   that are longer than this page's own, or through selectors this page's sheet
   never writes at all. In the cascade the longer selector wins regardless of
   order, so on a real post page the home value would be painted even though
   this sheet says otherwise.

   Each line below restates this page's own value: either the value written in
   the mockup sheet above, or, where the mockup's sheet writes nothing, what
   the mockup actually computes. No new value is introduced. style.css rules
   are named by line number so each one can be checked against the file.

   One leak is left in place: style.css:113 sets position:relative on
   .pbarwrap. Nothing on this page positions itself against that wrapper — the
   bar inside it is position:relative itself — so it changes nothing drawn.
   ===================================================================== */

/* 1. style.css:35-37 paints two large blurred blobs behind the whole page.
      The blog-post mockup draws nothing behind the page. */
body.ctc-page-post::before,body.ctc-page-post::after{display:none}

/* 2. style.css:119 turns the two labels under a price bar into pills.
      The blog-post sheet styles .ends and gives the text inside it nothing. */
.side .pbarwrap .ends span{font:inherit;color:inherit;background:none;border:0;border-radius:0;padding:0}

/* 3. style.css:121 puts 30px of space above a pick grid; this sheet's
      .pickgrid asks for none. */
.band .pickgrid{margin-top:0}

/* 4. style.css:122-124 puts a hard coloured shadow on every pick, a different
      colour for each position. This sheet's .pick has no shadow. */
.band .pick,.band .pick:nth-child(2),.band .pick:nth-child(3){box-shadow:none}

/* 5. style.css:140 sets the commission note 8px under a button; this sheet's
      .disc sets 6px. */
.band .pick .disc{margin-top:6px}

/* 6. style.css:164-167 tilts the first three cards and straightens them on
      hover. This page's cards are straight: its sheet has no tilt rule. */
.cards .pcard:nth-child(1),.cards .pcard:nth-child(2),.cards .pcard:nth-child(3),.cards .pcard:hover{transform:none}

/* 7. style.css:169 rounds the image frame inside a card at 8px; this sheet
      rounds every .shot at 10px. */
.pcard .frame .shot{border-radius:10px}

/* 8. style.css:170 tints a card image at contrast 1.04; this sheet's .shot img
      uses contrast 1.05. */
.pcard .frame .shot img{filter:saturate(.9) contrast(1.05) sepia(.07)}

/* 9. style.css:171 lays a coloured film over the whole frame. This sheet lays
      its film inside .shot .inner, so that outer film would be painted twice. */
.pcard .frame .shot::after{content:none}
