/* Roth Mentor public site shell 1.1.2. All rules are limited to plugin-rendered pages. */
body.rothmentor-site-page {
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: clip;
  background: #f7f9fb;
}

#rothmentor-site {
  --navy: #1b3a5c;
  --navy-d: #16304d;
  --orange: #ed8b2a;
  --gold: #d4a843;
  --sky: #7fbee8;
  --ink: #1a2332;
  --mute: #6b7785;
  --line: #dde3ea;
  --bg: #f7f9fb;
  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  width: 100%;
  min-height: 100svh;
  margin: 0;
  padding: 0;
  overflow: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
}

#rothmentor-site,
#rothmentor-site *,
#rothmentor-site *::before,
#rothmentor-site *::after { box-sizing: border-box; }

#rothmentor-site * { margin: 0; }
#rothmentor-site img { max-width: 100%; height: auto; }
#rothmentor-site button,
#rothmentor-site input,
#rothmentor-site select,
#rothmentor-site textarea { font-family: var(--font-sans); }

#rothmentor-site .site-header {
  position: sticky;
  z-index: 150;
  top: 0;
  display: block;
  width: 100%;
  padding: 0;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 1px 0 rgb(255 255 255 / 12%);
}

body.admin-bar #rothmentor-site .site-header { top: 32px; }

#rothmentor-site .site-shell {
  width: min(100%, 1160px);
  margin-inline: auto;
  padding-inline: 24px;
}

#rothmentor-site .site-header .site-shell {
  position: relative;
  display: flex;
  min-height: 78px;
  padding-block: 8px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

#rothmentor-site .site-logo {
  display: inline-flex;
  min-width: 152px;
  min-height: 52px;
  align-items: center;
}

#rothmentor-site .site-logo img {
  display: block;
  width: 158px;
  max-height: 58px;
  object-fit: contain;
  filter:
    drop-shadow(1px 0 0 rgb(255 255 255 / 88%))
    drop-shadow(-1px 0 0 rgb(255 255 255 / 88%))
    drop-shadow(0 1px 0 rgb(255 255 255 / 88%))
    drop-shadow(0 -1px 0 rgb(255 255 255 / 88%));
}

#rothmentor-site .site-nav {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 4px clamp(10px, 1.7vw, 24px);
}

#rothmentor-site .site-nav-menu,
#rothmentor-site .site-footer-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

#rothmentor-site .site-nav-menu {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px clamp(10px, 1.7vw, 24px);
}

#rothmentor-site .site-nav-menu > li {
  display: flex;
  min-width: 0;
}

#rothmentor-site .site-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #fff;
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

#rothmentor-site .site-nav a:hover,
#rothmentor-site .site-nav a[aria-current="page"] { color: var(--sky); }

#rothmentor-site .site-nav .site-nav-cta {
  padding: 0 20px;
  background: var(--orange);
  border-radius: 8px;
  color: #fff;
}

#rothmentor-site .site-nav .site-nav-cta:hover {
  background: #d97920;
  color: #fff;
}

#rothmentor-site .site-menu-button {
  display: none;
  min-width: 76px;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid rgb(255 255 255 / 45%);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

#rothmentor-site .rothmentor-site-main {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  scroll-margin-top: 78px;
}

#rothmentor-site .rothmentor-home-section {
  width: 100%;
  scroll-margin-top: 78px;
}

#rothmentor-site .site-footer {
  display: block;
  width: 100%;
  padding: 34px 0;
  background: var(--navy);
  color: #fff;
  font-size: .875rem;
}

#rothmentor-site .site-footer-inner {
  display: grid;
  gap: 12px;
  text-align: center;
}

#rothmentor-site .site-footer p { margin: 0; color: #fff; }

#rothmentor-site .site-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 18px;
}

#rothmentor-site .site-footer-menu {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 18px;
}

#rothmentor-site .site-footer-menu > li {
  display: flex;
  align-items: center;
}

#rothmentor-site .site-footer a,
#rothmentor-site .site-footer-links a {
  display: inline-flex;
  min-height: 44px;
  padding: 6px 2px;
  align-items: center;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#rothmentor-site .site-footer a:hover,
#rothmentor-site .site-footer a[aria-current="page"] { color: var(--sky); }

#rothmentor-site .site-service-line a {
  display: inline;
  min-height: 0;
  padding: 0;
  font-weight: 600;
  text-decoration-color: rgb(212 168 67 / 75%);
}

#rothmentor-site .site-footer-disclosure {
  width: min(100%, 940px);
  margin-inline: auto;
  color: #d7e3ee;
  line-height: 1.65;
}

#rothmentor-site .site-footer-disclosure p { color: inherit; }

#rothmentor-site .rothmentor-start-anchor {
  display: block;
  width: 100%;
  height: 0;
  scroll-margin-top: 86px;
}

#rothmentor-site #roth-calculator .corner-main-logo { display: none; }
#rothmentor-site #roth-calculator .corner-qr-top { top: 96px; }

#rothmentor-site #roth-calculator.landing-on .landing,
#rothmentor-site #roth-calculator.landing-on .landing-content {
  min-height: calc(100svh - 78px);
}

#rothmentor-site #roth-calculator.wizard-on,
#rothmentor-site #roth-calculator.wizard-on .roth-calculator-main,
#rothmentor-site #roth-calculator.wizard-on .wizard {
  min-height: calc(100svh - 78px);
}

#rothmentor-site #roth-calculator.wizard-on {
  height: auto;
  overflow: visible;
}

#rothmentor-site .page-hero {
  padding: 82px 24px 70px;
  background: var(--navy-d);
  color: #fff;
  text-align: center;
}

#rothmentor-site .page-hero > * {
  max-width: 820px;
  margin-inline: auto;
}

#rothmentor-site .page-hero h1 {
  margin: 0;
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 7vw, 4.8rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.02;
}

#rothmentor-site .page-hero p {
  margin-top: 18px;
  color: #c8daea;
  font-size: 1.08rem;
}

#rothmentor-site .why-page-hero {
  overflow: hidden;
  padding-block: 64px;
  text-align: left;
}

#rothmentor-site .why-page-hero .page-hero-inner {
  display: grid;
  width: min(100%, 1440px);
  max-width: 1440px;
  margin-inline: auto;
  grid-template-columns: minmax(360px, .82fr) minmax(520px, 1.18fr);
  align-items: center;
  gap: clamp(42px, 6vw, 96px);
}

#rothmentor-site .why-page-hero .page-hero-copy {
  position: relative;
  z-index: 2;
}

#rothmentor-site .why-page-hero .page-hero-copy > * { max-width: 650px; }
#rothmentor-site .why-page-hero .page-hero-copy p { margin-inline: 0; line-height: 1.65; }

#rothmentor-site .why-hero-visual {
  position: relative;
  min-width: 0;
  margin: 0;
}

#rothmentor-site .why-hero-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 28px;
  background: #102942;
  box-shadow: 0 30px 70px rgb(4 18 31 / 34%);
  isolation: isolate;
}

#rothmentor-site .why-hero-frame::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

#rothmentor-site .why-hero-image {
  position: absolute;
  inset: -2%;
  width: 104%;
  height: 104%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.01);
  animation: rothmentor-why-cycle 30s ease-in-out infinite both;
}

#rothmentor-site .why-hero-image:nth-child(1) { animation-delay: 0s; }
#rothmentor-site .why-hero-image:nth-child(2) { animation-delay: -24s; }
#rothmentor-site .why-hero-image:nth-child(3) { animation-delay: -18s; }
#rothmentor-site .why-hero-image:nth-child(4) { animation-delay: -12s; }
#rothmentor-site .why-hero-image:nth-child(5) { animation-delay: -6s; }

#rothmentor-site .why-hero-progress {
  display: flex;
  min-height: 24px;
  margin-top: 14px;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

#rothmentor-site .why-hero-progress span {
  display: block;
  width: 28px;
  height: 3px;
  background: rgb(200 218 234 / 32%);
  border-radius: 999px;
  animation: rothmentor-why-marker 30s ease-in-out infinite both;
}

#rothmentor-site .why-hero-progress span:nth-child(1) { animation-delay: 0s; }
#rothmentor-site .why-hero-progress span:nth-child(2) { animation-delay: -24s; }
#rothmentor-site .why-hero-progress span:nth-child(3) { animation-delay: -18s; }
#rothmentor-site .why-hero-progress span:nth-child(4) { animation-delay: -12s; }
#rothmentor-site .why-hero-progress span:nth-child(5) { animation-delay: -6s; }

@keyframes rothmentor-why-cycle {
  0%, 16% { opacity: 1; transform: scale(1.01); }
  20%, 96% { opacity: 0; transform: scale(1.055); }
  100% { opacity: 1; transform: scale(1.01); }
}

@keyframes rothmentor-why-marker {
  0%, 16% { background: var(--gold); transform: scaleX(1); }
  20%, 96% { background: rgb(200 218 234 / 32%); transform: scaleX(.72); }
  100% { background: var(--gold); transform: scaleX(1); }
}

#rothmentor-site .content-shell {
  width: min(100%, 1040px);
  margin-inline: auto;
  padding: 72px 24px 84px;
}

#rothmentor-site .content-shell > h2,
#rothmentor-site .content-shell > h3 { color: var(--navy); }

#rothmentor-site .content-shell > h2 {
  margin: 0 0 24px;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
}

#rothmentor-site .comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
}

#rothmentor-site .comparison-table th,
#rothmentor-site .comparison-table td {
  padding: 18px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

#rothmentor-site .comparison-table th {
  background: #edf3f7;
  color: var(--navy);
  font-weight: 600;
}

#rothmentor-site .reason-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 52px;
}

#rothmentor-site .reason-grid[data-reason-count="1"] { grid-template-columns: minmax(0, 1fr); }
#rothmentor-site .reason-grid[data-reason-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }

#rothmentor-site .reason-grid section {
  padding-top: 20px;
  border-top: 3px solid var(--gold);
}

#rothmentor-site .reason-grid h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 400;
}

#rothmentor-site .process-board {
  position: relative;
  padding: 34px;
  border: 1px solid #cfdce8;
  border-radius: 32px;
  background: #eef3f7;
  box-shadow: 0 24px 60px rgb(22 48 77 / 10%);
}

#rothmentor-site .steps-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#rothmentor-site .steps-list li {
  position: relative;
  min-height: 232px;
  overflow: hidden;
  padding: 34px 34px 32px 108px;
  background: #fff;
  border: 1px solid #d3dee8;
  border-radius: 22px;
  box-shadow: 0 16px 34px rgb(27 58 92 / 9%);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

#rothmentor-site .steps-list li::before {
  position: absolute;
  top: 34px;
  bottom: 34px;
  left: 84px;
  width: 1px;
  background: #dce6ee;
  content: "";
}

#rothmentor-site .steps-list li::after {
  position: absolute;
  right: -26px;
  bottom: -26px;
  width: 72px;
  height: 72px;
  border: 1px solid rgb(127 190 232 / 55%);
  border-radius: 50%;
  content: "";
}

#rothmentor-site .steps-list li:hover {
  border-color: #aabfd0;
  box-shadow: 0 22px 42px rgb(27 58 92 / 14%);
  transform: translateY(-3px);
}

#rothmentor-site .step-number {
  position: absolute;
  top: 28px;
  left: 22px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 32%);
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 8px 18px rgb(22 48 77 / 18%);
  color: #fff;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
}

#rothmentor-site .steps-list h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.14;
}

#rothmentor-site .steps-list li > p:last-child {
  color: #546476;
  line-height: 1.65;
}

#rothmentor-site .process-brand {
  position: absolute;
  z-index: 6;
  top: 50%;
  left: 50%;
  display: grid;
  width: 116px;
  height: 116px;
  padding: 12px;
  place-items: center;
  border: 1px solid rgb(212 168 67 / 70%);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 18px 36px rgb(22 48 77 / 22%);
  transform: translate(-50%, -50%);
}

#rothmentor-site .process-brand img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: rothmentor-logo-float 4.5s ease-in-out infinite;
}

#rothmentor-site .process-brand-ring {
  position: absolute;
  inset: -10px;
  border: 1px solid rgb(127 190 232 / 48%);
  border-radius: 50%;
  animation: rothmentor-logo-ring 3.6s ease-out infinite;
}

#rothmentor-site .process-brand-ring-two { animation-delay: -1.8s; }

@keyframes rothmentor-logo-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(1.035); }
}

@keyframes rothmentor-logo-ring {
  0% { opacity: .65; transform: scale(.86); }
  70%, 100% { opacity: 0; transform: scale(1.34); }
}

#rothmentor-site .how-page-hero {
  padding-block: 46px;
  text-align: left;
}

#rothmentor-site .how-page-hero .page-hero-inner {
  display: grid;
  width: min(100%, 1160px);
  max-width: 1160px;
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr) 250px;
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
}

#rothmentor-site .how-page-hero .page-hero-copy > * {
  max-width: 780px;
  margin-inline: 0;
}

#rothmentor-site .page-hero-eyebrow {
  margin: 0 0 12px !important;
  color: var(--gold) !important;
  font-size: .78rem !important;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

#rothmentor-site .how-hero-qr {
  position: relative;
  z-index: 1;
  width: 220px;
  margin: 0 auto;
  padding: 13px 13px 14px;
  border: 1px solid rgb(255 255 255 / 30%);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 24px 50px rgb(5 20 34 / 34%);
  text-align: center;
}

#rothmentor-site .how-hero-qr a {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 176px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #fff;
}

#rothmentor-site .how-hero-qr img {
  display: block;
  width: 164px;
  height: 196px;
  object-fit: contain;
}

#rothmentor-site .how-hero-qr figcaption {
  position: relative;
  z-index: 2;
  margin-top: 3px;
  color: var(--navy);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

#rothmentor-site .how-qr-ring {
  position: absolute;
  z-index: -1;
  inset: -10px;
  border: 1px solid rgb(127 190 232 / 50%);
  border-radius: 32px;
  animation: rothmentor-qr-pulse 4s ease-out infinite;
}

#rothmentor-site .how-qr-ring-two { animation-delay: -2s; }

@keyframes rothmentor-qr-pulse {
  0% { opacity: .58; transform: scale(.96); }
  75%, 100% { opacity: 0; transform: scale(1.14); }
}

#rothmentor-site .faq-block {
  width: min(100%, 800px);
  margin: 64px auto 0;
}

body.faq-page #rothmentor-site .faq-block { margin-top: 0; }

#rothmentor-site .faq-block h2,
#rothmentor-site .faq-block h3 {
  margin: 0 0 18px;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
}

#rothmentor-site .faq-block details {
  border-top: 1px solid var(--line);
  background: #fff;
}

#rothmentor-site .faq-block details:last-of-type { border-bottom: 1px solid var(--line); }

#rothmentor-site .faq-block summary {
  min-height: 58px;
  padding: 16px 42px 16px 4px;
  color: var(--navy);
  font-weight: 600;
  cursor: pointer;
}

#rothmentor-site .faq-block details p {
  padding: 0 4px 20px;
  color: var(--mute);
}

#rothmentor-site .page-cta {
  margin-top: 64px;
  padding: 42px;
  background: var(--navy);
  color: #fff;
  text-align: center;
}

#rothmentor-site .page-cta h2 {
  color: #fff;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
}

#rothmentor-site .page-cta p { margin-top: 10px; color: #c8daea; }

#rothmentor-site .page-cta a {
  display: inline-flex;
  min-height: 48px;
  margin-top: 22px;
  padding: 12px 24px;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

body.legal-page #rothmentor-site .rothmentor-site-main {
  padding: 64px 20px 80px;
}

#rothmentor-site .legal-content {
  width: min(100%, 640px);
  max-width: 640px;
  margin-inline: auto;
  padding: 0;
}

#rothmentor-site .legal-content h1 {
  margin: 0 0 34px;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: clamp(2.35rem, 8vw, 3.65rem);
  font-weight: 400;
  line-height: 1.05;
  text-align: left;
}

#rothmentor-site .legal-content h2 {
  margin: 30px 0 10px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 400;
}

#rothmentor-site .legal-content p,
#rothmentor-site .legal-content li {
  color: #4f5f70;
  line-height: 1.8;
}

#rothmentor-site .legal-content ul {
  margin: 14px 0 0;
  padding-left: 22px;
}

/* Generic client pages and WordPress post views. */
#rothmentor-site .standard-content,
#rothmentor-site .single-article,
#rothmentor-site .articles-shell,
#rothmentor-site .not-found-content {
  width: min(100% - 40px, 1120px);
  margin-inline: auto;
  padding-block: clamp(54px, 8vw, 92px);
}

#rothmentor-site .standard-content,
#rothmentor-site .single-article { max-width: 820px; }

#rothmentor-site .standard-content-header,
#rothmentor-site .article-header,
#rothmentor-site .articles-header { margin-bottom: 36px; }

#rothmentor-site .standard-content h1,
#rothmentor-site .article-header h1,
#rothmentor-site .articles-header h1,
#rothmentor-site .not-found-content h1 {
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 7vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.04;
}

#rothmentor-site .article-kicker {
  margin-bottom: 12px;
  color: var(--orange);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

#rothmentor-site .article-header time,
#rothmentor-site .post-card time {
  display: block;
  margin-top: 16px;
  color: var(--mute);
  font-size: .84rem;
}

#rothmentor-site .standard-featured-image,
#rothmentor-site .article-featured-image {
  overflow: hidden;
  margin-bottom: 40px;
  border-radius: 18px;
  background: #e8eef3;
  box-shadow: 0 20px 50px rgb(22 48 77 / 10%);
}

#rothmentor-site .standard-featured-image img,
#rothmentor-site .article-featured-image img {
  display: block;
  width: 100%;
}

#rothmentor-site .entry-content { color: #435467; }
#rothmentor-site .entry-content > * + * { margin-top: 1.3em; }
#rothmentor-site .entry-content h2,
#rothmentor-site .entry-content h3 {
  color: var(--navy);
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.18;
}
#rothmentor-site .entry-content h2 { font-size: clamp(1.8rem, 4vw, 2.45rem); }
#rothmentor-site .entry-content h3 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
#rothmentor-site .entry-content p,
#rothmentor-site .entry-content li { line-height: 1.82; }
#rothmentor-site .entry-content ul,
#rothmentor-site .entry-content ol { padding-left: 1.5em; }
#rothmentor-site .entry-content a { color: #1e638d; text-underline-offset: 3px; }
#rothmentor-site .entry-content blockquote {
  padding: 18px 22px;
  border-left: 4px solid var(--gold);
  background: #eef3f7;
  color: var(--navy);
}
#rothmentor-site .entry-content table { width: 100%; border-collapse: collapse; }
#rothmentor-site .entry-content th,
#rothmentor-site .entry-content td { padding: 12px; border: 1px solid var(--line); text-align: left; }
#rothmentor-site .entry-content img { height: auto; }
#rothmentor-site .entry-content,
#rothmentor-site .post-card,
#rothmentor-site .post-card h2,
#rothmentor-site .standard-content h1,
#rothmentor-site .article-header h1 { overflow-wrap: anywhere; }

#rothmentor-site .articles-header {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

#rothmentor-site .archive-description {
  margin-top: 16px;
  color: var(--mute);
  line-height: 1.7;
}

#rothmentor-site .post-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 28px;
}

#rothmentor-site .post-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 40px rgb(22 48 77 / 8%);
}

#rothmentor-site .post-card-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #e8eef3;
}

#rothmentor-site .post-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

#rothmentor-site .post-card:hover .post-card-image img { transform: scale(1.025); }

#rothmentor-site .post-card-body {
  display: flex;
  padding: 25px;
  flex: 1;
  flex-direction: column;
}

#rothmentor-site .post-card-body time { margin-top: 0; }

#rothmentor-site .post-card h2 {
  margin-top: 10px;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1.18;
}

#rothmentor-site .post-card h2 a { color: inherit; text-decoration: none; }
#rothmentor-site .post-card h2 a:hover { color: #1e638d; }
#rothmentor-site .post-card-body > p { margin-top: 14px; color: #596879; line-height: 1.65; }

#rothmentor-site .post-card-more {
  display: inline-flex;
  min-height: 44px;
  margin-top: auto;
  padding-top: 18px;
  align-items: center;
  color: var(--orange);
  font-weight: 700;
  text-decoration: none;
}

#rothmentor-site .navigation.pagination { margin-top: 44px; }
#rothmentor-site .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
#rothmentor-site .page-numbers {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  text-decoration: none;
}
#rothmentor-site .page-numbers.current { border-color: var(--navy); background: var(--navy); color: #fff; }

#rothmentor-site .articles-empty,
#rothmentor-site .not-found-content {
  padding-inline: 28px;
  text-align: center;
}

#rothmentor-site .articles-empty {
  padding-block: 70px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

#rothmentor-site .articles-empty h2 {
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
}
#rothmentor-site .articles-empty p,
#rothmentor-site .not-found-content > p:not(.article-kicker) { margin-top: 12px; color: var(--mute); }

#rothmentor-site .not-found-content { max-width: 760px; }
#rothmentor-site .not-found-actions {
  display: flex;
  margin-top: 28px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
#rothmentor-site .not-found-actions a {
  display: inline-flex;
  min-height: 48px;
  padding: 11px 20px;
  align-items: center;
  border: 1px solid var(--navy);
  border-radius: 8px;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}
#rothmentor-site .not-found-actions a.primary { border-color: var(--orange); background: var(--orange); color: #fff; }

#rothmentor-site .optout-form {
  position: relative;
  display: grid;
  gap: 18px;
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

#rothmentor-site .optout-form label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-weight: 600;
}

#rothmentor-site .optout-form input,
#rothmentor-site .optout-form select,
#rothmentor-site .optout-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid #b9c7d4;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

#rothmentor-site .optout-form textarea {
  min-height: 130px;
  resize: vertical;
}

#rothmentor-site .optout-form button {
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 7px;
  background: var(--orange);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

#rothmentor-site .optout-form button:disabled { opacity: .65; cursor: wait; }
#rothmentor-site .form-status { min-height: 28px; color: var(--navy); }

#rothmentor-site .rothmentor-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

#rothmentor-site .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

@media (max-width: 782px) {
  body.admin-bar #rothmentor-site .site-header { top: 46px; }
}

@media (max-width: 720px) {
  #rothmentor-site .site-shell { padding-inline: 16px; }
  #rothmentor-site .site-header .site-shell { min-height: 70px; }
  #rothmentor-site .site-logo { min-width: 128px; }
  #rothmentor-site .site-logo img { width: 132px; }
  #rothmentor-site .site-menu-button { display: inline-flex; align-items: center; justify-content: center; }

  #rothmentor-site .site-nav {
    position: absolute;
    top: 100%;
    right: 12px;
    left: 12px;
    display: none;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 18px 38px rgb(22 48 77 / 20%);
  }

  #rothmentor-site .site-nav.is-open { display: flex; }
  #rothmentor-site .site-nav-menu {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  #rothmentor-site .site-nav-menu > li { display: block; width: 100%; }
  #rothmentor-site .site-nav a { padding: 8px 12px; color: var(--navy); }
  #rothmentor-site .site-nav .site-nav-cta { width: 100%; margin-top: 6px; justify-content: center; color: #fff; }
  #rothmentor-site .rothmentor-site-main { scroll-margin-top: 70px; }
  #rothmentor-site #roth-calculator .corner-qr-top { top: 82px; }

  #rothmentor-site #roth-calculator.landing-on .landing,
  #rothmentor-site #roth-calculator.landing-on .landing-content,
  #rothmentor-site #roth-calculator.wizard-on,
  #rothmentor-site #roth-calculator.wizard-on .roth-calculator-main,
  #rothmentor-site #roth-calculator.wizard-on .wizard {
    min-height: calc(100svh - 70px);
  }

  #rothmentor-site .page-hero { padding: 58px 20px 52px; }
  #rothmentor-site .why-page-hero .page-hero-inner { grid-template-columns: 1fr; gap: 34px; }
  #rothmentor-site .why-page-hero .page-hero-copy { text-align: center; }
  #rothmentor-site .why-page-hero .page-hero-copy > * { margin-inline: auto; }
  #rothmentor-site .why-hero-frame { border-radius: 20px; }
  #rothmentor-site .why-hero-progress { justify-content: center; }
  #rothmentor-site .content-shell { padding: 50px 16px 64px; }
  #rothmentor-site .reason-grid,
  #rothmentor-site .steps-list { grid-template-columns: 1fr; }
  #rothmentor-site .reason-grid[data-reason-count] { grid-template-columns: 1fr; }
  #rothmentor-site .process-board { padding: 78px 14px 18px; border-radius: 24px; }
  #rothmentor-site .steps-list { gap: 16px; }
  #rothmentor-site .steps-list li { min-height: 0; padding: 26px 22px 26px 92px; }
  #rothmentor-site .steps-list li::before { top: 26px; bottom: 26px; left: 72px; }
  #rothmentor-site .step-number { top: 22px; left: 14px; }
  #rothmentor-site .process-brand { top: 12px; width: 88px; height: 88px; transform: translate(-50%, 0); }
  #rothmentor-site .how-page-hero .page-hero-inner { grid-template-columns: 1fr; gap: 34px; }
  #rothmentor-site .how-page-hero .page-hero-copy { text-align: center; }
  #rothmentor-site .how-page-hero .page-hero-copy > * { margin-inline: auto; }
  #rothmentor-site .how-hero-qr { width: 196px; }
  #rothmentor-site .how-hero-qr img { width: 146px; height: 176px; }
  #rothmentor-site .page-cta { margin-top: 48px; padding: 34px 20px; }

  #rothmentor-site .comparison-table,
  #rothmentor-site .comparison-table tbody,
  #rothmentor-site .comparison-table tr,
  #rothmentor-site .comparison-table th,
  #rothmentor-site .comparison-table td { display: block; width: 100%; }

  #rothmentor-site .comparison-table thead { display: none; }
  #rothmentor-site .comparison-table tr { border-bottom: 1px solid var(--line); }
  #rothmentor-site .comparison-table tr:last-child { border-bottom: 0; }
  #rothmentor-site .comparison-table td { border: 0; padding: 10px 14px; }
  #rothmentor-site .comparison-table td:first-child { padding-top: 16px; color: var(--navy); font-weight: 700; }
  #rothmentor-site .comparison-table td:nth-child(2)::before { content: "Traditional IRA: "; font-weight: 700; }
  #rothmentor-site .comparison-table td:nth-child(3)::before { content: "Roth IRA: "; font-weight: 700; }

  body.legal-page #rothmentor-site .rothmentor-site-main { padding: 48px 18px 64px; }
}

@media (max-width: 600px) {
  body.admin-bar #rothmentor-site .site-header { top: 0; }
}

@media (max-width: 390px) {
  #rothmentor-site .site-header .site-shell { padding-inline: 12px; }
  #rothmentor-site .site-logo img { width: 122px; }
  #rothmentor-site .site-footer-links,
  #rothmentor-site .site-footer-menu { flex-direction: column; gap: 0; }
  #rothmentor-site .page-hero h1 { font-size: 2.45rem; }
  #rothmentor-site .page-hero p { font-size: 1rem; }
  #rothmentor-site .why-page-hero { padding-inline: 14px; }
  #rothmentor-site .why-hero-frame { min-height: 205px; aspect-ratio: 4 / 3; }
  #rothmentor-site .why-hero-image { object-position: 62% center; }
}

@media (prefers-reduced-motion: reduce) {
  #rothmentor-site .why-hero-image { display: none; animation: none; }
  #rothmentor-site .why-hero-image:first-child { display: block; opacity: 1; transform: none; }
  #rothmentor-site .why-hero-progress span { animation: none; transform: none; }
  #rothmentor-site .why-hero-progress span:first-child { background: var(--gold); }
  #rothmentor-site .process-brand img,
  #rothmentor-site .process-brand-ring,
  #rothmentor-site .how-qr-ring { animation: none; }
  #rothmentor-site .process-brand-ring,
  #rothmentor-site .how-qr-ring { opacity: .35; }
}
