﻿@media screen and (min-width: 769px) {
  body:not(.home) #wrapper {
    margin-top: 68px;
  }
}

/* Blog pages hero (/blog/ and category archives) */

.blog-hero__visual {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  background-color: #f3f3f1;
}

.blog-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/blog/s__153632779.jpg") center center / cover no-repeat;
  z-index: 0;
}

.blog-hero .inner {
  position: relative;
  z-index: 2;
  min-height: 250px;
  display: flex;
  align-items: center;
  max-width: 1100px;
  width: calc(100% - 40px);
  margin: 0 auto;
}

.blog-hero__text {
  width: min(58%, 680px);
  text-align: left;
  margin-left: 0;
  margin-top: 0;
}

.blog-hero__title {
  margin: 0;
  color: #2f3135;
  font-size: 40px;
  letter-spacing: 0.16em;
  line-height: 1.1;
  font-weight: 600;
}

.blog-hero__title-image {
  display: block;
  width: min(100%, 180px);
  height: auto;
}

.blog-hero__subtitle {
  margin: 16px 0 0;
  color: #15171a;
  font-size: 16px;
  letter-spacing: 0.1em;
  line-height: 1.35;
  font-weight: 700;
}

.blog-hero__powered {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #2f3135;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
}

.blog-hero__powered-text {
  font-size: 12px;
}

.blog-hero__powered-logo {
  display: block;
  width: 100%;
  max-width: 100px;
  height: auto;
}

@media screen and (max-width: 768px) {

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

  .blog-hero .inner {
    min-height: 170px;
    align-items: flex-end;
    justify-content: flex-start;
    padding-bottom: 28px;
  }

  .blog-hero__visual::after {
    background-image: url("../img/blog/s__153673761.jpg");
  }

  .blog-hero__text {
    width: auto;
    max-width: 100%;
    text-align: left;
    transform: none;
    margin-left: 0;
    margin-right: auto;
    margin-top: 0;
    margin-bottom: 0;
  }
  .blog-hero__title {
    font-size: 20px;
    letter-spacing: 0.12em;
  }

  .blog-hero__title-image {
    width: min(100%, 120px);
  }

  .blog-hero__subtitle {
    margin-top: 8px;
    font-size: 14px;
    letter-spacing: 0.09em;
  }
}


@media screen and (max-width: 768px) {
  body:not(.home) #wrapper {
    margin-top: 50px;
  }
}
