:root {
  --blog-ink: #261914;
  --blog-muted: #705f57;
  --blog-paper: #fffdfa;
  --blog-wash: #fff4ee;
  --blog-line: rgba(74, 46, 32, 0.14);
  --blog-orange: #ff6b00;
  --blog-orange-dark: #a04100;
  --blog-shadow: 0 24px 70px rgba(88, 46, 21, 0.12);
}

.blog-index-page,
.blog-article-page {
  background:
    radial-gradient(circle at 8% 7%, rgba(255, 107, 0, 0.09), transparent 28rem),
    #fff8f6;
  color: var(--blog-ink);
}

.blog-index-page main,
.blog-article-page main {
  overflow: clip;
}

.blog-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.15rem;
  color: var(--blog-orange-dark);
  font-family: "Lexend", sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.blog-kicker::before {
  width: 1.7rem;
  height: 2px;
  background: var(--blog-orange);
  content: "";
}

.blog-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(2rem, 5vw, 5.25rem);
  align-items: center;
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
}

.blog-home-hero h1 {
  max-width: 12ch;
  margin: 0 0 1.25rem;
  color: var(--blog-ink);
  font-family: "Lexend", sans-serif;
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.blog-home-hero p {
  max-width: 38rem;
  margin: 0;
  color: var(--blog-muted);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.7;
}

.blog-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.blog-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3.1rem;
  padding: 0.8rem 1.15rem;
  border: 1px solid var(--blog-line);
  border-radius: 0.75rem;
  color: var(--blog-ink);
  background: rgba(255, 255, 255, 0.72);
  font-family: "Lexend", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.025em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.blog-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(62, 36, 24, 0.12);
}

.blog-button--primary {
  border-color: var(--blog-orange);
  color: #fff;
  background: var(--blog-orange);
}

.blog-home-visual {
  position: relative;
  min-height: 28rem;
  margin: 0;
}

.blog-home-visual::before {
  position: absolute;
  inset: 1.2rem -1rem -1rem 2rem;
  border-radius: 1.5rem;
  background: #2e211c;
  content: "";
  transform: rotate(2deg);
}

.blog-home-visual picture {
  display: block;
}

.blog-home-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 28rem;
  border-radius: 1.5rem;
  object-fit: cover;
  box-shadow: var(--blog-shadow);
}

.blog-home-visual figcaption {
  position: absolute;
  z-index: 2;
  right: 1rem;
  bottom: 1rem;
  max-width: 17rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0.8rem;
  color: #fff;
  background: rgba(36, 25, 20, 0.84);
  backdrop-filter: blur(12px);
  font-size: 0.78rem;
  line-height: 1.45;
}

.blog-section {
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.blog-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.65rem;
}

.blog-section-heading h2 {
  max-width: 15ch;
  margin: 0;
  font-family: "Lexend", sans-serif;
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.blog-section-heading p {
  max-width: 33rem;
  margin: 0;
  color: var(--blog-muted);
  line-height: 1.65;
}

.blog-start-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.blog-start-card {
  position: relative;
  min-height: 14.5rem;
  padding: 1.55rem;
  overflow: hidden;
  border: 1px solid var(--blog-line);
  border-radius: 1.2rem;
  color: var(--blog-ink);
  background: rgba(255, 253, 250, 0.88);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.blog-start-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 0, 0.5);
  box-shadow: 0 18px 40px rgba(72, 40, 24, 0.1);
}

.blog-start-number {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 2.5rem;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--blog-orange);
  font-family: "Lexend", sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
}

.blog-start-card h3 {
  max-width: 16ch;
  margin: 0 0 0.55rem;
  font-family: "Lexend", sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.blog-start-card p {
  margin: 0;
  color: var(--blog-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.blog-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.5rem;
  color: #fff;
  background: #2b201b;
  box-shadow: var(--blog-shadow);
}

.blog-feature img {
  width: 100%;
  height: 100%;
  min-height: 27rem;
  object-fit: cover;
}

.blog-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.5rem);
}

.blog-feature-copy .blog-kicker {
  color: #ffb27d;
}

.blog-feature-copy h2 {
  margin: 0 0 1rem;
  font-family: "Lexend", sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
}

.blog-feature-copy p {
  margin: 0 0 1.4rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.blog-feature-copy a {
  align-self: flex-start;
  color: #fff;
  font-family: "Lexend", sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration-color: var(--blog-orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.4rem;
  text-transform: uppercase;
}

.blog-library {
  background: rgba(255, 255, 255, 0.52);
  border-top: 1px solid var(--blog-line);
  border-bottom: 1px solid var(--blog-line);
}

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

.blog-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--blog-line);
  border-radius: 1.1rem;
  color: var(--blog-ink);
  background: var(--blog-paper);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 0, 0.42);
  box-shadow: 0 18px 42px rgba(66, 37, 22, 0.1);
}

.blog-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e9ddd6;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms cubic-bezier(0.22, 1, 0.36, 1);
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.035);
}

.blog-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.35rem;
}

.blog-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
  color: var(--blog-orange-dark);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-card-meta time {
  color: #907b70;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.blog-card h3 {
  margin: 0 0 0.65rem;
  font-family: "Lexend", sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.blog-card p {
  margin: 0 0 1.2rem;
  color: var(--blog-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.blog-card-read {
  display: inline-flex;
  gap: 0.3rem;
  align-items: center;
  margin-top: auto;
  color: var(--blog-orange-dark);
  font-family: "Lexend", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-final-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  width: min(1180px, calc(100% - 3rem));
  margin: clamp(3rem, 6vw, 5rem) auto;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 1.5rem;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(255, 107, 0, 0.95), rgba(160, 65, 0, 0.97)),
    #a04100;
  box-shadow: var(--blog-shadow);
}

.blog-final-cta h2 {
  margin: 0 0 0.5rem;
  font-family: "Lexend", sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

.blog-final-cta p {
  max-width: 43rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.blog-final-cta .blog-button {
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

/* Article experience */
.blog-reading-progress {
  position: fixed;
  z-index: 80;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--blog-orange);
  box-shadow: 0 0 12px rgba(255, 107, 0, 0.45);
  transform-origin: left;
}

.blog-article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  grid-auto-rows: auto;
  column-gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  width: min(1180px, calc(100% - 3rem));
  max-width: none !important;
  margin: 0 auto !important;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem) !important;
}

.blog-article-hero > :not(.blog-hero-media) {
  grid-column: 1;
}

.blog-article-hero > a:first-child {
  grid-column: 1 / -1;
  justify-self: start;
}

.blog-article-hero h1 {
  max-width: 15ch;
  margin-bottom: 1rem !important;
  color: var(--blog-ink);
  font-size: clamp(2.45rem, 5vw, 4.8rem) !important;
  letter-spacing: -0.052em !important;
  line-height: 0.98 !important;
}

.blog-article-hero > p:last-of-type {
  max-width: 42rem;
  margin: 0;
  color: var(--blog-muted) !important;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem) !important;
  line-height: 1.65 !important;
}

.blog-hero-media {
  position: relative;
  grid-column: 2;
  grid-row: 2 / span 5;
  align-self: stretch;
  min-height: 25rem;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--blog-line);
  border-radius: 1.4rem;
  background: #2e211c;
  box-shadow: var(--blog-shadow);
}

.blog-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 25rem;
  object-fit: cover;
}

.blog-hero-media--contain img {
  padding: 0.7rem;
  object-fit: contain;
}

.blog-hero-media figcaption {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  left: 0.85rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.7rem;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(36, 25, 20, 0.82);
  backdrop-filter: blur(10px);
  font-size: 0.75rem;
  line-height: 1.4;
}

.blog-article-shell {
  display: grid;
  grid-template-columns: 14rem minmax(0, 52rem);
  gap: 2rem;
  justify-content: center;
  align-items: start;
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto clamp(4rem, 8vw, 7rem);
}

.blog-article-page .prose-article {
  width: 100%;
  max-width: 52rem !important;
  margin: 0 auto clamp(4rem, 8vw, 7rem) !important;
  padding: clamp(1.5rem, 4vw, 3.5rem) !important;
  border: 1px solid var(--blog-line);
  border-radius: 1.35rem;
  background: rgba(255, 253, 250, 0.94);
  box-shadow: 0 20px 60px rgba(73, 42, 26, 0.08);
  counter-reset: article-section;
}

.blog-article-shell .prose-article {
  margin: 0 !important;
}

.blog-article-page .prose-article > h2 {
  position: relative;
  margin-top: 3.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--blog-line);
  color: var(--blog-ink);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  letter-spacing: -0.035em;
  line-height: 1.18;
  counter-increment: article-section;
  scroll-margin-top: 8rem;
}

.blog-article-page .prose-article > h2::before {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--blog-orange-dark);
  content: "0" counter(article-section);
  font-family: "Lexend", sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.blog-article-page .prose-article h3 {
  color: var(--blog-ink);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.blog-article-page .prose-article p {
  color: #584943;
  font-size: 1.04rem;
  line-height: 1.78;
}

.blog-article-page .prose-article > ul,
.blog-article-page .prose-article > ol {
  margin: 1.5rem 0 2rem;
  padding: 1.35rem 1.35rem 1.35rem 2.75rem;
  border: 1px solid var(--blog-line);
  border-radius: 1rem;
  color: #584943;
  background: #fff8f3;
}

.blog-article-page .prose-article li {
  margin-bottom: 0.75rem;
  line-height: 1.65;
}

.blog-article-page .prose-article a {
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2rem;
}

.article-quick-answer {
  position: relative;
  margin: 0 0 2.2rem;
  padding: 1.35rem 1.45rem 1.35rem 1.65rem;
  overflow: hidden;
  border: 1px solid rgba(255, 107, 0, 0.28);
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.11), rgba(255, 255, 255, 0.82));
}

.article-quick-answer::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--blog-orange);
  content: "";
}

.article-quick-answer .article-module-label,
.drive-shop-note .article-module-label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--blog-orange-dark);
  font-family: "Lexend", sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-quick-answer p {
  margin: 0 !important;
  color: var(--blog-ink) !important;
  font-size: 1rem !important;
  line-height: 1.65 !important;
}

.drive-shop-note {
  position: relative;
  margin: 2.5rem 0;
  padding: clamp(1.35rem, 4vw, 2rem);
  border-radius: 1rem;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 107, 0, 0.28), transparent 18rem),
    #2b201b;
}

.drive-shop-note .article-module-label {
  color: #ffb27d;
}

.drive-shop-note h2,
.drive-shop-note h3 {
  margin: 0 0 0.65rem !important;
  color: #fff !important;
  font-size: 1.35rem !important;
}

.drive-shop-note p {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.98rem !important;
  line-height: 1.65 !important;
}

.blog-article-page .prose-article figure {
  margin: 2.5rem 0;
  overflow: hidden;
  border: 1px solid var(--blog-line);
  border-radius: 1rem;
  background: #f2e8e2;
}

.blog-article-page .prose-article figure img {
  display: block;
  width: 100%;
  max-height: 38rem;
  object-fit: cover;
  border-radius: 0 !important;
}

.blog-article-page .prose-article figcaption {
  margin: 0 !important;
  padding: 0.8rem 1rem;
  color: var(--blog-muted);
  background: #fffaf6;
  font-size: 0.78rem;
  line-height: 1.5;
}

.blog-toc {
  position: sticky;
  top: 8.25rem;
}

.blog-toc details {
  padding: 1rem;
  border: 1px solid var(--blog-line);
  border-radius: 0.9rem;
  background: rgba(255, 253, 250, 0.88);
}

.blog-toc summary {
  color: var(--blog-ink);
  cursor: pointer;
  font-family: "Lexend", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  list-style: none;
  text-transform: uppercase;
}

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

.blog-toc ol {
  display: grid;
  gap: 0.1rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.blog-toc a {
  display: block;
  padding: 0.45rem 0.55rem;
  border-left: 2px solid transparent;
  color: #7d6a61;
  font-size: 0.76rem;
  line-height: 1.35;
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.blog-toc a:hover,
.blog-toc a.is-active {
  border-color: var(--blog-orange);
  color: var(--blog-orange-dark);
  background: rgba(255, 107, 0, 0.06);
}

.blog-related-guides {
  margin-top: 3rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--blog-line);
}

.blog-related-guides > p {
  margin-bottom: 0.35rem !important;
  color: var(--blog-orange-dark) !important;
  font-family: "Lexend", sans-serif;
  font-size: 0.68rem !important;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.blog-related-guides h2 {
  margin: 0 0 1rem !important;
  padding: 0 !important;
  border: 0 !important;
  color: var(--blog-ink) !important;
  font-size: 1.65rem !important;
}

.blog-related-guides h2::before {
  display: none !important;
}

.blog-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.blog-related-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 5.5rem;
  padding: 1rem;
  border: 1px solid var(--blog-line);
  border-radius: 0.85rem;
  color: var(--blog-ink) !important;
  background: #fff8f3;
  font-family: "Lexend", sans-serif;
  font-size: 0.83rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none !important;
}

.blog-related-grid a:hover {
  border-color: rgba(255, 107, 0, 0.42);
  background: #fff3eb;
}

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

  .blog-article-shell {
    grid-template-columns: minmax(0, 52rem);
  }

  .blog-toc {
    position: static;
  }

  .blog-toc details:not([open]) nav {
    display: none;
  }
}

@media (max-width: 800px) {
  .blog-home-hero,
  .blog-article-hero {
    grid-template-columns: 1fr;
    width: min(100% - 2rem, 42rem);
  }

  .blog-home-hero {
    padding-top: 3.5rem;
  }

  .blog-home-hero h1 {
    max-width: 11ch;
  }

  .blog-home-visual {
    min-height: 22rem;
  }

  .blog-home-visual img {
    height: 22rem;
  }

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

  .blog-start-card {
    min-height: 0;
  }

  .blog-start-number {
    margin-bottom: 1.5rem;
  }

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

  .blog-feature img {
    min-height: 18rem;
    max-height: 23rem;
  }

  .blog-article-hero > :not(.blog-hero-media),
  .blog-article-hero > a:first-child,
  .blog-hero-media {
    grid-column: 1;
  }

  .blog-hero-media {
    grid-row: auto;
    min-height: 20rem;
    margin-top: 1rem;
  }

  .blog-hero-media img {
    min-height: 20rem;
  }

  .blog-section,
  .blog-final-cta,
  .blog-article-shell {
    width: min(100% - 2rem, 42rem);
  }

  .blog-section-heading,
  .blog-final-cta {
    align-items: start;
    flex-direction: column;
  }

  .blog-final-cta {
    display: flex;
  }
}

@media (max-width: 620px) {
  .blog-card-grid,
  .blog-related-grid {
    grid-template-columns: 1fr;
  }

  .blog-section-heading {
    display: block;
  }

  .blog-section-heading p {
    margin-top: 0.8rem;
  }

  .blog-home-hero h1,
  .blog-article-hero h1 {
    font-size: clamp(2.35rem, 13vw, 3.45rem) !important;
  }

  .blog-home-visual::before {
    inset: 0.7rem -0.35rem -0.65rem 0.8rem;
  }

  .blog-home-visual figcaption {
    right: 0.6rem;
    bottom: 0.6rem;
    left: 0.6rem;
    max-width: none;
  }

  .blog-article-page .prose-article {
    padding: 1.25rem !important;
    border-radius: 1rem;
  }

  .blog-article-page .prose-article p {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-button,
  .blog-card,
  .blog-card-media img,
  .blog-start-card {
    transition: none;
  }
}
