.home-blog {
  width: 100%;
  background: #ffffff;
  color: #0c141b;
  padding: 74px 20px;
  box-sizing: border-box;
}

.home-blog * {
  box-sizing: border-box;
}

.home-blog__inner {
  max-width: 1180px;
  margin: 0 auto;
}

.home-blog__head {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-bottom: 44px;
}

.home-blog__title {
  margin: 0;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #121a21;
}

.home-blog__sub {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(12, 20, 27, 0.62);
  text-align: center;
}

.home-blog__rule {
  width: 54px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 99px;
}

.home-blog__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.54fr) minmax(0, 0.46fr);
  gap: clamp(22px, 3vw, 54px);
  align-items: stretch;
}

.home-blog__featured {
  display: flex;
  flex-direction: column;
}

.home-blog__featured-viewport {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(12, 20, 27, 0.18);
  border-radius: 2px;
  background: #ffffff;
  overflow: hidden;
  padding: clamp(14px, 1.6vw, 22px);
}

.home-blog__featured-track {
  display: flex;
  height: 100%;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.home-blog__featured-track::-webkit-scrollbar {
  display: none;
}

.home-blog__featured-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: block;
  scroll-snap-align: start;
}

.home-blog__featured-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: 50% 50%;
}

.home-blog__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.home-blog__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(12, 20, 27, 0.18);
  text-decoration: none;
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.home-blog__dot.is-active {
  background: var(--color-accent);
}

.home-blog__dot:hover {
  transform: scale(1.08);
  background: rgba(12, 20, 27, 0.28);
}

.home-blog__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 16px;
  height: 100%;
}

.home-blog__item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.home-blog__date {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 2px;
}

.home-blog__day {
  font-size: 46px;
  line-height: 1;
  font-weight: 700;
  color: var(--color-accent);
}

.home-blog__month {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(12, 20, 27, 0.62);
}

.home-blog__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
}

.home-blog__h3 {
  margin: 0;
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #121a21;
}

.home-blog__h3 a {
  color: inherit;
  text-decoration: none;
}

.home-blog__h3 a:hover {
  color: var(--color-accent);
}

.home-blog__excerpt {
  margin: 0;
  color: rgba(12, 20, 27, 0.78);
  font-size: 14px;
  line-height: 1.65;
  max-width: 62ch;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.home-blog__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .home-blog {
    padding: 58px 20px;
  }

  .home-blog__layout {
    grid-template-columns: 1fr;
  }

  .home-blog__list {
    grid-template-rows: none;
    height: auto;
  }
}

@media (max-width: 780px) {
  .home-blog__head {
    margin-bottom: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-blog__dot {
    transition: none;
  }
}
