.blog-page {
  background: #fff;
  color: #111318;
}

.blog-page main {
  display: block;
}

.blog-page .blog-hero {
  width: min(1280px, calc(100% - 48px));
  margin: 32px auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #dedfe3;
  border-top: 5px solid #e30613;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(17, 19, 24, .09);
  text-align: left;
}

.blog-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 72px);
}

.blog-page .blog-hero .eyebrow {
  margin: 0 0 18px;
  color: #e30613;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.blog-page .blog-hero h1 {
  max-width: 720px;
  margin: 0;
  color: #111318;
  font-size: clamp(46px, 6vw, 86px);
  line-height: .94;
  letter-spacing: -.055em;
}

.blog-page .blog-hero h1 span {
  display: block;
  color: #e30613;
}

.blog-page .blog-hero .lead {
  max-width: 650px;
  margin: 26px 0 0;
  color: #606572;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.48;
}

.blog-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.blog-hero__visual {
  min-height: 500px;
  margin: 0;
  position: relative;
  background: #f1f2f4;
}

.blog-hero__visual::after {
  content: "Советы наших оптиков";
  position: absolute;
  right: 24px;
  bottom: 24px;
  padding: 11px 15px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .92);
  color: #111318;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(17, 19, 24, .12);
}

.blog-hero__visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.blog-page .blog-section {
  padding: clamp(56px, 7vw, 94px) 24px 100px;
  background: #fff;
}

.blog-section__head {
  width: min(1280px, 100%);
  margin: 0 auto 30px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.blog-section__head h2 {
  margin: 0;
  color: #111318;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1;
  letter-spacing: -.045em;
}

.blog-section__head p {
  max-width: 520px;
  margin: 0;
  color: #646a75;
  font-size: 17px;
  line-height: 1.5;
}

.blog-page .blog-grid {
  width: min(1280px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.blog-page .blog-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dfe1e5;
  border-top: 4px solid #e30613;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(17, 19, 24, .07);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.blog-page .blog-card:hover {
  transform: translateY(-4px);
  border-color: #cfd2d8;
  box-shadow: 0 18px 42px rgba(17, 19, 24, .12);
}

.blog-page .blog-card > a {
  height: 100%;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.blog-page .blog-card > a > time {
  order: 2;
  display: block;
  padding: 22px 24px 0;
  color: #e30613;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .05em;
}

.blog-page .blog-img-box {
  order: 1;
  height: auto;
  overflow: hidden;
  border-radius: 0;
  background: #f2f3f5;
}

.blog-page .blog-img-box img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.blog-page .zoom-hint {
  display: none;
}

.blog-page .blog-card__body {
  order: 3;
  flex: 1;
  padding: 12px 24px 26px;
}

.blog-page .blog-card__body h2 {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #111318;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: -.025em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.blog-page .blog-card__body p {
  display: -webkit-box;
  margin: 14px 0 0;
  overflow: hidden;
  color: #686e79;
  font-size: 15px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.blog-page .lightbox {
  z-index: 1000;
}

@media (max-width: 1020px) {
  .blog-page .blog-hero {
    grid-template-columns: 1fr 42%;
  }

  .blog-hero__visual {
    min-height: 430px;
  }

  .blog-page .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .blog-page .blog-hero {
    width: min(100% - 28px, 1280px);
    margin-top: 18px;
    grid-template-columns: 1fr;
  }

  .blog-hero__copy {
    padding: 32px 24px 34px;
  }

  .blog-page .blog-hero h1 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .blog-page .blog-hero .lead {
    margin-top: 20px;
    font-size: 17px;
  }

  .blog-hero__visual {
    min-height: 270px;
    aspect-ratio: 1;
  }

  .blog-hero__visual::after {
    right: 16px;
    bottom: 16px;
  }

  .blog-page .blog-section {
    padding: 54px 14px 72px;
  }

  .blog-section__head {
    display: block;
  }

  .blog-section__head p {
    margin-top: 16px;
  }

  .blog-page .blog-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .blog-page .blog-card__body h2 {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-page .blog-card,
  .blog-page .blog-img-box img {
    transition: none;
  }
}
