body.blog-page {
  background: #eaf3ff;
}

.blog-hero-panel {
  min-height: 623px;
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
  background: url("../images/blog-hero-bg.webp") center top / cover no-repeat;
  overflow: hidden;
}

.blog-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: min(996px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 180px;
  color: #ffffff;
  text-align: center;
}

.blog-hero-copy h1,
.blog-articles-header h2,
.blog-featured-card h3,
.blog-side-card h3 {
  margin: 0;
}

.blog-hero-copy h1 {
  width: 100%;
  font-size: 64px;
  font-weight: 600;
  line-height: 1.2;
}

.blog-hero-copy p,
.blog-articles-header p {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
}

.blog-articles-section {
  padding: 65px 0 140px;
}

.blog-articles-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 60px;
}

.blog-articles-header-copy {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 788px;
}

.blog-articles-header h2 {
  color: #005cd7;
  font-size: 40px;
  font-weight: 600;
  line-height: 60px;
}

.blog-view-all {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  margin-top: 85px;
  color: #005cd7;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
}

.blog-view-all img {
  width: 16px;
  height: 16px;
}

.blog-articles-grid {
  display: grid;
  grid-template-columns: minmax(0, 791px) minmax(0, 387px);
  gap: 20px;
  align-items: start;
}

.blog-featured-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 827px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(102, 102, 102, 0) 3.25%, rgba(0, 0, 0, 0.8) 83.04%),
    url("../images/blog-featured-article.webp") center center / cover no-repeat;
  box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  isolation: isolate;
  transition: box-shadow 0.35s ease, filter 0.35s ease;
}

.blog-featured-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(75, 172, 255, 0.08) 0%, rgba(88, 76, 255, 0.2) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}

.blog-featured-card:hover,
.blog-featured-card:focus-within {
  box-shadow: 0 26px 44px rgba(17, 33, 66, 0.2);
  filter: saturate(1.05);
}

.blog-featured-card:hover::before,
.blog-featured-card:focus-within::before {
  opacity: 1;
}

.blog-featured-card-content {
  position: relative;
  z-index: 1;
  width: 605px;
  padding: 50px;
  transition: transform 0.35s ease;
}

.blog-featured-card:hover .blog-featured-card-content,
.blog-featured-card:focus-within .blog-featured-card-content {
  transform: translateY(-6px);
}

.blog-featured-copy {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.blog-featured-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  padding: 10px 20px;
  border-radius: 20px;
  background: linear-gradient(180deg, #4bacff 0%, #584cff 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-featured-card:hover .blog-featured-badge,
.blog-featured-card:focus-within .blog-featured-badge {
  transform: translateX(6px);
  box-shadow: 0 16px 30px rgba(88, 76, 255, 0.28);
}

.blog-featured-card h3 {
  color: #ffffff;
  font-size: 36px;
  font-weight: 600;
  line-height: 48px;
  transition: color 0.3s ease, transform 0.35s ease;
}

.blog-featured-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.3s ease, transform 0.35s ease;
}

.blog-featured-card:hover h3,
.blog-featured-card:focus-within h3,
.blog-featured-card:hover p,
.blog-featured-card:focus-within p {
  color: #ffffff;
  transform: translateX(8px);
}

.blog-featured-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  transition: transform 0.35s ease;
}

.blog-featured-card:hover .blog-featured-meta,
.blog-featured-card:focus-within .blog-featured-meta {
  transform: translateX(8px);
}

.blog-featured-dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  transition: transform 0.3s ease, background 0.3s ease;
}

.blog-featured-card:hover .blog-featured-dot,
.blog-featured-card:focus-within .blog-featured-dot {
  transform: scale(1.8);
  background: #4bacff;
}

.blog-secondary-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.blog-side-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 259px;
  padding: 30px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: box-shadow 0.35s ease, background 0.35s ease;
}

.blog-side-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(75, 172, 255, 0.08) 0%, rgba(88, 76, 255, 0.14) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.blog-side-card:hover,
.blog-side-card:focus-within {
  box-shadow: 0 22px 38px rgba(17, 33, 66, 0.14);
}

.blog-side-card:hover::before,
.blog-side-card:focus-within::before {
  opacity: 1;
}

.blog-side-tag {
  position: relative;
  z-index: 1;
  color: #005cd7;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  transition: transform 0.3s ease, color 0.3s ease;
}

.blog-side-card:hover .blog-side-tag,
.blog-side-card:focus-within .blog-side-tag {
  transform: translateX(6px);
  color: #3e53ff;
}

.blog-side-card h3 {
  position: relative;
  z-index: 1;
  color: #272e42;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  transition: color 0.3s ease, transform 0.3s ease;
}

.blog-side-card:hover h3,
.blog-side-card:focus-within h3 {
  color: #005cd7;
  transform: translateX(6px);
}

.blog-side-card p {
  display: -webkit-box;
  position: relative;
  z-index: 1;
  margin: 0;
  color: #535b71;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color 0.3s ease, transform 0.3s ease;
}

.blog-side-card:hover p,
.blog-side-card:focus-within p {
  color: #303a56;
  transform: translateX(6px);
}

.blog-side-date {
  position: relative;
  z-index: 1;
  margin-top: auto;
  color: rgba(83, 91, 113, 0.6);
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  transition: color 0.3s ease, letter-spacing 0.3s ease, transform 0.3s ease;
}

.blog-side-card:hover .blog-side-date,
.blog-side-card:focus-within .blog-side-date {
  color: rgba(0, 92, 215, 0.75);
  letter-spacing: 0.02em;
  transform: translateX(6px);
}

@media (prefers-reduced-motion: reduce) {
  .blog-featured-card,
  .blog-featured-card::before,
  .blog-featured-card-content,
  .blog-featured-badge,
  .blog-featured-card h3,
  .blog-featured-card p,
  .blog-featured-meta,
  .blog-featured-dot,
  .blog-side-card,
  .blog-side-card::before,
  .blog-side-tag,
  .blog-side-card h3,
  .blog-side-card p,
  .blog-side-date {
    transition: none;
  }
}

@media (max-width: 1200px) {
  .blog-articles-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-featured-card {
    min-height: 720px;
  }

  .blog-secondary-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .blog-articles-header {
    flex-direction: column;
    gap: 24px;
  }

  .blog-view-all {
    margin-top: 0;
  }

  .blog-secondary-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .blog-hero-copy {
    width: min(996px, calc(100% - 32px));
    padding-top: 128px;
  }

  .blog-hero-copy h1 {
    font-size: 52px;
  }

  .blog-articles-section {
    padding: 48px 0 96px;
  }

  .blog-articles-header {
    margin-bottom: 40px;
  }

  .blog-articles-header h2 {
    font-size: 36px;
    line-height: 48px;
  }

  .blog-view-all,
  .blog-articles-header p {
    font-size: 18px;
    line-height: 28px;
  }

  .blog-featured-card {
    min-height: 620px;
  }

  .blog-featured-card-content {
    width: 100%;
    padding: 40px 32px;
  }

  .blog-featured-card h3 {
    font-size: 32px;
    line-height: 42px;
  }
}

@media (max-width: 680px) {
  .blog-hero-panel {
    min-height: 460px;
    background-position: center center;
  }

  .blog-hero-copy {
    gap: 18px;
    padding-top: 92px;
  }

  .blog-hero-copy h1 {
    font-size: 42px;
    line-height: 1.15;
  }

  .blog-hero-copy p,
  .blog-featured-card p,
  .blog-articles-header p {
    font-size: 18px;
    line-height: 28px;
  }

  .blog-articles-header h2 {
    font-size: 34px;
    line-height: 46px;
  }

  .blog-view-all {
    gap: 12px;
    font-size: 18px;
  }

  .blog-featured-card {
    min-height: 520px;
  }

  .blog-featured-card-content {
    padding: 28px 20px;
  }

  .blog-featured-badge {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 24px;
  }

  .blog-featured-card h3 {
    font-size: 28px;
    line-height: 36px;
  }

  .blog-featured-meta {
    flex-wrap: wrap;
    gap: 10px;
  }

  .blog-side-card {
    min-height: auto;
    padding: 24px;
  }

  .blog-side-card h3 {
    font-size: 18px;
  }
}
