/* Shared reading and writing guides: clear long-form reading and purposeful practice. */
.resource-article-layout{grid-template-columns:230px minmax(0,1fr)}
.resource-article{min-width:0;overflow-wrap:anywhere}
.resource-page .resource-article h2{color:#b81149}
.resource-page .resource-article h3{line-height:1.35}
.resource-article section+section{margin-top:40px}
.resource-article .resource-table-wrap{border:1px solid #dce3eb;border-radius:12px;overflow:auto}
.resource-article table{width:100%;min-width:580px;border-collapse:collapse;font-size:16px;line-height:1.6;margin:0}
.resource-article caption{padding:16px 18px;text-align:left;font-weight:750;background:#f2f5f9;color:#202b43;caption-side:top}
.resource-article th,.resource-article td{vertical-align:top;padding:14px 16px;border-bottom:1px solid #dce3eb}
.resource-article thead th{background:#202b43;color:#fff;text-align:left}
.resource-article tbody th{min-width:130px;max-width:200px;text-align:left;color:#202b43;background:#fafbfd}
.resource-article tbody tr:last-child>*{border-bottom:0}
.resource-article tbody tr:hover>*{background:#fff2f6}
.resource-article details{border:1px solid #dce3eb;border-radius:12px;margin:14px 0;padding:17px 20px;background:#fff}
.resource-article summary{cursor:pointer;font-weight:750;color:#202b43;line-height:1.55}
.resource-article summary:focus-visible{outline:3px solid #d91457;outline-offset:5px}
.resource-article details:is(:hover,:focus-within){background:#fff2f6}
.resource-article details>p:last-child{margin-bottom:0}
.reading-passage{padding:25px 28px;border:1px solid color-mix(in srgb,#d91457 45%,#fff);border-radius:14px;background:#f5f7fa;margin:24px 0}
.reading-passage .passage-label{font-size:11px;letter-spacing:.14em;font-weight:800;color:#b81149;margin-top:0}
.resource-page .reading-passage h3{margin-top:10px}
.reading-passage p:last-child{margin-bottom:0}
.reading-poem{white-space:normal;line-height:1.9}
.reading-question{border-top:1px solid #dce3eb;padding-top:16px;margin-top:26px}
.resource-page .reading-question h4{font-size:18px;color:#b81149;margin:0 0 12px}
.reading-question ol{padding-left:26px}
.reading-question li{padding:6px 10px;border-radius:7px}
.reading-question li:hover{background:#fff2f6}
.year-readiness{padding:18px 20px;border-radius:12px;background:#fff2f6}
.practice-year-card{padding:22px 24px;border:1px solid #dce3eb;border-radius:14px;margin:18px 0;scroll-margin-top:25px;transition:background-color 160ms ease}
.practice-year-card:is(:hover,:focus-within){background:#fff2f6}
.resource-page .practice-year-card h3{margin-top:0}
.resource-page .resource-article-cta .btn{background:#d91457;color:white;border-color:#d91457}
.resource-page .resource-article-cta .btn:is(:hover,:focus-visible){background:#d91457;color:#202b43}
.resource-page .resource-hero .resource-feature{box-sizing:border-box;border:1px solid #fff}
.resource-page .resource-feature-cover{height:215px;color:#fff;font-size:13px;padding:28px;box-sizing:border-box;border-radius:0;background:#202b43}
.resource-page .resource-feature-cover strong{font-size:36px;line-height:1.08;color:#fff;letter-spacing:-.025em}
.resource-feature-cover .cover-arrow{color:#fff}
.resource-page .resource-feature:has(a:hover){box-shadow:0 18px 45px #07112426}
.resource-page .resource-feature:has(a:hover)>div{background:#fff2f6}
.resource-page .resource-photo-cover{padding:0;display:block;overflow:hidden}
.resource-photo-cover img{display:block;width:100%;height:100%;object-fit:cover;border-radius:0}
.resource-cover strong{font-size:clamp(24px,2.6vw,36px);overflow-wrap:normal}
/* Keep the desktop feature within the introduction's top and bottom edges. */
@media(min-width:901px){
  .resource-hero-grid{align-items:stretch}
  .resource-hero-grid>div{display:flex;flex-direction:column;min-width:0}
  .resource-hero-grid .resource-gold-btn{align-self:flex-start}
  .resource-hero-grid .resource-hero-notes{margin-top:auto;padding-top:25px}
  .resource-page .resource-hero .resource-feature{display:flex;flex-direction:column;min-width:0}
  .resource-page .resource-feature-cover{height:auto;min-height:140px;flex:1 0 auto;padding:16px 28px}
  .resource-hero .resource-feature>div{flex:0 0 auto;padding:16px 28px 14px}
  .resource-hero .resource-feature p{line-height:1.5;margin-bottom:12px}
}
@media(max-width:900px){.resource-article-layout{grid-template-columns:minmax(0,1fr)}.resource-toc{max-height:none;position:static}.resource-toc a{font-size:13px}}
@media(max-width:650px){.resource-article .resource-table-wrap{margin-inline:0}.reading-passage{padding:20px}.resource-page .resource-feature-cover{height:190px}.resource-article table{font-size:15px}.practice-year-card{padding:18px}.resource-article section+section{margin-top:32px}}
@media(prefers-reduced-motion:reduce){.practice-year-card{transition:none}}
@media print{.resource-toc{display:none}.resource-article-layout{display:block}.resource-article table{min-width:0;font-size:10pt}.resource-article .resource-table-wrap{overflow:visible}.resource-article details{break-inside:avoid}.reading-passage{break-inside:avoid}.resource-article-hero{break-after:avoid}}

/* All three exam guide covers share AMC's headline size and three-line rhythm. */
.resource-cover.resource-exam-cover{container-type:inline-size;justify-content:flex-start;height:auto;min-height:184px}
.resource-cover.resource-exam-cover strong{font-size:clamp(18px,3vw,36px);font-size:clamp(18px,11.5cqi,36px);line-height:1.05;letter-spacing:-.02em;margin:10px 0 0;flex:none;white-space:nowrap}
@media(max-width:650px){.resource-cover.resource-exam-cover{min-height:172px}}
