/* Lossless SSR-owned text sections only. Existing heroes, native tab visibility
   and unowned consumers keep their source presentation and behavior. */
[data-content-presentation][data-content-tone='dark'],
[data-content-group][data-content-tone='dark'] {
  --content-ink: #fff;
  --content-panel: #2b2b2b;
  --content-surface: #161616;
  --content-divider: #555;
  --content-accent: #ccff00;
}
[data-content-presentation][data-content-tone='light'],
[data-content-group][data-content-tone='light'] {
  --content-ink: #171717;
  --content-panel: #dedede;
  --content-surface: #e8e8e8;
  --content-divider: #aaa;
  --content-accent: #607800;
}
[data-content-presentation] *,
[data-content-presentation] *::before,
[data-content-presentation] *::after {
  box-sizing: border-box;
}
[data-content-presentation='editorial'] :is(.t004, .t220) > .t-container {
  width: calc(100% - 40px);
  max-width: 1160px;
  margin: 0 auto;
}
[data-content-presentation='editorial'] :is(.t004, .t220) .t-col {
  float: none;
  min-width: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
[data-content-presentation='editorial'] .t220__textwrapper {
  width: 100%;
  margin: 0;
  padding: 32px;
  border-radius: 14px !important;
}
#allrecords [data-content-presentation] [data-content-root] {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  min-width: 0;
  max-width: none;
  margin: 0;
  color: var(--content-ink) !important;
  font-family: Montserrat, Arial, sans-serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  text-align: left !important;
}
#allrecords [data-content-presentation] [data-content-root] * {
  color: inherit !important;
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  letter-spacing: normal !important;
  text-align: inherit !important;
}
[data-content-presentation] [data-content-unit] {
  min-width: 0;
  height: auto;
  margin: 0;
}
[data-content-presentation] [data-content-unit='prose'] {
  max-width: 74ch;
}
[data-content-presentation] [data-content-unit='prose'] > br {
  display: none;
}
[data-content-presentation] [data-content-unit] > p {
  margin: 0;
}
[data-content-presentation] [data-content-unit] > p + p {
  margin-top: 16px;
}
[data-content-presentation] [data-content-list] {
  min-width: 0;
  margin: 0;
  padding: 0;
}
[data-content-presentation] [data-content-list] > li[data-content-item-empty] {
  display: none;
}
[data-content-presentation] [data-content-list='grid'] {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px 32px;
  list-style-position: outside;
}
[data-content-presentation] [data-content-list='grid'] > li {
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 24px;
  border-radius: 14px;
  background: var(--content-panel);
}
[data-content-presentation] [data-content-list='grid'] > li::marker,
[data-content-presentation] [data-content-list='rows'] > li::marker {
  color: var(--content-accent);
  font-weight: 600;
}
[data-content-presentation] ul:is([data-content-list='grid'], [data-content-list='rows']) {
  list-style-type: none;
}
[data-content-presentation] ol:is([data-content-list='grid'], [data-content-list='rows']) {
  padding-left: 32px;
  list-style-position: outside;
}
[data-content-presentation]
  ol:is([data-content-list='grid'], [data-content-list='rows']):not([type]) {
  list-style-type: decimal;
}

[data-content-presentation] [data-content-list='rows'] > li {
  min-width: 0;
  margin: 0;
  padding: 24px 0;
  border-top: 1px solid var(--content-divider);
}
[data-content-presentation] [data-content-list='rows'] > li:last-child {
  border-bottom: 1px solid var(--content-divider);
}
#allrecords [data-content-presentation] [data-content-list='rows'] > li > em:first-child {
  font-style: normal;
  font-weight: 600;
}
#allrecords [data-content-presentation] [data-content-list] > li > [data-content-item='title'] {
  margin: 0;
  font-style: normal;
  font-weight: 600;
}
#allrecords
  [data-content-presentation]
  [data-content-list]
  > li
  > [data-content-item='title']
  > :is(em, strong) {
  font-style: normal;
  font-weight: inherit;
}
[data-content-presentation] [data-content-list] > li > [data-content-item='body'] {
  max-width: 74ch;
  margin-top: 8px;
}
[data-content-presentation] [data-content-list='plain'] {
  padding-left: 24px;
}
[data-content-presentation] [data-content-list='plain'] > li + li {
  margin-top: 12px;
}
[data-content-presentation] [data-content-list] > li :is(ul, ol) {
  display: block;
  margin: 16px 0 0;
  padding-left: 24px;
  list-style-position: outside;
}
[data-content-presentation] [data-content-list] > li ul:not([type]) {
  list-style-type: disc;
}
[data-content-presentation] [data-content-list] > li ol:not([type]) {
  list-style-type: decimal;
}
[data-content-presentation] [data-content-list] > li :is(ul, ol) > li {
  display: list-item;
  margin-top: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
[data-content-presentation] [data-content-unit='chapter'] {
  padding: 24px;
  border-radius: 14px;
  background: var(--content-panel);
}
#allrecords [data-content-presentation] [data-content-subtitle] {
  display: block;
  margin-bottom: 12px;
  color: var(--content-accent) !important;
  hyphens: auto;
  font-size: 24px !important;
  font-weight: 600;
  line-height: 1.35 !important;
}
[data-content-presentation] [data-content-subtitle] + br {
  display: none;
}
[data-content-presentation] [data-content-root] a {
  text-underline-offset: 4px;
}
[data-content-presentation] [data-content-root] a:focus-visible {
  outline: 2px solid var(--content-accent);
  outline-offset: 4px;
}
/* Neutralized source class names keep fixed coordinates and vendor zoom from
   reclaiming these inventoried text-only artboards. */
:is([data-content-presentation='zero-flow'], [data-content-presentation='zero-offer']) {
  background: var(--content-surface);
  color: var(--content-ink);
}
:is([data-content-presentation='zero-flow'], [data-content-presentation='zero-offer'])
  .next-content-t396__artboard {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  width: calc(100% - 40px);
  max-width: 1160px;
  height: auto;
  min-height: 0;
  margin: 0 auto;
  padding: 48px 0;
  overflow: visible;
  transform: none;
  zoom: 1;
}
:is([data-content-presentation='zero-flow'], [data-content-presentation='zero-offer'])
  :is(.next-content-t396__carrier, .next-content-t396__filter, [data-content-part='decoration']) {
  display: none;
}
:is([data-content-presentation='zero-flow'], [data-content-presentation='zero-offer'])
  [data-content-part] {
  position: static;
  display: block;
  min-width: 0;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  transform: none;
  zoom: 1;
  opacity: 1;
  color: var(--content-ink);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  text-align: left;
}
:is([data-content-presentation='zero-flow'], [data-content-presentation='zero-offer'])
  :is(
    .next-content-tn-atom,
    .next-content-tn-atom__scale-wrapper,
    .next-content-tn-atom__sbs-anim-wrapper
  ) {
  display: block;
  width: 100%;
  height: auto;
  transform: none;
  zoom: 1;
  white-space: normal;
}
#allrecords
  :is([data-content-presentation='zero-flow'], [data-content-presentation='zero-offer'])
  .next-content-tn-atom,
#allrecords
  :is([data-content-presentation='zero-flow'], [data-content-presentation='zero-offer'])
  .next-content-tn-atom
  * {
  color: inherit !important;
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
  text-align: inherit !important;
}
:is([data-content-presentation='zero-flow'], [data-content-presentation='zero-offer'])
  [data-content-part='heading'] {
  order: -1;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
/* The three original same-popup actions retain their source DOM and hit areas.
   A shared grid row composes the pill, disc and arrow without absolute offsets. */
[data-content-presentation='zero-offer'] [data-content-part='heading'] {
  grid-row: 1;
}
[data-content-presentation='zero-offer'] [data-content-part='body'] {
  grid-row: 2;
}
[data-content-presentation='zero-offer']
  :is([data-content-part='cta'], [data-content-part='cta-disc'], [data-content-part='cta-arrow']) {
  grid-column: 1;
  grid-row: 3;
  align-self: center;
  justify-self: start;
}
[data-content-presentation='zero-offer'] [data-content-part='cta'] {
  width: 100%;
  max-width: 320px;
  z-index: 1;
}
#allrecords [data-content-presentation='zero-offer'] [data-content-part='cta'] a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 16px 64px 16px 24px;
  border: 0;
  border-radius: 999px;
  background: #ccff00;
  color: #171717 !important;
  font-size: 16px !important;
  font-weight: 600;
  line-height: 1.4 !important;
  text-align: center !important;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
#allrecords [data-content-presentation='zero-offer'] [data-content-part='cta'] a:hover {
  background: #171717;
  color: #fff !important;
}
[data-content-presentation='zero-offer'] [data-content-part='cta-disc'] {
  width: 44px;
  height: 44px;
  margin-left: min(calc(100% - 52px), 268px);
  z-index: 2;
}
[data-content-presentation='zero-offer'] [data-content-part='cta-disc'] a {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #171717;
}
[data-content-presentation='zero-offer'] [data-content-part='cta-arrow'] {
  width: 24px;
  height: 24px;
  margin-left: min(calc(100% - 42px), 278px);
  z-index: 3;
}
[data-content-presentation='zero-offer'] [data-content-part='cta-arrow'] a {
  display: block;
  width: 100%;
  height: 100%;
}
/* Native normalization makes these same-action layers decorative. Their full
   wrappers must pass pointer hits through to the underlying linked pill. */
[data-content-presentation='zero-offer']
  :is([data-content-part='cta-disc'], [data-content-part='cta-arrow']),
[data-content-presentation='zero-offer']
  :is([data-content-part='cta-disc'], [data-content-part='cta-arrow'])
  * {
  pointer-events: none;
}
[data-content-presentation='zero-offer'] [data-content-part='cta-arrow'] img {
  display: block;
  width: 100%;
  height: 100%;
  filter: invert(1);
}
[data-content-presentation='zero-offer']
  :is([data-content-part='cta'], [data-content-part='cta-disc'], [data-content-part='cta-arrow'])
  a:focus-visible {
  outline: 2px solid var(--content-accent);
  outline-offset: 4px;
}
[data-content-group='split-portrait'] {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 32px;
  width: 100%;
  margin: 0;
  padding: 48px 20px;
  background: var(--content-surface);
}
/* Native T400 owns child visibility; an entirely hidden pair contributes no
   outer padding or gap until its existing reveal controller activates it. */
[data-content-group='split-portrait']:has(> [data-content-presentation].t400__off):not(
    :has(> [data-content-presentation]:not(.t400__off))
  ) {
  display: none;
}
[data-content-group='split-portrait'] [data-content-presentation] .next-content-t396__artboard {
  width: 100%;
  margin: 0;
  padding: 0;
}
[data-content-group='split-portrait'] [data-content-part='portrait'] .next-content-tn-atom {
  width: 100%;
  max-width: 360px;
  height: auto;
  aspect-ratio: 0.53;
  background-size: contain;
  background-position: center bottom;
  background-repeat: no-repeat;
}
[data-content-group='split-portrait'] [data-content-part='icon'] {
  width: 80px;
}
[data-content-group='split-portrait'] [data-content-part='icon'] img {
  display: block;
  width: 100%;
  height: auto;
}
@media (min-width: 1024px) {
  [data-content-presentation] [data-content-list='grid'],
  #allrecords [data-content-presentation] [data-content-layout='chapters'] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
  [data-content-presentation] [data-content-list-featured-last] > li:last-child,
  [data-content-presentation]
    [data-content-layout='chapters']
    > :not([data-content-unit='chapter']) {
    grid-column: 1 / -1;
  }
  [data-content-presentation]
    [data-content-root][data-content-layout='chapters']
    > [data-content-unit-wide] {
    grid-column: 1 / -1;
  }
  [data-content-group='split-portrait'] {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    gap: 48px;
    padding: 56px max(20px, calc((100% - 1160px) / 2));
  }
}
@media (max-width: 767px) {
  [data-content-presentation='editorial'] .t220__textwrapper {
    padding: 20px;
  }
  [data-content-presentation] [data-content-list='grid'] > li,
  [data-content-presentation] [data-content-unit='chapter'] {
    padding: 20px;
  }
  :is([data-content-presentation='zero-flow'], [data-content-presentation='zero-offer'])
    [data-content-part='heading'] {
    font-size: 28px;
  }
}
