.blog-page {
  overflow: clip;
  background: var(--paper);
}

.blog-hero {
  position: relative;
  background:
    radial-gradient(circle at top left, rgba(255, 241, 155, 0.45), transparent 28%),
    radial-gradient(circle at top right, rgba(248, 132, 63, 0.18), transparent 24%),
    var(--paper);
  padding: 92px 0 40px;
  overflow: hidden;
}

.blog-hero__content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
  padding-inline: 24px;
}

.blog-hero__content h1 {
  margin: 0 0 16px;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 0.95;
  font-weight: 700;
}

.blog-hero__content p {
  margin: 0 auto;
  max-width: 760px;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.65;
}

.blog-hero__shape {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0.9;
}

.blog-hero__shape--one {
  width: 180px;
  top: 44px;
  left: -48px;
}

.blog-hero__shape--two {
  width: 132px;
  top: 52px;
  right: -34px;
}

.blog-hero__shape--three {
  width: 108px;
  bottom: 12px;
  left: 8%;
}

.blog-list-section {
  background: linear-gradient(to bottom, var(--paper) 0%, #f7f4ff 100%);
  padding: 28px 0 96px;
}

.blog-list {
  display: grid;
  gap: 28px;
}

.blog-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  background: rgba(255, 255, 255, 0.84);
  border: 2px solid rgba(61, 69, 170, 0.12);
  border-radius: 30px;
  box-shadow: 0 16px 36px rgba(18, 18, 18, 0.08);
  overflow: hidden;
  position: relative;
}

.blog-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(
    90deg,
    var(--blue) 0%,
    var(--orange) 35%,
    var(--red) 65%,
    var(--yellow) 100%
  );
  z-index: 2;
}

.blog-card__image-wrap {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(61, 69, 170, 0.05);
}

.blog-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.blog-card:hover .blog-card__image-wrap img {
  transform: scale(1.03);
}

.blog-card__body {
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
}

.blog-card__meta {
  margin-bottom: 12px;
  font-size: 0.92rem;
  opacity: 0.72;
  font-weight: 600;
}

.blog-card__body h2 {
  margin: 0 0 16px;
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
  line-height: 1.06;
}

.blog-card__body h2 a {
  text-decoration: none;
}

.blog-card__body h2 a:hover {
  text-decoration: underline;
}

.blog-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.blog-card__author img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(61, 69, 170, 0.12);
}

.blog-card__author-label {
  display: block;
  font-size: 0.82rem;
  opacity: 0.65;
  margin-bottom: 2px;
}

.blog-card__excerpt {
  margin: 0 0 20px;
  line-height: 1.72;
  font-size: 1rem;
  flex: 1;
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
}

.blog-card__link:hover {
  text-decoration: underline;
}

.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.blog-pagination a,
.blog-pagination span {
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 2px solid rgba(61, 69, 170, 0.12);
  font-weight: 600;
}

.blog-pagination a {
  background: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  color: var(--text);
}

.blog-pagination a:hover {
  background: rgba(61, 69, 170, 0.08);
}

.blog-pagination .is-active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.blog-pagination .is-disabled {
  background: rgba(255, 255, 255, 0.45);
  color: rgba(18, 18, 18, 0.38);
  border-color: rgba(61, 69, 170, 0.08);
  cursor: default;
}

@media (max-width: 980px) {
  .blog-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .blog-hero {
    padding: 72px 0 28px;
  }

  .blog-hero__content {
    max-width: 620px;
    padding-inline: 20px;
  }

  .blog-hero__shape--one {
    width: 120px;
    top: 34px;
    left: -26px;
    opacity: 0.72;
  }

  .blog-hero__shape--two {
    width: 100px;
    top: 34px;
    right: -20px;
    opacity: 0.72;
  }

  .blog-hero__shape--three {
    width: 72px;
    bottom: 12px;
    left: 4%;
    opacity: 0.68;
  }
}

@media (max-width: 640px) {
  .blog-hero {
    padding: 64px 0 24px;
  }

  .blog-hero__content {
    max-width: 100%;
    padding-inline: 20px;
  }

  .blog-hero__content h1 {
    font-size: clamp(2.4rem, 10vw, 4rem);
    line-height: 0.96;
  }

  .blog-hero__content p {
    max-width: 32ch;
    margin-inline: auto;
  }

  .blog-hero__shape--one {
    width: 92px;
    top: 18px;
    left: -28px;
    opacity: 0.58;
  }

  .blog-hero__shape--two {
    width: 86px;
    top: 18px;
    right: -22px;
    opacity: 0.58;
  }

  .blog-hero__shape--three {
    width: 58px;
    bottom: 8px;
    left: 2%;
    opacity: 0.54;
  }

  .blog-card {
    border-radius: 24px;
  }

  .blog-card__body {
    padding: 22px 18px 20px;
  }

  .blog-pagination {
    justify-content: flex-start;
  }
}

@media (max-height: 760px) {
  .blog-hero {
    padding-top: 64px;
    padding-bottom: 24px;
  }

  .blog-hero__shape--one {
    width: 110px;
    top: 22px;
    left: -20px;
    opacity: 0.65;
  }

  .blog-hero__shape--two {
    width: 100px;
    top: 18px;
    right: -18px;
    opacity: 0.65;
  }

  .blog-hero__shape--three {
    width: 70px;
    bottom: 8px;
    left: 6%;
    opacity: 0.6;
  }
}