
.editorial-shell { max-width: 680px; }
.editorial-hero__media {
  height: clamp(220px, 40svh, 360px);
  width: min(calc(100% - 2 * var(--gutter)), calc(680px - 2 * var(--gutter)));
  margin: 12px auto 0;
  border-radius: 24px;
}
@media (max-height: 700px) {
  .editorial-hero__media { height: clamp(160px, 32svh, 220px); }
}
.editorial-hero__media img { object-position: 50% 16%; }
.editorial-hero { background: var(--paper); }
.editorial-hero__content { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding-block: 16px 22px; }
.editorial-hero .crumbs ol { padding: 0; }
.editorial-hero .crumbs li { letter-spacing: .06em; }
.editorial-hero .crumbs a { padding-inline: 0 4px; margin: 0; }
.editorial-hero h1 { font-size: clamp(28px, 8.7vw, 57px); line-height: 1.07; text-wrap: pretty; overflow-wrap: anywhere; }
.editorial-hero .lead { font-size: clamp(17px, 4.35vw, 21px); }
.editorial-hero__meta { color: var(--mute); font-size: 14px; }
.editorial-hero__content > .partner-disclosure { margin-top: -5px; }
.editorial .btn { min-height: 52px; padding-inline: 14px; white-space: normal; text-align: center; line-height: 1.15; }

.editorial-body { display: grid; gap: clamp(28px, 5.8vw, 42px); padding-top: 22px; padding-bottom: 44px; }
.editorial-section { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.editorial-section h2 { font-size: clamp(30px, 8.4vw, 48px); line-height: 1.05; text-wrap: pretty; }
.editorial-section h3 { font-size: clamp(22px, 5.6vw, 30px); line-height: 1.14; }
.editorial-photo { aspect-ratio: 4 / 3; border-radius: 14px; }
.editorial-photo img { object-position: 50% 22%; }
.editorial-section p, .editorial-section li { color: var(--ink-2); }
.editorial-section :is(p, li) a:not(.btn) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.editorial-section li + li { margin-top: 8px; }
.editorial-list { padding-inline-start: 20px; }
ul.editorial-list { list-style: disc; }
ol.editorial-list { list-style: decimal; }

.editorial-body .editorial-section { gap: 16px; align-content: start; }
.editorial-body .editorial-section > h2 { max-width: 21ch; font-size: clamp(29px, 8.1vw, 45px); line-height: 1.08; }
.editorial-body .editorial-section > p { line-height: 1.58; }
.editorial-body .editorial-photo {
  aspect-ratio: 6 / 7;
  max-height: 520px;
  margin-block: 2px 4px;
  border-radius: 20px;
}
.editorial-body .editorial-photo--wide { aspect-ratio: 8 / 5; }
.editorial-body .editorial-photo img { object-position: 50% 16%; }
.editorial-body .editorial-note {
  padding: 16px 18px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--accent) 10%, var(--paper-hi));
}
.editorial-body .editorial-note strong { color: var(--accent); }
.editorial-body .editorial-list--cards {
  display: grid;
  gap: 8px;
  padding-inline-start: 0;
  list-style-position: inside;
}
.editorial-body .editorial-list--cards li {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--paper-hi);
}
.editorial-body .editorial-list--cards li::marker,
.editorial-body .editorial-list--cards strong { color: var(--accent); }

.editorial-toc { padding: 14px 16px; border-radius: 14px; background: var(--paper-hi); }
.editorial-toc .cap { color: var(--accent); }
.editorial-toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; margin-top: 4px; }
.editorial-toc a { display: flex; align-items: center; min-height: 44px; font-weight: 600; line-height: 1.2; }
.editorial-toc a:is(:hover, :active) { color: var(--accent); }
.editorial-body .editorial-toc { display: grid; gap: 10px; padding: 16px; border-radius: 20px; }
.editorial-body .editorial-toc ol { gap: 6px; margin: 0; }
.editorial-body .editorial-toc a {
  height: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--shade);
  font-size: 15px;
  overflow-wrap: anywhere;
}

.editorial-panel {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 14px;
  background: var(--paper-hi);
}
.editorial-panel .cap { color: var(--accent); }
.editorial-body .editorial-panel { padding: 16px 18px; border-radius: 18px; }
.editorial-body .editorial-panel h3 { color: var(--accent); }
.editorial-panel .cost-example__total span { color: var(--ink-2); }
.editorial-offers { display: grid; gap: 14px; }
.editorial-offer { padding: 0; gap: 0; overflow: clip; }
.editorial-offer .editorial-photo { aspect-ratio: 1; border-radius: 0; }
.editorial-offer__content { display: grid; gap: 10px; padding: 16px; }
.editorial-offers h3 { font-size: 30px; }
.editorial-offers .btn { margin-top: 4px; }
.editorial-section .editorial-source { font-size: 15px; color: var(--mute); }

.editorial-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 14px;
  background: var(--paper-hi);
  color: var(--ink-2);
}
.editorial-table caption { padding-bottom: 8px; text-align: left; color: var(--mute); }
.editorial-table :is(th, td) {
  padding: 10px 8px;
  text-align: left;
  vertical-align: top;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.editorial-table tr > :first-child { width: 29%; }
.editorial-table tbody tr > * { border-top: 1px solid var(--line); }
.editorial-body .editorial-table { overflow: hidden; border-radius: 18px; }
.editorial-body .editorial-table thead th {
  background: var(--shade-2);
  color: var(--ink);
}
.editorial-table th a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.editorial-section .qa summary { grid-template-columns: minmax(0, 1fr) 22px; padding: 12px 16px; }
.editorial-section .qa__q { overflow-wrap: anywhere; }
.editorial-section .qa p { padding: 0 16px 18px; }
.editorial-section .qa summary .i { color: var(--accent); }
.editorial-body .editorial-toc, .editorial-finish { margin-top: -12px; }
