/* ==========================================================================
   Ask About Wealth — Savings comparison pages, shared stylesheet
   Used by: /best-savings-accounts-ireland
            /best-fixed-term-deposits-ireland
            /best-regular-saver-accounts-ireland
   Mobile-first. Brand tokens match the live standalone tool pages.
   ========================================================================== */

:root {
  --forest: #2C3733;
  --forest-soft: #3A4842;
  --forest-deep: #1F2723;
  --gold: #D7B472;
  --gold-soft: #EFE3CB;
  --cream: #F3F1EC;
  --amber: #8B6520;
  --line: #DAD5C9;
  --ink-soft: #5c655f;
  --ink-faint: #8a938e;
  --white: #ffffff;
  --ok-bg: #EAF2EA;
  --ok-ink: #34523A;
  --ok-line: #C7DBC9;
  --warn-bg: #F7EAE4;
  --warn-ink: #8B4A20;
  --warn-line: #EBCBB4;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: Georgia, 'Times New Roman', serif;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(44, 55, 51, 0.08), 0 4px 14px rgba(44, 55, 51, 0.06);
  --shadow-lift: 0 2px 6px rgba(44, 55, 51, 0.10), 0 10px 28px rgba(44, 55, 51, 0.10);
}
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--cream);
  font-family: var(--serif);
  color: var(--forest);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; }

a { color: var(--amber); }
a:hover { color: var(--forest); }

:is(a, button, summary, input, select):focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Site header (matches live askaboutwealth.ie standalone pages)
   -------------------------------------------------------------------------- */
.site-header {
  background: var(--forest);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--sans);
}
.site-header .logo { color: var(--cream); font-size: 20px; letter-spacing: 0.05em; }
.site-nav { display: flex; gap: 20px; align-items: center; }
.site-nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.01em;
}
.site-nav a:hover { color: var(--gold); }
.newsletter-btn {
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  background: none;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.newsletter-btn:hover { background: var(--gold); color: var(--forest) !important; }
@media (max-width: 640px) {
  .site-nav a:not(.newsletter-btn) { display: none; }
}
@media (min-width: 641px) {
  .site-header { padding: 18px 32px; }
  .site-nav { gap: 32px; }
}

/* --------------------------------------------------------------------------
   Layout wrappers
   -------------------------------------------------------------------------- */
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px 72px;
}
.wrap-narrow { max-width: 760px; margin: 0 auto; }

/* --------------------------------------------------------------------------
   Hero band
   -------------------------------------------------------------------------- */
.hero {
  background: linear-gradient(160deg, var(--forest) 0%, var(--forest-soft) 100%);
  color: var(--cream);
  padding: 44px 18px 52px;
}
.hero-inner { max-width: 1080px; margin: 0 auto; }
.hero .eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  color: var(--gold);
  font-weight: 700;
  margin: 0 0 12px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 5.5vw, 46px);
  line-height: 1.14;
  margin: 0 0 16px;
  max-width: 18em;
}
.hero .hero-sub {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: #cfd8d3;
  max-width: 44em;
  margin: 0 0 22px;
}
.hero .hero-sub strong { color: var(--cream); }

/* Freshness chip: "Rates checked 21 Jul 2026" */
.fresh-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(215, 180, 114, 0.55);
  border-radius: 999px;
  padding: 7px 16px;
}
.fresh-chip::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.fresh-chip time { color: var(--gold); font-weight: 700; }

/* Sibling-page pills under the hero copy */
.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  font-family: var(--sans);
}
.hero-links a {
  color: var(--cream);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid rgba(243, 241, 236, 0.35);
  border-radius: 999px;
  padding: 8px 16px;
}
.hero-links a:hover,
.hero-links a[aria-current="page"] {
  border-color: var(--gold);
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   Section headings
   -------------------------------------------------------------------------- */
main h2 {
  font-family: var(--serif);
  font-size: 24px;
  margin: 48px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
}
main h3 { font-size: 18px; margin: 28px 0 10px; color: var(--amber); }
main p { font-size: 17px; margin: 0 0 16px; }
.section-note {
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: -6px 0 18px;
}

/* --------------------------------------------------------------------------
   Top-3 podium cards
   -------------------------------------------------------------------------- */
.podium {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 26px 0 8px;
  padding: 0;
  list-style: none;
  font-family: var(--sans);
}
@media (min-width: 721px) {
  .podium { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
}
.podium-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.podium-card.rank-1 {
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-lift);
}
@media (min-width: 721px) {
  .podium-card.rank-1 { transform: translateY(-6px); }
}
.rank-badge {
  position: absolute;
  top: -12px;
  left: 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--forest);
  color: var(--cream);
  border-radius: 999px;
  padding: 4px 12px;
}
.rank-1 .rank-badge { background: var(--gold); color: var(--forest); }
.podium-provider { display: flex; align-items: center; gap: 10px; }
.podium-provider .provider-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--forest);
}
/* Product name under the provider. Without this the sub-span ran straight on
   from the provider name ("FCM BankTop Saver Pro") — it was only styled inside
   .provider-cell (the tables), never in the podium. */
.podium-provider .provider-sub {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-faint);
}
.podium-rate {
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin: 4px 0 2px;
}
.podium-rate .rate-figure {
  font-size: 40px;
  font-weight: 700;
  color: var(--forest);
}
.podium-rate .rate-unit {
  font-size: 13px;
  font-weight: 700;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-left: 4px;
}
.podium-terms {
  margin: 0; padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.podium-terms li { padding-left: 18px; position: relative; }
.podium-terms li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--gold);
}
.podium-note {
  font-size: 12.5px;
  color: var(--ink-faint);
  font-style: italic;
  margin: 0;
}
.podium-cta {
  margin-top: auto;
  display: inline-block;
  text-align: center;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  color: var(--forest);
  border: 1px solid var(--forest);
  border-radius: 6px;
  padding: 10px 14px;
  transition: background 0.15s ease, color 0.15s ease;
}
.podium-cta:hover { background: var(--forest); color: var(--cream); }
.rank-1 .podium-cta { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.rank-1 .podium-cta:hover { background: var(--forest-deep); }

/* --------------------------------------------------------------------------
   Provider logos + letter-badge fallback
   -------------------------------------------------------------------------- */
.logo-img {
  width: 36px; height: 36px;
  border-radius: 8px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 3px;
  flex-shrink: 0;
}
.logo-fallback {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--gold);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-transform: uppercase;
  user-select: none;
}
.logo-sm.logo-img, .logo-sm.logo-fallback { width: 28px; height: 28px; font-size: 13px; }

/* --------------------------------------------------------------------------
   Filter chip row
   -------------------------------------------------------------------------- */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 14px;
  font-family: var(--sans);
}
.filter-row .filter-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  align-self: center;
  margin-right: 4px;
}
.chip {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--forest);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.chip:hover { border-color: var(--amber); }
.chip[aria-pressed="true"] {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--cream);
}
.chip[aria-pressed="true"]::before { content: "✓ "; color: var(--gold); }

/* Rows hidden by a filter */
.rate-row[hidden] { display: none !important; }
.filter-empty {
  display: none;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 18px;
  margin: 10px 0;
}
.filter-empty.is-visible { display: block; }

/* --------------------------------------------------------------------------
   Comparison table — desktop is the base table; <=720px becomes cards
   -------------------------------------------------------------------------- */
.table-scroll { position: relative; }

.rate-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-family: var(--sans);
  font-size: 14px;
  margin: 8px 0 12px;
}
.rate-table caption {
  caption-side: top;
  text-align: left;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--forest);
  padding: 0 0 10px;
}

.rate-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--forest);
  color: var(--cream);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: left;
  padding: 12px 14px;
  white-space: nowrap;
}

/* Sortable-column affordance */
.rate-table thead th.sortable { cursor: pointer; user-select: none; }
.rate-table thead th.sortable::after {
  content: "↕";
  opacity: 0.45;
  margin-left: 6px;
  font-size: 11px;
}
.rate-table thead th.sortable:hover { color: var(--gold); }
.rate-table thead th[aria-sort="ascending"]::after { content: "↑"; opacity: 1; color: var(--gold); }
.rate-table thead th[aria-sort="descending"]::after { content: "↓"; opacity: 1; color: var(--gold); }

.rate-table tbody td {
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  vertical-align: middle;
  color: var(--forest);
}
.rate-table tbody tr:nth-child(even) td { background: #FAF8F4; } /* zebra */
.rate-table tbody tr:hover td { background: #F5EFE2; }

.rate-table .col-provider { min-width: 180px; }
.provider-cell { display: flex; align-items: center; gap: 10px; }
.provider-cell .provider-name { font-weight: 700; }
.provider-cell .provider-sub {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-faint);
}

/* Rate column — brand-gold emphasis */
.rate-table .col-rate { white-space: nowrap; }
.col-rate .rate-figure {
  font-size: 19px;
  font-weight: 700;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}
.col-rate .rate-unit {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-faint);
  text-transform: uppercase;
  margin-left: 3px;
}
tr.is-best .col-rate .rate-figure { color: var(--forest); }
tr.is-best .col-rate::after {
  content: "Best rate";
  display: inline-block;
  margin-left: 8px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--gold);
  color: var(--forest);
  border-radius: 4px;
  padding: 2px 7px;
  vertical-align: 2px;
}

/* Small status tags used inside cells */
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  padding: 2px 8px;
  white-space: nowrap;
}
.tag-ok    { background: var(--ok-bg);   color: var(--ok-ink);   border: 1px solid var(--ok-line); }
.tag-warn  { background: var(--warn-bg); color: var(--warn-ink); border: 1px solid var(--warn-line); }
.tag-plain { background: var(--cream);   color: var(--ink-soft); border: 1px solid var(--line); }

/* Comparison highlight (e.g. user-selected rows to compare) */
tr.is-compare td { background: var(--gold-soft) !important; }
tr.is-compare td:first-child { box-shadow: inset 3px 0 0 var(--gold); }

/* Per-row expandable details (the only visible detail on mobile) */
.row-more { font-family: var(--sans); }
.row-more summary {
  cursor: pointer;
  list-style: none;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.row-more summary::-webkit-details-marker { display: none; }
.row-more summary::after { content: "▾"; font-size: 10px; transition: transform 0.15s ease; }
.row-more[open] summary::after { transform: rotate(180deg); }
.row-more .row-more-body {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.row-more .row-more-body dl { margin: 0 0 6px; }
.row-more .row-more-body dt {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-faint);
  margin-top: 8px;
}
.row-more .row-more-body dd { margin: 1px 0 0; color: var(--forest); }

/* ---- Mobile transformation: rows become stacked cards ---- */
@media (max-width: 720px) {
  .rate-table, .rate-table tbody, .rate-table tr, .rate-table td { display: block; }
  .rate-table { background: none; border: none; overflow: visible; }
  .rate-table thead { display: none; }
  .rate-table caption { display: block; padding-bottom: 8px; }

  .rate-table tbody tr {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 14px;
    padding: 14px 16px;
    position: relative;
  }
  .rate-table tbody tr:nth-child(even) td,
  .rate-table tbody tr:hover td { background: none; }
  .rate-table tbody td { border-top: none; padding: 0; }

  /* Hide the desktop-only detail columns; the <details> block carries them */
  .rate-table td.col-detail { display: none; }

  .rate-table td.col-rank {
    position: absolute;
    top: 14px; right: 14px;
  }
  .col-rank .rank-chip { margin: 0; }

  .provider-cell { margin-bottom: 8px; padding-right: 44px; }

  .rate-table td.col-rate { margin-bottom: 8px; }
  .col-rate .rate-figure { font-size: 30px; }
  .col-rate .rate-unit { font-size: 12px; }

  tr.is-compare td { background: none !important; }
  tr.is-compare { border-color: var(--gold); box-shadow: inset 3px 0 0 var(--gold), var(--shadow); }
}

/* Desktop: the details column is a compact last column */
@media (min-width: 721px) {
  .rate-table .col-more { width: 1%; white-space: nowrap; }
  .row-more { position: relative; }
  .row-more[open] .row-more-body {
    position: absolute;
    right: 0;
    z-index: 3;
    width: 320px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow-lift);
    padding: 14px 16px;
    white-space: normal;
  }
}

/* Rank chip used in the table's first column */
.rank-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  background: var(--cream);
  color: var(--forest);
  border: 1px solid var(--line);
}
tr.is-best .rank-chip { background: var(--gold); border-color: var(--gold); }

/* --------------------------------------------------------------------------
   DIRT calculator inset box
   -------------------------------------------------------------------------- */
.dirt-calc {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  margin: 32px 0;
  font-family: var(--sans);
}
.dirt-calc .dirt-title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--forest);
}
.dirt-calc .dirt-sub { font-size: 13.5px; color: var(--ink-soft); margin: 0 0 16px; }
.dirt-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px 18px;
}
@media (min-width: 560px) { .dirt-grid { grid-template-columns: 1fr 1fr; } }
.dirt-calc .field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}
.dirt-calc .field input[type="number"],
.dirt-calc .field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  background: var(--cream);
  color: var(--forest);
}
.dirt-calc .field input:focus,
.dirt-calc .field select:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
.dirt-result {
  grid-column: 1 / -1;
  margin-top: 4px;
  background: var(--forest);
  color: var(--cream);
  border-radius: 8px;
  padding: 16px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  align-items: baseline;
}
.dirt-result .label {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  font-weight: 700;
  width: 100%;
}
.dirt-result .value {
  font-size: 24px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.dirt-result .sub-value { font-size: 13px; color: #cfd8d3; }
.dirt-note { font-size: 11.5px; color: var(--ink-faint); margin: 12px 0 0; line-height: 1.6; }

/* --------------------------------------------------------------------------
   FAQ accordion
   -------------------------------------------------------------------------- */
.faq-list { margin: 20px 0 0; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 10px;
  font-family: var(--sans);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 15px 44px 15px 18px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--forest);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
  color: var(--amber);
  transition: transform 0.15s ease;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-item .faq-body { padding: 14px 18px 16px; font-size: 14.5px; color: var(--ink-soft); }
.faq-item .faq-body p { font-size: 14.5px; font-family: var(--sans); }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Cross-links between the three pages
   -------------------------------------------------------------------------- */
.related-pages {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 24px 0 8px;
  padding: 0;
  list-style: none;
  font-family: var(--sans);
}
@media (min-width: 721px) { .related-pages { grid-template-columns: 1fr 1fr; } }
.related-pages a {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-decoration: none;
  color: var(--forest);
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.related-pages a:hover { border-color: var(--gold); box-shadow: var(--shadow-lift); }
.related-pages .related-kicker {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: 4px;
}
.related-pages .related-title { font-size: 16px; font-weight: 700; }
.related-pages .related-desc { display: block; font-size: 13px; color: var(--ink-soft); margin-top: 4px; }

/* --------------------------------------------------------------------------
   Inline advisor CTA (mid-page) + disclaimer
   -------------------------------------------------------------------------- */
.cta-line {
  background: var(--white);
  border-left: 4px solid var(--gold);
  padding: 16px 20px;
  margin: 32px 0;
  font-size: 16px;
}
.cta-section {
  margin-top: 44px;
  text-align: center;
  padding: 34px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--sans);
}
.cta-section h3 { margin: 0 0 8px; font-size: 20px; color: var(--forest); }
.cta-section p { margin: 0 0 20px; color: var(--ink-soft); font-size: 15px; }
.cta-button {
  display: inline-block;
  background: var(--forest);
  color: var(--cream) !important;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
}
.cta-button:hover { background: var(--forest-deep); }
.disclaimer {
  margin-top: 32px;
  font-size: 12.5px;
  color: #7d867f;
  font-family: var(--sans);
  line-height: 1.6;
  font-style: italic;
}

/* --------------------------------------------------------------------------
   Sticky bottom CTA bar (mobile) — JS adds .is-visible after 50% scroll
   -------------------------------------------------------------------------- */
.cta-dock {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  background: var(--forest);
  color: var(--cream);
  font-family: var(--sans);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 18px rgba(31, 39, 35, 0.25);
  transform: translateY(110%);
  transition: transform 0.25s ease;
}
.cta-dock.is-visible { transform: translateY(0); }
.cta-dock .dock-text { font-size: 13px; line-height: 1.35; }
.cta-dock .dock-text strong { display: block; font-size: 14px; }
.cta-dock .dock-btn {
  flex-shrink: 0;
  background: var(--gold);
  color: var(--forest);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 999px;
  padding: 10px 18px;
  white-space: nowrap;
}
.cta-dock .dock-btn:hover { background: #E2C489; }
@media (min-width: 721px) { .cta-dock { display: none; } }
@media (prefers-reduced-motion: reduce) { .cta-dock { transition: none; } }

/* --------------------------------------------------------------------------
   Print stylesheet
   -------------------------------------------------------------------------- */
@media print {
  body { background: #fff; color: #000; font-size: 12pt; }
  .site-header, .hero-links, .filter-row, .cta-dock, .cta-section,
  .cta-line, .podium-cta, .dirt-calc, .newsletter-btn { display: none !important; }
  .hero { background: none; color: #000; padding: 0 0 12pt; }
  .hero .eyebrow, .fresh-chip { color: #000; border-color: #000; background: none; }
  .fresh-chip::before { display: none; }
  .podium-card, .faq-item, .related-pages a { box-shadow: none; border: 1px solid #999; }
  .rate-table { border: 1px solid #999; font-size: 10pt; }
  .rate-table thead th {
    position: static;
    background: #fff !important;
    color: #000 !important;
    border-bottom: 2px solid #000;
  }
  .rate-table thead th.sortable::after { content: "" !important; }
  .rate-table tbody td { border-top: 1px solid #ccc; background: none !important; }
  .col-rate .rate-figure { color: #000; }
  .rate-row[hidden] { display: table-row !important; }  /* print full table, filters off */
  .row-more, td.col-more { display: none !important; }
  .rate-table td.col-detail { display: table-cell !important; }
  tr { break-inside: avoid; }
  a { color: #000; text-decoration: none; }
  .faq-item summary::after { display: none; }
  .faq-item .faq-body { display: block; }
}

/* Independence disclosure banner (top of page, all savings guides) */
.no-fee-banner{display:flex;align-items:flex-start;gap:14px;background:rgba(215,180,114,.14);border:2px solid #D7B472;border-radius:14px;padding:18px 22px;margin:0 0 26px;color:#fff}
.no-fee-banner svg{width:34px;height:34px;flex:0 0 34px;color:#D7B472;margin-top:2px}
.no-fee-banner p{margin:0;font-size:1.06rem;line-height:1.55}
.no-fee-banner strong{color:#D7B472;display:block;font-size:1.14rem;margin-bottom:3px;letter-spacing:.01em}
@media(max-width:640px){.no-fee-banner{padding:14px 16px;gap:10px}.no-fee-banner p{font-size:.98rem}.no-fee-banner strong{font-size:1.05rem}}
