/*
Theme Name: Wealth Court
Theme URI: https://thewealthcourt.com
Author: Wealth Court
Description: Custom editorial theme for The Wealth Court — global wealth, business and AI media brand. Built for n8n auto-publishing via the WordPress REST API.
Version: 1.9.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: wealthcourt
*/

:root {
  --wc-cream: #faf6ee;
  --wc-cream-2: #f0ead8;
  --wc-line: #e8dfc8;
  --wc-line-2: #c8bfa0;
  --wc-green: #1c3a2a;
  --wc-green-2: #2d5c40;
  --wc-gold: #9a7c2e;
  --wc-gold-2: #c8aa5a;
  --wc-ink: #1c3a2a;
  --wc-body: #5a6b58;
  --wc-muted: #9a8c6e;
  --wc-sage: #a8c4a2;
  --wc-paper: #f0e8d0;
  --wc-up: #22a06b;
  --wc-dn: #d94f3d;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--wc-cream);
  color: var(--wc-ink);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

.wc-wrap {
  width: 100%;
  min-height: 100vh;
}

/* ===== NAV ===== */
.wc-bar-nav {
  background: var(--wc-cream);
  border-bottom: 1px solid var(--wc-line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.wc-nav {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
}
.wc-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--wc-green);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.wc-logo span { color: var(--wc-gold); }
.wc-navlinks { display: flex; gap: 22px; font-size: 12px; font-weight: 400; color: var(--wc-body); align-items: center; }
.wc-navlinks a:hover { color: var(--wc-green); }
.wc-navlinks .nl-cta { color: var(--wc-green); font-weight: 600; border-bottom: 1px solid var(--wc-gold); padding-bottom: 1px; }

/* ===== TICKER ===== */
.wc-bar-ticker { background: var(--wc-green); }
.wc-ticker {
  max-width: 1400px;
  margin: 0 auto;
  padding: 7px 32px;
  display: flex;
  gap: 24px;
  align-items: center;
  overflow: hidden;
}
.wc-ticker .t-label { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: #ffcf4d; font-weight: 800; white-space: nowrap; }
.wc-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5a4d;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(255, 90, 77, 0.6);
  animation: wc-pulse 1.8s ease-out infinite;
}
@keyframes wc-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 90, 77, 0.55); }
  70%  { box-shadow: 0 0 0 6px rgba(255, 90, 77, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 90, 77, 0); }
}
.wc-ticker .t-divider { width: 1px; height: 12px; background: var(--wc-green-2); flex-shrink: 0; }
.wc-ticker-viewport { flex: 1; min-width: 0; overflow: hidden; }
.wc-ticker-track { display: flex; gap: 40px; align-items: center; width: max-content; animation: wc-ticker-scroll 26s linear infinite; }
.wc-ticker:hover .wc-ticker-track { animation-play-state: paused; }
@keyframes wc-ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.wc-tick-item { font-size: 11px; color: var(--wc-sage); white-space: nowrap; display: flex; gap: 5px; align-items: center; }
.wc-tick-item b { color: var(--wc-paper); font-weight: 500; }
.wc-tick-item .up { color: var(--wc-up); }
.wc-tick-item .dn { color: var(--wc-dn); }

/* ===== BREADCRUMB TRAIL ===== */
.wc-breadcrumb-wrap { background: var(--wc-cream-2); border-bottom: 1px solid var(--wc-line); }
.wc-breadcrumb { max-width: 1400px; margin: 0 auto; padding: 11px 32px; font-size: 11px; color: var(--wc-body); overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }
.wc-breadcrumb a { color: var(--wc-green); text-decoration: none; }
.wc-breadcrumb a:hover { text-decoration: underline; }
.wc-crumb-sep { color: var(--wc-gold); margin: 0 4px; font-weight: 600; }
.wc-crumb-current { color: var(--wc-body); font-weight: 500; }

/* ===== ARCHIVE (CATEGORY) PAGE TITLE ===== */
.wc-archive-title { font-family: 'Cormorant Garamond', serif; font-size: 34px; color: var(--wc-green); font-weight: 600; margin: 0 0 22px 0; padding-bottom: 16px; border-bottom: 1px solid var(--wc-line); }

/* ===== NAV HOME ===== */
.wc-nav-home {
  background: var(--wc-green);
  color: var(--wc-paper) !important;
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 12px;
  margin-right: 6px;
}
.wc-nav-home:hover { background: var(--wc-green-2); }
.wc-navitem { position: relative; display: flex; align-items: center; height: 58px; }
.wc-caret { font-size: 8px; color: var(--wc-muted); margin-left: 2px; }
.wc-dropdown {
  position: absolute;
  top: 100%;
  left: -14px;
  min-width: 190px;
  background: var(--wc-cream);
  border: 1px solid var(--wc-line);
  border-top: 2px solid var(--wc-gold);
  border-radius: 0 0 5px 5px;
  box-shadow: 0 8px 24px rgba(28, 58, 42, 0.08);
  padding: 6px 0;
  display: none;
  flex-direction: column;
  z-index: 60;
}
.wc-dropdown a {
  display: block;
  padding: 9px 16px;
  font-size: 12px;
  color: var(--wc-body);
  white-space: nowrap;
}
.wc-dropdown a:hover { background: var(--wc-cream-2); color: var(--wc-green); }
.wc-navitem:hover .wc-dropdown,
.wc-navitem:focus-within .wc-dropdown { display: flex; }

/* ===== HERO ===== */
.wc-hero {
  background: var(--wc-cream);
  padding: 52px 40px 44px;
  text-align: center;
  border-bottom: 1px solid var(--wc-line);
}
.wc-eyebrow { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wc-gold); font-weight: 600; margin-bottom: 16px; }
.wc-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  font-weight: 400;
  color: var(--wc-green);
  line-height: 1.2;
  margin: 0 0 16px;
}
.wc-h1 em { color: var(--wc-gold); font-style: italic; }
.wc-sub { font-size: 14px; font-weight: 300; color: var(--wc-body); max-width: 440px; margin: 0 auto 26px; line-height: 1.65; }
.wc-form { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.wc-form input[type="email"] {
  padding: 10px 16px;
  border: 1px solid var(--wc-line-2);
  border-radius: 4px;
  font-size: 13px;
  width: 240px;
  background: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--wc-ink);
}
.wc-form button {
  padding: 10px 22px;
  background: var(--wc-green);
  color: var(--wc-paper);
  border: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  font-family: 'Plus Jakarta Sans', sans-serif;
  cursor: pointer;
}
.wc-form button:hover { background: var(--wc-green-2); }
.wc-form-note { font-size: 11px; color: var(--wc-muted); margin-top: 10px; }

/* ===== MAIN LAYOUT ===== */
.wc-main { max-width: 1400px; margin: 0 auto; width: 100%; display: grid; grid-template-columns: 1fr 300px; }
.wc-posts { padding: 28px; border-right: 1px solid var(--wc-line); min-width: 0; }

/* ===== POST CARDS ===== */
.wc-feat-label { font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wc-gold); font-weight: 700; margin-bottom: 10px; }
.wc-feat { border-bottom: 1px solid var(--wc-line); padding-bottom: 26px; margin-bottom: 26px; }
.wc-cover {
  height: 220px;
  background: var(--wc-cream-2);
  border: 0.5px solid var(--wc-line);
  border-radius: 5px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--wc-muted);
  overflow: hidden;
}
.wc-cover img { width: 100%; height: 100%; object-fit: cover; }
.wc-tag {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 10px;
  background: #dff0e3;
  color: var(--wc-green);
}
.wc-tag.t-money { background: #fdefd8; color: #7a4f0a; }
.wc-tag.t-ai { background: #eae8f5; color: #3c3289; }
.wc-tag.t-prod { background: #e8f4f0; color: #1a5c4a; }
.wc-tag.t-econ { background: #f5ece8; color: #7a3c1a; }
.wc-tag.t-well { background: #eef5e8; color: #3c5c1a; }
.wc-post-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--wc-green);
  line-height: 1.3;
  margin: 0 0 8px;
}
.wc-post-title a:hover { color: var(--wc-gold); }
.wc-post-title.sm { font-size: 17px; margin: 5px 0 6px; }
.wc-meta { font-size: 11px; color: var(--wc-muted); margin-bottom: 10px; }
.wc-excerpt { font-size: 13px; font-weight: 300; color: var(--wc-body); line-height: 1.7; margin: 0 0 14px; }
.wc-readmore { font-size: 12px; color: var(--wc-green); font-weight: 500; border-bottom: 1px solid var(--wc-gold); padding-bottom: 1px; }
.wc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.wc-grid-item { margin-bottom: 6px; }
.wc-grid-item .wc-cover { height: 120px; margin-bottom: 10px; }

/* ===== PAGINATION ===== */
.wc-pagination { margin-top: 28px; display: flex; gap: 8px; font-size: 12px; }
.wc-pagination a, .wc-pagination span { padding: 6px 12px; border: 0.5px solid var(--wc-line-2); border-radius: 4px; color: var(--wc-body); }
.wc-pagination .current { background: var(--wc-green); color: var(--wc-paper); border-color: var(--wc-green); }

/* ===== SIDEBAR ===== */
.wc-sidebar { padding: 24px 20px; background: var(--wc-cream); }
.wc-sb-section { margin-bottom: 28px; }
.wc-sb-title {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--wc-muted);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--wc-line);
}
.wc-nl-box { background: var(--wc-green); border-radius: 6px; padding: 18px; }
.wc-nl-heading { font-family: 'Cormorant Garamond', serif; font-size: 16px; color: var(--wc-paper); margin-bottom: 6px; font-weight: 400; }
.wc-nl-sub { font-size: 12px; font-weight: 300; color: var(--wc-sage); line-height: 1.5; margin: 0 0 14px; }
.wc-nl-box input[type="email"] { width: 100%; padding: 8px 10px; border: none; border-radius: 3px; font-size: 12px; margin-bottom: 8px; font-family: 'Plus Jakarta Sans', sans-serif; }
.wc-nl-box button {
  width: 100%;
  padding: 9px;
  background: var(--wc-gold);
  color: var(--wc-green);
  border: none;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: 0.04em;
}
.wc-trend-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 0.5px solid var(--wc-line); }
.wc-trend-num { font-family: 'Cormorant Garamond', serif; font-size: 20px; color: var(--wc-line-2); min-width: 22px; line-height: 1.3; }
.wc-trend-text { font-size: 12px; font-weight: 300; color: var(--wc-ink); line-height: 1.5; }
.wc-trend-text a:hover { color: var(--wc-gold); }
.wc-aff-box { border: 1px solid var(--wc-gold-2); border-radius: 6px; padding: 14px; background: #fdf9f0; }
.wc-aff-label { font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wc-muted); margin-bottom: 8px; }
.wc-aff-name { font-family: 'Cormorant Garamond', serif; font-size: 16px; color: var(--wc-green); margin-bottom: 4px; font-weight: 600; }
.wc-aff-desc { font-size: 11px; font-weight: 300; color: var(--wc-body); line-height: 1.5; margin-bottom: 10px; }
.wc-aff-btn { display: block; text-align: center; padding: 7px; background: var(--wc-green); border-radius: 3px; font-size: 11px; font-weight: 500; color: var(--wc-paper); }

/* ===== SINGLE ARTICLE ===== */
.wc-article { max-width: 640px; }
.wc-article-header { margin-bottom: 24px; }
.wc-article .wc-post-title { font-size: 34px; line-height: 1.25; }
.wc-article-body { font-size: 15px; font-weight: 300; color: #37453a; line-height: 1.85; }
.wc-article-body h2 { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 600; color: var(--wc-green); margin: 36px 0 12px; line-height: 1.3; }
.wc-article-body h3 { font-family: 'Cormorant Garamond', serif; font-size: 21px; font-weight: 600; color: var(--wc-green); margin: 28px 0 10px; }
.wc-article-body a { color: var(--wc-gold); border-bottom: 1px solid var(--wc-gold-2); }
.wc-article-body blockquote { margin: 24px 0; padding: 14px 20px; border-left: 2px solid var(--wc-gold); background: var(--wc-cream-2); font-style: italic; color: var(--wc-green); }
.wc-article-body ul, .wc-article-body ol { padding-left: 22px; }
.wc-article-body li { margin-bottom: 6px; }
.wc-article-body img { border-radius: 5px; border: 0.5px solid var(--wc-line); }
.wc-article-body code { background: var(--wc-cream-2); padding: 1px 6px; border-radius: 3px; font-size: 13px; }
.wc-article-body table { border-collapse: collapse; width: 100%; font-size: 13px; }
.wc-article-body th, .wc-article-body td { border: 0.5px solid var(--wc-line-2); padding: 8px 10px; text-align: left; }
.wc-article-body th { background: var(--wc-cream-2); font-weight: 600; }

/* ===== IN-ARTICLE NEWSLETTER CTA ===== */
.wc-article-cta { margin: 40px 0 0; background: var(--wc-green); border-radius: 6px; padding: 26px; text-align: center; }
.wc-article-cta .wc-nl-heading { font-size: 20px; }
.wc-article-cta .wc-form { margin-top: 14px; }
.wc-article-cta .wc-form input[type="email"] { border: none; }

/* ===== PAGE HERO (generic pages) ===== */
.wc-page-hero { padding: 48px 40px 36px; text-align: center; border-bottom: 1px solid var(--wc-line); }

/* ===== FOOTER ===== */
.wc-bar-footer {
  background: var(--wc-green);
  border-top: 1px solid var(--wc-green-2);
}
.wc-footer {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.wc-footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 17px; color: var(--wc-paper); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.wc-footer-logo span { color: var(--wc-gold); }
.wc-footer-links { display: flex; gap: 18px; }
.wc-footer-links a { font-size: 11px; color: var(--wc-sage); font-weight: 300; }
.wc-footer-links a:hover { color: var(--wc-paper); }
.wc-footer-disc { font-size: 10px; font-weight: 300; color: #5a8c6a; max-width: 320px; line-height: 1.6; }

/* ===== VALUE STRIP (homepage, under hero) ===== */
.wc-value-wrap { background: var(--wc-cream-2); border-bottom: 1px solid var(--wc-line); }
.wc-value-strip { max-width: 1400px; margin: 0 auto; padding: 32px 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.wc-value-num { font-family: 'Cormorant Garamond', serif; font-size: 15px; color: var(--wc-gold); font-weight: 600; margin-bottom: 6px; }
.wc-value-title { font-size: 15px; font-weight: 600; color: var(--wc-green); margin-bottom: 6px; }
.wc-value-desc { font-size: 12px; font-weight: 300; color: var(--wc-body); line-height: 1.6; }
@media (max-width: 820px) { .wc-value-strip { grid-template-columns: 1fr; gap: 20px; } }

/* ===== TOPIC EXPLORER (homepage) ===== */
.wc-topics-wrap { background: var(--wc-cream-2); border-top: 1px solid var(--wc-line); border-bottom: 1px solid var(--wc-line); }
.wc-topics { max-width: 1400px; margin: 0 auto; padding: 44px 32px; }
.wc-topics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.wc-topic-card {
  background: var(--wc-cream);
  border: 1px solid var(--wc-line);
  border-radius: 8px;
  padding: 22px 20px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.wc-topic-card:hover { border-color: var(--wc-gold); transform: translateY(-2px); }
.wc-topic-name { font-family: 'Cormorant Garamond', serif; font-size: 21px; color: var(--wc-green); font-weight: 600; margin-bottom: 8px; }
.wc-topic-desc { font-size: 12px; font-weight: 300; color: var(--wc-body); line-height: 1.6; }
@media (max-width: 820px) { .wc-topics-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .wc-topics-grid { grid-template-columns: 1fr; } }

/* ===== BOTTOM NEWSLETTER CTA (homepage) ===== */
.wc-bottom-cta-wrap { background: var(--wc-green); }
.wc-bottom-cta { max-width: 640px; margin: 0 auto; padding: 56px 32px; text-align: center; }
.wc-bottom-cta .wc-form input[type="email"] { border: none; }

/* ===== PRODUCT PAGE ===== */
.wc-product-card { border: 1px solid var(--wc-gold-2); border-radius: 8px; background: #fdf9f0; padding: 32px; margin: 0 0 24px; }
.wc-product-name { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 600; color: var(--wc-green); margin: 0 0 8px; }
.wc-product-desc { font-size: 14px; font-weight: 300; color: var(--wc-body); line-height: 1.7; margin: 0 0 18px; }
.wc-product-features { list-style: none; padding: 0; margin: 0 0 22px; }
.wc-product-features li { font-size: 13px; color: var(--wc-body); padding: 7px 0; border-bottom: 0.5px solid var(--wc-line); }
.wc-product-features li::before { content: "◆ "; color: var(--wc-gold); font-size: 9px; }
.wc-btn-gold { display: inline-block; padding: 12px 28px; background: var(--wc-green); color: var(--wc-paper); border-radius: 4px; font-size: 13px; font-weight: 500; }
.wc-btn-gold:hover { background: var(--wc-green-2); }

/* ===== RESPONSIVE ===== */

/* ---- Tablet and below (≤820px) ---- */
@media (max-width: 820px) {
  .wc-main { grid-template-columns: 1fr; }
  .wc-posts { border-right: none; padding: 24px 20px; }
  .wc-sidebar { border-top: 1px solid var(--wc-line); }
  .wc-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .wc-navlinks { display: none; }
  .wc-nav .wc-menu-toggle { display: block; }

  .wc-nav { padding: 0 20px; }
  .wc-ticker { padding: 7px 20px; }
  .wc-breadcrumb { padding: 10px 20px; font-size: 10px; }
  .wc-hero { padding: 40px 24px 34px; }
  .wc-page-hero { padding: 38px 24px 30px; }
  .wc-h1 { font-size: 34px; }
  .wc-archive-title { font-size: 28px; margin-bottom: 18px; padding-bottom: 14px; }
  .wc-article { max-width: 100%; }
  .wc-article .wc-post-title { font-size: 30px; }
  .wc-value-strip { padding: 26px 24px; }
  .wc-topics { padding: 36px 24px; }
  .wc-footer { padding: 22px 24px; }
  .wc-product-card { padding: 26px 22px; }
}

/* ---- Phone (≤560px) ---- */
@media (max-width: 560px) {
  .wc-grid { grid-template-columns: 1fr; gap: 22px; }
  .wc-nav { padding: 0 16px; height: 54px; }
  .wc-logo { font-size: 17px; }
  .wc-ticker { padding: 7px 16px; }
  .wc-breadcrumb { padding: 9px 16px; }

  .wc-hero { padding: 32px 18px 28px; }
  .wc-page-hero { padding: 30px 18px 24px; }
  .wc-h1 { font-size: 27px; line-height: 1.22; }
  .wc-sub { font-size: 13px; }
  .wc-archive-title { font-size: 23px; }

  .wc-posts { padding: 20px 16px; }
  .wc-post-title { font-size: 21px; }
  .wc-article .wc-post-title { font-size: 25px; line-height: 1.28; }
  .wc-article-body { font-size: 15px; }
  .wc-article-body h2 { font-size: 22px; margin: 28px 0 10px; }
  .wc-article-body h3 { font-size: 18px; margin: 22px 0 8px; }
  .wc-article-cta { padding: 22px 18px; }

  .wc-cover { height: 180px; }
  .wc-feat .wc-cover { height: 200px; }

  .wc-sidebar { padding: 22px 16px; }
  .wc-value-strip { padding: 24px 18px; gap: 18px; }
  .wc-topics { padding: 30px 18px; }
  .wc-bottom-cta { padding: 40px 20px; }
  .wc-product-card { padding: 22px 18px; }
  .wc-product-name { font-size: 24px; }

  .wc-footer { padding: 22px 18px; flex-direction: column; align-items: flex-start; }
  .wc-footer-disc { max-width: 100%; }

  /* Email form stacks full-width on phone */
  .wc-form { flex-direction: column; align-items: stretch; }
  .wc-form input[type="email"] { width: 100%; }
  .wc-form button { width: 100%; }
}

/* ---- Menu toggle visibility ---- */
@media (min-width: 821px) {
  .wc-nav .wc-menu-toggle { display: none; }
}
.wc-menu-toggle { background: none; border: 0.5px solid var(--wc-line-2); border-radius: 4px; padding: 6px 12px; font-size: 13px; color: var(--wc-green); font-family: inherit; cursor: pointer; }

/* ===== MOBILE MENU (expandable accordion) ===== */
.wc-mobile-menu { display: none; background: var(--wc-cream-2); border-bottom: 1px solid var(--wc-line); padding: 8px 0; flex-direction: column; }
.wc-mobile-menu.open { display: flex; }
.wc-mobile-menu a, .wc-mm-toggle { font-size: 15px; color: var(--wc-ink); }
.wc-mm-home {
  display: inline-block;
  width: fit-content;
  background: var(--wc-green);
  color: var(--wc-paper) !important;
  padding: 7px 18px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  margin: 8px 20px 6px;
}
.wc-mm-group { border-top: 1px solid var(--wc-line); }
.wc-mm-toggle {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 14px 20px;
  font-family: inherit;
  font-weight: 500;
  color: var(--wc-green);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.wc-mm-caret { font-size: 11px; color: var(--wc-gold); transition: transform 0.2s ease; }
.wc-mm-group.open .wc-mm-caret { transform: rotate(180deg); }
.wc-mm-sub { display: none; flex-direction: column; background: var(--wc-cream); padding: 4px 0 8px; }
.wc-mm-group.open .wc-mm-sub { display: flex; }
.wc-mm-sub a { padding: 10px 20px 10px 34px; font-size: 14px; color: var(--wc-body); }
.wc-mm-sub a:active { background: var(--wc-cream-2); }
.wc-mm-top { border-top: 1px solid var(--wc-line); padding: 14px 20px; font-weight: 500; color: var(--wc-green); }
.wc-mm-cta { color: var(--wc-green); font-weight: 600; }

/* ===== WORDPRESS BLOCK CONTENT (About page etc.) — mobile taming ===== */
@media (max-width: 820px) {
  .wc-article-body .wp-block-columns,
  .entry-content .wp-block-columns { flex-wrap: wrap !important; gap: 20px !important; }
  .wc-article-body .wp-block-column,
  .entry-content .wp-block-column { flex-basis: 100% !important; }
}
@media (max-width: 560px) {
  .entry-content h1, .wc-article-body h1 { font-size: 28px !important; line-height: 1.2; }
  .entry-content h2, .wc-article-body h2 { font-size: 22px !important; }
  .entry-content h3, .wc-article-body h3 { font-size: 18px !important; }
  .entry-content .has-huge-font-size,
  .entry-content .has-xxx-large-font-size,
  .entry-content .has-xx-large-font-size { font-size: 30px !important; line-height: 1.2 !important; }
  .entry-content .has-x-large-font-size,
  .entry-content .has-large-font-size { font-size: 22px !important; line-height: 1.3 !important; }
}

/* Accessibility */
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--wc-gold); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
