/*
Theme Name: DollarOak Finance
Theme URI: https://dollaroak.com/
Author: DollarOak
Author URI: https://dollaroak.com/
Description: A lightweight, mobile-first personal finance WordPress theme for DollarOak, built for U.S. money guides, calculators, comparisons, glossary content, and practical financial education.
Version: 1.4.15
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dollaroak
Tags: blog, news, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, wide-blocks, block-styles
*/

:root {
  --do-navy: #0b2442;
  --do-green: #0b6b3a;
  --do-green-dark: #064c2a;
  --do-green-soft: #eef7f1;
  --do-cream: #fbfaf5;
  --do-bg: #f7f7f2;
  --do-card: #ffffff;
  --do-text: #1b221f;
  --do-muted: #68716c;
  --do-border: #dfe4df;
  --do-accent: #147a4c;
  --do-max: 1200px;
  --do-radius: 10px;
  --do-shadow: 0 12px 32px rgba(15, 40, 25, 0.08);
  --do-serif: Georgia, 'Times New Roman', serif;
  --do-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--do-cream);
  color: var(--do-text);
  font-family: var(--do-sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--do-green-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--do-accent); }
button, input, select, textarea { font: inherit; }
button, .button, .wp-element-button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid rgba(20, 122, 76, 0.28);
  outline-offset: 3px;
}

.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px;
  overflow: hidden; padding: 0; position: absolute!important; width: 1px; word-wrap: normal!important;
}
.skip-link:focus {
  clip: auto!important; clip-path: none; height: auto; width: auto; top: 8px; left: 8px; padding: 10px 14px;
  z-index: 100000; background: #fff; color: #111; border: 1px solid #111;
}

.do-container { width: min(calc(100% - 36px), var(--do-max)); margin-inline: auto; }
.do-narrow { width: min(calc(100% - 36px), 780px); margin-inline: auto; }
.do-section { padding: 72px 0; border-top: 1px solid var(--do-border); }
.do-section--white { background: #fff; }
.do-section--soft { background: var(--do-bg); }
.do-section--dark { background: #07351f; color: #fff; }
.do-kicker { margin: 0 0 10px; color: var(--do-muted); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.do-section-title, .entry-title, .archive-title, .hero-title {
  font-family: var(--do-serif); letter-spacing: -.035em; color: var(--do-text); line-height: 1.05;
}
.do-section-title { margin: 0; font-size: clamp(1.9rem, 3.5vw, 3rem); }
.do-section-intro { max-width: 720px; margin: 12px 0 0; color: var(--do-muted); }
.do-section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.do-text-link { font-weight: 700; text-decoration: none; white-space: nowrap; }

.do-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 19px;
  border: 1px solid var(--do-green-dark); border-radius: 5px; background: var(--do-green-dark); color: #fff;
  font-weight: 700; font-size: .92rem; line-height: 1; text-decoration: none; transition: transform .16s ease, background .16s ease;
}
.do-btn:hover { color: #fff; background: var(--do-green); transform: translateY(-1px); }
.do-btn--secondary { background: transparent; color: var(--do-green-dark); border-color: var(--do-border); }
.do-btn--secondary:hover { color: var(--do-green-dark); background: #fff; }
.do-btn--light { background: #fff; color: #07351f; border-color: #fff; }
.do-btn--light:hover { background: #edf7f0; color: #07351f; }

/* Header */
.site-header { position: relative; z-index: 40; background: rgba(251,250,245,.97); border-bottom: 1px solid var(--do-border); }
.site-header__row { min-height: 72px; display: flex; align-items: center; gap: 24px; }
.site-branding { flex: 0 0 auto; display: flex; align-items: center; }
.custom-logo-link, .do-fallback-logo { display: inline-flex; align-items: center; }
.custom-logo, .do-fallback-logo img { width: 178px; max-height: 56px; object-fit: contain; object-position: left center; }
.site-title { margin: 0; font: 700 1.35rem/1 var(--do-serif); }
.site-title a { color: var(--do-text); text-decoration: none; }
.primary-navigation { margin-left: auto; }
.primary-navigation ul { display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; list-style: none; }
.primary-navigation a { color: #24312a; text-decoration: none; font-weight: 650; font-size: .86rem; }
.primary-navigation a:hover, .primary-navigation .current-menu-item > a { color: var(--do-green); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-search-button, .menu-toggle {
  width: 42px; height: 42px; display: inline-grid; place-items: center; border: 1px solid var(--do-border); border-radius: 5px;
  background: #fff; color: var(--do-text);
}
.menu-toggle { display: none; }
.header-calculators { padding-inline: 14px; }
.header-search-panel { display: none; padding: 12px 0 18px; }
.header-search-panel.is-open { display: block; }
.mobile-menu-panel { display: none; }
.mobile-menu-search { display: none; }
.mobile-menu-home { display: none; }
.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 44px; border: 1px solid var(--do-border); border-radius: 4px; padding: 9px 12px; background: #fff; color: var(--do-text); }
.search-submit { min-height: 44px; padding: 8px 15px; border: 0; border-radius: 4px; background: var(--do-green-dark); color: #fff; font-weight: 700; }

/* Hero
   The desktop hero is intentionally a single editorial band: the photograph
   bleeds to the right edge and fades into the cream copy area instead of
   appearing as a separate image card. */
.do-hero {
  position: relative;
  min-height: 420px;
  padding: 0;
  overflow: hidden;
  background: #fbfaf5;
}
.do-hero__grid {
  min-height: 420px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}
.do-hero__copy {
  position: relative;
  z-index: 3;
  width: min(47%, 555px);
  padding: 48px 0 42px;
}
.do-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  color: #53615a;
  font-size: .63rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.do-hero__eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  flex: 0 0 34px;
  background: #b88b2c;
}
.hero-title {
  max-width: 540px;
  margin: 0;
  font-size: clamp(2.85rem,4.25vw,4.15rem);
  line-height: .99;
}
.do-hero__tagline {
  max-width: 540px;
  margin: 12px 0 0;
  color: var(--do-green-dark);
  font-family: var(--do-serif);
  font-size: clamp(1rem,1.45vw,1.2rem);
  line-height: 1.3;
  font-weight: 700;
}
.do-hero__description {
  max-width: 500px;
  margin: 12px 0 0;
  color: #5e6863;
  font-size: .9rem;
  line-height: 1.58;
}
.do-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.do-hero__visual {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  width: 62%;
  min-height: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #eee8dc;
  box-shadow: none;
}
.do-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      #fbfaf5 0%,
      rgba(251,250,245,.98) 5%,
      rgba(251,250,245,.86) 12%,
      rgba(251,250,245,.48) 22%,
      rgba(251,250,245,.12) 32%,
      rgba(251,250,245,0) 42%),
    linear-gradient(180deg, rgba(255,255,255,.015), rgba(8,52,31,.018));
}
.do-hero__photo {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  display: block;
}
.do-hero__photo--default {
  object-position: 50% center;
  background: #eee8dc;
  filter: saturate(.96) contrast(.985) brightness(1.01);
}
.do-hero__visual-fallback {
  height: 420px; display: grid; place-items: center; padding: 34px; background: linear-gradient(135deg,#e8efe9,#fdfbf5 55%,#e6efe6);
  border: 1px solid var(--do-border); box-shadow: var(--do-shadow);
}
.do-snapshot { width: min(100%, 320px); background: #fff; border: 1px solid var(--do-border); padding: 24px; box-shadow: var(--do-shadow); }
.do-snapshot__label { color: var(--do-muted); font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.do-snapshot__value { display: block; margin: 6px 0 2px; font-family: var(--do-serif); font-size: 2.3rem; line-height: 1; }
.do-snapshot__meta { color: var(--do-muted); font-size: .78rem; }

/* Trust strip */
.do-trust-strip { background: #fff; border-top: 1px solid var(--do-border); border-bottom: 1px solid var(--do-border); }
.do-trust-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.do-trust-item { padding: 17px 20px; text-align: center; color: #4f5b55; font-size: .78rem; font-weight: 700; line-height: 1.35; }
.do-trust-item + .do-trust-item { border-left: 1px solid var(--do-border); }
.do-trust-item::before { content: '•'; margin-right: 8px; color: var(--do-green); }

/* Intent cards */
.do-intent-grid { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--do-border); background: #fff; }
.do-intent-card { min-height: 176px; padding: 26px; color: inherit; text-decoration: none; border-right: 1px solid var(--do-border); border-bottom: 1px solid var(--do-border); }
.do-intent-card:nth-child(3n) { border-right: 0; }
.do-intent-card:nth-last-child(-n+3) { border-bottom: 0; }
.do-intent-card:hover { background: #fafbf8; }
.do-intent-icon { width: 34px; height: 34px; display: inline-grid; place-items: center; margin: 0 0 16px; border-radius: 7px; background: var(--do-green-soft); color: var(--do-green-dark); }
.do-intent-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.do-intent-card h3 { margin: 0 0 7px; font: 700 1.06rem/1.3 var(--do-serif); }
.do-intent-card p { margin: 0; color: var(--do-muted); font-size: .82rem; }
.do-intent-card > span:last-child { display: inline-block; margin-top: 15px; color: var(--do-green-dark); font-size: .74rem; font-weight: 800; }

/* Homepage live growth tool */
.do-live-section {
  padding: 76px 0 72px;
  overflow: hidden;
  color: #f7fbf8;
  border-top: 1px solid #15392b;
  border-bottom: 1px solid #15392b;
  background:
    radial-gradient(circle at 8% 0%, rgba(16,116,67,.35), transparent 34%),
    radial-gradient(circle at 92% 100%, rgba(17,112,67,.25), transparent 28%),
    linear-gradient(125deg, #071d18 0%, #07131e 52%, #081c18 100%);
}
.do-live-heading { max-width: 820px; margin: 0 auto 34px; text-align: center; }
.do-live-kicker { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 15px; padding: 7px 13px; border: 1px solid rgba(77,223,128,.38); border-radius: 99px; color: #6ae68f; font-size: .7rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.do-live-kicker span { width: 7px; height: 7px; border-radius: 50%; background: #53e586; box-shadow: 0 0 14px rgba(83,229,134,.6); }
.do-live-heading h2 { margin: 0; color: #fff; font: 700 clamp(2.25rem,5vw,4.25rem)/1.02 var(--do-serif); letter-spacing: -.035em; }
.do-live-heading h2 em { color: #50db7c; font-weight: 400; }
.do-live-heading > p:last-child { max-width: 680px; margin: 15px auto 0; color: #aebdb7; font-size: .94rem; }
.do-live-tool { display: grid; grid-template-columns: minmax(0,1.03fr) minmax(0,.97fr); border: 1px solid rgba(113,191,137,.36); border-radius: 24px; background: rgba(10,26,23,.72); box-shadow: 0 28px 65px rgba(0,0,0,.18); }
.do-live-tool__controls { padding: clamp(26px,4vw,46px); border-right: 1px solid rgba(119,174,135,.27); }
.do-live-control + .do-live-control { margin-top: 27px; }
.do-live-control__top { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; margin-bottom: 10px; }
.do-live-control__top > div { display: grid; grid-template-columns: 40px 1fr; align-items: center; column-gap: 13px; }
.do-live-control__top strong { color: #f6faf7; font-size: .96rem; line-height: 1.25; }
.do-live-control__top small { grid-column: 2; display: block; margin-top: 2px; color: #94a59e; font-size: .73rem; }
.do-live-control output { min-width: 94px; color: #56e581; font: 800 1.05rem/1 var(--do-sans); text-align: right; }
.do-live-icon { grid-row: 1 / span 2; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(62,207,110,.27); border-radius: 11px; background: rgba(17,81,52,.2); color: #55e581; font-weight: 800; }
.do-live-control input[type="range"] { --do-range-progress: 30%; width: 100%; height: 22px; margin: 0; appearance: none; -webkit-appearance: none; background: transparent; cursor: pointer; }
.do-live-control input[type="range"]::-webkit-slider-runnable-track { height: 5px; border-radius: 99px; background: linear-gradient(90deg, #49df78 0 var(--do-range-progress), #34433d var(--do-range-progress) 100%); }
.do-live-control input[type="range"]::-webkit-slider-thumb { width: 19px; height: 19px; margin-top: -7px; appearance: none; -webkit-appearance: none; border: 3px solid #f8fffa; border-radius: 50%; background: #28b764; box-shadow: 0 0 0 4px rgba(75,226,124,.12); }
.do-live-control input[type="range"]::-moz-range-track { height: 5px; border: 0; border-radius: 99px; background: #34433d; }
.do-live-control input[type="range"]::-moz-range-progress { height: 5px; border-radius: 99px; background: #49df78; }
.do-live-control input[type="range"]::-moz-range-thumb { width: 15px; height: 15px; border: 3px solid #f8fffa; border-radius: 50%; background: #28b764; box-shadow: 0 0 0 4px rgba(75,226,124,.12); }
.do-live-tool__result { display: flex; min-width: 0; flex-direction: column; align-items: center; justify-content: center; padding: clamp(30px,4vw,48px); text-align: center; }
.do-live-result__label { margin: 0 0 8px; color: #62e58a; font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.do-live-result__value { display: block; color: #fff; font: 700 clamp(3rem,6vw,5.4rem)/1 var(--do-serif); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.do-live-result__breakdown { width: 100%; display: grid; grid-template-columns: 1fr auto 1fr 1fr; gap: 18px; align-items: center; margin-top: 24px; padding-top: 21px; border-top: 1px solid rgba(169,195,177,.25); }
.do-live-result__breakdown small { display: block; margin-bottom: 3px; color: #8fa099; font-size: .65rem; text-transform: uppercase; letter-spacing: .07em; }
.do-live-result__breakdown strong { display: block; color: #edf5f0; font: 700 1.05rem/1.2 var(--do-serif); }
.do-live-result__breakdown > span { color: #81938b; font-size: 1.2rem; }
.do-live-result__years strong { color: #5ae484; }
.do-live-chart { position: relative; width: min(100%, 390px); height: 132px; margin: 27px auto 20px; border-bottom: 1px solid rgba(63,174,98,.25); }
.do-live-chart__bars { position: absolute; inset: 15px 19px 0; display: flex; align-items: flex-end; justify-content: flex-end; gap: 7px; }
.do-live-chart__bars span { width: 13px; min-height: 8%; border-radius: 3px 3px 0 0; background: linear-gradient(#58e786,#1a8d4f); opacity: .9; transition: height .18s ease; }
.do-live-chart__line { position: absolute; inset: 10px 11px 4px; width: calc(100% - 22px); height: calc(100% - 14px); overflow: visible; }
.do-live-chart__line path { fill: none; stroke: #54e980; stroke-width: 3; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(84,233,128,.22)); }
.do-live-tool__actions { width: 100%; display: flex; margin-top: auto; }
.do-live-btn { min-height: 49px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 11px 18px; border-radius: 12px; font-size: .8rem; font-weight: 800; text-decoration: none; }
.do-live-btn--primary { color: #052114; background: linear-gradient(135deg,#56e483,#31bd68); box-shadow: 0 10px 28px rgba(51,190,105,.17); }
.do-live-btn--primary:hover { color: #052114; transform: translateY(-1px); }
.do-live-btn--secondary { color: #e8f1ec; border: 1px solid rgba(176,207,188,.32); background: rgba(255,255,255,.015); }
.do-live-btn--secondary:hover { color: #fff; border-color: rgba(92,224,135,.55); }
.do-live-disclaimer { max-width: 850px; margin: 15px auto 0; color: #81928b; font-size: .68rem; text-align: center; }
.do-live-tool--standalone { margin: 28px 0 38px; background: linear-gradient(135deg,#071d18,#07131e 54%,#081d18); color: #fff; }

/* Latest articles by category */
.do-category-articles > .do-container > .do-section-head { margin-bottom: 8px; }
.do-category-block { padding: 36px 0 42px; border-top: 1px solid var(--do-border); }
.do-category-block:first-of-type { margin-top: 30px; }
.do-category-block__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.do-category-block__head > div { display: flex; align-items: center; gap: 12px; }
.do-category-block__head span { color: #919b95; font-size: .68rem; letter-spacing: .08em; }
.do-category-block__head h3 { margin: 0; font: 700 clamp(1.5rem,3vw,2rem)/1.05 var(--do-serif); }
.do-category-block__head a { font-size: .75rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.do-category-card-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.do-category-card { min-width: 0; overflow: hidden; border: 1px solid var(--do-border); background: #fff; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.do-category-card:hover { transform: translateY(-2px); border-color: #c9d3cc; box-shadow: 0 12px 26px rgba(18,45,29,.07); }
.do-category-card__image { display: block; aspect-ratio: 16/9; overflow: hidden; background: #edf2ee; }
.do-category-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.do-category-card:hover .do-category-card__image img { transform: scale(1.018); }
.do-category-card__body { padding: 17px 17px 18px; }
.do-category-card__meta { color: #7a857f; font-size: .66rem; }
.do-category-card h4 { margin: 7px 0 8px; font: 700 1.12rem/1.22 var(--do-serif); }
.do-category-card h4 a { color: inherit; text-decoration: none; }
.do-category-card p { margin: 0; color: var(--do-muted); font-size: .77rem; }
.do-category-card__link { display: inline-block; margin-top: 12px; font-size: .72rem; font-weight: 800; text-decoration: none; }

/* Calculators */
.do-calculator-layout { display: grid; grid-template-columns: 1.15fr .85fr; border: 1px solid var(--do-border); background: #fff; }
.do-featured-calculator { min-height: 440px; padding: clamp(30px,5vw,58px); background: #073b23; color: #fff; }
.do-featured-calculator .do-kicker, .do-featured-calculator p { color: #c7dccf; }
.do-featured-calculator h3 { max-width: 540px; margin: 12px 0 12px; font: 700 clamp(2rem,4vw,3.2rem)/1.05 var(--do-serif); }
.do-calc-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin: 38px 0; }
.do-calc-metric small { display: block; color: #b9d2c1; font-size: .64rem; text-transform: uppercase; letter-spacing: .1em; }
.do-calc-metric strong { display: block; margin-top: 5px; font: 700 1.4rem/1 var(--do-serif); }
.do-calculator-list { display: grid; grid-template-rows: repeat(4,1fr); }
.do-popular-calculator-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.do-popular-calculator-card { display: flex; min-height: 220px; flex-direction: column; padding: 24px; background: #fff; border: 1px solid var(--do-border); color: inherit; text-decoration: none; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.do-popular-calculator-card:hover { color: inherit; transform: translateY(-2px); border-color: #bdd1c3; box-shadow: 0 12px 28px rgba(15,40,25,.06); }
.do-popular-calculator-card small { color: var(--do-green); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.do-popular-calculator-card h3 { margin: 12px 0 10px; font: 700 1.45rem/1.15 var(--do-serif); color: var(--do-text); }
.do-popular-calculator-card p { margin: 0 0 20px; color: var(--do-muted); font-size: .87rem; }
.do-popular-calculator-card span { margin-top: auto; color: var(--do-green-dark); font-size: .83rem; font-weight: 800; }
.do-calculator-link { padding: 25px 28px; color: inherit; text-decoration: none; border-bottom: 1px solid var(--do-border); }
.do-calculator-link:last-child { border-bottom: 0; }
.do-calculator-link:hover { background: #fafbf9; }
.do-calculator-link small { color: var(--do-muted); font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.do-calculator-link h4 { margin: 6px 0 5px; font: 700 1.06rem/1.25 var(--do-serif); }
.do-calculator-link p { margin: 0; color: var(--do-muted); font-size: .78rem; }

/* Guides */
.do-guides-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 42px; }
.do-feature-story { color: inherit; text-decoration: none; }
.do-feature-story img { width: 100%; aspect-ratio: 16/9; object-fit: cover; margin-bottom: 20px; }
.do-feature-story h3 { margin: 8px 0 10px; font: 700 clamp(1.7rem,3vw,2.5rem)/1.06 var(--do-serif); }
.do-feature-story p { margin: 0; color: var(--do-muted); }
.do-post-meta { color: var(--do-muted); font-size: .72rem; }
.do-guide-list { border-top: 1px solid var(--do-border); }
.do-guide-row { display: grid; grid-template-columns: 1fr 104px; gap: 20px; padding: 20px 0; color: inherit; text-decoration: none; border-bottom: 1px solid var(--do-border); }
.do-guide-row h4 { margin: 5px 0 6px; font: 700 1.08rem/1.25 var(--do-serif); }
.do-guide-row p { margin: 0; color: var(--do-muted); font-size: .79rem; }
.do-guide-row img { width: 104px; height: 76px; object-fit: cover; }

/* Explore */
.do-explore-list { border-top: 1px solid var(--do-border); }
.do-explore-row { display: grid; grid-template-columns: 52px minmax(180px,.55fr) 1fr 28px; align-items: center; gap: 20px; padding: 21px 4px; color: inherit; text-decoration: none; border-bottom: 1px solid var(--do-border); }
.do-explore-row:hover { background: rgba(255,255,255,.55); }
.do-explore-row__num { color: #8e9792; font-size: .68rem; }
.do-explore-row h3 { margin: 0; font: 700 1.1rem/1.2 var(--do-serif); }
.do-explore-row p { margin: 0; color: var(--do-muted); font-size: .8rem; }

/* Decisions */
.do-decision-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.do-decision-card { min-height: 140px; padding: 20px; background: #fff; border: 1px solid var(--do-border); color: inherit; text-decoration: none; }
.do-decision-card:hover { border-color: #b9c7bd; box-shadow: 0 8px 20px rgba(15,40,25,.05); }
.do-decision-vs { display: flex; align-items: center; gap: 8px; margin-bottom: 13px; }
.do-decision-vs strong { padding: 6px 10px; background: #f2f5f1; font: 700 .78rem/1 var(--do-serif); }
.do-decision-vs em { color: #99a19d; font-size: .65rem; font-style: normal; }
.do-decision-card p { margin: 0; color: var(--do-muted); font-size: .76rem; }
.do-decision-card span { display: inline-block; margin-top: 12px; font-size: .72rem; font-weight: 800; }

/* Glossary */
.do-glossary-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; }
.do-glossary-search { padding: 28px; background: #fff; border: 1px solid var(--do-border); }
.do-glossary-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.do-glossary-chip { padding: 6px 9px; border-radius: 99px; background: #f4f6f2; color: #5a665f; font-size: .68rem; text-decoration: none; }

/* Why DollarOak / Editorial standards */
.do-standards-section { padding: 64px 0 66px; }
.do-standards-layout {
  display: grid;
  grid-template-columns: minmax(0,.98fr) minmax(500px,1.04fr);
  gap: clamp(44px,6vw,74px);
  align-items: center;
}
.do-standards-copy { max-width: 500px; }
.do-standards-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: #244a42; font-size: .67rem; letter-spacing: .16em; }
.do-standards-kicker::before { content: ''; width: 22px; height: 1px; background: #36594f; flex: 0 0 22px; }
.do-standards-title { max-width: 520px; font-size: clamp(2.15rem,3.35vw,2.75rem); line-height: 1.04; letter-spacing: -.035em; }
.do-standards-title span { display: block; color: #174e55; }
.do-standards-intro { max-width: 475px; margin-top: 24px; color: #705c43; font-size: .94rem; line-height: 1.65; }
.do-standards-links { display: flex; flex-wrap: wrap; gap: 12px; max-width: 470px; margin-top: 30px; }
.do-standards-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 9px 18px;
  border: 1px solid #dfd1b7;
  border-radius: 9px;
  background: #fff;
  color: #0c3028;
  font-size: .79rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, background-color .16s ease;
}
.do-standards-link span { font-size: 1rem; line-height: 1; }
.do-standards-link:hover { border-color: #cbb98f; background: #fffdf8; transform: translateY(-1px); }
.do-standards-link--primary { background: #15392f; border-color: #15392f; color: #fff; }
.do-standards-link--primary:hover { background: #0f3028; border-color: #0f3028; color: #fff; }
.do-standards-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; background: transparent; }
.do-standard {
  min-height: 212px;
  padding: 24px 24px 22px;
  border: 1px solid #dfd1b7;
  border-radius: 14px;
  background: #fff;
}
.do-standard-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: #f1e4c5;
  color: #97731f;
}
.do-standard-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.do-standard h3 { margin: 0 0 8px; color: #1d170f; font: 700 1rem/1.22 var(--do-serif); letter-spacing: -.01em; }
.do-standard p { margin: 0; color: #6c5133; font-size: .78rem; line-height: 1.62; }

/* Newsletter */
.do-newsletter-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #15392f 0%, #0b2f25 64%, #08271f 100%);
  color: #fff;
  border-top-color: rgba(255,255,255,.08);
}
.do-newsletter-section::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  right: -190px;
  top: -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210,170,82,.16), rgba(210,170,82,0) 70%);
  pointer-events: none;
}
.do-newsletter { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.08fr) minmax(360px,.92fr); gap: 68px; align-items: center; }
.do-newsletter-copy { max-width: 640px; }
.do-newsletter-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 15px;
  color: #ead9ae;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.do-newsletter-kicker-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(234,217,174,.12); color: #e1bd68; }
.do-newsletter-kicker-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.do-newsletter h2 { max-width: 650px; margin: 0; color: #fff; font: 700 clamp(2rem,3.6vw,3.2rem)/1.03 var(--do-serif); letter-spacing: -.035em; }
.do-newsletter-intro { max-width: 600px; margin: 15px 0 0; color: #c9dbd1; font-size: 1rem; }
.do-newsletter-benefits { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 22px; color: #dbe8df; font-size: .82rem; font-weight: 650; }
.do-newsletter-benefits span { display: inline-flex; align-items: center; gap: 7px; }
.do-newsletter-benefits i { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(225,189,104,.15); color: #e1bd68; font-style: normal; font-size: .7rem; }
.do-newsletter-card {
  padding: 25px;
  border: 1px solid rgba(223,209,183,.9);
  border-radius: 16px;
  background: #fbfaf5;
  color: var(--do-text);
  box-shadow: 0 24px 55px rgba(3,24,17,.24);
}
.do-newsletter-card-title { margin: 0 0 13px; color: #1d170f; font: 700 1.25rem/1.2 var(--do-serif); }
.do-newsletter-card-copy { margin: 0 0 16px; color: #665b50; font-size: .86rem; }
.do-newsletter-form label { display: block; margin: 0 0 7px; color: #4c443a; font-size: .76rem; font-weight: 750; }
.do-newsletter-form-row { display: flex; gap: 8px; }
.do-newsletter-form input { flex: 1; min-width: 0; min-height: 46px; padding: 10px 12px; border: 1px solid #d8d0c0; border-radius: 5px; background: #fff; color: #1d241f; }
.do-newsletter-form input::placeholder { color: #8b938e; }
.do-newsletter-form input:focus { border-color: var(--do-green); outline: 3px solid rgba(20,122,76,.12); outline-offset: 1px; }
.do-newsletter-form .do-btn { white-space: nowrap; }
.do-newsletter-privacy { margin: 10px 0 0; color: #7a7369; font-size: .72rem; }

/* Main content */
.site-main { min-height: 50vh; }
.do-content-wrap { padding: 52px 0 80px; }
.do-content-grid { display: grid; grid-template-columns: minmax(0,760px) minmax(260px,1fr); gap: 54px; align-items: start; }
.entry-header { margin-bottom: 28px; }
.entry-title { margin: 0 0 15px; font-size: clamp(2.4rem,5vw,4.5rem); }
.entry-meta { display: flex; flex-wrap: wrap; gap: 9px 14px; color: var(--do-muted); font-size: .78rem; }
.entry-meta a { color: inherit; text-decoration: none; }
.entry-featured-image { margin: 28px 0 34px; }
/* Preserve the original aspect ratio of the main featured image on singular
   posts/pages. DollarOak standard featured images are 1200x630 (1.91:1), so
   they should display in full instead of being cropped into a 16:9 frame. */
.entry-featured-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}
.do-default-content-image { background: #eef3ed; }
.entry-content { font-size: 1.02rem; }
.entry-content > * { max-width: 100%; }
.entry-content h2, .entry-content h3, .entry-content h4 { font-family: var(--do-serif); line-height: 1.15; letter-spacing: -.02em; }
.entry-content h2 { margin-top: 2.15em; font-size: 2rem; }
.entry-content h3 { margin-top: 1.8em; font-size: 1.5rem; }
.entry-content p, .entry-content li { color: #303a35; }
.entry-content blockquote { margin: 1.8em 0; padding: 5px 0 5px 22px; border-left: 3px solid var(--do-green); color: #3e4943; font-family: var(--do-serif); font-size: 1.15rem; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.entry-content th, .entry-content td { padding: 12px; border: 1px solid var(--do-border); text-align: left; }
.entry-content th { background: #f5f7f4; }
.entry-content .alignwide { width: min(100vw - 36px, 1000px); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.do-disclosure { margin: 18px 0 26px; padding: 12px 14px; background: #f7f9f6; border: 1px solid var(--do-border); color: #5c6660; font-size: .75rem; }

/* Breadcrumbs */
.do-breadcrumbs { margin-bottom: 20px; color: var(--do-muted); font-size: .74rem; }
.do-breadcrumbs a { color: inherit; text-decoration: none; }
.do-breadcrumbs span[aria-hidden] { margin-inline: 6px; }

/* Sidebar */
.widget-area { position: sticky; top: 24px; }
.widget { margin-bottom: 22px; padding: 22px; background: #fff; border: 1px solid var(--do-border); }
.widget-title { margin: 0 0 15px; font: 700 1.15rem/1.2 var(--do-serif); }
.widget ul { margin: 0; padding-left: 18px; }
.widget li { margin: 7px 0; }
.widget a { text-decoration: none; }

/* Share & author */
.do-share { margin: 38px 0 30px; padding: 22px 0; border-top: 1px solid var(--do-border); border-bottom: 1px solid var(--do-border); }
.do-share__title { display: block; margin-bottom: 11px; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.do-share__links, .do-social-links { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.do-share__links a, .do-share__links button {
  width: 42px; height: 42px; min-height: 42px; padding: 0; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--do-border); border-radius: 8px; background: #fff; color: var(--do-green-dark); text-decoration: none;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}
.do-social-links a {
  width: 38px; height: 38px; min-height: 38px; padding: 0; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid #ccd6cf; border-radius: 50%; background: #fff; color: var(--do-green-dark); text-decoration: none;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}
.do-share__links a:hover, .do-share__links button:hover, .do-social-links a:hover {
  background: var(--do-green-dark); color: #fff; border-color: var(--do-green-dark); transform: translateY(-1px);
}
.do-share__links a:focus-visible, .do-share__links button:focus-visible, .do-social-links a:focus-visible {
  outline: 3px solid rgba(180,141,45,.28); outline-offset: 2px;
}
.do-share__links button { cursor: pointer; }
.do-share__links button.is-copied { background: #e8f2eb; color: var(--do-green-dark); border-color: #9db6a6; }
.do-social-icon { width: 19px; height: 19px; display: block; flex: 0 0 auto; }
.do-social-links .do-social-icon { width: 18px; height: 18px; }
.do-sr-only {
  position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important;
  overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important;
}
.do-author-box { display: grid; grid-template-columns: 72px 1fr; gap: 18px; margin: 32px 0; padding: 24px; background: #f8faf7; border: 1px solid var(--do-border); }
.do-author-box img { border-radius: 50%; }
.do-author-box h3 { margin: 0 0 7px; font: 700 1.15rem/1.2 var(--do-serif); }
.do-author-box p { margin: 0; color: var(--do-muted); font-size: .84rem; }

/* Related */
.do-related { margin-top: 42px; }
.do-related h2 { font: 700 1.6rem/1.1 var(--do-serif); }
.do-related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.do-related-card { padding: 18px; border: 1px solid var(--do-border); color: inherit; text-decoration: none; background: #fff; }
.do-related-card h3 { margin: 7px 0 0; font: 700 .98rem/1.3 var(--do-serif); }
.do-related-card small { color: var(--do-muted); font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; }

/* Archive */
.archive-header { padding: 58px 0 32px; }
.archive-title { margin: 0; font-size: clamp(2.4rem,5vw,4.3rem); }
.archive-description { max-width: 760px; color: var(--do-muted); }
.do-card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; padding-bottom: 76px; }
.do-post-card { background: #fff; border: 1px solid var(--do-border); }
.do-post-card__image { display: block; aspect-ratio: 16/9; overflow: hidden; background: #edf1ed; }
.do-post-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.do-post-card:hover img { transform: scale(1.015); }
.do-post-card__body { padding: 20px; }
.do-post-card__body h2, .do-post-card__body h3 { margin: 6px 0 9px; font: 700 1.32rem/1.16 var(--do-serif); }
.do-post-card__body h2 a, .do-post-card__body h3 a { color: inherit; text-decoration: none; }
.do-post-card__body p { margin: 0; color: var(--do-muted); font-size: .82rem; }
.navigation.pagination { margin: 0 0 72px; }
.nav-links { display: flex; gap: 7px; flex-wrap: wrap; }
.page-numbers { min-width: 38px; min-height: 38px; display: inline-grid; place-items: center; padding: 6px 10px; border: 1px solid var(--do-border); text-decoration: none; background: #fff; }
.page-numbers.current { background: var(--do-green-dark); color: #fff; border-color: var(--do-green-dark); }

/* Calculator UI */
.do-calculator-tool { margin: 26px 0 34px; padding: clamp(22px,4vw,36px); background: #fff; border: 1px solid var(--do-border); box-shadow: 0 10px 28px rgba(15,40,25,.05); }
.do-calculator-form { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.do-field label { display: block; margin-bottom: 6px; font-size: .76rem; font-weight: 800; }
.do-field input, .do-field select { width: 100%; min-height: 46px; padding: 9px 11px; border: 1px solid #cfd8d1; border-radius: 4px; background: #fff; }
.do-calculator-actions { grid-column: 1/-1; }
.do-calculator-result { margin-top: 24px; padding: 22px; background: var(--do-green-soft); border-left: 4px solid var(--do-green); }
.do-calculator-result-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.do-calculator-result small { display: block; color: var(--do-muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.do-calculator-result strong { display: block; margin-top: 3px; font: 700 1.45rem/1.1 var(--do-serif); }
.do-calc-note { margin-top: 12px; color: var(--do-muted); font-size: .74rem; }

/* Ads */
.do-ad { width: 100%; display: flex; justify-content: center; align-items: center; margin: 24px auto; overflow: hidden; }
.do-ad > * { max-width: 100%; }
.do-ad-placeholder { width: 100%; min-height: 90px; display: grid; place-items: center; border: 1px dashed #cfd7d1; background: #fafbf9; color: #8a938e; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }

/* Footer */
.site-footer { background: #f7f7f2; border-top: 1px solid var(--do-border); }
.do-footer-follow { padding: 28px 0; border-bottom: 1px solid var(--do-border); }
.do-footer-follow__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.do-footer-main { display: grid; grid-template-columns: 1.2fr 2fr; gap: 64px; padding: 52px 0 38px; }
.do-footer-brand img { width: 168px; max-height: 58px; object-fit: contain; object-position: left; }
.do-footer-brand p { max-width: 360px; color: var(--do-muted); font-size: .78rem; }
.do-footer-menus { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.do-footer-menu h3 { margin: 0 0 14px; font-size: .7rem; letter-spacing: .09em; text-transform: uppercase; }
.do-footer-menu ul { margin: 0; padding: 0; list-style: none; }
.do-footer-menu li { margin: 7px 0; }
.do-footer-menu a { color: #59645e; font-size: .75rem; text-decoration: none; }
.do-footer-bottom { padding: 20px 0 26px; border-top: 1px solid var(--do-border); color: #77817b; font-size: .7rem; }
.do-footer-bottom__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.do-footer-bottom nav a { color: inherit; margin-left: 15px; text-decoration: none; }

/* Comments */
.comments-area { margin-top: 44px; }
.comments-title { font: 700 1.45rem/1.2 var(--do-serif); }
.comment-list { padding: 0; list-style: none; }
.comment-body { margin: 18px 0; padding: 18px; border: 1px solid var(--do-border); background: #fff; }
.comment-meta { font-size: .75rem; }
.comment-content { font-size: .9rem; }
.comment-respond input:not([type=submit]), .comment-respond textarea { width: 100%; border: 1px solid var(--do-border); padding: 10px; background: #fff; }
.form-submit .submit { min-height: 44px; padding: 10px 16px; border: 0; background: var(--do-green-dark); color: #fff; font-weight: 700; }



/* =========================================================
   Calculator Pages (v1.3 Pages-first architecture)
   ========================================================= */
.do-calculator-page-wrap {
  width: min(calc(100% - 36px), var(--do-max));
  margin-inline: auto;
}
.do-calculator-entry-header {
  width: min(100%, 920px);
  margin: 0 auto 28px;
}
.do-calculator-page .entry-title {
  font-size: clamp(2.35rem,5vw,4.2rem);
}
.do-calculator-featured-image {
  width: min(100%, 1100px);
  margin: 26px auto 34px;
}
.do-calculator-page-content {
  width: 100%;
  min-width: 0;
}
/* Keep explanatory article text comfortable while allowing each calculator
   wrapper to choose its own wider layout. */
.do-calculator-page-content > p,
.do-calculator-page-content > h2,
.do-calculator-page-content > h3,
.do-calculator-page-content > h4,
.do-calculator-page-content > ul,
.do-calculator-page-content > ol,
.do-calculator-page-content > blockquote,
.do-calculator-page-content > figure.wp-block-table,
.do-calculator-page-content > .wp-block-separator {
  width: min(100%, 820px);
  margin-left: auto;
  margin-right: auto;
}
.do-calculator-page-content > h2 { margin-top: 2.1em; }
.do-calculator-page-content .doak401-takeaways,
.do-calculator-page-content .doak401-faq {
  width: min(100%, 820px);
  margin-left: auto;
  margin-right: auto;
}
.do-calculator-page .do-share,
.do-calculator-page .do-author-box,
.do-calculator-page .do-related,
.do-calculator-page #comments {
  width: min(100%, 920px);
  margin-left: auto;
  margin-right: auto;
}

/* Calculator directory */
.do-directory-header { max-width: 800px; margin-bottom: 34px; }
.do-directory-intro { color: var(--do-muted); font-size: 1.04rem; }
.do-calculator-page-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 20px;
}
.do-calculator-page-card {
  background: #fff;
  border: 1px solid var(--do-border);
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.do-calculator-page-card__image { display: block; overflow: hidden; }
.do-calculator-page-card__image img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.do-calculator-page-card__body { padding: 22px; }
.do-calculator-page-card__body small {
  color: var(--do-green);
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
}
.do-calculator-page-card__body h2 {
  margin: 7px 0 8px;
  font: 700 1.35rem/1.2 var(--do-serif);
}
.do-calculator-page-card__body h2 a { color: inherit; text-decoration: none; }
.do-calculator-page-card__body p { margin: 0 0 15px; color: var(--do-muted); font-size: .88rem; }
.do-empty-state {
  max-width: 760px;
  padding: 28px;
  border: 1px dashed var(--do-border);
  background: #fff;
}
.do-empty-state h2 { margin-top: 0; font: 700 1.6rem/1.2 var(--do-serif); }

@media (max-width: 1050px) {
  .primary-navigation ul { gap: 14px; }
  .primary-navigation a { font-size: .78rem; }
  .header-calculators { display: none; }
  .do-content-grid { grid-template-columns: minmax(0,1fr) 280px; gap: 36px; }
}

@media (max-width: 860px) {
  .site-header__row { min-height: 66px; }
  .custom-logo, .do-fallback-logo img { width: 152px; }
  .menu-toggle { display: inline-grid; }
  .desktop-navigation { display: none; }
  .mobile-menu-panel {
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    display: none;
    margin: 0;
    background: #fff;
    border-top: 1px solid #eef1ee;
    border-bottom: 1px solid var(--do-border);
    box-shadow: 0 14px 28px rgba(15,40,25,.10);
  }
  .mobile-menu-panel.is-open { display: block; }
  .mobile-menu-panel__inner { width: min(calc(100% - 32px), 720px); margin: 0 auto; padding: 16px 0 22px; }
  .mobile-menu-search { display: block; margin: 0 0 10px; padding: 0 0 15px; border-bottom: 1px solid #eef1ee; }
  .mobile-menu-search__label { display: block; margin: 0 0 7px; color: var(--do-muted); font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
  .mobile-menu-search .search-form { gap: 7px; }
  .mobile-menu-search .search-field { min-height: 44px; font-size: 16px; }
  .mobile-menu-search .search-submit { min-height: 44px; padding-inline: 15px; }
  .mobile-navigation { display: block; }
  .mobile-menu-home {
    display: block;
    padding: 13px 2px;
    border-bottom: 1px solid #eef1ee;
    color: #24312a;
    text-decoration: none;
    font-size: .94rem;
    font-weight: 750;
  }
  .mobile-menu-home:hover, .mobile-menu-home.is-current { color: var(--do-green); }
  .mobile-navigation ul { display: block; margin: 0; padding: 0; list-style: none; }
  .mobile-navigation li { margin: 0; border-bottom: 1px solid #eef1ee; }
  .mobile-navigation li:last-child { border-bottom: 0; }
  .mobile-navigation a { display: block; padding: 13px 2px; color: #24312a; text-decoration: none; font-size: .94rem; font-weight: 650; }
  .mobile-navigation a:hover, .mobile-navigation .current-menu-item > a { color: var(--do-green); }
  .header-actions { margin-left: auto; }
  .do-hero { min-height: 0; padding: 0; }
  .do-hero__grid { min-height: 0; display: grid; grid-template-columns: 1fr; }
  .do-hero__copy { width: 100%; padding: 42px 0 30px; }
  .do-guides-grid, .do-glossary-wrap, .do-standards-layout, .do-newsletter, .do-footer-main { grid-template-columns: 1fr; }
  .do-hero__visual {
    position: relative;
    width: 100vw;
    height: 340px;
    min-height: 340px;
    margin-left: calc(50% - 50vw);
  }
  .do-hero__visual::after {
    background: linear-gradient(180deg, #fbfaf5 0%, rgba(251,250,245,.68) 8%, rgba(251,250,245,0) 26%);
  }
  .do-hero__photo, .do-hero__visual-fallback { height: 340px; min-height: 340px; }
  .do-trust-grid { grid-template-columns: repeat(2,1fr); }
  .do-trust-item:nth-child(3) { border-left: 0; border-top: 1px solid var(--do-border); }
  .do-trust-item:nth-child(4) { border-top: 1px solid var(--do-border); }
  .do-intent-grid { grid-template-columns: repeat(2,1fr); }
  .do-intent-card:nth-child(3n) { border-right: 1px solid var(--do-border); }
  .do-intent-card:nth-child(2n) { border-right: 0; }
  .do-intent-card:nth-last-child(-n+3) { border-bottom: 1px solid var(--do-border); }
  .do-intent-card:nth-last-child(-n+2) { border-bottom: 0; }
  .do-calculator-layout, .do-content-grid { grid-template-columns: 1fr; }
  .do-popular-calculator-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .widget-area { position: static; }
  .do-decision-grid, .do-card-grid { grid-template-columns: repeat(2,1fr); }
  .do-footer-main { gap: 34px; }
}

@media (max-width: 620px) {
  .do-container, .do-narrow { width: min(calc(100% - 24px), var(--do-max)); }
  .do-section { padding: 54px 0; }
  .do-section-head { align-items: flex-start; flex-direction: column; gap: 9px; }
  .hero-title { font-size: clamp(2.65rem,13vw,3.65rem); }
  .do-hero__tagline { font-size: 1.12rem; }
  .do-hero__copy { padding: 34px 0 24px; }
  .do-hero__visual { height: 290px; min-height: 290px; }
  .do-hero__photo, .do-hero__visual-fallback { height: 290px; min-height: 290px; }
  .do-intent-grid, .do-decision-grid, .do-card-grid, .do-standards-grid, .do-related-grid, .do-calculator-form, .do-calculator-result-grid, .do-popular-calculator-grid { grid-template-columns: 1fr; }
  /* Compact mobile trust grid: keep these trust signals without four tall full-width rows. */
  .do-trust-strip { padding: 12px 0; background: #fbfaf5; }
  .do-trust-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .do-trust-item,
  .do-trust-item + .do-trust-item,
  .do-trust-item:nth-child(3),
  .do-trust-item:nth-child(4) {
    min-height: 76px;
    padding: 12px 10px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    text-align: left;
    border: 1px solid var(--do-border)!important;
    border-radius: 8px;
    background: #fff;
    color: #34463d;
    font-size: .72rem;
    line-height: 1.3;
  }
  .do-trust-item::before {
    width: 29px;
    height: 29px;
    min-width: 29px;
    margin: 0;
    display: grid;
    place-items: center;
    border: 1px solid #d8e4dc;
    border-radius: 7px;
    background: var(--do-green-soft);
    color: var(--do-green-dark);
    font: 800 .78rem/1 var(--do-sans);
  }
  .do-trust-item:nth-child(1)::before { content: '✓'; }
  .do-trust-item:nth-child(2)::before { content: '↗'; }
  .do-trust-item:nth-child(3)::before { content: '='; }
  .do-trust-item:nth-child(4)::before { content: 'Aa'; font-size: .62rem; letter-spacing: -.02em; }
  .do-intent-card { border-right: 0!important; border-bottom: 1px solid var(--do-border)!important; min-height: 150px; }
  .do-intent-card:last-child { border-bottom: 0!important; }
  .do-calculator-layout { border-left: 0; border-right: 0; }
  .do-featured-calculator { min-height: 0; padding: 30px 22px; }
  .do-calc-metrics { gap: 10px; }
  .do-calc-metric strong { font-size: 1.15rem; }
  .do-guide-row { grid-template-columns: 1fr 86px; }
  .do-guide-row img { width: 86px; height: 66px; }
  .do-explore-row { grid-template-columns: 34px 1fr 20px; gap: 10px; }
  .do-explore-row p { display: none; }
  .do-standards-section { padding: 54px 0; }
  .do-standards-copy { max-width: none; }
  .do-standards-title { max-width: 520px; }
  .do-standards-grid { grid-template-columns: 1fr; gap: 12px; }
  .do-standard { min-height: 0; padding: 22px; }
  .do-standards-links { gap: 9px; }
  .do-standards-link { width: 100%; justify-content: space-between; }
  .do-newsletter-form-row { flex-direction: column; }
  .entry-title { font-size: clamp(2.25rem,12vw,3.5rem); }
  .entry-content { font-size: 1rem; }
  .do-author-box { grid-template-columns: 54px 1fr; padding: 18px; }
  .do-footer-follow__row, .do-footer-bottom__row { align-items: flex-start; flex-direction: column; }
  .do-footer-menus { grid-template-columns: repeat(2,1fr); }
  .do-footer-bottom nav a { margin: 0 12px 0 0; }
  .header-search-button { display: none; }
}

@media (max-width: 1050px) {
  .do-category-card-grid, .do-calculator-page-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 860px) {
  .do-live-section { padding: 62px 0 58px; }
  .do-live-tool { grid-template-columns: 1fr; border-radius: 19px; }
  .do-live-tool__controls { border-right: 0; border-bottom: 1px solid rgba(119,174,135,.27); }
  .do-live-result__value { font-size: clamp(3.1rem,11vw,5rem); }
}

@media (max-width: 620px) {
  .do-live-section { padding: 52px 0 48px; }
  .do-live-heading { margin-bottom: 24px; }
  .do-live-heading h2 { font-size: clamp(2.25rem,11vw,3.45rem); }
  .do-live-tool { border-radius: 15px; }
  .do-live-tool__controls, .do-live-tool__result { padding: 24px 18px; }
  .do-live-control + .do-live-control { margin-top: 22px; }
  .do-live-control__top { gap: 8px; }
  .do-live-control__top > div { grid-template-columns: 34px 1fr; column-gap: 10px; }
  .do-live-icon { width: 34px; height: 34px; border-radius: 9px; }
  .do-live-control output { min-width: 75px; font-size: .92rem; }
  .do-live-control__top small { font-size: .67rem; }
  .do-live-result__breakdown { grid-template-columns: 1fr 1fr; gap: 15px; }
  .do-live-result__breakdown > span { display: none; }
  .do-live-result__years { grid-column: 1/-1; padding-top: 11px; border-top: 1px solid rgba(169,195,177,.17); }
  .do-live-chart { height: 112px; margin-bottom: 16px; }
  .do-live-tool__actions { grid-template-columns: 1fr; }
  .do-category-card-grid, .do-calculator-page-grid { grid-template-columns: 1fr; }
  .do-calculator-page-wrap { width: min(calc(100% - 24px), var(--do-max)); }
  .do-calculator-entry-header { margin-bottom: 20px; }
  .do-category-block { padding: 30px 0 34px; }
  .do-category-block__head { align-items: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto!important; transition: none!important; animation: none!important; }
}
