/*
Theme Name: The Water Treatments
Theme URI: https://www.thewatertreatments.com/
Description: Modern, accessible technical-reference theme for The Water Treatments — a long-form educational guide to water & wastewater treatment. Classic theme; preserves existing permalinks, content, custom-field thumbnails, widgets and SEO output. Replaces the legacy TidalForce (Artsee) theme.
Author: The Water Treatments
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: watertreatments
Tags: blog, two-columns, right-sidebar, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* =========================================================================
   The Water Treatments — design system
   Register: technical-reference handbook (not editorial-magazine).
   Type: Bitter (slab serif, headings) + Public Sans (humanist sans, body).
   Color: committed deep water-blue identity on a true cool-white surface.
   ========================================================================= */

/* ---- Fonts (self-hosted, variable, latin) ---- */
@font-face {
  font-family: "Bitter";
  src: url(assets/fonts/bitter-var.woff2) format("woff2-variations");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url(assets/fonts/public-sans-var.woff2) format("woff2-variations");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url(assets/fonts/public-sans-italic-var.woff2) format("woff2-variations");
  font-weight: 300 800;
  font-style: italic;
  font-display: swap;
}

/* ---- Tokens ---- */
:root {
  /* Surfaces */
  --surface:    oklch(0.992 0.004 240);
  --surface-2:  oklch(0.975 0.006 242);
  --surface-3:  oklch(0.955 0.009 244);
  --surface-inset: oklch(0.945 0.010 244);

  /* Ink */
  --ink:        oklch(0.26 0.021 256);
  --ink-soft:   oklch(0.42 0.022 256);
  --ink-faint:  oklch(0.50 0.018 256);

  /* Brand — deep water blue */
  --brand:        oklch(0.49 0.118 252);
  --brand-strong: oklch(0.40 0.115 254);
  --brand-deep:   oklch(0.285 0.060 256);
  --brand-deeper: oklch(0.235 0.050 257);
  --brand-tint:   oklch(0.955 0.018 246);
  --brand-tint-2: oklch(0.925 0.030 244);
  --on-brand:     oklch(0.98 0.006 246);

  /* Support */
  --accent:     oklch(0.66 0.105 214);   /* cyan, sparing */
  --callout:    oklch(0.74 0.125 76);    /* amber, callouts */
  --callout-bg: oklch(0.965 0.035 82);

  /* Lines */
  --border:        oklch(0.905 0.008 246);
  --border-strong: oklch(0.84 0.012 248);

  /* Type */
  --font-head: "Bitter", Georgia, "Times New Roman", serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* Rhythm */
  --measure: 72ch;
  --wrap: 1200px;
  --gap: clamp(1.5rem, 3vw, 2.75rem);
  --radius-sm: 8px;
  --radius: 13px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Elevation — soft, diffused, brand-tinted (single light source, top-down) */
  --shadow-xs: 0 1px 2px oklch(0.30 0.05 256 / 0.05);
  --shadow-sm: 0 1px 2px oklch(0.30 0.05 256 / 0.05), 0 2px 6px oklch(0.30 0.05 256 / 0.05);
  --shadow-md: 0 2px 4px oklch(0.30 0.05 256 / 0.05), 0 10px 24px -6px oklch(0.30 0.06 256 / 0.12);
  --shadow-lg: 0 6px 12px -4px oklch(0.28 0.06 256 / 0.10), 0 26px 50px -12px oklch(0.26 0.07 256 / 0.22);
  /* Inset top highlight that reads as a machined edge catching light */
  --edge-light: inset 0 1px 0 oklch(1 0 0 / 0.7);
  --edge-light-dark: inset 0 1px 0 oklch(1 0 0 / 0.10);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.32, 0.72, 0, 1);
  --dur: 360ms;

  /* Z-scale */
  --z-base: 1;
  --z-sticky: 100;
  --z-dropdown: 200;
  --z-backdrop: 300;
  --z-drawer: 400;
  --z-toast: 500;
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
img { border: 0; }

a { color: var(--brand); text-decoration: none; text-underline-offset: 0.18em; }
a:hover { color: var(--brand-strong); text-decoration: underline; }

strong, b { font-weight: 700; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 3px;
}

::selection { background: var(--brand-tint-2); color: var(--brand-deeper); }

/* ---- Headings ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--brand-deeper);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.1rem); }
h3 { font-size: clamp(1.25rem, 1rem + 0.9vw, 1.55rem); }
h4 { font-size: 1.2rem; }

p { text-wrap: pretty; }

/* ---- Layout primitives ---- */
.wt-wrap { width: min(100% - 2.4rem, var(--wrap)); margin-inline: auto; }

.wt-skip {
  position: absolute; left: 8px; top: -48px;
  background: var(--brand-deep); color: var(--on-brand);
  padding: 0.6rem 1rem; border-radius: var(--radius-sm); z-index: var(--z-toast);
  transition: top 160ms var(--ease-out);
}
.wt-skip:focus { top: 8px; color: var(--on-brand); text-decoration: none; }

.wt-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gap);
  padding-block: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}
@media (min-width: 1000px) {
  .wt-layout.has-sidebar {
    grid-template-columns: minmax(0, 1fr) clamp(280px, 26%, 340px);
  }
}

/* =========================================================================
   Header
   ========================================================================= */
.wt-topbar {
  background: var(--brand-deeper);
  color: oklch(0.82 0.02 246);
  font-size: 0.82rem;
}
.wt-topbar .wt-wrap { display: flex; gap: 1rem; align-items: center; justify-content: space-between; min-height: 38px; }
.wt-topbar a { color: oklch(0.86 0.03 244); }
.wt-topbar a:hover { color: #fff; }
.wt-topbar__tag { display: inline-flex; align-items: center; gap: 0.5rem; }
.wt-topbar__tag svg { flex: none; }
.wt-topbar__links { display: flex; gap: 1.1rem; }
@media (max-width: 600px) { .wt-topbar__links { display: none; } }

.wt-header {
  position: sticky; top: 0; z-index: var(--z-sticky);
  background: var(--brand-deep);
  color: var(--on-brand);
  box-shadow: 0 1px 0 oklch(1 0 0 / 0.06);
  transition: box-shadow var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
}
.wt-header.is-stuck { box-shadow: var(--shadow-md); background: var(--brand-deeper); }
.wt-header__inner { display: flex; align-items: center; gap: 1rem; min-height: 74px; }

.wt-brand { display: inline-flex; align-items: center; gap: 0.7rem; color: #fff; }
.wt-brand:hover { color: #fff; text-decoration: none; }
.wt-brand__mark { flex: none; width: 38px; height: 38px; }
.wt-brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.wt-brand__name {
  font-family: var(--font-head); font-weight: 700; font-size: 1.28rem;
  letter-spacing: -0.015em; color: #fff;
}
.wt-brand__sub {
  font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: oklch(0.78 0.05 220); font-weight: 600;
}
.wt-brand img.wt-logo-custom { max-height: 48px; width: auto; }

/* Primary nav */
.wt-nav { margin-left: auto; }
.wt-nav ul { list-style: none; padding: 0; display: flex; gap: 0.25rem; align-items: center; }
.wt-nav a {
  display: block; padding: 0.55rem 0.85rem; border-radius: var(--radius-sm);
  color: oklch(0.92 0.02 240); font-weight: 600; font-size: 0.95rem;
  transition: background 160ms var(--ease-out), color 160ms var(--ease-out);
}
.wt-nav a:hover, .wt-nav .current-menu-item > a, .wt-nav .current_page_item > a {
  background: oklch(1 0 0 / 0.10); color: #fff; text-decoration: none;
}
.wt-nav .sub-menu {
  position: absolute; min-width: 220px; flex-direction: column; gap: 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 0.4rem; margin-top: 0.4rem;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), visibility 180ms;
  z-index: var(--z-dropdown);
}
.wt-nav li { position: relative; }
.wt-nav li:hover > .sub-menu, .wt-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.wt-nav .sub-menu a { color: var(--ink); }
.wt-nav .sub-menu a:hover { background: var(--brand-tint); color: var(--brand-strong); }

.wt-iconbtn {
  display: inline-grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid oklch(1 0 0 / 0.18); border-radius: var(--radius-sm);
  background: oklch(1 0 0 / 0.04); color: #fff; cursor: pointer;
}
.wt-iconbtn:hover { background: oklch(1 0 0 / 0.12); }
.wt-burger { display: none; }

/* Category strip */
.wt-catbar { background: var(--brand); }
.wt-catbar__scroll {
  display: flex; gap: 0.2rem; overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.wt-catbar__scroll::-webkit-scrollbar { display: none; }
.wt-catbar a {
  white-space: nowrap; padding: 0.6rem 0.9rem; color: oklch(0.96 0.02 240);
  font-size: 0.86rem; font-weight: 600; letter-spacing: 0.01em;
  border-bottom: 3px solid transparent;
}
.wt-catbar a:hover, .wt-catbar a[aria-current="page"] {
  color: #fff; text-decoration: none; border-bottom-color: oklch(0.85 0.10 210);
  background: oklch(1 0 0 / 0.07);
}

/* Search panel */
.wt-search {
  display: none; background: var(--brand-deeper);
  border-top: 1px solid oklch(1 0 0 / 0.08);
}
.wt-search.is-open { display: block; }
.wt-search form { display: flex; gap: 0.6rem; padding-block: 0.9rem; }
.wt-search input[type="search"] {
  flex: 1; padding: 0.7rem 1rem; border-radius: var(--radius-sm);
  border: 1px solid oklch(1 0 0 / 0.18); background: oklch(1 0 0 / 0.06);
  color: #fff; font-size: 1rem;
}
.wt-search input::placeholder { color: oklch(0.78 0.02 240); }
.wt-search button {
  padding: 0.7rem 1.3rem; border: 0; border-radius: var(--radius-sm);
  background: var(--accent); color: var(--brand-deeper); font-weight: 700; cursor: pointer;
}
.wt-search button:hover { filter: brightness(1.06); }

/* Mobile drawer */
.wt-drawer { display: none; }

@media (max-width: 980px) {
  .wt-nav { display: none; }
  .wt-burger { display: inline-grid; }
  .wt-drawer {
    position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px);
    background: var(--surface); z-index: var(--z-drawer);
    transform: translateX(100%); transition: transform var(--dur) var(--ease-out);
    box-shadow: var(--shadow-lg); padding: 1.2rem; overflow-y: auto; display: block;
  }
  .wt-drawer.is-open { transform: translateX(0); }
  .wt-drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
  .wt-drawer h3 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-faint); margin: 1.2rem 0 0.4rem; }
  .wt-drawer ul { list-style: none; padding: 0; }
  .wt-drawer a { display: block; padding: 0.6rem 0.4rem; color: var(--ink); border-bottom: 1px solid var(--border); font-weight: 600; }
  .wt-drawer a:hover { color: var(--brand); text-decoration: none; }
  .wt-drawer .wt-iconbtn { color: var(--ink); border-color: var(--border-strong); background: var(--surface-2); }
  .wt-backdrop {
    position: fixed; inset: 0; background: oklch(0.2 0.03 256 / 0.5);
    backdrop-filter: blur(2px); z-index: var(--z-backdrop); opacity: 0; visibility: hidden;
    transition: opacity var(--dur) var(--ease-out), visibility var(--dur);
  }
  .wt-backdrop.is-open { opacity: 1; visibility: visible; }
}

/* =========================================================================
   Home
   ========================================================================= */
.wt-hero {
  display: grid; gap: clamp(1rem, 3vw, 2rem); align-items: stretch;
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
}
@media (min-width: 820px) { .wt-hero { grid-template-columns: 1.55fr 1fr; } }

.wt-feature {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--brand-deep); color: #fff; min-height: 340px; display: flex;
  box-shadow: var(--shadow-md);
}
.wt-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.wt-feature__body {
  position: relative; margin-top: auto; padding: clamp(1.25rem, 3vw, 2rem);
  background: linear-gradient(to top, oklch(0.18 0.04 256 / 0.92), oklch(0.18 0.04 256 / 0.15) 70%, transparent);
  width: 100%;
}
.wt-feature__kicker {
  display: inline-block; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 700; color: oklch(0.86 0.09 210); background: oklch(1 0 0 / 0.10);
  padding: 0.25rem 0.6rem; border-radius: 999px; margin-bottom: 0.7rem;
}
.wt-feature__title { color: #fff; font-size: clamp(1.4rem, 1rem + 1.6vw, 2.1rem); }
.wt-feature__title a { color: #fff; }
.wt-feature__title a:hover { color: oklch(0.9 0.06 210); text-decoration: none; }
.wt-feature__excerpt { margin-top: 0.6rem; color: oklch(0.9 0.01 240); max-width: 54ch; }

.wt-feature-side { display: grid; gap: 1rem; align-content: start; }
.wt-mini {
  display: grid; grid-template-columns: 84px 1fr; gap: 0.9rem; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 0.7rem; transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.wt-mini:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.wt-mini__thumb { width: 84px; height: 84px; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-3); flex: none; }
.wt-mini__thumb img { width: 100%; height: 100%; object-fit: cover; }
.wt-mini h3 { font-size: 1.02rem; line-height: 1.25; }
.wt-mini .wt-mini__meta { font-size: 0.78rem; color: var(--ink-faint); margin-top: 0.2rem; }

/* Section heading */
.wt-sectionhead {
  display: flex; align-items: baseline; gap: 0.85rem; margin: clamp(2rem, 5vw, 3rem) 0 1.1rem;
  border-bottom: 2px solid var(--border-strong); padding-bottom: 0.5rem;
}
.wt-sectionhead h2 { font-size: clamp(1.3rem, 1rem + 1vw, 1.7rem); }
.wt-sectionhead .wt-sectionhead__more { margin-left: auto; font-size: 0.86rem; font-weight: 600; }

/* Tabs (progressive enhancement) */
.wt-tabs__list { display: none; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.js .wt-tabs__list { display: flex; }
.wt-tab {
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--ink-soft);
  padding: 0.5rem 1rem; border-radius: 999px; font-weight: 600; font-size: 0.9rem; cursor: pointer;
}
.wt-tab[aria-selected="true"] { background: var(--brand-deep); color: #fff; border-color: var(--brand-deep); }
.wt-tab:hover { border-color: var(--brand); color: var(--brand-strong); }
.wt-tab[aria-selected="true"]:hover { color: #fff; }
.js .wt-tabpanel[hidden] { display: none; }
.js .wt-tabs__title { display: none; }

/* Post list / grid */
.wt-postgrid { display: grid; gap: 1.1rem; }
@media (min-width: 560px) { .wt-postgrid.cols-2 { grid-template-columns: 1fr 1fr; } }

.wt-card {
  display: grid; grid-template-columns: 120px 1fr; gap: 1.1rem; align-items: start;
  padding: 1.05rem; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 160ms var(--ease-out), box-shadow 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.wt-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.wt-card__thumb { width: 120px; height: 96px; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-3); flex: none; }
.wt-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.wt-card__thumb--placeholder { display: grid; place-items: center; color: var(--accent); }
.wt-card h3 { font-size: 1.12rem; line-height: 1.25; margin-bottom: 0.3rem; }
.wt-card__meta { font-size: 0.78rem; color: var(--ink-faint); margin-bottom: 0.4rem; display: flex; gap: 0.6rem; flex-wrap: wrap; }
.wt-card__excerpt { color: var(--ink-soft); font-size: 0.95rem; }
@media (max-width: 460px) { .wt-card { grid-template-columns: 1fr; } .wt-card__thumb { width: 100%; height: 170px; } }

/* Plain ranked lists (popular/recent/random) */
.wt-list { list-style: none; padding: 0; display: grid; gap: 0.1rem; }
.wt-list li { border-bottom: 1px solid var(--border); }
.wt-list a { display: flex; gap: 0.7rem; align-items: baseline; padding: 0.7rem 0.2rem; color: var(--ink); }
.wt-list a:hover { color: var(--brand); text-decoration: none; }
.wt-list .wt-list__rank { font-family: var(--font-head); color: var(--accent); font-weight: 700; min-width: 1.6rem; }
.wt-list .wt-list__count { margin-left: auto; font-size: 0.8rem; color: var(--ink-faint); }

/* =========================================================================
   Article (single / page)
   ========================================================================= */
.wt-article { background: var(--surface); }
.wt-article__header { margin-bottom: 1.4rem; }
.wt-breadcrumb { font-size: 0.82rem; color: var(--ink-faint); margin-bottom: 0.7rem; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.wt-breadcrumb a { color: var(--ink-soft); }
.wt-breadcrumb a:hover { color: var(--brand); }
.wt-article__title { margin-bottom: 0.6rem; }
.wt-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.1rem; align-items: center; font-size: 0.86rem; color: var(--ink-faint); }
.wt-meta a { color: var(--ink-soft); font-weight: 600; }
.wt-meta a:hover { color: var(--brand); }
.wt-meta .wt-cat-pill {
  background: var(--brand-tint); color: var(--brand-strong); padding: 0.18rem 0.6rem;
  border-radius: 999px; font-size: 0.76rem; font-weight: 700;
}
.wt-meta .wt-cat-pill:hover { background: var(--brand-tint-2); text-decoration: none; }

/* Long-form prose */
.wt-prose { font-size: 1.075rem; line-height: 1.78; color: var(--ink); max-width: var(--measure); }
.wt-prose > * + * { margin-top: 1.05em; }
.wt-prose p { hyphens: none; }
.wt-prose h2 { margin-top: 1.9em; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.85rem); }
.wt-prose h3 { margin-top: 1.5em; font-size: clamp(1.2rem, 1rem + 0.6vw, 1.45rem); }
.wt-prose h4 { margin-top: 1.3em; }
.wt-prose h2, .wt-prose h3 { scroll-margin-top: 130px; }
.wt-prose a { font-weight: 600; text-decoration: underline; text-decoration-color: var(--brand-tint-2); }
.wt-prose a:hover { text-decoration-color: currentColor; }
.wt-prose ul, .wt-prose ol { padding-left: 1.4em; }
.wt-prose li + li { margin-top: 0.35em; }
.wt-prose img { border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); height: auto; }
.wt-prose figure { margin-block: 1.6em; }
.wt-prose figcaption { font-size: 0.85rem; color: var(--ink-faint); margin-top: 0.5rem; text-align: center; }
.wt-prose img.alignleft, .wt-prose .alignleft { float: left; margin: 0.3rem 1.4rem 1rem 0; }
.wt-prose img.alignright, .wt-prose .alignright { float: right; margin: 0.3rem 0 1rem 1.4rem; }
.wt-prose img.aligncenter, .wt-prose .aligncenter { margin-inline: auto; }
.wt-prose .wp-caption { max-width: 100%; height: auto; }
.wt-prose .wp-caption img { margin-bottom: 0.4rem; }

.wt-prose blockquote {
  margin-inline: 0; padding: 0.4rem 1.3rem; background: var(--brand-tint);
  border-radius: var(--radius-sm); color: var(--brand-deeper); font-size: 1.08rem;
  border-left: 4px solid var(--brand);   /* full-height accent on quote, not a card stripe */
}
.wt-prose blockquote p { margin-top: 0.6em; }

.wt-prose code, .wt-prose kbd, .wt-prose tt {
  font-family: var(--font-mono); font-size: 0.9em; background: var(--surface-inset);
  padding: 0.12em 0.4em; border-radius: 4px; border: 1px solid var(--border);
}
.wt-prose pre {
  font-family: var(--font-mono); font-size: 0.9rem; background: var(--brand-deeper); color: oklch(0.92 0.02 240);
  padding: 1.1rem 1.25rem; border-radius: var(--radius); overflow-x: auto; line-height: 1.55;
}
.wt-prose pre code { background: none; border: 0; padding: 0; color: inherit; }

/* Data tables — common in these technical posts */
.wt-prose table {
  width: 100%; border-collapse: collapse; margin-block: 1.6em; font-size: 0.95rem;
  display: block; overflow-x: auto; white-space: nowrap;
}
@media (min-width: 700px) { .wt-prose table { display: table; white-space: normal; } }
.wt-prose th, .wt-prose td { padding: 0.6rem 0.85rem; border: 1px solid var(--border); text-align: left; vertical-align: top; }
.wt-prose thead th, .wt-prose tr:first-child th { background: var(--brand-deep); color: #fff; font-family: var(--font-head); font-weight: 600; }
.wt-prose tbody tr:nth-child(even), .wt-prose tr:nth-child(even) { background: var(--surface-2); }

.wt-prose hr { border: 0; border-top: 1px solid var(--border-strong); margin-block: 2em; }

/* Page (static) gets a slightly wider measure */
.wt-page .wt-prose { max-width: 80ch; }

/* Ad slot */
.wt-ad { margin: 1.8rem 0; text-align: center; min-height: 1px; }
.wt-ad__label { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 0.4rem; }

/* Tags + share row */
.wt-tags { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; }
.wt-tags a { font-size: 0.82rem; padding: 0.28rem 0.7rem; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; color: var(--ink-soft); }
.wt-tags a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }

.wt-postnav { margin-top: 2rem; }
.wt-postnav .nav-links { display: grid; gap: 1rem; }
@media (min-width: 560px) { .wt-postnav .nav-links { grid-template-columns: 1fr 1fr; } }
.wt-postnav a {
  display: block; padding: 1rem 1.1rem; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); height: 100%;
}
.wt-postnav a:hover { border-color: var(--brand); text-decoration: none; box-shadow: var(--shadow-sm); }
.wt-postnav small { color: var(--ink-faint); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.7rem; }
.wt-postnav .nav-next { text-align: right; }
.wt-postnav strong { display: block; font-family: var(--font-head); color: var(--brand-deeper); margin-top: 0.25rem; }

/* Related */
.wt-related { margin-top: 2.5rem; }

/* =========================================================================
   Comments
   ========================================================================= */
.wt-comments { margin-top: 2.6rem; }
.wt-comments__title { padding-bottom: 0.5rem; border-bottom: 2px solid var(--border-strong); margin-bottom: 1.3rem; }
.commentlist { list-style: none; padding: 0; display: grid; gap: 1.1rem; }
.commentlist ul.children { list-style: none; padding-left: clamp(1rem, 4vw, 2.4rem); margin-top: 1.1rem; display: grid; gap: 1.1rem; }
.commentlist li.comment { border: 1px solid var(--border); border-radius: var(--radius); padding: 1.05rem 1.2rem; background: var(--surface); }
.comment-author { display: flex; align-items: center; gap: 0.7rem; font-weight: 700; color: var(--brand-deeper); }
.comment-author img.avatar { border-radius: 50%; }
.comment-author .says { display: none; }
.comment-meta { font-size: 0.78rem; color: var(--ink-faint); margin: 0.2rem 0 0.6rem; }
.comment-meta a { color: var(--ink-faint); }
.comment-body p { margin-top: 0.5em; }
.comment-awaiting-moderation { display: inline-block; font-size: 0.78rem; color: var(--callout); font-weight: 600; }
.reply { margin-top: 0.5rem; font-size: 0.85rem; }
.reply a { font-weight: 600; }

.wt-respond { margin-top: 1.8rem; padding: 1.4rem; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); }
.wt-respond h3 { margin-bottom: 0.4rem; }
.wt-respond .comment-form { display: grid; gap: 0.9rem; margin-top: 1rem; }
.wt-respond .comment-form-author, .wt-respond .comment-form-email { display: grid; }
@media (min-width: 620px) { .wt-respond .comment-form { grid-template-columns: 1fr 1fr; } .wt-respond .comment-form-comment, .wt-respond .form-submit, .wt-respond .comment-notes, .wt-respond .comment-form-cookies-consent { grid-column: 1 / -1; } }
.wt-respond label { font-weight: 600; font-size: 0.88rem; margin-bottom: 0.25rem; display: block; }
.wt-respond input[type="text"], .wt-respond input[type="email"], .wt-respond input[type="url"], .wt-respond textarea {
  width: 100%; padding: 0.65rem 0.8rem; border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  background: var(--surface); font: inherit; color: var(--ink);
}
.wt-respond textarea { min-height: 150px; resize: vertical; }
.wt-respond input:focus, .wt-respond textarea:focus { border-color: var(--brand); }
.wt-respond .comment-notes, .wt-respond .form-allowed-tags { font-size: 0.82rem; color: var(--ink-faint); }
/* Honeypot — visually hidden, off-screen, not display:none (bots fill display:none less) */
.wt-hp { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

.wt-btn {
  display: inline-flex; align-items: center; gap: 0.5rem; cursor: pointer;
  background: var(--brand); color: #fff; border: 0; border-radius: var(--radius-sm);
  padding: 0.72rem 1.4rem; font: inherit; font-weight: 700; font-size: 0.98rem;
  transition: background 160ms var(--ease-out), transform 120ms var(--ease-out);
}
.wt-btn:hover { background: var(--brand-strong); color: #fff; text-decoration: none; }
.wt-btn:active { transform: translateY(1px); }
.wt-btn--ghost { background: transparent; color: var(--brand); border: 1px solid var(--border-strong); }
.wt-btn--ghost:hover { background: var(--brand-tint); color: var(--brand-strong); border-color: var(--brand); }

/* =========================================================================
   Sidebar
   ========================================================================= */
.wt-sidebar { display: grid; gap: 1.4rem; align-content: start; }
@media (min-width: 1000px) { .wt-sidebar { position: sticky; top: 120px; } }
.wt-widget {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
}
.wt-widget__title, .wt-widget h2, .wt-widget h3 {
  font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-strong);
  font-family: var(--font-body); font-weight: 700; margin-bottom: 0.8rem; padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.wt-widget ul { list-style: none; padding: 0; }
.wt-widget li { padding: 0.35rem 0; border-bottom: 1px solid var(--border); font-size: 0.94rem; }
.wt-widget li:last-child { border-bottom: 0; }
.wt-widget a { color: var(--ink); }
.wt-widget a:hover { color: var(--brand); }
.wt-widget select, .wt-widget input { max-width: 100%; }
.wt-tagcloud { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.wt-tagcloud a, .wt-widget .tagcloud a {
  font-size: 0.82rem !important; padding: 0.25rem 0.6rem; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 999px; color: var(--ink-soft);
}
.wt-tagcloud a:hover, .wt-widget .tagcloud a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }

.wt-searchform { display: flex; gap: 0.5rem; }
.wt-searchform input[type="search"] { flex: 1; padding: 0.6rem 0.75rem; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); font: inherit; background: var(--surface); color: var(--ink); }
.wt-searchform button { padding: 0.6rem 0.9rem; border: 0; border-radius: var(--radius-sm); background: var(--brand); color: #fff; cursor: pointer; }
.wt-searchform button:hover { background: var(--brand-strong); }

/* =========================================================================
   Pagination
   ========================================================================= */
.wt-pagination { margin: 2.4rem 0 0.5rem; display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; }
.wt-pagination .page-numbers {
  display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 0.6rem;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm); color: var(--ink-soft); font-weight: 600;
}
.wt-pagination .page-numbers:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.wt-pagination .page-numbers.current { background: var(--brand-deep); color: #fff; border-color: var(--brand-deep); }
.wt-pagination .page-numbers.dots { border: 0; }

/* =========================================================================
   404 / search empty
   ========================================================================= */
.wt-notice { text-align: center; padding: clamp(2.5rem, 8vw, 5rem) 1rem; }
.wt-notice__code { font-family: var(--font-head); font-weight: 700; font-size: clamp(4rem, 14vw, 8rem); color: var(--brand-tint-2); line-height: 1; }
.wt-notice h1 { margin: 0.4rem 0 0.6rem; }
.wt-notice p { color: var(--ink-soft); max-width: 52ch; margin-inline: auto; }
.wt-notice .wt-searchform { max-width: 460px; margin: 1.6rem auto 0; }

/* =========================================================================
   Footer
   ========================================================================= */
.wt-footer { background: var(--brand-deeper); color: oklch(0.82 0.02 244); margin-top: clamp(3rem, 7vw, 5rem); }
.wt-footer__top { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); padding-block: clamp(2.4rem, 5vw, 3.6rem); }
@media (min-width: 720px) { .wt-footer__top { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.wt-footer h3 { color: #fff; font-size: 0.86rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; font-family: var(--font-body); }
.wt-footer ul { list-style: none; padding: 0; display: grid; gap: 0.5rem; }
.wt-footer a { color: oklch(0.84 0.025 244); }
.wt-footer a:hover { color: #fff; }
.wt-footer__about p { font-size: 0.95rem; line-height: 1.65; }
.wt-footer__brand { display: inline-flex; align-items: center; gap: 0.6rem; color: #fff; margin-bottom: 0.9rem; }
.wt-footer__brand .wt-brand__name { font-size: 1.15rem; }
.wt-social { display: flex; gap: 0.6rem; margin-top: 1rem; }
.wt-social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-sm); background: oklch(1 0 0 / 0.06); border: 1px solid oklch(1 0 0 / 0.10); color: #fff; }
.wt-social a:hover { background: var(--brand); border-color: var(--brand); }
.wt-footer__bar { border-top: 1px solid oklch(1 0 0 / 0.10); }
.wt-footer__bar .wt-wrap { display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; justify-content: space-between; align-items: center; padding-block: 1.1rem; font-size: 0.85rem; }
.wt-footer__bar nav { display: flex; gap: 1.1rem; flex-wrap: wrap; }

/* =========================================================================
   Motion
   ========================================================================= */
@keyframes wt-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.wt-rise { animation: wt-rise var(--dur) var(--ease-out) both; }
.wt-rise-2 { animation-delay: 70ms; }
.wt-rise-3 { animation-delay: 140ms; }

@media (prefers-reduced-motion: reduce) {
  .wt-rise, .wt-rise-2, .wt-rise-3 { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* Utilities */
.wt-visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.wt-stack > * + * { margin-top: 1rem; }
.wt-muted { color: var(--ink-faint); }
.wt-center { text-align: center; }

/* WP core alignment helpers (content) */
.alignleft { float: left; }
.alignright { float: right; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption-text { font-size: 0.85rem; color: var(--ink-faint); }
.sticky, .gallery-caption, .bypostauthor { /* required by theme review */ }

/* =========================================================================
   Premium elevation pass — editorial/reference-appropriate craft.
   Refines depth, radii, figures and interaction without changing the brand,
   the information architecture, or readability.
   ========================================================================= */

/* Whisper of paper grain — fixed, non-interactive, barely there. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}
/* Keep content above the grain layer; header/drawer/backdrop keep their own
   semantic z-index from the component layer above. */
main, .wt-footer { position: relative; z-index: 1; }

/* Tabular figures for data-dense UI (tables, ranks, counts, dates). */
.wt-prose table, .wt-list__rank, .wt-list__count, .wt-card__meta time,
.wt-meta, .wt-pagination, .comment-meta { font-variant-numeric: tabular-nums; }

/* Sticky header: refine the stuck elevation + bottom hairline. */
.wt-header.is-stuck { box-shadow: 0 1px 0 oklch(1 0 0 / 0.06), var(--shadow-md); }

/* Cards — soften from "border+shadow+white" to a machined plate. */
.wt-card {
  border-color: transparent;
  border-radius: var(--radius-lg);
  box-shadow: var(--edge-light), 0 0 0 1px oklch(0.85 0.012 248 / 0.7), var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease-soft), transform var(--dur) var(--ease-soft);
}
.wt-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--edge-light), 0 0 0 1px oklch(0.70 0.05 250 / 0.55), var(--shadow-lg);
}
.wt-card__thumb { border-radius: calc(var(--radius-lg) - 7px); }

/* Featured hero — double-bezel: machined tray + inset edge light. */
.wt-feature {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px oklch(1 0 0 / 0.10), inset 0 1px 0 oklch(1 0 0 / 0.18);
}
.wt-feature__kicker { backdrop-filter: blur(6px); }

/* Side mini cards + sidebar widgets + search box: concentric squircles. */
.wt-mini {
  border-color: transparent; border-radius: var(--radius-lg);
  box-shadow: var(--edge-light), 0 0 0 1px oklch(0.85 0.012 248 / 0.7), var(--shadow-xs);
  transition: box-shadow var(--dur) var(--ease-soft), transform var(--dur) var(--ease-soft);
}
.wt-mini:hover { transform: translateY(-2px); box-shadow: var(--edge-light), 0 0 0 1px oklch(0.70 0.05 250 / 0.5), var(--shadow-md); }
.wt-mini__thumb { border-radius: calc(var(--radius-lg) - 7px); }
.wt-widget {
  border-color: transparent; border-radius: var(--radius-lg);
  box-shadow: var(--edge-light), 0 0 0 1px oklch(0.86 0.012 248 / 0.65), var(--shadow-xs);
}
.wt-postnav a, .wt-respond, .wt-related .wt-card { border-radius: var(--radius-lg); }

/* Buttons — physical press + soft tinted shadow. */
.wt-btn {
  border-radius: 999px;
  box-shadow: var(--edge-light-dark), 0 2px 6px oklch(0.40 0.11 254 / 0.25), 0 8px 20px -6px oklch(0.40 0.11 254 / 0.35);
  transition: background var(--dur) var(--ease-soft), transform 160ms var(--ease-soft), box-shadow var(--dur) var(--ease-soft);
}
.wt-btn:hover { transform: translateY(-1px); box-shadow: var(--edge-light-dark), 0 4px 10px oklch(0.40 0.11 254 / 0.30), 0 14px 28px -8px oklch(0.40 0.11 254 / 0.42); }
.wt-btn:active { transform: translateY(1px) scale(0.985); }

/* Button-in-button trailing icon (used on marketing-style CTAs). */
.wt-btn__icon {
  display: inline-grid; place-items: center; width: 1.65rem; height: 1.65rem;
  margin: -0.4rem -0.55rem -0.4rem 0.1rem; border-radius: 999px;
  background: oklch(1 0 0 / 0.16);
  transition: transform 220ms var(--ease-soft), background 220ms var(--ease-soft);
}
.wt-btn:hover .wt-btn__icon { transform: translate(2px, -1px); background: oklch(1 0 0 / 0.26); }

/* Section heads: replace the flat 2px rule with a graded hairline + ticked accent. */
.wt-sectionhead {
  border-bottom: 0;
  position: relative;
  padding-bottom: 0.7rem;
  background-image: linear-gradient(90deg, var(--border-strong), oklch(0.90 0.01 246 / 0));
  background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat;
}
.wt-sectionhead h1, .wt-sectionhead h2 { position: relative; padding-left: 0.9rem; }
.wt-sectionhead h1::before, .wt-sectionhead h2::before {
  content: ""; position: absolute; left: 0; top: 0.18em; bottom: 0.18em; width: 4px;
  border-radius: 999px; background: linear-gradient(var(--brand), var(--accent));
}

/* Search-the-guide widget gets a touch more presence as the first sidebar item. */
.wt-sidebar > .wt-widget:first-child {
  background: linear-gradient(180deg, var(--brand-tint), var(--surface));
}

/* Pagination + tag pills: squircle + press. */
.wt-pagination .page-numbers, .wt-tags a, .wt-tagcloud a, .wt-widget .tagcloud a { border-radius: 999px; }
.wt-pagination .page-numbers { transition: transform 160ms var(--ease-soft), box-shadow 200ms var(--ease-soft), border-color 160ms var(--ease-soft), color 160ms var(--ease-soft); }
.wt-pagination .page-numbers:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.wt-pagination .page-numbers.current { box-shadow: var(--edge-light-dark), var(--shadow-sm); }

/* 404 numeral: give it depth instead of flat tint. */
.wt-notice__code { text-shadow: 0 2px 0 oklch(0.90 0.03 246), 0 14px 30px oklch(0.50 0.10 252 / 0.18); }

@media (prefers-reduced-motion: reduce) {
  .wt-card:hover, .wt-mini:hover, .wt-btn:hover, .wt-pagination .page-numbers:hover { transform: none; }
}

/* =========================================================================
   LANDING PAGE (front-page.php) — brand register, drenched hero.
   ========================================================================= */

/* Front page declutters the global category strip; topics live in the bento. */
.home .wt-catbar { display: none; }

/* ---- Hero (drenched) ---- */
.wt-lp-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(120% 90% at 80% -10%, oklch(0.42 0.10 230 / 0.9), transparent 60%),
    linear-gradient(165deg, var(--brand-deeper) 0%, oklch(0.26 0.07 252) 45%, oklch(0.30 0.09 232) 100%);
  color: oklch(0.95 0.012 240);
  padding-block: clamp(3.5rem, 9vw, 7rem) 0;
}
.wt-lp-hero__bg { position: absolute; inset: 0; z-index: -1; }
.wt-lp-orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.5; }
.wt-lp-orb--1 { width: 38vw; height: 38vw; left: -8vw; top: -10vw; background: radial-gradient(circle, oklch(0.62 0.16 220), transparent 70%); }
.wt-lp-orb--2 { width: 30vw; height: 30vw; right: -6vw; top: 18vw; background: radial-gradient(circle, oklch(0.55 0.14 280), transparent 70%); opacity: 0.4; }
.wt-lp-waves { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(120px, 22vw, 280px); }
.wt-lp-wave { opacity: 0.5; }
.wt-lp-wave--1 { fill: var(--surface); opacity: 1; }
.wt-lp-wave--2 { fill: oklch(0.96 0.02 230); opacity: 0.55; animation: wt-wave 14s ease-in-out infinite alternate; }
.wt-lp-wave--3 { fill: oklch(0.88 0.05 220); opacity: 0.30; animation: wt-wave 20s ease-in-out infinite alternate-reverse; }
@keyframes wt-wave { from { transform: translateX(-3%); } to { transform: translateX(3%); } }

.wt-lp-hero__inner { position: relative; max-width: 880px; padding-bottom: clamp(5rem, 12vw, 9rem); }
.wt-lp-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.04em; color: oklch(0.86 0.06 215); margin-bottom: 1.2rem;
}
.wt-lp-eyebrow span { width: 28px; height: 2px; background: oklch(0.7 0.12 210); border-radius: 2px; }
.wt-lp-eyebrow--dark { color: var(--brand-strong); }
.wt-lp-eyebrow--dark span { background: var(--brand); }

.wt-lp-hero__title {
  color: #fff; font-size: clamp(2.3rem, 1.3rem + 4vw, 4.4rem); line-height: 1.05;
  letter-spacing: -0.025em; max-width: 16ch; text-wrap: balance;
}
.wt-lp-hero__lead {
  margin-top: 1.3rem; font-size: clamp(1.05rem, 0.98rem + 0.5vw, 1.3rem);
  color: oklch(0.88 0.02 230); max-width: 60ch; line-height: 1.6;
}

.wt-lp-search {
  margin-top: 2rem; display: flex; align-items: center; gap: 0.5rem; position: relative;
  background: oklch(1 0 0 / 0.10); border: 1px solid oklch(1 0 0 / 0.18);
  border-radius: 999px; padding: 0.4rem 0.4rem 0.4rem 1.1rem; max-width: 640px;
  box-shadow: var(--shadow-lg), inset 0 1px 0 oklch(1 0 0 / 0.12); backdrop-filter: blur(8px);
}
.wt-lp-search__icon { color: oklch(0.85 0.03 220); flex: none; }
.wt-lp-search input {
  flex: 1; min-width: 0; background: transparent; border: 0; color: #fff;
  font: inherit; font-size: 1rem; padding: 0.5rem 0.3rem;
}
.wt-lp-search input::placeholder { color: oklch(0.78 0.02 230); }
.wt-lp-search input:focus { outline: none; }
.wt-lp-search .wt-btn { flex: none; }

.wt-lp-hero__cta { margin-top: 1.5rem; display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.wt-btn--on-dark { background: #fff; color: var(--brand-deeper); box-shadow: var(--shadow-lg); }
.wt-btn--on-dark:hover { background: oklch(0.97 0.02 230); color: var(--brand-deeper); }
.wt-btn--on-dark .wt-btn__icon { background: oklch(0.30 0.07 256 / 0.10); }
.wt-btn--on-dark:hover .wt-btn__icon { background: oklch(0.30 0.07 256 / 0.16); }
.wt-lp-textlink { color: oklch(0.88 0.04 220); font-weight: 600; }
.wt-lp-textlink:hover { color: #fff; }
.wt-lp-textlink--on-dark { color: oklch(0.88 0.04 220); }

.wt-lp-trust {
  margin-top: clamp(2rem, 5vw, 3rem); display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 5vw, 3.5rem);
  border-top: 1px solid oklch(1 0 0 / 0.14); padding-top: 1.6rem;
}
.wt-lp-trust dt { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); color: #fff; font-variant-numeric: tabular-nums; }
.wt-lp-trust dd { font-size: 0.82rem; color: oklch(0.82 0.02 230); margin-top: 0.15rem; }

/* ---- Generic landing section ---- */
.wt-lp-section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.wt-lp-sectionhead { max-width: 60ch; margin-bottom: clamp(1.6rem, 4vw, 2.6rem); }
.wt-lp-sectionhead h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.6rem); letter-spacing: -0.02em; }
.wt-lp-sectionhead p { margin-top: 0.7rem; color: var(--ink-soft); font-size: 1.05rem; }
.wt-lp-sectionhead--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }

/* ---- Topic bento ---- */
.wt-lp-bento { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); grid-auto-flow: dense; gap: clamp(0.8rem, 1.5vw, 1.1rem); }
.wt-lp-topic {
  position: relative; display: flex; flex-direction: column; gap: 0.4rem;
  padding: clamp(1.1rem, 2vw, 1.6rem); border-radius: var(--radius-lg);
  background: var(--surface); color: var(--ink); overflow: hidden;
  box-shadow: var(--edge-light), 0 0 0 1px oklch(0.86 0.012 248 / 0.7), var(--shadow-sm);
  transition: transform var(--dur) var(--ease-soft), box-shadow var(--dur) var(--ease-soft);
}
.wt-lp-topic::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0;
  background: radial-gradient(120% 120% at 100% 0%, var(--brand-tint), transparent 55%);
  transition: opacity var(--dur) var(--ease-soft); z-index: 0;
}
.wt-lp-topic > * { position: relative; z-index: 1; }
.wt-lp-topic:hover { transform: translateY(-4px); box-shadow: var(--edge-light), 0 0 0 1px oklch(0.62 0.08 250 / 0.5), var(--shadow-lg); text-decoration: none; }
.wt-lp-topic:hover::after { opacity: 1; }
.wt-lp-topic__glyph { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--brand-tint); color: var(--brand-strong); margin-bottom: 0.5rem; }
.wt-lp-topic__count { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); font-variant-numeric: tabular-nums; }
.wt-lp-topic__name { font-size: clamp(1.15rem, 1rem + 0.5vw, 1.5rem); color: var(--brand-deeper); }
.wt-lp-topic__desc { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.5; }
.wt-lp-topic__go { margin-top: auto; padding-top: 0.6rem; color: var(--brand); display: inline-flex; transition: transform var(--dur) var(--ease-soft); }
.wt-lp-topic:hover .wt-lp-topic__go { transform: translateX(4px); }
.wt-lp-topic--lg { grid-column: span 2; grid-row: span 2; }
.wt-lp-topic--lg .wt-lp-topic__name { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); }
.wt-lp-topic--lg .wt-lp-topic__desc { font-size: 1rem; max-width: 42ch; }
.wt-lp-topic--md { grid-column: span 2; }
@media (max-width: 680px) {
  .wt-lp-topic--lg, .wt-lp-topic--md { grid-column: auto; grid-row: auto; }
}

/* ---- Featured band ---- */
.wt-lp-featured-band { background: var(--surface-2); border-block: 1px solid var(--border); }
.wt-lp-feature-grid { display: grid; gap: clamp(1rem, 2.5vw, 1.6rem); }
@media (min-width: 880px) { .wt-lp-feature-grid { grid-template-columns: 1.5fr 1fr; } }
.wt-lp-lead {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 360px; border-radius: var(--radius-xl); overflow: hidden; color: #fff;
  background: var(--brand-deep); box-shadow: var(--shadow-lg);
}
.wt-lp-lead__img { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.02); transition: transform 1.2s var(--ease-soft); }
.wt-lp-lead:hover .wt-lp-lead__img { transform: scale(1.06); }
.wt-lp-lead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, oklch(0.18 0.05 256 / 0.95), oklch(0.2 0.05 256 / 0.25) 60%, oklch(0.2 0.05 256 / 0.45)); }
.wt-lp-lead__body { position: relative; z-index: 1; padding: clamp(1.3rem, 3vw, 2.2rem); display: flex; flex-direction: column; gap: 0.6rem; }
.wt-lp-tag { align-self: flex-start; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: oklch(0.7 0.13 210); color: var(--brand-deeper); padding: 0.25rem 0.7rem; border-radius: 999px; }
.wt-lp-lead__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.1rem); line-height: 1.15; color: #fff; }
.wt-lp-lead__excerpt { color: oklch(0.9 0.015 235); max-width: 50ch; }
.wt-lp-readmore { font-weight: 700; color: inherit; }
.wt-lp-lead:hover { text-decoration: none; }
.wt-lp-lead:hover .wt-lp-lead__title { color: oklch(0.92 0.05 210); }

.wt-lp-feature-side { display: grid; gap: 0.8rem; align-content: start; }
.wt-lp-mini {
  display: block; padding: 1.1rem 1.2rem; border-radius: var(--radius); background: var(--surface);
  box-shadow: var(--edge-light), 0 0 0 1px oklch(0.86 0.012 248 / 0.7), var(--shadow-xs);
  transition: transform var(--dur) var(--ease-soft), box-shadow var(--dur) var(--ease-soft);
}
.wt-lp-mini:hover { transform: translateX(4px); box-shadow: var(--edge-light), 0 0 0 1px oklch(0.62 0.08 250 / 0.5), var(--shadow-md); text-decoration: none; }
.wt-lp-mini__meta { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.25rem; }
.wt-lp-mini__title { font-family: var(--font-head); font-weight: 600; color: var(--brand-deeper); line-height: 1.25; }

/* ---- Random articles ---- */
.wt-lp-articles-band { background: var(--surface-2); border-block: 1px solid var(--border); }
.wt-lp-articles-grid { display: grid; gap: clamp(1rem, 2.4vw, 1.6rem); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.wt-lp-article-card {
  display: flex; flex-direction: column; gap: 0.9rem;
  padding: clamp(1.3rem, 3vw, 1.7rem);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--edge-light), 0 0 0 1px oklch(0.86 0.012 248 / 0.7), var(--shadow-sm);
  transition: transform var(--dur) var(--ease-soft), box-shadow var(--dur) var(--ease-soft);
}
.wt-lp-article-card:hover { transform: translateY(-4px); box-shadow: var(--edge-light), 0 0 0 1px oklch(0.62 0.08 250 / 0.5), var(--shadow-md); text-decoration: none; }
.wt-lp-article-card__meta { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.wt-lp-article-card__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.15rem, 1rem + 0.8vw, 1.45rem); line-height: 1.2; color: var(--brand-deeper); }
.wt-lp-article-card__title a { color: inherit; text-decoration: none; }
.wt-lp-article-card__title a:hover { color: var(--brand); }
.wt-lp-article-card__excerpt { color: var(--ink-soft); line-height: 1.6; }
.wt-lp-article-card__cta { margin-top: auto; font-weight: 700; color: var(--brand); }

/* ---- Authority ---- */
.wt-lp-authority { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (min-width: 820px) { .wt-lp-authority { grid-template-columns: 0.8fr 1.2fr; } }
.wt-lp-authority__media { position: relative; }
.wt-lp-authority__media img {
  width: 100%; height: auto; border-radius: var(--radius-xl); object-fit: cover;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px oklch(1 0 0 / 0.4);
}
.wt-lp-authority__media::before {
  content: ""; position: absolute; inset: auto -14px -14px auto; width: 60%; height: 60%;
  border-radius: var(--radius-xl); z-index: -1; background: linear-gradient(135deg, var(--brand-tint-2), transparent);
}
.wt-lp-authority__body h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); letter-spacing: -0.02em; margin-bottom: 0.8rem; }
.wt-lp-authority__body p { color: var(--ink-soft); max-width: 60ch; margin-bottom: 0.9rem; }
.wt-lp-authority__body .wt-btn { margin-top: 0.5rem; }

/* ---- Resources ---- */
.wt-lp-resources { display: grid; gap: clamp(1rem, 2.5vw, 1.5rem); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.wt-lp-resource {
  display: flex; flex-direction: column; gap: 0.5rem; padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: var(--radius-xl); background: var(--surface); color: var(--ink);
  box-shadow: var(--edge-light), 0 0 0 1px oklch(0.86 0.012 248 / 0.7), var(--shadow-sm);
  transition: transform var(--dur) var(--ease-soft), box-shadow var(--dur) var(--ease-soft);
}
.wt-lp-resource:hover { transform: translateY(-4px); box-shadow: var(--edge-light), 0 0 0 1px oklch(0.62 0.08 250 / 0.5), var(--shadow-lg); text-decoration: none; }
.wt-lp-resource__glyph { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px; background: var(--brand-tint); color: var(--brand-strong); margin-bottom: 0.4rem; }
.wt-lp-resource h3 { font-size: 1.3rem; color: var(--brand-deeper); }
.wt-lp-resource p { color: var(--ink-soft); }
.wt-lp-resource .wt-lp-readmore { margin-top: auto; padding-top: 0.6rem; color: var(--brand); }

/* ---- Closing CTA (drenched) ---- */
.wt-lp-cta {
  position: relative; overflow: hidden; color: #fff; margin-top: clamp(2rem, 5vw, 3rem);
  background:
    radial-gradient(100% 120% at 0% 0%, oklch(0.40 0.10 228 / 0.9), transparent 55%),
    linear-gradient(150deg, var(--brand-deep), var(--brand-deeper));
}
.wt-lp-cta__inner { text-align: center; padding-block: clamp(3.5rem, 8vw, 6rem); position: relative; z-index: 1; }
.wt-lp-cta h2 { color: #fff; font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem); letter-spacing: -0.025em; }
.wt-lp-cta p { color: oklch(0.88 0.02 230); max-width: 52ch; margin: 0.9rem auto 0; font-size: 1.08rem; }
.wt-lp-cta__actions { margin-top: 1.8rem; display: flex; gap: 1.3rem; justify-content: center; align-items: center; flex-wrap: wrap; }

/* ---- Landing reveals ---- */
[data-reveal] { opacity: 1; }
.js [data-reveal] { opacity: 0; transform: translateY(22px); filter: blur(6px); transition: opacity 0.8s var(--ease-soft), transform 0.8s var(--ease-soft), filter 0.8s var(--ease-soft); }
.js [data-reveal].wt-rise { opacity: 1; transform: none; filter: none; animation: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; filter: none; transition: none; }
  .wt-lp-wave--2, .wt-lp-wave--3, .wt-lp-lead__img { animation: none; transition: none; }
}

/* ---- Blog index header (home.php) ---- */
.wt-blog-head { background: linear-gradient(180deg, var(--brand-tint), var(--surface)); border-bottom: 1px solid var(--border); padding-block: clamp(2rem, 5vw, 3.4rem) clamp(1.4rem, 3vw, 2rem); }
.wt-blog-head__title { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); letter-spacing: -0.02em; margin: 0.5rem 0 0.5rem; }
.wt-blog-head__lead { color: var(--ink-soft); max-width: 60ch; font-size: 1.08rem; }
.wt-blog-head__topics { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.3rem; }
.wt-blog-head__topics a {
  display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.4rem 0.85rem; border-radius: 999px;
  background: var(--surface); color: var(--ink-soft); font-size: 0.86rem; font-weight: 600;
  box-shadow: var(--edge-light), 0 0 0 1px oklch(0.86 0.012 248 / 0.7), var(--shadow-xs);
  transition: transform 160ms var(--ease-soft), box-shadow 200ms var(--ease-soft), color 160ms var(--ease-soft);
}
.wt-blog-head__topics a:hover { transform: translateY(-1px); color: var(--brand-strong); box-shadow: var(--edge-light), 0 0 0 1px oklch(0.62 0.08 250 / 0.5), var(--shadow-sm); text-decoration: none; }
.wt-blog-head__topics span { font-variant-numeric: tabular-nums; color: var(--accent); font-weight: 700; }
.wt-blog-head + .wt-layout { padding-top: clamp(1.75rem, 4vw, 2.5rem); }

/* =========================================================================
   LANDING v2 — full-width, 3D + scroll motion
   ========================================================================= */
.wt-lp-wrap { width: min(100% - 3rem, 1440px); margin-inline: auto; }
/* Align the chrome to the wider landing grid on the front page only. */
.home .wt-header .wt-wrap, .home .wt-topbar .wt-wrap, .home .wt-footer__top, .home .wt-footer__bar .wt-wrap { width: min(100% - 3rem, 1440px); }

/* Scroll progress */
.wt-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%; will-change: transform;
  background: linear-gradient(90deg, var(--brand), var(--accent)); z-index: var(--z-toast);
}

/* Hero grid (full-width, 2-col) */
.wt-lp-hero { perspective: 1200px; }
.wt-lp-hero__grid { position: relative; display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-bottom: clamp(4rem, 10vw, 8rem); }
@media (min-width: 920px) { .wt-lp-hero__grid { grid-template-columns: 1.08fr 0.92fr; } }
.wt-lp-hero__content { max-width: 680px; position: relative; z-index: 2; }
.wt-lp-grid { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.7; -webkit-mask-image: linear-gradient(to bottom, #000, transparent 72%); mask-image: linear-gradient(to bottom, #000, transparent 72%); }
.wt-lp-orb { will-change: transform; }

/* Rising bubbles */
.wt-bubble {
  position: absolute; bottom: -40px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.5), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.14); opacity: 0;
  animation: wt-bubble var(--d) linear infinite; animation-delay: var(--delay);
}
@keyframes wt-bubble { 0% { transform: translateY(0) scale(0.7); opacity: 0; } 12% { opacity: 0.7; } 88% { opacity: 0.45; } 100% { transform: translateY(-92vh) scale(1.1); opacity: 0; } }

/* 3D H2O molecule */
.wt-lp-hero__visual { position: relative; z-index: 1; display: grid; place-items: center; min-height: 320px; }
.wt-lp-hero3d { width: 100%; height: 100%; min-height: inherit; }
.wt-hero3d-canvas { display: block; width: 100%; height: 100%; }
@media (max-width: 919px) { .wt-lp-hero__visual { min-height: 280px; margin-top: 1rem; } }

/* Marquee */
.wt-marquee { background: var(--brand-deeper); color: oklch(0.82 0.04 220); overflow: hidden; border-block: 1px solid oklch(1 0 0 / 0.08); }
.wt-marquee__track { display: flex; align-items: center; gap: 1.4rem; width: max-content; white-space: nowrap; padding: 0.75rem 0; animation: wt-marquee 42s linear infinite; }
.wt-marquee:hover .wt-marquee__track { animation-play-state: paused; }
.wt-marquee span { font-size: 0.92rem; font-weight: 600; }
.wt-marquee__dot { color: var(--accent); }
@keyframes wt-marquee { to { transform: translateX(-50%); } }

/* Section head centred variant */
.wt-lp-sectionhead--center { text-align: center; max-width: 64ch; margin-inline: auto; }
.wt-lp-sectionhead--center p { margin-inline: auto; }
.wt-lp-eyebrow--center { justify-content: center; }
.wt-lp-eyebrow--center span { width: 22px; }

/* Process flow */
.wt-lp-flow-band { background: linear-gradient(180deg, var(--surface), var(--surface-2)); border-block: 1px solid var(--border); }
.wt-lp-flow { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: clamp(1.4rem, 2.5vw, 2rem); grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.wt-lp-flow__line { position: absolute; top: 39px; left: 7%; right: 7%; height: 2px; background: linear-gradient(90deg, var(--brand), var(--accent)); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.5s var(--ease-soft) 0.2s; border-radius: 2px; }
.js .wt-lp-flow.wt-rise .wt-lp-flow__line { transform: scaleX(1); }
@media (max-width: 760px) { .wt-lp-flow__line { display: none; } }
.wt-lp-stage { text-align: center; position: relative; }
.wt-lp-stage__node { width: 80px; height: 80px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--brand); position: relative; z-index: 1; box-shadow: var(--edge-light), 0 0 0 1px oklch(0.82 0.02 248 / 0.8), var(--shadow-md); transition: transform var(--dur) var(--ease-soft), color var(--dur) var(--ease-soft); }
.wt-lp-stage:hover .wt-lp-stage__node { transform: translateY(-4px) scale(1.05); color: var(--brand-strong); }
.wt-lp-stage__n { font-family: var(--font-head); font-weight: 700; color: var(--accent); font-size: 0.78rem; letter-spacing: 0.12em; }
.wt-lp-stage__name { font-size: 1.05rem; margin: 0.2rem 0 0.35rem; }
.wt-lp-stage__desc { font-size: 0.86rem; color: var(--ink-soft); max-width: 24ch; margin-inline: auto; }
.js .wt-lp-flow .wt-lp-stage { opacity: 0; transform: translateY(18px); }
.js .wt-lp-flow.wt-rise .wt-lp-stage { opacity: 1; transform: none; transition: opacity 0.6s var(--ease-soft), transform 0.6s var(--ease-soft); transition-delay: calc(var(--i) * 90ms); }

/* Tilt + glare */
[data-tilt] { transform-style: preserve-3d; will-change: transform; }
.wt-glare { position: absolute; inset: 0; border-radius: inherit; opacity: 0; pointer-events: none; z-index: 3; mix-blend-mode: soft-light; transition: opacity 0.3s var(--ease-soft); }

/* Featured mini with rank */
.wt-lp-mini { display: flex; gap: 0.9rem; align-items: center; }
.wt-lp-mini__rank { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: var(--accent); font-variant-numeric: tabular-nums; min-width: 1.6em; }

/* Authority floating badge */
.wt-lp-authority__media { position: relative; }
.wt-lp-authority__badge { position: absolute; left: -14px; bottom: 24px; background: var(--surface); border-radius: 16px; padding: 0.7rem 1rem; box-shadow: var(--shadow-lg); font-size: 0.8rem; color: var(--ink-soft); z-index: 3; }
.wt-lp-authority__badge strong { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--brand); line-height: 1; }
.wt-lp-textlink--dark { color: var(--brand); }
.wt-lp-textlink--dark:hover { color: var(--brand-strong); }

/* CTA orb */
.wt-lp-cta { position: relative; overflow: hidden; }
.wt-lp-cta__orb { position: absolute; width: 55vw; height: 55vw; right: -12vw; top: -22vw; border-radius: 50%; background: radial-gradient(circle, oklch(0.52 0.14 222 / 0.55), transparent 68%); filter: blur(50px); z-index: 0; will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .wt-bubble, .wt-molecule__stage, .wt-molecule__ring, .wt-marquee__track { animation: none !important; }
  .wt-progress { display: none; }
  .js .wt-lp-flow .wt-lp-stage { opacity: 1; transform: none; }
  .wt-lp-flow__line { transform: scaleX(1); }
}

/* =========================================================================
   LANDING v2.1 — full-bleed main + cursor spotlight + scroll-scrub flow
   ========================================================================= */
/* Let the landing/blog templates run edge-to-edge; they wrap their own content. */
.wt-main-full { width: 100%; }

/* Hero cursor-following spotlight (sits under content, over the gradient). */
.wt-lp-spotlight {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(620px circle at var(--mx, 50%) var(--my, 28%), oklch(0.7 0.12 225 / 0.18), transparent 60%);
  transition: background 0.2s linear;
}

/* Process flow — driven by --flow (0–1) set on scroll, with a no-JS fallback. */
.wt-lp-flow__line { transform: scaleX(1); }
.js .wt-lp-flow__line { transform: scaleX(var(--flow, 0)); transition: transform 0.12s linear; }
.js .wt-lp-flow .wt-lp-stage { opacity: 0.3; transform: translateY(10px); transition: opacity 0.5s var(--ease-soft), transform 0.5s var(--ease-soft); }
.js .wt-lp-flow .wt-lp-stage.is-on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .wt-lp-flow .wt-lp-stage { opacity: 1; transform: none; }
  .wt-lp-flow__line, .js .wt-lp-flow__line { transform: scaleX(1); }
}

/* =========================================================================
   Hero WebGL water + AdSense placements
   ========================================================================= */
.wt-water { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.4s ease; }
.wt-water.is-live { opacity: 0.92; }
.wt-water-veil { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, var(--brand-deeper) 0%, oklch(0.22 0.05 256 / 0.55) 34%, oklch(0.22 0.05 256 / 0.10) 60%, transparent 78%); }

/* Ad units — contained, labelled, reserved height to avoid layout shift. */
.wt-ad { margin: clamp(1.4rem, 4vw, 2.4rem) auto; max-width: 970px; text-align: center;
  background: var(--surface-2); border-radius: var(--radius-lg); padding: 0.75rem 1rem 1rem;
  box-shadow: var(--edge-light), 0 0 0 1px oklch(0.88 0.01 248 / 0.6); min-height: 116px; }
.wt-ad__label { font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 0.5rem; }
.wt-ad .adsbygoogle { display: block; }
.wt-ad--in-article { background: transparent; box-shadow: none; padding: 0; margin-block: 2.2rem; max-width: none; min-height: 0; }
.wt-ad--in-article .wt-ad__label { text-align: left; }
.wt-lp-adwrap { margin-block: clamp(1rem, 3vw, 2rem); }
.wt-card-ad { margin: 0.4rem 0; }
.wt-widget .wt-ad { background: transparent; box-shadow: none; padding: 0; margin: 0; min-height: 250px; }
