/*
 * GWEC Market Intelligence — Global Styles
 * Fonts: Jost (primary, all text) + Zilla Slab (secondary/accent)
 * Heading color: #0E2629 | Body color: #555F62
 * Mirrors GWEC.net typographic specification
 */

/* ─── CSS CUSTOM PROPERTIES ─────────────────────
   Defined on :root so they resolve everywhere:
   front end, block editor, Site Editor, and inside
   wp:html pattern blocks.
─────────────────────────────────────────────────── */
:root {
  --teal:           #22b4b4;
  --teal-dark:      #1a9494;
  --teal-light:     #e6f6f6;
  --teal-mid:       #a3dede;
  --green:          #71b62e;
  --green-dark:     #5a9224;
  --green-light:    #eef6e3;
  --navy:           #005e7d;
  --navy-dark:      #004d68;
  --purple:         #bf4794;
  --slate:          #2a6e85;
  --gray:           #555F62;
  --light:          #f2fafa;
  --white:          #ffffff;
  --border:         #cceaea;
  --heading-color:  #0E2629;
  --body-color:     #555F62;

  /* Mirror as wp preset names for theme.json compatibility */
  --wp--preset--color--teal:        #22b4b4;
  --wp--preset--color--teal-dark:   #1a9494;
  --wp--preset--color--teal-light:  #e6f6f6;
  --wp--preset--color--teal-mid:    #a3dede;
  --wp--preset--color--green:       #71b62e;
  --wp--preset--color--green-dark:  #5a9224;
  --wp--preset--color--green-light: #eef6e3;
  --wp--preset--color--navy:        #005e7d;
  --wp--preset--color--navy-dark:   #004d68;
  --wp--preset--color--border:      #cceaea;
  --wp--preset--color--light:       #f2fafa;
}

/* ─── RESET & BASE ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body,
body.windindtel-theme,
.editor-styles-wrapper {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  color: #555F62;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── HEADINGS — GWEC SPEC ─────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  color: #0E2629;
  line-height: 1.15;
}

h1 {
  font-size: clamp(36px, 5vw, 56px);
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.3px;
}

h3 {
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.2;
}

h4 { font-size: 24px; line-height: 1.3; }
h5 { font-size: 20px; line-height: 1.4; }
h6 { font-size: 16px; line-height: 1.4; }

/* ─── ACCENT FONT — ZILLA SLAB ─────────────────── */
/* Apply with class .wi-accent where Rockwell-style
   slab serif treatment is needed (pull quotes, callouts) */
.wi-accent {
  font-family: 'Zilla Slab', serif;
  font-weight: 600;
}

.wi-accent-quote {
  font-family: 'Zilla Slab', serif;
  font-weight: 400;
  font-style: italic;
}

/* ─── TYPOGRAPHY UTILITIES ─────────────────────── */
.wi-display {
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.wi-section-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wp--preset--color--teal);
  margin-bottom: 12px;
  display: block;
}

.wi-section-tag--green  { color: var(--wp--preset--color--green); }
.wi-section-tag--white  { color: rgba(255,255,255,0.7); }

/* ─── BUTTONS ──────────────────────────────────── */
.wi-btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, border-color 0.2s;
  line-height: 1;
  letter-spacing: 0.02em;
}

.wi-btn:hover { transform: translateY(-1px); }

.wi-btn--primary  { background: var(--wp--preset--color--teal);  color: #ffffff !important; }
.wi-btn--primary:hover  { background: var(--wp--preset--color--teal-dark); }

.wi-btn--secondary { background: var(--wp--preset--color--green); color: #ffffff !important; }
.wi-btn--secondary:hover { background: var(--wp--preset--color--green-dark); }

.wi-btn--navy  { background: var(--wp--preset--color--navy); color: #ffffff !important; }
.wi-btn--navy:hover { background: var(--wp--preset--color--navy-dark); }

.wi-btn--outline {
  background: transparent;
  color: #0E2629 !important;
  border: 1.5px solid var(--wp--preset--color--border);
}
.wi-btn--outline:hover {
  border-color: var(--wp--preset--color--teal);
  color: var(--wp--preset--color--teal) !important;
}

.wi-btn--outline-white {
  background: transparent;
  color: #ffffff !important;
  border: 1.5px solid rgba(255,255,255,0.35);
}
.wi-btn--outline-white:hover {
  border-color: #ffffff;
  background: rgba(255,255,255,0.08);
}

.wi-btn--white {
  background: #ffffff;
  color: var(--wp--preset--color--teal-dark) !important;
}
.wi-btn--white:hover { background: #f0fafa; }

/* ─── SECTION WRAPPERS ─────────────────────────── */
.wi-section        { padding: 80px 48px; }
.wi-section--light { background: var(--wp--preset--color--light); }
.wi-section--navy  { background: var(--wp--preset--color--navy); }
.wi-section--teal  { background: var(--wp--preset--color--teal); }

/* ─── CARDS ────────────────────────────────────── */
.wi-card {
  background: #ffffff;
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 12px;
  padding: 32px;
  transition: box-shadow 0.25s, transform 0.25s;
}

.wi-card:hover {
  box-shadow: 0 8px 32px rgba(34,180,180,0.1);
  transform: translateY(-3px);
}

.wi-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}

.wi-card__icon--teal  { background: var(--wp--preset--color--teal-light); }
.wi-card__icon--green { background: var(--wp--preset--color--green-light); }

.wi-card__title {
  font-family: 'Jost', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #0E2629;
  margin-bottom: 10px;
  line-height: 1.3;
}

.wi-card__body {
  color: #555F62;
  font-size: 14px;
  line-height: 1.65;
}

.wi-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  color: var(--wp--preset--color--green);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.15s;
}
.wi-card__link:hover { gap: 10px; color: var(--wp--preset--color--green-dark); }

/* ─── STAT BLOCKS ──────────────────────────────── */
.wi-stat { text-align: center; padding: 20px; }

.wi-stat__number {
  font-family: 'Jost', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--wp--preset--color--teal);
  line-height: 1;
  margin-bottom: 6px;
}

.wi-stat__label { font-size: 13px; color: #555F62; }
.wi-stat--dark .wi-stat__label { color: rgba(255,255,255,0.5); }

/* ─── NAV ──────────────────────────────────────── */
.wi-nav {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #ffffff;
  border-bottom: 1px solid var(--wp--preset--color--border);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  gap: 32px;
}

.wi-nav__logo {
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #0E2629;
  letter-spacing: -0.3px;
  text-decoration: none;
  white-space: nowrap;
}

.wi-nav__logo span { color: var(--wp--preset--color--teal); }

.wi-nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wi-nav__links a {
  text-decoration: none;
  color: #555F62;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}

.wi-nav__links a:hover,
.wi-nav__links a.current-menu-item { color: var(--wp--preset--color--teal); }

.wi-nav__cta {
  background: var(--wp--preset--color--teal) !important;
  color: #ffffff !important;
  padding: 9px 22px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
}

.wi-nav__cta:hover { background: var(--wp--preset--color--teal-dark) !important; }

.wi-nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #0E2629;
}

/* ─── HERO ─────────────────────────────────────── */
.wi-hero {
  background: linear-gradient(135deg, #005e7d 0%, #005070 60%, #004d68 100%);
  padding: 100px 48px 80px;
  position: relative;
  overflow: hidden;
}

.wi-hero::after {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(34,180,180,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.wi-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34,180,180,0.15);
  border: 1px solid rgba(34,180,180,0.3);
  color: var(--wp--preset--color--teal-mid);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.wi-hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--wp--preset--color--teal);
  border-radius: 50%;
  animation: wi-pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes wi-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ─── PAGE HERO ────────────────────────────────── */
.wi-page-hero {
  background: linear-gradient(135deg, #005e7d 0%, #005070 60%, #004d68 100%);
  padding: 80px 48px;
  position: relative;
  overflow: hidden;
}

.wi-page-hero::after {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(34,180,180,0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* Override h1 uppercase inside dark heroes — keep uppercase per GWEC spec */
.wi-hero h1,
.wi-page-hero h1 {
  color: #ffffff;
  text-transform: uppercase;
}

.wi-hero h1 em,
.wi-page-hero h1 em {
  font-style: normal;
  color: var(--wp--preset--color--teal);
}

.wi-breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.wi-breadcrumb a { color: rgba(255,255,255,0.4); text-decoration: none; }
.wi-breadcrumb a:hover { color: var(--wp--preset--color--teal-mid); }
.wi-breadcrumb span { margin: 0 8px; }

/* ─── FOOTER ───────────────────────────────────── */
.wi-footer {
  background: var(--wp--preset--color--navy);
  padding: 64px 48px 32px;
}

.wi-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}

.wi-footer__brand-logo {
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #ffffff;
  letter-spacing: -0.3px;
  text-decoration: none;
  display: block;
  margin-bottom: 12px;
}

.wi-footer__brand-logo span { color: var(--wp--preset--color--teal); }

.wi-footer__brand-text {
  color: rgba(255,255,255,0.45);
  font-size: 14px;
  line-height: 1.7;
  font-weight: 300;
}

.wi-footer__col-title {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.wi-footer__links { list-style: none; padding: 0; margin: 0; }
.wi-footer__links li { margin-bottom: 10px; }
.wi-footer__links a {
  text-decoration: none;
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  transition: color 0.2s;
}
.wi-footer__links a:hover { color: var(--wp--preset--color--teal); }

.wi-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wi-footer__bottom p { color: rgba(255,255,255,0.25); font-size: 13px; }

/* ─── TRUST BAR ────────────────────────────────── */
.wi-trust-bar {
  background: var(--wp--preset--color--light);
  border-bottom: 1px solid var(--wp--preset--color--border);
  padding: 20px 48px;
  display: flex;
  align-items: center;
  gap: 40px;
  overflow: hidden;
}

.wi-trust-bar__label {
  font-size: 12px;
  font-weight: 600;
  color: #555F62;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.wi-trust-bar__logos { display: flex; gap: 36px; align-items: center; flex-wrap: wrap; }

.wi-trust-bar__logo {
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: #aabfc8;
}

/* ─── TESTIMONIALS ─────────────────────────────── */
.wi-testimonial {
  background: #ffffff;
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 12px;
  padding: 28px;
}

.wi-testimonial__stars {
  color: var(--wp--preset--color--green);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.wi-testimonial__quote {
  font-family: 'Zilla Slab', serif;
  font-size: 14px;
  line-height: 1.7;
  color: #555F62;
  font-style: italic;
  margin-bottom: 20px;
}

.wi-testimonial__author { display: flex; align-items: center; gap: 12px; }

.wi-testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--wp--preset--color--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--wp--preset--color--teal-dark);
  flex-shrink: 0;
}

.wi-testimonial__name { font-weight: 600; font-size: 14px; color: #0E2629; }
.wi-testimonial__role { font-size: 12px; color: #555F62; }

/* ─── CTA BANNER ───────────────────────────────── */
.wi-cta-banner {
  background: linear-gradient(135deg, var(--wp--preset--color--teal), var(--wp--preset--color--teal-dark));
  padding: 72px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.wi-cta-banner h2 {
  font-family: 'Jost', sans-serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
  text-transform: uppercase;
  max-width: 500px;
}

.wi-cta-banner__actions { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }

/* ─── NEWS CARDS ───────────────────────────────── */
.wi-news-card {
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  transition: box-shadow 0.2s;
  cursor: pointer;
}

.wi-news-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.08); }

.wi-news-card__thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--wp--preset--color--teal-light), var(--wp--preset--color--teal-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.wi-news-card__body { padding: 24px; }

.wi-news-card__tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--wp--preset--color--green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.wi-news-card__title {
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #0E2629;
  line-height: 1.4;
  margin-bottom: 10px;
}

.wi-news-card__excerpt {
  font-size: 13px;
  color: #555F62;
  line-height: 1.6;
  margin-bottom: 16px;
}

.wi-news-card__meta {
  font-size: 12px;
  color: #555F62;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wi-news-card__meta::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--wp--preset--color--green);
  flex-shrink: 0;
}

/* ─── GRIDS ─────────────────────────────────────── */
.wi-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.wi-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.wi-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1100px) {
  .wi-grid-4    { grid-template-columns: 1fr 1fr; }
  .wi-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .wi-grid-3    { grid-template-columns: 1fr 1fr; }
  .wi-grid-2    { grid-template-columns: 1fr; gap: 32px; }
  .wi-cta-banner { flex-direction: column; text-align: center; }
  .wi-cta-banner h2 { max-width: 100%; }
  .wi-nav__links  { display: none; }
  .wi-nav__toggle { display: block; }
}

@media (max-width: 640px) {
  .wi-section       { padding: 56px 20px; }
  .wi-hero          { padding: 60px 20px; }
  .wi-page-hero     { padding: 56px 20px; }
  .wi-nav           { padding: 0 20px; }
  .wi-footer        { padding: 48px 20px 24px; }
  .wi-trust-bar     { padding: 16px 20px; }
  .wi-grid-3,
  .wi-grid-4,
  .wi-grid-2        { grid-template-columns: 1fr; }
  .wi-footer__grid  { grid-template-columns: 1fr; gap: 32px; }
  .wi-cta-banner    { padding: 48px 20px; }
  .wi-footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ── HAMBURGER NAV (added mobile polish pass) ──────────────────── */
.wi-nav__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s;
    flex-shrink: 0;
}
.wi-nav__hamburger:hover { background: var(--wp--preset--color--teal-light); }
.wi-nav__hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #0E2629;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s, width 0.3s;
    transform-origin: center;
}
.wi-nav__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.wi-nav__hamburger.is-open span:nth-child(2) { opacity: 0; width: 0; }
.wi-nav__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
    .wi-nav__hamburger { display: flex; margin-left: auto; }
    .wi-nav__links {
        display: none;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--wp--preset--color--border);
        padding: 12px 20px 20px;
        gap: 2px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        z-index: 999;
    }
    .wi-nav__links.is-open { display: flex; }
    .wi-nav__links a {
        padding: 12px 8px;
        font-size: 15px;
        border-radius: 8px;
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    .wi-nav__links a:hover { background: var(--wp--preset--color--teal-light); }
    .wi-nav__cta { justify-content: center; margin-top: 8px; }
}

/* ── TABLE → CARD on mobile (theme) ─────────────────────────────── */
@media (max-width: 640px) {
    .wi-nav { flex-wrap: wrap; height: auto; min-height: 64px; padding: 0 20px; }

    table thead { display: none; }
    table tbody { display: flex; flex-direction: column; gap: 12px; }
    table tr {
        display: flex; flex-direction: column;
        background: #fff;
        border: 1px solid var(--wp--preset--color--border);
        border-radius: 10px;
        padding: 16px; gap: 6px;
    }
    table td {
        display: flex; justify-content: space-between;
        align-items: center; padding: 6px 0 !important;
        border-bottom: 1px solid var(--wp--preset--color--border) !important;
        font-size: 13px; gap: 12px;
    }
    table td:last-child { border-bottom: none !important; }
    table td[data-label]::before {
        content: attr(data-label);
        font-size: 11px; font-weight: 600;
        color: #555F62; text-transform: uppercase;
        letter-spacing: 0.06em; flex-shrink: 0;
    }

    /* Prevent iOS input zoom */
    input, select, textarea { font-size: 16px !important; }
}

/* ── HAMBURGER NAV (mobile polish pass) ────────────────────────── */
.wi-nav__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s;
    flex-shrink: 0;
}
.wi-nav__hamburger:hover { background: var(--wp--preset--color--teal-light); }
.wi-nav__hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #0E2629;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s, width 0.3s;
    transform-origin: center;
}
.wi-nav__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.wi-nav__hamburger.is-open span:nth-child(2) { opacity: 0; width: 0; }
.wi-nav__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
    .wi-nav { flex-wrap: wrap; height: auto; min-height: 64px; }
    .wi-nav__hamburger { display: flex; margin-left: auto; }
    .wi-nav__links {
        display: none;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: 68px; left: 0; right: 0;
        background: #fff;
        border-bottom: 1px solid var(--wp--preset--color--border);
        padding: 12px 20px 20px;
        gap: 2px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        z-index: 999;
    }
    .wi-nav__links.is-open { display: flex; }
    .wi-nav__links a {
        padding: 12px 8px; font-size: 15px;
        border-radius: 8px; min-height: 48px;
        display: flex; align-items: center;
    }
    .wi-nav__links a:hover { background: var(--wp--preset--color--teal-light); }
    .wi-nav__cta { justify-content: center; margin-top: 8px; }
}

@media (max-width: 640px) {
    /* Prevent iOS input zoom */
    input, select, textarea { font-size: 16px !important; }

    /* Table → card layout */
    table thead { display: none; }
    table tbody { display: flex; flex-direction: column; gap: 12px; }
    table tr {
        display: flex; flex-direction: column;
        background: #fff;
        border: 1px solid var(--wp--preset--color--border);
        border-radius: 10px; padding: 16px; gap: 6px;
    }
    table td {
        display: flex; justify-content: space-between;
        align-items: center; padding: 6px 0 !important;
        border-bottom: 1px solid var(--wp--preset--color--border) !important;
        font-size: 13px; gap: 12px;
    }
    table td:last-child { border-bottom: none !important; }
    table td[data-label]::before {
        content: attr(data-label);
        font-size: 11px; font-weight: 600;
        color: #555F62; text-transform: uppercase;
        letter-spacing: 0.06em; flex-shrink: 0;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   MOBILE & TABLET POLISH — added pass
═══════════════════════════════════════════════════════════════════ */

/* Touch targets */
.wi-nav__links a,
.wi-btn, button { min-height: 44px; }

/* Hamburger */
.wi-nav__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s;
    margin-left: auto;
    flex-shrink: 0;
}
.wi-nav__hamburger:hover { background: var(--wp--preset--color--teal-light); }
.wi-nav__hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #0E2629;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s, width 0.3s;
    transform-origin: center;
}
.wi-nav__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.wi-nav__hamburger.is-open span:nth-child(2) { opacity: 0; width: 0; }
.wi-nav__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
    .wi-nav__hamburger { display: flex; }
    .wi-nav__links {
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        padding: 12px 0 20px;
        border-top: 1px solid var(--wp--preset--color--border);
        margin-top: 8px;
        gap: 2px;
    }
    .wi-nav__links.is-open { display: flex; }
    .wi-nav__links a { min-height: 48px; padding: 12px 8px; border-radius: 8px; width: 100%; }
    .wi-nav__links a:hover { background: var(--wp--preset--color--teal-light); }
    .wi-nav__cta { justify-content: center; margin-top: 8px; }
    .wi-nav { flex-wrap: wrap; height: auto; min-height: 64px; }
    .wi-grid-3, .wi-grid-4 { grid-template-columns: 1fr 1fr; }
    .wi-grid-2 { grid-template-columns: 1fr; gap: 32px; }
    .wi-cta-banner { flex-direction: column; text-align: center; }
    .wi-footer__grid { grid-template-columns: 1fr 1fr; }
    .wi-section, .dark-section, .light-section { padding: 64px 32px; }
    .wi-hero, .wi-page-hero { padding: 64px 32px; }
}

@media (max-width: 640px) {
    .wi-grid-3, .wi-grid-4, .wi-grid-2 { grid-template-columns: 1fr; }
    .wi-footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .wi-section, .dark-section, .light-section { padding: 48px 20px; }
    .wi-hero, .wi-page-hero { padding: 52px 20px 40px; }
    .wi-cta-banner { padding: 48px 20px; }
    .wi-footer { padding: 48px 20px 24px; }
    .wi-footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
    .wi-cta-banner__actions { flex-direction: column; width: 100%; }
    .wi-cta-banner__actions a,
    .wi-cta-banner__actions button { width: 100%; justify-content: center; }
    input, select, textarea { font-size: 16px !important; }
}

/* Table → card on mobile */
@media (max-width: 640px) {
    .wi-data-table thead { display: none; }
    .wi-data-table tbody { display: flex; flex-direction: column; gap: 12px; }
    .wi-data-table tr {
        display: flex; flex-direction: column;
        background: #fff;
        border: 1px solid var(--wp--preset--color--border);
        border-radius: 10px;
        padding: 16px; gap: 6px;
    }
    .wi-data-table td {
        display: flex; justify-content: space-between; align-items: center;
        padding: 6px 0; border-bottom: 1px solid var(--wp--preset--color--border);
        font-size: 13px;
    }
    .wi-data-table td:first-child {
        font-weight: 600; color: #0E2629; font-size: 14px;
        border-bottom: 2px solid var(--wp--preset--color--teal);
        padding-bottom: 10px; justify-content: flex-start;
    }
    .wi-data-table td:last-child { border-bottom: none; }
    .wi-data-table td[data-label]::before {
        content: attr(data-label);
        font-size: 11px; font-weight: 600;
        color: #555F62; text-transform: uppercase;
        letter-spacing: 0.06em; flex-shrink: 0;
    }
}
