/*
Theme Name: Best Steel Structure
Theme URI: https://bst-modular-project-ui.tealvale.chatgpt.site/
Author: BST Best Steel Structure
Author URI: https://www.besteelstructure.com
Description: Official theme for Henan Best Steel Structure Co., Ltd. — modular buildings and steel structure solutions. Ships with products, solutions, projects, news, downloads and delivery-process content types, all editable in the admin.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: best-steel-structure
Tags: business, responsive, custom-post-types, modular-building
*/

/* ============================================================
   Base styles and variables
   ============================================================ */
:root {
  --red: #ba3038;
  --ink: #252a2c;
  --muted: #717576;
  --line: #dddeda;
  --cream: #f5f5f1;
  --dark: #252d2f;
  --header-h: 91px;
  --topbar-h: 34px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
  font-size: 14px;
  line-height: 1.65;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; border: 0; background: none; color: inherit; }
button, a, input, select, textarea { outline-offset: 5px; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.24; font-weight: 500; }
h2 { font-size: 40px; letter-spacing: -1.2px; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; padding: 0 4.5%; }
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  font-weight: bold;
  margin-bottom: 14px;
}
.eyebrow i { display: inline-block; width: 22px; height: 1px; background: var(--red); vertical-align: middle; margin-right: 8px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  padding: 10px 22px;
  font-size: 13px;
  letter-spacing: .5px;
  border: 1px solid var(--red);
  transition: background .2s, color .2s;
}
.btn:hover { background: #a02830; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--cream); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  font-size: 13px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  background: none;
}

/* ============================================================
   Top bar / header navigation
   ============================================================ */
.topbar {
  height: var(--topbar-h);
  background: var(--dark);
  color: #e9ece8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4.5%;
  font-size: 10px;
  letter-spacing: 1.2px;
  gap: 16px;
}
.topbar a { opacity: .8; }
.topbar a:hover { opacity: 1; }
.topbar-dealers { color: #d8b24a; }

.site-header {
  height: var(--header-h);
  background: #fff;
  display: flex;
  align-items: center;
  padding: 0 4.5%;
  gap: 24px;
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid #e8e8e4;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 10rem; height: auto; }
.brand-copy strong { display: block; font-size: 13px; letter-spacing: 1px; font-weight: bold; line-height: 1.3; }
.brand-copy small { display: block; font-size: 9px; letter-spacing: .6px; color: var(--muted); }

@media(max-width:767px){
  .brand-copy{display: none;}
}
.site-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.site-nav > li { position: relative; }

/* First-level menu items */
.site-nav .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  font-size: 13px;
  color: var(--ink);
  white-space: nowrap;
  padding: 10px 12px;
  border-radius: 6px;
  position: relative;
  transition: color .22s ease, background-color .22s ease;
  cursor: pointer;
}
.site-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 12px; right: 12px; bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s cubic-bezier(.4, 0, .2, 1);
}
/* Hover / open dropdown: colour change only.
   The underline is reserved for the current page (single item). */
.site-nav > li:hover > .nav-link,
.site-nav > li.is-open > .nav-link { color: var(--red); background: rgba(186, 48, 56, .05); }
.site-nav > li.is-current > .nav-link { color: var(--red); }
.site-nav > li.is-current > .nav-link::after { transform: scaleX(1); }
/* Browsing a single item inside a section: red label, no underline */
.site-nav > li.is-section > .nav-link { color: var(--red); }

/* Current page inside a dropdown */
.sub-menu li.is-current > a {
  color: var(--red);
  background: var(--cream);
  border-left-color: var(--red);
}

/* Dropdown arrow */
.nav-arrow {
  width: 10px;
  height: 7px;
  flex: none;
  color: currentColor;
  opacity: .75;
  transition: transform .3s cubic-bezier(.34, 1.4, .64, 1), opacity .22s ease;
  transform-origin: 50% 50%;
}
.site-nav > li:hover > .nav-link .nav-arrow,
.site-nav > li.is-open > .nav-link .nav-arrow { transform: rotate(180deg); opacity: 1; }

/* Dropdown panel: fade in while moving up */
.sub-menu-wrap {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 70;
  min-width: 250px;
  padding-top: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(.985);
  transform-origin: top left;
  transition: opacity .24s ease, transform .28s cubic-bezier(.22, .9, .3, 1), visibility .24s;
  pointer-events: none;
}
.site-nav > li:hover > .sub-menu-wrap,
.site-nav > li.is-open > .sub-menu-wrap,
.sub-menu-wrap:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.sub-menu {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 2px solid var(--red);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .12);
  padding: 10px 0;
  min-width: 250px;
}
.sub-menu.sub-menu-wide { min-width: 300px; }

/* Staggered entrance for sub items */
.sub-menu > li {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .26s ease, transform .3s cubic-bezier(.22, .9, .3, 1);
}
.site-nav > li:hover > .sub-menu-wrap .sub-menu > li,
.site-nav > li.is-open > .sub-menu-wrap .sub-menu > li { opacity: 1; transform: translateY(0); }
.sub-menu > li:nth-child(1) { transition-delay: .04s; }
.sub-menu > li:nth-child(2) { transition-delay: .08s; }
.sub-menu > li:nth-child(3) { transition-delay: .12s; }
.sub-menu > li:nth-child(4) { transition-delay: .16s; }
.sub-menu > li:nth-child(5) { transition-delay: .20s; }
.sub-menu > li:nth-child(6) { transition-delay: .24s; }
.sub-menu > li:nth-child(7) { transition-delay: .28s; }
.sub-menu > li:nth-child(8) { transition-delay: .32s; }

.sub-menu li a {
  display: block;
  padding: 9px 20px;
  font-size: 13px;
  color: #3c4244;
  border-left: 2px solid transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, padding-left .18s ease;
}
.sub-menu li a:hover {
  background: var(--cream);
  color: var(--red);
  border-left-color: var(--red);
  padding-left: 24px;
}
.sub-menu li a strong { display: block; font-weight: 500; }
.sub-menu li a small { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn { padding: 10px 18px; }

/* Hamburger button */
.mobile-toggle {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: #fff;
  transition: border-color .2s ease;
}
.mobile-toggle:hover { border-color: var(--red); }
.mobile-toggle span {
  display: block;
  width: 18px;
  height: 1.6px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .28s cubic-bezier(.34, 1.3, .64, 1), opacity .2s ease;
}
.mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }

/* ============================================================
   Hero carousel
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: center;
  padding: 60px 4.5% 40px;
  background: linear-gradient(180deg, var(--cream), #fff);
}
.hero-copy h1 { font-size: 52px; letter-spacing: -2px; margin-bottom: 10px; }
.hero-en { font-size: 12px; letter-spacing: 3px; color: var(--muted); text-transform: uppercase; }
.hero-desc { margin: 18px 0 26px; max-width: 520px; color: #4a4f51; font-size: 15px; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  border: 1px solid var(--line);
  background: #e9eaE5;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .6s; }
.hero-slide.is-active { opacity: 1; }
.image-shade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(18, 22, 23, .72), rgba(18, 22, 23, 0));
  pointer-events: none;
}
.image-kicker {
  position: absolute;
  left: 18px;
  bottom: 62px;
  font-size: 10px;
  letter-spacing: 2.4px;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .45);
}
.image-caption {
  position: absolute;
  left: 18px; right: 18px;
  bottom: 96px;
  color: #fff;
}
.image-caption strong {
  display: inline-block;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .4);
}
.image-caption strong a { color: inherit; text-decoration: none; }
.image-caption strong a:hover { text-decoration: underline; }
.hero-slide a { display: block; line-height: 0; }

.carousel-controls{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:center;gap:8px;padding:12px 14px;background:rgba(18,22,23,.55);backdrop-filter:blur(3px)}
.carousel-arrow,.carousel-pause{flex:none;width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;color:#fff;font-size:13px;border:1px solid rgba(255,255,255,.35);border-radius:50%;transition:background-color .2s ease,border-color .2s ease}
.carousel-arrow:hover,.carousel-pause:hover{background:rgba(255,255,255,.18);border-color:#fff}
.carousel-pause{font-size:9px;letter-spacing:1px}
.carousel-pause.is-paused{background:var(--red);border-color:var(--red)}
.carousel-tabs{flex:1;display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;cursor:grab;user-select:none;-webkit-user-select:none;-webkit-overflow-scrolling:touch}
.carousel-tabs.can-left{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 14px);mask-image:linear-gradient(90deg,transparent 0,#000 14px)}
.carousel-tabs.can-right{-webkit-mask-image:linear-gradient(270deg,transparent 0,#000 14px);mask-image:linear-gradient(270deg,transparent 0,#000 14px)}
.carousel-tabs.can-left.can-right{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 14px,#000 calc(100% - 14px),transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 14px,#000 calc(100% - 14px),transparent 100%)}
.carousel-tabs::-webkit-scrollbar{display:none}
.carousel-tabs.is-dragging{cursor:grabbing;scroll-behavior:auto}
.carousel-tabs.is-dragging button,.carousel-tabs.is-dragging a{pointer-events:none}
.carousel-tabs button,.carousel-tabs a{flex:none;display:inline-block;font-size:10.5px;letter-spacing:.3px;color:rgba(255,255,255,.82);padding:4px 9px;white-space:nowrap;text-decoration:none;cursor:pointer;border:1px solid rgba(255,255,255,.18);border-radius:2px;background:rgba(255,255,255,.06);transition:background-color .2s ease,color .2s ease,border-color .2s ease}
.carousel-tabs button:hover,.carousel-tabs a:hover{color:#fff;background:rgba(255,255,255,.22);border-color:rgba(255,255,255,.6)}
.carousel-tabs button:focus-visible,.carousel-tabs a:focus-visible{outline:2px solid #fff;outline-offset:2px;color:#fff}
.carousel-tabs button.active,.carousel-tabs a.active{color:#fff;background:rgba(255,255,255,.18);border-color:#fff}
.carousel-tabs a:active{background:rgba(255,255,255,.34)}
@media (max-width: 640px){
	.carousel-tabs button,.carousel-tabs a{font-size:9.5px;letter-spacing:0;padding:3px 7px}
}
/* Video centre */
.video-hub { background: #fff; }
.video-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 26px;
  align-items: stretch;
}
.video-stage { position: relative; }
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #101416;
  border: 1px solid var(--line);
  overflow: hidden;
}
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
/* Prev / next arrows over the player */
.video-stage-media { position: relative; }
.video-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 42px; height: 42px;
  margin-top: -21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  background: rgba(18, 22, 23, .55);
  transition: background-color .2s ease, border-color .2s ease, transform .15s ease;
}
.video-arrow.is-prev { left: 14px; }
.video-arrow.is-next { right: 14px; }
.video-arrow:hover, .video-arrow:focus-visible { background: var(--red); border-color: var(--red); }
.video-arrow:active { transform: scale(.92); }
@media (max-width: 640px) {
  .video-arrow { width: 34px; height: 34px; margin-top: -17px; font-size: 14px; }
  .video-arrow.is-prev { left: 8px; }
  .video-arrow.is-next { right: 8px; }
}
.video-missing { color: #9aa0a2; font-size: 13px; padding: 24px; }
.video-stage-copy { padding: 16px 2px 0; }
.video-stage-copy small { display: block; font-size: 10px; letter-spacing: 2px; color: var(--red); font-weight: bold; margin-bottom: 6px; }
.video-stage-copy h3 { font-size: 20px; margin-bottom: 6px; letter-spacing: -.4px; }
.video-stage-copy p { font-size: 13px; color: var(--muted); }

.video-list { display: grid; gap: 10px; max-height: 560px; overflow-y: auto; padding-right: 4px; }
.video-item {
  width: 100%;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  text-align: left;
  padding: 8px;
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.video-item:hover { border-color: var(--red); transform: translateX(2px); }
.video-item.is-active { border-color: var(--red); background: var(--cream); }
.video-thumb { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--cream); overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(186, 48, 56, .92);
  transition: transform .2s ease;
}
.video-play::after {
  content: '';
  position: absolute;
  top: 50%; left: 54%;
  transform: translate(-50%, -50%);
  border-left: 9px solid #fff;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}
.video-item:hover .video-play { transform: scale(1.12); }
.video-item.is-active .video-play { background: #fff; }
.video-item.is-active .video-play::after { border-left-color: var(--red); }
.video-duration { position: absolute; right: 4px; bottom: 4px; font-size: 9px; letter-spacing: .6px; color: #fff; background: rgba(18, 22, 23, .7); padding: 2px 5px; }
.video-item-copy strong { display: block; font-size: 13px; font-weight: 500; line-height: 1.35; }
.video-item-copy small { display: block; margin-top: 4px; font-size: 11px; color: var(--muted); }

.trust-strip {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  padding: 18px 4.5%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.trust-strip > span:first-child { font-size: 10px; letter-spacing: 2px; color: var(--muted); }
.trust-strip div { font-size: 13px; font-weight: bold; }
.trust-strip a { margin-left: auto; }

/* ============================================================
   Shared sections
   ============================================================ */
.section { padding: 72px 6.5%; }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}
.section-heading h2 { font-size: 36px; }
.section-intro { max-width: 30%; color: var(--muted); font-size: 13px; }
.source-note { margin-top: 18px; font-size: 11px; color: var(--muted); }
@media(max-width:991px){
  .section-intro{max-width: 100%;}
}

/* Filter buttons */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.filters button,
.filter-btn {
  padding: 8px 18px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  transition: .2s;
}
.filters button:hover, .filter-btn:hover { border-color: var(--red); color: var(--red); }
.filters button.active, .filter-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 22px;
}
@media(max-width:991px){
  .card-grid{
    grid-template-columns: repeat(1,1fr);
  }
}
.card {
  display: block;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform .25s, box-shadow .25s;
  overflow: hidden;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(0, 0, 0, .09); }
.card-photo { position: relative; aspect-ratio: 4 / 3; background: var(--cream); overflow: hidden; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-photo img { transform: scale(1.04); }
.card-photo .tag {
  position: absolute;
  left: 12px; top: 12px;
  background: rgba(37, 45, 47, .85);
  color: #fff;
  font-size: 10px;
  letter-spacing: 1px;
  padding: 4px 10px;
}
.card-body { padding: 16px 18px 20px; }
.card-body h3 { font-size: 16px;}
.card-body .meta { font-size: 12px; color: var(--muted); }
/* 产品页卡片（产品归档 / 产品系列 / 产品详情相关产品）：
   标题固定两行高度（不足两行也占满，保证卡片对齐），超出省略；描述最多两行，超出省略号 */
.post-type-archive-bst_product .card-body h3,
.tax-bst_product_family .card-body h3,
.single-bst_product .card-body h3 {
  line-height: 1.4;
  height: 2.8em; /* 1.4 行高 × 2 行 */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.post-type-archive-bst_product .card-body .meta,
.tax-bst_product_family .card-body .meta,
.single-bst_product .card-body .meta {
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.card-body .more { display: inline-block; margin-top: 12px; font-size: 12px; color: var(--red); }
.card-body .more::after { content: ' ↗'; }

/* Partnership banner */
.dealer-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  background: var(--dark);
  color: #fff;
  padding: 40px 40px;
}
.dealer-banner small { display: block; font-size: 10px; letter-spacing: 2px; color: #d8b24a; margin-bottom: 10px; }
.dealer-banner h3 { font-size: 26px; margin-bottom: 8px; }
.dealer-banner p { color: #b9bfba; font-size: 13px; }

/* About / factory */
.about-hub { background: var(--cream); }
.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: stretch;
  padding: 76px 6.5% 40px;
}
.about h2 { font-size: 34px; line-height: 1.2; letter-spacing: -.8px; margin-bottom: 20px; }
.about-facts { display: grid; gap: 18px; margin-bottom: 26px; }
.about-facts > div { border-top: 1px solid var(--line); padding-top: 12px; }
.about-facts small { font-size: 11px; letter-spacing: 2px; color: var(--red); font-weight: bold; }
.about-facts strong { display: block; font-size: 15px; margin: 2px 0 2px; }
.about-facts span { font-size: 12px; color: var(--muted); }
.about-body p { margin-bottom: 0; color: #454b4d; font-size: 14px; line-height: 1.78; }
.about-copy h3 {
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -.3px;
  font-weight: 500;
  margin: 34px 0 10px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.about-sub { color: var(--muted); font-size: 12.5px; line-height: 1.7; margin-bottom: 18px; }
.about-actions { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 20px; }

/* Left column: factory photo, caption link sits under the image */
.factory-image { display: flex; flex-direction: column; }
.factory-image img { width: 100%; flex: 1 1 auto; min-height: 0; object-fit: cover; display: block; background: #e8e8e3; }
.factory-image .text-link { margin: 16px 0 0; align-self: flex-start; }

/* Process rows: label left, detail right, hairline under each row */
.factory-steps { display: grid; }
.factory-steps > div {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: baseline;
  border-left: 2px solid var(--red);
  border-bottom: 1px solid var(--line);
  padding: 13px 0 13px 16px;
}
.factory-steps strong { font-size: 13.5px; font-weight: 700; }
.factory-steps span { font-size: 12.5px; color: #5b6265; }
.metric-note { font-size: 12px; line-height: 1.6; color: var(--muted); margin-top: 16px; }
.factory-links { display: flex; gap: 20px; margin-top: 22px; flex-wrap: wrap; }

/* About: key figures strip */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin: 0 6.5%;
  padding: 30px 0 76px;
  border-top: 1px solid var(--line);
}
.about-stat { padding: 0; }
.about-stat strong {
  display: block;
  margin-bottom: 7px;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -1px;
  font-weight: 700;
  color: var(--red);
}
.about-stat span { display: block; font-size: 13px; line-height: 1.5; color: var(--muted); }
@media (max-width: 991px) {
  .about { grid-template-columns: 1fr; gap: 30px; padding: 46px 4.5% 26px; }
  .about h2 { font-size: 26px; letter-spacing: -.6px; margin-bottom: 14px; }
  .about-body p { font-size: 14px; }
  .about-copy h3 { font-size: 20px; margin-top: 26px; padding-top: 22px; }
  .about-sub { font-size: 13px; }
  .factory { padding: 20px 4.5% 46px; }
  .about-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 26px; margin: 0 4.5%; padding: 26px 0 46px; }
  .about-stat strong { font-size: 27px; }
}
@media (max-width: 480px) {
  .factory-steps > div { grid-template-columns: 86px minmax(0, 1fr); padding: 11px 0 11px 13px; }
  .factory-steps strong { font-size: 12.5px; }
  .factory-steps span { font-size: 11.5px; }
  .about-stat strong { font-size: 24px; letter-spacing: -.6px; }
  .about-stat span { font-size: 12px; }
}

/* Contact */
.contact { padding-top: initial !important;}
.contact h2 { font-size: 34px; margin-bottom: 12px; }
.contact > div > p { color: var(--muted); margin-bottom: 20px; max-width: 460px; }
.contact-options { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.contact-directory { display: grid; gap: 14px; }
.contact-directory a small { display: block; font-size: 10px; letter-spacing: 1.6px; color: var(--muted); }
.contact-directory a strong { font-size: 15px; font-weight: 500; }
.contact-directory a:hover strong { color: var(--red); }
.contact-directory address { font-style: normal; color: var(--muted); font-size: 13px; }
.social-link { display: inline-block; margin-top: 6px; font-size: 13px; color: var(--red); }

#quote-form, .bst-quote-form { background: var(--cream); padding: 28px; border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid label { display: block; font-size: 12px; min-width: 0; }
.form-grid label span { display: block; margin-bottom: 6px; color: #454b4d; }
.form-grid input, .form-grid select, .form-grid textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
}
/* Native selects size themselves to their longest option: keep them inside the form. */
.form-grid select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 30px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23666' d='M0 0h10L5 6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.form-grid textarea { min-height: 92px; resize: vertical; }
.form-full { grid-column: 1 / -1; }
.form-submit { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-note { font-size: 11px; color: var(--muted); }
.form-response { grid-column: 1 / -1; font-size: 13px; }
.form-response.ok { color: #2e7d52; }
.form-response.err { color: var(--red); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--dark); color: #c9cecb; padding: 56px 4.5% 24px; }
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer-main img { width: 8rem; margin-bottom: 14px;  padding: 6px; }
.footer-main > div strong { display: block; color: #fff; font-size: 12px; letter-spacing: 1.4px; margin-bottom: 12px; }
.footer-main > div a,
.footer-main > div button { display: block; font-size: 13px; padding: 4px 0; color: #c9cecb; text-align: left; }
.footer-main > div a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-top: 20px;
  font-size: 11px;
  color: #8d948f;
  flex-wrap: wrap;
}
.footer-bottom .btn { padding: 8px 16px; }

/* Floating buttons */
.floating-actions { position: fixed; right: 18px; bottom: 40%; z-index: 80; display: grid; gap: 10px; justify-items: end; }
.floating-whatsapp {
  display: inline-flex; align-items: center; gap: 5px;
  background: #25d366; color: #fff; padding: 16px; font-size: 13px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .18);border-radius: 50%;
}
@media(max-width:991px){
  .floating-whatsapp,.floating-emeil,.floating-contact{display: none !important;}
  .footer-main .explore,
  .footer-main .company{display: none;}
}

.floating-emeil{
  display: inline-flex; align-items: center; gap: 5px;
  background: #252d2f; color: #fff; padding: 16px; font-size: 13px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .18);border-radius: 50%;
}
.floating-emeil svg { width: 20px; height: 20px; fill: #fff; }
.floating-whatsapp svg { width: 20px; height: 20px; fill: #fff; }
.floating-contact svg { width: 20px; height: 20px; fill: #fff; }
.floating-contact {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--red); color: #fff; padding: 16px; font-size: 13px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .18);border-radius: 50%;
}

/* ============================================================
   Inner pages / listings
   ============================================================ */
.page-head {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 46px 4.5% 40px;
}
.page-head h1 { font-size: 38px; letter-spacing: -1.2px; margin-bottom: 10px; }
.page-head .list-intro { color: var(--muted); max-width: 720px; font-size: 14px; }
.breadcrumb { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { margin: 0 6px; }

.list-page-main { padding: 72px 6.5%; min-height: 340px; }
.list-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.list-count { font-size: 12px; color: var(--muted); }

/* ============================================================
   Products listing: 3-up grid + sticky delivered-projects rail
   ============================================================ */
.list-with-aside {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 44px;
  align-items: start;
}

/* 3 per row on the products page only (all other listings stay 4) */
.list-with-aside .card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.projects-aside {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  align-self: start;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - var(--header-h) - 40px);
  padding: 22px 18px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: 4px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .06);
}

.projects-aside .eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
}
.projects-aside .eyebrow::before {
  content: "";
  width: 16px;
  height: 2px;
  background: var(--red);
}
.projects-aside h2 {
  font-size: 28px;
  line-height: 1.22;
  letter-spacing: -.7px;
  font-weight: 400;
  margin: 10px 0 2px;
  color: var(--ink);
}

/* the inner rail scrolls on its own, the panel stays pinned */
.aside-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior-y: auto; /* let the page keep scrolling once the rail ends */
  margin: 14px -6px 0;
  padding: 0 6px;
  scrollbar-width: thin;
  scrollbar-color: #c8c8c3 transparent;
}
.aside-scroll::-webkit-scrollbar { width: 6px; }
.aside-scroll::-webkit-scrollbar-track { background: transparent; }
.aside-scroll::-webkit-scrollbar-thumb {
  background: #c8c8c3;
  border-radius: 99px;
}
.aside-scroll:hover::-webkit-scrollbar-thumb { background: var(--red); }

.aside-case {
  display: block;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}
.aside-case:first-child { border-top: 0; padding-top: 4px; }
.aside-case-photo { display: block; overflow: hidden; border-radius: 4px; background: var(--cream); }
.aside-case img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .4s cubic-bezier(.2, .7, .3, 1), box-shadow .4s;
}
.aside-case small {
  display: block;
  margin-top: 11px;
  font-size: 11px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
}
.aside-case h3 {
  font-size: 16px;
  line-height: 1.42;
  font-weight: 600;
  margin: 5px 0 8px;
  color: var(--ink);
  transition: color .2s;
}
.aside-case-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: .02em;
}
.aside-case:hover img { transform: scale(1.03); box-shadow: 0 10px 22px rgba(0, 0, 0, .14); }
.aside-case:hover h3 { color: var(--red); }
.aside-case:hover .aside-case-link { text-decoration: underline; text-underline-offset: 3px; }

.aside-all {
  flex: 0 0 auto;
  display: block;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
  transition: letter-spacing .2s;
}
.aside-all:hover { letter-spacing: .02em; text-decoration: underline; text-underline-offset: 3px; }
.aside-empty { font-size: 13px; color: var(--muted); margin: 10px 0 0; }

/* Description line under the sidebar title (projects page product rail) */
.aside-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin: 10px 0 0;
}

/* The rail sits in the same bottom-right corner as the floating WhatsApp / quote
   buttons and the header already carries a "Get a quote" CTA, so that stack is
   hidden here only (desktop). Remove this block to bring the buttons back. */
@media (min-width: 992px) {
  body.post-type-archive-bst_product .floating-actions,
  body.post-type-archive-bst_project .floating-actions { display: none; }
}

@media (max-width: 1200px) {
  .list-with-aside { grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; }
  .projects-aside h2 { font-size: 24px; }
}

@media (max-width: 991px) {
  .list-with-aside { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .list-with-aside .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .projects-aside {
    position: static;
    max-height: none;
    order: 2;
    display: none;
  }
  .aside-scroll { overflow: visible; margin-right: 0; margin-left: 0; padding: 0; }
  .aside-scroll::-webkit-scrollbar { width: 0; }
  .aside-case { display: grid; grid-template-columns: 180px minmax(0, 1fr); grid-template-areas: "photo meta" "photo title" "photo link"; column-gap: 18px; align-content: start; }
  .aside-case-photo { grid-area: photo; }
  .aside-case small { grid-area: meta; margin-top: 0; }
  .aside-case h3 { grid-area: title; margin: 4px 0 6px; }
  .aside-case-link { grid-area: link; }
}

@media (max-width: 640px) {
  .list-with-aside .card-grid { grid-template-columns: minmax(0, 1fr); }
  .aside-case { grid-template-columns: 132px minmax(0, 1fr); column-gap: 14px; }
  .aside-case h3 { font-size: 15px; }
}


/* Single post typography */

.detail-main{padding: 72px 6.5%;}

/* ============================================================
   Product detail: content column + sticky projects rail
   (same two-column rhythm as the products listing page)
   ============================================================ */
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 44px;
  align-items: start;
}
.detail-col { min-width: 0; }
.detail-col .breadcrumb { margin-bottom: 18px; }

@media (max-width: 1180px) {
  .detail-layout { grid-template-columns: minmax(0, 1fr); }
  .detail-main--with-aside .projects-aside {
    position: static;
    max-height: none;
    margin-top: 8px;
  }
}

/* Product hero: carousel (half) + summary panel (half) */
.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  margin: 0 0 42px;
}
.product-hero-media { min-width: 0; }
.product-hero-media .product-gallery { margin-bottom: 0; }
.product-hero-info { min-width: 0; }

.product-hero-info h1 {
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.25;
  letter-spacing: -.6px;
  margin: 0 0 12px;
  color: #1f2426;
}
.product-hero-info .project-tags { margin-bottom: 16px; }

.product-hero-lead {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.68;
  color: var(--muted);
}

.product-hero-facts {
  padding-top: 16px;
  margin-bottom: 22px;
  border-top: 1px solid var(--line);
}
.product-hero-facts h2 {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.product-hero-facts dl { margin: 0; }
.product-hero-facts dl > div {
  display: grid;
  grid-template-columns: minmax(88px, 46%) minmax(0, 1fr);
  gap: 12px;
  padding: 7px 0;
  font-size: 13px;
  border-bottom: 1px dashed var(--line);
}
.product-hero-facts dl > div:last-child { border-bottom: 0; }
.product-hero-facts dt { color: var(--muted); }
.product-hero-facts dd { margin: 0; color: var(--ink); font-weight: 500; }

.product-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.btn-whatsapp {
  background: #BA3038;
  border-color: #BA3038;
  color: #fff;
}
.btn-whatsapp:hover { background: #0e6f64; border-color: #0e6f64; }
.btn-whatsapp .wa-icon { flex: 0 0 auto; }

@media (max-width: 1024px) {
  .product-hero { grid-template-columns: minmax(0, 1fr); gap: 26px; margin-bottom: 32px; }
  .product-hero-info h1 { font-size: 26px; }
}

/* Product photo carousel: sliding stage + thumbnails + hover magnifier */
.product-gallery {
  margin: 0 0 34px;
}

.gallery-viewport {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--cream);
  cursor: zoom-in;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.gallery-track {
  display: flex;
  height: 100%;
  transition: transform .5s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}

.gallery-slide {
  flex: 0 0 100%;
  height: 100%;
  margin: 0;
}

.gallery-slide img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
}

/* Arrows */
.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  transform: translateY(-50%);
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  color: #fff;
  background: rgba(14, 17, 19, .62);
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .28);
  cursor: pointer;
  transition: background .2s, border-color .2s, opacity .2s;
}
.gallery-nav:hover,
.gallery-nav:focus-visible {
  background: var(--red);
  border-color: var(--red);
  outline: none;
}
.gallery-nav--prev { left: 14px; }
.gallery-nav--next { right: 14px; }

.gallery-count {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  padding: 4px 10px;
  font-size: 12px;
  letter-spacing: .08em;
  color: #fff;
  background: rgba(20, 23, 25, .55);
  border-radius: 999px;
  pointer-events: none;
}

/* Thumbnails */
.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #d8d9d4 transparent;
}
.gallery-thumbs::-webkit-scrollbar { height: 4px; }
.gallery-thumbs::-webkit-scrollbar-thumb { background: #d8d9d4; border-radius: 2px; }
.gallery-thumbs::-webkit-scrollbar-track { background: transparent; }
.gallery-thumb {
  flex: 1 0 76px;
  max-width: 132px;
  min-width: 0;
  aspect-ratio: 4 / 3;
  padding: 0;
  margin: 0;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  opacity: .6;
  transition: opacity .2s, border-color .2s;
}
.gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
}
.gallery-thumb:hover { opacity: .92; }
.gallery-thumb.is-active {
  opacity: 1;
  border-color: var(--red);
  box-shadow: inset 0 0 0 1px var(--red);
}

/* Magnifier lens: the active slide is cloned inside and scaled by JS */
.gallery-lens {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  width: 200px;
  height: 200px;
  overflow: hidden;
  pointer-events: none;
  background: #fff;
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 0 2px #fff, 0 14px 34px rgba(0, 0, 0, .35);
  transition: opacity .16s ease;
}
.gallery-lens.is-on { opacity: 1; }
.gallery-lens img {
  position: absolute;
  top: 0;
  left: 0;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
  transform-origin: 0 0;
  will-change: transform;
}

/* No cursor on touch devices — the lens is a pointer-only affordance */
@media (hover: none) {
  .gallery-lens { display: none; }
  .gallery-viewport { cursor: default; }
}

@media (max-width: 640px) {
  .gallery-viewport { aspect-ratio: 4 / 3; }
  .gallery-nav { width: 34px; height: 34px; font-size: 18px; }
  .gallery-nav--prev { left: 8px; }
  .gallery-nav--next { right: 8px; }
  .gallery-thumbs { gap: 6px; }
  .gallery-thumb { aspect-ratio: 1 / 1; }
  .gallery-count { right: 8px; bottom: 8px; }
}

.detail-cover{display:block;width:100%;max-width:900px;height:auto;margin:0 auto 32px;border:1px solid var(--line);border-radius:8px;box-shadow:0 10px 30px rgba(0,0,0,.07);object-fit:cover}
.detail-head{margin:0 auto 30px;padding-bottom:22px;position:relative}
.detail-head h1{font-size:34px;line-height:1.3;letter-spacing:-1px;margin:0 0 14px;color:#1f2426}
.detail-head .meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;font-size:13px;color:var(--muted);letter-spacing:.2px}
.detail-head .meta > *{position:relative;display:inline-flex;align-items:center}
.detail-head .meta > * + *::before{content:"";width:4px;height:4px;margin-right:18px;background:var(--line);border-radius:50%}
.detail-head .meta a{color:var(--muted);text-decoration:none;transition:color .2s}
.detail-head .meta a:hover{color:var(--red)}
@media (max-width:640px){.detail-main{padding:32px 5% 56px}
.detail-cover{margin-bottom:24px;border-radius:6px;box-shadow:0 6px 18px rgba(0,0,0,.06)}
.detail-head{margin-bottom:24px;padding-bottom:18px}
.detail-head h1{font-size:25px;letter-spacing:-.5px;margin-bottom:10px}
.detail-head .meta{font-size:12px;gap:6px 12px}
.detail-head .meta > * + *::before{margin-right:12px}
}




.product-cases{padding:28px 24px 32px;background:var(--cream);border:1px solid var(--line);border-radius:10px}
.product-cases .eyebrow{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:600;letter-spacing:.14em;color:var(--muted);text-transform:uppercase;margin-bottom:14px}
.product-cases .eyebrow::before{content:"";width:18px;height:2px;background:var(--red)}
.product-cases h2{font-size:22px;line-height:1.35;letter-spacing:-.5px;margin:0 0 10px;color:#1f2426}
.product-cases .case-context{font-size:13px;line-height:1.7;color:var(--muted);margin-bottom:24px}
.product-cases > p{margin:0}
.product-cases .product-case-card{display:block;text-decoration:none;color:inherit}
.product-cases .product-case-card img{display:block;width:100%;height:auto;aspect-ratio:4 / 3;object-fit:cover;border:1px solid var(--line);border-radius:6px;transition:transform .3s,box-shadow .3s}
.product-cases .product-case-card small{display:block;margin-top:8px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.product-cases h3{font-size:15px;line-height:1.45;margin:6px 0 4px;color:#1f2426;transition:color .2s}
.product-cases .product-case-card span{font-size:12px;font-weight:600;color:var(--red);letter-spacing:.02em}
.product-cases .product-case-card:hover img{transform:translateY(-2px);box-shadow:0 10px 24px rgba(0,0,0,.1)}
.product-cases .product-case-card:hover h3{color:var(--red)}
.product-cases .product-case-card:hover span{text-decoration:underline;text-underline-offset:3px}
.product-cases > p + p,.product-cases > p + a,.product-cases > a + p{margin-top:0}
.product-cases > p:last-of-type{margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}
.product-cases .text-link{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--red);text-decoration:none;transition:gap .2s}
.product-cases .text-link:hover{gap:10px}
@media (max-width:640px){.product-cases{padding:22px 18px 26px}
.product-cases h2{font-size:19px}
.product-cases .product-case-card img{aspect-ratio:16 / 10}
}



.entry-content{margin:0 auto;font-size:16px;line-height:1.85;color:#3c4244;letter-spacing:.1px;word-break:break-word}
.entry-content p{margin:0 0 1.4em}
.entry-content p video{height: 450px;}
.entry-content > p:has(iframe){text-align: center;}
.entry-content h2{position:relative;font-size:26px;line-height:1.35;margin:52px 0 18px;padding-bottom:12px;letter-spacing:-.6px;color:#1f2426;border-bottom:1px solid var(--line)}
.entry-content h2::before{content:"";position:absolute;left:0;bottom:-1px;width:48px;height:3px;background:var(--red)}
.entry-content h3{font-size:19px;line-height:1.5;margin:34px 0 12px;color:#1f2426}
.entry-content h3::before{content:"";display:inline-block;width:4px;height:0.9em;margin-right:10px;vertical-align:-2px;background:var(--red);border-radius:2px}
.entry-content > h2:first-child,.entry-content > h3:first-child{margin-top:0}
.entry-content img{display:block;max-width: 50%;height:auto;margin:26px auto;border:1px solid var(--line);border-radius:6px;box-shadow:0 6px 20px rgba(0,0,0,.06)}
.entry-content figcaption{margin: 32px 0;font-size:13px;color:#8a9193;text-align:center}
.entry-content ul,.entry-content ol{margin:0 0 1.4em;padding-left:1.4em}
.entry-content ul{list-style:none;padding-left:1.2em}
.entry-content ul li{position:relative;margin-bottom:8px;padding-left:4px}
.entry-content ul li::before{content:"";position:absolute;left:-1em;top:.72em;width:6px;height:6px;background:var(--red);border-radius:50%}
.entry-content ol{list-style:decimal}
.entry-content ol li{margin-bottom:8px}
.entry-content li p{margin-bottom:.4em}
.entry-content a{color:var(--red);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;transition:color .2s,background-color .2s}
.entry-content p .btn{color: white;text-decoration: none;}
.entry-content table{width:100%;margin:26px 0;border-collapse:separate;border-spacing:0;font-size:14px;border:1px solid var(--line);border-radius:8px;overflow:hidden}
.entry-content table th,.entry-content table td{padding:11px 14px;text-align:left;border:none;border-bottom:1px solid var(--line)}
.entry-content table th{background:var(--cream);font-weight:600;color:#1f2426}
.entry-content table tr:last-child td{border-bottom:none}
.entry-content table tbody tr:nth-child(even){background:rgba(0,0,0,.015)}
.entry-content .table-wrap{overflow-x:auto;margin:26px 0;-webkit-overflow-scrolling:touch}
.entry-content blockquote{margin:26px 0;padding:16px 22px;border-left:4px solid var(--red);background:var(--cream);color:#4a5153;font-style:normal;border-radius:0 6px 6px 0}
.entry-content blockquote p:last-child{margin-bottom:0}
.entry-content hr{margin:40px 0;border:none;height:1px;background:var(--line)}
.entry-content section{margin-bottom:34px}
.entry-content > div{margin-bottom:16px}
.entry-content code{padding:2px 6px;font-size:.9em;background:var(--cream);border:1px solid var(--line);border-radius:4px}
@media (max-width:640px){.entry-content{font-size:15px;line-height:1.8}
.entry-content h2{font-size:22px;margin-top:40px}
.entry-content h3{font-size:17px}
.entry-content img{margin:20px auto;border-radius:4px;width: 100%;max-width: 100%;}
}








.detail-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; flex-wrap: wrap;padding-bottom: 30px; }
.detail-nav a { color: var(--red); }

/* News */

.news-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
@media (max-width:991px){.news-grid{grid-template-columns:repeat(2,1fr);gap:20px}
}@media (max-width:560px){.news-grid{grid-template-columns:1fr;gap:18px}
}.news-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.news-card:hover{transform:translateY(-4px);box-shadow:0 16px 36px rgba(0,0,0,.1);border-color:transparent}
.news-card img{display:block;width:100%;height:auto;aspect-ratio:16 / 10;object-fit:cover;transition:transform .4s ease}
.news-card:hover img{transform:scale(1.04)}
.news-card > a:first-child,.news-card .news-thumb{display:block;overflow:hidden}
.news-card-copy{display:flex;flex-direction:column;flex:1;padding:18px 20px 22px}
.news-card-copy small{display:inline-block;font-size:11px;letter-spacing:1.2px;text-transform:uppercase;color:var(--muted);margin-bottom:10px}
.news-card-copy h2{font-size:16px;line-height:1.45;margin:0 0 10px;color:#1f2426;letter-spacing:-.2px;transition:color .2s ease}
.news-card-copy h2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.news-card:hover .news-card-copy h2{color:var(--red)}
.news-card-copy p{font-size:13px;line-height:1.7;color:var(--muted);margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.news-card-copy .more{display:inline-flex;align-items:center;gap:4px;margin-top:auto;padding-top:14px;font-size:12px;font-weight:600;color:var(--red);text-decoration:none;transition:gap .2s ease}
.news-card:hover .news-card-copy .more{gap:8px}
.news-card-copy .more{text-decoration:none}

/* Downloads */
.resource-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.resource-card { border: 1px solid var(--line); padding: 20px; background: #fff; display: flex; flex-direction: column; gap: 8px; }
.resource-card .pdf-mark { width: 38px; height: 38px; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: bold; }
.resource-card small { font-size: 11px; color: var(--muted); letter-spacing: 1px; }
.resource-card h3 { font-size: 16px; }
.resource-card p { font-size: 12px; color: var(--muted); flex: 1; }
.resource-card .btn { align-self: flex-start; padding: 8px 16px; font-size: 12px; }

/* Delivery process */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.process-step { border-top: 2px solid var(--red); padding-top: 16px; }
.process-step img { aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 12px; border: 1px solid var(--line); }
.process-step .num { font-size: 11px; letter-spacing: 2px; color: var(--red); font-weight: bold; }
.process-step h3 { font-size: 17px; margin: 6px 0 6px; }
.process-step p { font-size: 13px; color: var(--muted); }

/* Pagination */
.pagination{margin-top: 50px;display: flex;justify-content: center;}
.pagination ul { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 8px 14px;  font-size: 13px; background: #fff; }
.pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); border-radius: 10px;}
.pagination .page-numbers:hover { border-color: var(--red); color: var(--red); }

/* Empty states */
.no-results { padding: 60px 0; text-align: center; color: var(--muted); }

/* Project detail tags */
.project-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
  .hero-copy h1 { font-size: 42px; }
}

@media (max-width: 860px) {
  .mobile-toggle { display: flex; margin-left: auto; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h); left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 4.5% 20px;
    max-height: 70vh;
    overflow-y: auto;
  }
  .site-nav.is-open { display: flex; }
  .site-nav > li { border-bottom: 1px solid var(--line); }
  .site-nav .nav-link { padding: 12px 0; border-radius: 0; }
  .site-nav .nav-link::after { display: none; }
  .site-nav .nav-arrow { margin-left: auto; }
  .sub-menu-wrap {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    padding-top: 0;
    min-width: 0;
    display: none;
  }
  .site-nav li.is-open > .sub-menu-wrap { display: block; }
  .sub-menu { box-shadow: none; border: 0; border-top: 0; padding: 0 0 10px; min-width: 0; }
  .sub-menu > li { opacity: 1; transform: none; transition: none; }
  .sub-menu li a { padding: 9px 0; }
  .sub-menu li a:hover { padding-left: 8px; }
  .header-actions { display: none; }

  .hero { grid-template-columns: 1fr; padding-top: 36px; }
  .hero-copy h1 { font-size: 34px; letter-spacing: -1px; }
  .about, .factory, .contact { grid-template-columns: 1fr; gap: 30px; padding-bottom: 40px; }
  .section { padding: 46px 4.5%; }
  h2, .section-heading h2 { font-size: 26px; letter-spacing: -.6px; }
  .page-head h1, .detail-head h1 { font-size: 27px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 22px; }
  .topbar { font-size: 9px; gap: 10px; }
  .topbar span{display: none;}
  .topbar-dealers { display: none; }
}

@media (max-width: 1080px) {
  .video-layout { grid-template-columns: 1fr; }
  .video-list { max-height: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .video-list { grid-template-columns: 1fr; display: none;}
  .image-caption { bottom: 84px; }
  .image-caption strong { font-size: 16px; }
  .image-kicker { bottom: 56px; }
  .trust-strip { gap: 14px; }
  .trust-strip a { margin-left: 0; }
  .dealer-banner { padding: 28px 22px; }
  .floating-actions { right: 12px; bottom: 14px; }
}

/* Nav dropdown arrow (used by the default nav and by menus bound to site copy) */
.site-nav .caret { opacity: .65; font-size: .85em; margin-left: 2px; }

/* Homepage product grid: overflow cards stay hidden (pairs with .is-extra and the expand button) */
.card[hidden] { display: none !important; }
.grid-more-wrap {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.grid-more-wrap[hidden] { display: none; }
.grid-more {
  display: inline-block;
  padding: 11px 26px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.grid-more:hover { background: var(--red); border-color: var(--red); color: #fff; }
.grid-more-count { font-size: 12px; color: var(--muted); }

/* Play badge on video cards in listings */
.video-card .video-badge {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(186, 48, 56, .92);
  transition: transform .25s ease;
}
.video-card .video-badge::after {
  content: '';
  position: absolute;
  top: 50%; left: 54%;
  transform: translate(-50%, -50%);
  border-left: 13px solid #fff;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}
.video-card:hover .video-badge { transform: scale(1.1); }

/* Player on the single video page */
.video-frame-single { margin-bottom: 26px; }
.video-frame-single video { width: 100%; height: 100%; object-fit: contain; display: block; }

/* Downloads: four per row, matching the other listings */
.resource-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .resource-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Multi-level dropdowns — classic vertical lists
   ------------------------------------------------------------
   The second level opens as a vertical list under its top item.
   A third level stays hidden until its parent item is hovered,
   then flies out to the right, so menus never keep stacking
   downwards and growing longer.
   ============================================================ */

/* The panel opened last renders above the others, so the pointer always
   lands on the menu the user is actually working with. */
.site-nav > li.is-front > .sub-menu-wrap { z-index: 85; }

/* Third level and deeper: hidden until the parent item is hovered,
   then fly out to the right of the list. */
@media (min-width: 861px) {
  .site-nav .sub-menu > li { position: relative; }
  .site-nav .sub-menu .sub-menu-wrap {
    top: -11px;
    left: 100%;
    padding: 0 0 0 4px;
    transform: translateX(-6px) scale(.99);
    transform-origin: left top;
  }
  .site-nav .sub-menu li.has-dropdown:hover > .sub-menu-wrap,
  .site-nav .sub-menu li.has-dropdown.is-open > .sub-menu-wrap {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0) scale(1);
  }
  /* The arrow of a group item points right instead of down */
  .site-nav .sub-menu .has-dropdown > .nav-link .nav-arrow {
    display: inline-block;
    margin-left: auto;
    transform: rotate(-90deg);
  }
  /* Long third-level lists scroll instead of running off screen */
  .site-nav .sub-menu .sub-menu-wrap > .sub-menu {
    max-height: min(64vh, 460px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}


/* ---------- Language switcher ---------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  letter-spacing: .4px;
  color: var(--muted);
  line-height: 1;
  white-space: nowrap;
}
.lang-switch__item {
  padding: 6px 8px;
  border-radius: 4px;
  color: #5d6365;
  transition: color .2s ease, background-color .2s ease;
}
.lang-switch__item:hover { color: var(--red); background: rgba(186, 48, 56, .07); }
.lang-switch__item.is-active {
  color: #fff;
  background: var(--red);
  font-weight: bold;
}
.lang-switch__sep { color: var(--line); }
.lang-switch--mobile { display: none; margin-left: auto; }

@media (max-width: 860px) {
  /* Every level collapses into an accordion (JS toggles .is-open) */
  .sub-menu .sub-menu-wrap { display: none; }
  .sub-menu li.is-open > .sub-menu-wrap { display: block; }

  /* Nested levels render as a quiet left-rail list inside the accordion */
  .sub-menu .sub-menu {
    border: 0;
    box-shadow: none;
    background: transparent;
    border-left: 2px solid var(--line);
    margin: 0 0 6px 2px;
    padding: 0 0 4px 10px;
    min-width: 0;
    max-height: none;
    overflow: visible;
  }
  .sub-menu .sub-menu li a { padding: 8px 0; }
  .sub-menu .sub-menu li a:hover { padding-left: 6px; }

  .sub-menu .sub-menu li a { padding: 8px 0 8px 16px; }
  .lang-switch--mobile { display: inline-flex; margin-right: 10px; }
  .site-header .brand { min-width: 0; }
}

@media (max-width: 420px) {
  .brand-copy{display: none !important;}
  .site-header .brand-copy { display: none; }
}

/* ---------- Floating back-to-top (right side) ---------- */
.back-to-top {
  z-index: 90;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  background: #000;
  color: #fff;
  box-shadow: 0 10px 24px rgba(186, 48, 56, .32);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s, background-color .2s ease;
}
.back-to-top svg { width: 20px; height: 20px; fill: currentColor; display: block; }
.back-to-top__text {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 10px;
  border-radius: 4px;
  background: var(--dark);
  color: #fff;
  font-size: 11px;
  letter-spacing: .4px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s;
}
.back-to-top:hover .back-to-top__text,
.back-to-top:focus-visible .back-to-top__text { opacity: 1; visibility: visible; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

@media (max-width: 560px) {
  .back-to-top { right: 12px; bottom: 118px; width: 40px; height: 40px; }
  .back-to-top__text { display: none; }
}

/* ---------- Footer extras ---------- */
.footer-main .footer-address {
  font-size: 12px;
  line-height: 1.7;
  color: #96a09a;
  margin: 6px 0 0;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.footer-legal a { color: #8d948f; }
.footer-legal a:hover { color: #fff; }

/* Rich text pages imported from the reference site */
.entry-content figure { margin: 26px 0; text-align: center;}
.entry-content figure video{width: 50%;height: 450px;}
.entry-content figure img { margin: 0 auto; margin-top: 10px;margin-bottom: 10px;}
.entry-content table th { white-space: nowrap; }


@media(max-width:767px){
  .entry-content figure img{width: 100%;max-width: 100%;}
}

/* ---------- Footer social icons ---------- */
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.footer-social li { margin: 0; }
.footer-social a {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #ccd2cd;
  transition: background-color .24s ease, border-color .24s ease, color .24s ease,
              transform .24s cubic-bezier(.34, 1.4, .64, 1), box-shadow .24s ease;
}
.footer-social a:hover,
.footer-social a:focus-visible {
  color: #fff;
  border-color: transparent;
  background: var(--social, var(--red));
  transform: translateY(-4px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, .3);
}
.footer-social .social-facebook a { --social: #1877f2; }
.footer-social .social-youtube a { --social: #ff0033; }
.footer-social .social-linkedin a { --social: #0a66c2; }
.footer-social .social-instagram a { --social: linear-gradient(135deg, #f9ce34, #ee2a7b 55%, #6228d7); }
.footer-social .social-tiktok a { --social: #010101; }
.footer-social .social-tiktok a:hover { box-shadow: 0 12px 22px rgba(37, 244, 238, .25); }

/* Tooltip with the network name */
.footer-social a::after {
  content: attr(aria-label);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 9px);
  transform: translate(-50%, 4px);
  padding: 5px 9px;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: .3px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.footer-social a:hover::after,
.footer-social a:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.footer-social svg { width: 18px; height: 18px; fill: currentColor; display: block; }

@media (max-width: 560px) {
  .footer-social a { width: 38px; height: 38px; border-radius: 10px; }
  .footer-social a::after { display: none; }
}
.sr-only {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* ============================================================
   Sitemap page (page-sitemap.php + XMLMap shortcode output)
   ============================================================ */
.sitemap-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.sitemap-jump a {
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 9px 16px;
  border: 1px solid var(--line);
  background: #fff;
  color: #5d6365;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.sitemap-jump a:hover { color: #fff; background: var(--red); border-color: var(--red); }

.sitemap-sections {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}
.sitemap-card {
  grid-column: span 6;
  border: 1px solid var(--line);
  background: #fff;
  padding: 26px 28px 24px;
}
.sitemap-card--wide { grid-column: span 12; }
.sitemap-card__title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.sitemap-card__title span {
  font-size: 10.5px;
  letter-spacing: 1px;
  font-weight: normal;
  text-transform: none;
  color: var(--muted);
}

/* Products grouped by family */
.sitemap-families { display: flex; flex-wrap: wrap; gap: 26px 34px; }
.sitemap-family { flex: 1 1 210px; min-width: 190px; max-width: 320px; }
.sitemap-family__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  font-weight: bold;
  color: var(--red);
  padding-bottom: 9px;
  margin-bottom: 11px;
  border-bottom: 1px dashed var(--line);
  transition: color .2s ease;
}
.sitemap-family__head:hover { color: var(--ink); }
.sitemap-family__head span { font-size: 10px; font-weight: normal; letter-spacing: .6px; color: var(--muted); }
.sitemap-family ul li { margin-bottom: 7px; }
.sitemap-family ul li a {
  display: inline-block;
  font-size: 12.5px;
  line-height: 1.5;
  color: #4a5052;
  transition: color .18s ease, transform .18s ease;
}
.sitemap-family ul li a:hover { color: var(--red); transform: translateX(2px); }
.sitemap-family--all { flex: 0 0 auto; min-width: 170px; max-width: 220px; }
.sitemap-family--all .sitemap-family__head { color: var(--ink); border-bottom: 0; margin-bottom: 0; }
.sitemap-family--all .sitemap-family__head:hover { color: var(--red); }

/* Simple link lists */
.sitemap-list { columns: 2; column-gap: 26px; }
.sitemap-list li { break-inside: avoid; margin-bottom: 8px; }
.sitemap-list li a { font-size: 12.5px; line-height: 1.5; color: #4a5052; transition: color .18s ease; }
.sitemap-list li a:hover { color: var(--red); }
.sitemap-list__all a { color: var(--red); font-weight: bold; letter-spacing: .3px; }

/* Pages / articles block (rendered by the [html_sitemap] shortcode) */
.sitemap-pages { margin-top: 24px; }
.bst-sitemap-plugin .xmlsg-html-sitemap > h2 { display: none; }
.bst-sitemap-plugin .xmlsg-html-sitemap h3,
.bst-sitemap-plugin .xmlsg-html-sitemap h3::before {
  border: 0;
  background: none;
}
.bst-sitemap-plugin .xmlsg-html-sitemap h3 {
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 14px;
  padding: 22px 0 9px;
  border-top: 1px solid var(--line);
}
.bst-sitemap-plugin .xmlsg-html-sitemap h3:first-of-type { border-top: 0; padding-top: 0; }
.bst-sitemap-plugin .xmlsg-html-sitemap ul {
  columns: 3;
  column-gap: 30px;
  margin: 0 0 8px;
  padding: 0;
}
.bst-sitemap-plugin .xmlsg-html-sitemap ul li {
  break-inside: avoid;
  margin: 0 0 7px;
  padding: 0;
}
.bst-sitemap-plugin .xmlsg-html-sitemap ul li::before { display: none; }
.bst-sitemap-plugin .xmlsg-html-sitemap ul li a {
  display: inline-block;
  font-size: 12.5px;
  line-height: 1.5;
  color: #4a5052;
  text-decoration: none;
  padding: 0;
  margin: 0;
  background: none;
  transition: color .18s ease;
}
.bst-sitemap-plugin .xmlsg-html-sitemap ul li a:hover { color: var(--red); background: none; }
.bst-sitemap-plugin .xmlsg-html-sitemap p { display: none; }

/* XML sitemap link */
.sitemap-foot { margin-top: 26px; }
.sitemap-xml {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .5px;
  color: #5d6365;
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px 16px;
  transition: color .2s ease, border-color .2s ease;
}
.sitemap-xml svg { width: 15px; height: 15px; fill: currentColor; }
.sitemap-xml:hover { color: var(--red); border-color: var(--red); }

@media (max-width: 960px) {
  .sitemap-card { grid-column: span 12; }
  .bst-sitemap-plugin .xmlsg-html-sitemap ul { columns: 2; }
  .sitemap-list { columns: 1; }
}
@media (max-width: 560px) {
  .sitemap-card { padding: 20px 18px 18px; }
  .bst-sitemap-plugin .xmlsg-html-sitemap ul { columns: 1; }
  .sitemap-jump a { font-size: 10px; padding: 8px 12px; }
}

/* ---------- Contact page message form ---------- */
.contact-form-section {
  margin: 30px auto 6px;
  padding: 42px clamp(20px, 5%, 56px) 48px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(23, 32, 38, .05);
}
.contact-form-head { margin-bottom: 22px; }
.contact-form-head h2 { font-size: 24px; letter-spacing: -.4px; margin: 8px 0 0; }
/* Honeypot field: hidden without negative offsets — `left:-9999px` would add
   ~10000px of scrollable overflow in RTL pages (Arabic), causing a huge blank
   area and horizontal scrolling. */
.bst-hp {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}
@media (max-width: 640px) {
  .contact-form-section { padding: 28px 18px 32px; }
  .contact-form-head h2 { font-size: 20px; }
}

/* ---------- Language switcher: dropdown mode (more than 3 languages) ---------- */
.lang-switch--dropdown { position: relative; }
.lang-switch--dropdown:not(.lang-switch--mobile) { display: inline-flex; }
.lang-switch--dropdown .lang-switch__toggle {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 10px; border: 1px solid var(--line); border-radius: 6px;
  background: #fff; color: #5d6365; font-size: 12px; letter-spacing: .4px;
  line-height: 1; white-space: nowrap; cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.lang-switch--dropdown .lang-switch__toggle svg { width: 9px; height: 6px; transition: transform .2s ease; }
.lang-switch--dropdown:hover .lang-switch__toggle,
.lang-switch--dropdown.is-open .lang-switch__toggle { color: var(--red); border-color: var(--red); }
.lang-switch--dropdown:hover .lang-switch__toggle svg,
.lang-switch--dropdown.is-open .lang-switch__toggle svg { transform: rotate(180deg); }
.lang-switch__menu {
  position: absolute; top: 100%; right: 0; z-index: 60;
  min-width: 150px; margin: 0; padding: 6px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 14px 30px rgba(23, 32, 38, .12);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  pointer-events: none;
}
/* Invisible bridge so the pointer can cross from the toggle to the menu */
.lang-switch__menu::before { content: ''; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
.lang-switch--dropdown:hover .lang-switch__menu,
.lang-switch--dropdown.is-open .lang-switch__menu,
.lang-switch__menu:hover {
  opacity: 1; visibility: visible; transform: none; pointer-events: auto;
}
.lang-switch__menu .lang-switch__item {
  display: block; width: 100%; padding: 8px 12px; border-radius: 6px;
  color: #5d6365; transition: background-color .15s ease, color .15s ease;
}
.lang-switch__menu .lang-switch__item:hover { background: var(--cream); color: var(--red); }
.lang-switch__menu .lang-switch__item.is-active { background: var(--red); color: #fff; }
.lang-switch__menu .lang-switch__item.is-active:hover { background: var(--red); color: #fff; }

/* ============================================================
   Shared enquiry form (bottom of every article / page)
   ============================================================ */
.bst-quote-inline {
  margin-top: 52px;
  padding-top: 38px;
}
.bst-quote-inline__head { max-width: 660px; margin-bottom: 22px; }
.bst-quote-inline__head h2 { font-size: 26px; line-height: 1.25; margin: 10px 0 8px; letter-spacing: -.4px; }
.bst-quote-inline__head p { color: var(--muted); margin: 0; font-size: 14px; }

@media (max-width: 640px) {
  .bst-quote-inline { margin-top: 34px; padding-top: 26px; }
  .bst-quote-inline__head h2 { font-size: 21px; }
  .bst-quote-inline .bst-quote-form { padding: 18px; }
}

/* Product photo gallery (migrated from the previous site) */
.bst-product-gallery {
  gap: 14px;
  margin: 0 0 26px;
}
.bst-product-gallery .bst-product-photo { margin: 0; display: block;width: 100%;}
.bst-product-gallery img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
}
@media (max-width: 640px) {
  .bst-product-gallery { grid-template-columns: 1fr; }
}

/* ============================================================
   Dropdown overflow fixes
   - Hidden panels must never create a page-wide horizontal
     scrollbar: clamp the document, right-align panels of
     right-hand items and flip nested flyouts to the left
     (JS adds .align-right / .align-left on hover).
   - Long panels scroll inside themselves.
   - The floating WhatsApp/quote rail stays above the panels.
   ============================================================ */
html, body { overflow-x: clip; }
@supports not (overflow: clip) {
  html, body { overflow-x: hidden; }
}

.site-nav > li > .sub-menu-wrap.align-right {
  left: auto;
  right: 0;
  transform-origin: top right;
}

.site-nav .sub-menu .sub-menu-wrap.align-left {
  left: auto;
  right: 100%;
  padding: 0 4px 0 0;
  transform-origin: right top;
}

/* Long flat second-level panels scroll inside instead of growing forever.
   Panels that CONTAIN third-level flyouts must never scroll/clip, or the
   absolutely-positioned flyouts would be cut off entirely. */
.site-nav > li > .sub-menu-wrap > .sub-menu:not(:has(.sub-menu-wrap)) {
  max-height: min(72vh, 560px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
/* Panels with third-level flyouts: no clipping, but keep them within
   the viewport height via JS (bstClampPanel shifts them up if needed). */
.site-nav > li > .sub-menu-wrap > .sub-menu:has(.sub-menu-wrap) {
  max-height: none;
  overflow: visible;
}

/* Floating WhatsApp / enquiry rail always renders above dropdowns */
.floating-actions { z-index: 999; }

/* ---------- Header search ---------- */
.nav-search { position: relative; display: inline-flex; }
.nav-search-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%;
  background: #fff; cursor: pointer; transition: color .22s ease, border-color .22s ease, background-color .22s ease;
}
.nav-search-toggle svg { width: 17px; height: 17px; fill: var(--ink); transition: fill .22s ease; }
.nav-search-toggle:hover, .nav-search.is-open .nav-search-toggle { color: var(--red); border-color: var(--red); }
.nav-search-toggle:hover svg, .nav-search.is-open .nav-search-toggle svg { fill: var(--red); }

.nav-search-box {
  position: absolute; top: calc(100% + 12px); right: 0; z-index: 80;
  width: 320px; max-width: calc(100vw - 24px);
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 18px 40px rgba(37, 42, 44, .16);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.nav-search.is-open .nav-search-box { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-search-box form { display: flex; align-items: center; padding: 6px; }
.nav-search-box input[type="search"] {
  flex: 1; min-width: 0; border: none; outline: none; background: transparent;
  font-size: 14px; color: var(--ink); padding: 10px 12px;
}
.nav-search-box input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
.nav-search-box button[type="submit"] {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border: none; border-radius: 8px;
  background: var(--red); cursor: pointer;
}
.nav-search-box button[type="submit"] svg { width: 17px; height: 17px; fill: #fff; }

@media (max-width: 860px) {
  .nav-search-box {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    width: auto; max-width: none; border-radius: 0 0 10px 10px;
  }
}

/* Search results */
.sec-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; letter-spacing: .8px; text-transform: uppercase;
  color: var(--red); background: rgba(186, 48, 56, .07);
  border: 1px solid rgba(186, 48, 56, .18); border-radius: 999px;
  padding: 3px 10px; margin-bottom: 8px; width: fit-content;
}
.search-keyword { color: var(--red); }

/* Enquiry confirmation banner (translated / cached pages) */
.bst-flash {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 4.5% 0;
  padding: 14px 18px;
  border: 1px solid #b7e4c8;
  border-radius: 8px;
  background: #eefaf2;
  color: #1d6b41;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}
.bst-flash__mark {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: #2e7d52;
  color: #fff;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
  font-weight: 700;
}



/* Submit button while the form is being sent */
.bst-quote-form button[type="submit"].is-sending {
  opacity: 0.55;
  cursor: progress;
}

/* Enquiry success dialog */
body.bst-modal-open { overflow: hidden; }
.bst-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(12, 20, 28, 0.55);
  animation: bst-modal-fade 0.18s ease-out;
}
.bst-modal.is-closing { animation: bst-modal-fade-out 0.18s ease-in forwards; }
.bst-modal__box {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 12px;
  padding: 30px 26px 24px;
  text-align: center;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  animation: bst-modal-in 0.2s ease-out;
}
.bst-modal.is-closing .bst-modal__box { animation: bst-modal-out 0.18s ease-in forwards; }
.bst-modal__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #2e7d52;
  color: #fff;
  font-size: 26px;
  line-height: 52px;
  font-weight: 700;
}
.bst-modal__title { margin: 0 0 8px; font-size: 19px; line-height: 1.3; color: #14304a; }
.bst-modal__text { margin: 0 0 20px; font-size: 14px; line-height: 1.6; color: #4b5a67; }
.bst-modal__btn { min-width: 120px; }
@keyframes bst-modal-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bst-modal-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes bst-modal-in { from { opacity: 0; transform: translateY(12px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes bst-modal-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(8px) scale(0.98); } }
@media (max-width: 480px) {
  .bst-modal__box { padding: 24px 18px 20px; }
  .bst-modal__btn { width: 100%; }
}

/* Contact page: company information */
.bst-company { margin: 46px 0 8px; }
.bst-company .eyebrow { margin-bottom: 6px; }
.bst-company h2 { font-size: 26px; letter-spacing: -.4px; margin: 8px 0 8px; }
.bst-company__lead { color: var(--muted, #5b6b78); font-size: 14px; line-height: 1.65; max-width: 720px; margin: 0 0 22px; }
.bst-company__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.bst-company__card {
  background: #fff;
  border: 1px solid #e8edf1;
  border-radius: 10px;
  padding: 18px 20px;
}
.bst-company__card small {
  display: block;
  font-size: 10px;
  letter-spacing: 1.6px;
  color: var(--muted, #8296a5);
  margin-bottom: 8px;
}
.bst-company__card strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: #16303f;
}
.bst-company__card span {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted, #6b7f8d);
}
.bst-company__card a { color: var(--red, #ba3038); text-decoration: none; }
.bst-company__card a:hover { text-decoration: underline; }
.bst-company__social {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid #e8edf1;
  border-radius: 10px;
}
.bst-company__social span { font-size: 10px; letter-spacing: 1.6px; color: var(--muted, #8296a5); }
.bst-company__social a { font-size: 13.5px; color: #16303f; text-decoration: none; border-bottom: 1px dashed #c8d4dc; padding-bottom: 1px; }
.bst-company__social a:hover { color: var(--red, #ba3038); border-bottom-color: currentColor; }

/* ============================================================
   FAQ page: accordion
   ============================================================ */
.faq-meta { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 14px; }
.faq-count {
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 12px;
  background: var(--cream);
}
.faq-pageof { font-size: 12px; color: var(--muted); }
.faq-cat {
  display: block;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  font-weight: 700;
  color: #7f8583;
  margin-bottom: 3px;
}
/* The shared card rules add padding to the answer panel; on this page the
   padding belongs to .faq-a-inner so a closed row stays compact. */
.faq-main .faq-list .faq-item .faq-a { padding: 0; }
.faq-main .faq-q { padding: 16px 15px 16px 18px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item.is-open { background: #fcfcfa; }
.faq-q {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px 18px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: var(--ink);
  transition: background .15s;
}
.faq-q:hover { background: rgba(186, 48, 56, .04); }
.faq-no {
  flex: none;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--red);
  font-weight: bold;
  min-width: 24px;
}
.faq-q-text { flex: 1; font-size: 15.5px; font-weight: bold; line-height: 1.45; }
.faq-icon {
  position: relative;
  flex: none;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  transition: transform .2s, background .2s, border-color .2s;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 2px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform .2s, background .2s;
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open .faq-icon { background: var(--red); border-color: var(--red); }
.faq-item.is-open .faq-icon::before,
.faq-item.is-open .faq-icon::after { background: #fff; }
.faq-item.is-open .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .25s ease;
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner {
  overflow: hidden;
  padding: 0 58px 0 58px;
}
.faq-a-inner p { margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.8; padding-top: 10px;}
.faq-a-inner ul, .faq-a-inner ol { margin: 0 0 18px; padding-left: 20px; color: var(--muted); }
.faq-a-inner a { color: var(--red); }
.faq-item.is-open .faq-a-inner { padding-bottom: 22px; }
/* FAQ page: pager */
.faq-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}
.faq-pager .pager-step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  transition: border-color .2s, color .2s, background .2s;
}
.faq-pager .pager-step:hover { border-color: var(--red); color: var(--red); }
.faq-pager .pager-step.is-disabled { opacity: .38; pointer-events: none; }
.faq-pager .pager-nums { display: flex; align-items: center; gap: 6px; }
.faq-pager .pager-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  transition: border-color .2s, color .2s, background .2s;
}
.faq-pager .pager-num:hover { border-color: var(--red); color: var(--red); }
.faq-pager .pager-num.is-current { background: var(--red); border-color: var(--red); color: #fff; }
.faq-pager .pager-gap { padding: 0 2px; color: var(--muted); font-size: 13px; }

.faq-cta {
  margin-top: 48px;
  padding: 36px 30px;
  background: var(--dark);
  color: #fff;
  text-align: center;
  border-radius: 4px;
}
.faq-cta h2 { margin: 0 0 10px; font-size: 26px; letter-spacing: -.5px; }
.faq-cta p { margin: 0 auto 22px; max-width: 560px; color: rgba(255, 255, 255, .75); font-size: 13.5px; }
.faq-cta .btn { background: var(--red); border-color: var(--red); color: #fff; }
.faq-cta .btn:hover { background: #a02830; }

@media (max-width: 720px) {
  .faq-q { padding: 16px 12px; gap: 10px; }
  .faq-a-inner { padding: 0 12px; }
  .faq-item.is-open .faq-a-inner { padding-bottom: 18px; }
  .faq-q-text { font-size: 14.5px; }
  .faq-cta { padding: 28px 18px; }
  .faq-cta h2 { font-size: 21px; }
  .faq-pager { gap: 8px; margin-top: 28px; }
  .faq-pager .pager-step { height: 34px; padding: 0 10px; font-size: 12px; }
  .faq-pager .pager-num { min-width: 34px; height: 34px; font-size: 12.5px; }
}
@media (max-width: 560px) {
  .faq-pager .pager-label { display: none; }
  .faq-pager .pager-step { justify-content: center; min-width: 34px; padding: 0 6px; }
}

/* Expandable series product pages: keep gallery photos at the reference scale
   so mixed portrait / landscape / panorama material reads as one column. */
.entry-content .exp-gallery img { max-width: 520px; }
@media (max-width: 640px) {
  .entry-content .exp-gallery img { max-width: 100%; }
}
.entry-content .exp-gallery .exp-pano img { max-width: 880px; }

/* Keep individual gallery photos compact so one portrait shot does not fill
   a whole screen and every article reads as a photo sequence, not a slideshow. */
.entry-content .exp-gallery img { max-height: 560px; }

/* Portrait photo sets (interior shots): two per row so tall images stay readable */
.entry-content .bst-product-gallery.is-portrait {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  align-items: start;
}
.entry-content .bst-product-gallery.is-portrait img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
}

@media (max-width: 640px) {
  .entry-content .bst-product-gallery.is-portrait { grid-template-columns: 1fr; }
  .entry-content .bst-product-gallery.is-portrait img { max-height: none; }
}

/* ============================================================
   Detail pages: previous / next article (above the enquiry form)
   ============================================================ */
.bst-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-top: 30px;
}
.bst-post-nav__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}
.bst-post-nav__label {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.bst-post-nav__title {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
a.bst-post-nav__item:hover {
  border-color: var(--red);
  background: var(--cream);
  transform: translateY(-2px);
}
a.bst-post-nav__item:hover .bst-post-nav__label,
a.bst-post-nav__item:hover .bst-post-nav__title { color: var(--red); }
.bst-post-nav__item--next { text-align: right; }
.bst-post-nav__item--next .bst-post-nav__label { justify-self: end; }
.bst-post-nav__item.is-empty {
  background: transparent;
  border-style: dashed;
  cursor: default;
}
.bst-post-nav__item.is-empty .bst-post-nav__title { color: var(--muted); }

@media (max-width: 640px) {
  .bst-post-nav { grid-template-columns: 1fr; gap: 12px; margin-top: 34px; padding-top: 24px; }
  .bst-post-nav__item { padding: 14px 16px; }
  .bst-post-nav__item--next { text-align: left; }
  .bst-post-nav__item--next .bst-post-nav__label { justify-self: start; }
}

/* ============================================================
   Share row (detail pages, above previous/next navigation)
   ============================================================ */
.share-row {
	display: flex;
	justify-content: end;
	align-items: center;
	margin: 38px 0 0;
	padding: 18px 0;
}
.share-icons {
	display: flex;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.share-icons a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 6px;
	transition: transform 0.15s ease, opacity 0.15s ease;
}
.share-icons a:hover { transform: translateY(-2px); opacity: 0.88; }
.share-icons svg { width: 20px; height: 20px; fill: #fff; }
.share-facebook  a { background: #1877f2; }
.share-twitter   a { background: #1da1f2; }
.share-linkedin  a { background: #0a66c2; }
.share-pinterest a { background: #e60023; }

@media (max-width: 640px) {
	.share-row { justify-content: flex-start; }
}

/* ============================================================
   Product trust band (site photo + certificate wall)
   ------------------------------------------------------------
   Two shots under the carousel, above the overview panel.
   ============================================================ */
.entry-content .product-trust {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0 0 26px;
}
.entry-content .product-trust__item {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.entry-content .product-trust__item a { display: block; }
.entry-content .product-trust img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.entry-content .product-trust__item a:hover img { opacity: .94; }

/* The overview follows the band directly — no stacked margins. */
.entry-content > .product-trust + .bst-overview { margin-top: 0; }

@media (max-width: 640px) {
  .entry-content .product-trust { gap: 12px; margin-bottom: 20px; }
}

/* ============================================================
   Product overview panel (sits above the specification table)
   ------------------------------------------------------------
   Editorial card: eyebrow + lead paragraph, then two numbered
   blocks of small cards (materials, advantages).
   ============================================================ */
.entry-content .bst-overview {
  position: relative;
  margin: 46px 0 10px;
  padding: 34px 34px 32px;
  background: linear-gradient(180deg, #fbfbf7 0%, #ffffff 62%);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.entry-content .bst-overview::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 34px;
  width: 58px;
  height: 3px;
  background: var(--red);
  border-radius: 0 0 3px 3px;
}
.entry-content .bst-overview p { margin: 0; }

/* The overview now opens the body right under the hero — no extra gap. */
.entry-content > .bst-overview:first-child { margin-top: 0; }

.entry-content .bst-overview__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
}
.entry-content .bst-overview__eyebrow::before {
  content: "";
  flex: 0 0 auto;
  width: 22px;
  height: 1px;
  background: var(--red);
}

.entry-content .bst-overview__lead {
  margin: 0 0 4px;
  font-size: 17px;
  line-height: 1.75;
  color: #2b3234;
  letter-spacing: .1px;
}

.entry-content .bst-overview__block {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.entry-content .bst-overview__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  line-height: 1.4;
  text-transform: uppercase;
  color: #1f2426;
}
.entry-content .bst-overview__title::before { content: none; }
.entry-content .bst-overview__title span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 22px;
  padding: 0 8px;
  background: rgba(186, 48, 56, .08);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--red);
}

.entry-content .bst-overview__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(188px, 1fr));
  gap: 12px;
}
.entry-content .bst-ov-card {
  margin: 0;
  padding: 18px 18px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.entry-content .bst-ov-card:hover {
  border-color: #cfd2cd;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
  transform: translateY(-2px);
}
.entry-content .bst-ov-card h4 {
  margin: 0 0 8px;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.4;
  color: #1f2426;
}
.entry-content .bst-ov-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: #596062;
}
.entry-content .bst-overview__block--materials .bst-ov-card h4 {
  font-size: 11.5px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--red);
}
.entry-content .bst-ov-card__n {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: rgba(186, 48, 56, .22);
}

/* The spec heading follows the panel, so it needs less air above it */
.entry-content .bst-overview + h2 { margin-top: 34px; }

@media (max-width: 900px) {
  .entry-content .bst-overview { padding: 26px 22px 24px; }
  .entry-content .bst-overview::before { left: 22px; }
  .entry-content .bst-overview__grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
}

@media (max-width: 640px) {
  .entry-content .bst-overview { margin: 32px 0 6px; padding: 22px 16px 20px; }
  .entry-content .bst-overview::before { left: 16px; }
  .entry-content .bst-overview__lead { font-size: 15px; line-height: 1.7; }
  .entry-content .bst-overview__block { margin-top: 22px; padding-top: 20px; }
  .entry-content .bst-overview__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Blog article detail
   ------------------------------------------------------------
   Centred heading over a narrow reading measure, headshots and
   paragraphs at full column width, heading list as a sticky rail
   with a quote card underneath. Palette stays on the theme red /
   ink / cream, nothing borrowed from the reference site's colours.
   ============================================================ */
.detail-main--post { padding: 52px 6.5% 72px; }

.post-shell {
  display: grid;
  grid-template-columns: minmax(0, 760px) 300px;
  justify-content: center;
  gap: 56px;
  align-items: start;
}
.post-col { min-width: 0; width: 100%; max-width: 760px; margin: 0 auto; }
/* No headings → no rail, and the copy stays centred. */
.post-shell--single { grid-template-columns: minmax(0, 760px); }

/* Heading block, centred like an editorial opener */
.detail-main--post .detail-head {
  text-align: center;
  margin: 0 auto 30px;
  padding-bottom: 0;
  border: 0;
}
.detail-main--post .detail-head .eyebrow { margin-bottom: 14px; }
.detail-main--post .detail-head h1 {
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.3;
  letter-spacing: -1px;
  margin: 0 0 14px;
}
.detail-main--post .detail-head .meta { justify-content: center; }

.detail-main--post .breadcrumb { margin-bottom: 22px; }
.detail-main--post .detail-cover {
  width: 100%;
  max-width: 100%;
  margin: 0 0 34px;
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .07);
}

/* Reading measure */
.detail-main--post .entry-content {
  font-size: 17px;
  line-height: 1.85;
  letter-spacing: 0;
  color: #3c4244;
}
.detail-main--post .entry-content p { margin: 0 0 1.5em; }
.detail-main--post .entry-content h2 { font-size: 27px; margin: 56px 0 20px; }
.detail-main--post .entry-content h3 { font-size: 20px; margin: 38px 0 14px; }
.detail-main--post .entry-content img {
  width: auto;
  max-width: 100%;
  margin: 34px auto;
}
.detail-main--post .entry-content figure { margin: 34px 0; }
.detail-main--post .entry-content figure img { margin: 0 auto; }
.detail-main--post .entry-content ul,
.detail-main--post .entry-content ol { margin-bottom: 1.6em; }
.detail-main--post .entry-content li { margin-bottom: 10px; }

/* Side rail */
.post-aside {
  position: sticky;
  top: 118px;
  display: grid;
  gap: 16px;
}

.post-toc {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.post-toc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 700;
  color: #1f2426;
  cursor: pointer;
  list-style: none;
}
.post-toc__head::-webkit-details-marker { display: none; }
.post-toc__chevron { flex: 0 0 auto; color: var(--muted); transition: transform .2s; }
.post-toc[open] .post-toc__chevron { transform: rotate(180deg); }

.post-toc__list {
  margin: 0;
  padding: 8px 0;
  list-style: none;
  max-height: min(46vh, 420px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.post-toc__list::-webkit-scrollbar { width: 6px; }
.post-toc__list::-webkit-scrollbar-thumb { background: #d8d9d4; border-radius: 3px; }
.post-toc__list::-webkit-scrollbar-track { background: transparent; }
.post-toc__list li { margin: 0; }
.post-toc__list a {
  display: flex;
  gap: 9px;
  padding: 8px 18px;
  border-left: 3px solid transparent;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  transition: color .18s, background-color .18s, border-color .18s;
}
.post-toc__list a:hover { color: var(--ink); background: var(--cream); }
.post-toc__list a.is-active {
  color: var(--red);
  border-left-color: var(--red);
  background: #fbf6f5;
  font-weight: 600;
}
.post-toc__num {
  flex: 0 0 auto;
  font-size: 11px;
  line-height: 1.9;
  letter-spacing: .06em;
  color: var(--red);
  opacity: .75;
}
.post-toc__list a.is-active .post-toc__num { opacity: 1; }

.post-cta {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}
.post-cta h2 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  color: #1f2426;
}
.post-cta p {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}
.post-cta .btn { width: 100%; justify-content: center; }

/* One column: the rail moves above the copy, TOC collapses to a header row.
   The two-column grid needs 760 + 300 + 56 = 1116px inside the 87% container,
   i.e. a viewport of about 1284px. */
@media (max-width: 1283px) {
  .post-shell { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .post-aside { position: static; top: auto; margin: 0 0 28px; }
  /* The quote card would sit right on top of the copy here, and the enquiry
     form already closes the article — keep only the heading list. */
  .post-aside .post-cta { display: none; }
  .post-toc__list { max-height: 58vh; }
}

@media (max-width: 900px) {
  .detail-main--post { padding: 34px 5.5% 56px; }
  .detail-main--post .detail-head h1 { font-size: 27px; }
  .detail-main--post .entry-content { font-size: 16px; line-height: 1.8; }
  .detail-main--post .entry-content h2 { font-size: 23px; margin: 42px 0 16px; }
  .detail-main--post .entry-content h3 { font-size: 18px; }
  .detail-main--post .detail-cover { border-radius: 8px; margin-bottom: 26px; }
  .detail-main--post .entry-content img { margin: 24px auto; }
}

/* Wide tables scroll inside the reading column instead of pushing the page */
.detail-main--post .entry-content figure.wp-block-table { overflow-x: auto; }
.detail-main--post .entry-content table { min-width: 520px; }
@media (max-width: 560px) {
  .detail-main--post .entry-content table { min-width: 460px; font-size: 13px; }
}

/* ============================================================
   Series photo band (Expandable Container Series body photos)
   One full-width photo per row at fixed spots in the product body.
   ============================================================ */
.entry-content .product-photo-band {
  margin: 0 0 26px;
}
.entry-content .product-photo-band img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .06);
}
/* The overview follows photo 2 — keep its default top spacing off. */
.entry-content > .product-photo-band + .bst-overview { margin-top: 0; }

/* Photo 2 lives inside the overview card, above the eyebrow line. */
.entry-content .bst-overview > .product-photo-band { margin: 0 0 24px; }
.entry-content .bst-overview > .product-photo-band img {
  border-radius: 8px;
  box-shadow: none;
}
/* Photo 4 then the specification heading. */
.entry-content > .product-photo-band + h2 { margin-top: 6px; }
@media (max-width: 640px) {
  .entry-content .product-photo-band { margin-bottom: 18px; }
  .entry-content .product-photo-band img { border-radius: 8px; }
}

/* ============================================================
   About page: certification wall
   ------------------------------------------------------------
   The body rule caps inline images at 50% width, which leaves the
   certificates unreadable. The wall takes the full column inside a
   framed white board instead.
   ============================================================ */
.entry-content .bst-cert-wall { margin: 26px 0 38px; }
.entry-content .bst-cert-wall img {
  display: block;
  width: 100%;
  max-width: 1000px;
  height: auto;
  margin: 0 auto;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .05);
  box-sizing: border-box;
}
@media (max-width: 640px) {
  .entry-content .bst-cert-wall { margin: 18px 0 28px; }
  .entry-content .bst-cert-wall img { padding: 8px; border-radius: 8px; }
}

/* Project article: full-width hero photo + 2-per-row photo grid */

/* ============================================================
   Product FAQ accordion (bottom of product articles)
   ============================================================ */
.faq-list{margin:40px auto;display:flex;flex-direction:column;gap:16px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
.faq-list .faq-item{background:#ffffff;border:1px solid #e2e8f0;border-radius:10px;box-shadow:0 2px 8px rgba(0,0,0,0.03);transition:all 0.3s ease;overflow:hidden}
.faq-list .faq-item[open]{border-color:#0056b3;box-shadow:0 6px 20px rgba(0,86,179,0.08)}
.faq-list .faq-item summary{padding:20px 24px;font-size:17px;font-weight:600;color:#1e293b;cursor:pointer;list-style:none;position:relative;display:flex;justify-content:space-between;align-items:center;user-select:none;transition:color 0.2s ease,background 0.2s ease}
.faq-list .faq-item summary::-webkit-details-marker{display:none}
.faq-list .faq-item[open] summary{color:#0056b3;border-bottom:1px solid #f1f5f9;background:#f8fafc}
.faq-list .faq-item summary::after{content:"+";font-size:24px;font-weight:400;color:#94a3b8;transition:transform 0.3s ease,color 0.3s ease;line-height:1}
.faq-list .faq-item[open] summary::after{content:"-";color:#0056b3;transform:rotate(180deg)}
.faq-list .faq-item .faq-a{padding:24px 24px 24px 24px;color:#475569;font-size:15px;line-height:1.8;background:#ffffff;animation:fadeInDown 0.3s ease-in-out}
.faq-list .faq-item .faq-a p{margin:0}
.faq-list .faq-q{padding-right:15px}
@keyframes fadeInDown{from{opacity:0;transform:translateY(-5px)}
to{opacity:1;transform:translateY(0)}
}@media screen and (max-width:768px){.faq-list{margin:20px auto;gap:12px}
.faq-list .faq-item summary{padding:16px 18px;font-size:15.5px}
.faq-list .faq-item .faq-a{padding:0 18px 18px 18px;font-size:14.5px}
.faq-list .faq-item summary::after{font-size:20px}
}
/* ============================================================
   Cookie consent: banner, preferences dialog, toast
   ============================================================ */
.bst-cc {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 1200;
  width: min(430px, calc(100% - 48px));
  pointer-events: none;
}
.bst-cc[hidden] { display: none !important; }
.bst-cc__card {
  pointer-events: auto;
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  box-shadow: 0 18px 48px rgba(18, 24, 26, .18);
  padding: 22px 24px 20px;
}
.bst-cc__eyebrow {
  font-size: 9.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 7px;
}
.bst-cc__title {
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -.3px;
  font-weight: 500;
  margin-bottom: 8px;
}
.bst-cc__text {
  font-size: 12.5px;
  line-height: 1.7;
  color: #5b6163;
  margin-bottom: 10px;
}
.bst-cc__links {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 16px;
}
.bst-cc__links a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
.bst-cc__links a:hover { color: var(--red); }
.bst-cc__links-group { white-space: nowrap; }
.bst-cc__links-group > span { margin: 0 4px; }
@keyframes bstCcIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.bst-cc__card { animation: bstCcIn .28s ease-out both; }
@media (prefers-reduced-motion: reduce) {
  .bst-cc__card { animation: none; }
  .bst-cc-toast { transition: none; }
}
.bst-cc__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.bst-cc__actions .btn {
  padding: 9px 16px;
  font-size: 12.5px;
  letter-spacing: .2px;
  justify-content: center;
}
.bst-cc__prefs,
.bst-cc__textbtn {
  display: inline-block;
  padding: 6px 2px;
  font-size: 12.5px;
  color: var(--ink);
  background: none;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s;
}
.bst-cc__prefs:hover,
.bst-cc__textbtn:hover { color: var(--red); }
.bst-cc__prefs:focus-visible,
.bst-cc__textbtn:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* Preferences dialog */
html.bst-cc-lock, body.bst-cc-lock { overflow: hidden; }
.bst-cc-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.bst-cc-modal[hidden] { display: none !important; }
.bst-cc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 26, 28, .58);
}
.bst-cc-modal__dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(700px, 100%);
  max-height: min(88vh, 800px);
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
  outline: none;
}
.bst-cc-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px 16px;
  border-bottom: 1px solid var(--line);
}
.bst-cc-modal__head h2 {
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -.5px;
}
.bst-cc-modal__close {
  flex: none;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  transition: background .2s, border-color .2s, color .2s;
}
.bst-cc-modal__close svg { width: 13px; height: 13px; fill: currentColor; }
.bst-cc-modal__close:hover { background: var(--cream); border-color: #c9cac5; }
.bst-cc-modal__close:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.bst-cc-modal__body {
  padding: 18px 26px 6px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.bst-cc-modal__intro {
  font-size: 13px;
  line-height: 1.7;
  color: #5b6163;
  margin-bottom: 6px;
}
.bst-cc-cats { margin-bottom: 4px; }
.bst-cc-cat {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.bst-cc-cat:last-child { border-bottom: 0; }
.bst-cc-cat__name {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  cursor: pointer;
}
.bst-cc-cat__desc {
  display: block;
  font-size: 12.5px;
  line-height: 1.65;
  color: #6b7173;
}
.bst-cc-cat__meta {
  display: block;
  margin-top: 6px;
  font-size: 10.5px;
  letter-spacing: .3px;
  color: #9aa09f;
  font-family: Consolas, Monaco, monospace;
}
.bst-cc-cat__badge {
  flex: none;
  align-self: center;
  font-size: 9.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 700;
  color: #8d948f;
  border: 1px solid var(--line);
  padding: 4px 8px;
  white-space: nowrap;
}
.bst-cc-switch {
  position: relative;
  display: inline-block;
  flex: none;
  width: 42px;
  height: 24px;
  margin-top: 2px;
}
.bst-cc-switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.bst-cc-switch__track {
  position: absolute;
  inset: 0;
  background: #d6d8d3;
  border-radius: 999px;
  transition: background-color .18s ease;
}
.bst-cc-switch__track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .28);
  transition: transform .18s ease;
}
.bst-cc-switch input:checked + .bst-cc-switch__track { background: var(--red); }
.bst-cc-switch input:checked + .bst-cc-switch__track::after { transform: translateX(18px); }
.bst-cc-switch input:focus-visible + .bst-cc-switch__track {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
.bst-cc-modal__links {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--muted);
  margin: 6px 0 14px;
}
.bst-cc-modal__links a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.bst-cc-modal__links a:hover { color: var(--red); }
.bst-cc-modal__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 26px 20px;
  border-top: 1px solid var(--line);
  background: var(--cream);
}
.bst-cc-modal__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bst-cc-modal__cta .btn {
  padding: 9px 18px;
  font-size: 12.5px;
}

/* Confirmation toast */
.bst-cc-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 1400;
  transform: translate(-50%, 14px);
  max-width: calc(100% - 40px);
  background: var(--dark);
  color: #fff;
  font-size: 12.5px;
  letter-spacing: .2px;
  padding: 11px 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  pointer-events: none;
}
.bst-cc-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* JavaScript disabled */
.bst-cc-noscript {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  background: var(--dark);
  color: #fff;
  font-size: 12px;
  line-height: 1.6;
  padding: 12px 5%;
  text-align: center;
}

/* Footer "Cookie settings" button */
.footer-legal__btn {
  padding: 0;
  background: none;
  border: 0;
  color: #8d948f;
  font-size: inherit;
  line-height: inherit;
  text-align: left;
  transition: color .2s;
}
.footer-legal__btn:hover { color: #fff; }
.footer-legal__btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; color: #fff; }

/* "Manage cookies" box used on the Cookie Policy page */
.entry-content .cookie-manage {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  padding: 18px 22px;
  margin: 0 0 28px;
}
.entry-content .cookie-manage p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: #454b4d;
  max-width: 62ch;
}
.entry-content .cookie-manage .btn { flex: none; }

@media (max-width: 767px) {
  .bst-cc {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
  }
  .bst-cc__card {
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    padding: 18px 5% 20px;
    box-shadow: 0 -10px 34px rgba(0, 0, 0, .16);
  }
  .bst-cc__title { font-size: 17px; }
  .bst-cc__text { font-size: 12px; }
  .bst-cc__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .bst-cc__actions .btn { padding: 10px 12px; }
  .bst-cc__prefs { grid-column: 1 / -1; text-align: center; padding-top: 4px; }
  .bst-cc-modal { padding: 0; align-items: flex-end; }
  .bst-cc-modal__dialog {
    width: 100%;
    max-height: 92vh;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
  }
  .bst-cc-modal__head { padding: 18px 5% 14px; }
  .bst-cc-modal__head h2 { font-size: 19px; }
  .bst-cc-modal__body { padding: 14px 5% 4px; }
  .bst-cc-cat { gap: 12px; padding: 14px 0; }
  .bst-cc-cat__desc { font-size: 12px; }
  .bst-cc-modal__foot {
    padding: 14px 5% 18px;
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .bst-cc-modal__cta { display: grid; grid-template-columns: 1fr 1fr; }
  .bst-cc-modal__cta .btn { justify-content: center; padding: 11px 10px; }
  .bst-cc__textbtn { text-align: center; }
  html.bst-cc-open .back-to-top { bottom: calc(118px + var(--bst-cc-h, 0px)); }
  .entry-content .cookie-manage { padding: 16px 18px; }
}

@media (max-width: 359px) {
  .bst-cc__actions { grid-template-columns: 1fr; }
  .bst-cc__prefs { grid-column: auto; }
}
@media (max-height: 560px) and (max-width: 767px) {
  .bst-cc__card { max-height: calc(100vh - 12px); overflow-y: auto; }
  .bst-cc-modal__dialog { max-height: 100vh; }
}
