.articles-page {
  isolation: isolate;
}

.articles-topbar {
  margin-bottom: 0.5rem;
}

.articles-hero {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: 2rem;
  align-items: center;
}

.articles-hero-copy h1 {
  max-width: 12ch;
}

.articles-hero-visual {
  display: flex;
  justify-content: center;
}

.channel-mockup-card {
  position: relative;
  width: min(100%, 30rem);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.channel-mockup-card::before {
  content: "";
  position: absolute;
  inset: 7% 7% 9%;
  border-radius: 50% 50% 44% 44%;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 42%),
    radial-gradient(circle at 50% 62%, rgba(224, 232, 221, 0.78), rgba(224, 232, 221, 0) 68%);
  filter: blur(12px);
  z-index: 0;
}

.channel-mockup-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 94%;
  height: auto;
  border-radius: 0;
  filter: drop-shadow(0 1.4rem 2.2rem rgba(77, 63, 47, 0.16));
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 62%, rgba(0, 0, 0, 0.9) 74%, rgba(0, 0, 0, 0.55) 86%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 62%, rgba(0, 0, 0, 0.9) 74%, rgba(0, 0, 0, 0.55) 86%, transparent 100%);
}

.articles-top-posts {
  position: relative;
  padding-top: 0.4rem;
}

.articles-top-posts .section-heading {
  max-width: 42rem;
}

.articles-top-posts-floating-visual {
  position: absolute;
  top: 0;
  right: 3rem;
  margin: 0;
  width: min(100%, 18rem);
  pointer-events: none;
}

.articles-top-posts-floating-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.articles-card {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.articles-card h3 {
  margin: 0;
  font-size: 1.16rem;
}

.articles-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.articles-topics {
  border-radius: 16px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.74), transparent 42%),
    linear-gradient(135deg, rgba(200, 212, 199, 0.48), rgba(244, 240, 233, 0.92));
  border: 1px solid var(--line);
  padding: 2rem;
}

.topics-list {
  display: grid;
  gap: 1rem;
}

.topic-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(125, 157, 130, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.56);
}

.topic-check {
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  background: rgba(125, 157, 130, 0.16);
  color: var(--accent-strong);
  font-weight: 800;
}

.topic-item p {
  margin: 0;
  line-height: 1.75;
}

.articles-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.74), transparent 42%),
    linear-gradient(135deg, rgba(200, 212, 199, 0.36), rgba(255, 253, 248, 0.94));
  box-shadow: var(--shadow);
}

.articles-cta .section-heading {
  margin-bottom: 0;
}

.articles-cta-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  align-self: stretch;
}

.articles-cta-visual {
  margin: 0;
  width: min(100%, 24rem);
}

.articles-cta-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.articles-cta-button {
  min-width: 16rem;
  min-height: 3.5rem;
  font-weight: 700;
}

@media (max-width: 960px) {
  .articles-grid,
  .articles-hero,
  .articles-cta {
    grid-template-columns: 1fr;
  }

  .articles-top-posts-floating-visual {
    position: static;
    width: min(100%, 13rem);
    margin: 0 auto 1rem;
  }

  .articles-cta {
    display: grid;
  }

  .articles-cta-aside {
    align-items: center;
  }
}

@media (max-width: 720px) {
  .articles-hero {
    gap: 0.95rem;
  }

  .articles-hero-copy h1 {
    max-width: none;
    font-size: clamp(2.15rem, 9.8vw, 2.9rem);
    line-height: 1.03;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .articles-card,
  .articles-cta {
    padding: 1.2rem;
  }

  .articles-topics {
    padding: 1.2rem;
  }

  .articles-cta-visual {
    width: min(100%, 14rem);
  }

  .articles-cta-button {
    width: 100%;
    min-width: 0;
  }
}
