.container {
  width: min(calc(100% - 2rem), var(--container-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(0, 0, 0, 0.88);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  min-height: 6rem;
}

.hero-section {
  position: relative;
  z-index: 1;
  min-height: 46rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #161616;
}

.hero-media::before {
  content: none;
}

.hero-media::after {
  content: none;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 7rem 0 5rem;
}

.section {
  position: relative;
  z-index: 1;
  padding: var(--space-4xl) 0;
}

.latest-articles-section {
  z-index: 2;
  margin-top: 750px;
  padding-top: 0;
}

.hero-decor {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.hero-decor img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-decor-rectangle-7 {
  top: calc(46rem + 50px);
  left: 0;
  width: 467px;
}

.latest-articles-container {
  width: min(calc(100% - 2.5rem), 1612px);
}

.section > .container,
.site-footer > section > .container {
  position: relative;
  z-index: 1;
}

main {
  position: relative;
  isolation: isolate;
}

main::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../assets/textures/paper-overlay-tile.png');
  background-repeat: repeat;
  background-size: 280px 280px;
  opacity: 0.58;
  filter: contrast(1.08) brightness(0.98);
  pointer-events: none;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.section-cta-row {
  margin-top: var(--space-2xl);
  display: flex;
  justify-content: center;
}

.featured-section,
.dark-section,
.site-footer {
  background: var(--color-background);
}

.paper-surface::before {
  content: none;
}

.light-section {
  background: var(--color-surface-light);
  color: var(--color-text-dark);
}

.accent-section {
  background: var(--color-surface-cream);
  color: var(--color-text-dark);
}

.latest-articles-section {
  background: transparent;
}

.newsletter-band {
  background: var(--color-surface-dark);
  padding: var(--space-3xl) 0;
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.footer-main {
  padding: var(--space-3xl) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: var(--space-2xl);
  align-items: start;
}

@media (max-width: 900px) {
  .section-heading-row,
  .newsletter-inner,
  .footer-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .header-inner {
    min-height: 5rem;
  }

  .hero-section {
    min-height: 34rem;
  }

  .hero-decor-rectangle-7 {
    top: calc(34rem + 50px);
    width: 38vw;
    min-width: 180px;
  }
}
