.visu-editorial {
  --hub-ink: #111;
  --hub-text: #334357;
  --hub-blue: var(--ev-blue, #214bc5);
  --hub-rule: var(--ev-line, #d5dfec);
  --hub-soft: var(--ev-light, #edf4ff);
  --hub-yellow: #ffd83b;
  container: biblioteca / inline-size;
  color: var(--hub-text);
  background: #fff;
  font: 400 16px/1.6 system-ui, sans-serif;
}
.visu-editorial :is(h1,h2,h3) {
  color: var(--hub-ink);
  font-family: VisuEditorial, system-ui, sans-serif;
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.visu-editorial h1 {font-size: clamp(32px, 5.5cqi, 62px); margin: 12px 0 16px}
.visu-editorial h2 {font-size: clamp(26px, 3.8cqi, 40px)}
.visu-editorial h3 {font-size: clamp(19px, 2.3cqi, 24px)}
.visu-editorial a {color: var(--hub-blue); text-underline-offset: .17em}
.visu-editorial :is(a,button,input,summary):focus-visible {outline: 3px solid var(--hub-blue); outline-offset: 3px}

.hub-hero, .hub-article-head {
  display: grid;
  grid-template-columns: minmax(0,1.45fr) minmax(0,1fr);
  align-items: center;
  gap: clamp(16px,3cqi,42px);
  padding-block: clamp(24px,5cqi,58px);
  border-bottom: 1px solid var(--hub-rule);
}
.hub-hero-copy, .hub-article-copy {min-width: 0}
.hub-hero h1 em {font-style: normal; text-decoration: underline .085em var(--hub-yellow); text-underline-offset: .085em}
.hub-hero p, .hub-article-head p {margin: 0; max-width: 59ch; font-size: clamp(16px,1.9cqi,20px); line-height: 1.5}
.hub-hero-art {display: block; justify-self: center; width: min(100%,380px); height: auto; aspect-ratio: 3/2; object-fit: contain}
.hub-kicker {font: 750 11px/1.35 system-ui,sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--hub-blue)}
:is(.hub-hero,.hub-article-head,.hub-membership) .hub-kicker {display: inline-flex; align-items: center; gap: 8px}
:is(.hub-hero,.hub-article-head,.hub-membership) .hub-kicker::before {content: ""; flex: none; width: 24px; height: 4px; background: var(--hub-yellow)}
.hub-jumps {display: flex; gap: 8px; flex-wrap: wrap; margin-top: 21px}
.hub-jumps a {display: inline-flex; align-items: center; min-height: 38px; padding: 7px 12px; border: 1px solid var(--hub-rule); border-radius: 8px; text-decoration: none; font: 650 13px/1.3 system-ui,sans-serif}
.hub-jumps a:first-child {background: var(--hub-blue); border-color: var(--hub-blue); color: #fff}
.hub-jumps a:hover {border-color: var(--hub-blue); background: var(--hub-soft)}
.hub-jumps a:first-child:hover {background: #193b9d}
.hub-breadcrumb {display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 0; font-size: 13px}
.hub-breadcrumb + .hub-article-head {padding-top: clamp(13px,2.5cqi,30px)}

.hub-section {margin-block: clamp(38px,6cqi,68px)}
.visu-editorial :is(.hub-section,.hub-prose)[id] {scroll-margin-top: 100px}
.hub-section-head {display: grid; grid-template-columns: minmax(0,1fr) minmax(100px,165px); align-items: center; gap: clamp(12px,3cqi,35px); margin-bottom: 22px}
.hub-section-head>div {max-width: 68ch}
.hub-section-art {display: block; justify-self: end; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: contain}
.hub-section-head h2, .hub-prose h2, .hub-membership h2 {margin: 9px 0 12px}
.hub-section-head p, .hub-card-copy p {margin: 0}
.hub-grid {display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(14px,2cqi,24px)}
.hub-card {display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--hub-rule); border-radius: 14px; background: #fff}
.hub-card:is(:hover,:focus-within) {border-color: #8da8df}
.hub-card-photo {display: block; background: var(--hub-soft)}
.hub-card-photo img {display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover}
.hub-card-copy {display: flex; flex: 1; flex-direction: column; padding: clamp(16px,2cqi,23px)}
.hub-card h3 {margin: 8px 0 10px}
.hub-card h3 a {color: inherit; text-decoration: none}
.hub-card h3 a:hover {text-decoration: underline}
.hub-card p {font-size: 15px; line-height: 1.5}
.hub-arrow {display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; font-size: 14px; font-weight: 700; text-decoration: none}
.hub-arrow:hover {text-decoration: underline}

.hub-cover, .hub-pair, .hub-quiz-row {display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(16px,3cqi,32px)}
.hub-cover {align-items: center; margin: 26px 0 35px}
.visu-editorial .real-photo {margin: 0; min-width: 0}
.visu-editorial .real-photo img {object-fit: cover}
.hub-pair .real-photo img {height: auto; aspect-ratio: 4/3}
.hub-cover-note h2 {margin: 10px 0}
.hub-cover-note p {max-width: 38ch}
.hub-reading {max-width: 76ch; margin-inline: auto}
.hub-prose {margin-block: clamp(30px,4.7cqi,50px)}
.hub-prose p {line-height: 1.7}
.hub-prose li {padding-block: 4px}
.hub-toc {display: grid; gap: 9px; margin: 32px 0; padding: clamp(17px,3cqi,28px); border-left: 4px solid var(--hub-blue); background: var(--hub-soft); border-radius: 0 10px 10px 0}
.hub-toc strong {font-size: 15px; color: var(--hub-ink)}
.hub-toc a {width: fit-content; max-width: 100%; font-size: 15px}
.hub-exercise, .hub-membership {border: 1px solid var(--hub-rule); border-radius: 15px; padding: clamp(20px,3.4cqi,36px)}
.hub-exercise {border-left: 4px solid var(--hub-yellow)}
.hub-exercise summary {cursor: pointer; font-weight: 700; color: var(--hub-blue)}
.hub-table-wrap {overflow-x: auto; border: 1px solid var(--hub-rule); border-radius: 12px}
.hub-table-wrap table {width: 100%; border-collapse: collapse; font-size: 15px}
.hub-table-wrap :is(td,th) {padding: clamp(10px,2cqi,18px); text-align: left; border-bottom: 1px solid var(--hub-rule); vertical-align: top; line-height: 1.5}
.hub-table-wrap thead {background: var(--hub-soft); color: var(--hub-ink)}
.hub-next {display: grid; gap: 12px; padding-block: 26px; border-block: 1px solid var(--hub-rule)}
.hub-next h2 {margin: 0 0 4px}
.hub-sources {max-width: 80ch; font-size: 14px}
.hub-sources h2 {font-size: 23px}
.hub-sources a {overflow-wrap: anywhere}
.hub-membership {margin: clamp(35px,5cqi,55px) 0 24px; background: #fff}
.hub-membership p {max-width: 68ch}
.visu-editorial .actions {display: flex; flex-wrap: wrap; gap: 9px}
.visu-editorial .button.secondary {background: #fff; border: 1px solid var(--hub-blue); color: var(--hub-blue); border-radius: 8px}

.hub-quiz {margin: 28px 0}
.hub-quiz fieldset {min-width: 0; margin: 0 0 26px; padding: clamp(14px,2.6cqi,28px); border: 1px solid var(--hub-rule); border-radius: 14px}
.hub-quiz legend {max-width: 100%; padding-inline: 6px; font-weight: 750; color: var(--hub-ink)}
.hub-quiz figure {min-width: 0; margin: 0}
.hub-quiz figure img {display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px}
.hub-quiz figcaption, .visu-editorial .photo-credit p {font-size: 12px; line-height: 1.5}
.hub-quiz figcaption {margin-top: 8px}
.hub-options {display: grid; align-content: start; gap: 9px}
.hub-options>label {display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 9px 13px; border: 1px solid var(--hub-rule); border-radius: 8px; cursor: pointer}
.hub-options>label:has(input:checked) {background: var(--hub-soft); border-color: var(--hub-blue)}
.hub-options input {flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--hub-blue)}
.hub-explanation {padding: 15px; border-left: 4px solid var(--hub-blue); background: var(--hub-soft); font-size: 15px}
.hub-explanation[hidden] {display: none}
.hub-quiz [data-result="review"] .hub-explanation {border-color: var(--hub-yellow); background: #fff9de}
.hub-score {font-weight: 700; color: var(--hub-ink)}

@container biblioteca (max-width: 790px) {
  .hub-grid {grid-template-columns: repeat(2,minmax(0,1fr))}
}
@container biblioteca (max-width: 620px) {
  .hub-hero, .hub-article-head {grid-template-columns: 1fr; gap: 12px}
  .hub-section-head {grid-template-columns: minmax(0,1fr) 84px; gap: 9px}
  .hub-hero-art {width: min(78%,260px); max-height: 160px}
  .hub-cover, .hub-pair, .hub-quiz-row {grid-template-columns: 1fr}
}
@container biblioteca (max-width: 460px) {
  .hub-grid {grid-template-columns: 1fr}
}
