/* Release 1: scoped editorial presentation using the existing shared tokens. */
.ic-editorial {
  --ic-space-editorial: clamp(20px, 3vw, 32px);
  --ic-heading-font: Georgia, "Times New Roman", serif;
  background: var(--ic-surface);
  text-rendering: optimizeLegibility;
}
.ic-editorial :is(a, button, input, select, summary):focus-visible { outline: 3px solid var(--ic-action); outline-offset: 3px; }
.ic-editorial .home-v2 { --v2-gap: 28px; padding-top: 24px; }
.ic-editorial .v2-main { min-width: 0; }
.ic-editorial .v2-grid--top { gap: 32px; }
.ic-editorial .top-bar { border-bottom: 0; }
.ic-editorial .site-nav-row { min-height: 62px; }
.ic-editorial :is(.language-dropdown-toggle, .theme-toggle, .mobile-nav-toggle, .category-bar__more-btn) { min-height: 44px; }
.ic-editorial #live-search-input { min-height: 44px; font-size: 1rem; }
.ic-editorial .category-bar__item_fixed { min-height: 44px; align-items: center; }
.ic-editorial .category-bar__item_fixed[aria-current="page"] { color: var(--ic-action); box-shadow: inset 0 -2px var(--ic-action); }
.ic-editorial :is(.v2-panel, .v2-card, .v2-sidecard, .v2-feature, .list-card) { border-color: var(--ic-rule); box-shadow: none; }
.ic-editorial :is(.v2-panel__title, .v2-section__title, .v2-sidecard__title) { color: var(--ic-ink); font-size: 1.2rem; font-weight: 750; line-height: 1.3; letter-spacing: -.02em; }
.ic-editorial :is(.v2-panel__head, .v2-section__head) { padding: 20px 0 16px; }
.ic-editorial .v2-panel--latest { border: 0; background: transparent; margin-inline: 0; }
.ic-editorial .v2-panel--latest .v2-panel__head { padding: 8px 0 16px; }
.ic-editorial .v2-stream { border: 0; border-radius: 0; }
.ic-editorial .v2-latest-item { padding: 20px 0; gap: 20px; grid-template-columns: 112px minmax(0, 1fr); border-color: var(--ic-rule); }
.ic-editorial :is(.v2-latest-thumb, .v2-latest-thumb img) { width: 112px; height: 80px; border-radius: 8px; object-fit: cover; }
.ic-editorial .v2-latest-title { font-size: 1.18rem; font-weight: 750; line-height: 1.3; letter-spacing: -.015em; }
.ic-editorial :is(.v2-latest-meta, .v2-meta, .v2-row__meta, .list-card__meta) { font-size: .875rem; color: var(--ic-muted); opacity: 1; }
.ic-editorial .v2-latest-summary { -webkit-line-clamp: 2; margin-top: 6px; font-size: .9375rem; line-height: 1.55; }
.ic-editorial .v2-card__body { padding: 18px; }
.ic-editorial .v2-card__title { font-size: 1.15rem; line-height: 1.35; font-weight: 750; }
.ic-editorial .v2-card__summary { font-size: .9375rem; line-height: 1.55; }
.ic-editorial .v2-card__media { aspect-ratio: 16 / 9; height: auto; background: var(--ic-surface-alt); }
.ic-editorial .v2-card__media img { width: 100%; height: 100%; object-fit: cover; }
.ic-editorial .v2-sidecard { padding: 22px; }
.ic-editorial .v2-sidecard__text { font-size: .9375rem; line-height: 1.65; }
.ic-editorial .v2-cta { min-height: 44px; display: inline-flex; align-items: center; }

/* Stable by default; all existing story destinations stay selectable. */
.ic-editorial .v2-hero-carousel { background: var(--ic-surface); border-radius: 12px; overflow: hidden; }
.ic-editorial .v2-hero-carousel__viewport { aspect-ratio: auto; height: auto; overflow: hidden; }
.ic-editorial .v2-hero-carousel__track { display: grid; width: 100%; transform: none; transition: none; }
.ic-editorial .v2-hero-carousel__slide { display: grid; grid-template-columns: 1fr; width: 100%; min-width: 0; position: relative; }
.ic-editorial .v2-hero-carousel__slide[aria-hidden="true"] { display: none; }
.ic-editorial .v2-hero-carousel__image-link { display: block; position: relative; inset: auto; height: 260px; aspect-ratio: auto; }
.ic-editorial .v2-hero-carousel__image { width: 100%; height: 100%; object-fit: cover; filter: none; }
.ic-editorial .v2-hero-carousel__shade { display: none; }
.ic-editorial .v2-hero-carousel__copy { position: static; padding: var(--ic-space-editorial); color: var(--ic-ink); background: var(--ic-surface); max-width: none; }
.ic-editorial .v2-hero-carousel__meta { color: var(--ic-muted); font-size: .875rem; flex-wrap: wrap; opacity: 1; text-shadow: none; }
.ic-editorial .v2-hero-carousel__meta a { color: var(--ic-action); }
.ic-editorial .v2-hero-carousel__title { max-width: none; margin: 14px 0 12px; font-family: var(--ic-heading-font); font-size: clamp(1.8rem, 3.2vw, 2.5rem); line-height: 1.14; letter-spacing: -.025em; text-shadow: none; }
.ic-editorial .v2-hero-carousel__title a { color: var(--ic-ink); }
.ic-editorial .v2-hero-carousel__title { display: block; overflow: visible; -webkit-line-clamp: unset; }
.ic-editorial .v2-hero-carousel__summary { display: block; max-width: 64ch; margin: 0; color: var(--ic-muted); font-size: 1rem; line-height: 1.6; text-shadow: none; }
.ic-editorial .v2-hero-carousel__arrow { display: none; }
.ic-editorial .v2-hero-carousel__dots { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 6px; padding: 12px var(--ic-space-editorial); border-top: 1px solid var(--ic-rule); background: var(--ic-surface); }
.ic-editorial .v2-hero-carousel__dot { width: 44px; height: 44px; padding: 0; border: 1px solid var(--ic-rule); border-radius: 8px; color: var(--ic-muted); background: var(--ic-surface); font: inherit; font-weight: 700; }
.ic-editorial .v2-hero-carousel__dot.is-active { color: var(--ic-action); background: var(--ic-info); border-color: var(--ic-action); }
.ic-editorial .editorial-carousel-play { min-height: 44px; margin-left: auto; padding: 8px 10px; border: 0; border-radius: 8px; color: var(--ic-action); background: transparent; font: inherit; font-size: .875rem; font-weight: 650; cursor: pointer; }
.ic-editorial .editorial-banner-area { margin-block: 16px 20px; }
.ic-editorial .editorial-banner-area:not(:has(.public-offer:not([hidden]))) { display: none; }
.ic-editorial .editorial-banner-area .public-offer-stack { margin: 0; gap: 8px; }
.ic-editorial .editorial-banner-area .public-offer__inner { min-height: 60px; padding: 8px 62px 8px 12px; }
.ic-editorial .editorial-banner-area .public-offer--fixed .public-offer__inner { padding-right: 12px; }
.ic-editorial .editorial-banner-area .public-offer__cta { min-height: 44px; white-space: normal; text-align: center; }
.ic-editorial .editorial-banner-area .public-offer__close { width: 44px; height: 44px; top: 8px; right: 8px; }

@media (max-width: 720px) {
  .ic-editorial .editorial-banner-area { margin-block: 12px 16px; }
  .ic-editorial .editorial-banner-area .public-offer__inner { padding: 10px 60px 10px 10px; gap: 8px; }
  .ic-editorial .editorial-banner-area .public-offer--fixed .public-offer__inner { padding-right: 10px; }
  .ic-editorial .editorial-banner-area .public-offer__content { flex-direction: column; align-items: flex-start; gap: 5px; }
  .ic-editorial .editorial-banner-area .public-offer__eyebrow { display: inline-flex; max-width: 100%; white-space: normal; }
  .ic-editorial .editorial-banner-area .public-offer__title { display: block; overflow: visible; -webkit-line-clamp: unset; }
}

.ic-editorial #content.v2-article .v2-article-header { display: flex; flex-direction: column; gap: 16px; padding: 0; margin: 0 0 24px; }
.ic-editorial #content.v2-article .v2-article-title { order: 0; max-width: 26ch; margin: 0 !important; color: var(--ic-ink); font-family: var(--ic-heading-font); font-size: clamp(2rem, 3.6vw, 3rem) !important; line-height: 1.13 !important; letter-spacing: -.025em; text-wrap: pretty; }
.ic-editorial #content.v2-article .v2-article-lede { order: 1; margin: 0 !important; max-width: 65ch; color: var(--ic-muted); font-size: 1.125rem !important; line-height: 1.65 !important; font-weight: 400; }
.ic-editorial #content.v2-article .v2-article-meta { order: 2; margin: 0 !important; gap: 8px 10px; color: var(--ic-muted); font-size: .875rem !important; line-height: 1.6; }
.ic-editorial #content.v2-article .v2-article-meta .v2-rating { margin: 0; order: 1; flex: 0 0 auto; width: auto; background: transparent; }
.ic-editorial #content.v2-article .v2-read-progress { order: 3; height: 3px; margin: 0; }
.ic-editorial #content.v2-article .v2-article-admin-shortcuts { order: 4; }
.ic-editorial #content.v2-article .v2-article-hero { border-radius: 10px; margin: 0 0 24px !important; }
.ic-editorial #content.v2-article .v2-article-hero img { display: block; width: 100%; height: auto; max-height: 480px; object-fit: cover; }
.ic-editorial #content.v2-article .v2-article-body { max-width: 68ch; margin-inline: auto; color: var(--ic-ink); font-size: 1.125rem; line-height: 1.8; overflow-wrap: break-word; }
.ic-editorial #content.v2-article .v2-article-body :is(h2, h3, h4) { color: var(--ic-ink); line-height: 1.3; margin-top: 1.75em; margin-bottom: .65em; scroll-margin-top: 90px; }
.ic-editorial #content.v2-article .v2-article-body p { margin-bottom: 1.3em; }
.ic-editorial #content.v2-article .v2-article-body a { text-decoration: underline; text-underline-offset: .18em; }
.ic-editorial #content.v2-article .v2-ratebtn { min-width: 44px; min-height: 44px; }
.ic-editorial #content.v2-article .v2-article-wide { margin-top: 36px; }

@media (max-width: 820px) {
  .ic-editorial .home-v2 { padding-top: 18px; --v2-gap: 24px; }
  .ic-editorial .v2-grid--top { gap: 24px; }
  .ic-editorial .v2-hero-carousel__image-link { height: auto; aspect-ratio: 16 / 9; }
  .ic-editorial .v2-hero-carousel__copy { padding: 20px; }
  .ic-editorial .v2-hero-carousel__title { font-size: 1.8rem; line-height: 1.17; }
  .ic-editorial .v2-hero-carousel__summary { font-size: .9375rem; line-height: 1.55; }
  .ic-editorial .v2-hero-carousel__dots { padding: 10px 14px; gap: 4px; }
  .ic-editorial .editorial-carousel-play { margin-left: 0; }
  .ic-editorial .v2-latest-item { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; padding: 18px 0; }
  .ic-editorial :is(.v2-latest-thumb, .v2-latest-thumb img) { width: 88px; height: 72px; }
  .ic-editorial .v2-latest-title { font-size: 1.0625rem; }
  .ic-editorial .v2-latest-summary { font-size: .875rem; }
  .ic-editorial #content.v2-article .v2-article-title { max-width: none; font-size: 2rem !important; }
  .ic-editorial #content.v2-article .v2-article-header { padding-inline: 2px; gap: 14px; }
  .ic-editorial #content.v2-article .v2-article-body { font-size: 1.0625rem; line-height: 1.75; padding-inline: 2px; }
  .ic-editorial #content.v2-article .v2-article-lede { font-size: 1.0625rem !important; line-height: 1.6 !important; }
  .ic-editorial #content.v2-article .v2-article-hero img { max-height: none; }
}
