/* Allow the additional navigation entry to wrap on translated desktop headers. */
@media (min-width: 1101px) {
  .header-inner { height: auto; min-height: 72px; flex-wrap: wrap; padding-block: 10px; }
  .site-header nav { height: 44px; }
  .site-header nav a[aria-current=page]::after { bottom: 0; }
  .header-actions { margin-left: auto; }
}

body:has(#blog-view:not([hidden])) {
  --ink: #191b1d; --muted: #5a5c5e; --blue: #b83a20; --cyan: #b83a20;
  --surface: #fff; --pale: #f7f7f4; --line: #d6d7d4;
  background: var(--surface); color: var(--ink);
}
:root[data-theme=dark] body:has(#blog-view:not([hidden])) {
  --ink: #f0f0ec; --muted: #b5b7b4; --blue: #b83a20; --cyan: #e37d60;
  --surface: #17191b; --pale: #232629; --line: #494d50;
}
body:has(#blog-view:not([hidden])) .site-header { border-bottom: 1px solid var(--ink); }
body:has(#blog-view:not([hidden])) .header-inner,
body:has(#blog-view:not([hidden])) .footer-inner { max-width: 1240px; }
body:has(#blog-view:not([hidden])) .brand-mark { background: var(--ink); color: var(--surface); border-radius: 0; }
body:has(#blog-view:not([hidden])) .header-actions > .button { display: none; }
body:has(#blog-view:not([hidden])) .saved-link { background: transparent; min-height: 44px; }
body:has(#blog-view:not([hidden])) .count { background: var(--ink); color: var(--surface); border-radius: 2px; }
body:has(#blog-view:not([hidden])) .language-control select,
body:has(#blog-view:not([hidden])) .theme-toggle { border-radius: 2px; min-height: 40px; }
body:has(#blog-view:not([hidden])) nav a[aria-current=page] { color: var(--cyan); }
body:has(#blog-view:not([hidden])) nav a[aria-current=page]::after { background: var(--cyan); }
.blog-section { max-width: 1120px; padding-block: 56px 72px; }
.blog-heading { padding-bottom: 38px; margin-bottom: 32px; border-bottom: 1px solid var(--ink); }
.blog-eyebrow, .blog-category { font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.blog-heading h1 { font-size: clamp(42px, 6vw, 72px); line-height: 1.1; letter-spacing: -.04em; margin-block: 16px 24px; }
.blog-heading h1 > span { color: var(--cyan); }
.blog-heading > p:last-child { max-width: 650px; line-height: 1.8; color: var(--muted); }
.blog-language-note { background: var(--pale); padding: 16px 20px; margin-bottom: 28px; line-height: 1.8; font-size: 14px; }
.blog-language-note a { white-space: nowrap; }
.blog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.blog-card { min-width: 0; padding: 28px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.blog-card:hover { border-color: var(--ink); }
.blog-category span { margin-inline: 4px; }
.blog-card h2 { font-size: 24px; line-height: 1.45; letter-spacing: -.02em; }
.blog-card h2 a { text-decoration: none; }
.blog-card h2 a:hover { color: var(--cyan); }
.blog-excerpt { color: var(--muted); font-size: 15px; line-height: 1.8; }
.blog-card-bottom { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--muted); }
.blog-read { color: var(--cyan); font-size: 13px; font-weight: 600; }
.related-posts { max-width: 1240px; padding-block: 0 64px; }
.blog-section-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.blog-section-heading > h2 { font-size: 24px; }
.blog-section-heading > a { font-size: 14px; color: var(--cyan); }
.blog-back { display: inline-block; margin-bottom: 32px; font-size: 14px; color: var(--muted); }
.blog-article { max-width: 760px; margin-inline: auto; }
.article-heading { border-bottom: 1px solid var(--ink); padding-bottom: 28px; }
.article-heading h1 { margin-block: 16px 22px; font-size: clamp(30px, 4vw, 46px); line-height: 1.3; letter-spacing: -.03em; }
.article-description { font-size: 18px; color: var(--muted); line-height: 1.8; }
.article-meta { color: var(--muted); margin-top: 22px; font-size: 12px; line-height: 1.8; }
.article-meta > span { margin-inline: 6px; }
.article-body > section { margin-top: 36px; }
.article-body h2 { font-size: 24px; line-height: 1.5; margin-bottom: 16px; }
.article-body p { margin-block: 12px; font-size: 17px; line-height: 1.95; }
.article-example { background: var(--pale); border-left: 3px solid var(--cyan); padding: 20px; margin: 24px 0 0; }
.article-example figcaption { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.article-example pre { font-size: 14px; line-height: 1.9; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.article-sources { border-top: 1px solid var(--line); padding-top: 24px; font-size: 14px; }
.article-sources h2 { font-size: 20px; }
.article-sources ul { padding-left: 20px; }
.article-sources li { margin-block: 10px; }
.article-sources a { color: var(--cyan); }
.article-tool { border: 1px solid var(--ink); padding: 24px; margin-top: 32px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.article-tool .button { white-space: normal; border-radius: 2px; }
.article-more { margin-top: 64px; border-top: 1px solid var(--line); padding-top: 32px; }
.blog-section, .related-posts { overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .blog-section { padding-block: 32px 40px; }
  .blog-grid { grid-template-columns: 1fr; gap: 16px; }
  .blog-card { padding: 22px; }
  .blog-card h2 { font-size: 22px; }
  .blog-heading { padding-bottom: 28px; }
  .related-posts { padding-bottom: 40px; }
  .article-description { font-size: 16px; }
  .article-body p { font-size: 16px; line-height: 1.9; }
  .article-body h2 { font-size: 22px; }
  .article-tool { padding: 20px; }
  .article-more { margin-top: 40px; }
}
