@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

.blog-page,
.article-page {
  --fx-blue: #207de9;
  --fx-blue-dark: #0b5ec4;
  --fx-ink: #111;
  --fx-copy: #333;
  --fx-muted: #6b6b6b;
  --fx-line: #e6e6e6;
  font-family: Inter, "Segoe UI", sans-serif;
  color: var(--fx-copy);
  background: #fff;
}

.blog-page h1, .blog-page h2, .blog-page h3,
.article-page h1, .article-page h2, .article-page h3 {
  font-family: Inter, sans-serif;
  color: #111;
}

.fx-wrap { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.fx-wrap-art { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

/* Category pills */
.fx-cats {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 28px 0 8px;
}
.fx-cats a {
  padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600;
  color: #222; background: #f3f4f6;
}
.fx-cats a.active, .fx-cats a:hover { background: #111; color: #fff; }

/* Masthead */
.fx-masthead { padding: 28px 0 48px; }
.fx-masthead h1 {
  font-size: clamp(42px, 6vw, 72px); font-weight: 800; letter-spacing: -0.035em;
  line-height: 1.05; margin: 12px 0 28px; color: #111;
}
.fx-subscribe {
  display: flex; justify-content: space-between; align-items: center;
  gap: 32px; flex-wrap: wrap;
}
.fx-subscribe p { max-width: 520px; font-size: 18px; line-height: 1.55; color: #333; }
.fx-sub-form { display: flex; gap: 10px; flex-wrap: wrap; }
.fx-sub-form input {
  width: 280px; height: 52px; border: 1px solid #d5d5d5; border-radius: 6px;
  padding: 0 16px; font-size: 16px; background: #fff;
}
.fx-sub-form button {
  height: 52px; padding: 0 28px; border: 0; border-radius: 6px; cursor: pointer;
  background: var(--fx-blue); color: #fff; font-weight: 700; font-size: 16px;
}
.fx-sub-form button:hover { background: var(--fx-blue-dark); }
.fx-sub-note { display: none; color: #0f7a5a; font-weight: 600; margin-top: 8px; }

.fx-featured-in {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  margin-top: 36px; color: #777; font-size: 13px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
}
.fx-featured-in span.logo-chip {
  font-size: 15px; letter-spacing: 0; text-transform: none; font-weight: 800; color: #444;
}

/* Section heads */
.fx-sec { padding: 48px 0 20px; }
.fx-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
}
.fx-head h3 {
  position: relative; padding-left: 48px; font-size: 28px; font-weight: 700; color: #222;
}
.fx-head h3::before {
  content: ""; width: 32px; height: 32px; border-radius: 50%;
  background: var(--fx-blue); position: absolute; left: 0; top: 2px;
}
.fx-head .view-all { font-weight: 700; color: var(--fx-blue); font-size: 15px; }
.fx-head .view-all:hover { text-decoration: underline; }

/* Cards */
.fx-card { display: block; color: inherit; }
.fx-card .thumb {
  height: 186px; border-radius: 8px; overflow: hidden; margin-bottom: 18px; background: #111;
}
.fx-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.fx-card .cat {
  display: block; font-size: 13px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 8px; color: #222;
}
.fx-card .title {
  font-size: 20px; font-weight: 800; line-height: 1.35; letter-spacing: -.018em;
  color: #111; margin-bottom: 12px;
}
.fx-card .excerpt { font-size: 15px; color: #444; margin-bottom: 12px; }
.fx-card .meta { font-size: 14px; color: #777; display: flex; gap: 14px; }
.fx-card:hover .title { color: var(--fx-blue); }

/* Featured layout: big left + 2x2 right */
.fx-featured {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px 36px; align-items: start;
}
.fx-featured .main .thumb { height: 280px; }
.fx-featured .main .title { font-size: 28px; margin-bottom: 14px; }
.fx-side { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.fx-side .thumb { height: 112px; margin-bottom: 12px; }
.fx-side .title { font-size: 16px; margin-bottom: 8px; }

/* Videos */
.fx-videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fx-videos .thumb { height: 200px; position: relative; }
.play-btn {
  position: absolute; left: 18px; bottom: 18px; width: 58px; height: 58px;
  border-radius: 50%; background: #fff; border: 7px solid #84b9f5;
  display: grid; place-items: center; color: #111; font-size: 16px;
}
.fx-card:hover .play-btn { border-color: var(--fx-blue); }

/* What's new list */
.fx-new { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 36px; }
.fx-new .thumb { height: 200px; }

/* Topic grids */
.fx-grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.fx-grid4 .thumb { height: 150px; }
.fx-grid4 .title { font-size: 17px; }

/* Mid CTA */
.fx-nl {
  margin: 56px 0; padding: 36px 40px; border-radius: 12px;
  background: linear-gradient(90deg, #e8f2ff, #f7fbff);
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.fx-nl h3 { font-size: 26px; margin-bottom: 6px; }
.fx-nl p { color: #444; }

/* Stats */
.fx-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  padding: 48px 0 64px; border-top: 1px solid var(--fx-line); margin-top: 24px;
}
.fx-stats strong { display: block; font-size: 28px; color: #111; letter-spacing: -.02em; }
.fx-stats span { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: #777; }

/* ARTICLE */
.art-hero { padding: 36px 0 12px; }
.art-crumb { font-size: 14px; color: #777; margin-bottom: 18px; }
.art-crumb a:hover { color: var(--fx-blue); }
.art-hero h1 {
  font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; letter-spacing: -.03em;
  line-height: 1.15; max-width: 920px; margin-bottom: 18px;
}
.art-by { display: flex; align-items: center; gap: 10px; margin: 0; flex-shrink: 0; }
.art-by img, .art-by .ava {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #1e3a5f;
  color: #fff; display: grid; place-items: center; font-weight: 800; flex-shrink: 0; font-size: 13px;
}
.art-by strong { display: block; color: #111; font-size: 15px; letter-spacing: 0; word-spacing: normal; line-height: 1.25; }
.art-by span { font-size: 12px; color: #777; letter-spacing: 0; word-spacing: normal; }
.art-date { font-size: 14px; color: #777; letter-spacing: 0; word-spacing: normal; white-space: nowrap; flex-shrink: 0; }

.art-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 16px 28px;
  margin: 8px 0 28px;
}
.art-preferred {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  margin: 0 0 0 auto;
  flex-shrink: 0;
}
.art-pref {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 16px 0 12px;
  border-radius: 999px;
  background: #202124;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  word-spacing: 0.04em;
  white-space: nowrap;
}
.art-pref img {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}
.art-pref:hover { background: #3c4043; color: #fff; }
.art-pref-info {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: help;
}
.art-pref-i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #9aa0a6;
  color: #5f6368;
  font-size: 11px;
  font-weight: 700;
  font-style: italic;
  font-family: Georgia, serif;
  display: grid;
  place-items: center;
  line-height: 1;
}
.art-pref-tip {
  display: none;
  position: absolute;
  left: 26px;
  top: 50%;
  transform: translateY(-50%);
  width: 260px;
  padding: 10px 12px;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0;
  word-spacing: normal;
  border-radius: 6px;
  z-index: 4;
}
.art-pref-info:hover .art-pref-tip,
.art-pref-info:focus .art-pref-tip,
.art-pref-info:focus-within .art-pref-tip { display: block; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.article-page .stories-head h2,
.article-page .story-cap h3 {
  font-family: Sora, Poppins, sans-serif;
  color: #fff;
}
.article-page .story-cap p { color: rgba(255, 255, 255, .78); }

.art-lead-cta {
  text-align: center;
  background: var(--navy-dark);
  color: #fff;
  border-radius: 28px;
  padding: 42px 36px 40px;
  margin: 8px 0 36px;
  box-shadow: 0 18px 40px rgba(15, 33, 56, .22);
}
.art-lead-cta__kicker {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}
.art-lead-cta h2 {
  color: #fff;
  font-family: Sora, Inter, sans-serif;
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
  max-width: 720px;
  margin: 0 auto 14px;
}
.art-lead-cta p {
  max-width: 620px;
  margin: 0 auto 22px;
  color: rgba(255, 255, 255, .82);
  font-size: 17px;
  line-height: 1.55;
}
.art-lead-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(245, 197, 24, .28);
}
.art-lead-cta__btn:hover {
  background: #ffd84a;
  color: var(--navy-dark);
  transform: translateY(-1px);
}

.art-layout {
  display: grid; grid-template-columns: 250px 1fr; gap: 48px; padding: 12px 0 72px;
}
.toc {
  position: sticky; top: 170px; align-self: start;
  border-left: 2px solid #eee; padding-left: 16px;
}
.toc h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; color: #888; }
.toc a {
  display: block; font-size: 14px; color: #444; padding: 6px 0 6px 8px; border-left: 2px solid transparent;
  margin-left: -18px; padding-left: 16px; line-height: 1.4;
}
.toc a.active, .toc a:hover { color: var(--fx-blue); border-left-color: var(--fx-blue); font-weight: 600; }

.art-body { font-size: 18px; line-height: 1.75; color: #222; max-width: 760px; }
.art-body p { margin: 0 0 18px; }
.art-body h2 { font-size: 30px; font-weight: 800; margin: 40px 0 14px; letter-spacing: -.02em; }
.art-body h3 { font-size: 22px; font-weight: 700; margin: 28px 0 10px; }
.art-body ul, .art-body ol { margin: 0 0 18px 22px; }
.art-body li { margin-bottom: 8px; }
.art-body a { color: var(--fx-blue); text-decoration: underline; }

.takeaway {
  background: #f5faef; padding: 28px 32px; margin: 8px 0 28px; position: relative;
}
.takeaway::before {
  content: ""; position: absolute; right: 0; top: 0; width: 48px; height: 48px;
  background: radial-gradient(circle, #c8e6a8 2px, transparent 3px);
  background-size: 10px 10px;
}
.takeaway .k { font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.takeaway p { margin: 0; font-size: 17px; }

.art-table { width: 100%; border-collapse: collapse; margin: 20px 0 28px; font-size: 15px; }
.art-table th { background: #111; color: #fff; text-align: left; padding: 12px 14px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.art-table td { border: 1px solid #e8e8e8; padding: 12px 14px; vertical-align: top; }
.art-table tr:nth-child(even) td { background: #f7f9fc; }

.insight {
  border: 1px solid #dce8f7; background: #f5f9ff; padding: 22px 24px; margin: 24px 0;
}
.insight .who { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--fx-blue); margin-bottom: 8px; }
.insight p { margin: 0; font-style: italic; }

.pull {
  border-left: 4px solid var(--fx-blue); padding: 8px 0 8px 20px; margin: 28px 0;
  font-size: 22px; font-weight: 700; line-height: 1.4; color: #111;
}

.art-cta {
  background: #111; color: #fff; padding: 32px 28px; margin: 36px 0; border-radius: 8px;
}
.art-cta h3 { color: #fff; font-size: 26px; margin-bottom: 8px; }
.art-cta p { color: #ccc; margin-bottom: 16px; }
.art-cta a {
  display: inline-block; background: var(--fx-blue); color: #fff; text-decoration: none;
  padding: 12px 20px; border-radius: 6px; font-weight: 700;
}

.faq-item { border-bottom: 1px solid #ddd; }
.faq-item summary {
  cursor: pointer; padding: 16px 0; font-weight: 700; font-size: 18px; color: #111; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { padding-bottom: 14px; font-size: 16px; color: #444; }

.bios { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.bio { border: 1px solid #eee; padding: 20px; }
.bio h4 { margin-bottom: 8px; }
.bio p { font-size: 14px; color: #555; margin: 0; }

.share-rail {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 55;
}
.ask-ai {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 64px;
  padding: 18px 10px 16px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 12px 36px rgba(20, 18, 12, .16);
}
.ask-ai__label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #111;
}
.ask-ai__btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  transition: transform .2s ease;
}
.ask-ai__btn:hover { transform: scale(1.1); }
.ask-ai__icon {
  width: 26px;
  height: 26px;
  display: block;
  object-fit: contain;
}

@media (max-width: 1100px) {
  .art-meta-row {
    flex-wrap: wrap;
    row-gap: 14px;
  }
  .art-preferred { margin-left: 0; }
}
@media (max-width: 768px) {
  .share-rail {
    left: 12px;
    right: 80px;
    top: auto;
    bottom: 16px;
    transform: none;
  }
  .ask-ai {
    flex-direction: row;
    width: 100%;
    padding: 8px 12px;
    gap: 10px;
  }
  .ask-ai__label {
    writing-mode: horizontal-tb;
    transform: none;
    letter-spacing: .12em;
    white-space: nowrap;
  }
}
@media (max-width: 980px) {
  .fx-featured, .fx-side, .fx-videos, .fx-new, .fx-grid4, .art-layout, .bios, .fx-stats { grid-template-columns: 1fr; }
  .fx-grid4 { grid-template-columns: 1fr 1fr; }
  .toc { position: static; border-left: 0; padding: 0 0 20px; }
  .fx-masthead h1 { font-size: 38px; }
  .fx-sub-form input { width: 100%; }
  .art-pref { white-space: normal; height: auto; padding: 10px 16px 10px 12px; }
  .art-lead-cta { padding: 32px 20px 28px; border-radius: 22px; }
  .art-lead-cta p { font-size: 15px; }
}

/* ============================================================
   Site motion — blog listing & article
   ============================================================ */
.fx-card {
  transition: transform .28s ease;
}
.fx-card:hover { transform: translateY(-4px); }
.fx-sub-form button,
.art-cta a,
.art-pref,
.art-lead-cta__btn {
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.fx-sub-form button:hover,
.art-cta a:hover { transform: translateY(-1px); }
.fx-sub-form input:focus {
  outline: 2px solid rgba(32, 125, 233, .22);
  border-color: var(--fx-blue);
}

.city-find {
  background: #f6f5f1;
  padding: 72px 0 80px;
}
.city-find__wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}
.article-page .city-find h2 {
  font-family: Inter, sans-serif;
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: #111;
  margin-bottom: 12px;
}
.city-find > .city-find__wrap > p,
.city-find__wrap > p {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.55;
  color: #555;
  margin-bottom: 36px;
}
.city-find__group { margin-bottom: 28px; }
.article-page .city-find__group h3 {
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin-bottom: 12px;
}
.city-find__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.city-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #e4e2dc;
  border-radius: 999px;
  background: #fff;
  color: #222;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.city-pill:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: #fff;
}

@media (max-width: 640px) {
  .city-find { padding: 48px 0 56px; }
  .city-find__wrap > p { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .fx-card,
  .fx-sub-form button,
  .art-cta a,
  .art-pref,
  .art-lead-cta__btn,
  .ask-ai__btn { transition: none; }
  .ask-ai__btn:hover { transform: none; }
  .fx-card:hover,
  .fx-sub-form button:hover,
  .art-cta a:hover,
  .art-lead-cta__btn:hover { transform: none; }
}
