.blogs-page {
  overflow-x: hidden;
  background:
    linear-gradient(180deg, #f4f7f3 0%, #ffffff 22%, #ffffff 100%);
}

.blogs-hero {
  position: relative;
  padding: 104px 0 72px;
  background:
    radial-gradient(circle at top left, rgba(215, 241, 92, 0.16), transparent 24%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(135deg, #102922 0%, #173a31 42%, #1d5343 100%);

  &::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 34px 34px;
    pointer-events: none;
  }

  .container {
    position: relative;
    z-index: 1;
  }

  .blogs-hero__eyebrow {
    min-height: 36px;
    margin-bottom: 24px;
    padding: 6px 18px;
    border-color: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #f3fad3;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .blogs-hero__text {
    max-width: 760px;
    color: rgba(238, 245, 242, 0.86);
    line-height: 1.75;
  }

  .blogs-hero__link {
    color: #ffffff;
    font-size: var(--fs-sm);
    font-weight: 600;
    text-decoration: none;

    .bi {
      transition: transform 0.3s ease;
    }

    &:hover .bi {
      transform: translate(4px, -2px);
    }
  }

  .blogs-hero__stack {
    display: grid;
    gap: 18px;
  }
}

.blogs-shell {
  margin-top: 18px;
}

.blogs-feature {
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 28px 68px rgba(8, 26, 21, 0.18);
}

.blogs-feature__media {
  position: relative;
  height: 320px;
  overflow: hidden;
  background: #163239;

  .blogs-pill {
    position: absolute;
    top: 22px;
    left: 22px;
    z-index: 2;
  }
}

.blogs-feature__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blogs-feature__body {
  padding: 34px 32px 32px;
}

.blogs-feature__title {
  margin: 0 0 16px;
  color: var(--darkest-blue-gray);
  font-family: "Satoshi", "Poppins", sans-serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.02;
}

.blogs-feature__text {
  margin-bottom: 0;
  font-size: 1.02rem;
  line-height: 1.85;
}

.blogs-brief,
.blogs-topics,
.blogs-card,
.blogs-panel,
.blogs-story {
  border: 1px solid rgba(15, 107, 77, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f7faf8 100%);
  box-shadow: 0 18px 42px rgba(20, 46, 36, 0.08);
}

.blogs-brief,
.blogs-topics {
  padding: 24px 22px;
}

.blogs-brief__label {
  display: inline-flex;
  margin-bottom: 14px;
  color: #0f6b4d;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blogs-brief__title {
  margin: 0 0 12px;
  color: var(--darkest-blue-gray);
  font-family: "Satoshi", "Poppins", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.22;
}

.blogs-pill,
.blogs-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.blogs-pill {
  padding: 7px 14px;
  background: #d7f15c;
  color: #163239;
}

.blogs-tag {
  padding: 7px 12px;
  background: #edf6ef;
  color: #0f6b4d;
}

.blogs-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;

  span {
    color: #6b7f76;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
}

.blogs-posts {
  position: relative;
  z-index: 2;
}

.blogs-story {
  overflow: hidden;
}

.blogs-story__visual {
  min-height: 100%;
  height: 100%;
  min-height: 230px;
}

.blogs-story__visual--olive {
  background:
    radial-gradient(circle at top right, rgba(215, 241, 92, 0.3), transparent 26%),
    linear-gradient(135deg, #dfe9c7 0%, #97ac72 100%);
}

.blogs-story__visual--ink {
  background:
    radial-gradient(circle at bottom left, rgba(215, 241, 92, 0.24), transparent 26%),
    linear-gradient(135deg, #29443b 0%, #162924 100%);
}

.blogs-story__body {
  height: 100%;
  padding: 28px 28px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blogs-story__title,
.blogs-card__title {
  margin: 0 0 12px;
  color: var(--darkest-blue-gray);
  font-family: "Satoshi", "Poppins", sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.blogs-story__title {
  font-size: clamp(1.55rem, 2vw, 2rem);
}

.blogs-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;

  &:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 48px rgba(20, 46, 36, 0.12);
  }

  .blogs-card__title {
    font-size: 1.28rem;
  }

  .blogs-card__link {
    color: #0f6b4d;
    font-size: var(--fs-sm);
    font-weight: 700;
    text-decoration: none;
  }
}

.blogs-panel {
  padding: 28px;

  .blogs-panel__link {
    color: #0f6b4d;
    font-size: var(--fs-sm);
    font-weight: 700;
    text-decoration: none;
  }
}

.blogs-rail {
  position: sticky;
  top: 96px;
}

.blogs-rail__items {
  display: grid;
  gap: 16px;
}

.blogs-rail__item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: 14px 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 107, 77, 0.08);

  &:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  strong {
    display: block;
    margin-bottom: 6px;
    color: var(--darkest-blue-gray);
    font-size: 1rem;
    line-height: 1.4;
  }

  small {
    color: #6b7f76;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
}

.blogs-rail__count {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #edf6ef;
  color: #0f6b4d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Satoshi", "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.blogs-subscribe {
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(215, 241, 92, 0.18), transparent 30%),
    linear-gradient(135deg, #f5fbf7 0%, #edf6f1 100%);
  box-shadow: 0 18px 42px rgba(20, 46, 36, 0.08);

  .blogs-subscribe__title {
    color: var(--darkest-blue-gray);
    font-family: "Satoshi", "Poppins", sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
  }
}

@media (max-width: 991px) {
  .blogs-hero {
    padding: 92px 0 60px;
  }

  .blogs-feature__body {
    padding: 28px 24px 24px;
  }

  .blogs-rail {
    position: static;
    top: auto;
  }
}

@media (max-width: 767px) {
  .blogs-feature__media {
    height: 220px;
  }

  .blogs-feature__body,
  .blogs-story__body,
  .blogs-panel,
  .blogs-brief,
  .blogs-topics {
    padding: 22px 20px;
  }

  .blogs-story__visual {
    min-height: 180px;
  }
}
