/* ==========================================================================
   Wahal page templates — shared design system (machine, blog post, blog listing)
   Same tokens as the homepage hero: Barlow Semi Condensed headings, Archivo body.
   Everything is scoped under .wt so theme styles elsewhere are untouched.
   ========================================================================== */
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/wp-content/uploads/wahal-fonts/barlow-semi-condensed-latin-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/wp-content/uploads/wahal-fonts/barlow-semi-condensed-latin-700.woff2") format("woff2"); }

.wt {
  --wt-ink: #0f1f3d;
  --wt-text: #334155;
  --wt-muted: #5b6b82;
  --wt-accent: #0d5c8a;
  --wt-hl: #1a5fc4;
  --wt-navy: #16306b;
  --wt-cta: #1d6fe0;
  --wt-cta-hover: #1759b8;
  --wt-tint: #f2f7fc;
  --wt-tint-2: #e8f1fa;
  --wt-line: #dbe4ee;
  --wt-card: #ffffff;
  --wt-display: "Barlow Semi Condensed", "Roboto", sans-serif;
  --wt-body: "Archivo", "Roboto", sans-serif;
  --wt-ease: cubic-bezier(.16, 1, .3, 1);
  --wt-radius: 12px;
  --wt-max: 1200px;
  --wt-gutter: clamp(16px, 4vw, 40px);
  --wt-section: clamp(56px, 7vw, 104px);
  --wt-arrow: var(--wahal-arrow, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 6h15.5M11.5 1.2 16.5 6l-5 4.8'/%3E%3C/svg%3E"));
  font-family: var(--wt-body); color: var(--wt-text);
}
.wt *, .wt *::before, .wt *::after { box-sizing: border-box; }
/* full-bleed when the template sits inside the theme container */
.main-content .wt { width: 100vw; margin-left: calc(50% - 50vw); }
.wt img { max-width: 100%; height: auto; display: block; }
.wt a { transition: color .2s; }

/* ---- layout primitives ---- */
.wt-wrap { max-width: var(--wt-max); margin: 0 auto; padding: 0 var(--wt-gutter); }
.wt-section { padding: var(--wt-section) 0; }
.wt-section--tint { background: var(--wt-tint); }
.wt-product + .wt-section { padding-top: clamp(40px, 4vw, 64px); }
.wt-section__head { max-width: 720px; margin: 0 0 40px; }
.wt-section__head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---- type ---- */
.wt h1, .wt h2, .wt h3 { font-family: var(--wt-display); color: var(--wt-ink); text-transform: none; letter-spacing: -.01em; margin: 0; }
.wt h1 { font-size: clamp(36px, 1.6vw + 25px, 54px); line-height: 1.06; font-weight: 700; text-wrap: balance; }
.wt h2 { font-size: clamp(28px, 1vw + 20px, 38px); line-height: 1.12; font-weight: 700; text-wrap: balance; }
.wt h3 { font-size: 21px; line-height: 1.25; font-weight: 700; }
.wt p { margin: 0; }
.wt-kicker { display: block; margin: 0 0 14px; font-family: var(--wt-display); font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--wt-accent); }
.wt-lead { font-size: 18px; line-height: 1.7; color: var(--wt-text); }
.wt-section__head p { margin-top: 14px; font-size: 17px; line-height: 1.7; color: var(--wt-muted); }

/* ---- breadcrumbs ---- */
.wt-crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 28px; padding: 0; list-style: none; font-size: 13.5px; color: var(--wt-muted); }
.wt-crumbs li { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.wt-crumbs li + li::before { content: "/"; color: #9aa8ba; }
.wt-crumbs a { color: var(--wt-muted); text-decoration: none; }
.wt-crumbs a:hover { color: var(--wt-hl); }
.wt-crumbs [aria-current] { color: var(--wt-ink); }

/* ---- buttons ---- */
.wt-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.wt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 26px; border: 1.5px solid transparent; border-radius: 8px;
  font-family: var(--wt-body); font-size: 15.5px; font-weight: 600; line-height: 1; letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: transform .3s var(--wt-ease), box-shadow .3s var(--wt-ease), background-color .2s, border-color .2s, color .2s; }
.wt-btn--primary { background: var(--wt-cta); color: #fff !important; box-shadow: 0 10px 24px -12px rgba(29, 111, 224, .7); }
.wt-btn--primary:hover { background: var(--wt-cta-hover); box-shadow: 0 14px 28px -12px rgba(29, 111, 224, .8); }
.wt-btn--ghost { border-color: var(--wt-navy); color: var(--wt-navy) !important; background: transparent; }
.wt-btn--ghost:hover { background: var(--wt-navy); color: #fff !important; }
.wt-btn:hover { transform: translateY(-2px); }
.wt-btn:active { transform: none; }
.wt-btn:focus-visible, .wt-card:focus-visible, .wt-link:focus-visible { outline: 3px solid var(--wt-accent); outline-offset: 3px; }
.wt-arrow { display: block; flex: none; width: 18px; height: 12px; background: currentColor; -webkit-mask: var(--wt-arrow) center / contain no-repeat; mask: var(--wt-arrow) center / contain no-repeat; transition: transform .35s var(--wt-ease); }
.wt-btn:hover .wt-arrow, .wt-card:hover .wt-arrow, .wt-link:hover .wt-arrow { transform: translateX(4px); }
.wt-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--wt-hl); text-decoration: none; }

/* ==========================================================================
   MACHINE TEMPLATE
   ========================================================================== */
.wt-product { padding: clamp(32px, 4vw, 56px) 0 clamp(48px, 5vw, 72px); background: linear-gradient(180deg, var(--wt-tint) 0, #fff 100%); }
.wt-product__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.wt-product__info h1 { margin-bottom: 18px; }
.wt-product__info .wt-lead { margin-bottom: 28px; max-width: 36em; }
.wt-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0 0 32px; padding: 0; list-style: none; background: var(--wt-line); border: 1px solid var(--wt-line); border-radius: var(--wt-radius); overflow: hidden; }
.wt-facts li { margin: 0; padding: 16px 18px; list-style: none; background: #fff; }
.wt-facts strong { display: block; font-family: var(--wt-display); font-size: 24px; line-height: 1.1; font-weight: 700; color: var(--wt-ink); }
.wt-facts span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.4; color: var(--wt-muted); }
/* 28 Sep 2026 first-screen layout: enquiry buttons directly under the intro, fact tiles after them;
   on small screens the text comes before the gallery (the gallery no longer jumps to the top). */
.wt-product__info { display: flex; flex-direction: column; }
.wt-product__info .wt-actions { order: 3; }
.wt-product__info .wt-facts { order: 4; margin: 28px 0 0; }
/* 29 Sep 2026 brochure link under the hero buttons (same order as the buttons, so it stays directly beneath them) */
.wt-product__info .wt-brochure { order: 3; margin: 14px 0 0; font-size: 15px; line-height: 1.4; }
.wt-brochure a { color: var(--wt-hl); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.wt-brochure a:hover { color: var(--wt-navy); }
.wt-brochure a:focus-visible { outline: 3px solid var(--wt-accent); outline-offset: 3px; }

.wt-gallery__main { position: relative; aspect-ratio: 4 / 3; border-radius: var(--wt-radius); overflow: hidden; background: #fff; border: 1px solid var(--wt-line); }
.wt-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.wt-gallery__thumbs { display: flex; gap: 12px; margin: 12px 0 0; padding: 0; list-style: none; }
.wt-gallery__thumbs li { margin: 0; padding: 0; list-style: none; }
.wt-gallery__thumbs button { display: block; width: 96px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: #fff; cursor: pointer; opacity: .7; transition: opacity .2s, border-color .2s; }
.wt-gallery__thumbs button:hover { opacity: 1; }
.wt-gallery__thumbs button[aria-pressed="true"] { border-color: var(--wt-hl); opacity: 1; }
.wt-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.wt-checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 48px; margin: 0; padding: 0; list-style: none; }
.wt-checklist li { position: relative; margin: 0; padding: 0 0 16px 34px; list-style: none; border-bottom: 1px solid var(--wt-line); font-size: 16.5px; line-height: 1.6; color: var(--wt-text); }
.wt-checklist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--wt-tint-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231a5fc4' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 10.5 2.6 2.6L14 7.5'/%3E%3C/svg%3E") center / 20px no-repeat; }

.wt-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.wt-spec { padding: 26px 26px 28px; background: #fff; border: 1px solid var(--wt-line); border-radius: var(--wt-radius); }
.wt-spec h3 { margin: 0 0 10px; }
.wt-spec p { font-size: 15.5px; line-height: 1.65; color: var(--wt-text); }

.wt-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.wt-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--wt-line); border-radius: var(--wt-radius); overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .35s var(--wt-ease), box-shadow .35s var(--wt-ease), border-color .2s; }
.wt-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(15, 31, 61, .35); border-color: #c9d6e4; }
.wt-card__media { aspect-ratio: 16 / 10; background: var(--wt-tint); overflow: hidden; }
.wt-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .6s var(--wt-ease); }
.wt-card:hover .wt-card__media img { transform: scale(1.03); }
.wt-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 22px 22px 24px; }
.wt-card__body p { font-size: 15px; line-height: 1.6; color: var(--wt-muted); }
.wt-card__body .wt-link { margin-top: auto; padding-top: 6px; }

.wt-band { padding: clamp(40px, 5vw, 64px) 0; }
.wt-band__box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(28px, 4vw, 48px); border-radius: 16px; background: var(--wt-navy); color: #fff; }
.wt-band__box h2 { color: #fff; font-size: clamp(26px, 1vw + 18px, 34px); }
.wt-band__box p { margin-top: 10px; color: rgba(226, 236, 250, .8); font-size: 16.5px; line-height: 1.6; max-width: 38em; }
.wt-band__box .wt-btn--primary { background: #fff; color: var(--wt-navy) !important; box-shadow: none; }
.wt-band__box .wt-btn--primary:hover { background: var(--wt-tint-2); }
.wt-band__box .wt-btn--ghost { border-color: rgba(255, 255, 255, .5); color: #fff !important; }
.wt-band__box .wt-btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

/* ==========================================================================
   BLOG POST TEMPLATE
   ========================================================================== */
.wt-post-head { padding: clamp(32px, 4vw, 56px) 0 0; background: linear-gradient(180deg, var(--wt-tint) 0, #fff 70%); }
.wt-post-head__inner { max-width: 860px; }
.wt-chip { display: inline-block; margin: 0 0 16px; padding: 6px 12px; border-radius: 999px; background: var(--wt-tint-2); color: var(--wt-accent); font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.wt-post-head h1 { font-size: clamp(34px, 1.8vw + 22px, 56px); }
.wt-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 20px 0 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--wt-muted); }
.wt-meta li { margin: 0; padding: 0; list-style: none; }
.wt-meta li + li::before { content: "·"; margin-right: 18px; color: #9aa8ba; }
.wt-meta strong { color: var(--wt-ink); font-weight: 600; }
.wt-post-cover { margin: clamp(28px, 4vw, 44px) 0 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--wt-line); background: var(--wt-tint); aspect-ratio: 16 / 9; }
.wt-post-cover img { width: 100%; height: 100%; object-fit: cover; }

.wt-post-body { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: clamp(32px, 5vw, 80px); padding: clamp(40px, 5vw, 64px) 0 var(--wt-section); }
.wt-toc { position: sticky; top: 120px; align-self: start; padding: 22px 0 0; border-top: 2px solid var(--wt-ink); }
.wt-toc p { margin: 0 0 14px; font-family: var(--wt-display); font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--wt-ink); }
.wt-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.wt-toc li { margin: 0; padding: 0; list-style: none; counter-increment: toc; }
.wt-toc a { display: grid; grid-template-columns: 26px 1fr; padding: 9px 0; border-bottom: 1px solid var(--wt-line); font-size: 14.5px; line-height: 1.45; color: var(--wt-text); text-decoration: none; }
.wt-toc a::before { content: counter(toc, decimal-leading-zero); color: #9aa8ba; font-size: 12.5px; padding-top: 2px; }
.wt-toc a:hover { color: var(--wt-hl); }

.wt-prose { max-width: 720px; font-size: 18px; line-height: 1.75; color: var(--wt-text); }
.wt-prose > * + * { margin-top: 1.1em; }
.wt-prose h2 { margin-top: 2.2em; margin-bottom: .1em; font-size: clamp(26px, .8vw + 20px, 34px); scroll-margin-top: 120px; }
.wt-prose h3 { margin-top: 1.8em; font-size: 22px; scroll-margin-top: 120px; }
.wt-prose h2:first-child { margin-top: 0; }
.wt-prose p { margin-bottom: 0; }
.wt-prose .wt-btn { text-decoration: none; }
.wt-prose a:not(.wt-btn) { color: var(--wt-hl); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.wt-prose strong { color: var(--wt-ink); font-weight: 600; }
.wt-prose ul, .wt-prose ol { margin-left: 0; padding-left: 1.4em; }
.wt-prose li { margin: .45em 0; padding-left: .3em; }
.wt-prose ul li::marker { color: var(--wt-hl); }
.wt-prose ol li::marker { color: var(--wt-hl); font-weight: 700; }
.wt-prose figure { margin: 2em 0; }
.wt-prose figure img { border-radius: var(--wt-radius); }
.wt-prose figcaption { margin-top: 10px; font-size: 14px; color: var(--wt-muted); text-align: center; }
.wt-prose blockquote, .wt-callout { margin: 1.8em 0; padding: 22px 26px; border-left: 4px solid var(--wt-hl); border-radius: 0 var(--wt-radius) var(--wt-radius) 0; background: var(--wt-tint); color: var(--wt-ink); font-size: 18px; }
.wt-faq { margin-top: 1.4em; border-top: 1px solid var(--wt-line); }
.wt-faq details { border-bottom: 1px solid var(--wt-line); }
.wt-faq summary { position: relative; padding: 20px 44px 20px 0; cursor: pointer; list-style: none; font-family: var(--wt-display); font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--wt-ink); }
.wt-faq summary::-webkit-details-marker { display: none; }
.wt-faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat; transition: transform .3s var(--wt-ease); }
.wt-faq details[open] summary::after { transform: rotate(45deg); }
.wt-faq details > div { padding: 0 0 22px; }
.wt-post-cta { margin-top: 3em; padding: 32px; border-radius: 16px; background: var(--wt-navy); color: #fff; }
.wt-post-cta h2 { margin: 0 0 10px !important; color: #fff; font-size: 28px; }
.wt-post-cta p { color: rgba(226, 236, 250, .82); font-size: 17px; }
.wt-post-cta .wt-actions { margin-top: 22px; }
.wt-post-cta .wt-btn--primary { background: #fff; color: var(--wt-navy) !important; box-shadow: none; }
.wt-post-cta .wt-btn--ghost { border-color: rgba(255, 255, 255, .5); color: #fff !important; }
.wt-post-cta .wt-btn--ghost:hover { background: rgba(255, 255, 255, .12); }

/* ==========================================================================
   BLOG LISTING TEMPLATE
   ========================================================================== */
.wt-blog-head { padding: clamp(32px, 4vw, 56px) 0 clamp(32px, 4vw, 48px); background: var(--wt-tint); }
.wt-blog-head p.wt-lead { margin-top: 14px; max-width: 40em; color: var(--wt-muted); }
.wt-feature { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 0; margin: 0 0 40px; border-radius: 16px; }
.wt-feature .wt-card__media { aspect-ratio: 16 / 9; }
.wt-feature .wt-card__media img { object-fit: contain; background: #fff; }
.wt-feature .wt-card__body { justify-content: center; padding: clamp(28px, 4vw, 48px); gap: 14px; }
.wt-feature h2 { font-size: clamp(26px, 1vw + 20px, 36px); }
.wt-card__cat { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--wt-accent); }
.wt-card__date { font-size: 13.5px; color: var(--wt-muted); }
.wt-card h3 { font-size: 22px; }
/* branded placeholder when a post has no featured image */
.wt-ph { position: relative; width: 100%; height: 100%; min-height: 100%; display: flex; align-items: flex-end; padding: 22px; overflow: hidden;
  background: radial-gradient(circle at 85% 20%, rgba(124, 192, 255, .35), transparent 45%), linear-gradient(135deg, #16306b, #0d5c8a); }
.wt-ph::before { content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 40px), repeating-linear-gradient(0deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 40px); }
.wt-ph span { position: relative; font-family: var(--wt-display); font-size: 15px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .9); }

/* ---- responsive ---- */
@media (max-width: 999px) {
  .wt-product__grid, .wt-feature { grid-template-columns: minmax(0, 1fr); }
  .wt-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wt-post-body { grid-template-columns: minmax(0, 1fr); }
  .wt-toc { position: static; order: -1; }
}
@media (max-width: 690px) {
  .wt-crumbs li { display: none; }
  .wt-crumbs li:nth-last-child(2) { display: flex; }
  .wt-crumbs li:nth-last-child(2)::before { content: "←"; color: var(--wt-muted); }
  .wt-checklist, .wt-cards { grid-template-columns: 1fr; }
  .wt-checklist { gap: 14px; }
  .wt-facts strong { font-size: 21px; }
  .wt-btn { flex: 1 1 100%; }
  .wt-prose { font-size: 17px; }
  .wt-band__box { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  .wt *, .wt *::before, .wt *::after { transition: none !important; }
  .wt-btn:hover, .wt-card:hover, .wt-card:hover .wt-card__media img, .wt-btn:hover .wt-arrow { transform: none; }
}

/* ---- integration with the theme ---- */
body.wt-tpl #ajax-content-wrap { overflow-x: clip; }
.wt-container-wrap { padding: 0 !important; margin: 0 !important; }
.wt-post-body--solo { grid-template-columns: minmax(0, 1fr); }
.wt-post-body--solo .wt-prose { margin: 0 auto; }
.wt-prose .wpb_row, .wt-prose .vc_row { margin-left: 0 !important; margin-right: 0 !important; }
.wt-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.wt-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--wt-line); border-radius: 8px; color: var(--wt-ink); text-decoration: none; font-weight: 600; }
.wt-pagination .page-numbers.current { background: var(--wt-navy); border-color: var(--wt-navy); color: #fff; }
.wt-pagination .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---- post content from the editor / page builder, normalised ---- */
html body.wt-tpl #ajax-content-wrap .container-wrap.wt-container-wrap { padding-top: 0 !important; padding-bottom: 0 !important; }
.wt-prose h2, .wt-prose h2[class*="font-size"] { font-size: clamp(26px, .8vw + 20px, 34px) !important; line-height: 1.15 !important; }
.wt-prose h3, .wt-prose h3[class*="font-size"], .wt-prose .vc_custom_heading { font-size: 22px !important; line-height: 1.3 !important; font-family: var(--wt-display) !important; color: var(--wt-ink) !important; text-transform: none !important; }
.wt-prose .wp-block-spacer, .wt-prose .divider-wrap { display: none !important; }
.wt-prose .wpb_row, .wt-prose .row_col_wrap_12, .wt-prose .row_col_wrap_12_inner { display: block !important; padding: 0 !important; }
.wt-prose .wpb_column, .wt-prose .vc_column_container { width: 100% !important; margin: 0 !important; float: none !important; padding: 0 !important; }
.wt-prose .wpb_column:not(:has(img, p, h2, h3, h4, ul, ol, figure, iframe, table)) { display: none !important; }
.wt-prose .row-bg-wrap, .wt-prose .nectar-shape-divider-wrap { display: none !important; }
.wt-prose .wpb_text_column, .wt-prose .wpb_content_element { margin-bottom: 0 !important; }
.wt-prose .wpb_wrapper > * + * { margin-top: 1.1em; }
.wt-prose .img-with-aniamtion-wrap, .wt-prose .wpb_single_image { margin: 2em 0 !important; }
.wt-prose .vc_column-inner, .wt-prose .wpb_wrapper, .wt-prose .wpb_text_column { padding: 0 !important; }
.wt-prose h2, .wt-prose h3 { text-wrap: pretty; }

/* ---- machine template v1.2: overview, video, whole-image gallery ---- */
.wt-gallery__main { background: #fff; }
.wt-gallery__main img { object-fit: contain; }
.wt-overview { padding-top: clamp(40px, 4vw, 64px); }
.wt-overview .wt-post-body { padding: 0; }
.wt-video { position: relative; max-width: 960px; aspect-ratio: 16 / 9; border-radius: var(--wt-radius); overflow: hidden; background: #0f1f3d; }
.wt-video iframe, .wt-video__play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wt-video__play { padding: 0; cursor: pointer; background: #0f1f3d; }
.wt-video__play img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s; }
.wt-video__play:hover img { opacity: 1; }
.wt-video__icon { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--wt-cta); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .6); transition: transform .3s var(--wt-ease); }
.wt-video__icon::after { content: ""; position: absolute; left: 31px; top: 25px; border-left: 20px solid #fff; border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.wt-video__play:hover .wt-video__icon { transform: scale(1.06); }
.wt-video__play:focus-visible { outline: 3px solid var(--wt-accent); outline-offset: 3px; }

/* ---- tables in long-form content (model charts, spec sheets) ---- */
.wt-prose .wt-table { margin: 1.4em 0; overflow-x: auto; border: 1px solid var(--wt-line); border-radius: var(--wt-radius); -webkit-overflow-scrolling: touch; }
.wt-prose table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15.5px; line-height: 1.45; margin: 0; }
.wt-prose th { padding: 12px 16px; background: var(--wt-tint); color: var(--wt-ink); font-weight: 600; text-align: left; border-bottom: 1px solid var(--wt-line); white-space: nowrap; }
.wt-prose td { padding: 11px 16px; border-bottom: 1px solid var(--wt-line); color: var(--wt-text); }
.wt-prose tbody tr:last-child td { border-bottom: 0; }
.wt-prose tbody tr:nth-child(even) td { background: #fafcfe; }
.wt-prose td:first-child { font-weight: 600; color: var(--wt-ink); white-space: nowrap; }
.wt-prose .wt-note { font-size: 15px; color: var(--wt-muted); }

/* ---- phone-width containment (v7) ---- */
.wt-gallery__thumbs { flex-wrap: wrap; }
.wt-prose .row_col_wrap_12, .wt-prose .row_col_wrap_12_inner, .wt-prose .vc_row, .wt-prose .wpb_row, .wt-prose .vc_column-inner { margin-left: 0 !important; margin-right: 0 !important; width: auto !important; max-width: 100% !important; left: auto !important; }
.wt-prose img, .wt-prose iframe, .wt-prose video { max-width: 100% !important; height: auto; }
@media (max-width: 690px) {
  .wt-gallery__thumbs button { width: 72px; height: 56px; }
}

/* ---- machine pages with no photo: single text column (v8) ---- */
.wt-product__grid:not(:has(.wt-gallery)) { grid-template-columns: minmax(0, 1fr); }
.wt-product__grid:not(:has(.wt-gallery)) .wt-product__info { max-width: 760px; }

/* ---- several videos (v9) ---- */
.wt-videos--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.wt-video-item { margin: 0; }
.wt-video-item figcaption { margin-top: 10px; font-size: 14.5px; color: var(--wt-muted); }
@media (max-width: 690px) { .wt-videos--grid { grid-template-columns: minmax(0, 1fr); } }

/* ---- single-column long-form: keep the column at 100% so wide tables scroll inside their box (v10) ---- */
.wt-prose { min-width: 0; }
.wt-post-body--solo .wt-prose { width: 100%; }

/* ---- plant template: process flow steps (v11) ---- */
.wt-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.wt-step { position: relative; margin: 0; padding: 24px 22px 24px; list-style: none; background: #fff; border: 1px solid var(--wt-line); border-radius: var(--wt-radius); }
.wt-step__n { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 50%;
  background: var(--wt-navy); color: #fff; font-family: var(--wt-display); font-size: 16px; font-weight: 700; }
.wt-step h3 { margin: 0 0 8px; }
.wt-step p { font-size: 15px; line-height: 1.6; color: var(--wt-text); }
/* connectors removed (v12): rows wrap, numbers carry the order */
