/* MARKSWELL Insights — static blog V1 */
.blog-page { background: #fff; color: #172033; }
.blog-container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.blog-hero {
  padding: clamp(48px, 7vw, 86px) 0;
  color: #fffaf0;
  background: linear-gradient(125deg, #061b33 0%, #12345f 62%, #7d1f2d 100%);
  border-bottom: 1px solid rgba(199,154,59,.55);
}
.blog-eyebrow {
  margin: 0 0 14px;
  color: #e6c777;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
}
.blog-hero h1 {
  max-width: 800px;
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 780;
  letter-spacing: -.04em;
  line-height: 1.04;
}
.blog-hero p:not(.blog-eyebrow) {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(255,250,240,.82);
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.75;
}
.blog-main { min-height: 55vh; }
.blog-section { padding: 54px 0 84px; }
.blog-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.blog-section-heading h2 {
  margin: 0;
  color: #071d36;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 780;
  letter-spacing: -.025em;
  line-height: 1.2;
}
.blog-section-heading p { margin: 8px 0 0; color: #697386; font-size: 14px; line-height: 1.6; }
.blog-results-count { color: #697386; font-size: 12px; white-space: nowrap; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; align-items: stretch; }
.blog-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e3e7ed;
  border-radius: 14px;
  box-shadow: 0 8px 26px rgba(7,29,54,.045);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.blog-card:hover { transform: translateY(-3px); border-color: #c7d0dc; box-shadow: 0 16px 34px rgba(7,29,54,.10); }
.blog-card-image { display: block; overflow: hidden; background: #f2f4f7; aspect-ratio: 16 / 10; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.025); }
.blog-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 22px 22px 20px; }
.blog-category {
  display: inline-flex;
  align-items: center;
  margin: 0 0 12px;
  color: #7d1f2d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}
.blog-card h2 { margin: 0; color: #071d36; font-size: 21px; font-weight: 760; letter-spacing: -.02em; line-height: 1.3; }
.blog-card h2 a:hover { color: #7d1f2d; }
.blog-card-excerpt { margin: 12px 0 22px; color: #596579; font-size: 14px; line-height: 1.72; }
.blog-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 12px;
  margin-top: auto;
  padding-top: 15px;
  width: 100%;
  border-top: 1px solid #edf0f4;
  color: #697386;
  font-size: 12px;
  line-height: 1.5;
}
.blog-card-meta span + span::before { content: "·"; margin-right: 12px; color: #a0a8b4; }
.blog-empty { padding: 46px 24px; text-align: center; border: 1px solid #e3e7ed; border-radius: 14px; background: #f8fafc; }
.blog-empty h2 { margin: 0 0 10px; color: #071d36; font-size: 24px; }
.blog-empty p { max-width: 580px; margin: 0 auto; color: #697386; line-height: 1.7; }
.blog-pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 44px; }
.blog-page-link {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  color: #12345f;
  background: #fff;
  border: 1px solid #d9e0e8;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.blog-page-link:hover { border-color: #12345f; background: #f6f8fb; }
.blog-page-link[aria-current="page"] { color: #fff; background: #071d36; border-color: #071d36; }
.blog-breadcrumb { padding: 24px 0 0; color: #697386; font-size: 12px; line-height: 1.6; }
.blog-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.blog-breadcrumb li + li::before { content: "/"; margin-right: 7px; color: #a0a8b4; }
.blog-breadcrumb a { color: #315f8b; text-decoration: none; }
.blog-breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.blog-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; align-items: start; padding: 28px 0 84px; }
.blog-article { min-width: 0; }
.blog-article-header { padding: 12px 0 26px; }
.blog-article-header h1 { margin: 0; color: #071d36; font-size: clamp(34px, 4.8vw, 52px); font-weight: 800; letter-spacing: -.04em; line-height: 1.08; }
.blog-article-lead { margin: 18px 0 18px; color: #596579; font-size: clamp(17px, 1.8vw, 20px); line-height: 1.7; }
.blog-byline { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; color: #697386; font-size: 12px; line-height: 1.5; }
.blog-byline span + span::before { content: "·"; margin-right: 12px; color: #a0a8b4; }
.blog-featured-image { display: block; width: 100%; max-height: 560px; margin: 0 0 28px; border-radius: 14px; object-fit: cover; aspect-ratio: 16 / 9; background: #f2f4f7; }
.blog-summary {
  margin: 0 0 30px;
  padding: 22px 24px;
  border: 1px solid #e8d9b6;
  border-left: 4px solid #c79a3b;
  border-radius: 10px;
  background: #fffaf0;
}
.blog-summary strong { display: block; margin-bottom: 8px; color: #071d36; font-size: 13px; letter-spacing: .03em; }
.blog-summary p { margin: 0; color: #455166; font-size: 15px; line-height: 1.75; }
.blog-article-body { color: #283449; font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; }
.blog-article-body h2 { margin: 42px 0 14px; color: #071d36; font-size: clamp(24px, 3vw, 30px); font-weight: 780; letter-spacing: -.025em; line-height: 1.25; }
.blog-article-body h3 { margin: 28px 0 10px; color: #12345f; font-size: 20px; font-weight: 750; line-height: 1.35; }
.blog-article-body p { margin: 0 0 18px; }
.blog-table-wrap { max-width: 100%; margin: 22px 0 28px; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid #dfe6ee; border-radius: 10px; }
.blog-article-body .blog-content-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; line-height: 1.65; }
.blog-article-body .blog-content-table th, .blog-article-body .blog-content-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid #e3e7ed; }
.blog-article-body .blog-content-table th { color: #071d36; background: #f3f6fa; font-weight: 750; }
.blog-article-body .blog-content-table tbody tr:nth-child(even) td { background: #fbfcfe; }
.blog-article-body .blog-content-table tbody tr:last-child td { border-bottom: 0; }
.blog-article-body ul, .blog-article-body ol { margin: 0 0 22px; padding-left: 24px; }
.blog-article-body li { margin: 0 0 8px; padding-left: 3px; }
.blog-article-body a { color: #315f8b; text-decoration: underline; text-decoration-color: #a9bfd3; text-underline-offset: 3px; }
.blog-article-body a:hover { color: #7d1f2d; }
.blog-article-body blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 3px solid #c79a3b; color: #596579; }
.blog-article-body img { width: 100%; height: auto; margin: 24px 0; border-radius: 10px; }
.blog-article-body hr { border: 0; border-top: 1px solid #e3e7ed; margin: 32px 0; }
.blog-article-footer { margin-top: 38px; padding-top: 24px; border-top: 1px solid #e3e7ed; }
.blog-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.blog-tag { display: inline-flex; padding: 6px 10px; color: #31506f; background: #f1f5f9; border-radius: 999px; font-size: 11px; line-height: 1.4; }
.blog-author-box { padding: 20px; border: 1px solid #e3e7ed; border-radius: 12px; background: #f8fafc; }
.blog-author-box strong { display: block; margin-bottom: 6px; color: #071d36; font-size: 14px; }
.blog-author-box p { margin: 0; color: #697386; font-size: 13px; line-height: 1.7; }
.blog-cta { margin-top: 28px; padding: 24px; color: #fffaf0; background: linear-gradient(135deg, #071d36, #12345f); border-radius: 12px; }
.blog-cta h2 { margin: 0 0 10px; color: #fff; font-size: 22px; line-height: 1.25; }
.blog-cta p { margin: 0 0 18px; color: rgba(255,250,240,.78); font-size: 13px; line-height: 1.7; }
.blog-button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 16px; color: #fff !important; background: #7d1f2d; border-radius: 7px; font-size: 12px; font-weight: 800; text-decoration: none !important; }
.blog-button:hover { background: #982b3b; }
.blog-sidebar { display: grid; gap: 18px; }
.blog-sidebar-card { padding: 22px; border: 1px solid #e3e7ed; border-radius: 12px; background: #f8fafc; }
.blog-sidebar-card h2 { margin: 0 0 12px; color: #071d36; font-size: 17px; font-weight: 780; line-height: 1.35; }
.blog-sidebar-card p { margin: 0 0 16px; color: #697386; font-size: 13px; line-height: 1.7; }
.blog-sidebar-actions { display: grid; justify-items: start; gap: 10px; }
.blog-sidebar-actions .blog-button { min-width: 160px; }
.blog-whatsapp-button { color: #07351d !important; background: #25d366; }
.blog-whatsapp-button:hover { background: #1fc45b; }
.blog-sidebar-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.blog-sidebar-list li { padding-bottom: 12px; border-bottom: 1px solid #e3e7ed; }
.blog-sidebar-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.blog-sidebar-list a { color: #12345f; font-size: 13px; font-weight: 700; line-height: 1.5; text-decoration: none; }
.blog-sidebar-list a:hover { color: #7d1f2d; }
.blog-sidebar-list time { display: block; margin-top: 4px; color: #8791a0; font-size: 11px; }
@media (max-width: 960px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .blog-article-layout { grid-template-columns: minmax(0, 1fr) 240px; gap: 28px; }
}
@media (max-width: 700px) {
  .blog-container { width: min(100% - 32px, 1180px); }
  .blog-section { padding: 38px 0 58px; }
  .blog-grid { grid-template-columns: 1fr; gap: 18px; }
  .blog-card-body { padding: 20px; }
  .blog-card h2 { font-size: 20px; }
  .blog-article-layout { grid-template-columns: 1fr; gap: 28px; padding-top: 18px; }
  .blog-article-header { padding-top: 8px; }
  .blog-article-header h1 { font-size: clamp(32px, 9vw, 44px); }
  .blog-article-body { font-size: 15.5px; }
  .blog-summary { padding: 18px; }
  .blog-sidebar { grid-template-columns: 1fr; }
  .blog-pagination { gap: 6px; margin-top: 30px; }
  .blog-page-link { min-width: 38px; min-height: 38px; padding: 0 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .blog-card, .blog-card-image img { transition: none; }
}

/* Blog card titles: no underline at rest or on hover; retain the colour change. */
.blog-card h2 a,
.blog-card h2 a:link,
.blog-card h2 a:visited,
.blog-card h2 a:hover,
.blog-card h2 a:focus,
.blog-card h2 a:focus-visible {
  text-decoration: none !important;
  text-decoration-line: none !important;
}
.blog-card h2 a,
.blog-card h2 a:link,
.blog-card h2 a:visited {
  color: #071d36;
}
.blog-card h2 a:hover,
.blog-card h2 a:focus-visible {
  color: #7d1f2d;
}

/* Four fixed blog topic hubs */
.blog-topics-section {
  padding: 36px 0 42px;
  background: #f8fafc;
  border-bottom: 1px solid #edf0f4;
}
.blog-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.blog-topic-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e0e6ed;
  border-radius: 12px;
  box-shadow: 0 5px 18px rgba(7,29,54,.035);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.blog-topic-card:hover {
  transform: translateY(-2px);
  border-color: #b9c6d5;
  box-shadow: 0 12px 26px rgba(7,29,54,.075);
}
.blog-topic-card-link,
.blog-topic-card-link:link,
.blog-topic-card-link:visited,
.blog-topic-card-link:hover,
.blog-topic-card-link:focus,
.blog-topic-card-link:focus-visible {
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: 24px;
  color: inherit;
  text-decoration: none !important;
  text-decoration-line: none !important;
}
.blog-topic-card-link:focus-visible {
  outline: 3px solid #c79a3b;
  outline-offset: -4px;
}
.blog-topic-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.blog-topic-index {
  color: #7d1f2d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
}
.blog-topic-count {
  color: #7b8492;
  font-size: 11px;
  text-align: right;
}
.blog-topic-card h3 {
  margin: 0;
  color: #071d36;
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 780;
  letter-spacing: -.025em;
  line-height: 1.3;
}
.blog-topic-card p {
  margin: 10px 0 22px;
  color: #596579;
  font-size: 14px;
  line-height: 1.7;
}
.blog-topic-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #edf0f4;
  color: #12345f;
  font-size: 12px;
  font-weight: 800;
}
.blog-topic-card-bottom span {
  color: #7d1f2d;
  font-size: 20px;
  line-height: 1;
  transition: transform .2s ease;
}
.blog-topic-card:hover .blog-topic-card-bottom span { transform: translateX(3px); }
.blog-category a,
.blog-category a:link,
.blog-category a:visited,
.blog-category a:hover,
.blog-category a:focus {
  color: inherit;
  text-decoration: none !important;
}
.blog-category a:hover { color: #12345f; }
.blog-category-link,
.blog-category-link:link,
.blog-category-link:visited,
.blog-category-link:hover,
.blog-category-link:focus {
  color: inherit;
  text-decoration: none !important;
}
.blog-category-link:hover { color: #fff; }
.blog-category-cta-section { padding-top: 0; }
.blog-category-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.blog-category-cta > div:first-child { max-width: 740px; }
.blog-category-cta-actions {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}
.blog-text-link {
  color: #fffaf0;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
  text-underline-offset: 3px;
}
.blog-text-link:hover,
.blog-text-link:focus-visible {
  color: #e6c777;
  text-decoration: underline;
}
@media (max-width: 700px) {
  .blog-topics-section { padding: 30px 0 34px; }
  .blog-topic-grid { grid-template-columns: 1fr; gap: 12px; }
  .blog-topic-card-link,
  .blog-topic-card-link:link,
  .blog-topic-card-link:visited,
  .blog-topic-card-link:hover,
  .blog-topic-card-link:focus,
  .blog-topic-card-link:focus-visible { padding: 21px; }
  .blog-topic-card-top { margin-bottom: 16px; }
  .blog-topic-card p { margin-bottom: 18px; }
  .blog-category-cta { align-items: flex-start; flex-direction: column; gap: 20px; }
}


.blog-cta .blog-cta-secondary {
  margin: 14px 0 0;
}

/* Draft-only review notice; shown on develop preview pages, never in public listings. */
.blog-draft-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 22px;
  padding: 14px 16px;
  border: 1px solid rgba(199, 154, 59, .42);
  border-left: 4px solid #c79a3b;
  border-radius: 8px;
  background: #fbf7ed;
  color: #393327;
  font-size: 13px;
  line-height: 1.6;
}
.blog-draft-notice strong {
  flex: 0 0 auto;
  color: #765719;
  font-weight: 800;
}
.blog-draft-notice span {
  display: block;
  min-width: 0;
}
@media (max-width: 640px) {
  .blog-draft-notice {
    flex-direction: column;
    gap: 4px;
  }
}

/* Self-contained blog header styling. Mirrors the confirmed production homepage header without importing global homepage selectors. */
.blog-page .site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  border-bottom: 1px solid rgba(199, 154, 59, 0.28) !important;
  background: rgba(6, 27, 51, 0.92) !important;
  box-shadow: 0 12px 30px rgba(6, 27, 51, 0.18);
  color: #fffaf0;
}
.blog-page .site-header .nav {
  box-sizing: border-box;
  width: min(1180px, calc(100% - 40px));
  min-height: 70px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.blog-page .site-header .brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  min-width: 214px;
  color: #fff8e8 !important;
  text-decoration: none !important;
}
.blog-page .site-header .brand img {
  display: block;
  width: 46px !important;
  min-width: 46px;
  max-width: 46px !important;
  height: 52px !important;
  max-height: 52px;
  flex: 0 0 46px;
  object-fit: contain;
}
.blog-page .site-header .brand span {
  display: block;
  color: #fff8e8 !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
}
.blog-page .site-header .brand span::after {
  content: "British Schoolwear";
  display: block;
  margin-top: 4px;
  color: rgba(199, 154, 59, 0.9);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}
.blog-page .site-header .nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  color: rgba(255, 250, 240, 0.78);
  font-size: 13px;
  white-space: nowrap;
}
.blog-page .site-header .nav-links a {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: rgba(255, 250, 240, 0.82) !important;
  font: inherit;
  line-height: 1.2;
  text-decoration: none !important;
  text-underline-offset: 0;
}
.blog-page .site-header .nav-links a:hover,
.blog-page .site-header .nav-links a:focus-visible,
.blog-page .site-header .nav-links a[aria-current="page"] {
  color: #f6d88a !important;
  text-decoration: none !important;
}
.blog-page .site-header .nav-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}
.blog-page .site-header .language-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.blog-page .site-header .language-switcher::after {
  content: "";
  position: absolute;
  right: 12px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid rgba(255, 250, 240, 0.72);
  border-bottom: 1.5px solid rgba(255, 250, 240, 0.72);
  transform: translateY(-2px) rotate(45deg);
  pointer-events: none;
}
.blog-page .site-header .language-select {
  box-sizing: border-box;
  width: auto;
  height: 34px;
  min-width: 128px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0 32px 0 13px;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fffaf0 !important;
  font-family: inherit;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0;
  appearance: none;
  cursor: pointer;
}
.blog-page .site-header .language-select option {
  color: #101720;
  background: #fffaf0;
}
.blog-page .site-header .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #9a2636, #6f1a28) !important;
  color: #fffaf0 !important;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 14px 28px rgba(125, 31, 45, 0.24);
}
.blog-page .site-header .nav-cta:hover,
.blog-page .site-header .nav-cta:focus-visible {
  color: #fffaf0 !important;
  text-decoration: none !important;
  filter: brightness(1.06);
}
@media (max-width: 980px) {
  .blog-page .site-header .nav {
    width: 100%;
    min-height: auto;
    padding: 10px 18px 8px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 14px;
  }
  .blog-page .site-header .brand {
    min-width: 0;
    grid-column: 1;
    grid-row: 1;
  }
  .blog-page .site-header .brand img {
    width: 42px !important;
    min-width: 42px;
    max-width: 42px !important;
    height: 48px !important;
    max-height: 48px;
    flex-basis: 42px;
  }
  .blog-page .site-header .nav-actions {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    gap: 6px;
  }
  .blog-page .site-header .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    gap: 16px;
    margin: 0 -18px;
    padding: 2px 18px 4px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .blog-page .site-header .nav-links::-webkit-scrollbar {
    display: none;
  }
  .blog-page .site-header .nav-links a {
    padding: 7px 0;
  }
}
@media (max-width: 820px) {
  .blog-page .site-header {
    background: rgba(6, 27, 51, 0.96) !important;
  }
  .blog-page .site-header .nav {
    width: 100%;
    min-height: auto;
    padding: 8px 12px 10px;
    gap: 8px 10px;
  }
  .blog-page .site-header .brand {
    gap: 9px;
  }
  .blog-page .site-header .brand img {
    width: 40px !important;
    min-width: 40px;
    max-width: 40px !important;
    height: 46px !important;
    max-height: 46px;
    flex-basis: 40px;
  }
  .blog-page .site-header .brand span {
    font-size: 15px;
  }
  .blog-page .site-header .brand span::after {
    margin-top: 3px;
    font-size: 9px;
  }
  .blog-page .site-header .nav-actions {
    justify-self: end;
    gap: 6px;
  }
  .blog-page .site-header .nav-cta {
    display: none;
  }
  .blog-page .site-header .language-select {
    min-width: 104px;
    max-width: 34vw;
    height: 32px;
    padding: 0 28px 0 12px;
    font-size: 12px;
  }
  .blog-page .site-header .language-switcher::after {
    right: 10px;
  }
  .blog-page .site-header .nav-links {
    width: 100%;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
    gap: 6px;
    overflow: visible;
    white-space: normal;
  }
  .blog-page .site-header .nav-links a {
    min-width: 0;
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(199, 154, 59, 0.35);
    border-radius: 999px;
    padding: 6px 8px;
    background: rgba(255, 250, 240, 0.08);
    color: rgba(255, 250, 240, 0.9) !important;
    font-size: 12px;
    line-height: 1.15;
    text-align: center;
  }
  .blog-page .site-header .nav-links a:hover,
  .blog-page .site-header .nav-links a[aria-current="page"] {
    border-color: rgba(246, 216, 138, 0.72);
    color: #f6d88a !important;
  }
}
@media (max-width: 420px) {
  .blog-page .site-header .nav {
    padding: 7px 10px 8px;
    gap: 6px 8px;
  }
  .blog-page .site-header .brand img {
    width: 36px !important;
    min-width: 36px;
    max-width: 36px !important;
    height: 42px !important;
    max-height: 42px;
    flex-basis: 36px;
  }
  .blog-page .site-header .brand span {
    font-size: 13px;
  }
  .blog-page .site-header .brand span::after {
    font-size: 8px;
  }
  .blog-page .site-header .language-select {
    min-width: 92px;
    max-width: 96px;
    height: 30px;
    padding-left: 10px;
    font-size: 11px;
  }
  .blog-page .site-header .nav-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .blog-page .site-header .nav-links a {
    min-height: 32px;
    padding: 6px 7px;
    font-size: 11px;
  }
}
@media (max-width: 340px) {
  .blog-page .site-header .nav-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Trigger the production-mode static blog rebuild for the scoped header hotfix. */
