html,
body.main-page,
.news-feed-list,
.news-detail-body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body.main-page::-webkit-scrollbar,
.news-feed-list::-webkit-scrollbar,
.news-detail-body::-webkit-scrollbar {
  display: none;
}

body.main-page {
  position: relative;
  overflow-y: auto;
  background: #f6f4ef;
  padding-top: 0;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  overscroll-behavior-y: contain;
}

.site-breathing-wall {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.site-breathing-wall canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.page-load-reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 820ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

body.main-page.is-page-ready .page-load-reveal {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .page-load-reveal,
  body.main-page.is-page-ready .page-load-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.main-page .page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 50px 0 12px;
}

.main-corner-anchor {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
}

.main-corner-asset {
  display: block;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.main-corner-asset {
  width: clamp(500px, 10vw, 500px);
  max-width: 18vw;
}

.page-login-link {
  position: fixed;
  bottom: clamp(22px, 3vw, 34px);
  left: clamp(18px, 2.6vw, 32px);
  z-index: 160;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 1.5px solid #ff8434;
  border-radius: 999px;
  background: transparent;
  color: #ff8434;
  text-decoration: none;
  box-shadow: none;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.page-login-link:hover,
.page-login-link:focus-visible {
  background: rgba(255, 132, 52, 0.12);
  border-color: #ff8434;
  color: #ff8434;
  transform: translateY(-1px);
  box-shadow: none;
  outline: none;
}

.page-login-icon {
  width: 26px;
  height: 26px;
  display: block;
}

.main-shell {
  width: calc(100vw - 100px);
  min-height: calc(100vh - 100px);
  display: grid;
  gap: clamp(20px, 3vw, 34px);
  padding-bottom: clamp(10px, 1.4vw, 16px);
  padding-left: clamp(100px, 3vw, 42px);
  padding-right: clamp(100px, 3vw, 42px);
  position: relative;
}

.main-stage-top {
  position: relative;
  z-index: 140;
  min-height: clamp(56px, 6vw, 82px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-brand-lockup {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
}

.main-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.main-logo-corner {
  display: block;
  width: clamp(126px, 11vw, 184px);
  max-width: 24vw;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.main-page .nav-link {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(16px, 1.15vw, 18px);
}

.main-page .nav-link::after {
  background: #ffffff;
}

.main-page .nav-link:hover,
.main-page .nav-link[aria-current="page"] {
  color: #ffffff;
}

.main-page .site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.8vw, 26px);
  flex-wrap: wrap;
}

.header-quote-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-left: clamp(4px, 0.8vw, 12px);
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #fff9f0;
  text-decoration: none;
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.header-quote-button:hover,
.header-quote-button:focus-visible {
  border-color: #ffffff;
  background: #ffffff;
  color: #e8742f;
  outline: none;
}

.news-page-title {
  margin: 0;
  text-align: center;
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  font-size: clamp(42px, 6vw, 88px);
  line-height: 0.94;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff9f0;
  text-shadow: 0 14px 30px rgba(120, 54, 0, 0.18);
}

.news-main-panel {
  width: 100%;
  min-height: calc(100vh - 190px);
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.news-workspace {
  width: min(1320px, 100%);
  min-height: calc(100vh - 190px);
  border: 2px solid #ff8434 !important;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 26px 50px rgba(128, 56, 0, 0.14);
  backdrop-filter: blur(10px);
  padding: clamp(18px, 2vw, 28px);
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
  gap: clamp(18px, 2vw, 26px);
  overflow: hidden;
}

.news-feed-panel {
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 16px;
  padding-right: clamp(4px, 0.6vw, 10px);
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.news-detail-panel {
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  gap: 16px;
  padding-left: clamp(4px, 0.4vw, 10px);
}

.news-panel-kicker {
  margin: 0;
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff9f0;
}

.news-status {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 249, 240, 0.78);
}

.news-feed-list {
  min-height: 0;
  overflow-y: auto;
  display: grid;
  gap: 0;
  padding-right: 6px;
}

.news-feed-item {
  /* Preserve the former button typography when article cards become links. */
  font: 400 13.3333px Arial, sans-serif;
  text-decoration: none;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.08);
  padding: 18px;
  margin-bottom: 12px;
  display: grid;
  gap: 12px;
  text-align: left;
  cursor: pointer;
  color: inherit;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.news-feed-item:hover,
.news-feed-item:focus-visible {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
  outline: none;
  box-shadow: 0 14px 28px rgba(128, 56, 0, 0.12);
}

.news-feed-item.is-active {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 32px rgba(128, 56, 0, 0.16);
}

.news-feed-item:last-child {
  margin-bottom: 0;
}

.news-feed-title {
  margin: 0;
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.08;
  color: #fff9f0;
}

.news-feed-summary {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 249, 240, 0.8);
}

.news-detail-surface,
.news-empty {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 38px rgba(128, 56, 0, 0.12);
  backdrop-filter: blur(10px);
}

.news-detail-surface {
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  gap: 16px;
  padding: clamp(20px, 2.2vw, 30px);
}

.news-detail-body {
  min-height: 0;
  overflow-y: auto;
  display: grid;
  gap: 14px;
  padding-right: 8px;
}

.news-detail-image-wrap,
.news-feed-image-wrap {
  overflow: hidden;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.news-detail-image,
.news-feed-image {
  display: block;
  width: 100%;
  object-fit: cover;
}

.news-detail-image {
  aspect-ratio: 16 / 6.5;
}

.news-feed-image {
  aspect-ratio: 16 / 8.8;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 249, 240, 0.66);
}

.news-detail-title {
  margin: 0;
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.04;
  color: #fff9f0;
}

.news-detail-summary {
  margin: 0;
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.78;
  color: rgba(255, 249, 240, 0.86);
}

.news-detail-body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 249, 240, 0.82);
}

.news-empty {
  padding: 28px;
  display: grid;
  place-items: center;
  text-align: center;
  color: rgba(255, 249, 240, 0.82);
}

.main-scene-panel {
  display: none;
}

@media (max-width: 960px) {
  .main-shell {
    width: calc(100vw - 100px);
    min-height: calc(100vh - 100px);
  }

  .news-page-section {
    min-height: calc(100vh - 100px);
  }

  .main-brand-lockup {
    position: relative;
    transform: none;
    justify-self: start;
  }

  .main-stage-top {
    min-height: auto;
    display: grid;
    justify-items: center;
    gap: 14px;
  }

  .main-page .site-nav {
    gap: 12px 20px;
    justify-self: center;
  }

  .header-quote-button {
    min-height: 34px;
    margin-left: 0;
    padding: 0 12px;
    font-size: 11px;
  }

  .news-workspace {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .news-feed-panel {
    min-height: 280px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    padding-right: 0;
    padding-bottom: 18px;
  }

  .news-detail-panel {
    padding-left: 0;
  }
}

@media (max-width: 720px) {
  body.main-page {
    scroll-snap-type: none;
  }

  .main-page .page {
    padding: 24px 0 8px;
  }

  .main-shell {
    width: calc(100vw - 20px);
    min-height: calc(100vh - 32px);
    padding-left: 12px;
    padding-right: 12px;
  }

  .main-corner-anchor,
  .news-section-dots {
    display: none;
  }

  .main-stage-top {
    justify-items: stretch;
  }

  .main-page .site-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 12px;
  }

  .nav-dropdown {
    width: 100%;
    display: grid;
    gap: 8px;
  }

  .nav-dropdown::before {
    display: none;
  }

  .nav-dropdown-menu {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    min-width: 0;
    width: 100%;
    padding: 8px;
    gap: 6px;
    opacity: 1;
    visibility: visible;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: none;
    backdrop-filter: none;
  }

  .nav-link,
  .nav-dropdown-link {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 14px;
    border-radius: 18px;
    text-align: center;
  }

  .nav-link {
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.08);
  }

  .news-workspace {
    min-height: calc(100vh - 164px);
    padding: 16px;
  }

  .news-feed-panel,
  .news-detail-panel {
    padding-left: 0;
    padding-right: 0;
  }
}

.main-stage-top {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  min-height: auto;
  display: block;
}

.site-header-inner {
  width: 100%;
  min-height: clamp(56px, 6vw, 82px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(28px, 3vw, 56px);
}

.main-brand-lockup {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  min-height: clamp(56px, 6vw, 82px);
  display: flex;
  align-items: center;
  justify-self: start;
}

.main-page .site-nav {
  justify-self: center;
}

.site-header-action {
  justify-content: flex-end;
}

.header-quote-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 9px 18px;
  border: 1px solid #e8742f;
  border-radius: 999px;
  background: #e8742f;
  color: #ffffff;
  text-decoration: none;
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.header-quote-button:hover,
.header-quote-button:focus-visible {
  border-color: #d76522;
  background: #d76522;
  color: #ffffff;
  outline: none;
}

@media (max-width: 960px) {
  .site-header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand quote"
      "nav nav";
    row-gap: 14px;
    column-gap: 16px;
  }

  .main-brand-lockup {
    grid-area: brand;
  }

  .main-page .site-nav {
    grid-area: nav;
  }

  .site-header-action {
    grid-area: quote;
    min-height: auto;
  }

  .header-quote-button {
    min-height: 0;
    padding: 9px 16px;
    font-size: 11px;
  }
}
  
.page-static-style-1 { --reveal-delay: 60ms; }
.page-static-style-2 { --reveal-delay: 40ms; }
.page-static-style-3 { --reveal-delay: 120ms; }
.page-static-style-4 { --reveal-delay: 180ms; }
.page-static-style-5 { --reveal-delay: 260ms; }

/* Read the selected article first when the newsroom becomes one column. */
@media (max-width: 960px) {
  .page-login-link {
    position: static;
    justify-self: end;
  }

  .main-page .main-shell {
    width: 100%;
    min-height: 0;
    padding-right: 20px;
    padding-left: 20px;
  }

  .news-main-panel,
  .news-workspace,
  .news-feed-panel {
    min-height: 0;
  }

  .news-workspace {
    grid-template-columns: minmax(0, 1fr);
    padding: 18px;
    gap: 28px;
  }

  .news-detail-panel {
    order: -1;
    scroll-margin-top: calc(var(--mobile-site-header-height, 64px) + env(safe-area-inset-top) + 20px);
  }

  .news-feed-panel,
  .news-detail-panel,
  .news-detail-surface,
  .news-feed-item {
    min-width: 0;
  }

  .news-feed-panel {
    border: 0;
    border-top: 1px solid rgba(31, 41, 51, 0.16);
    padding: 24px 0 0;
  }

  .news-feed-list,
  .news-detail-body {
    padding-right: 0;
    overflow: visible;
  }

  .news-detail-surface {
    padding: 18px;
  }

  .news-detail-image {
    aspect-ratio: 16 / 9;
  }

  .news-detail-title,
  .news-feed-title,
  .news-detail-body,
  .news-meta {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 480px) {
  .main-page .main-shell {
    padding-right: 16px;
    padding-left: 16px;
  }

  .news-workspace {
    padding: 12px;
  }

  .news-detail-surface,
  .news-feed-item {
    padding: 14px;
  }

  .news-detail-title {
    font-size: clamp(26px, 7vw, 32px);
  }
}
