.blog-home {
  padding: 80px 0;
}
.blog-home .container {
  position: relative;
}

.blog-home__head {
  max-width: 534px;
}

.blog-home__title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: clamp(40px, 12 * (100vw - 375px) / 1065 + 40px, 52px);
  line-height: clamp(2.25rem, 1.528vw + 1.875rem, 3.25rem);
  letter-spacing: -0.04em;
  color: var(--dark-text);
}

.blog-home__cta {
  border-radius: 8px;
  border: none;
  padding: clamp(15px, 7 * (100vw - 375px) / 1065 + 15px, 22px) 24px;
  width: 100%;
  background: var(--red-main);
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 110%;
  letter-spacing: -0.02em;
  color: var(--white-text);
  transition: 0.5s;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
@media screen and (min-width: 768px) {
  .blog-home__cta {
    max-width: 188px;
    position: absolute;
    top: 24px;
    right: clamp(16px, 14 * (100vw - 375px) / 1065 + 16px, 30px);
  }
}

.blog-home__cta-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.blog-home__cta-icon img {
  width: 20px;
  height: 20px;
  display: block;
}

.blog-home__cta {
  overflow: hidden;
  transition: 0.5s;
}

.blog-home__cta::before,
.blog-home__cta::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  background: var(--red-main);
  z-index: 3;
  pointer-events: none;
}

.blog-home__cta::before {
  top: 0;
}

.blog-home__cta::after {
  bottom: 0;
}

.blog-home__cta-text {
  position: relative;
  z-index: 2;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: transparent;
  white-space: nowrap;
  transition: 0.5s;
}

.blog-home__cta-text::before,
.blog-home__cta-text::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-text);
  transition: 0.5s;
  will-change: transform;
  pointer-events: none;
}

.blog-home__cta-text::before {
  transform: translateY(0);
}

.blog-home__cta-text::after {
  transform: translateY(200%);
}

.blog-home__cta-icon {
  position: relative;
  z-index: 4;
  flex: 0 0 auto;
}

.blog-home__grid {
  padding: 32px 0;
  display: grid;
  -moz-column-gap: 24px;
  column-gap: 24px;
  row-gap: clamp(24px, 8 * (100vw - 375px) / 1065 + 24px, 32px);
}

@media (min-width: 768px) {
  .blog-home__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 32px 0 0;
  }
}
@media (min-width: 1100px) {
  .blog-home__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.blog-card {
  transition: 0.7s;
}

.blog-card__media {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: #020202;
  width: 100%;
  max-height: 362px;
  margin-bottom: 16px;
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  display: block;
  transition: 0.7s;
}

.blog-card__corner {
  position: absolute;
  top: 20px;
  right: 20px;
  border-radius: 8px;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red-main);
  color: #fff;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: all var(--time-function);
}

.blog-card__corner-icon {
  width: 20px !important;
  height: 20px !important;
}

.blog-card__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  letter-spacing: -0.02em;
  color: var(--secondary-dark);
  margin-bottom: 12px;
}

.blog-card__meta-box {
  display: flex;
  align-items: center;
  gap: 4px;
}

.blog-card__title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 20px;
  line-height: 120%;
  letter-spacing: -0.02em;
  color: var(--dark-text);
  margin-bottom: 8px;
}

.blog-card__title a {
  color: var(--dark-text);
  text-decoration: none;
}

.blog-card__excerpt {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  letter-spacing: -0.02em;
  color: var(--secondary-dark);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .blog-home__cta-text::before,
  .blog-home__cta-text::after {
    transition: none;
  }
}
@media (min-width: 1024px) {
  .blog-home__cta:hover .blog-home__cta-text::before,
  .blog-home__cta:focus-visible .blog-home__cta-text::before {
    transform: translateY(-200%);
  }
  .blog-home__cta:hover .blog-home__cta-text::after,
  .blog-home__cta:focus-visible .blog-home__cta-text::after {
    transform: translateY(0);
  }
  .blog-card:hover .blog-card__media img {
    transform: scale(1.15);
  }
  .blog-card__media:hover img {
    transform: scale(1.15);
  }
  .blog-card:hover .blog-card__corner,
  .blog-card__media:hover .blog-card__corner {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 1023px) {
  .blog-home__cta-text::before,
  .blog-home__cta-text::after {
    transform: none;
  }
  .blog-card__media img {
    transform: none !important;
  }
}
/*# sourceMappingURL=blog-preview.css.map */
