/* DIS–MIS–MAL article-level system: one interactive CER treatment and one PDF icon affordance.
   This does not affect the original, locked homepage #method component. */
#article-text > .article-cer{
 position:relative;left:50%;transform:translateX(-50%);
 box-sizing:border-box;width:min(1120px,calc(100vw - 64px));max-width:none;
 margin:8px 0 clamp(44px,6vw,78px)!important;padding:9px 0 0!important;
 color:#17150f;background:transparent!important;border:0!important;
}
.article-cer .article-cer-heading{
 display:block;font:700 clamp(35px,4.6vw,62px)/1.08 Newsreader,Georgia,serif!important;
 letter-spacing:-.035em!important;text-wrap:balance;color:#211d14!important;
 margin:0 0 24px!important;padding:0 0 21px!important;
 border-bottom:1px solid #d5c49f;
}
.article-cer .article-cer-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 18px}
.article-cer .article-cer-tab{
 min-height:47px;border:1.5px solid #17150f;border-radius:999px;
 padding:11px 21px;background:transparent;color:#17150f;
 font:700 15px/1.25 Archivo,Arial,sans-serif;cursor:pointer;
 transition:background-color .2s,color .2s,transform .2s;
}
.article-cer .article-cer-tab[aria-selected="true"]{background:#17150f;color:#f4ecd4}
.article-cer .article-cer-tab:hover:not([aria-selected="true"]){background:#e7dbc0;transform:translateY(-1px)}
.article-cer .article-cer-tab:focus-visible{outline:3px solid #a8841c;outline-offset:3px}
.article-cer .article-cer-stage{
 display:grid;grid-template-columns:minmax(90px,auto) minmax(0,1fr) 118px;
 gap:clamp(18px,2.5vw,31px);align-items:start;
 background:#111009;color:#f5edd6;border-radius:18px;
 padding:clamp(26px,3.8vw,44px)!important;
 box-shadow:0 14px 35px rgba(26,23,14,.07);box-sizing:border-box;
}
.article-cer .article-cer-letter{
 font:800 clamp(75px,10vw,120px)/.83 Newsreader,Georgia,serif;
 color:#c9a227;min-width:0;
}
.article-cer .article-cer-panel{display:block;min-width:0;max-width:none;margin:0;padding:0;border:0;background:transparent}
.article-cer .article-cer-panel[hidden]{display:none!important}
.article-cer .article-cer-panel h3{
 font:600 clamp(29px,3.1vw,39px)/1.14 Newsreader,Georgia,serif!important;
 margin:2px 0 18px!important;color:#fff5e2!important;
 letter-spacing:-.025em;text-transform:none;
}
.article-cer .article-cer-panel p{
 font:400 clamp(19px,1.95vw,24px)/1.55 Newsreader,Georgia,serif!important;
 color:#d8cda9!important;margin:0!important;max-width:64ch;
}
.article-cer .article-cer-badge{width:118px;height:118px;object-fit:contain;display:block}
@media(max-width:820px){
 #article-text > .article-cer{width:calc(100vw - 48px)}
 .article-cer .article-cer-stage{grid-template-columns:78px minmax(0,1fr);gap:19px}
 .article-cer .article-cer-badge{grid-column:2;justify-self:end;width:86px;height:86px}
}
@media(max-width:600px){
 #article-text > .article-cer{width:calc(100vw - 38px);margin:2px 0 45px!important}
 .article-cer .article-cer-heading{font-size:clamp(32px,7.5vw,43px)!important}
 .article-cer .article-cer-tab{font-size:13px;padding:10px 14px;min-height:45px}
 .article-cer .article-cer-stage{grid-template-columns:1fr;padding:24px 22px!important;gap:16px}
 .article-cer .article-cer-letter{font-size:82px}
 .article-cer .article-cer-panel p{font-size:clamp(18px,4.9vw,23px)!important}
 .article-cer .article-cer-badge{grid-column:1;justify-self:end;width:89px;height:89px}
}
/* Recognizable red PDF-file pictogram in every active article/listing action. */
.article-export-tools .article-print-pdf{
 display:inline-flex!important;justify-content:center!important;align-items:center!important;
 width:58px!important;height:58px!important;min-width:58px!important;min-height:58px!important;
 padding:7px!important;border:1px solid #927b56!important;border-radius:4px!important;
 background:transparent!important;cursor:pointer;
 transition:background-color .2s,transform .2s,border-color .2s!important;
}
.article-export-tools .article-print-pdf:hover{background:#ede4d5!important;border-color:#be3b35!important;transform:translateY(-2px)}
.article-export-tools .article-print-pdf:focus-visible,.journal-pdf:focus-visible{outline:3px solid #a8841c!important;outline-offset:3px}
.journal-pdf{display:inline-flex!important;align-items:center!important;justify-content:center!important;
 min-width:36px;min-height:42px;padding:2px 5px!important;cursor:pointer}
.pdf-file-icon{display:block!important;width:31px!important;height:36px!important;flex:none!important}
.article-print-pdf .pdf-file-icon{width:35px!important;height:41px!important}
@media print{
 #article-text > .article-cer{position:static!important;left:auto!important;transform:none!important;
  width:100%!important;break-inside:auto}
 .article-cer .article-cer-tabs,.article-cer .article-cer-letter{display:none!important}
 .article-cer .article-cer-stage{display:block!important;background:#fff!important;
  border:2px solid #ab893c!important;box-shadow:none!important;color:#17150f!important}
 .article-cer .article-cer-panel[hidden]{display:block!important;margin:14px 0!important}
 .article-cer .article-cer-panel h3,.article-cer .article-cer-panel p{color:#17150f!important}
 .article-cer .article-cer-badge{display:none!important}
 .article-export-tools{display:none!important}
}
@media(prefers-reduced-motion:reduce){.article-cer .article-cer-tab,.article-print-pdf{transition:none!important}}


/* The exact author's yellow highlighter placement: directly after the
   R—Reasoning pill, NOT floated to the right edge of the CER module.
   Distinctive hand-highlighted editorial annotation with live HTML text. */
.article-cer .article-cer-controls{
 display:flex!important;
 align-items:center!important;
 justify-content:flex-start!important;
 flex-wrap:wrap!important;
 column-gap:clamp(24px,2.9vw,42px)!important;
 row-gap:12px!important;
 margin:0 0 19px!important;
}
.article-cer .article-cer-controls .article-cer-tabs{
 display:flex!important;
 align-items:center!important;
 flex-wrap:wrap!important;
 flex:0 0 auto!important;
 gap:14px!important;
 margin:0!important;
}
.article-cer .article-cer-hint{
 display:inline-flex!important;
 position:relative!important;
 isolation:isolate!important;
 align-items:center!important;
 flex:0 1 445px!important;
 max-width:445px!important;
 min-width:270px!important;
 min-height:72px!important;
 gap:13px!important;
 box-sizing:border-box!important;
 margin:0!important;
 padding:12px 18px 12px 13px!important;
 border:0!important;
 border-radius:0!important;
 background:transparent!important;
 box-shadow:none!important;
 color:#17150f!important;
 text-align:left!important;
 font-family:Archivo,Arial,sans-serif!important;
}
.article-cer .article-cer-hint::before{
 content:"";
 position:absolute;
 z-index:-1;
 inset:1px 1px 0 0;
 pointer-events:none;
 background:linear-gradient(105deg,#fff000 0%,#ffeb00 50%,#ffe600 80%,#fadc00 100%);
 clip-path:polygon(1% 9%,8% 0%,26% 5%,44% 0%,61% 7%,77% 1%,90% 8%,99% 0%,98% 87%,90% 96%,72% 90%,57% 99%,39% 91%,22% 98%,9% 91%,0% 98%);
 transform:rotate(-.35deg);
}
.article-cer .article-cer-hint-symbol{
 display:inline-flex!important;
 align-items:center!important;
 justify-content:center!important;
 flex:none!important;
 width:34px!important;
 height:34px!important;
 border-radius:50%!important;
 font:700 22px/1 Archivo,Arial,sans-serif!important;
 background:#18160e!important;
 color:#fff000!important;
 box-shadow:inset 0 0 0 1px rgba(255,255,255,.25)!important;
}
.article-cer .article-cer-hint-text{
 display:flex!important;
 flex-direction:column!important;
 gap:2px!important;
 min-width:0!important;
 max-width:100%!important;
}
.article-cer .article-cer-hint-text strong{
 display:block!important;
 letter-spacing:.17em!important;
 font:800 10px/1.3 Archivo,Arial,sans-serif!important;
 color:#6f4a0c!important;
}
.article-cer .article-cer-hint-headline{
 display:block!important;
 font:600 clamp(18px,1.65vw,22px)/1.12 Newsreader,Georgia,serif!important;
 letter-spacing:-.025em!important;
 color:#211808!important;
}
.article-cer .article-cer-hint-detail{
 display:block!important;
 font:600 12px/1.36 Archivo,Arial,sans-serif!important;
 letter-spacing:0!important;
 color:#28200f!important;
}
@media(max-width:750px){
 .article-cer .article-cer-controls{align-items:stretch!important;row-gap:12px!important}
 .article-cer .article-cer-controls .article-cer-tabs{
  flex-wrap:wrap!important;
  gap:10px!important;
 }
 .article-cer .article-cer-controls .article-cer-tab{
  font-size:12px!important;
  padding:10px 12px!important;
  min-height:44px!important;
 }
 .article-cer .article-cer-hint{
  flex:1 1 100%!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  min-height:70px!important;
  padding:12px 14px!important;
 }
 .article-cer .article-cer-hint-symbol{width:32px!important;height:32px!important}
 .article-cer .article-cer-hint-headline{font-size:19px!important}
 .article-cer .article-cer-hint-detail{font-size:12px!important}
}
@media print{
 .article-cer .article-cer-hint{display:none!important}
}

/* Shown, Not Said: preserve ALL six original numbered outline statements,
   but package the final black/gold "How the full essay is built" card
   in a compact scan-friendly format. The DOM and text stay unchanged. */
#shown-essay-structure.rollout-legacy-outline{
 width:min(1000px,calc(100vw - 72px))!important;
 padding:clamp(22px,2.5vw,32px) clamp(21px,3vw,40px) 23px!important;
 margin:clamp(32px,4vw,55px) 0 43px!important;
 border-radius:13px!important;
}
#shown-essay-structure .outline h4{
 font:700 clamp(31px,3.2vw,40px)/1.1 Newsreader,Georgia,serif!important;
 padding:0 0 13px!important;margin:0 0 9px!important;
}
#shown-essay-structure .outline ol{
 display:grid!important;
 grid-template-columns:repeat(2,minmax(0,1fr));
 column-gap:clamp(24px,3vw,42px);row-gap:0;
 padding:0 0 0 24px!important;margin:0!important;
}
#shown-essay-structure .outline li{
 font:400 clamp(16px,1.3vw,18px)/1.36 Newsreader,Georgia,serif!important;
 padding:10px 3px 10px 5px!important;
 margin:0!important;break-inside:avoid;
 border-bottom:1px solid #3a3222!important;
}
#shown-essay-structure .outline li:last-child,
#shown-essay-structure .outline li:nth-last-child(2){border-bottom:0!important}
#shown-essay-structure .colophon{
 flex-direction:row!important;justify-content:flex-start!important;
 flex-wrap:wrap!important;gap:12px!important;
 padding:12px 0 0!important;margin:12px 0 0!important;
 text-align:left!important;
}
#shown-essay-structure .colophon img{
 width:64px!important;height:64px!important;
 max-width:64px!important;max-height:64px!important;
 flex:0 0 64px!important;margin:0!important;
}
#shown-essay-structure .colophon p{
 font:italic 400 15px/1.35 Newsreader,Georgia,serif!important;
 max-width:430px!important;margin:0!important;text-align:left!important;
}
@media(max-width:700px){
 #shown-essay-structure.rollout-legacy-outline{
  left:auto!important;transform:none!important;
  width:100%!important;
  padding:22px 22px 18px!important;margin:32px 0 35px!important;
 }
 #shown-essay-structure .outline h4{
  font-size:clamp(29px,7.4vw,37px)!important;
  padding-bottom:12px!important;
 }
 #shown-essay-structure .outline ol{
  grid-template-columns:1fr!important;row-gap:0!important;
  padding-left:23px!important;
 }
 #shown-essay-structure .outline li{
  font-size:clamp(16px,4.25vw,19px)!important;
  padding:9px 0 9px 4px!important;line-height:1.38!important;
 }
 #shown-essay-structure .outline li:nth-last-child(2){
  border-bottom:1px solid #3a3222!important;
 }
 #shown-essay-structure .colophon{
  flex-direction:row!important;justify-content:flex-start!important;
  align-items:center!important;gap:12px!important;
 }
 #shown-essay-structure .colophon img{
  width:62px!important;height:62px!important;max-width:62px!important;
  max-height:62px!important;
 }
 #shown-essay-structure .colophon p{
  flex:1 1 135px;text-align:left!important;font-size:14px!important;
 }
}
@media print{
 #shown-essay-structure .outline ol{display:block!important}
 #shown-essay-structure .outline li{break-inside:avoid}
}

/* PDF placement and size, editorial specification.
   Icon artwork unchanged: 75% of the original 35 x 41px glyph.
   PDF action appears only within the opened article, not on story cards. */
.journal-card .journal-pdf,
.journal-grid .journal-pdf,
.preview-card .preview-pdf,
.preview-card .journal-pdf{
  display:none!important;
}
.article-export-tools .article-print-pdf{
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  min-height:46px!important;
  padding:5px!important;
  border:1px solid #927b56!important;
  border-radius:4px!important;
  background:transparent!important;
  color:#2d2822!important;
  font-size:0!important;
  line-height:0!important;
  transition:background-color .2s,transform .2s,border-color .2s!important;
}
.article-export-tools .article-print-pdf .pdf-file-icon,
.article-print-pdf .pdf-file-icon{
  display:block!important;
  width:26.25px!important;
  height:30.75px!important;
  max-width:26.25px!important;
  max-height:30.75px!important;
  flex:none!important;
}
.article-export-tools .article-print-pdf:hover{
  background:#ede4d5!important;
  border-color:#be3b35!important;
  transform:translateY(-1px)!important;
}
@media print{
  .journal-pdf,.preview-pdf,.article-export-tools .article-print-pdf{
    display:none!important;
  }
}

/* Mobile portrait: the C/E/R tabs wrap ABOVE the instructional strip.
   Rotate the existing left-pointing arrow toward those tabs (up), retaining
   the author's approved yellow highlighter, all copy and tab functionality. */
@media screen and (max-width:700px) and (orientation:portrait){
  .article-cer .article-cer-hint-symbol{
    transform:rotate(90deg)!important;
    transform-origin:center!important;
  }
}
