/* =====================================================================
   FEE-ONLY FINANCIAL PLANNER — THE WOODLANDS, TX

   PASTE THIS INTO: Appearance > Customize > Additional CSS
   Do NOT put it in style.css or functions.php.

   Every rule is scoped under .tw-fo-page, the wrapper div on that one
   template, so nothing here can reach Why Us, FAQs, How We Get Paid or
   any other page. Uses only the tokens already on :root in style.css.

   Note: .tw-fo-hero-grid and .tw-office both carry .tw-wrap, so padding
   is set with padding-top / padding-bottom only. A shorthand padding
   would strip the 32px page gutter.
===================================================================== */

/* ---------- HERO ---------- */
.tw-fo-page .tw-fo-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: 76px 0 80px;
}

.tw-fo-page .tw-fo-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.tw-fo-page .tw-fo-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-fo-page .tw-fo-hero h1 {
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 22px;
}

.tw-fo-page .tw-fo-hero-sub {
  font-size: 17.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  max-width: 620px;
}

.tw-fo-page .tw-fo-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.tw-fo-page .tw-fo-hero-microcopy {
  margin-top: 16px;
  font-size: 14.5px;
  color: rgba(255,255,255,0.6);
}

/* ---------- VIDEO ----------
   style.css positions .tw-video-play absolutely inside .tw-ratio, but
   never defines .tw-ratio itself. Without this the facade collapses to
   nothing, which is the tiny video in the screenshot. */
.tw-fo-page .tw-ratio {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  background: var(--navy-dark);
  box-shadow: 0 18px 44px rgba(0,0,0,0.30);
}

.tw-fo-page .tw-ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- SECTION FURNITURE ---------- */
.tw-fo-page .tw-section--cream {
  background: var(--cream);
}

.tw-fo-page .tw-section .tw-eyebrow {
  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-fo-page .tw-section h2 {
  font-size: clamp(24px, 3vw, 33px);
  line-height: 1.22;
  color: var(--navy);
  margin-bottom: 20px;
  max-width: 780px;
}

.tw-fo-page .tw-section-intro {
  font-size: 17px;
  line-height: 1.75;
  color: var(--gray);
  max-width: 780px;
  margin-bottom: 18px;
}

.tw-fo-page .tw-fo-byline {
  font-size: 14.5px;
  color: var(--gray);
  margin-bottom: 14px;
}

.tw-fo-page .tw-fo-byline a {
  color: var(--navy);
  font-weight: 600;
  border-bottom: 1px solid var(--gold-dark);
}

.tw-fo-page .tw-section-intro a {
  color: var(--navy);
  font-weight: 600;
  border-bottom: 1px solid var(--gold-dark);
}

/* ---------- AREAS SERVED ---------- */
.tw-fo-page .tw-area-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
}

.tw-fo-page .tw-area-list li {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 14.5px;
  color: var(--navy);
}

.tw-fo-page .tw-section--cream .tw-area-list li {
  background: var(--white);
}

/* ---------- CHECK LIST ---------- */
.tw-fo-page .tw-check-list {
  list-style: none;
  margin: 26px 0 30px;
  padding: 0;
  max-width: 860px;
}

.tw-fo-page .tw-check-list li {
  position: relative;
  padding: 0 0 18px 38px;
}

.tw-fo-page .tw-check-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 6px;
  width: 15px;
  height: 8px;
  border-left: 2px solid var(--gold-dark);
  border-bottom: 2px solid var(--gold-dark);
  transform: rotate(-45deg);
}

.tw-fo-page .tw-check-list li span {
  display: block;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--gray);
}

.tw-fo-page .tw-check-list li strong {
  display: block;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 3px;
}

.tw-fo-page .tw-check-list a {
  color: var(--navy);
  font-weight: 600;
  border-bottom: 1px solid var(--gold-dark);
}

/* ---------- THREE-ACROSS CARDS (six pillars = two rows) ---------- */
.tw-fo-page .tw-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 40px;
}

.tw-fo-page .tw-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  padding: 30px 28px;
}

.tw-fo-page .tw-card h3 {
  font-size: 19px;
  color: var(--navy);
  margin-bottom: 12px;
}

.tw-fo-page .tw-card p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--gray);
}

/* ---------- OFFICE / NAP ---------- */
.tw-fo-page .tw-office {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 52px;
  align-items: start;
}

.tw-fo-page .tw-office address {
  font-style: normal;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  padding: 26px 28px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray);
}

.tw-fo-page .tw-office address strong {
  color: var(--navy);
  font-size: 17.5px;
}

.tw-fo-page .tw-office address a {
  color: var(--navy);
  font-weight: 600;
  border-bottom: 1px solid var(--gold-dark);
}

/* ---------- FAQ WRAPPER ----------
   .tw-faq itself is already styled in style.css. This is only the
   spacing around the group. */
.tw-fo-page .tw-faq-list {
  margin-top: 36px;
  max-width: 900px;
}

.tw-fo-page .tw-faq-a a {
  color: var(--navy);
  font-weight: 600;
  border-bottom: 1px solid var(--gold-dark);
}

/* ---------- DISCLOSURE ---------- */
.tw-fo-page .tw-disclosure {
  margin-top: 40px;
  max-width: 900px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1000px) {
  .tw-fo-page .tw-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .tw-fo-page .tw-fo-hero {
    padding: 52px 0 56px;
  }
  .tw-fo-page .tw-fo-hero-grid,
  .tw-fo-page .tw-office {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .tw-fo-page .tw-grid-3 {
    grid-template-columns: 1fr;
  }
  .tw-fo-page .tw-fo-hero-ctas .tw-btn {
    width: 100%;
  }
}