.blog-site {
  font-family: Inter, Arial, sans-serif;
}

.blog-site :is(h1, h2, h3) {
  letter-spacing: 0;
}

.blog-site .site-header .nav,
.blog-site .wordmark-company-name,
.blog-site .wordmark-descriptor,
.blog-site .blog-hero .eyebrow,
.blog-site .blog-hero-mark span,
.blog-site .post-meta,
.blog-site .back-link,
.blog-site .footer-col strong {
  letter-spacing: 0;
}

.blog-site .site-header {
  position: absolute;
  top: var(--announcement-height, 40px);
  color: #fffaf1;
  background: transparent;
  border: 0;
}

.blog-site .site-header.is-scrolled {
  position: fixed;
  top: 0;
  color: #25382f;
  background: rgba(250, 247, 239, .98);
  box-shadow: 0 4px 24px rgba(25, 42, 31, .1);
}

.blog-site .site-header .nav a {
  color: inherit;
  text-shadow: 0 1px 3px rgba(8, 16, 13, .9), 0 0 14px rgba(8, 16, 13, .72);
}

.blog-site .site-header.is-scrolled .nav a {
  text-shadow: none;
}

.blog-site .site-header .nav a:hover,
.blog-site .site-header .nav a[aria-current='page'] {
  border-color: currentColor;
}

.blog-site .site-header .nav-cta {
  color: inherit;
  border-color: rgba(255, 250, 241, .75);
}

.blog-site .site-header .nav-cta:hover {
  color: #23372f;
  background: #fffaf1;
}

.blog-site .site-header.is-scrolled .nav-cta {
  color: #25382f;
  border-color: #25382f;
}

.blog-site .site-header.is-scrolled .nav-cta:hover {
  color: #fffaf1;
  background: #25382f;
}

.blog-site .site-header .nav-submenu {
  color: var(--ink);
  background: rgba(251, 250, 247, .98);
  border-color: var(--line);
  box-shadow: 0 16px 35px rgba(32, 48, 43, .18);
}

.blog-hero {
  position: relative;
  display: flex;
  min-height: min(max(42.86vw, 480px), calc(100vh - var(--announcement-height, 40px)));
  align-items: stretch;
  overflow: hidden;
  padding: clamp(96px, 7vw, 130px) 0 3%;
  color: #fffaf1;
  background: #1c2824;
  isolation: isolate;
}

.blog-hero::before,
.post-article-head::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  opacity: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(12, 22, 19, .62), rgba(12, 22, 19, .42) 50%, rgba(12, 22, 19, .52)),
    linear-gradient(90deg, rgba(12, 22, 19, .36), rgba(12, 22, 19, .16));
  content: '';
}

.blog-hero::after {
  content: none;
}

.blog-hero-image {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}

.blog-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(var(--max), 90vw);
  grid-template-columns: minmax(0, 1fr) minmax(210px, .45fr);
  align-items: end;
  gap: 70px;
}

.blog-hero .eyebrow {
  color: #f0c4bb;
}

.blog-hero h1 {
  max-width: 760px;
  font-size: 4.5rem;
  letter-spacing: 0;
  line-height: 1.04;
}

.blog-hero .lede {
  max-width: 590px;
  color: #f7f2e8;
}

.blog-hero-mark {
  display: grid;
  min-height: 0;
  justify-items: start;
  align-content: end;
  margin-bottom: 7px;
  padding: 15px 0 0;
  border: 0;
  border-top: 1px solid rgba(255, 250, 241, .55);
  border-radius: 0;
  text-align: left;
}

.blog-hero-mark span {
  align-self: auto;
  color: #f0c4bb;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.blog-hero-mark strong {
  margin-top: 14px;
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.05;
}

.blog-shell {
  padding-top: 82px;
}

.blog-search input {
  border-radius: 2px;
}

.blog-filters a {
  border-radius: 2px;
  letter-spacing: 0;
}

.post-card-media {
  aspect-ratio: 4 / 3;
  min-height: 0;
  border-radius: 4px;
}

.post-card-media img {
  min-height: 0;
}

.post-card h2 {
  font-size: 2rem;
  letter-spacing: 0;
  line-height: 1.12;
}

.post-article-head {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 178px 0 68px;
  color: #fffaf1;
  background-color: #1c2824;
  background-image: url('assets/bolg-banner.webp');
  background-position: center 52%;
  background-size: cover;
}

.post-article-head .container {
  position: relative;
  z-index: 1;
}

.post-article-head .back-link {
  margin-bottom: 28px;
  color: #f7f2e8;
}

.post-article-head .back-link:hover {
  color: #f0c4bb;
}

.post-article-head .post-meta,
.post-article-head .post-meta span {
  color: #f0c4bb;
}

.post-article-head h1 {
  max-width: 760px;
  margin-top: 16px;
  font-size: 4.25rem;
  letter-spacing: 0;
  line-height: 1.06;
}

.post-dek {
  color: #f7f2e8;
}

.post-cover img {
  border-radius: 4px;
}

.blog-hero--not-found .blog-hero-grid {
  grid-template-columns: minmax(0, 1fr);
}

.blog-hero--not-found .blog-empty {
  max-width: 760px;
  padding: 0;
}

.blog-hero--not-found .blog-empty p:not(.eyebrow) {
  color: #f7f2e8;
}

.blog-hero--not-found .blog-empty .small-link {
  color: #fffaf1;
}

.blog-footer {
  margin-top: 0;
}

@media (max-width: 850px) {
  .blog-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .blog-hero-mark {
    width: min(300px, 100%);
    justify-self: start;
  }
}

@media (max-width: 650px) {
  .blog-hero {
    min-height: 560px;
    padding: 185px 0 62px;
  }

  .blog-hero h1,
  .post-article-head h1 {
    font-size: 2.9rem;
  }

  .blog-hero-grid {
    gap: 32px;
  }

  .blog-hero-mark {
    width: min(270px, 100%);
  }

  .blog-hero-mark strong {
    font-size: 2rem;
  }

  .blog-toolbar {
    display: block;
  }

  .blog-search {
    width: 100%;
    margin-top: 22px;
  }

  .post-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }

  .post-card-media {
    min-height: 0;
  }

  .post-article-head {
    padding: 170px 0 52px;
  }

  .post-cover {
    padding-top: 30px;
  }

  .post-content {
    padding-top: 42px;
  }
}

@media (min-width: 1001px) {
  .blog-hero {
    height: min(max(42.86vw, 480px), calc(100vh - var(--announcement-height, 40px)));
    min-height: 0;
  }

  .post-article-head {
    display: flex;
    min-height: min(max(42.86vw, 480px), calc(100vh - var(--announcement-height, 40px)));
    align-items: center;
  }
}
