.blog-page main {
  background:
    radial-gradient(circle at 78% 12%, rgba(8, 174, 100, .08), transparent 280px),
    radial-gradient(circle at 18% 38%, rgba(22, 136, 255, .06), transparent 260px),
    linear-gradient(180deg, #fff 0%, #fbfdff 48%, #fff 100%);
}

.blog-hero {
  overflow: hidden;
  border-bottom: 1px solid #e4ebf3;
  background:
    radial-gradient(circle at 70% 56%, rgba(8, 174, 100, .12), transparent 280px),
    linear-gradient(90deg, #eefaf8 0%, #f8fdff 100%);
}

.blog-hero-inner,
.featured-article,
.article-meta,
.read-link,
.blog-toolbar,
.blog-search,
.topic-tabs,
.topic-tab,
.section-heading,
.article-card,
.article-card footer,
.blog-newsletter-inner,
.blog-newsletter form {
  display: flex;
  align-items: center;
}

.blog-hero-inner {
  min-height: 178px;
  justify-content: space-between;
  gap: 42px;
}

.blog-kicker,
.featured-pill,
.article-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: #eaf9f3;
  color: #009b5c;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.blog-hero h1 {
  margin: 10px 0 6px;
  color: #061738;
  font-size: 40px;
  line-height: 1.05;
  font-weight: 850;
}

.blog-hero p {
  max-width: 560px;
  margin: 0;
  color: #27405f;
  font-size: 15px;
  line-height: 1.5;
}

.blog-hero-art {
  position: relative;
  flex: 0 0 420px;
  height: 170px;
}

.book-stack,
.article-sheet,
.coffee-cup,
.art-bubble {
  position: absolute;
}

.book-stack {
  left: 48px;
  bottom: 34px;
  width: 108px;
  height: 16px;
  border-radius: 4px;
  background: #f5b917;
  box-shadow: 0 -20px 0 #3f86ff, 0 -40px 0 #08ae64;
}

.book-b {
  left: 66px;
  bottom: 22px;
  width: 130px;
  background: #ff8a16;
  box-shadow: none;
}

.article-sheet {
  left: 150px;
  top: 24px;
  width: 106px;
  height: 126px;
  padding: 18px;
  border: 1px solid #dce6f2;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(25, 60, 102, .12);
}

.article-sheet::before {
  content: "";
  display: block;
  width: 38px;
  height: 30px;
  margin-bottom: 14px;
  border-radius: 6px;
  background:
    radial-gradient(circle at 65% 38%, #f5b917 0 12%, transparent 13%),
    linear-gradient(135deg, #31c58d, #55d4ff);
}

.article-sheet i {
  display: block;
  height: 7px;
  margin-bottom: 8px;
  border-radius: 999px;
  background: #cfe0f2;
}

.article-sheet i:nth-child(4) {
  width: 64%;
}

.coffee-cup {
  right: 78px;
  bottom: 32px;
  width: 58px;
  height: 74px;
  border-radius: 0 0 16px 16px;
  background: linear-gradient(180deg, #22b97c, #009b5c);
}

.coffee-cup::before {
  content: "";
  position: absolute;
  right: -22px;
  top: 20px;
  width: 28px;
  height: 28px;
  border: 8px solid #0ba967;
  border-left: 0;
  border-radius: 0 22px 22px 0;
}

.art-bubble {
  right: 30px;
  top: 18px;
  width: 210px;
  height: 140px;
  z-index: -1;
  border-radius: 50%;
  background: rgba(8, 174, 100, .08);
}

.bubble-two {
  left: 110px;
  top: 2px;
  width: 130px;
  height: 90px;
  background: rgba(22, 136, 255, .07);
}

.featured-section {
  margin-top: -1px;
  padding: 18px 0 12px;
}

.featured-article {
  gap: 28px;
  padding: 18px;
  border: 1px solid #dce6f2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(25, 60, 102, .08);
}

.featured-visual {
  position: relative;
  flex: 0 0 470px;
  height: 170px;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(180deg, #bfefff 0%, #ffe5a8 58%, #56bf91 100%);
}

.featured-visual .sun {
  position: absolute;
  left: 80px;
  top: 40px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff1b8;
  box-shadow: 72px -16px 0 10px rgba(255,255,255,.55), 210px 8px 0 14px rgba(255,255,255,.5);
}

.featured-visual .sea {
  position: absolute;
  inset: auto 0 0;
  height: 60px;
  background: repeating-linear-gradient(-8deg, #2b95d6 0 18px, #48b8e8 18px 36px);
}

.featured-visual .rock {
  position: absolute;
  left: 178px;
  bottom: 35px;
  width: 160px;
  height: 55px;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(135deg, #87694a, #5b4739);
}

.featured-visual .tower {
  position: absolute;
  left: 230px;
  bottom: 66px;
  width: 34px;
  height: 86px;
  border-radius: 9px 9px 2px 2px;
  background: repeating-linear-gradient(180deg, #fff 0 18px, #ff625a 18px 30px);
}

.featured-visual .tower::before {
  content: "";
  position: absolute;
  left: -10px;
  right: -10px;
  top: -14px;
  height: 18px;
  border-radius: 4px;
  background: #092449;
}

.featured-visual .tower i {
  position: absolute;
  left: 10px;
  top: 11px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #f5b917;
}

.featured-copy {
  position: relative;
  flex: 1;
  min-width: 0;
}

.featured-copy h2 {
  max-width: 560px;
  margin: 10px 0 8px;
  color: #061738;
  font-size: 28px;
  line-height: 1.12;
  font-weight: 850;
}

.featured-copy p {
  max-width: 590px;
  margin: 0 0 18px;
  color: #48607f;
  font-size: 14px;
  line-height: 1.5;
}

.article-meta {
  gap: 9px;
  color: #48607f;
  font-size: 12px;
  font-weight: 750;
}

.author-dot {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #08ae64, #20cfd0);
  color: #fff;
  font-size: 10px;
  font-weight: 850;
}

.read-link {
  position: absolute;
  right: 0;
  bottom: 0;
  gap: 6px;
  color: #009b5c;
  font-size: 12px;
  font-weight: 850;
}

.articles-section {
  padding: 0 0 20px;
}

.blog-toolbar {
  gap: 14px;
  padding: 12px 0;
}

.blog-search {
  flex: 0 0 420px;
  height: 38px;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid #dce6f2;
  border-radius: 8px;
  background: #fff;
}

.blog-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #071b43;
  font-size: 13px;
}

.topic-tabs {
  gap: 9px;
  flex-wrap: wrap;
}

.topic-tab {
  min-height: 30px;
  padding: 0 13px;
  border: 1px solid #dce6f2;
  border-radius: 999px;
  background: #fff;
  color: #48607f;
  font-size: 12px;
  font-weight: 800;
}

.topic-tab.is-active {
  border-color: #08ae64;
  background: #08ae64;
  color: #fff;
}

.section-heading {
  justify-content: space-between;
  margin: 6px 0 12px;
}

.section-heading h2 {
  margin: 0;
  color: #061738;
  font-size: 20px;
  font-weight: 850;
}

.section-heading a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #009b5c;
  font-size: 12px;
  font-weight: 850;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.article-card {
  align-items: stretch;
  flex-direction: column;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid #dce6f2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(25, 60, 102, .055);
}

.article-image {
  position: relative;
  height: 150px;
  overflow: hidden;
  background: var(--article-bg);
}

.article-image::before,
.article-image::after {
  content: "";
  position: absolute;
  border-radius: 8px;
}

.article-image::before {
  left: 44px;
  bottom: 28px;
  width: 132px;
  height: 78px;
  background: rgba(255,255,255,.72);
}

.article-image::after {
  right: 32px;
  top: 38px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--article-color) 28%, #fff);
}

.article-image span {
  position: absolute;
  z-index: 1;
  display: block;
}

.article-art-home span:nth-child(1) {
  left: 64px;
  bottom: 42px;
  width: 88px;
  height: 62px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 16px 0 #dff4ed;
}

.article-art-home span:nth-child(1)::before {
  content: "";
  position: absolute;
  left: 12px;
  top: -32px;
  width: 64px;
  height: 64px;
  background: #3f86ff;
  transform: rotate(45deg);
}

.article-art-home span:nth-child(2) {
  right: 82px;
  bottom: 38px;
  width: 52px;
  height: 68px;
  border-radius: 8px;
  background: linear-gradient(180deg, #f5b917, #ff8a16);
}

.article-art-home span:nth-child(3) {
  right: 58px;
  top: 42px;
  color: #08ae64;
  font-size: 46px;
  font-weight: 850;
}

.article-art-home span:nth-child(3)::before {
  content: "%";
}

.article-art-health span:nth-child(1) {
  left: 76px;
  bottom: 30px;
  width: 48px;
  height: 92px;
  border-radius: 14px 14px 10px 10px;
  background: linear-gradient(180deg, #8fd8ff, #1688ff);
}

.article-art-health span:nth-child(1)::before {
  content: "";
  position: absolute;
  left: 12px;
  top: -16px;
  width: 24px;
  height: 18px;
  border-radius: 5px 5px 0 0;
  background: #0b3a72;
}

.article-art-health span:nth-child(2) {
  left: 146px;
  bottom: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50% 50% 44% 44%;
  background: #ff625a;
}

.article-art-health span:nth-child(3) {
  right: 76px;
  bottom: 35px;
  width: 70px;
  height: 74px;
  border-radius: 16px;
  background: #071b43;
  box-shadow: inset 0 0 0 8px #304765;
}

.article-art-math span:nth-child(1) {
  left: 78px;
  bottom: 30px;
  width: 0;
  height: 0;
  border-left: 58px solid transparent;
  border-right: 58px solid transparent;
  border-bottom: 104px solid #28c58e;
}

.article-art-math span:nth-child(2) {
  right: 72px;
  top: 42px;
  color: #1f62d0;
  font-size: 34px;
  font-weight: 850;
}

.article-art-math span:nth-child(2)::before {
  content: "a² + b² = c²";
}

.article-art-math span:nth-child(3) {
  right: 62px;
  bottom: 24px;
  width: 94px;
  height: 48px;
  border: 12px solid #8cbcff;
  border-bottom: 0;
  border-radius: 94px 94px 0 0;
}

.article-art-finance span:nth-child(1),
.article-art-travel span:nth-child(1),
.article-art-business span:nth-child(1) {
  left: 70px;
  bottom: 34px;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: color-mix(in srgb, var(--article-color) 78%, white);
}

.article-art-finance span:nth-child(1)::before { content: "$"; }
.article-art-travel span:nth-child(1)::before { content: "✈"; }
.article-art-business span:nth-child(1)::before { content: "↗"; }

.article-art-finance span:nth-child(1)::before,
.article-art-travel span:nth-child(1)::before,
.article-art-business span:nth-child(1)::before {
  color: #fff;
  font-size: 34px;
  font-weight: 850;
}

.article-card-body {
  display: grid;
  gap: 8px;
  flex: 1;
  padding: 14px;
}

.article-tag {
  justify-self: start;
  background: color-mix(in srgb, var(--article-color) 12%, #fff);
  color: var(--article-color);
}

.article-card h3 {
  margin: 0;
  color: #061738;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 850;
}

.article-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #48607f;
  font-size: 13px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.article-card footer {
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  color: #48607f;
  font-size: 12px;
  font-weight: 750;
}

.article-card footer span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-newsletter {
  padding: 16px 0;
  background: linear-gradient(90deg, #eaf9f3, #f7fcff);
  border-top: 1px solid #dce6f2;
  border-bottom: 1px solid #dce6f2;
}

.blog-newsletter-inner {
  gap: 18px;
}

.newsletter-badge {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #d8f8ea;
  color: #08ae64;
}

.newsletter-badge svg {
  width: 34px;
  height: 34px;
}

.blog-newsletter h2 {
  margin: 0;
  color: #061738;
  font-size: 20px;
  font-weight: 850;
}

.blog-newsletter p,
.blog-newsletter small {
  margin: 4px 0 0;
  color: #48607f;
  font-size: 12px;
}

.blog-newsletter form {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 120px;
  gap: 0;
  width: min(100%, 470px);
  margin-left: auto;
}

.blog-newsletter input,
.blog-newsletter button {
  height: 38px;
  border: 1px solid #dce6f2;
}

.blog-newsletter input {
  min-width: 0;
  padding: 0 14px;
  border-radius: 7px 0 0 7px;
  outline: 0;
}

.blog-newsletter button {
  border-color: #08ae64;
  border-radius: 0 7px 7px 0;
  background: #08ae64;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
}

.blog-newsletter small {
  grid-column: 1 / -1;
  text-align: center;
}

.empty-state {
  grid-column: 1 / -1;
  min-height: 110px;
  display: grid;
  place-items: center;
  border: 1px solid #dce6f2;
  border-radius: 8px;
  background: #fff;
  color: #48607f;
  font-weight: 750;
}

@media (max-width: 1100px) {
  .blog-hero-inner,
  .featured-article,
  .blog-toolbar,
  .blog-newsletter-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .blog-hero-inner {
    padding: 28px 0;
  }

  .blog-hero-art,
  .featured-visual,
  .blog-search {
    flex-basis: auto;
    width: 100%;
  }

  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-newsletter form {
    margin-left: 0;
  }
}

@media (max-width: 760px) {
  .blog-hero h1 {
    font-size: 32px;
  }

  .blog-hero-art {
    height: 135px;
  }

  .featured-section {
    padding-top: 14px;
  }

  .featured-article {
    padding: 14px;
  }

  .featured-visual {
    height: 150px;
  }

  .featured-copy h2 {
    font-size: 22px;
  }

  .read-link {
    position: static;
    margin-top: 12px;
  }

  .topic-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .topic-tabs::-webkit-scrollbar {
    display: none;
  }

  .topic-tab {
    flex: 0 0 auto;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

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

  .article-card {
    min-height: 0;
  }

  .blog-newsletter form {
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
  }

  .blog-newsletter input,
  .blog-newsletter button {
    border-radius: 7px;
  }
}
