/* Material-inspired readability layer for the final Mirmił ADR website. */

:root {
  --m3-surface: #fffdf9;
  --m3-surface-container: #f3f2ee;
  --m3-surface-high: #eae9e4;
  --m3-on-surface: #17191c;
  --m3-on-surface-variant: #555d66;
  --m3-primary: #a63f00;
  --m3-primary-container: #ffdcc7;
  --m3-on-primary-container: #361100;
  --m3-secondary: #1d4d83;
  --m3-secondary-container: #d6e5ff;
  --m3-outline: #c8c8c2;
  --m3-outline-variant: #e0dfd9;
  --m3-radius-sm: 12px;
  --m3-radius-md: 18px;
  --m3-radius-lg: 26px;
  --m3-shadow-1: 0 1px 2px rgba(20, 22, 26, .07), 0 4px 16px rgba(20, 22, 26, .04);
  --m3-shadow-2: 0 8px 26px rgba(20, 22, 26, .09);
  --m3-layout-width: var(--container-max);
}

body {
  background: var(--m3-surface);
  color: var(--m3-on-surface);
}

main > .section {
  padding-block: clamp(54px, 6vw, 82px);
}

main > .section:nth-of-type(odd):not(.hero):not(.author-sources) {
  background: rgba(243, 242, 238, .56);
}

.section .container {
  width: 100%;
  max-width: var(--m3-layout-width);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: start;
  width: 100%;
  max-width: none;
  margin: 0 0 30px;
  padding: 0 0 26px;
  border-bottom: 1px solid var(--m3-outline-variant);
}

.section-head .eyebrow {
  margin: 0;
}

.section-head h2 {
  width: 100%;
  max-width: none;
  margin: 0;
  font-size: clamp(31px, 3.2vw, 44px);
  line-height: 1.08;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.section-head .intro {
  width: 100%;
  max-width: none;
  margin: 2px 0 0;
  color: var(--m3-on-surface-variant);
  font-size: 16px;
  line-height: 1.62;
}

.topic-grid {
  display: grid;
  /*
   * Editorial topics contain expert, long-form copy. Keep every topic at the
   * shared content width instead of squeezing two narrative cards side by side.
   */
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin: 22px 0 28px;
}

.topic-block {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: clamp(22px, 2.6vw, 32px);
  overflow: hidden;
  border: 1px solid var(--m3-outline-variant);
  border-radius: var(--m3-radius-md);
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--m3-shadow-1);
}

.section--alt .topic-block {
  background: var(--m3-surface);
}

.topic-block--wide {
  grid-column: 1 / -1;
}

.topic-block::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--orange);
  content: "";
}

.topic-block > h3 {
  max-width: 30ch;
  margin: 0 0 16px;
  color: var(--m3-on-surface);
  font-size: clamp(19px, 1.75vw, 23px);
  line-height: 1.24;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.topic-block > p {
  max-width: 70ch;
  margin: 0 0 14px;
  color: #3f464e;
  font-size: 16px;
  line-height: 1.68;
}

.topic-block > p:last-child {
  margin-bottom: 0;
}

.topic-block > ul,
.topic-block > ol {
  margin: 16px 0 0;
}

.topic-block .callout {
  margin: 18px 0 0;
}

.reading-paragraph {
  width: 100%;
  max-width: none;
  color: #3f464e;
  font-size: 16.5px;
  line-height: 1.72;
}

.highlight-note,
.definition-note {
  width: 100%;
  max-width: none;
  margin: 22px 0;
  padding: 20px 22px 20px 24px;
  border: 1px solid #f2c8ae;
  border-left: 5px solid var(--orange);
  border-radius: var(--m3-radius-sm);
  background: #fff6ef;
  color: #3b2a1e;
  box-shadow: var(--m3-shadow-1);
}

.definition-note {
  border-color: #c8d9f0;
  border-left-color: var(--m3-secondary);
  background: #f2f7ff;
  color: #21364e;
}

.note-label {
  display: block;
  margin: 0 0 8px;
  color: var(--m3-primary);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.definition-note .note-label {
  color: var(--m3-secondary);
}

.key-points {
  display: grid;
  /*
   * A single reading column prevents long legal and operational points from
   * turning into narrow newspaper-style columns.
   */
  grid-template-columns: minmax(0, 1fr);
  gap: 10px 24px;
  width: 100%;
  max-width: none;
  margin: 22px 0;
  padding: 20px 22px 20px 42px;
  list-style-type: "→  ";
  border: 1px solid var(--m3-outline-variant);
  border-radius: var(--m3-radius-md);
  background: #fff;
  box-shadow: var(--m3-shadow-1);
}

.key-points li {
  padding-left: 3px;
  color: #3f464e;
  font-size: 15.5px;
  line-height: 1.55;
}

.key-points li::marker {
  color: var(--m3-primary);
  font-family: var(--font-heading);
  font-size: 1.05em;
  font-weight: 800;
}

.section strong,
.topic-block strong,
.highlight-note strong,
.definition-note strong {
  color: #17191c;
  font-weight: 800;
}

.content-emphasis {
  color: var(--m3-on-surface);
  font-weight: 800;
}

/* Editorial emphasis follows the paragraph colour, including dark sections. */
strong.phrase-emphasis {
  color: inherit;
  font-weight: 800;
}

/* Only the descriptive heading is an HTML link, not the whole card. */
article.linked-card {
  cursor: default;
}
article.related-link.linked-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 22px;
  padding: 24px;
  margin-bottom: 0;
}
.related-link.linked-card::after { content: none; display: none; }
.related-link.linked-card h3 { margin: 0; }
.linked-card h3 > .card-title-link {
  display: inline;
  color: inherit;
  text-decoration: none;
}
.linked-card h3 > .card-title-link:hover {
  text-decoration: underline;
  text-underline-offset: .2em;
}
button.card-read-more {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  align-self: flex-start;
  gap: 10px;
  width: auto;
  min-height: 44px;
  margin-top: auto;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 750;
  line-height: 1.4;
  cursor: pointer;
}
button.card-read-more[hidden] { display: none; }
.route-card .card-read-more { font-size: 14px; }
.route-card--urgent .card-read-more { color: #ff9b59; }
.card-read-more__label { white-space: nowrap; }
.card-read-more__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--orange-dark);
  background: var(--orange-soft);
}
.card-read-more:hover .card-read-more__label { text-decoration: underline; }
.card-title-link:focus-visible, .card-read-more:focus-visible {
  outline: 3px solid var(--orange-dark);
  outline-offset: 5px;
  border-radius: 3px;
}

.contextual-link {
  color: var(--m3-primary);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(166, 63, 0, .48);
  text-decoration-thickness: 1.5px;
  text-underline-offset: .18em;
}

.contextual-link:hover {
  color: #7f3000;
  text-decoration-color: currentColor;
}

.contextual-link:focus-visible {
  border-radius: 3px;
  outline: 3px solid rgba(0, 48, 135, .24);
  outline-offset: 3px;
}

/* Keep every major content module on the same horizontal grid. */
.section > .container > p,
.section > .container > ul,
.section > .container > ol,
.section > .container > .callout,
.section > .container > .art-table,
.section > .container > div[style*="overflow-x"],
.section > .container > .topic-grid,
.section > .container > .grid,
.section > .container > .split,
.section > .container > .stat-strip,
.section > .container > .checklist,
.section > .container > .faq,
.section > .container > .art-col {
  width: 100%;
  max-width: none;
}

.art-col {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.grid > .card,
.route-card,
.aside-card {
  border-color: var(--m3-outline-variant);
  border-radius: var(--m3-radius-md);
  box-shadow: var(--m3-shadow-1);
}

.grid > .card:hover,
.route-card:hover {
  box-shadow: var(--m3-shadow-2);
  transform: translateY(-2px);
}

.art-table {
  overflow-x: auto;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.art-table table,
table.art-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  border: 1px solid var(--m3-outline-variant);
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

.art-table :is(th, td) {
  border: 0;
  border-bottom: 1px solid var(--m3-outline-variant);
}

.art-table th {
  background: #24282d;
  color: #fff;
  font-size: 13px;
}

.art-table td {
  color: #3f464e;
  font-size: 14.5px;
}

.faq {
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: none;
}

.faq details {
  overflow: hidden;
  border: 1px solid var(--m3-outline-variant);
  border-radius: var(--m3-radius-sm);
  background: #fff;
  box-shadow: none;
}

.faq details[open] {
  border-color: #efb38d;
  box-shadow: var(--m3-shadow-1);
}

.faq summary {
  min-height: 56px;
  padding: 16px 18px;
}

.faq summary .q {
  margin: 0;
  color: var(--m3-on-surface);
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 760;
  line-height: 1.35;
  letter-spacing: -.012em;
}

.faq details > div,
.faq details > p {
  color: #444b53;
  font-size: 15.5px;
  line-height: 1.68;
}

.editorial-visual-section,
.material-visual-section {
  padding: clamp(26px, 4vw, 44px) 0;
  border: 0;
  background: transparent;
}

.editorial-visual,
.material-visual {
  width: 100%;
  max-width: none;
  margin-inline: auto;
  border: 1px solid var(--m3-outline-variant);
  border-radius: var(--m3-radius-lg);
  box-shadow: var(--m3-shadow-2);
}

.editorial-visual figcaption,
.material-visual figcaption {
  padding: clamp(22px, 3vw, 34px);
}

.editorial-visual figcaption strong,
.material-visual figcaption strong {
  font-size: clamp(19px, 1.8vw, 24px);
}

.editorial-visual__type,
.material-visual__type {
  margin-bottom: 12px;
}

.material-visual {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr);
  overflow: hidden;
  background: #fff;
}

.material-visual--reverse {
  grid-template-columns: minmax(260px, .55fr) minmax(0, 1.45fr);
}

.material-visual--reverse .material-visual__media {
  order: 2;
}

.material-visual--reverse figcaption {
  order: 1;
}

.material-visual__media {
  min-height: 300px;
  overflow: hidden;
  background: var(--m3-surface-container);
}

.material-visual__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.material-visual figcaption {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--m3-on-surface);
}

.material-visual figcaption p {
  margin: 12px 0 0;
  color: var(--m3-on-surface-variant);
  font-size: 14px;
  line-height: 1.58;
}

.material-visual__type {
  color: var(--m3-primary);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.material-visual figcaption strong {
  margin-top: 12px;
  font-family: var(--font-heading);
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.25;
}

.author-sources {
  padding-block: 28px !important;
  border-top: 1px solid var(--m3-outline-variant);
  background: #efeee9 !important;
}

.author-sources .card {
  padding: 18px 20px !important;
  border: 0;
  border-radius: var(--m3-radius-sm);
  background: rgba(255, 255, 255, .68);
  box-shadow: none;
}

.author-sources h2 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -.02em;
}

.author-sources p,
.author-sources li,
.author-sources summary {
  font-size: 13px;
  line-height: 1.5;
}

.author-sources .eyebrow {
  margin-bottom: 8px;
  font-size: 10px;
}

.page-outline__links a {
  max-width: 28ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 960px) {
  .section-head .intro {
    max-width: 62ch;
  }

  .material-visual,
  .material-visual--reverse {
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, .85fr);
  }
}

@media (max-width: 720px) {
  main > .section {
    padding-block: 48px;
  }

  .section-head {
    gap: 12px;
    margin-bottom: 22px;
    padding-bottom: 20px;
  }

  .section-head .eyebrow {
    margin-top: 0;
  }

  .section-head h2 {
    width: 100%;
    max-width: none;
    font-size: clamp(27px, 8vw, 35px);
  }

  .topic-grid,
  .key-points {
    grid-template-columns: 1fr;
  }

  .topic-block--wide {
    grid-column: auto;
  }

  .topic-block {
    padding: 22px 20px;
  }

  .material-visual,
  .material-visual--reverse {
    grid-template-columns: 1fr;
    border-radius: var(--m3-radius-md);
  }

  .material-visual--reverse .material-visual__media,
  .material-visual--reverse figcaption {
    order: initial;
  }

  .material-visual__media,
  .material-visual__media img {
    min-height: 0;
  }

  .highlight-note,
  .definition-note {
    padding: 18px;
  }
}

@media print {
  .topic-block,
  .highlight-note,
  .definition-note,
  .material-visual {
    break-inside: avoid;
    box-shadow: none;
  }
}

/* Final cascade guard: every editorial module uses one shared page width. */
:is(
  main > .section,
  .editorial-visual-section,
  .material-visual-section
) > .container {
  width: 100%;
  max-width: var(--m3-layout-width);
}

.section-head,
.section-head .intro,
.section > .container > p,
.section > .container > ul,
.section > .container > ol,
.section > .container > .callout,
.section > .container > .art-table,
.section > .container > div[style*="overflow-x"],
.section > .container > .topic-grid,
.section > .container > .grid,
.section > .container > .split,
.section > .container > .stat-strip,
.section > .container > .checklist,
.section > .container > .faq,
.section > .container > .art-col,
.highlight-note,
.definition-note,
.key-points,
.faq,
.art-col,
.editorial-visual,
.material-visual {
  width: 100%;
  max-width: none;
}

/* Keep every visual and its caption complete: image first, full-width copy below. */
.editorial-visual,
.editorial-visual--reverse,
.material-visual,
.material-visual--reverse {
  grid-template-columns: minmax(0, 1fr);
}

.editorial-visual--reverse .editorial-visual__media,
.editorial-visual--reverse figcaption,
.material-visual--reverse .material-visual__media,
.material-visual--reverse figcaption {
  order: initial;
}

.editorial-visual__media,
.material-visual__media {
  min-width: 0;
  min-height: 0;
}

.editorial-visual__media img,
.material-visual__media img {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
}

.editorial-visual figcaption,
.material-visual figcaption {
  min-width: 0;
  overflow: visible;
}

.editorial-visual__type,
.material-visual__type,
.editorial-visual figcaption strong,
.material-visual figcaption strong,
.editorial-visual figcaption p,
.material-visual figcaption p {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

.editorial-visual__type,
.material-visual__type {
  display: block;
  line-height: 1.45;
}

.editorial-visual__type::before {
  display: inline-block;
  margin-right: 8px;
  vertical-align: -1px;
}

.editorial-visual figcaption strong,
.material-visual figcaption strong {
  display: block;
}

/* Final no-clipping guard: preserve complete images and allow every label to wrap. */
.hero-proof-card .hero-media,
.hero-proof-card.is-portrait .hero-media {
  aspect-ratio: auto;
}

.hero-proof-card .hero-media img,
.hero-proof-card.is-portrait .hero-media img,
.hero-proof-card:hover .hero-media img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  transform: none;
}

.hero-proof-card .hero-media__label {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

.page-outline__links a {
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

.page-outline {
  position: relative;
  top: auto;
  height: auto;
  min-height: var(--page-outline-height);
}

.page-outline .container {
  height: auto;
  min-height: var(--page-outline-height);
  flex-wrap: wrap;
  padding-block: 9px;
}

.page-outline__links {
  min-width: 0;
  flex: 1 1 680px;
  flex-wrap: wrap;
  overflow: visible;
  mask-image: none;
}

.page-outline__links a {
  flex: 0 1 auto;
}

.btn,
.btn--md,
.btn--lg {
  width: auto;
  max-width: 100%;
  height: auto;
  min-width: 0;
  min-height: 44px;
  padding-block: 9px;
  white-space: normal;
  text-align: center;
  line-height: 1.3;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

.btn--lg {
  min-height: 54px;
  padding-block: 11px;
}

.btn--full {
  width: 100%;
}

@media (max-width: 720px) {
  .page-outline .container {
    flex-direction: column;
    align-items: stretch;
    padding-block: 10px;
  }

  .page-outline__links {
    width: 100%;
    flex-basis: auto;
  }
}

/* Vertical page contents: a reserved sidebar, complete labels and no horizontal ticker. */
.page-reading-layout {
  width: 100%;
  min-width: 0;
}

.page-reading-content {
  min-width: 0;
}

@media (min-width: 1280px) {
  body.has-page-outline {
    --page-outline-height: 0px;
  }

  .page-reading-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, var(--m3-layout-width));
    gap: 32px;
    width: min(
      calc(100% - (2 * var(--container-pad))),
      calc(var(--m3-layout-width) + 292px)
    );
    margin-inline: auto;
    align-items: start;
  }

  .page-reading-layout > .page-outline {
    position: sticky;
    top: calc(var(--nav-height) + 20px);
    z-index: 20;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: calc(100dvh - var(--nav-height) - 40px);
    align-self: start;
    margin: 24px 0;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-gutter: stable;
    border: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .page-reading-layout > .page-outline > .container {
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 18px;
    display: block;
    overflow: visible;
    border: 1px solid var(--m3-outline-variant);
    border-radius: var(--m3-radius-md);
    background: rgba(255, 253, 249, 0.98);
    box-shadow: var(--m3-shadow-1);
  }

  .page-reading-layout .page-outline__label {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }

  .page-reading-layout .page-outline__links {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
    overflow: visible;
    mask-image: none;
  }

  .page-reading-layout .page-outline__links a {
    display: block;
    width: 100%;
    max-width: none;
    min-height: 44px;
    padding: 10px 12px;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
    line-height: 1.4;
  }

  .page-reading-content > :is(
    .section,
    .editorial-visual-section,
    .material-visual-section,
    .contact-brief-section,
    .contact-cta,
    .route-selector
  ) {
    width: 100%;
    min-width: 0;
  }

  .page-reading-content > :is(
    .section,
    .editorial-visual-section,
    .material-visual-section,
    .contact-brief-section,
    .contact-cta,
    .route-selector
  ) > .container {
    width: 100%;
    max-width: none;
    min-width: 0;
    margin-inline: 0;
  }
}

@media (max-width: 1279px) {
  .page-reading-layout {
    display: block;
  }

  .page-reading-layout > .page-outline {
    position: relative;
    top: auto;
    width: auto;
    height: auto;
    min-height: 0;
    max-height: none;
    margin: 0;
    overflow: visible;
  }

  .page-reading-layout > .page-outline > .container {
    height: auto;
    min-height: 0;
    max-width: var(--m3-layout-width);
    margin: 0 auto;
    padding-block: 14px;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 10px;
  }

  .page-reading-layout .page-outline__links {
    width: 100%;
    min-width: 0;
    flex: 0 1 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    overflow: visible;
  }

  .page-reading-layout .page-outline__links a {
    display: block;
    width: 100%;
    max-width: none;
    min-height: 44px;
    padding: 9px 10px;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 720px) {
  .page-reading-layout .page-outline__links {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Page outline markers: clear label spacing and directional section links. */
.page-reading-layout .page-outline__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.page-reading-layout .page-outline__label .diamond {
  flex: 0 0 7px;
  margin: 0;
}

.page-reading-layout .page-outline__links a {
  position: relative;
  padding-inline-start: 36px;
}

.page-reading-layout .page-outline__links a::before {
  content: "→";
  position: absolute;
  inset-inline-start: 12px;
  inset-block-start: 10px;
  color: var(--orange-dark);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
}

/* Real body subheadings divide only the longest editorial sections. */
.section .body-subheading {
  max-width: var(--content-measure);
  margin: 34px 0 13px;
  color: var(--ink);
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.24;
  letter-spacing: -0.02em;
}

.section .body-subheading + :is(p, ul, ol, div) {
  margin-top: 0;
}

/* Last-line guards: visual captions and long source tokens must always remain readable. */
.editorial-visual,
.editorial-visual--reverse,
.material-visual,
.material-visual--reverse {
  grid-template-columns: minmax(0, 1fr) !important;
}

.editorial-visual figcaption,
.material-visual figcaption,
.editorial-visual figcaption strong,
.material-visual figcaption strong,
.art-table :is(th, td),
footer :is(a, span),
.contact-brief-direct a,
.contact-cta a {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow: visible;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

/* Compact author and source note requested by the content owner. */
.author-sources {
  padding-block: 24px !important;
}

.author-sources .card {
  border-inline-start: 3px solid var(--adr-orange);
  background: var(--surface);
}

.author-sources h2 {
  margin: 0 0 8px;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.25;
}

.author-sources p,
.author-sources summary,
.author-sources li {
  font-size: 14px;
  line-height: 1.55;
}

.author-sources details {
  margin-top: 8px;
}

/* September review: one compact source note, predictable navigation and readable tools. */
.source-author { display:flex; align-items:flex-start; gap:14px; }
.source-author img { width:56px; height:56px; border-radius:50%; object-fit:cover; flex-shrink:0; }
.source-author p { margin:0; max-width:90ch; }
.author-sources :is(summary,a) { text-underline-offset:3px; }
.author-sources summary { padding-block:12px; cursor:pointer; }
.outline-details { width:100%; }
.outline-details > summary { cursor:pointer; padding-block:12px; display:list-item; list-style-position:inside; }
.outline-details:not([open]) > .page-outline__links { display:none; }
.page-outline__links a { padding-block:10px; }
.primary-links > li > a, .primary-links > li > details > summary { white-space:nowrap; }
.primary-links { gap:clamp(12px,1.4vw,22px); }
.nav-cta > .btn { white-space:nowrap; }
.hero .lead { max-width:62ch; }
.hero .lead + .hero-support { font-size:16px; line-height:1.65; color:var(--muted-text); margin-block:14px 22px; }
.contact-brief-preview { display:block; width:100%; min-height:220px; padding:14px; margin-block:14px; font:inherit; border:1px solid var(--border-strong); border-radius:8px; resize:vertical; }
.contact-brief-preview[hidden] { display:none; }
#adr-calc-items { overflow-x:auto; }
.table-wrap { overflow-x:auto; max-width:100%; }
#adr-calc-fields, #adr-calc-fields label { min-width:0; }
#adr-calc-fields :is(select,input) { width:100%; min-width:0; max-width:100%; }
#adr-calc-items table { min-width:560px; }
.adr-calc-remove { min-width:44px; min-height:44px; }
@media (max-width:1120px) {
  .hero .container > div:first-child > * { order:initial !important; }
  .hero-ctas { margin-top:14px; }
  .outline-details > summary { min-height:44px; margin:0; }
  .source-author { gap:10px; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto !important; transition:none !important; animation:none !important; }
}
