/* Calm editorial layouts for the free resource library. */
.resource-hub, .resource-article { min-width: 0; }
.resource-hub > * + *, .resource-article > * + * { margin-top: 1.5rem; }
.resource-byline { font-size: .83rem; color: var(--muted); padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.resource-intro { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.5; }
.resource-download { border: 1px solid #d9cadc; border-radius: .55rem; padding: 1.25rem 1.5rem; background: #f2ebf3; }
.resource-download p { font-size: .94rem; }
.resource-download .actions { margin-top: .8rem; }
.resource-download button { border: 0; background: transparent; padding: .55rem 0; cursor: pointer; }
.resource-exercise h2 { margin: 0 0 .85rem; font-size: clamp(1.8rem, 3.5vw, 2.45rem); line-height: 1.14; }
.resource-exercise ol { margin: 0; padding-left: 1.35rem; }
.resource-exercise li + li { margin-top: .55rem; }
.resource-exercise-example { margin-top: 1rem; padding-top: .8rem; border-top: 1px solid #d9cadc; }
.resource-exercise-example strong { display: block; margin-bottom: .25rem; }
.resource-exercise + .resource-support-link span { display: inline-block; margin-inline-start: .4rem; }
.resource-contents { padding: 1.3rem 1.5rem; border-left: 2px solid #b69fc0; }
.resource-contents .eyebrow { margin: 0 0 .5rem; }
.resource-contents ol { padding-left: 1.25rem; margin: 0; font-size: .93rem; }
.resource-contents a { text-underline-offset: .2em; }
.resource-section { padding-top: .7rem; scroll-margin-top: 1.5rem; }
.resource-section h2 { font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.12; margin: 1.4rem 0 1.1rem; }
.resource-section > p + p, .resource-section > ul + p, .resource-section > p + ul { margin-top: 1rem; }
.resource-section ul { padding-left: 1.25rem; }
.resource-example { padding: 1.3rem 1.5rem; margin-block: 1.4rem; background: #f2ebf3; border-left: 3px solid #a98fb4; border-radius: 0 .45rem .45rem 0; }
.resource-example .eyebrow { font-size: .71rem; margin: 0 0 .65rem; }
.resource-example > p:last-child { font-size: 1.03rem; color: var(--ink); }
.resource-takeaway { border-block: 1px solid var(--line); padding: 1.5rem 0; margin-top: 2.3rem; }
.resource-takeaway .eyebrow { margin-bottom: .7rem; }
.resource-takeaway > p:last-child { font: 400 clamp(1.6rem, 3vw, 2rem)/1.3 var(--serif); color: var(--ink); }
.resource-invitation { padding: clamp(1.35rem, 3vw, 2.1rem); background: #eee5f0; border: 1px solid #d5c2db; border-radius: .6rem; margin-top: 2.5rem; }
.resource-invitation .eyebrow { margin-bottom: .65rem; }
.resource-invitation h2 { margin: 0 0 1rem; font-size: clamp(2rem, 4vw, 2.8rem); }
.resource-invitation .actions { gap: .9rem 1.2rem; }
.resource-related { padding-top: 1rem; }
.resource-related h2 { margin: 0 0 1rem; font-size: clamp(1.9rem, 3vw, 2.4rem); }
.resource-related ul { list-style: none; padding: 0; }
.resource-related li { padding: .8rem 0; border-bottom: 1px solid var(--line); }
.resource-editorial { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .8rem; line-height: 1.65; }
.resource-table-wrap { max-width: 100%; overflow-x: auto; margin-block: 1.5rem; }
.resource-table { width: 100%; border-collapse: collapse; font-size: .88rem; text-align: left; }
.resource-table th, .resource-table td { padding: .95rem; border: 1px solid #d9cddd; vertical-align: top; min-width: 10rem; }
.resource-table thead { background: #eee5f0; }
.resource-table tbody th { background: #f7f1f7; width: 23%; font-weight: 700; }
.resource-hub-note { display: inline-block; font-size: .84rem; color: var(--accent); padding: .4rem .7rem; border-radius: .3rem; background: #eee5f0; }
.resource-start-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding-block: .5rem; }
.resource-start-card { display: flex; flex-direction: column; align-items: start; gap: .8rem; padding: 1.5rem; border: 1px solid #d4bed9; background: #eee5f0; border-radius: .5rem; text-decoration: none; }
.resource-start-card:nth-child(2) { background: #f5edf1; }
.resource-start-card:hover { border-color: #9b7da6; }
.resource-start-card .eyebrow { margin: 0; font-size: .7rem; }
.resource-start-card h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.25rem); }
.resource-start-card p { font-size: .92rem; }
.resource-start-card .text-link { margin-top: auto; padding-top: .45rem; font-size: .85rem; }
.resource-topics { display: flex; flex-wrap: wrap; gap: .6rem; padding-block: .6rem; }
.resource-topics a { border: 1px solid var(--line); padding: .5rem .8rem; border-radius: 2rem; font-size: .82rem; background: #fffafc; text-decoration: none; }
.resource-topics a:hover { background: #eee5f0; }
.resource-hub-section { padding-top: 1.4rem; }
.resource-section-heading { margin-bottom: 1.2rem; }
.resource-section-heading h2 { margin: .6rem 0 0; font-size: clamp(2.05rem, 3.7vw, 2.8rem); }
.resource-library-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.resource-library-card { display: flex; flex-direction: column; align-items: start; gap: .8rem; border: 1px solid var(--line); border-radius: .5rem; background: #fffafc; padding: 1.5rem; }
.resource-library-card .eyebrow { font-size: .65rem; margin: 0; }
.resource-library-card h3 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.05rem); line-height: 1.15; }
.resource-library-card h3 a { text-decoration: none !important; }
.resource-library-card h3 a:hover { text-decoration: underline !important; }
.resource-library-card p { font-size: .9rem; }
.resource-library-card .text-link { margin-top: auto; padding-top: .4rem; font-size: .83rem; }
@media (max-width: 620px) {
  .resource-start-grid, .resource-library-grid { grid-template-columns: minmax(0, 1fr); }
  .resource-download, .resource-contents, .resource-example { padding: 1.1rem; }
  .resource-table th, .resource-table td { padding: .7rem; min-width: 8rem; }
  .resource-table { font-size: .82rem; }
}
@media print {
  .resource-contents, .resource-download:not(.resource-exercise), .resource-exercise .actions, .resource-exercise + .resource-support-link, .resource-related, .resource-topics, .resource-invitation { display: none !important; }
  .resource-exercise { background: #fff; }
  .resource-table-wrap { overflow: visible; }
  .resource-table th, .resource-table td { min-width: 0; background: #fff; }
  .resource-section { padding: 0; }
  .resource-example, .resource-takeaway { break-inside: avoid; background: #fff; }
}
.resource-support-link { padding: .85rem 1rem; border-left: 2px solid #b99fc2; background: #f3edf4; font-size: .9rem; }
