=====================================================================

   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: #16A34A;

  --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: 20px 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(22,163,74,.14), rgba(22,163,74,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(22, 163, 74, 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(22, 163, 74, 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: #F0FDF4 !important; color: #064E3B !important; border: 1px solid #BBF7D0 !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: #DCFCE7 !important; border-color: var(--mc-leaf) !important; color: var(--mc-ink) !important;

  transform: translateY(-2px) !important; box-shadow: 0 4px 12px rgba(22, 163, 74, 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: #15803D; 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(22,163,74,.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: #15803D; background: #F0FDF4; border: 1px solid #BBF7D0; 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: #F0FDF4 !important; border: 1px solid #BBF7D0 !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: #DCFCE7 !important; border-color: var(--mc-leaf) !important; transform: translateY(-2px) !important; 

  box-shadow: 0 4px 12px rgba(22, 163, 74, 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 #BBF7D0 !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: #DCFCE7 !important; 

  border: 2px solid #16A34A !important; 

  color: #064E3B !important; 

  box-shadow: 0 0 0 3px rgba(22, 163, 74, 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: #16A34A !important; border-color: #16A34A !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: #F0FDF4; border: 1px solid #BBF7D0; 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: #F0FDF4; border: 1px solid #BBF7D0; 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; }

.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: #F0FDF4; border: 1px solid #BBF7D0; 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: #A7F3D0; 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: #15803D; 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: #F0FDF4 !important; color: #064E3B !important; border: 1px solid #BBF7D0 !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(22,163,74,.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: #F0FDF4; border: 1px solid #BBF7D0; 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: #F0FDF4; color: #15803D; border: 1px solid #BBF7D0; }

.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%, #F0FDF4 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 #BBF7D0; 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: #15803D; background: #DCFCE7; 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: #F0FDF4; border: 1px solid #BBF7D0; 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: #F0FDF4; color: #15803D; border: 1px solid #BBF7D0; }

.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%, #F0FDF4 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 #BBF7D0; 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: #15803D; background: #DCFCE7; 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(240, 253, 244, 0.85);

  border: 1px solid #BBF7D0;

  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: #DCFCE7; color: #15803D; 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(22, 163, 74, 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: #F0FDF4 !important;

  border: 1px solid #BBF7D0 !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: #F0FDF4;

  border: 1px solid #BBF7D0;

  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 #BBF7D0; 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: #F0FDF4;

  border: 1px solid #BBF7D0;

  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: #F0FDF4;

  border: 1px solid #BBF7D0;

  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(22, 163, 74, 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: #15803D !important;

  background: #F0FDF4 !important;

  border: 1px solid #BBF7D0 !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;

}



/* 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, #16A34A) !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, #16A34A) !important;
}

