.blog-hero {
  position: relative;
  min-height: 440px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--lime) url("../images/hero-home.webp") center 43% / cover no-repeat;
}

.blog-hero__inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), 900px);
  text-align: center;
}

.blog-hero h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(36px, 3.5vw, 52px);
  font-weight: 800;
  letter-spacing: -.025em;
}

.blog-hero p {
  margin: 8px 0 0;
  color: var(--blue);
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 800;
}

.blog-index {
  min-height: 780px;
  padding-bottom: 90px;
}

.blog-toolbar {
  height: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #252a2f;
  font-size: 13px;
}

.blog-toolbar i {
  width: 24px;
  height: 8px;
  display: inline-block;
  background: linear-gradient(90deg, var(--blue) 0 8px, #d9dde1 8px);
  border-radius: 99px;
}

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

.post-card {
  min-width: 0;
  background: var(--white);
}

.post-card__image {
  display: block;
  overflow: hidden;
}

.post-card__image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform .35s ease;
}

.post-card__image:hover img {
  transform: scale(1.025);
}

.post-card__content {
  padding: 34px 40px 28px;
  color: #60676d;
  font-size: 15px;
  line-height: 1.75;
}

.post-card__content h2 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.4;
}

.post-card__content h2 a {
  color: #333;
  text-decoration: none;
}

.post-card__meta {
  margin-bottom: 20px;
  color: #9aa0a5;
  font-size: 12px;
}

.post-card__content .read-more {
  color: #222;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.article-title-band {
  padding: 64px 0 58px;
  background: #f7f7f7;
  text-align: center;
}

.article-title-band h1 {
  margin: 0;
  font-size: clamp(28px, 2.4vw, 34px);
  font-weight: 700;
  letter-spacing: 0;
}

.article-title-band p {
  margin: 8px 0 0;
  color: #a3a8ad;
  font-size: 12px;
}

.article-title-band a {
  color: inherit;
  text-decoration: none;
}

.article-section {
  padding: 80px 0 100px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 815px) minmax(240px, 1fr);
  gap: 50px;
  align-items: start;
}

.article-main,
.article-sidebar {
  min-width: 0;
}

.article-figure {
  margin: 0 0 42px;
}

.article-figure img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.article-body {
  color: #60676d;
  font-size: 16px;
  line-height: 1.9;
}

.article-body p {
  margin-bottom: 1em;
}

.article-meta-bottom {
  margin: 80px 0 0;
  color: #aaaeb2;
  font-size: 12px;
  text-align: center;
}

.author-box {
  margin-top: 52px;
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 28px;
  background: #f7f7f7;
}

.author-avatar {
  width: 70px;
  height: 70px;
  flex: 0 0 auto;
  background: linear-gradient(135deg, #fff, #e8e8e8);
  border-radius: 50%;
}

.author-box h2 {
  margin: 0 0 4px;
  font-size: 16px;
}

.author-box a {
  color: #a0a5aa;
  font-size: 12px;
  text-decoration: none;
}

.article-sidebar {
  padding-left: 2px;
}

.article-sidebar section,
.article-sidebar nav {
  margin-bottom: 64px;
}

.article-sidebar h2 {
  margin-bottom: 26px;
  font-size: 16px;
}

.article-sidebar p,
.article-sidebar a {
  color: #7d848a;
  font-size: 13px;
  text-decoration: none;
}

.article-sidebar p {
  display: flex;
  justify-content: space-between;
}

.latest-post {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.latest-post img {
  width: 65px;
  height: 65px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 50%;
}

.latest-post span {
  color: #333;
  line-height: 1.45;
}

.latest-post small {
  margin-top: 7px;
  display: block;
  color: #9ca1a6;
}

.article-sidebar ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-sidebar li {
  border-bottom: 1px solid #e4e7e9;
}

.article-sidebar li a {
  display: block;
  padding: 10px 16px;
  position: relative;
}

.article-sidebar li a::before {
  position: absolute;
  top: 13px;
  left: 0;
  content: "›";
  color: #b7bbc0;
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    padding-top: 30px;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .blog-hero {
    min-height: 320px;
    background-position: 44% center;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-toolbar {
    height: 90px;
  }

  .post-card__content {
    padding: 28px 24px 42px;
  }

  .post-card__content h2 {
    font-size: 21px;
  }

  .article-title-band {
    padding: 50px 0 44px;
  }

  .article-section {
    padding: 56px 0 72px;
  }

  .article-meta-bottom {
    margin-top: 50px;
  }
}
