:root {
  --blog-list-primary: #1d69c7;
  --blog-list-primary-dark: #102a4a;
  --blog-list-bg: #f4f7fb;
  --blog-list-surface: #ffffff;
  --blog-list-border: #d7e3f0;
  --blog-list-text: #1f2d44;
  --blog-list-text-soft: #68788d;
  --blog-list-shadow: 0 18px 42px rgba(17, 35, 62, 0.08);
  --blog-list-radius-xl: 30px;
  --blog-list-radius-lg: 24px;
  --blog-list-radius-md: 18px;
}

body {
  background: var(--blog-list-bg);
  color: var(--blog-list-text);
}

.blog-list-hero .container,
.blog-list-page .container {
  width: min(1480px, calc(100vw - 96px));
  max-width: none;
}

.blog-list-hero {
  position: relative;
  height: 240px;
  min-height: 240px;
  overflow: hidden;
  background: #0e2744;
}

.blog-list-hero-slider {
  position: absolute;
  inset: 0;
  height: 240px;
  min-height: 240px;
  overflow: hidden;
}

.blog-list-hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  background: var(--slide-image) center center / cover no-repeat;
  transition: opacity 0.7s ease, visibility 0.7s ease, transform 1s ease;
  transform: scale(1.04);
}

.blog-list-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.blog-list-hero-overlay {
  position: absolute;
  inset: 0;
}

.blog-list-hero .container {
  position: relative;
  z-index: 1;
  height: 100%;
}

.blog-list-hero-content {
  max-width: 720px;
  margin: 0 auto;
  height: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

.blog-list-badge {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 13px;
  margin-bottom: 8px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #d8ecff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.blog-list-hero h1,
.blog-list-hero h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 700;
}

.blog-list-hero p {
  max-width: 640px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14.5px;
  line-height: 1.5;
}

.blog-list-hero-button {
  display: none;
  margin-top: 12px;
  position: relative;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, #12233a 0%, #1a3150 55%, #24446f 100%);
  border: 1px solid rgba(96, 162, 240, 0.34);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(18, 35, 58, 0.24);
}

.blog-list-hero-button::before,
.blog-list-card-tag::before {
  content: "";
  position: absolute;
  inset: -35% auto -35% -42%;
  width: 38%;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.12) 30%,
    rgba(255, 255, 255, 0.72) 50%,
    rgba(255, 255, 255, 0.14) 70%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-24deg);
  animation: blogListSheen 2.8s ease-in-out infinite;
  pointer-events: none;
}

.blog-list-hero-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 2;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.blog-list-hero-dots button {
  width: 34px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.46);
  transition: width 0.25s ease, background 0.25s ease;
  cursor: pointer;
}

.blog-list-hero-dots button.is-active {
  width: 54px;
  background: #1362ab;
}

.blog-list-page {
  background: var(--blog-list-bg);
}

.blog-list-page .content-wrap {
  padding: 56px 0 36px;
}

.blog-list-section-head {
  max-width: 1180px;
  margin: 0 0 30px;
}

.blog-list-section-head span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--blog-list-primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-list-section-head h2 {
  margin: 0 0 14px;
  color: var(--blog-list-text);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.14;
  font-weight: 700;
}

.blog-list-section-head p {
  margin: 0;
  color: var(--blog-list-text-soft);
  font-size: 18px;
  line-height: 1.85;
}

.blog-list-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.blog-list-card {
  background: var(--blog-list-surface);
  border: 1px solid #c9d8e9;
  border-radius: var(--blog-list-radius-lg);
  box-shadow: var(--blog-list-shadow);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.blog-list-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(17, 35, 62, 0.12);
  border-color: #abc4df;
}

.blog-list-card-image {
  position: relative;
  display: block;
  overflow: hidden;
}

.blog-list-card-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.blog-list-card:hover .blog-list-card-image img {
  transform: scale(1.05);
}

.blog-list-card-tag {
  position: absolute;
  left: 22px;
  top: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 999px;
  background: linear-gradient(135deg, #12233a 0%, #1a3150 55%, #24446f 100%);
  border: 1px solid rgba(96, 162, 240, 0.34);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(18, 35, 58, 0.26);
}

.blog-list-card-body {
  padding: 22px 24px 26px;
}

.blog-list-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 12px;
  color: #7b8ca1;
  font-size: 12px;
  font-weight: 500;
}

.blog-list-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.blog-list-card h3 {
  margin: 0 0 12px;
  font-size: 19px;
  line-height: 1.34;
  font-weight: 700;
}

.blog-list-card h3 a {
  color: var(--blog-list-text);
}

.blog-list-card p {
  margin: 0 0 18px;
  color: var(--blog-list-text-soft);
  font-size: 13.5px;
  line-height: 1.62;
}

.blog-list-card-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blog-list-primary);
  font-size: 13.5px;
  font-weight: 700;
}

@keyframes blogListSheen {
  0% {
    left: -42%;
    opacity: 0;
  }

  12% {
    opacity: 0.9;
  }

  46% {
    left: 112%;
    opacity: 0;
  }

  100% {
    left: 112%;
    opacity: 0;
  }
}

@media (max-width: 1399px) {
  .blog-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1199px) {
  .blog-list-hero-slider {
    min-height: 240px;
  }
}

@media (max-width: 991px) {
  .blog-list-hero {
    height: 240px;
    min-height: 240px;
  }

  .blog-list-hero-slider {
    height: 240px;
    min-height: 240px;
  }

  .blog-list-hero-content {
    padding-bottom: 0;
  }

  .blog-list-hero h1,
  .blog-list-hero h2 {
    font-size: 30px;
  }

  .blog-list-hero p {
    font-size: 14px;
  }

  .blog-list-card h3 {
    font-size: 19px;
  }
}

@media (max-width: 767px) {
  .blog-list-hero .container,
  .blog-list-page .container {
    width: calc(100vw - 36px);
  }

  .blog-list-hero {
    height: 200px;
    min-height: 200px;
  }

  .blog-list-hero-slider {
    height: 200px;
    min-height: 200px;
  }

  .blog-list-hero-content {
    padding-top: 0;
    padding-bottom: 0;
  }

  .blog-list-badge,
  .blog-list-card-tag {
    min-height: 34px;
    padding: 0 16px;
    font-size: 13px;
  }

  .blog-list-hero h1,
  .blog-list-hero h2 {
    font-size: 24px;
    line-height: 1.16;
  }

  .blog-list-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .blog-list-card-image img {
    height: 220px;
  }

  .blog-list-card-body {
    padding: 24px 22px 24px;
  }

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

  .blog-list-card p,
  .blog-list-section-head p {
    font-size: 13.5px;
  }
}
