.blog-hero.inner-hero {
  min-height: 420px;
}

.blog-hero h1 {
  max-width: 920px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.08;
}

.blog-hero.inner-hero p:not(.hero-kicker) {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
}

.blog-hero .wrap {
  display: grid;
  gap: 0;
}

.blog-section-head {
  align-items: start;
}

.blog-page {
  overflow-x: hidden;
}

.blog-page .site-footer {
  width: 100vw !important;
  max-width: 100vw !important;
}

.blog-page .site-footer .wrap,
.blog-article-layout,
.blog-article,
.blog-table-wrap {
  min-width: 0;
  max-width: 100%;
}

.blog-index-hero {
  min-height: 460px;
}

.blog-index-hero h1 {
  font-size: clamp(48px, 7vw, 86px);
}

.blog-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.blog-card {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 16px 42px rgba(17, 17, 17, 0.08);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.blog-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.blog-card__media {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 220px;
  gap: 12px;
  padding: 24px;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.blog-card__media::before,
.blog-card__media::after {
  position: absolute;
  inset: 0;
  content: "";
}

.blog-card__media::before {
  background: var(--card-image) center / cover no-repeat;
  opacity: 0.78;
  transition: opacity 180ms ease, transform 260ms ease;
}

.blog-card__media::after {
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.18), rgba(17, 17, 17, 0.86)),
    linear-gradient(90deg, rgba(17, 17, 17, 0.46), rgba(17, 17, 17, 0.1));
}

.blog-card:hover .blog-card__media::before {
  opacity: 0.62;
  transform: scale(1.04);
}

.blog-card__body {
  display: grid;
  gap: 16px;
  padding: 22px 24px 24px;
}

.blog-card span,
.blog-card strong {
  position: relative;
  z-index: 1;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.blog-card span {
  align-self: start;
}

.blog-card h3 {
  position: relative;
  z-index: 1;
  align-self: end;
  margin: 0;
  color: var(--white);
  font-size: clamp(22px, 2.4vw, 25px);
  font-weight: 900;
  line-height: 1.1;
}

.blog-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.blog-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 308px);
  gap: 42px;
  align-items: start;
}

.blog-article {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.78;
}

.blog-article p {
  margin: 0 0 20px;
}

.blog-article p:first-child {
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.65;
}

.blog-article .blog-article__lead {
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.65;
}

.blog-article .blog-article__heading {
  margin: 38px 0 14px;
  color: var(--ink);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 900;
  line-height: 1.16;
}

.blog-article .blog-article__lead + .blog-article__heading,
.blog-article p:first-child + .blog-article__heading {
  margin-top: 28px;
}

.blog-article .blog-article__list,
.blog-article .blog-article__data {
  padding: 16px 18px;
  border-left: 4px solid var(--orange);
  border-radius: 8px;
  background: #f7f4f1;
  color: var(--ink);
}

.blog-article .blog-article__list {
  font-weight: 700;
}

.blog-article .blog-article__data {
  font-weight: 800;
}

.blog-table-wrap {
  margin: 24px 0 30px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(17, 17, 17, 0.08);
}

.blog-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
}

.blog-table th,
.blog-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
  text-align: left;
  vertical-align: top;
}

.blog-table th {
  background: #f7f4f1;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-table tbody tr:last-child td {
  border-bottom: 0;
}

.blog-table tbody tr:nth-child(even) td {
  background: rgba(247, 244, 241, 0.55);
}

.blog-faq-list {
  display: grid;
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.blog-faq-list details {
  border-bottom: 1px solid var(--line);
}

.blog-faq-list summary {
  position: relative;
  display: block;
  padding: 22px 44px 22px 0;
  color: var(--ink);
  cursor: pointer;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 900;
  line-height: 1.25;
  list-style: none;
}

.blog-faq-list summary::-webkit-details-marker {
  display: none;
}

.blog-faq-list summary::after {
  position: absolute;
  top: 22px;
  right: 4px;
  color: var(--orange);
  content: "+";
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.blog-faq-list details[open] summary::after {
  content: "-";
}

.blog-faq-list details p {
  margin: 0;
  padding: 0 0 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.blog-side-column {
  position: sticky;
  top: 132px;
  display: grid;
  gap: 16px;
  align-self: start;
}

.blog-project-cta {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: 8px;
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 14px 32px rgba(224, 98, 35, 0.2);
}

.blog-project-cta span:first-child {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.blog-project-cta h2 {
  margin: 0;
  color: var(--white);
  font-size: 23px;
  font-weight: 900;
  line-height: 1.12;
}

.blog-project-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  line-height: 1.55;
}

.blog-project-cta a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.blog-project-cta a:hover {
  background: var(--ink);
  color: var(--white);
}

.blog-all-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.blog-all-button:hover {
  border-color: var(--orange);
  color: var(--orange);
}

@media (max-width: 980px) {
  .blog-index-hero {
    min-height: 420px;
  }

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

  .blog-side-column {
    position: static;
  }
}

@media (max-width: 640px) {
  .blog-page .site-footer .wrap {
    width: min(calc(100% - 32px), var(--wrap));
  }

  .blog-index-hero {
    min-height: 380px;
  }

  .blog-index-hero h1 {
    font-size: clamp(38px, 12vw, 54px);
    line-height: 1;
  }

  .blog-index-hero p:not(.hero-kicker) {
    font-size: 16px;
  }

  .blog-hero h1 {
    font-size: clamp(28px, 9vw, 38px);
    line-height: 1.12;
  }

  .blog-card {
    min-height: 0;
    padding: 24px;
  }

  .blog-article {
    font-size: 16px;
  }

  .blog-article p:first-child {
    font-size: 17px;
  }
}
