/*
Theme Name: Tiverton Wealth
Theme URI: https://www.tivertonwealth.com
Author: digitalJ2
Author URI: https://www.digitalj2.com
Description: Hand-built classic theme for Tiverton Wealth. No page builder, no block library, no jQuery — each designed page is a flat PHP template with one shared stylesheet plus a small page-specific stylesheet. Header and footer are global and edited from the WordPress admin.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tiverton-wealth
*/

/* =====================================================================
   SHARED / GLOBAL STYLES — loaded on every page.
   Page-specific rules live in /assets/css/{slug}.css and are enqueued
   only on that page (see functions.php).

   If you add a rule here that only one page needs, move it to that
   page's file. If you find yourself copying a rule into a second page
   file, promote it up here instead.
===================================================================== */

/* Font files ship inside the theme (assets/fonts/), so no SFTP or Media
   Library upload is needed — the paths below are relative to this file. */
@font-face {
  font-family: 'Glosa';
  src: url('assets/fonts/Glosa-Regular.woff2') format('woff2'),
  url('assets/fonts/Glosa-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #25325a;
  --navy-dark: #182240;
  --navy-mid: #324372;
  --gold: #f8d93a;
  --gold-dark: #e0c020;
  --cream: #faf8f3;
  --white: #ffffff;
  --ink: #262b38;
  --gray: #5c6478;
  --line: rgba(37,50,90,0.12);
  --font: 'Glosa', 'Optima', 'Segoe UI', Helvetica, Arial, sans-serif;
  --wrap: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin:0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img {
  max-width:100%;
  display:block;
}

a {
  color: inherit;
  text-decoration: none;
}

.tw-wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}

h1,h2,h3,h4 {
  margin:0;
  font-family: var(--font);
  font-weight:400;
}

p {
  margin:0;
}

button {
  font-family: var(--font);
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold-dark);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

.tw-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.tw-header-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 18px 32px 14px;
  max-width: var(--wrap);
  margin: 0 auto;
  gap: 20px;
}

.tw-btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font);
  font-size: 15px;
  letter-spacing: .02em;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 3px;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .15s ease;
  white-space: nowrap;
}

.tw-btn:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

.tw-btn--outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}

.tw-btn--outline:hover {
  background: var(--navy);
  color: var(--white);
}

.tw-logo img {
  height: 46px;
  width: auto;
}

.tw-nav-row {
  border-top: 1px solid var(--line);
}

.tw-nav {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.tw-nav ul {
  list-style:none;
  display:flex;
  align-items:center;
  gap: 34px;
  margin:0;
  padding: 14px 0;
  flex-wrap: wrap;
  justify-content:center;
}

.tw-nav a {
  font-size: 14.5px;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 600;
  position: relative;
  padding: 4px 0;
}

.tw-nav a::after {
  content:'';
  position:absolute;
  left:0;
  bottom:-2px;
  width:0;
  height:2px;
  background: var(--gold);
  transition: width .2s ease;
}

.tw-nav a:hover::after, .tw-nav a:focus-visible::after {
  width:100%;
}

.tw-nav .tw-nav-cta a {
  color: var(--navy);
  background: var(--cream);
  border: 1px solid var(--navy);
  padding: 8px 16px;
  border-radius: 3px;
  text-transform: uppercase;
}

.tw-nav .tw-nav-cta a::after {
  display:none;
}

.tw-nav .tw-nav-cta a:hover {
  background: var(--navy);
  color:var(--white);
}

.tw-burger {
  display:none;
  background:none;
  border:none;
  cursor:pointer;
  padding:8px;
}

.tw-burger span, .tw-burger span::before, .tw-burger span::after {
  content:'';
  display:block;
  width:26px;
  height:2px;
  background: var(--navy);
  position:relative;
  transition: all .2s ease;
}

.tw-burger span::before {
  position:absolute;
  top:-8px;
}

.tw-burger span::after {
  position:absolute;
  top:8px;
}

@media (max-width: 900px) {
  .tw-header-top {
    padding: 16px 20px;
  }
  .tw-logo img {
    height: 38px;
  }
  .tw-header-top .tw-btn--schedule-desktop {
    display:none;
  }
  .tw-burger {
    display:block;
  }
  .tw-nav-row {
    display:none;
    position:relative;
  }
  .tw-nav-row.is-open {
    display:block;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background: var(--white);
    box-shadow: 0 12px 24px rgba(24,34,64,0.12);
  }
  .tw-nav {
    padding: 0 20px;
  }
  .tw-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 0 20px;
  }
  .tw-nav ul li {
    border-bottom: 1px solid var(--line);
  }
  .tw-nav ul li:last-child {
    border-bottom:none;
  }
  .tw-nav a {
    display:block;
    padding: 14px 4px;
  }
  .tw-nav .tw-nav-cta {
    order:-1;
    margin-bottom: 6px;
  }
  .tw-nav .tw-nav-cta a {
    display:block;
    text-align:center;
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
    margin: 6px 0 14px;
  }
}

/* =====================================================================
   PAGE TITLE — shared navy hero used by the inner content pages
   (How We Get Paid, Why Us, FAQs).
===================================================================== */
.tw-page-title {
  background:
  linear-gradient(160deg, rgba(24,34,64,0.92) 0%, rgba(37,50,90,0.86) 55%, rgba(37,50,90,0.80) 100%),
  linear-gradient(120deg, #1a2340 0%, #25325a 55%, #33447a 100%);
  color: var(--white);
  padding: 84px 0 76px;
  text-align: center;
}

.tw-page-title .tw-eyebrow {
  display:inline-block;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}

.tw-page-title h1 {
  font-size: clamp(32px, 4.6vw, 50px);
  color: var(--white);
  font-weight: 400;
  max-width: 780px;
  margin: 0 auto;
}

.tw-page-title p {
  max-width: 640px;
  margin: 20px auto 0;
  color: rgba(255,255,255,0.85);
  font-size: 17.5px;
}

.tw-section {
  padding: 88px 0;
}

@media (max-width: 700px) {
  .tw-section {
    padding: 56px 0;
  }
}

.tw-eyebrow-gold {
  display:inline-block;
  color: var(--navy);
  background: rgba(248,217,58,0.35);
  padding: 5px 12px;
  border-radius: 2px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.tw-nav a[aria-current="page"]::after {
  width:100%;
}

.tw-cta-band {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 72px 0;
}

.tw-cta-band .tw-eyebrow-gold {
  background: transparent;
  color: var(--gold);
  padding: 0;
}

.tw-cta-band h2 {
  font-size: clamp(24px, 3vw, 30px);
  color: var(--white);
  margin-bottom: 16px;
}

.tw-cta-band p {
  max-width: 560px;
  margin: 0 auto 30px;
  color: rgba(255,255,255,0.82);
  font-size: 17px;
}

.tw-cta-band .tw-btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.5);
}

.tw-cta-band .tw-btn--outline:hover {
  background: rgba(255,255,255,0.12);
}

/* =====================================================================
   ACCESSIBILITY — skip link + visually hidden text
===================================================================== */
.screen-reader-text{
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.tw-skip-link{
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--gold);
  color: var(--navy);
  padding: 12px 20px;
  font-weight: 700;
}
.tw-skip-link:focus{ left: 0; }

/* =====================================================================
   VIDEO — click-to-load facade
   Sits inside the existing .tw-ratio boxes. The real YouTube player is
   only fetched when someone presses play.
===================================================================== */
.tw-ratio > .tw-video-play{
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background-color: var(--navy-dark);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tw-video-play::before{
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(24,34,64,0.25);
  transition: background .2s ease;
}
.tw-video-play:hover::before{ background: rgba(24,34,64,0.10); }
.tw-video-play-btn{
  position: relative;
  width: 78px;
  height: 54px;
  border-radius: 10px;
  background: rgba(24,34,64,0.82);
  border: 1px solid rgba(248,217,58,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, transform .2s ease;
}
.tw-video-play-btn::after{
  content: '';
  margin-left: 4px;
  border-left: 18px solid var(--gold);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}
.tw-video-play:hover .tw-video-play-btn{
  background: var(--navy);
  transform: scale(1.06);
}

/* =====================================================================
   FOOTER — global, rendered from footer.php on every page
===================================================================== */
.tw-footer{
  background: var(--navy-dark);
  color: rgba(255,255,255,0.78);
  font-size: 15.5px;
}
.tw-footer-grid{
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
  gap: 48px;
  padding: 72px 32px 56px;
}
.tw-footer-wordmark{
  display: inline-block;
  font-size: 26px;
  letter-spacing: .02em;
  color: var(--white);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 6px;
}
.tw-footer-location{
  margin-top: 18px;
  max-width: 330px;
  color: rgba(255,255,255,0.72);
}
.tw-footer-btn{ margin-top: 26px; }
.tw-footer-heading{
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 18px;
}
.tw-footer ul{
  list-style: none;
  margin: 0;
  padding: 0;
}
.tw-footer li{ margin-bottom: 11px; }
.tw-footer li a{
  color: rgba(255,255,255,0.78);
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.tw-footer li a:hover{
  color: var(--white);
  border-bottom-color: var(--gold);
}

/* The Woodlands office block — sits above the phone number. */
.tw-footer-address{
  font-style: normal;
  margin: 0 0 20px;
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
}
.tw-footer-address span{ display:block; }
.tw-footer-address-label{
  color: var(--white);
  font-weight: 700;
  margin-bottom: 2px;
}

/* Social row — inline SVG icons, colour inherited from the link. */
.tw-footer .tw-social{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
}
.tw-footer .tw-social li{ margin: 0; }
.tw-social-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.78);
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .15s ease;
}
.tw-social-link svg{
  display: block;
  fill: currentColor;
}
.tw-social-link:hover,
.tw-social-link:focus-visible{
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dark);
  transform: translateY(-2px);
}
/* The footer's generic li a rule adds an underline on hover — not wanted here. */
.tw-footer .tw-social li a{ border-bottom: 0; }

.tw-footer-base{
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 26px 0 34px;
}

/* Disclosures · Privacy Policy · Form ADV */
.tw-footer-legal{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-bottom: 20px;
}
.tw-footer-legal a{
  position: relative;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.tw-footer-legal a:hover,
.tw-footer-legal a:focus-visible{
  color: var(--white);
  border-bottom-color: var(--gold);
}
.tw-footer-legal a + a::before{
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  width: 1px;
  height: 12px;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.22);
}

.tw-footer-disclosure{
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  max-width: 900px;
}
.tw-footer-copy{
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

@media (max-width: 900px){
  .tw-footer-grid{
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 56px 20px 44px;
  }
}

/* =====================================================================
   PLACEHOLDER LANDING PAGES
   Deliberately plain — these exist so the template file is in the theme
   and ready to paste real markup into.
===================================================================== */
.tw-stub{
  background: var(--cream);
  padding: 96px 0 104px;
}
.tw-stub-inner{
  max-width: 720px;
}
.tw-stub-tag{
  display: inline-block;
  background: var(--navy);
  color: var(--gold);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
  margin-bottom: 20px;
}
.tw-stub h1{
  font-size: clamp(27px, 3.6vw, 38px);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 22px;
}
.tw-stub-note{
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  padding: 20px 22px;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.7;
}
.tw-stub-note code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 1px 6px;
  word-break: break-all;
}
.tw-stub-sub{
  margin-top: 18px;
  font-size: 15px;
  color: var(--gray);
}
.tw-stub-actions{
  margin-top: 30px;
}

/* =====================================================================
   LEGAL PAGES — Disclosures and Privacy Policy
   Shared here rather than duplicated into two slug stylesheets. Any page
   that needs this treatment just uses the same .tw-legal-* markup.
===================================================================== */
.tw-legal-hero{
  background:
  linear-gradient(160deg, rgba(24,34,64,0.92) 0%, rgba(37,50,90,0.86) 55%, rgba(37,50,90,0.80) 100%),
  linear-gradient(120deg, #1a2340 0%, #25325a 55%, #33447a 100%);
  color: var(--white);
  padding: 78px 0 68px;
}
.tw-legal-hero-inner{ max-width: 780px; }
.tw-legal-hero .tw-eyebrow{
  display:inline-block;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}
.tw-legal-hero h1{
  font-size: clamp(30px, 4vw, 44px);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
}
.tw-legal-lede{
  font-size: 17.5px;
  color: rgba(255,255,255,0.85);
  max-width: 660px;
}

.tw-legal-body{
  background: var(--white);
  padding: 72px 0 88px;
}
.tw-legal-grid{
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: start;
}

/* Sticky jump-link rail. */
.tw-legal-aside{
  position: sticky;
  top: 132px;
}
.tw-legal-toc h2{
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
}
.tw-legal-toc ul{
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--line);
}
.tw-legal-toc li{ margin: 0; }
.tw-legal-toc a{
  display: block;
  padding: 7px 0 7px 16px;
  margin-left: -2px;
  border-left: 2px solid transparent;
  font-size: 14.5px;
  color: var(--gray);
  transition: color .2s ease, border-color .2s ease;
}
.tw-legal-toc a:hover,
.tw-legal-toc a:focus-visible{
  color: var(--navy);
  border-left-color: var(--gold);
}

.tw-legal-aside-cta{
  margin-top: 32px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px 22px;
}
.tw-legal-aside-cta h3{
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 8px;
}
.tw-legal-aside-cta p{
  font-size: 14.5px;
  color: var(--gray);
  margin-bottom: 18px;
}

/* Body copy. */
.tw-legal-copy{ max-width: 760px; }
.tw-legal-copy section{
  padding-bottom: 34px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 140px;
}
.tw-legal-copy section:last-of-type{
  border-bottom: 0;
  margin-bottom: 20px;
}
.tw-legal-copy h2{
  font-size: clamp(21px, 2.4vw, 26px);
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 16px;
}
.tw-legal-copy p{
  font-size: 16px;
  color: var(--gray);
  margin-bottom: 15px;
}
.tw-legal-copy p:last-child{ margin-bottom: 0; }
.tw-legal-copy ul{
  list-style: none;
  margin: 0 0 15px;
  padding: 0;
}
.tw-legal-copy ul li{
  position: relative;
  font-size: 16px;
  color: var(--gray);
  padding: 0 0 12px 24px;
}
.tw-legal-copy ul li::before{
  content: '';
  position: absolute;
  left: 2px;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-dark);
}
.tw-legal-copy a{
  color: var(--navy);
  font-weight: 600;
  border-bottom: 1px solid var(--gold-dark);
  transition: color .2s ease;
}
.tw-legal-copy a:hover{ color: var(--navy-mid); }

/* Highlighted callout — used for the appointment-only notice. */
.tw-legal-callout{
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  padding: 22px 24px;
  margin-bottom: 20px;
}
.tw-legal-callout-label{
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}
.tw-legal-callout p{
  color: var(--ink);
  margin-bottom: 0;
}

.tw-legal-address{
  font-style: normal;
  background: var(--cream);
  border-radius: 4px;
  padding: 18px 20px;
  margin: 20px 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--gray);
}
.tw-legal-address strong{ color: var(--navy); }

.tw-legal-inline-cta{ margin-top: 22px; }

.tw-legal-links{
  margin-top: 18px !important;
}
.tw-legal-links li{
  padding-bottom: 10px;
}

.tw-legal-updated{
  font-size: 13.5px;
  font-style: italic;
  color: var(--gray);
}

@media (max-width: 900px){
  .tw-legal-grid{
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .tw-legal-aside{
    position: static;
  }
  .tw-legal-body{
    padding: 48px 0 64px;
  }
}

/* =====================================================================
   EDITOR-DRIVEN PAGES + BLOG
   Used by page.php, index.php and 404.php — any page that is not one of
   the five hand-built templates.
===================================================================== */
.tw-entry-header{
  background: var(--navy);
  color: var(--white);
  padding: 88px 0 72px;
}
.tw-entry-header h1{
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  color: var(--white);
}
.tw-entry-header p{
  margin-top: 16px;
  color: rgba(255,255,255,0.8);
  max-width: 620px;
}
.tw-entry{
  padding: 72px 0 88px;
  max-width: 820px;
}
.tw-entry h2{
  font-size: clamp(22px, 2.6vw, 28px);
  color: var(--navy);
  margin: 40px 0 14px;
}
.tw-entry h3{
  font-size: 19px;
  color: var(--navy);
  margin: 30px 0 10px;
}
.tw-entry p,
.tw-entry li{
  font-size: 17px;
  color: var(--gray);
  margin-bottom: 16px;
}
.tw-entry ul,
.tw-entry ol{ padding-left: 22px; }
.tw-entry a{
  color: var(--navy);
  font-weight: 700;
  border-bottom: 2px solid var(--gold);
}
.tw-entry img{
  border-radius: 6px;
  margin: 26px 0;
}
.tw-entry blockquote{
  margin: 30px 0;
  padding: 18px 26px;
  border-left: 3px solid var(--gold);
  background: var(--cream);
}
.tw-post-list{
  padding: 72px 0 88px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.tw-post-card{
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.tw-post-card:hover{
  box-shadow: 0 16px 32px rgba(37,50,90,0.12);
  transform: translateY(-3px);
  border-color: var(--gold);
}
.tw-post-card h2{
  font-size: 21px;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 10px;
}
.tw-post-card time{
  display: block;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gray);
  margin-bottom: 14px;
}
.tw-post-card p{ color: var(--gray); font-size: 16px; }
.tw-pagination{
  padding-bottom: 80px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.tw-pagination .page-numbers{
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--navy);
  font-size: 14px;
}
.tw-pagination .page-numbers.current,
.tw-pagination .page-numbers:hover{
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* =====================================================================
   FAQ ACCORDION — shared.
   Native <details>/<summary>, no JavaScript, so it keeps working with
   JS disabled and is keyboard accessible out of the box.

   Used by the FAQs page and by the fee-only landing page. Page-level
   layout around it (.tw-faq-section, .tw-faq-wrap, .tw-faq-group)
   stays in the page stylesheets.
===================================================================== */

.tw-faq {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid transparent;
  margin-bottom: 10px;
  transition: border-left-color .18s ease;
}

.tw-faq[open] {
  border-left-color: var(--gold);
}

.tw-faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 24px;
  cursor: pointer;
  list-style: none;
}

.tw-faq summary::-webkit-details-marker {
  display: none;
}

.tw-faq summary::marker {
  content: '';
}

.tw-faq summary:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: -2px;
}

.tw-faq-q {
  font-size: 17.5px;
  line-height: 1.5;
  color: var(--navy);
  font-weight: 400;
}

.tw-faq[open] .tw-faq-q {
  font-weight: 600;
}

.tw-faq-marker {
  position: relative;
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin-top: 6px;
}

.tw-faq-marker::before,
.tw-faq-marker::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 15px;
  height: 2px;
  background: var(--navy);
  transform: translateY(-50%);
  transition: transform .2s ease;
}

.tw-faq-marker::after {
  transform: translateY(-50%) rotate(90deg);
}

.tw-faq[open] .tw-faq-marker::after {
  transform: translateY(-50%) rotate(0deg);
}

.tw-faq-a {
  padding: 20px 24px 24px;
  border-top: 1px solid var(--line);
}

.tw-faq-a p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--gray);
  margin: 0 0 14px;
  max-width: 68ch;
}

.tw-faq-a p:last-child {
  margin-bottom: 0;
}

@media (max-width: 700px) {
  .tw-faq summary {
    padding: 18px 18px;
    gap: 14px;
  }

  .tw-faq-q {
    font-size: 16.5px;
  }

  .tw-faq-a {
    padding: 18px 18px 20px;
  }

  .tw-faq-a p {
    font-size: 15.5px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .tw-faq,
  .tw-faq-marker::before,
  .tw-faq-marker::after {
    transition: none;
  }
}
