/* Blog — page-specific styles on top of shared homepage styles */

.blog-page {
  --blog-ink: #f6f6f3;
  --blog-muted: rgba(246, 246, 243, 0.78);
  --blog-line: rgba(255, 255, 255, 0.08);
  --blog-glow: rgba(255, 222, 3, 0.14);
  background: #090a0b;
}

.blog-page .site-header,
.blog-page .site-header > .container,
.blog-page .topbar,
.blog-page .topbar__nav,
.blog-page .topbar__actions {
  overflow: visible;
}

.blog-page .site-header {
  z-index: 1000;
}

.page-hero {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
  margin-top: 96px;
  padding: 32px 0;
  color: #111318;
  background: transparent;
}

.page-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: min(100%, 800px);
  height: 160px;
  padding: 16px 28px;
  border-radius: 22px;
  background: #eeece5;
  text-align: center;
}

.page-hero .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  color: rgba(17, 19, 24, 0.55);
  font-size: 0.8rem;
  font-weight: 600;
}

.page-hero .breadcrumbs a {
  color: inherit;
  text-decoration: none;
  transition: color 220ms ease;
}

.page-hero .breadcrumbs a:hover {
  color: #111318;
}

.page-hero .breadcrumbs i {
  color: var(--accent);
  font-size: 0.65rem;
}

.page-hero .breadcrumbs [aria-current="page"] {
  color: #111318;
}

.page-hero h1 {
  margin: 0;
  color: #111318;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.15;
  text-transform: uppercase;
}

/* Blog listing */
.blog-listing {
  padding: clamp(28px, 4vw, 48px) 0 clamp(64px, 8vw, 100px);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.blog-card {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  gap: 0;
  min-height: 478px;
  padding: 0;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  background: #111318;
  border: 1px solid rgba(255, 255, 255, 0.02);
  border-radius: 22px;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

.blog-card__media {
  position: relative;
  aspect-ratio: 12 / 5;
  min-height: 0;
  margin: 29px 22px 0;
  padding: 0;
  overflow: hidden;
  background: #17191d;
  border-radius: 8px;
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 420ms ease;
}

.blog-card:hover .blog-card__media img {
  transform: scale(1.02);
}

.blog-card > .blog-card__index,
.blog-card > h2,
.blog-card > p,
.blog-card > .blog-card__link {
  margin-inline: 22px;
}

.blog-card > .blog-card__index {
  margin-top: 16px;
}

.blog-card > .blog-card__link {
  margin-bottom: 22px;
}

.blog-card__index {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.blog-card h2 {
  margin: 10px 22px 11px;
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  text-transform: uppercase;
}

.blog-card p {
  display: -webkit-box;
  min-height: calc(1.7em * 3);
  margin: 0 22px 17px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
}

.blog-card__link i {
  color: var(--accent);
  transition: transform 220ms ease;
}

.blog-card:hover .blog-card__link i {
  transform: translateX(3px);
}

/* Article — full site width, zigzag image/text */
.blog-article {
  padding: clamp(8px, 2vw, 20px) 0 clamp(48px, 6vw, 72px);
}

.blog-article__shell {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.blog-article__layout {
  display: grid;
  gap: clamp(40px, 5vw, 64px);
  width: 100%;
}

.blog-lead,
.blog-section {
  display: grid;
  gap: 20px;
}

.blog-section__head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  margin: 0;
}

.blog-section__index {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #111318;
  background: var(--accent);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.blog-section__head h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.28rem, 2.1vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
  text-transform: none;
  border: 0;
  padding: 0;
}

.blog-section__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.blog-section--media-right .blog-section__media {
  order: initial;
}

.blog-section--media-right .blog-section__copy {
  order: initial;
}

.blog-section__media {
  min-width: 0;
}

.blog-section__media .blog-figure,
.blog-section__media .blog-media {
  margin: 0;
  width: 100%;
}

.blog-section__copy,
.blog-section__content {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.blog-section__copy > :first-child,
.blog-section__content > :first-child {
  margin-top: 0;
}

.blog-section__copy > :last-child,
.blog-section__content > :last-child {
  margin-bottom: 0;
}

.blog-section ol,
.blog-section ul,
.blog-section__copy ol,
.blog-section__copy ul,
.blog-section__content ol,
.blog-section__content ul,
.blog-lead ol,
.blog-lead ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-section li,
.blog-section__copy li,
.blog-section__content li,
.blog-lead li {
  position: relative;
  margin: 0;
  padding: 2px 0 2px 28px;
  color: var(--blog-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.blog-section ol,
.blog-section__copy ol,
.blog-section__content ol,
.blog-lead ol {
  counter-reset: blog-item;
}

.blog-section ol > li,
.blog-section__copy ol > li,
.blog-section__content ol > li,
.blog-lead ol > li {
  counter-increment: blog-item;
}

.blog-section ol > li::before,
.blog-section__copy ol > li::before,
.blog-section__content ol > li::before,
.blog-lead ol > li::before {
  content: counter(blog-item, decimal-leading-zero);
  position: absolute;
  top: 5px;
  left: 0;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.blog-section ul > li::before,
.blog-section__copy ul > li::before,
.blog-section__content ul > li::before,
.blog-lead ul > li::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.blog-section li ul,
.blog-section li ol,
.blog-section__copy li ul,
.blog-section__copy li ol,
.blog-section__content li ul,
.blog-section__content li ol {
  margin-top: 10px;
}

.blog-intro,
.blog-block {
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.blog-rich h3,
.blog-rich h4 {
  margin: 0.2rem 0;
  color: #fff;
  font-size: 1.12rem;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.blog-rich p {
  margin: 0;
  color: var(--blog-muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.blog-rich strong {
  color: #fff;
  font-weight: 700;
}

.blog-figure,
.blog-media {
  width: 100%;
  margin: 0;
  padding: 0;
  background: none;
  border-radius: 0;
  min-height: 0;
  display: block;
}

.blog-figure {
  line-height: 0;
}

.blog-rich img,
.blog-figure img {
  width: 100%;
  max-width: 100%;
  height: clamp(180px, 24vw, 320px);
  max-height: 320px;
  margin: 0;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  display: block;
  background: transparent;
}

.blog-section__media .blog-figure,
.blog-lead .blog-figure {
  min-height: 0;
  padding: 0;
  background: none;
}

.blog-section__media img,
.blog-lead img {
  max-width: 100%;
  max-height: 320px;
}

.blog-media {
  display: grid;
  gap: 14px;
  width: 100%;
}

.blog-media--pair {
  grid-template-columns: 1fr;
}

.blog-media--pair .blog-figure {
  min-height: 0;
}

.blog-media--pair img {
  max-height: 320px;
}

@media (max-width: 760px) {
  .blog-article__shell {
    width: min(calc(100% - 20px), var(--container));
  }

  .blog-article__layout {
    gap: 36px;
  }

  .blog-rich img,
  .blog-figure img {
    border-radius: 14px;
  }

  .blog-media--pair {
    grid-template-columns: 1fr;
  }
}

.blog-rich a {
  color: var(--accent);
}

.blog-page[dir="rtl"] .blog-rich ul,
.blog-page[dir="rtl"] .blog-rich ol {
  padding-left: 0;
  padding-right: 1.25rem;
}

.blog-page[dir="rtl"] .page-hero .breadcrumbs i {
  transform: scaleX(-1);
}

.blog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.blog-actions .button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 220ms ease, background-color 220ms ease, color 220ms ease;
}

.blog-actions .button--accent {
  color: #111318;
  background: var(--accent);
}

.blog-actions .button--outline {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
}

.blog-actions .button:hover {
  transform: translateY(-2px);
}

/* Highlights */
.blog-highlights {
  padding: 0 0 clamp(40px, 5vw, 64px);
}

.blog-highlights__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.blog-highlight {
  padding: 28px 24px;
  background: linear-gradient(180deg, rgba(255, 222, 3, 0.08), transparent 55%), var(--surface);
  border-radius: var(--radius-card);
}

.blog-highlight i {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  place-items: center;
  color: #111318;
  background: var(--accent);
  border-radius: 14px;
  font-size: 1rem;
}

.blog-highlight h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
}

.blog-highlight p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* Products section on blog posts */
.blog-products {
  padding: 0 0 clamp(56px, 7vw, 96px);
}

.blog-products__head {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto 24px;
  padding-inline: 10px;
}

.blog-products__head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.04em;
}

.blog-products__head p {
  margin: 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.blog-products .archive-listing {
  position: relative;
  padding: 0;
}

.blog-products .product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
  padding-inline: 10px;
}

.blog-products .product-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
  min-height: 390px;
  padding: 20px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  background:
    radial-gradient(circle at 70% 38%, rgba(255, 222, 3, 0.05), transparent 30%),
    var(--surface);
  border-radius: var(--radius-card);
  transition:
    background-color 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
}

.blog-products .product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(135deg, rgba(255, 222, 3, 0.07), transparent 42%);
  transition: opacity 220ms ease;
}

.blog-products .product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28), 0 0 42px rgba(255, 222, 3, 0.055);
}

.blog-products .product-card:hover::before {
  opacity: 1;
}

.blog-products .product-card__header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.blog-products .product-card h2 {
  margin: 0;
  font-size: clamp(1.2rem, 1.35vw, 1.55rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.blog-products .product-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
  color: #d9dade;
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 220ms ease;
}

.blog-products .product-link i {
  color: #fff;
  transition: color 220ms ease, transform 220ms ease;
}

.blog-products .product-card:hover .product-link {
  color: #fff;
}

.blog-products .product-card:hover .product-link i {
  color: var(--accent);
  transform: translate(2px, -2px);
}

.blog-products .product-card__image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 235px;
  margin: 8px 0 12px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 26px 28px rgba(0, 0, 0, 0.35));
  transition: transform 360ms ease;
}

.blog-products .product-card:hover .product-card__image {
  transform: scale(1.018);
}

.blog-products .product-card__specs {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 0;
}

.blog-products .product-card__specs > div {
  min-width: 0;
  min-height: 74px;
  padding: 11px;
  background: var(--surface-raised);
  border-radius: var(--radius-small);
}

.blog-products .product-card__specs dt {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 600;
  line-height: 1.4;
  text-transform: uppercase;
}

.blog-products .product-card__specs dd {
  margin: 0;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}

.blog-products .product-card__specs dd span {
  color: #a9abb1;
  font-size: 0.54rem;
  font-weight: 500;
}

/* Process steps */
.blog-process {
  padding: 0 0 clamp(56px, 7vw, 96px);
}

.blog-process__inner {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
  padding: clamp(32px, 4vw, 48px);
  background: #eeece5;
  border-radius: var(--radius-card);
  color: #111318;
}

.blog-process__inner > h2 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  letter-spacing: -0.04em;
}

.blog-process__inner > p {
  margin: 0 0 28px;
  max-width: 720px;
  color: rgba(17, 19, 24, 0.72);
  font-size: 0.98rem;
  line-height: 1.7;
}

.blog-process__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.blog-process__step {
  padding: 22px;
  background: rgba(17, 19, 24, 0.05);
  border-radius: 18px;
}

.blog-process__step span {
  display: block;
  margin-bottom: 14px;
  color: #111318;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.blog-process__step h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.blog-process__step p {
  margin: 0;
  color: rgba(17, 19, 24, 0.68);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* CTA */
.blog-cta {
  padding: 0 0 clamp(64px, 8vw, 100px);
}

.blog-cta__inner {
  display: grid;
  gap: 18px;
  justify-items: start;
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
  padding: clamp(32px, 5vw, 52px);
  background:
    linear-gradient(135deg, rgba(255, 222, 3, 0.16), transparent 42%),
    var(--surface);
  border-radius: var(--radius-card);
}

.blog-cta__inner h2 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.blog-cta__inner p {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.blog-cta__meta {
  display: grid;
  gap: 8px;
  margin: 8px 0 4px;
  color: rgba(246, 246, 243, 0.86);
  font-size: 0.92rem;
}

.blog-cta__meta a {
  color: var(--accent);
  text-decoration: none;
}

@media (max-width: 1120px) {
  .blog-grid,
  .blog-highlights__grid,
  .blog-products .product-grid,
  .blog-process__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .page-hero {
    width: min(calc(100% - 20px), var(--container));
    margin-top: 84px;
    padding: 24px 0;
  }

  .page-hero__inner {
    min-height: 160px;
    padding: 14px 20px;
    border-radius: 18px;
  }

  .page-hero h1 {
    font-size: clamp(1.2rem, 6vw, 1.55rem);
  }

  .blog-grid,
  .blog-highlights__grid,
  .blog-products .product-grid,
  .blog-process__grid {
    grid-template-columns: 1fr;
  }

  .blog-highlights__grid,
  .blog-products__head,
  .blog-products .product-grid,
  .blog-process__inner,
  .blog-cta__inner {
    width: min(calc(100% - 20px), var(--container));
  }

  .blog-products .product-card {
    min-height: 0;
  }

  .blog-products .product-card__image {
    height: 240px;
  }
}

/* Blog detail pages — industrial editorial redesign */
.blog-page .blog-article {
  margin-top: clamp(28px, 4vw, 52px);
  padding: 0 0 clamp(64px, 8vw, 104px);
}

.blog-page .blog-article__shell {
  width: min(calc(100% - 32px), 1120px);
  margin-inline: auto;
  padding: clamp(32px, 6vw, 80px);
  color: #161719;
  background: #f1efe8;
  border-radius: 28px;
}

.blog-page .blog-article__layout {
  gap: 0;
}

.blog-page .blog-lead,
.blog-page .blog-section {
  gap: clamp(20px, 3vw, 30px);
  padding: clamp(34px, 5vw, 64px) 0;
  border-bottom: 1px solid rgba(17, 19, 24, 0.14);
}

.blog-page .blog-lead:first-child,
.blog-page .blog-section:first-child {
  padding-top: 0;
}

.blog-page .blog-section__head {
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: start;
  gap: clamp(18px, 3vw, 34px);
}

.blog-page .blog-section__index {
  width: 56px;
  height: 30px;
  color: #161719;
  background: transparent;
  border-top: 3px solid var(--accent);
  border-radius: 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.blog-page .blog-section__head h2 {
  max-width: 26ch;
  color: #161719;
  font-size: clamp(1.65rem, 3.4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.08;
  text-wrap: balance;
}

.blog-page .blog-section__row {
  gap: clamp(24px, 4vw, 38px);
}

.blog-page .blog-section__copy,
.blog-page .blog-section__content {
  width: min(100%, 800px);
  margin-inline: auto;
}

.blog-page .blog-rich p,
.blog-page .blog-rich li {
  color: rgba(22, 23, 25, 0.76);
  font-size: clamp(0.98rem, 1.25vw, 1.06rem);
  line-height: 1.85;
}

.blog-page .blog-rich h3,
.blog-page .blog-rich h4,
.blog-page .blog-rich strong {
  color: #161719;
}

.blog-page .blog-rich h3,
.blog-page .blog-rich h4 {
  font-size: 1.22rem;
}

.blog-page .blog-rich img,
.blog-page .blog-figure img {
  height: clamp(220px, 32vw, 380px);
  max-height: 380px;
  object-fit: cover;
  border-radius: 4px;
}

.blog-page .blog-section__media img,
.blog-page .blog-lead img,
.blog-page .blog-media--pair img {
  max-height: 380px;
}

.blog-page .blog-rich a {
  color: #5d5200;
  text-decoration-color: rgba(93, 82, 0, 0.35);
  text-underline-offset: 3px;
}

.blog-page .blog-actions {
  margin-top: clamp(32px, 5vw, 56px);
}

.blog-page .blog-actions .button--outline {
  color: #161719;
  border-color: rgba(17, 19, 24, 0.22);
}

.blog-page[dir="rtl"] .page-hero__inner {
  text-align: right;
}

.blog-page[dir="rtl"] .page-hero .breadcrumbs {
  justify-content: flex-start;
}

.blog-page[dir="rtl"] .page-hero::after {
  right: auto;
  left: clamp(28px, 5vw, 68px);
}

.blog-page[dir="rtl"] .blog-section__head {
  grid-template-columns: minmax(0, 1fr) 56px;
}

.blog-page[dir="rtl"] .blog-section__index {
  grid-column: 2;
  grid-row: 1;
}

.blog-page[dir="rtl"] .blog-section__head h2 {
  grid-column: 1;
  grid-row: 1;
}

@media (max-width: 760px) {
  .blog-page .page-hero {
    margin-top: 92px;
    padding: 46px 24px 64px;
    border-radius: 20px;
  }

  .blog-page .page-hero__inner {
    min-height: 0;
    padding: 0;
  }

  .blog-page .page-hero h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .blog-page .page-hero .breadcrumbs [aria-current="page"] {
    display: none;
  }

  .blog-page .blog-article__shell {
    width: min(calc(100% - 20px), 1120px);
    padding: 28px 20px;
    border-radius: 20px;
  }

  .blog-page .blog-section__head {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
  }

  .blog-page .blog-section__index {
    width: 38px;
  }

  .blog-page[dir="rtl"] .blog-section__head {
    grid-template-columns: minmax(0, 1fr) 38px;
  }

  .blog-page .blog-rich img,
  .blog-page .blog-figure img {
    height: clamp(200px, 58vw, 300px);
    border-radius: 3px;
  }
}

/* Active blog detail layout: simple, full site width */
@media (min-width: 900px) {
  .blog-page .blog-section--split .blog-section__row {
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
    gap: clamp(30px, 4vw, 58px);
    align-items: center;
  }

  .blog-page .blog-section--media-left .blog-section__media { order: 1; }
  .blog-page .blog-section--media-left .blog-section__copy { order: 2; }
  .blog-page .blog-section--media-right .blog-section__media { order: 2; }
  .blog-page .blog-section--media-right .blog-section__copy { order: 1; }

  .blog-page[dir="rtl"] .blog-section--media-left .blog-section__media { order: 2; }
  .blog-page[dir="rtl"] .blog-section--media-left .blog-section__copy { order: 1; }
  .blog-page[dir="rtl"] .blog-section--media-right .blog-section__media { order: 1; }
  .blog-page[dir="rtl"] .blog-section--media-right .blog-section__copy { order: 2; }
}

.blog-page.blog-page .blog-rich img,
.blog-page.blog-page .blog-figure img {
  width: 100%;
  height: clamp(210px, 24vw, 300px);
  max-height: 300px;
  object-fit: cover;
  object-position: center;
}

.blog-page.blog-page .blog-actions .button--accent,
.blog-page.blog-page .blog-actions .button--accent:visited {
  color: #111318;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: none;
  filter: none;
}

.blog-page.blog-page .blog-actions .button--accent:hover,
.blog-page.blog-page .blog-actions .button--accent:focus-visible {
  color: #111318;
  background: #e7ca00;
  border-color: #e7ca00;
}

.blog-page.blog-page .blog-actions .button--outline,
.blog-page.blog-page .blog-actions .button--outline:visited {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: none;
  filter: none;
}

.blog-page.blog-page .blog-actions .button--outline:hover,
.blog-page.blog-page .blog-actions .button--outline:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
}

@media (max-width: 899px) {
  .blog-page .blog-section--split .blog-section__row {
    grid-template-columns: 1fr;
  }

  .blog-page .blog-section--split .blog-section__media,
  .blog-page .blog-section--split .blog-section__copy {
    order: initial;
  }

  .blog-page.blog-page .blog-rich img,
  .blog-page.blog-page .blog-figure img {
    height: clamp(190px, 52vw, 270px);
    max-height: 270px;
  }
}
.blog-page .blog-article {
  margin-top: 0;
  padding: 12px 0 clamp(64px, 8vw, 96px);
}

.blog-page .blog-article__shell {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
  padding: 0;
  color: var(--blog-ink);
  background: transparent;
  border-radius: 0;
}

.blog-page .blog-article__layout {
  gap: 0;
}

.blog-page .blog-lead,
.blog-page .blog-section {
  gap: 22px;
  padding: clamp(36px, 5vw, 64px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-page .blog-lead:first-child,
.blog-page .blog-section:first-child {
  padding-top: 0;
}

.blog-page .blog-section__head,
.blog-page[dir="rtl"] .blog-section__head {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.blog-page .blog-section__index,
.blog-page[dir="rtl"] .blog-section__index {
  grid-column: auto;
  grid-row: auto;
  width: 42px;
  height: 42px;
  color: #111318;
  background: var(--accent);
  border: 0;
  border-radius: 50%;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.blog-page .blog-section__head h2,
.blog-page[dir="rtl"] .blog-section__head h2 {
  grid-column: auto;
  grid-row: auto;
  max-width: none;
  color: #fff;
  font-size: clamp(1.45rem, 2.6vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
}

.blog-page .blog-section__row {
  gap: 22px;
}

.blog-page .blog-section__copy,
.blog-page .blog-section__content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.blog-page .blog-rich p,
.blog-page .blog-rich li {
  color: var(--blog-muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.blog-page .blog-rich h3,
.blog-page .blog-rich h4,
.blog-page .blog-rich strong {
  color: #fff;
}

.blog-page .blog-rich img,
.blog-page .blog-figure img {
  width: 100%;
  height: clamp(220px, 30vw, 360px);
  max-height: 360px;
  object-fit: cover;
  border-radius: 16px;
}

.blog-page .blog-section__media img,
.blog-page .blog-lead img,
.blog-page .blog-media--pair img {
  max-height: 360px;
}

.blog-page .blog-rich a {
  color: var(--accent);
}

.blog-page .blog-actions {
  margin-top: 32px;
}

.blog-page .blog-actions .button--outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}

.blog-page[dir="rtl"] .page-hero__inner {
  text-align: center;
}

.blog-page[dir="rtl"] .page-hero .breadcrumbs {
  justify-content: center;
}

@media (max-width: 760px) {
  .blog-page .page-hero {
    width: min(calc(100% - 20px), var(--container));
    margin-top: 84px;
    padding: 24px 0;
    border-radius: 0;
  }

  .blog-page .page-hero__inner {
    min-height: 160px;
    height: 160px;
    padding: 14px 20px;
    border-radius: 18px;
  }

  .blog-page .page-hero h1 {
    font-size: clamp(1.2rem, 6vw, 1.55rem);
  }

  .blog-page .page-hero .breadcrumbs [aria-current="page"] {
    display: inline;
  }

  .blog-page .blog-article__shell {
    width: min(calc(100% - 20px), var(--container));
    padding: 0;
    border-radius: 0;
  }

  .blog-page .blog-lead,
  .blog-page .blog-section {
    padding: 34px 0;
  }

  .blog-page .blog-rich img,
  .blog-page .blog-figure img {
    height: clamp(190px, 55vw, 280px);
    border-radius: 12px;
  }
}

/* Borehole reference layout shared by every localized blog article. */
.blog-detail .blog-section {
  position: relative;
  padding: clamp(28px, 4vw, 52px);
  overflow: visible;
  border: 0 !important;
  border-radius: 24px;
}

.blog-detail .blog-section:first-child {
  padding-top: clamp(28px, 4vw, 52px);
}

.blog-detail .blog-section:nth-of-type(odd)::before,
.blog-detail .blog-section:nth-of-type(odd)::after {
  content: "";
  position: absolute;
  z-index: 3;
  width: 29%;
  height: 36%;
  pointer-events: none;
}

.blog-detail .blog-section:nth-of-type(odd)::before {
  top: 0;
  left: 0;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  border-top-left-radius: 24px;
}

.blog-detail .blog-section:nth-of-type(odd)::after {
  right: 0;
  bottom: 0;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  border-bottom-right-radius: 24px;
}

.blog-detail .blog-section:nth-of-type(4n + 3)::before {
  top: auto;
  bottom: 0;
  border-top: 0;
  border-bottom: 2px solid var(--accent);
  border-top-left-radius: 0;
  border-bottom-left-radius: 24px;
}

.blog-detail .blog-section:nth-of-type(4n + 3)::after {
  top: 0;
  bottom: auto;
  border-top: 2px solid var(--accent);
  border-bottom: 0;
  border-top-right-radius: 24px;
  border-bottom-right-radius: 0;
}

.blog-detail .blog-section:nth-of-type(odd) {
  background: #08090a;
}

.blog-detail .blog-section:nth-of-type(even) {
  background: #f1efe8;
}

.blog-detail .blog-section:nth-of-type(even) .blog-section__index,
.blog-detail .blog-section:nth-of-type(even) h2,
.blog-detail .blog-section:nth-of-type(even) h3,
.blog-detail .blog-section:nth-of-type(even) h4,
.blog-detail .blog-section:nth-of-type(even) p,
.blog-detail .blog-section:nth-of-type(even) li,
.blog-detail .blog-section:nth-of-type(even) strong,
.blog-detail .blog-section:nth-of-type(even) em {
  color: #17181b;
}

@media (min-width: 900px) {
  .blog-detail .blog-section--split .blog-section__row {
    align-items: start;
  }

  .blog-detail .blog-section--split .blog-section__media {
    position: sticky;
    top: 110px;
    align-self: start;
    height: auto;
  }

  .blog-detail .blog-section--split .blog-figure,
  .blog-detail .blog-section--split .blog-media {
    height: auto;
  }

  .blog-detail .blog-section--split .blog-section__media img {
    width: 100%;
    height: clamp(300px, 36vw, 520px);
    min-height: 0;
    max-height: 520px;
    object-fit: cover;
  }

  html:not([dir="rtl"]) .blog-detail .blog-section--split:nth-of-type(odd) .blog-section__media {
    order: 1;
  }

  html:not([dir="rtl"]) .blog-detail .blog-section--split:nth-of-type(odd) .blog-section__copy {
    order: 2;
  }

  html:not([dir="rtl"]) .blog-detail .blog-section--split:nth-of-type(even) .blog-section__media {
    order: 2;
  }

  html:not([dir="rtl"]) .blog-detail .blog-section--split:nth-of-type(even) .blog-section__copy {
    order: 1;
  }
}

@media (max-width: 899px) {
  .blog-detail .blog-section {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .blog-detail .blog-section:first-child {
    padding-top: 24px;
  }

  .blog-detail .blog-section:nth-of-type(odd)::before,
  .blog-detail .blog-section:nth-of-type(odd)::after {
    width: 22%;
    height: 24%;
  }

  .blog-detail .blog-section:nth-of-type(odd)::before {
    border-top-left-radius: 18px;
  }

  .blog-detail .blog-section:nth-of-type(odd)::after {
    border-bottom-right-radius: 18px;
  }

  .blog-detail .blog-section:nth-of-type(4n + 3)::before {
    border-top-left-radius: 0;
    border-bottom-left-radius: 18px;
  }

  .blog-detail .blog-section:nth-of-type(4n + 3)::after {
    border-top-right-radius: 18px;
    border-bottom-right-radius: 0;
  }

  .blog-detail .blog-section--split .blog-section__media,
  .blog-detail .blog-section--split .blog-section__copy {
    order: initial;
  }
}

/* Hero content only: no card or enclosing visual container. */
.blog-page .page-hero {
  padding: 28px 0 20px;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.blog-page .page-hero__inner {
  width: 100%;
  height: auto;
  min-height: 0;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.blog-page .page-hero h1,
.blog-page .page-hero .breadcrumbs [aria-current="page"] {
  color: #fff;
}

.blog-page .page-hero .breadcrumbs {
  color: rgba(255, 255, 255, 0.68);
}

.blog-page .page-hero .breadcrumbs a:hover {
  color: #fff;
}

@media (max-width: 760px) {
  .blog-page .page-hero {
    padding: 20px 0 16px;
    border-radius: 0;
  }

  .blog-page .page-hero__inner {
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 0;
    border-radius: 0;
  }
}

/* Blog detail — calm editorial reading layout. */
.blog-detail .blog-article {
  margin: 0;
  padding: clamp(54px, 7vw, 96px) 0;
  color: var(--blog-ink);
  background: #090a0b;
}

.blog-detail .blog-article__shell {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
  padding: 0;
  color: var(--blog-ink);
  background: transparent;
}

.blog-detail .blog-article__layout {
  display: grid;
  gap: 0;
}

.blog-detail .blog-lead,
.blog-detail .blog-section {
  display: grid;
  gap: clamp(22px, 2.5vw, 34px);
  margin-bottom: 51px;
  padding: clamp(46px, 5vw, 64px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-detail .blog-lead:first-child,
.blog-detail .blog-section:first-child {
  padding-top: 0;
}

.blog-detail .blog-section:last-child {
  border-bottom: 0;
}

.blog-detail .blog-section__head,
html[dir="rtl"] .blog-detail .blog-section__head {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: baseline;
  gap: 14px;
  width: min(100%, 1040px);
  margin: 0;
}

.blog-detail .blog-section__index,
html[dir="rtl"] .blog-detail .blog-section__index {
  display: inline-block;
  grid-column: auto;
  grid-row: auto;
  width: auto;
  height: auto;
  color: var(--accent);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.blog-detail .blog-section__head h2,
html[dir="rtl"] .blog-detail .blog-section__head h2 {
  grid-column: auto;
  grid-row: auto;
  max-width: 32ch;
  margin: 0;
  color: #fff;
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.2;
  text-transform: none;
  text-wrap: pretty;
}

.blog-detail .blog-section__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(30px, 4vw, 64px);
  align-items: start;
}

@media (min-width: 900px) {
  .blog-detail .blog-section--split .blog-section__row {
    grid-template-columns: minmax(360px, 0.88fr) minmax(0, 1.12fr);
    align-items: center;
  }

  .blog-detail .blog-section--media-left .blog-section__media {
    order: 1;
  }

  .blog-detail .blog-section--media-left .blog-section__copy {
    order: 2;
  }

  .blog-detail .blog-section--media-right .blog-section__media {
    order: 2;
  }

  .blog-detail .blog-section--media-right .blog-section__copy {
    order: 1;
  }
}

.blog-detail .blog-section__copy,
.blog-detail .blog-section__content {
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: 76ch;
  margin: 0;
  padding: 0;
}

.blog-detail .blog-section:not(.blog-section--split) .blog-section__copy,
.blog-detail .blog-section:not(.blog-section--split) .blog-section__content {
  margin-inline: 0;
}

.blog-detail .blog-rich p,
.blog-detail .blog-rich li {
  color: var(--blog-muted);
  font-size: clamp(1rem, 1.1vw, 1.08rem);
  line-height: 1.82;
}

.blog-detail .blog-rich p {
  margin-block: 0 14px;
}

.blog-detail .blog-rich h3,
.blog-detail .blog-rich h4,
.blog-detail .blog-rich strong {
  color: #fff;
}

.blog-detail .blog-rich h3,
.blog-detail .blog-rich h4 {
  margin: 18px 0 2px;
  font-size: clamp(1.08rem, 1.3vw, 1.22rem);
  line-height: 1.3;
}

.blog-detail .blog-section ul,
.blog-detail .blog-section ol {
  display: grid;
  gap: 10px;
  margin: 4px 0 18px;
  padding: 0;
  list-style: none;
}

.blog-detail .blog-section li {
  position: relative;
  padding: 3px 0 3px 20px;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.blog-detail .blog-section li::before {
  content: "";
  position: absolute;
  top: 0.92em;
  left: 2px;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}

html[dir="rtl"] .blog-detail .blog-section li {
  padding-right: 20px;
  padding-left: 0;
}

html[dir="rtl"] .blog-detail .blog-section li::before {
  right: 2px;
  left: auto;
}

.blog-detail .blog-section__media,
.blog-detail .blog-section__media .blog-figure,
.blog-detail .blog-section__media .blog-media {
  width: 100%;
  margin: 0;
}

.blog-detail .blog-rich img,
.blog-detail .blog-figure img {
  display: block;
  width: 100%;
  height: clamp(230px, 25vw, 320px);
  max-height: 320px;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
}

.blog-detail .blog-media--pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.blog-detail .blog-section--split .blog-media--pair img {
  height: clamp(230px, 22vw, 320px);
  max-height: 320px;
}

.blog-detail .blog-actions {
  margin-top: 26px;
}

.blog-detail .blog-actions .button--outline,
.blog-detail .blog-actions .button--outline:visited {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
}

.blog-detail .blog-actions .button--outline:hover,
.blog-detail .blog-actions .button--outline:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
}

.blog-detail .blog-highlights,
.blog-detail .blog-products,
.blog-detail .blog-process {
  display: none;
}

.blog-detail .page-hero h1 {
  max-width: 26ch;
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-transform: none;
  text-wrap: pretty;
}

@media (max-width: 899px) {
  .blog-detail .blog-article__shell {
    width: min(calc(100% - 32px), var(--container));
  }

  .blog-detail .blog-lead,
  .blog-detail .blog-section {
    gap: 24px;
    padding: 44px 0;
  }

  .blog-detail .blog-section__head,
  html[dir="rtl"] .blog-detail .blog-section__head {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px;
  }

  .blog-detail .blog-section__index,
  html[dir="rtl"] .blog-detail .blog-section__index {
    width: auto;
    height: auto;
  }

  .blog-detail .blog-section--split .blog-section__row {
    grid-template-columns: 1fr;
  }

  .blog-card {
    min-height: 0;
    border-radius: 18px;
  }

  .blog-card__media {
    aspect-ratio: 16 / 9;
    margin: 18px 18px 0;
  }

  .blog-card > .blog-card__index,
  .blog-card > h2,
  .blog-card > p,
  .blog-card > .blog-card__link {
    margin-inline: 18px;
  }

  .blog-card p {
    min-height: 0;
  }

  .blog-detail .blog-section--split .blog-section__media,
  .blog-detail .blog-section--split .blog-section__copy {
    order: initial;
  }

  .blog-detail .blog-rich img,
  .blog-detail .blog-figure img,
  .blog-detail .blog-media--pair img {
    height: clamp(200px, 54vw, 270px);
    max-height: 270px;
    border-radius: 4px;
  }

  .blog-detail .page-hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
    line-height: 1.12;
  }
}

@media (max-width: 760px) {
  .blog-detail .blog-article__shell {
    width: min(calc(100% - 20px), var(--container));
  }
}

@media (max-width: 560px) {
  .blog-detail .blog-media--pair {
    grid-template-columns: 1fr;
  }

  .blog-detail .blog-section li {
    padding: 3px 0 3px 18px;
    border-radius: 0;
  }

  .blog-detail .blog-section li::before {
    left: 1px;
  }
}

/* Blog index and article pages: dark footer background. */
.blog-page:not(.blog-detail) .site-footer,
.blog-detail .site-footer {
  background: #090a0b;
}

/* Compact, borderless page title used across all internal pages. */
.page-hero,
.blog-page .page-hero {
  padding: 28px 0 20px;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.page-hero__inner,
.blog-page .page-hero__inner {
  width: 100%;
  height: auto;
  min-height: 0;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.page-hero h1,
.page-hero .breadcrumbs [aria-current="page"],
.blog-page .page-hero h1,
.blog-page .page-hero .breadcrumbs [aria-current="page"] {
  color: #fff;
}

.page-hero .breadcrumbs,
.blog-page .page-hero .breadcrumbs {
  color: rgba(255, 255, 255, 0.68);
}

.page-hero .breadcrumbs i,
.blog-page .page-hero .breadcrumbs i {
  color: rgba(255, 255, 255, 0.52);
}

.page-hero .breadcrumbs a:hover,
.blog-page .page-hero .breadcrumbs a:hover {
  color: #fff;
}

@media (max-width: 760px) {
  .page-hero,
  .blog-page .page-hero {
    padding: 20px 0 16px;
  }
}

/* Keep the reference card padding authoritative over the editorial base rules. */
.blog-page.blog-detail .blog-section,
.blog-page.blog-detail .blog-section:first-child {
  padding: clamp(28px, 4vw, 52px);
}

.blog-page.blog-detail .blog-section:nth-of-type(even) .blog-section__index,
.blog-page.blog-detail .blog-section:nth-of-type(even) h2,
.blog-page.blog-detail .blog-section:nth-of-type(even) h3,
.blog-page.blog-detail .blog-section:nth-of-type(even) h4,
.blog-page.blog-detail .blog-section:nth-of-type(even) p,
.blog-page.blog-detail .blog-section:nth-of-type(even) li,
.blog-page.blog-detail .blog-section:nth-of-type(even) strong,
.blog-page.blog-detail .blog-section:nth-of-type(even) em {
  color: #17181b;
}

@media (max-width: 899px) {
  .blog-page.blog-detail .blog-section,
  .blog-page.blog-detail .blog-section:first-child {
    padding: 24px 18px;
  }

  .blog-detail .blog-section--split .blog-media--pair img {
    height: clamp(200px, 54vw, 270px);
    max-height: 270px;
  }
}
