.yh-blog-banner {
  position: relative;
  overflow: hidden;
  background: rgb(var(--color-background));
  color: rgb(var(--color-text));
}
.yh-blog-banner__content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 240px;
  padding-block: 56px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
}
.yh-blog-banner__heading {
  margin: 0;
  font-family: var(--title-font, inherit);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
}
.yh-blog-banner__description {
  max-width: 680px;
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}
.yh-blog-banner__image,
.yh-blog-banner__image::after {
  position: absolute;
  inset: 0;
}
.yh-blog-banner__image::after {
  content: "";
  background: rgb(var(--color-background) / 65%);
}
.yh-blog-banner__image :is(v-image, img) {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.yh-blog-banner--with-image .yh-blog-banner__content {
  min-height: 320px;
}
@media (max-width: 959px) {
  .yh-blog-banner__content {
    min-height: 190px;
    padding-block: 36px;
    gap: 12px;
  }
  .yh-blog-banner__heading { font-size: 32px; }
  .yh-blog-banner--with-image .yh-blog-banner__content { min-height: 240px; }
}
