
html:has(:is(.interior-page, .homepage-offers)) {
  scroll-padding-top: 102px;
}
:is(.interior-page, .homepage-offers) .site-header { background: #fff; }
:is(.interior-page, .homepage-offers) .header-inner {
  gap: clamp(12px, 2vw, 28px);
}
:is(.interior-page, .homepage-offers) .site-header .header-offers {
  display: inline-flex;
  flex: 0 0 auto;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  margin: 0;
  border: 1px solid #c3d3f6;
  border-radius: 10px;
  background: #edf3ff;
  color: #2444bd;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}
:is(.interior-page, .homepage-offers) .header-offers:hover { background: #e4edff; }
:is(.interior-page, .homepage-offers) .header-offers > span { margin: 0; color: inherit; font-size: inherit; }
:is(.interior-page, .homepage-offers) .header-offers .icon { width: 19px; height: 19px; flex: none; }
:is(.interior-page, .homepage-offers) .main-nav { gap: clamp(14px, 1.7vw, 28px); }
:is(.interior-page, .homepage-offers) .main-nav a { white-space: nowrap; }
:is(.interior-page, .homepage-offers) :where(.header-offers, .content-hero-actions a, .interior-offers a):focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

:is(.interior-page, .homepage-offers) .content-home-hero {
  padding-block: clamp(27px, 4.2vw, 64px) clamp(25px, 3.6vw, 48px);
}
:is(.interior-page, .homepage-offers) .content-home-hero .hero-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
}
:is(.interior-page, .homepage-offers) .content-home-hero .hero-copy h1 {
  overflow-wrap: break-word;
  text-wrap: balance;
}
:is(.interior-page, .homepage-offers) .content-trail { row-gap: 4px; }
:is(.interior-page, .homepage-offers) .content-hero-actions { gap: 8px 18px; }
:is(.interior-page, .homepage-offers) .content-hero-actions .hero-cta {
  min-width: 0;
  min-height: 48px;
  padding: 11px 16px;
  white-space: normal;
}
:is(.interior-page, .homepage-offers) .content-hero-app {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 0;
}

.interior-offers {
  padding-block: clamp(19px, 2.6vw, 33px) 0;
}
.interior-offers .public-offers {
  margin: 0;
  padding: clamp(15px, 2.5vw, 29px);
  border: 1px solid #d4e0fa;
  border-radius: var(--radius);
  background: #f5f8ff;
  color: var(--ink);
}
.interior-offers .public-offers h2 {
  margin: 0 0 4px;
  scroll-margin-top: 20px;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.15;
}
.interior-offers .offers-lead {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.interior-offers .offers-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
  padding: 0;
  margin: 16px 0;
  list-style: none;
}
.interior-offers .offers-card {
  min-width: 0;
  min-height: 0;
  padding: clamp(11px, 1.55vw, 19px);
  border: 1px solid #dbe4f5;
  border-radius: 13px;
  background: #fff;
}
.interior-offers .offers-card h3 {
  font-size: clamp(14px, 1.4vw, 17px);
  margin: 0 0 6px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.interior-offers .offers-card .offers-amount {
  font-size: clamp(17px, 2vw, 27px);
  line-height: 1.18;
  letter-spacing: -.025em;
  margin: 0 0 7px;
  color: #2444bd;
}
.interior-offers .offers-card .offers-note {
  font-size: 14px;
  line-height: 1.42;
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.interior-offers .offers-terms { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.interior-offers .offers-register {
  width: auto;
  min-height: 44px;
  padding: 9px 14px;
  font-size: 14px;
}
:is(.interior-page, .homepage-offers) .article-story,
:is(.interior-page, .homepage-offers) .local-home-content {
  padding-block-start: clamp(32px, 4.2vw, 61px);
}
:is(.interior-page, .homepage-offers) .article-rail {
  max-height: calc(100dvh - 135px);
  overflow: auto;
  overscroll-behavior: contain;
}
:is(.interior-page, .homepage-offers) .article-rail-help { flex-wrap: wrap; }

@media (max-width: 900px) {
  html:has(:is(.interior-page, .homepage-offers)) { scroll-padding-top: 89px; }
  :is(.interior-page, .homepage-offers) .content-home-hero .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 21px; }
  :is(.interior-page, .homepage-offers) .site-header .header-offers { margin-inline-start: auto; }
  :is(.interior-page, .homepage-offers) .header-cta { margin-left: 0; }
  :is(.interior-page, .homepage-offers) .menu-button { margin-left: 0; flex-shrink: 0; }
  :is(.interior-page, .homepage-offers) .main-nav { gap: 0; }
}
@media (max-width: 760px) {
  .interior-offers .offers-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  :is(.interior-page, .homepage-offers) .sticky-cta:not(.is-at-primary) { background: #fff; }
  html:has(:is(.interior-page, .homepage-offers)) { scroll-padding-bottom: calc(91px + env(safe-area-inset-bottom)); }
  :is(.interior-page, .homepage-offers) .header-inner { gap: 8px; }
  :is(.interior-page, .homepage-offers) .site-header .header-offers { gap: 6px; padding-inline: 9px; font-size: 13px; }
  .interior-offers .public-offers { border-radius: 18px; }
}
@media (max-width: 430px) {
  :is(.interior-page, .homepage-offers) .content-hero-actions { display: grid; grid-template-columns: minmax(0,1fr); justify-items: start; gap: 3px; }
  :is(.interior-page, .homepage-offers) .content-hero-actions .hero-cta { width: 100%; }
  .interior-offers .offers-list { gap: 8px; margin-block: 13px; }
}
@media (max-width: 359px) {
  :is(.interior-page, .homepage-offers) .sticky-cta .button { font-size: 14px; min-height: 48px; padding-inline: 10px; }
  :is(.interior-page, .homepage-offers) .site-header .header-offers { padding-inline: 8px; font-size: 12px; }
  :is(.interior-page, .homepage-offers) .header-offers .icon { display: none; }
  .interior-offers .offers-card { padding-inline: 8px; }
  .interior-offers .offers-card .offers-note { font-size: 13px; }
}


.content-home-hero {padding-block: clamp(32px, 5vw, 76px) clamp(30px, 4vw, 64px);}
.content-home-hero .hero-grid {align-items: center; gap: clamp(25px, 4vw, 58px); grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); min-height: 0; padding-block: 0;}
.content-home-hero .hero-copy {min-width: 0;}
.content-home-hero h1 {font-size: clamp(32px, 3.15vw, 54px); line-height: 1.12; letter-spacing: -.045em; margin-block: 16px;}
.content-home-hero .hero-lead {max-width: 58ch; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; margin: 0; color: var(--muted);}
.content-trail {display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; line-height: 1.45; color: var(--muted);}
.article-byline {font-size: 14px; color: var(--muted); margin: 17px 0 0;}
.content-hero-actions {display: flex; align-items: center; gap: 12px 22px; flex-wrap: wrap; margin-top: 22px;}
.content-hero-actions .hero-cta {margin: 0; white-space: nowrap; width: auto;}
.content-hero-app {font-size: 15px; font-weight: 650; padding-block: 12px;}
.article-hero-figure {margin: 0; min-width: 0;}
.article-hero-figure img {width: 100%; border-radius: var(--radius); border: 1px solid #dce4f3; background: #edf2ff; aspect-ratio: 1200 / 676; height: auto;}
.article-hero-figure figcaption {margin-top: 10px; font-size: 14px; color: var(--muted);}
.article-story {padding-block: clamp(30px, 5vw, 70px) 34px;}
.article-story .read-layout {display: grid; grid-template-columns: minmax(0, 760px) minmax(240px, 1fr); gap: clamp(28px, 5vw, 88px); align-items: start;}
.article-story article {min-width: 0; font-size: 18px; line-height: 1.65;}
.article-story article > section {padding: 0; margin: 0 0 30px;}
.article-story h2 {font-size: clamp(24px, 2.1vw, 34px); letter-spacing: -.025em; line-height: 1.18; margin: 0 0 .55em;}
.article-story p {margin: 0 0 1rem; max-width: 69ch;}
.article-story li + li {margin-top: .45em;}
.article-rail {position: sticky; top: 112px; border: 1px solid var(--line); border-radius: var(--radius); background: #f7f9ff; padding: 22px 20px; font-size: 15px; line-height: 1.55;}
.article-rail h2 {font-size: 20px;}
.article-story nav ul {margin: 0; padding-left: 1.15em;}
.article-story nav a {display: inline-block; padding-block: 4px;}
.article-story .article-toc {display: none;}
.article-story details {background: #f7f9ff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; padding: 4px 16px;}
.article-story summary {cursor: pointer; font-weight: 650; padding: 12px 0;}
.article-story details > :not(summary) {margin-bottom: 12px;}
.article-story .article-video {padding: clamp(16px, 3vw, 25px); background: #f7f9ff; border: 1px solid var(--line); border-radius: var(--radius);}
.article-story .article-video video {display: block; width: 100%; height: auto; aspect-ratio: 1200 / 676; border-radius: 12px; background: #edf2ff; margin-block: 12px;}
.article-story .article-transcript h3 {font-size: 18px; margin-block: 12px 4px;}
.article-story .article-transcript ol {margin-block: 0; padding-left: 1.4em;}
.article-home-offers {padding-block: 0 clamp(36px, 5vw, 72px);}
@media (max-width: 900px) {
 .content-home-hero .hero-grid {grid-template-columns: minmax(0,1fr);}
 .content-home-hero .hero-copy {text-align: left; max-width: none;}
 .content-home-hero .hero-lead {margin-inline: 0;}
 .article-hero-figure {max-width: 620px;}
 .article-story .read-layout {display: block;}
 .article-story .article-toc {display: block;}
 .article-rail {display: none;}
 .article-story .article-toc a {padding-block: 8px;}
}
@media (max-width: 650px) {
 .content-home-hero h1 {font-size: clamp(29px, 8vw, 40px); margin-block: 11px;}
 .content-hero-actions {margin-top: 18px;}
 .content-hero-actions .hero-cta {min-height: 48px; font-size: 15px; padding: 10px 14px; gap: 8px;}
 .article-story article {font-size: 17px;}
 .article-story .article-toc summary {min-height: 44px;}
}

.article-rail .article-rail-help{position:static;display:flex;width:100%;justify-content:center;min-height:44px;padding:8px 12px;margin-top:16px;box-shadow:none;line-height:1.25}

.shift-preview-content .p15-section {
  margin-block: 0 28px;
  padding-block: 0 22px;
  border-bottom: 1px solid var(--line);
}
.shift-preview-content .p15-actions,
.article-story .p15-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}
.shift-preview-content[data-catalog] {
  width: 100%;
}
.shift-preview-content .p15-filter {
  padding: 14px 0;
}
.shift-preview-content .p15-filter label {
  display: block;
  margin-block: 8px;
}
.shift-preview-content :is(input[type=search],select) {
  display: block;
  max-width: 100%;
  min-height: 44px;
  border: 1px solid #8293b3;
  border-radius: 9px;
  padding: 8px 12px;
  background: #fff;
  font: inherit;
}
.shift-preview-content .p15-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(min(100%,240px),1fr));
  gap: 12px;
}
.shift-preview-content .p15-item {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.shift-preview-content .p15-item h3 {
  margin-block-start: 0;
}
.shift-preview-content .p15-category {
  color: var(--muted);
}
.shift-preview-content .p15-filter button,
.shift-preview-content .p15-pager button {
  margin: 6px 8px 6px 0;
  min-height: 44px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--pale);
  color: var(--blue-dark);
  font: inherit;
}
.shift-preview-content .kazan-route-list li p {
  margin-block: 3px 10px;
}
.shift-preview-content [hidden] {
  display: none !important;
}
.shift-article-settings [id] {
  scroll-margin-top: 20px;
}
.shift-article-settings .article-preview-actions {
  display: none;
}

.service-app-image {
  display: grid;
  place-items: center;
  padding: 15px 18px;
  background: #e3ebff;
  border: 1px solid #dce4f3;
  border-radius: var(--radius);
}
.article-hero-figure .service-app-phone {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 325px;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
}
@media (max-width: 650px) {
  .article-hero-figure .service-app-phone { max-height: 280px; }
}

.article-story .worker-example table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  overflow-wrap: anywhere;
}
.article-story .worker-example :is(th,td) {
  border: 1px solid var(--line);
  padding: clamp(5px,1vw,12px);
  text-align: start;
  vertical-align: top;
}
@media (max-width: 480px) {
  .article-story .worker-example table { font-size: 0.83em; }
}

[data-historical-fragment] {
  scroll-margin-top: 7rem;
}
span[data-historical-fragment] {
  display: block;
}

.interior-page .content-hero-actions .content-hero-app.button {
  display: inline-flex;
  gap: 8px;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  padding-inline: 24px;
  min-height: 48px;
}
.interior-page .content-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  min-height: 44px;
  color: var(--blue-dark);
  text-underline-offset: .2em;
  text-decoration: underline;
  font-weight: 700;
}
.content-hero-secondary .icon, .p15-control .icon { width: 18px; height: 18px; flex: none; }
.interior-page .footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 24px;
  text-align: center;
}
.interior-page .footer-main .brand, .interior-page .footer-main p { margin: 0 auto; }
.interior-page .footer-main p { flex: 0 0 100%; }
.interior-page #smena-content-links { text-align: center; }
.interior-page #smena-content-links nav { justify-content: center; }

.catalog-hero .service-app-image {
  box-sizing: border-box;
  width: min(100%, 256px);
  margin-inline: auto;
  padding: 5px 0;
  background: #eaf0fd;
}

.catalog-hero .article-hero-figure .service-app-phone {
  aspect-ratio: 900 / 1289;
  width: auto;
  height: clamp(245px, 43vw, 350px);
  max-height: none;
  max-width: 100%;
  object-fit: contain;
}
.p15-search-section {
  margin-block: 0 28px;
  padding: clamp(12px, 2.4vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--pale);
}
.p15-search-section h2 { margin: 0 0 8px; }
.p15-search-section .p15-filter {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  align-items: end;
  gap: 9px 14px;
  padding: 0;
}
.p15-search-section .p15-filter label { margin: 0; min-width: 0; }
.p15-search-section .p15-filter :is(input, select) { width: 100%; margin-top: 6px; }
.p15-search-section .p15-filter button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}
.p15-search-section .p15-filter [type=submit] { background: var(--blue-dark); color: #fff; }

@media (min-width: 901px) and (max-width: 1180px) {
  body.interior-page .header-inner { position: relative; gap: 16px; }
  body.interior-page .header-inner .header-offers { margin-inline-start: auto; }
  body.interior-page .header-inner .menu-button { display: block !important; flex: none; margin: 0; }
  body.interior-page .header-inner .main-nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto auto;
    min-width: 205px;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 8px 24px #18233724;
    padding: 8px;
  }
  body.interior-page .header-inner .main-nav.is-open { display: flex !important; }
  body.interior-page .header-inner .main-nav a { padding: 11px 14px; }
  body.interior-page .header-inner .header-cta { flex: none; white-space: nowrap; }
}

@media (max-width: 768px) {
  body.interior-page { padding-bottom: max(75px, calc(70px + env(safe-area-inset-bottom))); }
  body.interior-page:not([data-worker-dock-visible]) .sticky-cta:not(:focus-within) { display: none; }
  body.interior-page[data-worker-dock-visible] .sticky-cta,
  body.interior-page .sticky-cta:focus-within {
    position: fixed;
    inset: auto 0 0;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    padding: 8px 9px calc(8px + env(safe-area-inset-bottom));
    background: #fff;
    border-block-start: 1px solid var(--line);
    box-shadow: 0 -3px 20px #1823371a;
    pointer-events: auto;
  }
  body.interior-page .sticky-cta :is([data-app-cta], .mobile-contact) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 48px;
    height: auto;
    width: 100%;
    margin: 0;
    padding: 6px 7px;
    font-size: clamp(13px, 3.9vw, 16px);
    line-height: 1.12;
    white-space: normal;
    text-align: center;
  }
  body.interior-page .sticky-cta .mobile-contact .icon { flex: none; width: 15px; height: 15px; }
  body.interior-page .sticky-cta .mobile-contact span { display: inline; }
  .catalog-hero .article-hero-figure .service-app-phone { height: clamp(245px, 85vw, 350px); }
}

@media (max-width: 430px) {
  .interior-page .content-hero-actions .content-hero-app.button { width: 100%; }
}

body.interior-page { padding-block-start: var(--worker-header-height, 89px); }
body.interior-page > .site-header { position: fixed; inset: 0 0 auto; }
body.interior-page :is(main [id], footer [id]) {
  scroll-margin-block-start: calc(var(--worker-header-height, 89px) + 12px);
}
@media (max-width: 900px) {
  body.interior-page { padding-block-start: var(--worker-header-height, 75px); }
}

.places-section { margin-block: 0 clamp(32px, 5vw, 64px); }
.places-map {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.places-map summary {
  padding: clamp(14px, 2.4vw, 22px);
  min-height: 48px;
  font-size: clamp(17px, 2.2vw, 23px);
  font-weight: 750;
  cursor: pointer;
}
.places-map summary::marker { color: var(--blue-dark); }
.places-map-body { padding: 0 clamp(14px, 2.4vw, 22px) 18px; }
.places-map-description, .places-map-precision, .places-map-pending, .places-map-network { color: var(--muted); }
.places-map-description { margin: 10px 0; }
.places-map-list {
  max-height: 15rem;
  overflow-y: auto;
  margin: 8px 0 0;
  padding: 0 6px 0 24px;
  overflow-wrap: anywhere;
}
.places-map-list li { padding: 7px 4px; border-bottom: 1px solid var(--line); }
.places-map-list li[data-place-selected] { background: var(--pale); }
.places-map-list strong { display: block; }
.places-map-precision { display: block; font-size: 0.875rem; }
.places-map-focus {
  border: 0; padding: 0; min-height: 36px;
  color: var(--blue-dark); background: transparent;
  text-decoration: underline; font: inherit; cursor: pointer;
}
.places-map-surface {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: clamp(220px,32vw,340px);
  background: var(--pale);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.places-map-tiles, .places-map-markers { position: absolute; inset: 0; }
.places-map-tiles img { position: absolute; max-width: none; }
.places-map-tiles img[hidden] { display: none; }
.places-map-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
  min-width: 32px; min-height: 32px;
  border: 2px solid #fff; border-radius: 999px;
  background: var(--blue-dark); color: #fff;
  font: inherit; font-size: 0.82rem; font-weight: 750;
  cursor: pointer;
}
.places-map-marker[hidden] { display: none; }
.places-map-marker[aria-pressed="true"] { background: var(--ink); z-index: 1; }
.places-map-controls { display: flex; flex-wrap: wrap; gap: 7px; margin-block: 8px; }
.places-map-controls button {
  min-width: 44px; min-height: 44px; padding: 5px 10px;
  border: 1px solid var(--line); border-radius: 9px;
  color: var(--blue-dark); background: var(--pale);
  font: inherit; font-weight: 650; cursor: pointer;
}
.places-map-selected { margin: 4px 0; }
.places-map-attribution {
  position: absolute; right: 0; bottom: 0; z-index: 2;
  padding: 2px 6px; border-radius: 6px 0 0 0;
  background: rgb(255 255 255 / 95%); font-size: 0.75rem;
}
.places-map-network { margin: 7px 0; font-size: 0.8rem; }

/* The article opening uses the approved home hero grid and palette. */
.article-home-hero {
  background: linear-gradient(115deg, #f6f9ff 25%, #e9f0ff 100%);
  padding-block: clamp(32px, 5vw, 72px);
}
.interior-page .article-home-hero .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(28px, 4vw, 50px);
  min-height: clamp(360px, 34vw, 470px);
}
.interior-page .article-home-hero .hero-copy { text-align: left; }
.interior-page .article-home-hero .hero-copy h1 {
  margin-block: 14px 18px;
  font-size: clamp(40px, 3.75vw, 60px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.042em;
}
.article-home-hero .hero-copy .hero-lead {
  color: #43536a;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
  max-width: 52ch;
}
.interior-page .article-home-hero .content-hero-actions .content-hero-app.button {
  min-height: 54px;
  font-size: 16px;
}
.article-home-hero .content-hero-actions { gap: 8px 18px; }
.article-home-hero .article-toc {
  margin-block-start: 10px;
  max-width: 52ch;
  color: var(--ink);
}
.article-home-hero .article-toc summary {
  width: fit-content;
  min-height: 44px;
  padding-block: 10px;
  cursor: pointer;
  font-weight: 700;
}
.article-home-hero .article-toc summary::marker { color: var(--blue-dark); }
.article-home-hero .article-toc ul {
  margin-block: 0 12px;
  padding-inline-start: 22px;
  list-style: disc;
}
.article-home-hero .article-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.article-home-hero .article-hero-figure {
  width: 100%;
  max-width: 620px;
  margin-inline: auto;
}
.article-cover-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  padding: clamp(20px, 3.2vw, 48px) clamp(6px, 1.2vw, 16px);
}
.article-cover-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(74%, 410px);
  aspect-ratio: 1;
  transform: translateY(-5%);
  pointer-events: none;
  border-radius: 50%;
  border: 1px solid #cddaff;
  background: #dce7ff;
}
.article-home-hero .article-cover-stage img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  box-shadow: 0 18px 34px rgba(35, 57, 100, .15);
}
.article-home-hero .article-hero-figure figcaption {
  position: relative;
  margin: 8px auto 0;
  max-width: 55ch;
  text-align: center;
}

@media (max-width: 900px) {
  .interior-page .article-home-hero .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    gap: 12px;
  }
  .interior-page .article-home-hero .hero-copy h1 {
    font-size: clamp(32px, 5.2vw, 48px);
  }
}

@media (max-width: 650px) {
  .article-home-hero { padding-block: 24px 29px; }
  .interior-page .article-home-hero .hero-copy h1 {
    margin-block: 12px 14px;
    font-size: clamp(29px, 8.5vw, 40px);
  }
  .article-home-hero .hero-copy .hero-lead { font-size: 17px; }
  .interior-page .article-home-hero .content-hero-actions .content-hero-app.button { min-height: 48px; }
  .article-home-hero .article-toc { margin-block-start: 4px; }
  .article-cover-stage { padding: clamp(16px, 4.8vw, 28px) 2px; }
}

/* Keep both article actions above the fold on a short, narrow screen. */
@media (scripting: none) and (max-width: 1180px) {
  body.interior-page > .site-header { position: static !important; }
  body.interior-page .header-inner { flex-wrap: wrap; }
  body.interior-page .header-inner .menu-button { display: none !important; }
  body.interior-page .header-inner .main-nav {
    display: flex !important;
    position: static !important;
    flex: 1 1 100%;
    flex-flow: row wrap;
    order: 10;
    gap: 4px 12px;
    min-width: 0;
  }
}

@media (max-width: 380px) and (max-height: 700px) {
  .interior-page .article-home-hero { padding-block-start: 10px; }
  .interior-page .article-home-hero .hero-copy h1 {
    margin-block: 6px 8px;
    font-size: 27px;
    line-height: 1.08;
  }
  .interior-page .article-home-hero .hero-lead {
    font-size: 16px;
    line-height: 1.35;
    margin-block: 6px 10px;
  }
  .interior-page .article-home-hero .content-hero-actions { margin-top: 6px; gap: 4px; }
}
