=====================================================================

   MISTCULTURE DESIGN SYSTEM 1.0 — Unified Master Stylesheet

   Location: wp-content/themes/hello-elementor-child/assets/css/mistculture-ds.css

   ===================================================================== */



body { 

  background-color: #E7EEF7; 

  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  color: #374151;

  margin: 0;

  padding: 0;

}



/* =====================================================================

   1. TOKENS & CONTAINER SHELL

   ===================================================================== */

.th-root, .mc-root {

  --mc-ink: #064E3B;

  --mc-mist: #F9FAFB;

  --mc-paper: #FFFFFF;

  --mc-leaf: #3B82F6;

  --mc-line: #E5E7EB;

  --mc-text: #374151;

  --mc-text-soft: #6B7280;

  --mc-soil: #9CA3AF;

  --mc-blue: #2563EB;

  --mc-hero-bg: url('https://mistculture.com/wp-content/uploads/2026/08/Mistculture-Internal-page-Hero-Background-scaled.webp');

  --mc-font-heading: "Space Grotesk", sans-serif;

  --mc-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --mc-pad-top: 40px;

  --mc-pad-x: 32px;



  font-family: var(--mc-font-body);

  color: var(--mc-text);

  background: linear-gradient(180deg, #FFFFFF 0%, var(--mc-mist) 320px);

  border: 1px solid var(--mc-line);

  border-radius: 20px;

  max-width: 1280px;

  margin: 10px auto;

  overflow: hidden;

  position: relative;

  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 24px 56px -28px rgba(6,78,59,.22);

}



.th-root *, .mc-root * { box-sizing: border-box; }



/* Global Theme Reset for Raw Buttons */

.th-root button {

  appearance: none !important;

  -webkit-appearance: none !important;

  font-family: var(--mc-font-body) !important;

  font-size: 14px !important;

  letter-spacing: normal !important;

  text-transform: none !important;

  line-height: 1.4 !important;

  box-shadow: none;

}



/* Base Headings */

.th-root h1, .th-root h2, .th-root h3, .th-root h4,

.mc-root h1, .mc-root h2, .mc-root h3, .mc-root h4 {

  font-family: var(--mc-font-heading);

  font-weight: 650;

  margin: 0 0 10px 0;

  color: var(--mc-ink);

  letter-spacing: -.02em;

}



.th-root a, .mc-root a { text-decoration: none; color: inherit; transition: color .2s ease, transform .2s ease; }



/* SVG Icon Constraint */

.th-root svg, .mc-root svg { 

  max-width: 100%; 

  flex-shrink: 0; 

  display: inline-block;

  vertical-align: middle;

}



/* Ambient Background Glows */

.th-root::before, .th-root::after { content: ""; position: absolute; z-index: 0; pointer-events: none; border-radius: 50%; }

.th-root::before { width: 460px; height: 460px; top: -140px; right: -120px; background: radial-gradient(circle at center, rgba(59,130,246,.14), rgba(59,130,246,0) 70%); }

.th-root::after  { width: 560px; height: 560px; bottom: 120px; left: -180px;  background: radial-gradient(circle at center, rgba(37,99,235,.10), rgba(37,99,235,0) 70%); }



.th-root .th-inner { position: relative; z-index: 1; padding: var(--mc-pad-top) var(--mc-pad-x) 40px; }



/* =====================================================================

   GLOBAL HEADING SCALE & STEP CARD FIX

   ===================================================================== */



/* 1. Global Heading Scale Defaults */

.th-root h1, .mc-root h1 { font-size: 36px !important; line-height: 1.1 !important; }

.th-root h2, .mc-root h2 { font-size: 24px !important; line-height: 1.25 !important; }

.th-root h3, .mc-root h3 { font-size: 18px !important; line-height: 1.3 !important; }

.th-root h4, .mc-root h4 { font-size: 15px !important; line-height: 1.35 !important; }



/* 2. Step Cards Specific Heading & Text Refinement */

.th-step-card h3 {

  font-size: 15px !important;

  font-weight: 700 !important;

  margin: 0 0 6px 0 !important;

  color: var(--mc-ink) !important;

  line-height: 1.35 !important;

}



.th-step-card p {

  font-size: 13px !important;

  color: var(--mc-text-soft) !important;

  margin: 0 !important;

  line-height: 1.5 !important;

}









/* =====================================================================

   2. THE 3 GLOBAL BUTTON STYLES

   ===================================================================== */

.th-hero-ctas, .th-cta-buttons, .hydro-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 20px; }



/* STYLE 1: Primary Button (Semi-Dark Leaf Green) */

.th-root .th-btn,

.th-root .th-hero-btn,

.th-root .th-cta-btn,

.mc-btn-primary {

  display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important;

  background: var(--mc-leaf) !important; color: #ffffff !important; font-size: 14px !important; font-weight: 650 !important;

  text-decoration: none !important; padding: 12px 22px !important; border-radius: 12px !important; border: 1px solid transparent !important;

  cursor: pointer !important; transition: all 0.2s ease !important; box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2) !important;

  text-transform: none !important; margin: 0 !important; height: auto !important;

}

.th-root .th-btn:hover,

.th-root .th-hero-btn:hover,

.th-root .th-cta-btn:hover,

.mc-btn-primary:hover {

  background: var(--mc-ink) !important; color: #ffffff !important; border-color: var(--mc-ink) !important;

  transform: translateY(-2px) !important; box-shadow: 0 6px 18px rgba(6, 78, 59, 0.35) !important;

}



/* STYLE 2: Dark Button */

.mc-btn-dark, .th-root .mc-btn-dark {

  display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important;

  background: var(--mc-ink) !important; color: #ffffff !important; font-size: 14px !important; font-weight: 650 !important;

  text-decoration: none !important; padding: 12px 22px !important; border-radius: 12px !important; border: 1px solid transparent !important;

  cursor: pointer !important; transition: all 0.2s ease !important; box-shadow: 0 4px 12px rgba(6, 78, 59, 0.25) !important;

  text-transform: none !important; margin: 0 !important; height: auto !important;

}

.mc-btn-dark:hover, .th-root .mc-btn-dark:hover {

  background: var(--mc-leaf) !important; color: #ffffff !important; border-color: var(--mc-leaf) !important;

  transform: translateY(-2px) !important; box-shadow: 0 6px 18px rgba(59, 130, 246, 0.3) !important;

}



/* STYLE 3: Light Button / Badge Style (Used for Secondary Actions, Ghost & Options) */

.mc-btn-light, .th-btn--outline, .th-root .th-btn--outline, .th-root .th-hero-btn--ghost {

  display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important;

  background: #EFF6FF !important; color: #064E3B !important; border: 1px solid #BFDBFE !important;

  font-size: 14px !important; font-weight: 650 !important; text-decoration: none !important; padding: 12px 22px !important;

  border-radius: 12px !important; cursor: pointer !important; transition: all 0.2s ease !important;

  box-shadow: 0 2px 6px rgba(6, 78, 59, 0.04) !important; text-transform: none !important; margin: 0 !important; height: auto !important;

}

.mc-btn-light:hover, .th-btn--outline:hover, .th-root .th-btn--outline:hover, .th-root .th-hero-btn--ghost:hover {

  background: #DBEAFE !important; border-color: var(--mc-leaf) !important; color: var(--mc-ink) !important;

  transform: translateY(-2px) !important; box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15) !important;

}



/* Ghost Button on Dark Banner */

.th-root .th-cta-btn.ghost {

  background: rgba(255, 255, 255, 0.12) !important; color: #ffffff !important; border: 1px solid rgba(255, 255, 255, 0.25) !important; box-shadow: none !important;

}

.th-root .th-cta-btn.ghost:hover {

  background: #ffffff !important; color: var(--mc-ink) !important; border-color: #ffffff !important; transform: translateY(-2px) !important;

}



/* =====================================================================

   3. HERO SECTION & INFOGRAPHIC SNAPSHOT

   ===================================================================== */

.th-root .th-head { 

  position: relative; margin: calc(-1 * var(--mc-pad-top)) calc(-1 * var(--mc-pad-x)) 0; 

  padding: var(--mc-pad-top) var(--mc-pad-x) 24px; background: var(--mc-hero-bg) center 22% / cover no-repeat; 

}

.th-root .th-head::before { 

  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; 

  background: linear-gradient(180deg, rgba(255,255,255,.3) 0%, rgba(250,250,252,.6) 60%, rgba(250,250,252,.95) 100%); 

}

.th-root .th-head::after { 

  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; 

  background-image: linear-gradient(rgba(6,78,59,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(6,78,59,.03) 1px, transparent 1px); 

  background-size: 26px 26px; 

}



.th-root .th-hero { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: center; }

.th-root .th-eyebrow { display: flex; align-items: center; gap: 8px; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: #1D4ED8; font-weight: 700; margin-bottom: 10px; }

.th-root .th-dot { width: 8px; height: 8px; border-radius: 2px; background: var(--mc-leaf); box-shadow: 0 0 0 4px rgba(59,130,246,.14); flex-shrink: 0; }

.th-root .th-hero h1 { font-size: 36px; line-height: 1.1; max-width: 18ch; }

.th-root .th-sub { font-size: 14.5px; color: var(--mc-text-soft); margin: 14px 0 0; line-height: 1.6; max-width: 58ch; }



.th-root .th-hero-trust { display: flex; gap: 16px; flex-wrap: wrap; list-style: none; margin: 16px 0 0; padding: 12px 0 0; border-top: 1px solid var(--mc-line); }

.th-root .th-hero-trust li { font-size: 11px; color: var(--mc-text-soft); font-weight: 600; display: flex; align-items: center; gap: 6px; }

.th-root .th-hero-trust li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--mc-leaf); }



.th-root .th-viz {

  position: relative; overflow: hidden; background: rgba(255,255,255,.85);

  border: 1px solid rgba(255,255,255,.8); border-radius: 18px; padding: 18px;

  box-shadow: 0 14px 36px -16px rgba(6,78,59,.25); backdrop-filter: blur(14px);

}

.th-root .th-viz-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }

.th-root .th-viz-brand { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: var(--mc-ink); }

.th-root .th-viz-live { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 700; color: #1D4ED8; background: #EFF6FF; border: 1px solid #BFDBFE; padding: 3px 9px; border-radius: 999px; }

.th-root .th-viz-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--mc-leaf); display: inline-block; }

.th-root .th-viz-sub { font-size: 11px; color: var(--mc-text-soft); margin: 0 0 10px; }



.th-root .th-viz-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }

.th-root .th-viz-stat { background: #fff; border: 1px solid var(--mc-line); border-radius: 10px; padding: 8px 4px; text-align: center; }

.th-root .th-viz-stat-val { font-size: 17px; font-weight: 700; color: var(--mc-ink); }

.th-root .th-viz-stat-lbl { font-size: 9.5px; color: var(--mc-text-soft); text-transform: uppercase; font-weight: 600; margin-top: 2px; }



.th-root .th-viz-row { display: grid; grid-template-columns: 58px minmax(0,1fr) 1.2fr 28px; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px dashed var(--mc-line); }

.th-root .th-viz-lab { font-size: 10.5px; color: var(--mc-text-soft); text-transform: uppercase; font-weight: 600; }

.th-root .th-viz-val { font-size: 12px; font-weight: 700; color: var(--mc-ink); white-space: nowrap; }

.th-root .th-viz-val em { font-style: normal; font-size: 9.5px; color: var(--mc-text-soft); margin-left: 2px; }

.th-root .th-viz-track { height: 6px; border-radius: 999px; background: rgba(15,23,42,.06); overflow: hidden; }

.th-root .th-viz-fill { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--mc-leaf), var(--mc-ink)); }

.th-root .th-viz-fill--amber { background: linear-gradient(90deg, #FBBF24, #D97706); }

.th-root .th-viz-ok { font-size: 9px; font-weight: 700; color: var(--mc-ink); text-align: right; }



.th-root .th-viz-bar { height: 6px; background: #E2E8F0; border-radius: 999px; overflow: hidden; margin-bottom: 10px; }

.th-root .th-viz-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--mc-leaf), var(--mc-ink)); border-radius: 999px; }

.th-root .th-viz-quote, .th-root .th-viz-foot { font-size: 11.5px; color: var(--mc-text-soft); font-style: italic; line-height: 1.45; margin-top: 8px; }



/* =====================================================================

   4. TOOL & HUB GRID CARDS (Uniform Hub-Style Typography & Light Style)

   ===================================================================== */

.th-tool-grid { 

  display: grid; 

  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); 

  gap: 12px; 

}



/* Tool Cards use Global Light Style */

.th-tool-card, button.th-tool-card { 

  display: flex !important; gap: 10px !important; align-items: center !important; 

  background: #EFF6FF !important; border: 1px solid #BFDBFE !important; border-radius: 12px !important; 

  padding: 14px 16px !important; text-decoration: none !important; color: #064E3B !important; 

  transition: all 0.2s ease !important; cursor: pointer !important; text-align: left !important; width: 100% !important;

  box-shadow: 0 1px 3px rgba(6,78,59,.04) !important; height: auto !important; min-height: 52px !important;

}

.th-tool-card:hover, button.th-tool-card:hover { 

  background: #DBEAFE !important; border-color: var(--mc-leaf) !important; transform: translateY(-2px) !important; 

  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15) !important; 

}

.th-tool-card .th-badge, button.th-tool-card .th-badge { 

  width: 34px !important; height: 34px !important; border-radius: 8px !important; background: #FFFFFF !important; 

  display: flex !important; align-items: center !important; justify-content: center !important; flex-shrink: 0 !important; 

  border: 1px solid #BFDBFE !important;

}

.th-tool-card .th-badge svg, button.th-tool-card .th-badge svg { width: 18px !important; height: 18px !important; stroke: var(--mc-leaf) !important; fill: none !important; }



/* Clean Hub-Consistent Grid Title Typography */

.th-tool-card h3, button.th-tool-card h3 { 

  font-family: var(--mc-font-heading) !important; 

  font-size: 14px !important; 

  font-weight: 650 !important; 

  margin: 0 !important; 

  color: #064E3B !important; 

  text-transform: none !important;

  line-height: 1.35 !important;

}

.th-tool-card p, button.th-tool-card p { font-size: 12px !important; color: var(--mc-text-soft) !important; margin: 2px 0 0 0 !important; line-height: 1.35 !important; text-transform: none !important; }

.th-tool-card .th-arrow::after { content: "\2192"; margin-left: auto; color: var(--mc-leaf); font-weight: 700; }



/* SELECTED / ACTIVE OPTION STATE */

.th-tool-card[data-picked],

button.th-tool-card[data-picked] { 

  background: #DBEAFE !important; 

  border: 2px solid #3B82F6 !important; 

  color: #064E3B !important; 

  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18) !important; 

}

.th-tool-card[data-picked] h3, button.th-tool-card[data-picked] h3 { color: #064E3B !important; }

.th-tool-card[data-picked] .th-badge, button.th-tool-card[data-picked] .th-badge { background: #3B82F6 !important; border-color: #3B82F6 !important; }

.th-tool-card[data-picked] .th-badge svg, button.th-tool-card[data-picked] .th-badge svg { stroke: #FFFFFF !important; }



/* =====================================================================

   5. HYDRO DOCTOR WIDGET & STEPS

   ===================================================================== */

#hydro-steps {

  display: flex; align-items: center; list-style: none; margin: 0 0 20px 0;

  padding: 0; font-size: 12.5px; font-weight: 700; color: var(--mc-soil); flex-wrap: wrap; gap: 8px;

}

#hydro-steps li { display: flex; align-items: center; gap: 8px; }



#hydro-steps .hydro-dot {

  width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--mc-line); flex-shrink: 0;

  display: inline-flex; align-items: center; justify-content: center;

  font-size: 11.5px; font-weight: 700; color: var(--mc-soil); background: #ffffff;

  transition: all 0.2s ease;

}

#hydro-steps .hydro-dot svg {

  width: 13px !important; height: 13px !important; stroke: #ffffff !important; stroke-width: 2.5 !important; fill: none !important;

}

#hydro-steps .hydro-line { height: 2px; background: var(--mc-line); flex: 1; min-width: 16px; }



.th-results-placeholder {

  display: flex; flex-direction: column; align-items: center; justify-content: center;

  text-align: center; min-height: 200px; color: var(--mc-text-soft);

  border: 1.5px dashed var(--mc-line); border-radius: 14px; padding: 20px;

}

.th-results-placeholder svg { margin-bottom: 10px; stroke: var(--mc-leaf); opacity: 0.6; }



/* =====================================================================

   6. REDUCED & BALANCED HEADING SPACING

   ===================================================================== */

.th-root .th-section,

section.th-section { 

  margin-top: 36px !important; 

  margin-bottom: 24px !important; 

  clear: both !important;

}

.th-root .th-section-head,

div.th-section-head { 

  margin-bottom: 20px !important; 

  text-align: center !important; 

}

.th-root .th-section-head h2,

div.th-section-head h2 { 

  font-size: 24px !important; 

  margin-bottom: 8px !important; 

}

.th-root .th-section-head p,

div.th-section-head p { 

  font-size: 14.5px !important; 

  color: var(--mc-text-soft) !important; 

  margin: 0 auto !important; 

  max-width: 600px !important; 

  line-height: 1.55 !important; 

}



.th-root .th-divider,

div.th-divider { 

  display: flex !important; 

  align-items: center !important; 

  justify-content: center !important; 

  margin-top: 36px !important; 

  margin-bottom: 24px !important; 

  position: relative !important; 

  width: 100% !important; 

  clear: both !important;

}

.th-divider::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--mc-line); z-index: 0; }

.th-divider-badge { position: relative; z-index: 1; background: #EFF6FF; border: 1px solid #BFDBFE; color: var(--mc-ink); padding: 5px 16px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }



/* =====================================================================

   7. CATEGORY TREES, ZIG-ZAG BLOCKS & POST GRIDS

   ===================================================================== */

.th-hub-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 16px; }

.th-hub-cat { background: #fff; border: 1px solid var(--mc-line); border-radius: 16px; padding: 18px; box-shadow: 0 4px 15px rgba(6,78,59,.04); transition: all .25s ease; }

.th-hub-cat:hover { transform: translateY(-4px); border-color: var(--mc-leaf); box-shadow: 0 12px 24px -6px rgba(6,78,59,.12); }

.th-hub-cat-head { font-size: 15px; font-weight: 700; color: var(--mc-ink); display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--mc-line); }

.th-hub-cat-icon { width: 34px; height: 34px; border-radius: 10px; background: #EFF6FF; border: 1px solid #BFDBFE; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }

.th-hub-cat-icon svg { stroke: var(--mc-leaf); }

.th-hub-cat-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }

.th-hub-cat-list li a { font-size: 13px; color: var(--mc-text-soft); display: flex; align-items: center; gap: 6px; transition: color .2s ease; }

.th-hub-cat-list li a:hover { color: var(--mc-leaf); }



.th-hub-subcats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-top: 16px; }

.th-hub-subcat { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--mc-line); border-radius: 16px; overflow: hidden; box-shadow: 0 4px 15px rgba(6,78,59,.04); transition: all .25s ease; }

.th-hub-subcat:hover { transform: translateY(-4px); border-color: var(--mc-leaf); }

.th-hub-subcat-thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--mc-mist); }

.th-hub-subcat-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }

.th-hub-subcat:hover .th-hub-subcat-thumb img { transform: scale(1.06); }

.th-hub-subcat-title { font-size: 14px; font-weight: 700; color: var(--mc-ink); padding: 12px; text-align: center; }



.th-hub-zigzag { display: flex; flex-direction: column; gap: 24px; margin-top: 20px; }

.th-hub-zigzag-block { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; padding: 32px; border-radius: 24px; background: #fff; border: 1px solid var(--mc-line); box-shadow: 0 4px 18px rgba(6,78,59,.05); }

.th-hub-zigzag-block:nth-child(even) { background: #F8FAFC; }

.th-hub-zigzag-block--reverse .th-hub-zigzag-media { order: -1; }

.th-hub-zigzag-content h2 { font-size: 24px; margin-bottom: 12px; text-align: left;  }

.th-hub-zigzag-content p { font-size: 14px; color: var(--mc-text-soft); margin-bottom: 16px; line-height: 1.6; }

.th-hub-zigzag-media { position: relative; overflow: hidden; border-radius: 18px; aspect-ratio: 4/3; }

.th-hub-zigzag-media img { width: 100%; height: 100%; object-fit: cover; }



/* Article Grids */

.th-hub-post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }

.th-hub-small-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--mc-line); border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(6,78,59,.05); transition: all .2s ease; }

.th-hub-small-card:hover { transform: translateY(-2px); border-color: var(--mc-leaf); }

.th-hub-small-media { aspect-ratio: 16/9; overflow: hidden; background: var(--mc-mist); }

.th-hub-small-media img { width: 100%; height: 100%; object-fit: cover; }

.th-hub-small-title { font-size: 13px; font-weight: 650; color: var(--mc-ink); padding: 10px; line-height: 1.35; }



.th-hub-latest-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }

.th-hub-large-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--mc-line); border-radius: 18px; overflow: hidden; box-shadow: 0 4px 15px rgba(6,78,59,.04); transition: all .25s ease; }

.th-hub-large-card:hover { transform: translateY(-4px); border-color: var(--mc-leaf); }

.th-hub-large-media { aspect-ratio: 16/9; overflow: hidden; background: var(--mc-mist); }

.th-hub-large-media img { width: 100%; height: 100%; object-fit: cover; }

.th-hub-large-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }

.th-hub-large-title { font-size: 16px; font-weight: 650; color: var(--mc-ink); line-height: 1.35; margin-bottom: 12px; }

.th-hub-large-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--mc-text-soft); margin-top: auto; border-top: 1px dashed var(--mc-line); padding-top: 10px; }

.th-hub-large-meta svg { width: 14px !important; height: 14px !important; stroke: var(--mc-leaf); flex-shrink: 0; }



.th-hub-skel { min-height: 140px; background: #E2E8F0; border-radius: 12px; animation: mcPulse 1.5s infinite ease-in-out; }

@keyframes mcPulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }



/* =====================================================================

   8. FAQ & FOOTER BANNER

   ===================================================================== */

.th-card { background: #fff; border: 1px solid var(--mc-line); border-radius: 18px; padding: 22px; box-shadow: 0 4px 15px rgba(6,78,59,.04); }



.th-faq { background: #fff; border: 1px solid var(--mc-line); border-radius: 18px; padding: 22px; box-shadow: 0 4px 15px rgba(6,78,59,.04); }

details.th-faq-item { border-top: 1px solid var(--mc-line); padding: 12px 0; }

details.th-faq-item:first-child { border-top: none; }

details.th-faq-item summary { font-size: 14.5px; font-weight: 700; cursor: pointer; color: var(--mc-ink); list-style: none; display: flex; gap: 10px; align-items: center; }

details.th-faq-item summary::-webkit-details-marker { display: none; }

details.th-faq-item summary::before { content: "+"; color: #fff; background: var(--mc-leaf); width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }

details.th-faq-item[open] summary::before { content: "-"; background: var(--mc-ink); }

details.th-faq-item p { font-size: 13.5px; color: var(--mc-text-soft); line-height: 1.55; margin: 8px 0 0 28px; }



.th-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 16px; }

.th-step-card { background: #fff; border: 1px solid var(--mc-line); border-radius: 14px; padding: 18px; box-shadow: 0 2px 8px rgba(6,78,59,.04); }

.th-step-icon { width: 36px; height: 36px; border-radius: 10px; background: #EFF6FF; border: 1px solid #BFDBFE; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; color: var(--mc-leaf); }



.th-cta { 

  margin-top: 36px !important; padding: 32px; border-radius: 18px; background: var(--mc-ink); color: #fff; 

  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; 

}

.th-cta h3 { color: #fff; font-size: 20px; margin-bottom: 4px; }

.th-cta p { color: #BFDBFE; font-size: 13.5px; margin: 0; }



/* =====================================================================

   GLOBAL FOOTER CTA TITLE COLOR OVERRIDE

   ===================================================================== */

.th-cta h2,

.th-cta h3,

.th-cta h4,

.th-cta .th-cta-text h2,

.th-cta .th-cta-text h3 {

  color: #ffffff !important;

}



/* =====================================================================

   CTA BANNER BUTTON HOVER CONTRAST FIX

   ===================================================================== */

.th-cta .th-cta-btn:hover,

.th-cta .th-btn:hover,

.th-cta .mc-btn-primary:hover,

.th-cta .th-hero-btn:hover {

  background: #ffffff !important;

  color: var(--mc-ink, #064E3B) !important;

  border-color: #ffffff !important;

  transform: translateY(-2px) !important;

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25) !important;

}



/* =====================================================================

   9. MEDIA QUERIES (MOBILE RESPONSIVENESS)

   ===================================================================== */

@media (max-width: 960px) {

  .th-root .th-hero { grid-template-columns: 1fr; gap: 24px; }

  .th-hub-zigzag-block { grid-template-columns: 1fr; gap: 20px; padding: 24px; }

  .th-hub-zigzag-block--reverse .th-hub-zigzag-media { order: 0; }

  .th-hub-latest-grid { grid-template-columns: 1fr; }

}



@media (max-width: 640px) {

  .th-cta { flex-direction: column; text-align: center; align-items: stretch; padding: 24px 18px; }

  .th-cta-buttons, .th-hero-ctas, .hydro-actions { flex-direction: column; width: 100%; gap: 10px; }

  .th-cta-btn, .th-hero-btn, .mc-btn-dark, .mc-btn-light, .hydro-actions button { width: 100% !important; text-align: center !important; justify-content: center !important; padding: 12px 18px !important; }

  .th-hub-post-grid { grid-template-columns: 1fr; }

  .th-root .th-inner { padding: 20px 14px; }

}



/* =====================================================================

   TOOLS HUB EXTENSIONS (Updated to 3x3 Desktop Grid Layout)

   ===================================================================== */



/* Kicker & Stats Bar */

.th-kicker { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #1D4ED8; margin: 32px 0 12px; }

.th-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 28px; }

.th-stat { background: #ffffff; border: 1px solid var(--mc-line); border-radius: 12px; padding: 14px; box-shadow: 0 1px 3px rgba(6,78,59,.04); }

.th-stat b { font-family: var(--mc-font-heading); font-size: 22px; color: var(--mc-ink); display: block; line-height: 1; }

.th-stat span { font-size: 11.5px; color: var(--mc-text-soft); font-weight: 600; display: block; margin-top: 4px; }

.th-stat .th-bar { height: 4px; background: #E2E8F0; border-radius: 999px; overflow: hidden; margin-top: 8px; }

.th-stat .th-bar i { display: block; height: 100%; background: var(--mc-leaf); border-radius: 999px; }



/* Interactive Filter & Search Bar */

.th-filters { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; background: #ffffff; border: 1px solid var(--mc-line); padding: 12px 16px; border-radius: 16px; box-shadow: 0 2px 8px rgba(6,78,59,.04); }

.th-fbtns { display: flex; gap: 8px; flex-wrap: wrap; }

.th-fbtn {

  background: #EFF6FF !important; color: #064E3B !important; border: 1px solid #BFDBFE !important;

  padding: 6px 14px !important; border-radius: 8px !important; font-size: 12.5px !important; font-weight: 650 !important;

  cursor: pointer !important; transition: all 0.2s ease !important;

}

.th-fbtn:hover, .th-fbtn.is-active {

  background: var(--mc-leaf) !important; color: #ffffff !important; border-color: var(--mc-leaf) !important;

}

.th-searchwrap { position: relative; flex: 1; min-width: 220px; max-width: 320px; }

.th-searchwrap svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); stroke: var(--mc-text-soft); width: 16px; height: 16px; pointer-events: none; }

.th-search { width: 100%; padding: 8px 12px 8px 36px; border: 1px solid var(--mc-line); border-radius: 8px; font-size: 13px; font-family: var(--mc-font-body); outline: none; transition: border-color 0.2s ease; }

.th-search:focus { border-color: var(--mc-leaf); box-shadow: 0 0 0 3px rgba(59,130,246,.12); }

.th-result { font-size: 12px; color: var(--mc-text-soft); font-weight: 600; margin-bottom: 20px; }



/* 3-COLUMN DESKTOP GRID LAYOUT */

.th-grid { 

  display: grid; 

  grid-template-columns: repeat(3, 1fr); /* Enforces 3 equal columns */

  gap: 18px; 

}

.th-card { background: #ffffff; border: 1px solid var(--mc-line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 2px 8px rgba(6,78,59,.04); transition: all 0.2s ease; }

.th-card:hover { transform: translateY(-3px); border-color: var(--mc-leaf); box-shadow: 0 8px 20px -4px rgba(6,78,59,.12); }

.th-card .th-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }

.th-card .th-ico { width: 36px; height: 36px; border-radius: 10px; background: #EFF6FF; border: 1px solid #BFDBFE; display: inline-flex; align-items: center; justify-content: center; color: var(--mc-leaf); }

.th-card .th-tags { display: flex; gap: 6px; align-items: center; }

.th-card .th-badge { font-size: 10px; font-weight: 700; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: #EFF6FF; color: #1D4ED8; border: 1px solid #BFDBFE; }

.th-card .th-free { font-size: 10px; font-weight: 700; color: var(--mc-text-soft); text-transform: uppercase; }

.th-card h3 { font-size: 16px !important; margin: 0 0 6px 0 !important; color: var(--mc-ink) !important; }

.th-card .th-desc { font-size: 13px; color: var(--mc-text-soft); line-height: 1.5; margin-bottom: 14px; flex-grow: 1; }

.th-card .th-meta { font-size: 11px; font-weight: 700; color: var(--mc-soil); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; display: block; }

.th-card .th-foot { border-top: 1px dashed var(--mc-line); padding-top: 12px; display: flex; justify-content: space-between; align-items: center; }

.th-card .th-open { font-size: 13px; font-weight: 700; color: var(--mc-leaf); display: inline-flex; align-items: center; gap: 4px; text-decoration: none; }

.th-card .th-open:hover { color: var(--mc-ink); }



/* Featured Hero Card (Spans All 3 Columns) */

.th-feature { grid-column: 1 / -1; background: linear-gradient(135deg, #FFFFFF 0%, #EFF6FF 100%); border: 2px solid var(--mc-leaf); }

.th-feature-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }

.th-feature-main { display: flex; flex-direction: column; justify-content: space-between; }

.th-feature-side { background: #ffffff; border: 1px solid #BFDBFE; border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }

.th-feat-tag { font-size: 10px; font-weight: 700; text-transform: uppercase; color: #1D4ED8; background: #DBEAFE; padding: 3px 8px; border-radius: 4px; width: fit-content; }

.th-feat-stat b { font-size: 13px; color: var(--mc-ink); display: block; }

.th-feat-stat span { font-size: 12px; color: var(--mc-text-soft); }

.th-empty { display: none; text-align: center; padding: 40px; background: #ffffff; border: 1.5px dashed var(--mc-line); border-radius: 16px; color: var(--mc-text-soft); font-size: 14px; margin-top: 20px; }



/* RESPONSIVE BREAKPOINTS */

@media (max-width: 960px) {

  .th-grid { grid-template-columns: repeat(2, 1fr); } /* 2 columns on tablets */

  .th-feature-body { grid-template-columns: 1fr; }

}



@media (max-width: 640px) {

  .th-grid { grid-template-columns: 1fr; } /* 1 column on mobile */

  .th-filters { flex-direction: column; align-items: stretch; }

  .th-searchwrap { max-width: 100%; }

}



/* =====================================================================

   STRICT 3x3 GRID OVERRIDE (Forces 3 Equal Columns on Desktop)

   ===================================================================== */



.th-root .th-grid,

#th-hub #th-grid,

#th-grid {

  display: grid !important;

  grid-template-columns: repeat(3, 1fr) !important; /* Forces exactly 3 columns */

  gap: 18px !important;

}



/* Prevents card inner elements from forcing min-width expansions */

.th-root .th-grid .th-card {

  width: 100% !important;

  min-width: 0 !important; /* Crucial for CSS Grid item sizing */

}



/* Keeps Featured Card spanning all 3 columns */

.th-root .th-grid .th-feature {

  grid-column: 1 / -1 !important;

}



/* Responsive Media Queries */

@media (max-width: 960px) {

  .th-root .th-grid,

  #th-hub #th-grid {

    grid-template-columns: repeat(2, 1fr) !important; /* 2 columns on tablets */

  }

}



@media (max-width: 640px) {

  .th-root .th-grid,

  #th-hub #th-grid {

    grid-template-columns: 1fr !important; /* 1 column on mobile */

  }

}





/* Grid Layout & Card Metadata */

.th-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }

.th-card { background: #ffffff; border: 1px solid var(--mc-line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 2px 8px rgba(6,78,59,.04); transition: all 0.2s ease; }

.th-card:hover { transform: translateY(-3px); border-color: var(--mc-leaf); box-shadow: 0 8px 20px -4px rgba(6,78,59,.12); }

.th-card .th-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }

.th-card .th-ico { width: 36px; height: 36px; border-radius: 10px; background: #EFF6FF; border: 1px solid #BFDBFE; display: inline-flex; align-items: center; justify-content: center; color: var(--mc-leaf); }

.th-card .th-tags { display: flex; gap: 6px; align-items: center; }

.th-card .th-badge { font-size: 10px; font-weight: 700; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: #EFF6FF; color: #1D4ED8; border: 1px solid #BFDBFE; }

.th-card .th-free { font-size: 10px; font-weight: 700; color: var(--mc-text-soft); text-transform: uppercase; }

.th-card h3 { font-size: 16px !important; margin: 0 0 6px 0 !important; color: var(--mc-ink) !important; }

.th-card .th-desc { font-size: 13px; color: var(--mc-text-soft); line-height: 1.5; margin-bottom: 14px; flex-grow: 1; }

.th-card .th-meta { font-size: 11px; font-weight: 700; color: var(--mc-soil); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; display: block; }

.th-card .th-foot { border-top: 1px dashed var(--mc-line); padding-top: 12px; display: flex; justify-content: space-between; align-items: center; }

.th-card .th-open { font-size: 13px; font-weight: 700; color: var(--mc-leaf); display: inline-flex; align-items: center; gap: 4px; text-decoration: none; }

.th-card .th-open:hover { color: var(--mc-ink); }



/* Featured Tool Hero Card */

.th-feature { grid-column: 1 / -1; background: linear-gradient(135deg, #FFFFFF 0%, #EFF6FF 100%); border: 2px solid var(--mc-leaf); }

.th-feature-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }

.th-feature-main { display: flex; flex-direction: column; justify-content: space-between; }

.th-feature-side { background: #ffffff; border: 1px solid #BFDBFE; border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }

.th-feat-tag { font-size: 10px; font-weight: 700; text-transform: uppercase; color: #1D4ED8; background: #DBEAFE; padding: 3px 8px; border-radius: 4px; width: fit-content; }

.th-feat-stat b { font-size: 13px; color: var(--mc-ink); display: block; }

.th-feat-stat span { font-size: 12px; color: var(--mc-text-soft); }

.th-empty { display: none; text-align: center; padding: 40px; background: #ffffff; border: 1.5px dashed var(--mc-line); border-radius: 16px; color: var(--mc-text-soft); font-size: 14px; margin-top: 20px; }



@media (max-width: 768px) {

  .th-feature-body { grid-template-columns: 1fr; }

  .th-filters { flex-direction: column; align-items: stretch; }

  .th-searchwrap { max-width: 100%; }

}



/* =====================================================================

   FAQ PAGE EXTENSIONS (2-Column FAQ Layout & Hero Infographic)

   ===================================================================== */



/* 2-Column FAQ Layout Grid */

.th-faq-grid {

  display: grid;

  grid-template-columns: 1fr 1.4fr;

  gap: 32px;

  align-items: start;

  margin-top: 16px;

}

.th-faq-left {

  display: flex;

  flex-direction: column;

  gap: 16px;

}

.th-faq-left p {

  font-size: 14.5px;

  color: var(--mc-text-soft);

  line-height: 1.6;

  margin: 0;

}

.th-faq-img {

  width: 100%;

  aspect-ratio: 16/10;

  object-fit: cover;

  border-radius: 14px;

  border: 1px solid var(--mc-line);

  box-shadow: 0 4px 14px rgba(6,78,59,.08);

}



/* Glass Hero Live Infographic Widget */

.hy-hero-infograph {

  background: rgba(239, 246, 255, 0.85);

  border: 1px solid #BFDBFE;

  border-radius: 12px;

  padding: 14px;

  margin-bottom: 14px;

  display: flex;

  flex-direction: column;

  gap: 10px;

}

.hy-ig-head { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 700; color: var(--mc-ink); text-transform: uppercase; letter-spacing: .05em; }

.hy-ig-status { display: inline-flex; align-items: center; gap: 5px; background: #DBEAFE; color: #1D4ED8; padding: 2px 8px; border-radius: 99px; font-size: 10px; }

.hy-ig-status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mc-leaf); }

.hy-ig-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }

.hy-ig-stat-item { background: rgba(255,255,255,0.85); padding: 6px 4px; border-radius: 8px; border: 1px solid rgba(59, 130, 246, 0.15); }

.hy-ig-stat-val { font-size: 13px; font-weight: 700; color: var(--mc-ink); font-family: var(--mc-font-heading); }

.hy-ig-stat-lbl { font-size: 9.5px; color: var(--mc-text-soft); text-transform: uppercase; font-weight: 600; }

.hy-ig-bar-wrap { margin-top: 2px; }

.hy-ig-bar { height: 6px; background: rgba(15,23,42,.08); border-radius: 999px; overflow: hidden; display: flex; }

.hy-ig-progress { height: 100%; background: linear-gradient(90deg, var(--mc-leaf), #2563EB); width: 98.4%; border-radius: 999px; }



@media (max-width: 960px) {

  .th-faq-grid { grid-template-columns: 1fr; gap: 24px; }

}



/* =====================================================================

   FAQ ZIGZAG BLOCKS & SVG ICON FIX

   ===================================================================== */



/* =====================================================================

   FAQ PAGE LAYOUT & DYNAMIC IMAGE HEIGHT ALIGNMENT

   ===================================================================== */



/* Section Layout: Section > Heading > Two Column Grid */

.th-section h2 {

  font-size: 26px !important;

  color: var(--mc-ink) !important;

  margin-bottom: 20px !important;

  text-align: left !important;

}



/* Two Column Grid Stretching */

.th-faq-grid {

  display: grid !important;

  grid-template-columns: 1fr 1.4fr !important;

  gap: 32px !important;

  align-items: stretch !important; /* Stretches both columns to equal height */

  width: 100% !important;

}



/* Left Column Flex Container */

.th-faq-left {

  display: flex !important;

  flex-direction: column !important;

  justify-content: space-between !important;

  height: 100% !important; /* Takes full height of accordion */

  gap: 16px !important;

}



.th-faq-left p {

  font-size: 14.5px !important;

  color: var(--mc-text-soft) !important;

  line-height: 1.6 !important;

  margin: 0 !important;

}



/* Image Dynamic Height Stretching */

.th-faq-img {

  width: 100% !important;

  flex: 1 1 auto !important; /* Expands vertically to fill remaining space */

  height: 100% !important;

  min-height: 180px !important;

  object-fit: cover !important;

  border-radius: 14px !important;

  border: 1px solid var(--mc-line) !important;

  box-shadow: 0 4px 14px rgba(6, 78, 59, 0.08) !important;

}



/* Right Column Accordion Alignment */

.th-faq {

  height: 100% !important;

  display: flex !important;

  flex-direction: column !important;

  justify-content: center !important;

}



/* Responsive Media Query */

@media (max-width: 960px) {

  .th-faq-grid {

    grid-template-columns: 1fr !important;

    gap: 24px !important;

  }

  .th-faq-img {

    height: 220px !important;

    flex: initial !important;

  }

}



/* Zigzag Block Containers for FAQ Sections */

.th-hub-zigzag {

  display: flex;

  flex-direction: column;

  gap: 24px;

  margin-top: 24px;

}



.th-hub-zigzag-block {

  display: grid;

  grid-template-columns: 1fr 1.3fr;

  gap: 32px;

  align-items: start;

  padding: 32px;

  border-radius: 24px;

  background: #ffffff;

  border: 1px solid var(--mc-line);

  box-shadow: 0 4px 18px rgba(6,78,59,.05);

}



/* Alternating Background Color */

.th-hub-zigzag-block:nth-child(even) {

  background: #F8FAFC !important;

}



/* Alternating Reverse Column Order */

.th-hub-zigzag-block--reverse > :first-child { order: 2; }

.th-hub-zigzag-block--reverse > :last-child { order: 1; }



/* FAQ Column Content Formatting */

.th-faq-left {

  display: flex;

  flex-direction: column;

  gap: 16px;

}

.th-faq-left h2 {

  font-size: 24px !important;

  color: var(--mc-ink) !important;

  margin: 0 !important;

}

.th-faq-left p {

  font-size: 14px;

  color: var(--mc-text-soft);

  line-height: 1.6;

  margin: 0;

}

.th-faq-img {

  width: 100%;

  aspect-ratio: 16/10;

  object-fit: cover;

  border-radius: 14px;

  border: 1px solid var(--mc-line);

  box-shadow: 0 4px 14px rgba(6,78,59,.08);

}



/* Icon Constraint Fix (Prevents Cropping) */

.th-tool-card .th-badge {

  width: 38px !important;

  height: 38px !important;

  border-radius: 10px !important;

  background: #EFF6FF !important;

  border: 1px solid #BFDBFE !important;

  display: flex !important;

  align-items: center !important;

  justify-content: center !important;

  flex-shrink: 0 !important;

  overflow: visible !important;

}

.th-tool-card .th-badge svg {

  width: 20px !important;

  height: 20px !important;

  stroke: var(--mc-leaf) !important;

  fill: none !important;

}



/* Responsive Media Query */

@media (max-width: 960px) {

  .th-hub-zigzag-block {

    grid-template-columns: 1fr;

    padding: 24px;

    gap: 20px;

  }

  .th-hub-zigzag-block--reverse > :first-child,

  .th-hub-zigzag-block--reverse > :last-child {

    order: initial;

  }

}





/* =====================================================================

   ABOUT PAGE EXTENSIONS (Founder Split, Reliability Chart, Team & Timeline)

   ===================================================================== */



/* Founder Glass Author Sub-block */

.th-viz-author {

  display: flex;

  align-items: center;

  gap: 12px;

  margin-top: 16px;

  padding-top: 14px;

  border-top: 1px dashed var(--mc-line);

}

.th-viz-author img {

  width: 38px;

  height: 38px;

  border-radius: 50%;

  border: 1.5px solid var(--mc-leaf);

  object-fit: cover;

}

.th-viz-author strong { display: block; font-size: 13px; color: var(--mc-ink); }

.th-viz-author span { font-size: 11px; color: var(--mc-text-soft); }



/* Founder Split Section */

.th-split {

  display: grid;

  grid-template-columns: 0.85fr 1.15fr;

  gap: 36px;

  align-items: center;

}

.th-split-media img {

  width: 100%;

  height: auto;

  border-radius: 20px;

  border: 1px solid var(--mc-line);

  box-shadow: 0 12px 28px -6px rgba(6,78,59,.12);

  object-fit: cover;

}

.th-split-copy h3 { font-size: 26px !important; color: var(--mc-ink) !important; margin-bottom: 12px !important; }

.th-split-copy p { font-size: 15px; color: var(--mc-text-soft); line-height: 1.65; margin-bottom: 20px; }



/* Reliability Bar Chart */

.th-info {

  background: #ffffff;

  border: 1px solid var(--mc-line);

  border-radius: 16px;

  padding: 20px;

  box-shadow: 0 2px 8px rgba(6,78,59,.04);

}

.th-info-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--mc-ink); margin-bottom: 14px; }

.th-bar-row { margin-bottom: 12px; }

.th-bar-row:last-child { margin-bottom: 0; }

.th-bar-label { font-size: 12px; font-weight: 600; color: var(--mc-text); display: inline-block; margin-bottom: 4px; }

.th-bar-pct { font-size: 12px; font-weight: 700; color: var(--mc-ink); float: right; }

.th-bar-track { height: 8px; background: #E2E8F0; border-radius: 999px; overflow: hidden; display: block; clear: both; }

.th-bar-fill { display: block; height: 100%; border-radius: 999px; }

.th-bar-fill--norm { background: #9CA3AF; }

.th-bar-fill--mc { background: linear-gradient(90deg, var(--mc-leaf), var(--mc-ink)); }



/* Impact Metrics Grid */

.th-stats-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));

  gap: 16px;

}

.th-stat-card {

  background: #ffffff;

  border: 1px solid var(--mc-line);

  border-radius: 16px;

  padding: 20px 16px;

  text-align: center;

  box-shadow: 0 2px 8px rgba(6,78,59,.04);

  transition: transform 0.2s ease, border-color 0.2s ease;

}

.th-stat-card:hover { transform: translateY(-3px); border-color: var(--mc-leaf); }

.th-stat-val { font-family: var(--mc-font-heading); font-size: 28px; font-weight: 700; color: var(--mc-leaf); line-height: 1; }

.th-stat-lbl { font-size: 12px; font-weight: 600; color: var(--mc-text-soft); margin-top: 6px; }



/* Banner Full Image */

.th-full-img {

  width: 100%;

  max-height: 380px;

  object-fit: cover;

  border-radius: 20px;

  border: 1px solid var(--mc-line);

  box-shadow: 0 8px 24px rgba(6,78,59,.08);

}



/* Editorial Process Timeline */

.th-timeline {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

  gap: 16px;

}

.th-time-node {

  background: #ffffff;

  border: 1px solid var(--mc-line);

  border-radius: 16px;

  padding: 20px;

  box-shadow: 0 2px 8px rgba(6,78,59,.04);

}

.th-time-icon {

  width: 38px;

  height: 38px;

  border-radius: 10px;

  background: #EFF6FF;

  border: 1px solid #BFDBFE;

  display: flex;

  align-items: center;

  justify-content: center;

  color: var(--mc-leaf);

  margin-bottom: 12px;

}

.th-time-node h3 { font-size: 16px !important; color: var(--mc-ink) !important; margin-bottom: 6px !important; }

.th-time-node p { font-size: 13px; color: var(--mc-text-soft); line-height: 1.5; margin: 0; }



/* Editorial Team Grid */

.th-team-grid {

  display: grid;

  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));

  gap: 20px;

}

.th-team-card {

  background: #ffffff;

  border: 1px solid var(--mc-line);

  border-radius: 18px;

  padding: 22px;

  text-decoration: none;

  color: inherit;

  box-shadow: 0 2px 8px rgba(6,78,59,.04);

  transition: all 0.25s ease;

  display: flex;

  flex-direction: column;

}

.th-team-card:hover { transform: translateY(-4px); border-color: var(--mc-leaf); box-shadow: 0 12px 24px -6px rgba(6,78,59,.12); }

.th-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid #BFDBFE; margin-bottom: 14px; }

.th-team-card h3 { font-size: 17px !important; color: var(--mc-ink) !important; margin: 0 0 4px 0 !important; }

.th-team-role { font-size: 12px; font-weight: 700; color: var(--mc-leaf); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; display: block; }

.th-team-bio { font-size: 13px; color: var(--mc-text-soft); line-height: 1.5; margin: 0; }



/* Testimonials Grid */

.th-testi-grid {

  display: grid;

  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));

  gap: 20px;

}

.th-testi-card {

  background: #ffffff;

  border: 1px solid var(--mc-line);

  border-radius: 18px;

  padding: 22px;

  display: flex;

  flex-direction: column;

  justify-content: space-between;

  box-shadow: 0 2px 8px rgba(6,78,59,.04);

}

.th-testi-card p { font-size: 13.5px; color: var(--mc-text); line-height: 1.6; font-style: italic; margin: 0 0 16px 0; }

.th-testi-author { display: flex; align-items: center; gap: 12px; border-top: 1px dashed var(--mc-line); padding-top: 12px; }

.th-testi-author img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 1px solid var(--mc-line); }

.th-testi-author strong { font-size: 13px; color: var(--mc-ink); font-style: normal; }



@media (max-width: 960px) {

  .th-split { grid-template-columns: 1fr; gap: 24px; }

}



/* =====================================================================

   UNIFIED SCORE BARS & CENTERED H2 HEADINGS

   ===================================================================== */



/* 1. Center Align All Section H2 Headings */

.th-root h2,

.th-section h2,

.th-section-head h2 {

  text-align: center !important;

}



/* 2. Make Progress Bar Fill Color Identical Across All Fields */

.th-bar-fill,

.th-bar-fill--norm,

.th-bar-fill--mc {

  display: block !important;

  height: 100% !important;

  border-radius: 999px !important;

  background: linear-gradient(90deg, var(--mc-leaf), var(--mc-ink)) !important;

}



/* =====================================================================

   CONTACT PAGE EXTENSIONS (Contact Cards, Map & Form Container)

   ===================================================================== */



/* Contact Cards Grid */

.th-contact-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

  gap: 20px;

  margin-bottom: 24px;

}

.th-contact-card {

  background: #ffffff;

  border: 1px solid var(--mc-line);

  border-radius: 18px;

  padding: 22px;

  display: flex;

  gap: 16px;

  align-items: flex-start;

  text-decoration: none;

  color: inherit;

  box-shadow: 0 2px 8px rgba(6,78,59,.04);

  transition: all 0.25s ease;

}

.th-contact-card:hover {

  transform: translateY(-3px);

  border-color: var(--mc-leaf);

  box-shadow: 0 12px 24px -6px rgba(6,78,59,.12);

}

.th-contact-icon {

  width: 44px;

  height: 44px;

  border-radius: 12px;

  background: #EFF6FF;

  border: 1px solid #BFDBFE;

  display: flex;

  align-items: center;

  justify-content: center;

  color: var(--mc-leaf);

  flex-shrink: 0;

}

.th-contact-text h3 {

  font-size: 16px !important;

  color: var(--mc-ink) !important;

  margin: 0 0 4px 0 !important;

}

.th-contact-text p {

  font-size: 13.5px;

  color: var(--mc-text-soft);

  line-height: 1.5;

  margin: 0;

}

.th-contact-tags {

  display: flex;

  flex-wrap: wrap;

  gap: 6px;

  margin-top: 10px;

}

.th-contact-tag {

  font-size: 11px;

  font-weight: 650;

  color: var(--mc-ink);

  background: #EFF6FF;

  border: 1px solid #BFDBFE;

  padding: 3px 8px;

  border-radius: 6px;

}



/* Embedded Map Container */

.th-map {

  width: 100%;

  height: 340px;

  border-radius: 20px;

  overflow: hidden;

  border: 1px solid var(--mc-line);

  box-shadow: 0 4px 14px rgba(6,78,59,.06);

  margin-bottom: 24px;

}

.th-map iframe {

  width: 100%;

  height: 100%;

  border: 0;

}



/* Form Shell Container */

.th-form-card {

  background: #ffffff;

  border: 1px solid var(--mc-line);

  border-radius: 20px;

  padding: 28px;

  box-shadow: 0 4px 18px rgba(6,78,59,.05);

}



@media (max-width: 640px) {

  .th-form-card {

    padding: 18px;

  }

  .th-contact-card {

    flex-direction: column;

  }

}

/* =====================================================================

   BLOG PAGE EXTENSIONS (Load More Pagination Button)

   ===================================================================== */



.th-pagination-wrap {

  text-align: center;

  margin-top: 36px;

  margin-bottom: 20px;

}



.th-load-more-btn {

  display: inline-flex !important;

  align-items: center !important;

  justify-content: center !important;

  gap: 8px !important;

  background: var(--mc-leaf) !important;

  color: #ffffff !important;

  border: 1px solid var(--mc-leaf) !important;

  padding: 12px 32px !important;

  border-radius: 12px !important;

  font-weight: 700 !important;

  font-size: 14.5px !important;

  cursor: pointer !important;

  transition: all 0.25s ease !important;

  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.2) !important;

}



.th-load-more-btn:hover {

  background: var(--mc-ink) !important;

  border-color: var(--mc-ink) !important;

  transform: translateY(-2px) !important;

  box-shadow: 0 8px 20px rgba(6, 78, 59, 0.25) !important;

}



.th-load-more-btn svg {

  transition: transform 0.3s ease;

}



.th-load-more-btn:hover svg {

  transform: rotate(180deg);

}





/* =====================================================================

   4x3 GRID LAYOUT & OVERFLOW FIX

   ===================================================================== */



/* Force 4 Columns on Desktop */

.th-root .th-hub-latest-grid,

.th-root .th-post-grid,

#hy-posts-container {

  display: grid !important;

  grid-template-columns: repeat(4, 1fr) !important; /* 4 columns for 4x3 desktop layout */

  gap: 20px !important;

  width: 100% !important;

  box-sizing: border-box !important;

}



/* Prevent Card Content from Breaking Grid Column Bounds */

.th-root .th-hub-latest-grid > *,

.th-root .th-post-grid > *,

#hy-posts-container > * {

  width: 100% !important;

  min-width: 0 !important; /* Prevents text/image overflow from breaking grid columns */

  box-sizing: border-box !important;

}



/* Responsive Grid Scale */

@media (max-width: 1100px) {

  .th-root .th-hub-latest-grid,

  .th-root .th-post-grid,

  #hy-posts-container {

    grid-template-columns: repeat(3, 1fr) !important; /* 3 columns on small desktops/laptops */

  }

}



@media (max-width: 820px) {

  .th-root .th-hub-latest-grid,

  .th-root .th-post-grid,

  #hy-posts-container {

    grid-template-columns: repeat(2, 1fr) !important; /* 2 columns on tablets */

  }

}



@media (max-width: 540px) {

  .th-root .th-hub-latest-grid,

  .th-root .th-post-grid,

  #hy-posts-container {

    grid-template-columns: 1fr !important; /* 1 column on mobile */

  }

}



/* =====================================================================

   COMPLETE BLOG POST CARD & AVATAR STRUCTURAL REPAIR

   ===================================================================== */



/* 1. Category Badge Styling (Pill Tag at Top) */

#hy-posts-container [class*="cat"],

.th-post-grid [class*="cat"],

.th-hub-latest-grid [class*="cat"],

.th-hub-post-grid [class*="cat"] {

  display: inline-block !important;

  font-size: 10.5px !important;

  font-weight: 700 !important;

  color: #1D4ED8 !important;

  background: #EFF6FF !important;

  border: 1px solid #BFDBFE !important;

  padding: 3px 10px !important;

  border-radius: 6px !important;

  text-transform: uppercase !important;

  letter-spacing: 0.04em !important;

  margin-bottom: 10px !important;

  width: fit-content !important;

}



/* 2. Main Article Featured Image (First Image in Card) */

#hy-posts-container img:first-of-type,

.th-post-grid img:first-of-type,

.th-hub-latest-grid img:first-of-type,

.th-hub-post-grid img:first-of-type {

  width: 100% !important;

  height: 150px !important;

  max-height: 150px !important;

  object-fit: cover !important;

  border-radius: 10px !important;

  margin-bottom: 10px !important;

  display: block !important;

}



/* 3. Date & Read Time Text Styling */

#hy-posts-container [class*="date"],

#hy-posts-container [class*="meta"],

.th-post-grid [class*="date"],

.th-post-grid [class*="meta"],

.th-hub-latest-grid [class*="date"] {

  font-size: 11.5px !important;

  color: var(--mc-text-soft, #6B7280) !important;

  font-weight: 500 !important;

  margin-bottom: 6px !important;

  line-height: 1.4 !important;

}



/* 4. Title Trimming (Max 2 Lines) */

#hy-posts-container h3,

#hy-posts-container h2,

.th-post-grid h3,

.th-hub-latest-grid h3 {

  font-size: 14.5px !important;

  font-weight: 700 !important;

  line-height: 1.35 !important;

  color: var(--mc-ink, #064E3B) !important;

  margin: 4px 0 6px 0 !important;

  display: -webkit-box !important;

  -webkit-line-clamp: 2 !important;

  -webkit-box-orient: vertical !important;

  overflow: hidden !important;

  height: 2.7em !important;

}



/* 5. Excerpt Trimming (Max 3 Lines) */

#hy-posts-container p,

.th-post-grid p,

.th-hub-latest-grid p {

  font-size: 12px !important;

  color: var(--mc-text-soft, #6B7280) !important;

  line-height: 1.45 !important;

  margin: 0 0 10px 0 !important;

  display: -webkit-box !important;

  -webkit-line-clamp: 3 !important;

  -webkit-box-orient: vertical !important;

  overflow: hidden !important;

  height: 4.3em !important;

}



/* 7. Hub Server-Side Post Grid (WP_Query) */

.mc-hub-posts-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

  gap: 24px;

  margin-top: 20px;

}

.mc-hub-posts-grid .mc-article-card {

  height: 100%;

}

.mc-hub-posts-grid .mc-article-thumb {

  aspect-ratio: 16 / 9;

  overflow: hidden;

  border-radius: 12px;

  background: #F1F5F9;

  display: block;

  margin-bottom: 14px;

}

.mc-hub-posts-grid .mc-article-thumb img {

  display: block;

  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: transform 0.3s ease;

}

.mc-hub-posts-grid .mc-article-card:hover .mc-article-thumb img {

  transform: scale(1.04);

}



/* 6. Author Avatar Fix (Target Any Non-First Image, e.g., Author Photo) */

#hy-posts-container img:not(:first-of-type),

.th-post-grid img:not(:first-of-type),

.th-hub-latest-grid img:not(:first-of-type),

.th-hub-post-grid img:not(:first-of-type) {

  width: 28px !important;

  height: 28px !important;

  min-width: 28px !important;

  max-width: 28px !important;

  min-height: 28px !important;

  max-height: 28px !important;

  border-radius: 50% !important;

  object-fit: cover !important;

  display: inline-block !important;

  vertical-align: middle !important;

  margin: 0 6px 0 0 !important;

  border: 1px solid var(--mc-line, #E5E7EB) !important;

}



/* 7. Card Footer Layout (Author Left, Read Link Right) */

#hy-posts-container [class*="foot"],

#hy-posts-container [class*="author"],

.th-post-grid [class*="foot"],

.th-hub-latest-grid [class*="foot"] {

  display: flex !important;

  align-items: center !important;

  justify-content: space-between !important;

  margin-top: auto !important;

  padding-top: 10px !important;

  border-top: 1px dashed var(--mc-line, #E5E7EB) !important;

  width: 100% !important;

  font-size: 12px !important;

  font-weight: 600 !important;

  color: var(--mc-ink, #064E3B) !important;

}



/* 8. Read Article Link Styling */

#hy-posts-container a[class*="read"],

#hy-posts-container a[class*="more"],

.th-post-grid a[class*="read"],

.th-hub-latest-grid a[class*="read"] {

  font-size: 12px !important;

  font-weight: 700 !important;

  color: var(--mc-leaf, #3B82F6) !important;

  text-decoration: none !important;

  display: inline-flex !important;

  align-items: center !important;

  gap: 3px !important;

  white-space: nowrap !important;

}



#hy-posts-container a[class*="read"]:hover,

.th-post-grid a[class*="read"]:hover {

  color: var(--mc-ink, #064E3B) !important;

} 
/* =====================================================================
   COMPACT CATEGORY BADGE & 4-COLUMN GRID LAYOUT
   ===================================================================== */

/* 1. Smaller Category Badge with reduced top/bottom padding */
.th-hub-large-media .th-divider-badge,
#hy-posts-container .th-divider-badge {
  padding: 2px 10px !important;
  font-size: 10px !important;
  line-height: 1.4 !important;
  letter-spacing: 0.04em !important;
  border-radius: 999px !important;
  top: 10px !important;
  left: 10px !important;
}

/* 2. 4 Columns Desktop Post Grid */
#hy-posts-container,
.th-hub-latest-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin-top: 24px !important;
  margin-bottom: 24px !important;
  width: 100% !important;
}

/* 3. Responsive Scaling for Smaller Screens */
@media (max-width: 1200px) {
  #hy-posts-container,
  .th-hub-latest-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 860px) {
  #hy-posts-container,
  .th-hub-latest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 580px) {
  #hy-posts-container,
  .th-hub-latest-grid {
    grid-template-columns: 1fr !important;
  }
}
/* =====================================================================
   SMALL ROUND AUTHOR AVATAR LOCKDOWN
   ===================================================================== */
.th-hub-large-meta {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-size: 12px !important;
  color: var(--mc-text-soft, #6B7280) !important;
  margin-top: 10px !important;
}

.th-hub-meta-date {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.th-hub-author-wrap {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-left: auto !important;
  font-weight: 600 !important;
  color: var(--mc-leaf, #3B82F6) !important;
}

/* =====================================================================
   SITE-WIDE FIXED BACKGROUND IMAGE WITH LIGHT OPACITY
   ===================================================================== */
body {
  position: relative;
  background-color: #E7EEF7 !important; /* Fallback background color */
}

body::before {
  content: "" !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background-image: url('https://mistculture.com/wp-content/uploads/2026/08/mc-main-background-scaled.webp') !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  opacity: 0.50 !important; /* Adjust between 0.08 and 0.25 to control image lightness */
  pointer-events: none !important; /* Prevents background from blocking clicks */
  z-index: -9999 !important; /* Keeps the background strictly behind all site elements */
}

/* =====================================================================
   MISTCULTURE DESIGN SYSTEM — 1. GLOBAL STYLESHEET
   Location: assets/css/global.css
   ===================================================================== */

/* 1. SITE-WIDE FIXED BACKGROUND IMAGE WITH LIGHT OPACITY */
body {
  position: relative;
  background-color: #E7EEF7 !important; 
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #374151;
  margin: 0;
  padding: 0;
}

body::before {
  content: "" !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background-image: url('https://mistculture.com/wp-content/uploads/2026/08/mc-main-background-scaled.webp') !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  opacity: 0.50 !important;
  pointer-events: none !important;
  z-index: -9999 !important;
}

/* 2. TOKENS & CONTAINER SHELL */
.th-root, .mc-root {
  --mc-ink: #064E3B;
  --mc-mist: #F9FAFB;
  --mc-paper: #FFFFFF;
  --mc-leaf: #3B82F6;
  --mc-line: #E5E7EB;
  --mc-text: #374151;
  --mc-text-soft: #6B7280;
  --mc-light-green: #F9FAFB;
  --mc-border-green: #E5E7EB;
  --mc-soil: #9CA3AF;
  --mc-blue: #2563EB;
  --mc-hero-bg: url('https://mistculture.com/wp-content/uploads/2026/08/Mistculture-Internal-page-Hero-Background-scaled.webp');
  --mc-font-heading: "Space Grotesk", sans-serif;
  --mc-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mc-pad-top: 40px;
  --mc-pad-x: 32px;

  font-family: var(--mc-font-body);
  color: var(--mc-text);
  background: linear-gradient(180deg, #FFFFFF 0%, var(--mc-mist) 320px);
  border: 1px solid var(--mc-line);
  border-radius: 20px;
  max-width: 1280px;
  margin: 10px auto;
  overflow: hidden;
  position: relative;
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 24px 56px -28px rgba(6,78,59,.22);
}

.th-root *, .mc-root * { box-sizing: border-box; }

.th-root button {
  appearance: none !important;
  -webkit-appearance: none !important;
  font-family: var(--mc-font-body) !important;
  font-size: 14px !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  line-height: 1.4 !important;
  box-shadow: none;
}

.th-root a, .mc-root a { text-decoration: none; color: inherit; transition: color .2s ease, transform .2s ease; }

.th-root svg, .mc-root svg { 
  max-width: 100%; 
  flex-shrink: 0; 
  display: inline-block;
  vertical-align: middle;
}

.th-root::before, .th-root::after { content: ""; position: absolute; z-index: 0; pointer-events: none; border-radius: 50%; }
.th-root::before { width: 460px; height: 460px; top: -140px; right: -120px; background: radial-gradient(circle at center, rgba(59,130,246,.14), rgba(59,130,246,0) 70%); }
.th-root::after  { width: 560px; height: 560px; bottom: 120px; left: -180px;  background: radial-gradient(circle at center, rgba(37,99,235,.10), rgba(37,99,235,0) 70%); }

.th-root .th-inner { position: relative; z-index: 1; padding: var(--mc-pad-top) var(--mc-pad-x) 40px; }

/* 3. BASE HEADINGS & CENTERED ALIGNMENTS */
.th-root h1, .th-root h2, .th-root h3, .th-root h4,
.mc-root h1, .mc-root h2, .mc-root h3, .mc-root h4 {
  font-family: var(--mc-font-heading);
  font-weight: 650;
  margin: 0 0 10px 0;
  color: var(--mc-ink);
  letter-spacing: -.02em;
}

.th-root h1, .mc-root h1 { font-size: 36px !important; line-height: 1.1 !important; }
.th-root h2, .mc-root h2 { font-size: 24px !important; line-height: 1.25 !important; }
.th-root h3, .mc-root h3 { font-size: 18px !important; line-height: 1.3 !important; }
.th-root h4, .mc-root h4 { font-size: 15px !important; line-height: 1.35 !important; }

.th-root h2, .th-section h2, .th-section-head h2 { text-align: center !important; }

/* 4. REUSABLE SECTION HEADINGS, DIVIDERS & STEP CARDS */
.th-root .th-section, section.th-section { margin-top: 36px !important; margin-bottom: 24px !important; clear: both !important; }
.th-root .th-section-head, div.th-section-head { margin-bottom: 20px !important; text-align: center !important; }
.th-root .th-section-head h2, div.th-section-head h2 { font-size: 24px !important; margin-bottom: 8px !important; }
.th-root .th-section-head p, div.th-section-head p { font-size: 14.5px !important; color: var(--mc-text-soft) !important; margin: 0 auto !important; max-width: 600px !important; line-height: 1.55 !important; }

.th-root .th-divider, div.th-divider { display: flex !important; align-items: center !important; justify-content: center !important; margin-top: 36px !important; margin-bottom: 24px !important; position: relative !important; width: 100% !important; clear: both !important; }
.th-divider::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--mc-line); z-index: 0; }
.th-divider-badge { position: relative; z-index: 1; background: #EFF6FF; border: 1px solid #BFDBFE; color: var(--mc-ink); padding: 5px 16px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

.th-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 16px; }
.th-step-card { background: #fff; border: 1px solid var(--mc-line); border-radius: 14px; padding: 18px; box-shadow: 0 2px 8px rgba(6,78,59,.04); }
.th-step-card h3 { font-size: 15px !important; font-weight: 700 !important; margin: 0 0 6px 0 !important; color: var(--mc-ink) !important; line-height: 1.35 !important; }
.th-step-card p { font-size: 13px !important; color: var(--mc-text-soft) !important; margin: 0 !important; line-height: 1.5 !important; }
.th-step-icon { width: 36px; height: 36px; border-radius: 10px; background: #EFF6FF; border: 1px solid #BFDBFE; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; color: var(--mc-leaf); }

/* Progress Bar Fills */
.th-bar-fill, .th-bar-fill--norm, .th-bar-fill--mc { display: block !important; height: 100% !important; border-radius: 999px !important; background: linear-gradient(90deg, var(--mc-leaf), var(--mc-ink)) !important; }

/* 5. THE 3 GLOBAL BUTTON STYLES */
.th-hero-ctas, .th-cta-buttons, .hydro-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

/* Primary Button */
.th-root .th-btn, .th-root .th-hero-btn, .th-root .th-cta-btn, .mc-btn-primary {
  display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important;
  background: var(--mc-leaf) !important; color: #ffffff !important; font-size: 14px !important; font-weight: 650 !important;
  text-decoration: none !important; padding: 12px 22px !important; border-radius: 12px !important; border: 1px solid transparent !important;
  cursor: pointer !important; transition: all 0.2s ease !important; box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2) !important;
  text-transform: none !important; margin: 0 !important; height: auto !important;
}
.th-root .th-btn:hover, .th-root .th-hero-btn:hover, .th-root .th-cta-btn:hover, .mc-btn-primary:hover {
  background: var(--mc-ink) !important; color: #ffffff !important; border-color: var(--mc-ink) !important;
  transform: translateY(-2px) !important; box-shadow: 0 6px 18px rgba(6, 78, 59, 0.35) !important;
}

/* Dark Button */
.mc-btn-dark, .th-root .mc-btn-dark {
  display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important;
  background: var(--mc-ink) !important; color: #ffffff !important; font-size: 14px !important; font-weight: 650 !important;
  text-decoration: none !important; padding: 12px 22px !important; border-radius: 12px !important; border: 1px solid transparent !important;
  cursor: pointer !important; transition: all 0.2s ease !important; box-shadow: 0 4px 12px rgba(6, 78, 59, 0.25) !important;
  text-transform: none !important; margin: 0 !important; height: auto !important;
}
.mc-btn-dark:hover, .th-root .mc-btn-dark:hover {
  background: var(--mc-leaf) !important; color: #ffffff !important; border-color: var(--mc-leaf) !important;
  transform: translateY(-2px) !important; box-shadow: 0 6px 18px rgba(59, 130, 246, 0.3) !important;
}

/* Light / Outline Button */
.mc-btn-light, .th-btn--outline, .th-root .th-btn--outline, .th-root .th-hero-btn--ghost {
  display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important;
  background: #EFF6FF !important; color: #064E3B !important; border: 1px solid #BFDBFE !important;
  font-size: 14px !important; font-weight: 650 !important; text-decoration: none !important; padding: 12px 22px !important;
  border-radius: 12px !important; cursor: pointer !important; transition: all 0.2s ease !important;
  box-shadow: 0 2px 6px rgba(6, 78, 59, 0.04) !important; text-transform: none !important; margin: 0 !important; height: auto !important;
}
.mc-btn-light:hover, .th-btn--outline:hover, .th-root .th-btn--outline:hover, .th-root .th-hero-btn--ghost:hover {
  background: #DBEAFE !important; border-color: var(--mc-leaf) !important; color: var(--mc-ink) !important;
  transform: translateY(-2px) !important; box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15) !important;
}

.th-root .th-cta-btn.ghost { background: rgba(255, 255, 255, 0.12) !important; color: #ffffff !important; border: 1px solid rgba(255, 255, 255, 0.25) !important; box-shadow: none !important; }
.th-root .th-cta-btn.ghost:hover { background: #ffffff !important; color: var(--mc-ink) !important; border-color: #ffffff !important; transform: translateY(-2px) !important; }

/* 6. SITE-WIDE FOOTER CTA BANNER */
.th-cta { 
  margin-top: 36px !important; padding: 32px; border-radius: 18px; background: var(--mc-ink); color: #fff; 
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; 
}
.th-cta h2, .th-cta h3, .th-cta h4, .th-cta .th-cta-text h2, .th-cta .th-cta-text h3 { color: #ffffff !important; text-align: left !important; }
.th-cta h3 { font-size: 20px; margin-bottom: 4px; }
.th-cta p { color: #BFDBFE; font-size: 13.5px; margin: 0; }

.th-cta .th-cta-btn:hover, .th-cta .th-btn:hover, .th-cta .mc-btn-primary:hover, .th-cta .th-hero-btn:hover {
  background: #ffffff !important; color: var(--mc-ink, #064E3B) !important; border-color: #ffffff !important;
  transform: translateY(-2px) !important; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25) !important;
}

@media (max-width: 640px) {
  .th-cta { flex-direction: column; text-align: center; align-items: stretch; padding: 24px 18px; }
  .th-cta-buttons, .th-hero-ctas, .hydro-actions { flex-direction: column; width: 100%; gap: 10px; }
  .th-cta-btn, .th-hero-btn, .mc-btn-dark, .mc-btn-light, .hydro-actions button { width: 100% !important; text-align: center !important; justify-content: center !important; padding: 12px 18px !important; }
  .th-root .th-inner { padding: 20px 14px; }
}

/* =====================================================================
   MISTCULTURE PREMIUM GLASS PRISM HEADER & MEGA MENU STYLING
   ===================================================================== */
:root {
  --mc-header-height: 68px;
  --mc-ink: #064E3B;
  --mc-leaf: #3B82F6;
  --mc-line: #E5E7EB;
  --mc-text-soft: #6B7280;
  --mc-font-heading: "Space Grotesk", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

#mc-header-prism,
#mc-header-prism *,
#mcSearchModal,
#mcSearchModal *,
#mcMobileDrawer,
#mcMobileDrawer * {
  font-family: var(--mc-font-heading) !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-rendering: optimizeLegibility !important;
  box-sizing: border-box !important;
  text-transform: none !important;
}

body {
  padding-top: 0 !important;
}

/* Sticky Glassprism Container */
#mc-header-prism {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: var(--mc-header-height) !important;
  z-index: 9990 !important;
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(18px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(180%) !important;
  border-bottom: 1px solid rgba(229, 231, 235, 0.8) !important;
  box-shadow: 0 4px 20px rgba(6, 78, 59, 0.04) !important;
  transition: background 0.3s ease, box-shadow 0.3s ease !important;
}

#mc-header-prism.scrolled {
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 8px 25px rgba(6, 78, 59, 0.08) !important;
}

.mc-header-inner {
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Brand Logo */
.mc-brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none !important;
  flex-shrink: 0;
}

.mc-brand-logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease, height 0.25s ease;
}

.mc-brand-logo:hover img {
  transform: scale(1.02);
}

#mc-header-prism.scrolled .mc-brand-logo img {
  height: 30px !important;
}

/* Desktop Navigation */
.mc-desktop-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 100%;
}

.mc-nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.mc-nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  font-size: 14px;
  font-weight: 600 !important;
  letter-spacing: -0.01em;
  color: var(--mc-ink, #064E3B) !important;
  text-decoration: none !important;
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.mc-nav-link:hover,
.mc-nav-item:hover > .mc-nav-link {
  color: var(--mc-leaf, #3B82F6) !important;
  background: #EFF6FF !important;
}

.mc-nav-link svg.chevron {
  width: 11px;
  height: 11px;
  transition: transform 0.2s ease;
  stroke-width: 2.5;
  color: var(--mc-ink, #064E3B);
}

.mc-nav-item:hover > .mc-nav-link svg.chevron {
  transform: rotate(180deg);
  color: var(--mc-leaf, #3B82F6);
}

/* Glass Card Dropdowns */
.mc-megamenu {
  position: absolute;
  top: var(--mc-header-height);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--mc-line, #E5E7EB);
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(6, 78, 59, 0.12);
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 9999;
}

.mc-nav-item:hover .mc-megamenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mc-megamenu--5col {
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 1020px;
}

.mc-nav-item:hover .mc-megamenu--5col {
  transform: translateX(-50%) translateY(0);
}

.mc-mega-5grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.mc-mega-col-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--mc-ink, #064E3B);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid #DBEAFE;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mc-mega-col-title a {
  color: var(--mc-ink, #064E3B) !important;
  text-decoration: none !important;
}

.mc-mega-col-title a:hover {
  color: var(--mc-leaf, #3B82F6) !important;
}

.mc-mega-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mc-mega-list a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #334155;
  text-decoration: none !important;
  padding: 5px 8px;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.15s ease;
}

.mc-mega-list a:hover {
  background: #EFF6FF;
  color: var(--mc-leaf, #3B82F6);
  transform: translateX(2px);
}

/* Rich Tool Cards */
.mc-tool-item-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  text-decoration: none !important;
  transition: all 0.2s ease;
  margin-bottom: 6px;
}

.mc-tool-item-card:hover {
  background: #EFF6FF;
  border-color: #BFDBFE;
  transform: translateY(-2px);
}

.mc-tool-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mc-tool-card-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #DBEAFE;
  color: #1D4ED8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mc-tool-card-icon svg {
  width: 13px;
  height: 13px;
}

.mc-tool-card-head strong {
  font-size: 12.5px;
  color: var(--mc-ink, #064E3B);
  font-weight: 700;
  line-height: 1.2;
}

.mc-tool-item-card p {
  font-size: 11px;
  color: var(--mc-text-soft, #6B7280);
  margin: 0;
  line-height: 1.3;
}

/* Header Action Buttons */
.mc-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.mc-search-trigger {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  height: 38px !important;
  padding: 0 14px !important;
  background: #EFF6FF !important;
  border: 1px solid #BFDBFE !important;
  color: #064E3B !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 5px rgba(6, 78, 59, 0.04) !important;
  white-space: nowrap;
}

.mc-search-trigger:hover {
  background: #DBEAFE !important;
  border-color: #3B82F6 !important;
  transform: translateY(-1px) !important;
}

.mc-search-trigger svg {
  width: 15px !important;
  height: 15px !important;
  stroke: #064E3B !important;
  stroke-width: 2.2 !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
}

.mc-header-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  height: 38px !important;
  padding: 0 16px !important;
  background: var(--mc-leaf, #3B82F6) !important;
  color: #FFFFFF !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  text-decoration: none !important;
  box-shadow: 0 3px 10px rgba(59, 130, 246, 0.2) !important;
  transition: all 0.2s ease !important;
  white-space: nowrap;
  border: 1px solid transparent !important;
}

.mc-header-cta:hover {
  background: var(--mc-ink, #064E3B) !important;
  transform: translateY(-1px) !important;
}

.mc-header-cta .mc-envelope-icon {
  display: none;
  width: 16px;
  height: 16px;
  stroke: #FFFFFF;
  stroke-width: 2;
}

.mc-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #064E3B;
  border: 1px solid #064E3B;
  border-radius: 10px;
  cursor: pointer;
  padding: 0 !important;
  flex-shrink: 0;
}

.mc-mobile-toggle svg {
  width: 20px !important;
  height: 20px !important;
  stroke: #ffffff !important;
  stroke-width: 2.2 !important;
  display: block !important;
}

/* Mobile Drawer */
.mc-mobile-drawer {
  position: fixed;
  top: var(--mc-header-height);
  left: 0;
  right: 0;
  width: 100%;
  height: calc(100vh - var(--mc-header-height));
  padding: 20px 20px 40px 20px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow-y: auto;
  overflow-x: hidden;
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 9980 !important;
  box-sizing: border-box;
}

.mc-mobile-drawer.active {
  display: flex;
}

.mc-mobile-group {
  border-bottom: 1px solid #F1F5F9;
}

.mc-mobile-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--mc-ink, #064E3B);
  padding: 8px 0 4px;
}

.mc-mobile-link {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 6px;
}

.mc-mobile-link:hover {
  background: #EFF6FF;
  color: #3B82F6;
}

/* Search Modal */
.mc-search-modal {
  position: fixed;
  inset: 0;
  background: rgba(6, 78, 59, 0.42);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 100000 !important;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 90px;
}

.mc-search-modal.active {
  display: flex;
}

.mc-search-card {
  width: 100%;
  max-width: 600px;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 25px 60px rgba(6, 78, 59, 0.2);
  margin: 0 16px;
  border: 1px solid #BFDBFE;
}

.mc-search-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.mc-search-card-head strong {
  color: var(--mc-ink, #064E3B);
  font-size: 16px;
  font-weight: 700;
}

.mc-search-close {
  background: transparent !important;
  border: none !important;
  width: 32px;
  height: 32px;
  font-size: 26px !important;
  line-height: 1 !important;
  cursor: pointer;
  color: #064E3B !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  padding: 0 !important;
}

.mc-search-close:hover {
  color: #B91C1C !important;
}

.mc-search-card form {
  display: flex;
  gap: 10px;
}

.mc-search-card input {
  flex: 1;
  height: 46px;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  padding: 0 16px;
  font-size: 14px;
  outline: none;
  color: var(--mc-ink, #064E3B);
  background: #FFFFFF;
}

.mc-search-card input:focus {
  border-color: #3B82F6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.mc-search-card button {
  height: 46px;
  padding: 0 22px;
  background: #3B82F6;
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 3px 10px rgba(59, 130, 246, 0.2);
}

.mc-search-card button:hover {
  background: #064E3B;
}

.mc-search-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #F1F5F9;
}

.mc-search-tags span {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--mc-text-soft, #6B7280);
  margin-right: 4px;
}

.mc-search-tags a {
  font-size: 11.5px;
  font-weight: 600;
  color: #064E3B;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  padding: 3px 9px;
  border-radius: 6px;
  text-decoration: none !important;
  transition: all 0.15s;
}

.mc-search-tags a:hover {
  background: #DBEAFE;
  color: #3B82F6;
}

@media (max-width: 1120px) {
  .mc-desktop-nav { display: none !important; }
  .mc-mobile-toggle { display: flex !important; }

  .mc-search-trigger {
    width: 38px !important;
    padding: 0 !important;
    justify-content: center !important;
  }
  .mc-search-trigger .mc-btn-text {
    display: none !important;
  }

  .mc-header-cta {
    width: 38px !important;
    padding: 0 !important;
    justify-content: center !important;
    border-radius: 10px !important;
  }
  .mc-header-cta .mc-btn-text {
    display: none !important;
  }
  .mc-header-cta .mc-envelope-icon {
    display: inline-block !important;
  }

  .mc-brand-logo img {
    height: 32px !important;
  }
}

/* =====================================================================
   MISTCULTURE FOOTER STYLING
   ===================================================================== */
#mc-footer,
#mc-footer * {
  font-family: var(--mc-font-heading, "Space Grotesk", sans-serif) !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-rendering: optimizeLegibility !important;
  box-sizing: border-box !important;
}

.mc-footer-root {
  background: #FFFFFF !important;
  border-top: 1px solid #E2E8F0;
  position: relative;
  overflow: hidden;
  padding-top: 40px;
}

.mc-footer-root::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  background: url('https://mistculture.com/wp-content/uploads/2026/08/1785669559018-5f65fe3f08d.webp') center/cover no-repeat;
  opacity: 0.40 !important;
  pointer-events: none;
  z-index: 0 !important;
}

.mc-footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.mc-newsletter-banner {
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.75) 0%, rgba(15, 23, 42, 0.68) 100%),
              url('https://mistculture.com/wp-content/uploads/2026/08/ms-wide-banner-scaled-e1785942646526.webp') center/cover no-repeat;
  border-radius: 20px;
  padding: 30px 36px;
  box-shadow: 0 12px 30px rgba(6, 78, 59, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 48px;
}

.mc-newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.mc-newsletter-copy {
  flex: 0 0 40%;
  display: flex;
  align-items: center;
  gap: 16px;
}

.mc-newsletter-icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  color: #FFFFFF; flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.mc-newsletter-icon svg { width: 24px; height: 24px; }
.mc-newsletter-copy h3 { color: #FFFFFF !important; font-size: 21px !important; font-weight: 700 !important; margin: 0 0 4px 0 !important; letter-spacing: -0.01em; }
.mc-newsletter-copy p { color: #E2E8F0 !important; font-size: 13.5px !important; margin: 0 !important; line-height: 1.4; }

.mc-newsletter-form-wrap { flex: 0 0 58%; }

.mc-newsletter-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 8px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.mc-newsletter-form input[type="text"],
.mc-newsletter-form input[type="email"] {
  width: 100%; height: 42px;
  border: 1px solid #CBD5E1 !important;
  border-radius: 8px !important;
  padding: 0 12px !important;
  font-size: 13.5px !important;
  color: #0F172A !important;
  background: #FFFFFF !important;
  outline: none !important;
}

.mc-newsletter-form input:focus { border-color: #3B82F6 !important; }
.mc-newsletter-form input::placeholder { color: #94A3B8; }

.mc-newsletter-form button {
  height: 42px; padding: 0 22px;
  background: var(--mc-leaf, #3B82F6) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  cursor: pointer !important;
  transition: background 0.2s ease, transform 0.2s ease !important;
  white-space: nowrap;
}

.mc-newsletter-form button:hover {
  background: var(--mc-ink, #064E3B) !important;
  transform: translateY(-1px);
}

.mc-footer-body { position: relative; padding-bottom: 48px; z-index: 2; }
.mc-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; gap: 28px; position: relative; z-index: 2; }
.mc-footer-col h4 { font-size: 14.5px !important; font-weight: 700 !important; color: var(--mc-ink, #064E3B) !important; margin: 0 0 16px 0 !important; letter-spacing: -0.01em; }
.mc-footer-col p { font-size: 13px; color: #475569; line-height: 1.6; margin: 14px 0 18px 0; }

.mc-footer-links { list-style: none !important; padding: 0 !important; margin: 0 !important; display: flex; flex-direction: column; gap: 9px; }
.mc-footer-links a { font-size: 13px; color: #3B4759 !important; text-decoration: none !important; transition: all 0.2s ease; display: inline-block; }
.mc-footer-links a:hover { color: var(--mc-leaf, #3B82F6) !important; transform: translateX(3px); }

.mc-footer-socials { display: flex; align-items: center; gap: 8px; }
.mc-footer-socials a { width: 34px; height: 34px; border-radius: 99px; background: #F8FAFC; border: 1px solid #E2E8F0; display: flex; align-items: center; justify-content: center; color: #475569; transition: all 0.2s ease; text-decoration: none !important; }
.mc-footer-socials a:hover { background: #EFF6FF; border-color: #BFDBFE; color: #3B82F6; transform: translateY(-2px); }
.mc-footer-socials svg { width: 15px; height: 15px; fill: currentColor; }

.mc-footer-bottom { border-top: 1px solid #E2E8F0; padding: 24px 0; display: flex; align-items: center; justify-content: center; position: relative; z-index: 2; }
.mc-footer-bottom p { font-size: 12.5px; color: var(--mc-text-soft, #6B7280); margin: 0; }

@media (max-width: 1024px) {
  .mc-newsletter-inner { flex-direction: column; align-items: flex-start; }
  .mc-newsletter-copy, .mc-newsletter-form-wrap { flex: 0 0 100%; width: 100%; }
  .mc-footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
  .mc-footer-col--brand { grid-column: span 3; }
}

@media (max-width: 768px) {
  .mc-newsletter-form { grid-template-columns: 1fr; background: transparent; padding: 0; box-shadow: none; border: none; }
  .mc-newsletter-form input[type="text"], .mc-newsletter-form input[type="email"], .mc-newsletter-form button { height: 46px !important; border-radius: 10px !important; }
  .mc-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .mc-footer-col--brand { grid-column: span 2; }
}

@media (max-width: 480px) {
  .mc-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  .mc-footer-col--brand { grid-column: span 2; }
  .mc-footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* =====================================================================
   7. INTERACTIVE TOOLS & CALCULATORS STYLES
   ===================================================================== */

/* Generic Field & Step Component Rules */
.th-calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin-top: 28px; }
.th-field { margin-bottom: 18px; }
.th-field label { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13.5px; color: var(--mc-ink, #064E3B); margin-bottom: 8px; }
.th-step { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: #DBEAFE; color: #1D4ED8; font-size: 11.5px; font-weight: 700; flex-shrink: 0; }
.th-hint { font-size: 11.5px; color: var(--mc-text-soft, #6B7280); margin-top: 4px; }
.th-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.th-root input[type="number"],
.th-root input[type="text"],
.th-root select {
  width: 100% !important; height: 46px !important; padding: 0 14px !important;
  background: #FFFFFF !important; border: 1px solid #CBD5E1 !important; border-radius: 10px !important;
  font-size: 14.5px !important; font-family: inherit !important; color: #374151 !important;
  outline: none !important; box-shadow: inset 0 1px 2px rgba(0,0,0,0.02) !important;
  transition: all 0.2s ease !important; box-sizing: border-box !important;
}
.th-root input:focus, .th-root select:focus { border-color: #3B82F6 !important; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important; }

/* Aeroponic Mist Timer (#mist-calc) */
#mist-calc .th-pillrow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
#mist-calc .th-pill { display: flex !important; align-items: center !important; gap: 10px !important; padding: 12px 14px !important; background: #F8FAFC !important; border: 1px solid #E2E8F0 !important; border-radius: 12px !important; cursor: pointer !important; font-size: 13px !important; font-weight: 600 !important; color: #334155 !important; transition: all 0.2s ease !important; margin: 0 !important; }
#mist-calc .th-pill:hover { border-color: #3B82F6 !important; background: #EFF6FF !important; }
#mist-calc .th-pill input[type="radio"] { width: 18px !important; height: 18px !important; accent-color: #3B82F6 !important; margin: 0 !important; cursor: pointer !important; }
#mist-calc .th-btn--block { width: 100% !important; height: 48px !important; margin-top: 10px !important; }

/* Conversions Hub (#cr-conv-hub) */
#cr-conv-hub .cr-converters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
#cr-conv-hub .cr-card { background: #ffffff; border: 1px solid var(--mc-line, #E5E7EB); border-radius: 18px; padding: 22px; box-shadow: 0 4px 15px rgba(6,78,59,.04); }
#cr-conv-hub .cr-wide { grid-column: 1 / -1; }
#cr-conv-hub .cr-card h2 { font-size: 18px !important; display: flex !important; align-items: center !important; gap: 10px !important; margin-bottom: 4px !important; }
#cr-conv-hub .cr-card-sub { font-size: 13px; color: var(--mc-text-soft, #6B7280); margin: 0 0 16px 0; line-height: 1.5; }
#cr-conv-hub .cr-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
#cr-conv-hub .cr-field { display: flex; flex-direction: column; gap: 6px; }
#cr-conv-hub .cr-field label { font-weight: 700; font-size: 12.5px; color: var(--mc-ink, #064E3B); }
#cr-conv-hub .cr-hint { font-size: 11.5px; color: var(--mc-text-soft, #6B7280); margin-top: 2px; }
#cr-conv-hub .cr-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 10px; }
#cr-conv-hub .cr-fact { background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 10px; padding: 12px; font-size: 12.5px; color: #475569; line-height: 1.4; }
#cr-conv-hub .cr-fact strong { display: block; font-size: 13.5px; color: var(--mc-ink, #064E3B); margin-bottom: 2px; }
#cr-conv-hub .cr-table-wrap table th, #cr-conv-hub .cr-table-wrap table td { padding: 12px 16px !important; text-align: left; vertical-align: middle; }

/* Circular Gauges & Stat Displays (#light-calc, #water-calc, #yield-calc, #vpd-tool) */
.th-gauge-wrap { text-align: center; padding: 20px; background: #EFF6FF; border: 1px solid #BFDBFE; border-radius: 16px; margin-bottom: 20px; }
.th-gauge { position: relative; width: 150px; height: 150px; margin: 0 auto 12px; }
.th-gauge svg { width: 100%; height: 100%; }
.th-gauge-value { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.th-gauge-value strong { font-size: 30px; line-height: 1; color: var(--mc-ink, #064E3B); font-family: var(--mc-font-heading); }
.th-gauge-value span { font-size: 10.5px; text-transform: uppercase; font-weight: 700; color: var(--mc-text-soft, #6B7280); margin-top: 4px; }

.th-status { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; margin-bottom: 6px; }
.th-status--ok { background: #DBEAFE; color: #1D4ED8; }
.th-status--low { background: #FEF3C7; color: #B45309; }
.th-status--high { background: #FEE2E2; color: #B91C1C; }
.th-target-line { font-size: 12px; color: var(--mc-text-soft, #6B7280); font-weight: 600; }

.th-stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin-bottom: 16px; }
.th-stat { background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 12px; padding: 12px; text-align: center; }
.th-stat span { display: block; font-size: 11px; text-transform: uppercase; color: var(--mc-text-soft, #6B7280); font-weight: 700; margin-bottom: 2px; }
.th-stat strong { font-size: 16px; color: var(--mc-ink, #064E3B); }

.th-recs { background: #FFFFFF; border: 1px solid var(--mc-line, #E5E7EB); border-radius: 12px; padding: 14px; font-size: 13px; line-height: 1.55; color: #334155; margin-bottom: 12px; }
.th-recs strong { color: var(--mc-ink, #064E3B); display: block; margin-bottom: 4px; }
.th-config-summary { font-size: 12px; color: var(--mc-text-soft, #6B7280); background: #F1F5F9; padding: 8px 12px; border-radius: 8px; margin-bottom: 10px; }
.th-cycle-note { font-size: 12.5px; color: #1D4ED8; background: #DBEAFE; padding: 10px 12px; border-radius: 8px; margin-bottom: 10px; line-height: 1.4; }

/* Hydro Doctor Wizard (#hydro-doctor) */
#hydro-doctor #hydro-steps { display: flex; align-items: center; justify-content: space-between; list-style: none; padding: 0; margin: 0 0 28px 0; position: relative; }
#hydro-doctor #hydro-steps li { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--mc-text-soft, #6B7280); position: relative; z-index: 2; }
#hydro-doctor #hydro-steps li.is-active { color: var(--mc-ink, #064E3B); }
#hydro-doctor #hydro-steps li.is-completed { color: var(--mc-leaf, #3B82F6); }
#hydro-doctor .hydro-dot { width: 28px; height: 28px; border-radius: 50%; background: #E2E8F0; color: #475569; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; flex-shrink: 0; transition: all 0.25s ease; }
#hydro-doctor li.is-active .hydro-dot { background: var(--mc-leaf, #3B82F6); color: #FFFFFF; box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2); }
#hydro-doctor li.is-completed .hydro-dot { background: var(--mc-ink, #064E3B); color: #FFFFFF; }
#hydro-doctor .hydro-line { flex: 1; height: 2px; background: #E2E8F0; margin: 0 12px; }
#hydro-doctor .hydro-card-option { background: #FFFFFF; border: 1.5px solid var(--mc-line, #E5E7EB); border-radius: 14px; padding: 16px; cursor: pointer; transition: all 0.2s ease; display: flex; align-items: flex-start; gap: 12px; text-align: left; }
#hydro-doctor .hydro-card-option:hover { border-color: var(--mc-leaf, #3B82F6); background: #EFF6FF; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(6, 78, 59, 0.05); }
#hydro-doctor .hydro-card-option.is-selected { border-color: var(--mc-leaf, #3B82F6); background: #EFF6FF; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15); }

/* Nutrient Calculator Layout (#nutrient-calc) */
#nutrient-calc .nc-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
#nutrient-calc .nc-card { background: #ffffff; border: 1px solid var(--mc-line, #E5E7EB); border-radius: 18px; padding: 24px; box-shadow: 0 4px 15px rgba(6,78,59,.04); margin-bottom: 24px; }
#nutrient-calc .nc-card h2 { font-size: 19px !important; display: flex !important; align-items: center !important; gap: 10px !important; margin-bottom: 18px !important; text-align: left !important; }
#nutrient-calc .nc-ic svg { width: 22px; height: 22px; color: var(--mc-leaf, #3B82F6); }
#nutrient-calc .nc-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
#nutrient-calc .nc-field-row { display: flex; gap: 8px; }
#nutrient-calc .nc-field-row input { flex: 2; }
#nutrient-calc .nc-field-row select, #nutrient-calc .nc-field-row button { flex: 1; }
#nutrient-calc .nc-size { margin-top: 12px; }
#nutrient-calc input[type="range"] { width: 100%; accent-color: #3B82F6; margin-bottom: 8px; }
#nutrient-calc .nc-size-row { display: flex; justify-content: space-between; gap: 6px; }
#nutrient-calc .nc-size-preset { background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 6px; padding: 4px 0; font-size: 11px; font-weight: 700; color: #475569; cursor: pointer; flex: 1; text-align: center; transition: all 0.2s; }
#nutrient-calc .nc-size-preset:hover { background: #EFF6FF; border-color: #3B82F6; color: #1D4ED8; }
#nutrient-calc .nc-iconbtn { background: #EFF6FF; border: 1px solid #BFDBFE; border-radius: 10px; color: #1D4ED8; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
#nutrient-calc .nc-iconbtn:hover { background: #DBEAFE; border-color: #3B82F6; }
#nutrient-calc .nc-iconbtn svg { width: 18px; height: 18px; }
#nutrient-calc .nc-custom { display: none; background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 12px; padding: 16px; margin-top: 16px; }
#nutrient-calc .nc-slider-labels { display: flex; justify-content: space-between; font-size: 11px; color: #64748B; font-weight: 600; margin-top: 4px; }
#nutrient-calc .nc-crops { display: flex !important; flex-wrap: wrap !important; gap: 8px !important; }
#nutrient-calc .nc-crop-btn { background: #ffffff !important; border: 1px solid #CBD5E1 !important; border-radius: 8px !important; padding: 8px 12px !important; font-size: 13px !important; font-weight: 600 !important; color: #334155 !important; cursor: pointer !important; transition: all 0.2s !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 6px !important; margin: 0 !important; width: auto !important; height: auto !important; min-height: 38px !important; line-height: 1 !important; box-sizing: border-box !important; appearance: none !important; -webkit-appearance: none !important; }
#nutrient-calc .nc-crop-btn:hover { background: #EFF6FF !important; border-color: #3B82F6 !important; color: #1D4ED8 !important; }
#nutrient-calc .nc-ringwrap { display: flex; justify-content: center; margin: 10px 0 16px; }
#nutrient-calc .nc-ring-label { text-align: center; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--mc-text-soft, #6B7280); margin-bottom: 20px; }
#nutrient-calc .nc-recipe { background: #EFF6FF; border: 1px solid #BFDBFE; border-radius: 12px; padding: 18px; margin-bottom: 18px; display: none; }
#nutrient-calc .nc-recipe h3 { font-size: 16px !important; color: var(--mc-ink, #064E3B); margin-bottom: 12px !important; border-bottom: 1px dashed #BFDBFE; padding-bottom: 8px; }
#nutrient-calc .nc-recipe-item { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(59,130,246,0.1); font-size: 14px; }
#nutrient-calc .nc-recipe-item:last-child { border-bottom: none; }
#nutrient-calc .nc-recipe-item strong { color: var(--mc-ink, #064E3B); font-size: 15px; }
#nutrient-calc .nc-btn, #nutrient-calc .nc-btn2 { display: flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important; width: 100% !important; height: 46px !important; min-height: 46px !important; max-height: 46px !important; padding: 0 18px !important; border-radius: 12px !important; font-weight: 700 !important; font-size: 13.5px !important; line-height: 1 !important; cursor: pointer !important; transition: all 0.2s ease !important; box-sizing: border-box !important; text-decoration: none !important; appearance: none !important; -webkit-appearance: none !important; }
#nutrient-calc .nc-btn { background: var(--mc-leaf, #3B82F6) !important; color: #ffffff !important; border: 1px solid transparent !important; box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2) !important; margin-bottom: 12px !important; }
#nutrient-calc .nc-btn:hover { background: var(--mc-ink, #064E3B) !important; transform: translateY(-2px) !important; }
#nutrient-calc .nc-btn2 { background: #F8FAFC !important; border: 1px solid #CBD5E1 !important; color: #334155 !important; }
#nutrient-calc .nc-btn2:hover { background: #F1F5F9 !important; border-color: #94A3B8 !important; }
#nutrient-calc .nc-btn svg, #nutrient-calc .nc-btn2 svg { width: 16px !important; height: 16px !important; flex-shrink: 0 !important; }
#nutrient-calc .mc-error-banner { display: none; background: #FEF2F2; color: #991B1B; border: 1px solid #FCA5A5; padding: 12px 14px; border-radius: 10px; font-size: 13px; font-weight: 600; margin-bottom: 16px; align-items: center; gap: 10px; line-height: 1.4; }
#nutrient-calc .mc-error-banner svg { flex-shrink: 0; width: 18px; height: 18px; }
#nutrient-calc .nc-npk-head { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 700; color: var(--mc-text-soft, #6B7280); margin-bottom: 12px; border-bottom: 1px solid #E5E7EB; padding-bottom: 6px; }
#nutrient-calc .nc-bar-row { margin-bottom: 14px; }
#nutrient-calc .nc-bar-top { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 600; color: var(--mc-ink, #064E3B); margin-bottom: 6px; }
#nutrient-calc .nc-bar-track { height: 10px; background: #E2E8F0; border-radius: 999px; overflow: hidden; }
#nutrient-calc .nc-bar-fill { height: 100%; border-radius: 999px; transition: width 0.8s ease; width: 0%; }
#nutrient-calc .nc-bar-n { background: #3B82F6; }
#nutrient-calc .nc-bar-p { background: #EF4444; }
#nutrient-calc .nc-bar-k { background: #EAB308; }

/* Plant Selection Tool (#plant-selection-tool) */
#plant-selection-tool .ps-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; margin-top: 28px; }
#plant-selection-tool .ps-card { background: #ffffff; border: 1px solid var(--mc-line, #E5E7EB); border-radius: 18px; padding: 24px; box-shadow: 0 4px 15px rgba(6,78,59,.04); }
#plant-selection-tool .ps-card h2 { font-size: 20px !important; display: flex !important; align-items: center !important; gap: 10px !important; margin-bottom: 18px !important; text-align: left !important; }
#plant-selection-tool .ps-field { margin-bottom: 16px; }
#plant-selection-tool .ps-field label { display: block; font-weight: 700; font-size: 13.5px; color: var(--mc-ink, #064E3B); margin-bottom: 6px; }
#plant-selection-tool .ps-extra { background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 12px; padding: 16px; margin-bottom: 18px; }
#plant-selection-tool .ps-extra h3 { font-size: 14px !important; color: var(--mc-ink, #064E3B); margin-bottom: 12px !important; }
#plant-selection-tool .ps-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
#plant-selection-tool button.ps-export-btn, #plant-selection-tool .ps-export-btn, #plant-selection-tool button.ps-btn, #plant-selection-tool .ps-btn { display: flex !important; align-items: center !important; justify-content: center !important; width: 100% !important; height: 46px !important; min-height: 46px !important; max-height: 46px !important; padding: 0 18px !important; border-radius: 12px !important; font-weight: 700 !important; font-size: 13.5px !important; line-height: 46px !important; text-align: center !important; cursor: pointer !important; transition: all 0.2s ease !important; margin-top: 16px !important; margin-bottom: 0 !important; box-sizing: border-box !important; aspect-ratio: auto !important; appearance: none !important; -webkit-appearance: none !important; }
#plant-selection-tool button.ps-btn, #plant-selection-tool .ps-btn { background: var(--mc-leaf, #3B82F6) !important; color: #ffffff !important; border: 1px solid transparent !important; box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2) !important; }
#plant-selection-tool button.ps-btn:hover, #plant-selection-tool .ps-btn:hover { background: var(--mc-ink, #064E3B) !important; transform: translateY(-2px) !important; }
#plant-selection-tool button.ps-export-btn, #plant-selection-tool .ps-export-btn { background: #EFF6FF !important; border: 1px solid #BFDBFE !important; color: #064E3B !important; box-shadow: 0 2px 6px rgba(6, 78, 59, 0.04) !important; }
#plant-selection-tool button.ps-export-btn:hover, #plant-selection-tool .ps-export-btn:hover { background: #DBEAFE !important; border-color: #3B82F6 !important; transform: translateY(-2px) !important; }
#plant-selection-tool .ps-btn svg { width: 16px !important; height: 16px !important; min-width: 16px !important; min-height: 16px !important; margin-right: 8px !important; flex-shrink: 0 !important; }
#plant-selection-tool .ps-plant-card { background: #EFF6FF; border: 1px solid #BFDBFE; border-radius: 14px; padding: 16px; margin-bottom: 14px; }
#plant-selection-tool .ps-plant-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
#plant-selection-tool .ps-plant-top h4 { font-size: 17px !important; color: var(--mc-ink, #064E3B); margin: 0 !important; flex: 1; }
#plant-selection-tool .ps-emoji { font-size: 24px; line-height: 1; }
#plant-selection-tool .ps-badge { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; text-transform: uppercase; }
#plant-selection-tool .ps-badge-easy { background: #DBEAFE; color: #1D4ED8; }
#plant-selection-tool .ps-badge-medium { background: #FEF3C7; color: #B45309; }
#plant-selection-tool .ps-badge-challenging { background: #FEE2E2; color: #B91C1C; }
#plant-selection-tool .ps-match-great { background: #3B82F6; color: #fff; padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; }
#plant-selection-tool .ps-match-good { background: #2563EB; color: #fff; padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; }
#plant-selection-tool .ps-match-possible { background: #64748B; color: #fff; padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; }
#plant-selection-tool .ps-plant-notes { font-size: 13px; color: #334155; line-height: 1.5; margin: 0 0 10px 0; }
#plant-selection-tool .ps-plant-stats { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--mc-text-soft, #6B7280); background: #ffffff; padding: 8px 12px; border-radius: 8px; border: 1px solid #DBEAFE; margin-bottom: 10px; }
#plant-selection-tool .ps-pill { display: inline-block; font-size: 10.5px; font-weight: 700; background: #ffffff; border: 1px solid #CBD5E1; color: #475569; padding: 2px 7px; border-radius: 4px; margin-right: 4px; margin-bottom: 4px; }
#plant-selection-tool .ps-climate-tip { display: block; }
#plant-selection-tool .ps-climate-tip.ps-hidden { display: none !important; }
#plant-selection-tool .ps-climate-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 14px 0; }
#plant-selection-tool .ps-climate-cols h5 { font-size: 13.5px !important; color: var(--mc-ink, #064E3B); margin-bottom: 6px !important; }
#plant-selection-tool .ps-climate-cols ul { margin: 0; padding-left: 18px; font-size: 13px; color: var(--mc-text-soft, #6B7280); line-height: 1.5; }
#plant-selection-tool .ps-expert-tip { background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 10px; padding: 14px; font-size: 13px; color: #92400E; line-height: 1.5; }

/* Water Efficiency Comparison Bars (#water-calc) */
#water-calc .th-compare { background: #FFFFFF; border: 1px solid var(--mc-line, #E5E7EB); border-radius: 14px; padding: 16px; margin-bottom: 16px; }
#water-calc .th-compare-row { margin-bottom: 12px; }
#water-calc .th-compare-row:last-child { margin-bottom: 0; }
#water-calc .th-compare-label { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; color: var(--mc-ink, #064E3B); margin-bottom: 6px; }
#water-calc .th-compare-track { background: #E2E8F0; height: 12px; border-radius: 999px; overflow: hidden; }
#water-calc .th-compare-fill { height: 100%; border-radius: 999px; transition: width 0.8s ease; }
#water-calc .th-compare-fill.soil { background: #94A3B8; }
#water-calc .th-compare-fill.hydro { background: #3B82F6; }

/* Cost & ROI Payback Block (#cost-calc) */
#cost-calc .th-payback { background: #EFF6FF; border: 1px solid #BFDBFE; border-radius: 12px; padding: 14px; font-size: 13.5px; line-height: 1.55; color: #1E40AF; margin-bottom: 12px; }

/* Table Cell Overrides for All Tools */
.th-root .th-table-wrap table th,
.th-root .th-table-wrap table td,
.th-root table th,
.th-root table td {
  padding: 12px 16px !important;
  text-align: left;
  vertical-align: middle;
}

@media (max-width: 860px) {
  #nutrient-calc .nc-layout,
  #plant-selection-tool .ps-grid,
  #cr-conv-hub .cr-converters { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  #plant-selection-tool .ps-row2,
  #plant-selection-tool .ps-climate-cols,
  #vpd-tool .th-row2,
  #vpd-tool .th-stat-row,
  #cost-calc .th-row2,
  #cost-calc .th-stat-row,
  #yield-calc .th-row2,
  #yield-calc .th-stat-row,
  #water-calc .th-row2,
  #water-calc .th-stat-row,
  #hydro-doctor #hydro-steps .hydro-label { grid-template-columns: 1fr; }
}

/* =====================================================================
   404 ERROR PAGE SEARCH FORM (moved out of global.js)
   ===================================================================== */
#notfound-page .mc-404-search {
  max-width: 580px;
  margin: 0 auto;
}

#notfound-page .mc-404-search form {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: #FFFFFF !important;
  padding: 6px 8px 6px 12px !important;
  border-radius: 14px !important;
  border: 1px solid var(--mc-line, #CBD5E1) !important;
  box-shadow: 0 4px 15px rgba(6,78,59,0.06) !important;
  transition: all 0.2s ease !important;
}

#notfound-page .mc-404-search form:focus-within {
  border-color: #3B82F6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
}

#notfound-page input.mc-404-input {
  flex: 1 !important;
  height: 44px !important;
  border: none !important;
  padding: 0 8px !important;
  font-size: 14.5px !important;
  color: var(--mc-ink, #064E3B) !important;
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important;
  font-family: inherit !important;
}

#notfound-page input.mc-404-input::placeholder {
  color: #94A3B8 !important;
}

#notfound-page button.mc-404-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: 44px !important;
  padding: 0 22px !important;
  background: var(--mc-leaf, #3B82F6) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
  box-shadow: 0 2px 6px rgba(59, 130, 246, 0.2) !important;
}

#notfound-page button.mc-404-btn:hover {
  background: var(--mc-ink, #064E3B) !important;
  transform: translateY(-1px) !important;
}

#notfound-page button.mc-404-btn svg {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0 !important;
}

@media (max-width: 580px) {
  #notfound-page .mc-404-search form {
    flex-direction: column !important;
    padding: 10px !important;
  }
  #notfound-page input.mc-404-input {
    width: 100% !important;
    text-align: center !important;
  }
  #notfound-page button.mc-404-btn {
    width: 100% !important;
  }
}

/* ============================================================
   TOOL STYLES - VPD Calculator (#vpd-tool)
   Extracted from page-templates/tool-vpd-calculator.php (inline <style> removed)
   ============================================================ */
/* VPD Calculator Styling & Input Overrides */
#vpd-tool .th-calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

#vpd-tool .th-field {
  margin-bottom: 18px;
}

#vpd-tool .th-field label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--mc-ink, #064E3B);
  margin-bottom: 8px;
}

#vpd-tool .th-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #DBEAFE;
  color: #1D4ED8;
  font-size: 11.5px;
  font-weight: 700;
  flex-shrink: 0;
}

#vpd-tool input[type="number"],
#vpd-tool select {
  width: 100% !important;
  height: 46px !important;
  padding: 0 14px !important;
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 10px !important;
  font-size: 14.5px !important;
  font-family: inherit !important;
  color: #374151 !important;
  outline: none !important;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.02) !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

#vpd-tool input[type="number"]:focus,
#vpd-tool select:focus {
  border-color: #3B82F6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
}

#vpd-tool .th-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

#vpd-tool .th-hint {
  font-size: 11.5px;
  color: var(--mc-text-soft, #6B7280);
  margin-top: 4px;
}

#vpd-tool .th-gauge-wrap {
  text-align: center;
  padding: 20px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 16px;
  margin-bottom: 20px;
}

#vpd-tool .th-gauge {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 12px;
}

#vpd-tool .th-gauge svg {
  width: 100%;
  height: 100%;
}

#vpd-tool .th-gauge-value {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#vpd-tool .th-gauge-value strong {
  font-size: 32px;
  line-height: 1;
  color: var(--mc-ink, #064E3B);
  font-family: var(--mc-font-heading);
}

#vpd-tool .th-gauge-value span {
  font-size: 10.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--mc-text-soft, #6B7280);
  margin-top: 4px;
}

#vpd-tool .th-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
}

#vpd-tool .th-status--ok { background: #DBEAFE; color: #1D4ED8; }
#vpd-tool .th-status--low { background: #FEF3C7; color: #B45309; }
#vpd-tool .th-status--high { background: #FEE2E2; color: #B91C1C; }

#vpd-tool .th-target-line {
  font-size: 12px;
  color: var(--mc-text-soft, #6B7280);
  font-weight: 600;
}

#vpd-tool .th-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

#vpd-tool .th-stat {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px 8px;
  text-align: center;
}

#vpd-tool .th-stat span {
  display: block;
  font-size: 10.5px;
  text-transform: uppercase;
  color: var(--mc-text-soft, #6B7280);
  font-weight: 700;
  margin-bottom: 2px;
}

#vpd-tool .th-stat strong {
  font-size: 14.5px;
  color: var(--mc-ink, #064E3B);
}

#vpd-tool .th-recs {
  background: #FFFFFF;
  border: 1px solid var(--mc-line, #E5E7EB);
  border-radius: 12px;
  padding: 14px;
  font-size: 13px;
  line-height: 1.55;
  color: #334155;
  margin-bottom: 12px;
}

#vpd-tool .th-recs strong {
  color: var(--mc-ink, #064E3B);
  display: block;
  margin-bottom: 4px;
}

#vpd-tool .th-config-summary {
  font-size: 12px;
  color: var(--mc-text-soft, #6B7280);
  background: #F1F5F9;
  padding: 8px 12px;
  border-radius: 8px;
}

#vpd-tool .th-table-wrap table th,
#vpd-tool .th-table-wrap table td {
  padding: 12px 16px !important;
  text-align: left;
  vertical-align: middle;
}

@media (max-width: 600px) {
  #vpd-tool .th-row2,
  #vpd-tool .th-stat-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   TOOL STYLES - Mist Timer Calculator (#mist-calc)
   Extracted from page-templates/tool-mist-timer.php (inline <style> removed)
   ============================================================ */
/* Calculator Field & Input Styling */
#mist-calc .th-calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

#mist-calc .th-field {
  margin-bottom: 18px;
}

#mist-calc .th-field label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--mc-ink, #064E3B);
  margin-bottom: 8px;
}

#mist-calc .th-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #DBEAFE;
  color: #1D4ED8;
  font-size: 11.5px;
  font-weight: 700;
  flex-shrink: 0;
}

#mist-calc input[type="number"],
#mist-calc select {
  width: 100% !important;
  height: 48px !important;
  padding: 0 16px !important;
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 12px !important;
  font-size: 14.5px !important;
  font-family: inherit !important;
  color: #374151 !important;
  outline: none !important;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.02) !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

#mist-calc input[type="number"]:focus,
#mist-calc select:focus {
  border-color: #3B82F6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
}

#mist-calc .th-pillrow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

#mist-calc .th-pill {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 12px 14px !important;
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  transition: all 0.2s ease !important;
  margin: 0 !important;
}

#mist-calc .th-pill:hover {
  border-color: #3B82F6 !important;
  background: #EFF6FF !important;
}

#mist-calc .th-pill input[type="radio"] {
  width: 18px !important;
  height: 18px !important;
  accent-color: #3B82F6 !important;
  margin: 0 !important;
  cursor: pointer !important;
}

#mist-calc .th-btn--block {
  width: 100% !important;
  height: 48px !important;
  margin-top: 10px !important;
}

@media (max-width: 640px) {
  #mist-calc .th-pillrow {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   TOOL STYLES - Yield Calculator (#yield-calc)
   Extracted from page-templates/tool-yield-calculator.php (inline <style> removed)
   ============================================================ */
/* Yield Calculator Styling & Input Overrides */
#yield-calc .th-calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

#yield-calc .th-field {
  margin-bottom: 18px;
}

#yield-calc .th-field label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--mc-ink, #064E3B);
  margin-bottom: 8px;
}

#yield-calc .th-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #DBEAFE;
  color: #1D4ED8;
  font-size: 11.5px;
  font-weight: 700;
  flex-shrink: 0;
}

#yield-calc input[type="number"],
#yield-calc select {
  width: 100% !important;
  height: 46px !important;
  padding: 0 14px !important;
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 10px !important;
  font-size: 14.5px !important;
  font-family: inherit !important;
  color: #374151 !important;
  outline: none !important;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.02) !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

#yield-calc input[type="number"]:focus,
#yield-calc select:focus {
  border-color: #3B82F6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
}

#yield-calc .th-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Strict Button & SVG Overrides */
#yield-calc .th-btn,
#yield-calc .th-btn--outline {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  height: 46px !important;
  min-height: 46px !important;
  max-height: 46px !important;
  padding: 0 18px !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
}

#yield-calc .th-btn {
  background: var(--mc-leaf, #3B82F6) !important;
  color: #ffffff !important;
  border: 1px solid transparent !important;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2) !important;
}

#yield-calc .th-btn:hover {
  background: var(--mc-ink, #064E3B) !important;
  transform: translateY(-2px) !important;
}

#yield-calc .th-btn--outline {
  background: #EFF6FF !important;
  border: 1px solid #BFDBFE !important;
  color: #064E3B !important;
  margin-top: 14px !important;
}

#yield-calc .th-btn--outline:hover {
  background: #DBEAFE !important;
  border-color: #3B82F6 !important;
  transform: translateY(-2px) !important;
}

#yield-calc .th-btn svg,
#yield-calc .th-btn--outline svg {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  margin: 0 !important;
}

#yield-calc .th-gauge-wrap {
  text-align: center;
  padding: 20px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 16px;
  margin-bottom: 20px;
}

#yield-calc .th-gauge {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto;
}

#yield-calc .th-gauge svg {
  width: 100%;
  height: 100%;
}

#yield-calc .th-gauge-value {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#yield-calc .th-gauge-value strong {
  font-size: 30px;
  line-height: 1;
  color: var(--mc-ink, #064E3B);
  font-family: var(--mc-font-heading);
}

#yield-calc .th-gauge-value span {
  font-size: 10.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--mc-text-soft, #6B7280);
  margin-top: 4px;
}

#yield-calc .th-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

#yield-calc .th-stat {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}

#yield-calc .th-stat span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--mc-text-soft, #6B7280);
  font-weight: 700;
  margin-bottom: 2px;
}

#yield-calc .th-stat strong {
  font-size: 16px;
  color: var(--mc-ink, #064E3B);
}

#yield-calc .th-config-summary {
  font-size: 12px;
  color: var(--mc-text-soft, #6B7280);
  background: #F1F5F9;
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 10px;
}

#yield-calc .th-cycle-note {
  font-size: 12.5px;
  color: #1D4ED8;
  background: #DBEAFE;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 10px;
  line-height: 1.4;
}

/* Reference Table Cell Padding Fix */
#yield-calc .th-table-wrap table th,
#yield-calc .th-table-wrap table td {
  padding: 12px 16px !important;
  text-align: left;
  vertical-align: middle;
}

@media (max-width: 580px) {
  #yield-calc .th-row2,
  #yield-calc .th-stat-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   TOOL STYLES - Water Efficiency Calculator (#water-calc)
   Extracted from page-templates/tool-water-efficiency.php (inline <style> removed)
   ============================================================ */
/* Water Efficiency Calculator Field & Input Overrides */
#water-calc .th-calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

#water-calc .th-field {
  margin-bottom: 18px;
}

#water-calc .th-field label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--mc-ink, #064E3B);
  margin-bottom: 8px;
}

#water-calc .th-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #DBEAFE;
  color: #1D4ED8;
  font-size: 11.5px;
  font-weight: 700;
  flex-shrink: 0;
}

#water-calc input[type="number"],
#water-calc select {
  width: 100% !important;
  height: 46px !important;
  padding: 0 14px !important;
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 10px !important;
  font-size: 14.5px !important;
  font-family: inherit !important;
  color: #374151 !important;
  outline: none !important;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.02) !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

#water-calc input[type="number"]:focus,
#water-calc select:focus {
  border-color: #3B82F6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
}

#water-calc .th-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Strict Button & SVG Overrides */
#water-calc .th-btn,
#water-calc .th-btn--outline {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  height: 46px !important;
  min-height: 46px !important;
  max-height: 46px !important;
  padding: 0 18px !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
}

#water-calc .th-btn {
  background: var(--mc-leaf, #3B82F6) !important;
  color: #ffffff !important;
  border: 1px solid transparent !important;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2) !important;
}

#water-calc .th-btn:hover {
  background: var(--mc-ink, #064E3B) !important;
  transform: translateY(-2px) !important;
}

#water-calc .th-btn--outline {
  background: #EFF6FF !important;
  border: 1px solid #BFDBFE !important;
  color: #064E3B !important;
  margin-top: 14px !important;
}

#water-calc .th-btn--outline:hover {
  background: #DBEAFE !important;
  border-color: #3B82F6 !important;
  transform: translateY(-2px) !important;
}

#water-calc .th-btn svg,
#water-calc .th-btn--outline svg {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  margin: 0 !important;
}

#water-calc .th-gauge-wrap {
  text-align: center;
  padding: 20px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 16px;
  margin-bottom: 20px;
}

#water-calc .th-gauge {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto;
}

#water-calc .th-gauge svg {
  width: 100%;
  height: 100%;
}

#water-calc .th-gauge-value {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#water-calc .th-gauge-value strong {
  font-size: 32px;
  line-height: 1;
  color: var(--mc-ink, #064E3B);
  font-family: var(--mc-font-heading);
}

#water-calc .th-gauge-value span {
  font-size: 10.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--mc-text-soft, #6B7280);
  margin-top: 4px;
}

/* Comparison Bar Visuals */
#water-calc .th-compare {
  background: #FFFFFF;
  border: 1px solid var(--mc-line, #E5E7EB);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
}

#water-calc .th-compare-row {
  margin-bottom: 12px;
}

#water-calc .th-compare-row:last-child {
  margin-bottom: 0;
}

#water-calc .th-compare-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: var(--mc-ink, #064E3B);
  margin-bottom: 6px;
}

#water-calc .th-compare-track {
  background: #E2E8F0;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
}

#water-calc .th-compare-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.8s ease;
}

#water-calc .th-compare-fill.soil { background: #94A3B8; }
#water-calc .th-compare-fill.hydro { background: #3B82F6; }

#water-calc .th-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

#water-calc .th-stat {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}

#water-calc .th-stat span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--mc-text-soft, #6B7280);
  font-weight: 700;
  margin-bottom: 2px;
}

#water-calc .th-stat strong {
  font-size: 16px;
  color: var(--mc-ink, #064E3B);
}

#water-calc .th-config-summary {
  font-size: 12px;
  color: var(--mc-text-soft, #6B7280);
  background: #F1F5F9;
  padding: 8px 12px;
  border-radius: 8px;
}

#water-calc .th-table-wrap table th,
#water-calc .th-table-wrap table td {
  padding: 12px 16px !important;
  text-align: left;
  vertical-align: middle;
}

@media (max-width: 580px) {
  #water-calc .th-row2,
  #water-calc .th-stat-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   TOOL STYLES - Plant Selection Tool (#plant-selection-tool)
   Extracted from page-templates/tool-plant-selection.php (inline <style> removed)
   ============================================================ */
/* Plant Selection Tool Styling & Button Lockdown */
#plant-selection-tool .ps-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
  margin-top: 28px;
}

#plant-selection-tool .ps-card {
  background: #ffffff;
  border: 1px solid var(--mc-line, #E5E7EB);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 4px 15px rgba(6,78,59,.04);
}

#plant-selection-tool .ps-card h2 {
  font-size: 20px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 18px !important;
  text-align: left !important;
}

#plant-selection-tool .ps-field {
  margin-bottom: 16px;
}

#plant-selection-tool .ps-field label {
  display: block;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--mc-ink, #064E3B);
  margin-bottom: 6px;
}

#plant-selection-tool select {
  width: 100% !important;
  height: 46px !important;
  padding: 0 14px !important;
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  font-family: inherit !important;
  color: #374151 !important;
  outline: none !important;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.02) !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

#plant-selection-tool select:focus {
  border-color: #3B82F6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
}

#plant-selection-tool .ps-extra {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 18px;
}

#plant-selection-tool .ps-extra h3 {
  font-size: 14px !important;
  color: var(--mc-ink, #064E3B);
  margin-bottom: 12px !important;
}

#plant-selection-tool .ps-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Button Overrides */
#plant-selection-tool button.ps-export-btn,
#plant-selection-tool .ps-export-btn,
#plant-selection-tool button.ps-btn,
#plant-selection-tool .ps-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 46px !important;
  min-height: 46px !important;
  max-height: 46px !important;
  padding: 0 18px !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  line-height: 46px !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  margin-top: 16px !important;
  margin-bottom: 0 !important;
  box-sizing: border-box !important;
  aspect-ratio: auto !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

#plant-selection-tool button.ps-btn,
#plant-selection-tool .ps-btn {
  background: var(--mc-leaf, #3B82F6) !important;
  color: #ffffff !important;
  border: 1px solid transparent !important;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2) !important;
}

#plant-selection-tool button.ps-btn:hover,
#plant-selection-tool .ps-btn:hover {
  background: var(--mc-ink, #064E3B) !important;
  transform: translateY(-2px) !important;
}

#plant-selection-tool button.ps-export-btn,
#plant-selection-tool .ps-export-btn {
  background: #EFF6FF !important;
  border: 1px solid #BFDBFE !important;
  color: #064E3B !important;
  box-shadow: 0 2px 6px rgba(6, 78, 59, 0.04) !important;
}

#plant-selection-tool button.ps-export-btn:hover,
#plant-selection-tool .ps-export-btn:hover {
  background: #DBEAFE !important;
  border-color: #3B82F6 !important;
  transform: translateY(-2px) !important;
}

#plant-selection-tool .ps-btn svg {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  margin-right: 8px !important;
  flex-shrink: 0 !important;
}

/* Plant Recommendation Card Styling */
#plant-selection-tool .ps-plant-card {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
}

#plant-selection-tool .ps-plant-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

#plant-selection-tool .ps-plant-top h4 {
  font-size: 17px !important;
  color: var(--mc-ink, #064E3B);
  margin: 0 !important;
  flex: 1;
}

#plant-selection-tool .ps-emoji {
  font-size: 24px;
  line-height: 1;
}

#plant-selection-tool .ps-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}

#plant-selection-tool .ps-badge-easy { background: #DBEAFE; color: #1D4ED8; }
#plant-selection-tool .ps-badge-medium { background: #FEF3C7; color: #B45309; }
#plant-selection-tool .ps-badge-challenging { background: #FEE2E2; color: #B91C1C; }

#plant-selection-tool .ps-match-great { background: #3B82F6; color: #fff; padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; }
#plant-selection-tool .ps-match-good { background: #2563EB; color: #fff; padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; }
#plant-selection-tool .ps-match-possible { background: #64748B; color: #fff; padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; }

#plant-selection-tool .ps-plant-notes {
  font-size: 13px;
  color: #334155;
  line-height: 1.5;
  margin: 0 0 10px 0;
}

#plant-selection-tool .ps-plant-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--mc-text-soft, #6B7280);
  background: #ffffff;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #DBEAFE;
  margin-bottom: 10px;
}

#plant-selection-tool .ps-pill {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  background: #ffffff;
  border: 1px solid #CBD5E1;
  color: #475569;
  padding: 2px 7px;
  border-radius: 4px;
  margin-right: 4px;
  margin-bottom: 4px;
}

/* Climate Tips Styling */
#plant-selection-tool .ps-climate-tip {
  display: block;
}
#plant-selection-tool .ps-climate-tip.ps-hidden {
  display: none !important;
}

#plant-selection-tool .ps-climate-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 14px 0;
}

#plant-selection-tool .ps-climate-cols h5 {
  font-size: 13.5px !important;
  color: var(--mc-ink, #064E3B);
  margin-bottom: 6px !important;
}

#plant-selection-tool .ps-climate-cols ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: var(--mc-text-soft, #6B7280);
  line-height: 1.5;
}

#plant-selection-tool .ps-expert-tip {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 10px;
  padding: 14px;
  font-size: 13px;
  color: #92400E;
  line-height: 1.5;
}

#plant-selection-tool table th,
#plant-selection-tool table td {
  padding: 12px 16px !important;
  text-align: left;
  vertical-align: middle;
}

@media (max-width: 900px) {
  #plant-selection-tool .ps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  #plant-selection-tool .ps-row2,
  #plant-selection-tool .ps-climate-cols {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   TOOL STYLES - Nutrient Calculator (#nutrient-calc)
   Extracted from page-templates/tool-nutrient-calculator.php (inline <style> removed)
   ============================================================ */
/* Nutrient Calculator Styling & Input Overrides */
#nutrient-calc .nc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}

#nutrient-calc .nc-card {
  background: #ffffff;
  border: 1px solid var(--mc-line, #E5E7EB);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 4px 15px rgba(6,78,59,.04);
  margin-bottom: 24px;
}

#nutrient-calc .nc-card h2 {
  font-size: 19px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 18px !important;
  text-align: left !important;
}

#nutrient-calc .nc-ic svg {
  width: 22px;
  height: 22px;
  color: var(--mc-leaf, #3B82F6);
}

#nutrient-calc .nc-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

#nutrient-calc label {
  display: block;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--mc-ink, #064E3B);
  margin-bottom: 6px;
}

#nutrient-calc input[type="number"],
#nutrient-calc input[type="text"],
#nutrient-calc select {
  width: 100% !important;
  height: 46px !important;
  padding: 0 14px !important;
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 10px !important;
  font-size: 14.5px !important;
  font-family: inherit !important;
  color: #374151 !important;
  outline: none !important;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.02) !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

#nutrient-calc input:focus,
#nutrient-calc select:focus {
  border-color: #3B82F6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
}

#nutrient-calc .nc-field-row {
  display: flex;
  gap: 8px;
}

#nutrient-calc .nc-field-row input {
  flex: 2;
}

#nutrient-calc .nc-field-row select,
#nutrient-calc .nc-field-row button {
  flex: 1;
}

#nutrient-calc .nc-size {
  margin-top: 12px;
}

#nutrient-calc input[type="range"] {
  width: 100%;
  accent-color: #3B82F6;
  margin-bottom: 8px;
}

#nutrient-calc .nc-size-row {
  display: flex;
  justify-content: space-between;
  gap: 6px;
}

#nutrient-calc .nc-size-preset {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 4px 0;
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  flex: 1;
  text-align: center;
  transition: all 0.2s;
}

#nutrient-calc .nc-size-preset:hover {
  background: #EFF6FF;
  border-color: #3B82F6;
  color: #1D4ED8;
}

#nutrient-calc .nc-iconbtn {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 10px;
  color: #1D4ED8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

#nutrient-calc .nc-iconbtn:hover {
  background: #DBEAFE;
  border-color: #3B82F6;
}

#nutrient-calc .nc-iconbtn svg {
  width: 18px;
  height: 18px;
}

#nutrient-calc .nc-hint {
  font-size: 11.5px;
  color: var(--mc-text-soft, #6B7280);
  line-height: 1.4;
  margin-top: 4px;
}

#nutrient-calc .nc-custom {
  display: none;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 16px;
  margin-top: 16px;
}

#nutrient-calc .nc-slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #64748B;
  font-weight: 600;
  margin-top: 4px;
}

/* Strict Crop Buttons Formatting */
#nutrient-calc .nc-crops {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

#nutrient-calc .nc-crop-btn {
  background: #ffffff !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 8px !important;
  padding: 8px 12px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  margin: 0 !important;
  width: auto !important;
  height: auto !important;
  min-height: 38px !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

#nutrient-calc .nc-crop-btn:hover {
  background: #EFF6FF !important;
  border-color: #3B82F6 !important;
  color: #1D4ED8 !important;
}

/* Results Section */
#nutrient-calc .nc-ringwrap {
  display: flex;
  justify-content: center;
  margin: 10px 0 16px;
}

#nutrient-calc .nc-ring-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--mc-text-soft, #6B7280);
  margin-bottom: 20px;
}

#nutrient-calc .nc-recipe {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 18px;
  display: none;
}

#nutrient-calc .nc-recipe h3 {
  font-size: 16px !important;
  color: var(--mc-ink, #064E3B);
  margin-bottom: 12px !important;
  border-bottom: 1px dashed #BFDBFE;
  padding-bottom: 8px;
}

#nutrient-calc .nc-recipe-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(59,130,246,0.1);
  font-size: 14px;
}

#nutrient-calc .nc-recipe-item:last-child {
  border-bottom: none;
}

#nutrient-calc .nc-recipe-item strong {
  color: var(--mc-ink, #064E3B);
  font-size: 15px;
}

/* Action Buttons */
#nutrient-calc .nc-btn,
#nutrient-calc .nc-btn2 {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  height: 46px !important;
  min-height: 46px !important;
  max-height: 46px !important;
  padding: 0 18px !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

#nutrient-calc .nc-btn {
  background: var(--mc-leaf, #3B82F6) !important;
  color: #ffffff !important;
  border: 1px solid transparent !important;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2) !important;
  margin-bottom: 12px !important;
}

#nutrient-calc .nc-btn:hover {
  background: var(--mc-ink, #064E3B) !important;
  transform: translateY(-2px) !important;
}

#nutrient-calc .nc-btn2 {
  background: #F8FAFC !important;
  border: 1px solid #CBD5E1 !important;
  color: #334155 !important;
}

#nutrient-calc .nc-btn2:hover {
  background: #F1F5F9 !important;
  border-color: #94A3B8 !important;
}

#nutrient-calc .nc-btn svg,
#nutrient-calc .nc-btn2 svg {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0 !important;
}

/* Error Message Banner */
#nutrient-calc .mc-error-banner {
  display: none;
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FCA5A5;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
}

#nutrient-calc .mc-error-banner svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

/* NPK Balance Bars */
#nutrient-calc .nc-npk-head {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--mc-text-soft, #6B7280);
  margin-bottom: 12px;
  border-bottom: 1px solid #E5E7EB;
  padding-bottom: 6px;
}

#nutrient-calc .nc-bar-row {
  margin-bottom: 14px;
}

#nutrient-calc .nc-bar-top {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mc-ink, #064E3B);
  margin-bottom: 6px;
}

#nutrient-calc .nc-bar-track {
  height: 10px;
  background: #E2E8F0;
  border-radius: 999px;
  overflow: hidden;
}

#nutrient-calc .nc-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.8s ease;
  width: 0%;
}

#nutrient-calc .nc-bar-n { background: #3B82F6; }
#nutrient-calc .nc-bar-p { background: #EF4444; }
#nutrient-calc .nc-bar-k { background: #EAB308; }

@media (max-width: 860px) {
  #nutrient-calc .nc-layout { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  #nutrient-calc .nc-row2 { grid-template-columns: 1fr; }
}

/* ============================================================
   TOOL STYLES - Hydro Doctor (#hydro-doctor)
   Extracted from page-templates/tool-hydro-doctor.php (inline <style> removed)
   ============================================================ */
/* Hydro Doctor Wizard Custom Styles */
#hydro-doctor #hydro-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  position: relative;
}

#hydro-doctor #hydro-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--mc-text-soft, #6B7280);
  position: relative;
  z-index: 2;
}

#hydro-doctor #hydro-steps li.is-active {
  color: var(--mc-ink, #064E3B);
}

#hydro-doctor #hydro-steps li.is-completed {
  color: var(--mc-leaf, #3B82F6);
}

#hydro-doctor .hydro-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #E2E8F0;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

#hydro-doctor li.is-active .hydro-dot {
  background: var(--mc-leaf, #3B82F6);
  color: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

#hydro-doctor li.is-completed .hydro-dot {
  background: var(--mc-ink, #064E3B);
  color: #FFFFFF;
}

#hydro-doctor .hydro-line {
  flex: 1;
  height: 2px;
  background: #E2E8F0;
  margin: 0 12px;
}

#hydro-doctor .hydro-card-option {
  background: #FFFFFF;
  border: 1.5px solid var(--mc-line, #E5E7EB);
  border-radius: 14px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
}

#hydro-doctor .hydro-card-option:hover {
  border-color: var(--mc-leaf, #3B82F6);
  background: #EFF6FF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(6, 78, 59, 0.05);
}

#hydro-doctor .hydro-card-option.is-selected {
  border-color: var(--mc-leaf, #3B82F6);
  background: #EFF6FF;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

#hydro-doctor .hydro-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 640px) {
  #hydro-doctor #hydro-steps .hydro-label {
    display: none;
  }
}

/* ============================================================
   TOOL STYLES - Grow Light Calculator (#light-calc)
   Extracted from page-templates/tool-grow-light.php (inline <style> removed)
   ============================================================ */
/* Grow Light Calculator Field & Input Overrides */
#light-calc .th-calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

#light-calc .th-field {
  margin-bottom: 18px;
}

#light-calc .th-field label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--mc-ink, #064E3B);
  margin-bottom: 8px;
}

#light-calc .th-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #DBEAFE;
  color: #1D4ED8;
  font-size: 11.5px;
  font-weight: 700;
  flex-shrink: 0;
}

#light-calc input[type="number"],
#light-calc select {
  width: 100% !important;
  height: 46px !important;
  padding: 0 14px !important;
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 10px !important;
  font-size: 14.5px !important;
  font-family: inherit !important;
  color: #374151 !important;
  outline: none !important;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.02) !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

#light-calc input[type="number"]:focus,
#light-calc select:focus {
  border-color: #3B82F6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
}

#light-calc .th-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

#light-calc .th-hint {
  font-size: 11.5px;
  color: var(--mc-text-soft, #6B7280);
  margin-top: 4px;
}

#light-calc .th-gauge-wrap {
  text-align: center;
  padding: 20px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 16px;
  margin-bottom: 20px;
}

#light-calc .th-gauge {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 12px;
}

#light-calc .th-gauge svg {
  width: 100%;
  height: 100%;
}

#light-calc .th-gauge-value {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#light-calc .th-gauge-value strong {
  font-size: 32px;
  line-height: 1;
  color: var(--mc-ink, #064E3B);
  font-family: var(--mc-font-heading);
}

#light-calc .th-gauge-value span {
  font-size: 10.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--mc-text-soft, #6B7280);
  margin-top: 4px;
}

#light-calc .th-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
}

#light-calc .th-status--ok { background: #DBEAFE; color: #1D4ED8; }
#light-calc .th-status--low { background: #FEF3C7; color: #B45309; }
#light-calc .th-status--high { background: #FEE2E2; color: #B91C1C; }

#light-calc .th-target-line {
  font-size: 12px;
  color: var(--mc-text-soft, #6B7280);
  font-weight: 600;
}

#light-calc .th-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

#light-calc .th-stat {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}

#light-calc .th-stat span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--mc-text-soft, #6B7280);
  font-weight: 700;
  margin-bottom: 2px;
}

#light-calc .th-stat strong {
  font-size: 16px;
  color: var(--mc-ink, #064E3B);
}

#light-calc .th-recs {
  background: #FFFFFF;
  border: 1px solid var(--mc-line, #E5E7EB);
  border-radius: 12px;
  padding: 14px;
  font-size: 13px;
  line-height: 1.55;
  color: #334155;
  margin-bottom: 12px;
}

#light-calc .th-recs strong {
  color: var(--mc-ink, #064E3B);
  display: block;
  margin-bottom: 4px;
}

#light-calc .th-config-summary {
  font-size: 12px;
  color: var(--mc-text-soft, #6B7280);
  background: #F1F5F9;
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
}

#light-calc .th-table-wrap table th,
#light-calc .th-table-wrap table td {
  padding: 12px 16px !important;
  text-align: left;
  vertical-align: middle;
}

@media (max-width: 540px) {
  #light-calc .th-row2,
  #light-calc .th-stat-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   TOOL STYLES - Cost Calculator (#cost-calc)
   Extracted from page-templates/tool-cost-calculator.php (inline <style> removed)
   ============================================================ */
/* Cost & ROI Calculator Field & Input Overrides */
#cost-calc .th-calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

#cost-calc .th-field {
  margin-bottom: 16px;
}

#cost-calc .th-field label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--mc-ink, #064E3B);
  margin-bottom: 6px;
}

#cost-calc .th-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #DBEAFE;
  color: #1D4ED8;
  font-size: 11.5px;
  font-weight: 700;
  flex-shrink: 0;
}

#cost-calc input[type="number"],
#cost-calc select {
  width: 100% !important;
  height: 46px !important;
  padding: 0 14px !important;
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 10px !important;
  font-size: 14.5px !important;
  font-family: inherit !important;
  color: #374151 !important;
  outline: none !important;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.02) !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

#cost-calc input[type="number"]:focus,
#cost-calc select:focus {
  border-color: #3B82F6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
}

#cost-calc .th-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

#cost-calc .th-hint {
  font-size: 11.5px;
  color: var(--mc-text-soft, #6B7280);
  margin-top: 4px;
}

#cost-calc .th-stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

#cost-calc .th-stat {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}

#cost-calc .th-stat span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--mc-text-soft, #6B7280);
  font-weight: 700;
  margin-bottom: 2px;
}

#cost-calc .th-stat strong {
  font-size: 16px;
  color: var(--mc-ink, #064E3B);
}

#cost-calc .th-payback {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 12px;
  padding: 14px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #1E40AF;
  margin-bottom: 12px;
}

#cost-calc .th-config-summary {
  font-size: 12px;
  color: var(--mc-text-soft, #6B7280);
  background: #F1F5F9;
  padding: 8px 12px;
  border-radius: 8px;
}

#cost-calc .th-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-top: 8px;
}

#cost-calc .th-status--ok { background: #DBEAFE; color: #1D4ED8; }
#cost-calc .th-status--low { background: #FEE2E2; color: #B91C1C; }

#cost-calc .th-table-wrap table th,
#cost-calc .th-table-wrap table td {
  padding: 12px 16px !important;
  text-align: left;
  vertical-align: middle;
}

@media (max-width: 580px) {
  #cost-calc .th-row2,
  #cost-calc .th-stat-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   TOOL STYLES - Conversions Hub (#cr-conv-hub)
   Extracted from page-templates/tool-conversions-hub.php (inline <style> removed)
   ============================================================ */
/* Conversions Hub Styling & Input Overrides */
#cr-conv-hub .cr-converters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

#cr-conv-hub .cr-card {
  background: #ffffff;
  border: 1px solid var(--mc-line, #E5E7EB);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 4px 15px rgba(6,78,59,.04);
}

#cr-conv-hub .cr-wide {
  grid-column: 1 / -1;
}

#cr-conv-hub .cr-card h2 {
  font-size: 18px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 4px !important;
}

#cr-conv-hub .cr-card-sub {
  font-size: 13px;
  color: var(--mc-text-soft, #6B7280);
  margin: 0 0 16px 0;
  line-height: 1.5;
}

#cr-conv-hub .cr-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

#cr-conv-hub .cr-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#cr-conv-hub .cr-field label {
  font-weight: 700;
  font-size: 12.5px;
  color: var(--mc-ink, #064E3B);
}

#cr-conv-hub input[type="number"],
#cr-conv-hub select {
  width: 100% !important;
  height: 46px !important;
  padding: 0 14px !important;
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 10px !important;
  font-size: 14.5px !important;
  font-family: inherit !important;
  color: #374151 !important;
  outline: none !important;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.02) !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

#cr-conv-hub input[type="number"]:focus,
#cr-conv-hub select:focus {
  border-color: #3B82F6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
}

#cr-conv-hub .cr-hint {
  font-size: 11.5px;
  color: var(--mc-text-soft, #6B7280);
  margin-top: 2px;
}

#cr-conv-hub .cr-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

#cr-conv-hub .cr-fact {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 12px;
  font-size: 12.5px;
  color: #475569;
  line-height: 1.4;
}

#cr-conv-hub .cr-fact strong {
  display: block;
  font-size: 13.5px;
  color: var(--mc-ink, #064E3B);
  margin-bottom: 2px;
}

#cr-conv-hub .cr-table-wrap table th,
#cr-conv-hub .cr-table-wrap table td {
  padding: 12px 16px !important;
  text-align: left;
  vertical-align: middle;
}

@media (max-width: 860px) {
  #cr-conv-hub .cr-converters {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  #cr-conv-hub .cr-row2 {
    grid-template-columns: 1fr;
  }
}
/* ============================================================
   TOOL STYLES - Plant Selection Tool spin keyframes (extracted)
   ============================================================ */
@keyframes psSpin { to { transform: rotate(360deg); } }

/* ============================================================
   THEME v1.1 - NATIVE COOKIE CONSENT BANNER
   Replaces third-party cookie plugin. Pure CSS (see global.js).
   ============================================================ */
.mc-cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 99999;
  width: min(640px, calc(100% - 36px));
  transform: translate(-50%, 140%);
  opacity: 0;
  pointer-events: none;
  transition: transform .45s cubic-bezier(.16, 1, .3, 1), opacity .45s ease;
}

.mc-cookie-banner.show {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

.mc-cookie-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  box-shadow: 0 18px 40px -12px rgba(15, 23, 42, .25);
}

.mc-cookie-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.mc-cookie-copy strong {
  display: block;
  font-size: 14.5px;
  color: var(--mc-ink, #064E3B);
  margin-bottom: 3px;
}

.mc-cookie-copy p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: #475569;
}

.mc-cookie-copy a {
  color: #2563EB;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mc-cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.mc-cookie-btn {
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  padding: 11px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}

.mc-cookie-btn:focus-visible {
  outline: 2px solid #2563EB;
  outline-offset: 2px;
}

.mc-cookie-decline {
  background: transparent;
  color: #475569;
  border: 1px solid #CBD5E1;
}

.mc-cookie-decline:hover {
  background: #F1F5F9;
  border-color: #94A3B8;
}

.mc-cookie-accept {
  background: var(--mc-ink, #064E3B);
  color: #FFFFFF;
  border: 1px solid var(--mc-ink, #064E3B);
}

.mc-cookie-accept:hover {
  background: #065F46;
  border-color: #065F46;
}

.mc-cookie-btn:active {
  transform: translateY(1px);
}

/* ============================================================
   THEME v1.1 - SCROLL-TO-TOP BUTTON (Customizer toggle)
   ============================================================ */
.mc-scroll-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 99990;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  background: var(--mc-ink, #064E3B);
  color: #FFFFFF;
  box-shadow: 0 12px 28px -8px rgba(6, 78, 59, .45);
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, background .15s ease;
}

.mc-scroll-top svg {
  width: 20px;
  height: 20px;
}

.mc-scroll-top.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mc-scroll-top:hover {
  background: #065F46;
}

.mc-scroll-top:focus-visible {
  outline: 2px solid #2563EB;
  outline-offset: 2px;
}

@media (max-width: 560px) {
  .mc-cookie-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 14px;
  }

  .mc-cookie-actions {
    justify-content: center;
  }

  .mc-scroll-top {
    right: 16px;
    bottom: 16px;
  }
}
