/* Events page: editorial card grid */
html[data-id="31"] .banner-title {
  margin: 8px 0 42px;
  color: #333;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

html[data-id="31"] #blogItems {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px 28px;
  margin: 0;
}

html[data-id="31"] #blogItems::before,
html[data-id="31"] #blogItems::after {
  display: none;
  content: none;
}

html[data-id="31"] #blogItems .blog,
html[data-id="31"] #blogItems .blog.a-horizontal,
html[data-id="31"] #blogItems .blog.a-left,
html[data-id="31"] #blogItems .blog.a-right {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
}

html[data-id="31"] #blogItems .inner-bl {
  display: flex;
  height: 100%;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #e4e4e4;
  border-radius: 2px;
  background: #fff;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

html[data-id="31"] #blogItems .inner-bl:hover {
  border-color: rgba(194, 14, 26, 0.35);
  box-shadow: 0 12px 30px rgba(51, 51, 51, 0.12);
  transform: translateY(-3px);
}

html[data-id="31"] #blogItems .article__image,
html[data-id="31"] #blogItems .a-horizontal .article__image,
html[data-id="31"] #blogItems .a-left .article__image,
html[data-id="31"] #blogItems .a-right .article__image {
  position: relative;
  float: none;
  width: 100%;
  max-height: none;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: #ededed;
}

html[data-id="31"] #blogItems .article__image::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: #c20e1a;
  content: "";
}

html[data-id="31"] #blogItems .article__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

html[data-id="31"] #blogItems .inner-bl:hover .article__image img {
  transform: scale(1.025);
}

html[data-id="31"] #blogItems .article__info,
html[data-id="31"] #blogItems .a-horizontal .article__info {
  display: flex;
  float: none;
  width: auto;
  min-height: 220px;
  padding: 22px 22px 24px;
  flex: 1;
  flex-direction: column;
  color: #333;
}

html[data-id="31"] #blogItems .article__data,
html[data-id="31"] #blogItems .article__data.c-blog {
  margin: 0 0 12px;
  padding: 0;
  background: transparent;
  color: #777;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

html[data-id="31"] #blogItems .article__title {
  margin: 0;
  padding: 0 0 12px;
  color: #222;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
  text-align: left;
}

html[data-id="31"] #blogItems .article__description {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  padding: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: #666;
  font-family: "Alegreya Sans", sans-serif;
  font-size: 17px;
  line-height: 1.28;
  letter-spacing: 0;
}

html[data-id="31"] #blogItems .article__link {
  align-self: flex-start;
  margin-top: auto;
  padding: 20px 0 0;
  color: #c20e1a;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
}

html[data-id="31"] #blogItems .article__link:hover {
  text-decoration: underline;
}

html[data-id="31"] .more {
  margin-top: 42px;
}

@media (max-width: 960px) {
  html[data-id="31"] #blogItems {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  html[data-id="31"] .banner-title {
    margin-bottom: 28px;
    font-size: 34px;
  }

  html[data-id="31"] #blogItems {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  html[data-id="31"] #blogItems .article__info,
  html[data-id="31"] #blogItems .a-horizontal .article__info {
    min-height: 0;
    padding: 18px 18px 20px;
  }

  html[data-id="31"] #blogItems .article__title {
    font-size: 23px;
  }
}
