/*
Theme Name: FN Immobilier Luxe
Theme URI: https://www.frais-de-notaire-immobilier.com/
Author: Claire Martin
Description: Thème éditorial premium, léger et natif pour Frais de Notaire Immobilier.
Version: 2.5.1
Requires at least: 6.8
Requires PHP: 8.1
Text Domain: fn-immobilier
*/

:root {
  --fn-ink: #0b1f33;
  --fn-muted: #5d6870;
  --fn-blue: #173b55;
  --fn-purple: #789083;
  --fn-gold: #c8a96a;
  --fn-surface: #ffffff;
  --fn-soft: #f6f1e8;
  --fn-warm: #f0e9dd;
  --fn-line: #ded5c7;
  --fn-shadow: 0 22px 64px rgba(11, 31, 51, .12);
  --fn-radius: 22px;
  --fn-content: 780px;
  --fn-wide: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--fn-ink);
  background: #fbfcff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .fn-header { top: 32px; }
img { max-width: 100%; height: auto; }
a { color: #245edb; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: #5c37d6; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid rgba(36, 120, 243, .45); outline-offset: 3px; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  clip: auto; width: auto; height: auto; margin: 8px; padding: 10px 16px;
  z-index: 10000; color: #fff; background: var(--fn-ink); border-radius: 10px;
}

/* Header */
.fn-topline {
  height: 4px;
  background: linear-gradient(90deg, var(--fn-blue), var(--fn-purple) 52%, #d94fa5 78%, var(--fn-gold));
}
.fn-header {
  position: sticky; top: 0; z-index: 999;
  border-bottom: 1px solid rgba(229, 233, 244, .86);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
}
.fn-header__inner {
  width: min(calc(100% - 36px), var(--fn-wide));
  min-height: 76px; margin: 0 auto;
  display: flex; align-items: center; gap: 28px;
}
.fn-brand {
  display: inline-flex; align-items: center; gap: 11px; min-width: 245px;
  color: var(--fn-ink); text-decoration: none;
}
.fn-brand__mark {
  display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px;
  border-radius: 13px; color: #fff;
  background: linear-gradient(145deg, var(--fn-blue), var(--fn-purple));
  box-shadow: 0 9px 24px rgba(76, 76, 214, .24);
}
.fn-brand__mark svg { width: 24px; height: 24px; }
.fn-brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.fn-brand__text strong { font-size: 16px; letter-spacing: -.02em; }
.fn-brand__text span { margin-top: 5px; color: var(--fn-muted); font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.fn-brand__text .wp-block-site-title { margin: 0; font-size: 16px; font-weight: 850; letter-spacing: -.02em; line-height: 1.05; }
.fn-brand__text .wp-block-site-title a { color: var(--fn-ink); text-decoration: none; }
.fn-brand__text p { margin: 5px 0 0; color: var(--fn-muted); font-size: 11px !important; font-weight: 750; letter-spacing: .08em; line-height: 1.1; text-transform: uppercase; }
.fn-nav { margin-left: auto; }
.fn-nav ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.fn-nav li { margin: 0; }
.fn-nav a {
  display: block; padding: 11px 12px; border-radius: 12px;
  color: var(--fn-ink); font-size: 14px; font-weight: 760; text-decoration: none;
}
.fn-nav a:hover, .fn-nav .current-menu-item > a { color: #5131cf; background: #f1efff; }
.fn-header__cta {
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  padding: 11px 17px; border: 1px solid rgba(202, 154, 28, .34); border-radius: 999px;
  color: #3d2b03; background: linear-gradient(135deg, #fff1b8, #e5b84b);
  box-shadow: 0 8px 22px rgba(183, 136, 20, .16); font-size: 14px; font-weight: 850; text-decoration: none;
}
.fn-header__cta .wp-block-button__link {
  padding: 0; color: inherit; background: transparent; font-size: inherit; font-weight: inherit; text-decoration: none;
}
.fn-mobile { display: none; margin-left: auto; }
.fn-mobile summary {
  display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer;
  border: 1px solid var(--fn-line); border-radius: 13px; background: #fff; list-style: none;
}
.fn-mobile summary::-webkit-details-marker { display: none; }
.fn-mobile__panel {
  position: absolute; left: 18px; right: 18px; top: 68px; padding: 12px;
  border: 1px solid var(--fn-line); border-radius: 18px; background: #fff; box-shadow: var(--fn-shadow);
}
.fn-mobile ul { margin: 0; padding: 0; list-style: none; }
.fn-mobile a { display: block; padding: 11px 12px; border-radius: 10px; color: var(--fn-ink); font-weight: 750; text-decoration: none; }
.fn-mobile a:hover { background: var(--fn-soft); }

/* Layout */
.fn-main { min-height: 62vh; }
.fn-shell { width: min(calc(100% - 36px), var(--fn-wide)); margin-inline: auto; }
.fn-reading { width: min(calc(100% - 36px), var(--fn-content)); margin-inline: auto; }
.fn-page-head {
  position: relative; overflow: hidden; padding: 60px 0 44px;
  background: linear-gradient(135deg, #f1ecff 0%, #f4f8ff 56%, #fff8e7 100%);
  border-bottom: 1px solid var(--fn-line);
}
.fn-page-head::after {
  content: ""; position: absolute; inset: -50% -10% auto 45%; height: 420px;
  background: radial-gradient(circle, rgba(111, 72, 245, .13), transparent 67%); pointer-events: none;
}
.fn-kicker { color: #5941bd; font-size: 12px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.fn-page-head h1 { position: relative; max-width: 900px; margin: 9px 0 8px; font-size: clamp(2.1rem, 4vw, 3.65rem); line-height: 1.08; letter-spacing: -.045em; }
.fn-page-head p { max-width: 750px; margin: 0; color: var(--fn-muted); font-size: 18px; }
.fn-breadcrumbs { padding: 18px 0 0; color: var(--fn-muted); font-size: 13px; }
.fn-breadcrumbs a { color: inherit; }
.fn-content { padding: 46px 0 72px; }
.fn-content--front { padding: 0 0 72px; }
.fn-entry { min-width: 0; }
.fn-entry > :first-child { margin-top: 0; }
.fn-entry h2, .fn-entry h3, .fn-entry h4 { color: var(--fn-ink); line-height: 1.2; letter-spacing: -.025em; scroll-margin-top: 100px; }
.fn-entry h2 { margin: 2.2em 0 .65em; font-size: clamp(1.65rem, 3vw, 2.25rem); }
.fn-entry h3 { margin: 1.8em 0 .55em; font-size: clamp(1.3rem, 2.3vw, 1.65rem); }
.fn-entry p, .fn-entry ul, .fn-entry ol { margin-top: 0; margin-bottom: 1.25em; }
.fn-entry li + li { margin-top: .42em; }
.fn-entry blockquote {
  margin: 2em 0; padding: 22px 26px; border: 0; border-left: 5px solid var(--fn-purple); border-radius: 0 18px 18px 0;
  background: #f3f0ff; color: #242e4d; font-size: 1.08em;
}
.fn-entry table { width: 100%; margin: 1.8em 0; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--fn-line); border-radius: 16px; background: #fff; }
.fn-entry th, .fn-entry td { padding: 12px 14px; border-bottom: 1px solid var(--fn-line); text-align: left; vertical-align: top; }
.fn-entry th { color: var(--fn-ink); background: var(--fn-soft); font-size: 14px; }
.fn-entry tr:last-child td { border-bottom: 0; }
.fn-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 17px; color: var(--fn-muted); font-size: 13px; }
.fn-meta a { color: inherit; }
.fn-author-box {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; margin-top: 48px; padding: 24px;
  border: 1px solid var(--fn-line); border-radius: var(--fn-radius); background: var(--fn-soft);
}
.fn-author-box__avatar img { border-radius: 50%; }
.fn-author-box h2 { margin: 0 0 5px; font-size: 20px; }
.fn-author-box p { margin: 0; color: var(--fn-muted); font-size: 14px; }

/* Existing FDN content components */
.fn-content--front .fn-entry { width: 100%; }
.fn-ai-hero {
  width: min(calc(100% - 36px), var(--fn-wide)); margin: 38px auto 0 !important;
  padding: clamp(42px, 7vw, 84px) clamp(24px, 6vw, 76px) !important;
  border: 1px solid rgba(113, 72, 245, .16) !important; border-radius: 32px !important;
  background: linear-gradient(135deg, rgba(244, 239, 255, .98), rgba(239, 246, 255, .98) 55%, rgba(255, 248, 229, .96)) !important;
  box-shadow: var(--fn-shadow) !important; text-align: center;
}
.fn-ai-hero h1 { max-width: 950px; margin: 18px auto 22px !important; font-size: clamp(2.65rem, 6.8vw, 5.55rem) !important; line-height: .98 !important; letter-spacing: -.065em !important; }
.fn-ai-hero h1 strong, .fn-ai-hero h2 strong {
  color: transparent !important;
  background: linear-gradient(110deg, var(--fn-ink), var(--fn-blue) 36%, var(--fn-purple) 68%, #bd7a28) !important;
  -webkit-background-clip: text !important; background-clip: text !important;
}
.fn-ai-hero > p { max-width: 800px; margin-inline: auto !important; color: var(--fn-muted) !important; font-size: clamp(1rem, 1.7vw, 1.2rem) !important; }
.fn-kicker, .fn-badge {
  display: inline-flex !important; align-items: center; border: 1px solid rgba(78, 70, 184, .15) !important;
  border-radius: 999px !important; padding: 7px 12px !important; color: #4c4489 !important;
  background: rgba(255, 255, 255, .74) !important; font-size: 12px !important; font-weight: 850 !important; letter-spacing: .08em !important; text-transform: uppercase !important;
}
.fn-actions { display: flex !important; flex-wrap: wrap !important; justify-content: center !important; gap: 12px !important; margin-top: 28px !important; }
.fn-btn {
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  min-height: 52px !important; padding: 12px 22px !important; border-radius: 999px !important;
  font-weight: 850 !important; text-decoration: none !important; transition: transform .2s ease, box-shadow .2s ease !important;
}
.fn-btn:hover { transform: translateY(-2px); }
.fn-btn-primary { color: #3f2c02 !important; background: linear-gradient(135deg, #fff0af, var(--fn-gold)) !important; box-shadow: 0 11px 28px rgba(172, 126, 15, .20) !important; }
.fn-btn-secondary { color: var(--fn-ink) !important; border: 1px solid var(--fn-line) !important; background: #fff !important; }
.fn-section { width: min(calc(100% - 36px), var(--fn-wide)); margin: 30px auto 0 !important; }
.fn-section > h2 { text-align: center; }
.fn-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 18px !important; }
.fn-card, .fn-keytake, .fn-trust {
  border: 1px solid var(--fn-line) !important; border-radius: var(--fn-radius) !important;
  background: rgba(255, 255, 255, .96) !important; box-shadow: 0 14px 42px rgba(24, 38, 80, .07) !important;
}
.fn-card { padding: 24px !important; }
.fn-card h2, .fn-card h3 { margin-top: 10px !important; }
.fn-keytake, .fn-trust { padding: 26px !important; }

/* Cards and archives */
.fn-archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 46px 0 76px; }
.fn-post-card { overflow: hidden; border: 1px solid var(--fn-line); border-radius: var(--fn-radius); background: #fff; box-shadow: 0 12px 34px rgba(24, 38, 80, .07); }
.fn-post-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, #eeeaff, #e8f2ff); }
.fn-post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.fn-post-card:hover .fn-post-card__media img { transform: scale(1.035); }
.fn-post-card__body { padding: 22px; }
.fn-post-card__eyebrow { color: #6447cf; font-size: 12px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.fn-post-card h2 { margin: 7px 0 10px; font-size: 20px; line-height: 1.27; letter-spacing: -.025em; }
.fn-post-card h2 a { color: var(--fn-ink); text-decoration: none; }
.fn-post-card p { margin: 0; color: var(--fn-muted); font-size: 14px; }
.nav-links { display: flex; justify-content: center; gap: 8px; padding: 0 0 72px; }
.nav-links .page-numbers { min-width: 42px; padding: 8px 12px; border: 1px solid var(--fn-line); border-radius: 11px; background: #fff; text-align: center; text-decoration: none; }
.nav-links .current { color: #fff; border-color: var(--fn-purple); background: var(--fn-purple); }

/* Footer */
.fn-footer { color: #dce2f5; background: #071129; }
.fn-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; padding: 58px 0 38px; }
.fn-footer h2, .fn-footer h3 { margin: 0 0 13px; color: #fff; font-size: 16px; }
.fn-footer p { margin: 0; color: #aeb8d0; font-size: 14px; }
.fn-footer ul { margin: 0; padding: 0; list-style: none; }
.fn-footer li + li { margin-top: 8px; }
.fn-footer a { color: #dce2f5; font-size: 14px; text-decoration: none; }
.fn-footer a:hover { color: #fff0ad; }
.fn-footer__bottom { display: flex; justify-content: space-between; gap: 24px; padding: 20px 0 28px; border-top: 1px solid rgba(255, 255, 255, .10); color: #8f9bb8; font-size: 12px; }

@media (max-width: 980px) {
  body.admin-bar .fn-header { top: 46px; }
  .fn-header__actions { display: none !important; }
  .fn-nav { margin-left: auto; }
  .fn-mobile { display: block; }
  .fn-header__inner { min-height: 68px; }
  .fn-grid, .fn-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .fn-footer__grid { grid-template-columns: 1.3fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .fn-brand { min-width: 0; }
  .fn-brand__text span { display: none; }
  .fn-brand__text p { display: none; }
  .fn-page-head { padding: 42px 0 32px; }
  .fn-content { padding: 34px 0 56px; }
  .fn-ai-hero { width: min(calc(100% - 24px), var(--fn-wide)); margin-top: 20px !important; border-radius: 22px !important; }
  .fn-ai-hero h1 { font-size: clamp(2.35rem, 13.5vw, 3.6rem) !important; }
  .fn-section { width: min(calc(100% - 24px), var(--fn-wide)); }
  .fn-grid, .fn-archive-grid { grid-template-columns: 1fr !important; }
  .fn-card { padding: 20px !important; }
  .fn-btn { width: 100%; }
  .fn-entry table { display: block; overflow-x: auto; white-space: nowrap; }
  .fn-footer__grid { grid-template-columns: 1fr; gap: 28px; padding-top: 42px; }
  .fn-footer__bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Premium edition 2.0 */
body {
  color: var(--fn-ink);
  background: #faf8f3;
  font-family: "Avenir Next", Avenir, Montserrat, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: #284f61; }
a:hover { color: #a85f45; }
.fn-main { overflow: hidden; }
.fn-topbar {
  min-height: 32px; padding: 7px 18px; color: #f6f1e8; background: var(--fn-ink);
  font-size: 10px; font-weight: 760; letter-spacing: .14em; text-align: center; text-transform: uppercase;
}
.fn-topbar strong { color: #dbc38e; font-weight: 800; }
.fn-topline { display: none; }
.fn-header {
  border-bottom: 1px solid rgba(11,31,51,.10);
  background: rgba(250,248,243,.96);
  box-shadow: none;
}
.fn-header__inner { width: min(calc(100% - 40px), 1280px); min-height: 84px; gap: 24px; }
.fn-brand { min-width: 250px; gap: 13px; }
.fn-brand__mark {
  width: 46px; height: 46px; flex-basis: 46px; border: 1px solid rgba(200,169,106,.8); border-radius: 50%;
  color: var(--fn-ink); background: transparent; box-shadow: none;
  font-family: Georgia, "Times New Roman", serif; font-size: 18px; letter-spacing: -.07em;
}
.fn-brand__mark::after { content: "FN"; }
.fn-brand__mark svg { display: none; }
.fn-brand__text .wp-block-site-title { font-family: Georgia, "Times New Roman", serif; font-size: 18px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.fn-brand__text p { color: #7a7268; font-size: 9px !important; letter-spacing: .18em; }
.fn-nav a { padding: 10px 9px; color: var(--fn-ink); font-size: 11px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.fn-nav { flex: 1; }
.fn-nav .wp-block-navigation__container { flex-wrap: nowrap; justify-content: flex-end; }
.fn-nav a:hover { color: #a85f45; background: transparent; }
.fn-header__cta {
  padding: 11px 17px; border: 1px solid var(--fn-ink); border-radius: 0;
  color: #f8f4ec; background: var(--fn-ink); box-shadow: none; font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
}
.fn-header__cta:hover { color: #fff; background: #173b55; transform: translateY(-1px); }

.fn-content--front { padding-bottom: 0; }
.fn-luxe-hero {
  position: relative; isolation: isolate; margin: 0 !important; padding: clamp(66px,8vw,116px) 20px 60px !important;
  background: #f6f1e8; border-bottom: 1px solid #ded5c7;
}
.fn-luxe-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2; opacity: .24;
  background:
    linear-gradient(115deg, transparent 0 11%, rgba(11,31,51,.13) 11.1% 11.25%, transparent 11.35% 100%),
    linear-gradient(65deg, transparent 0 83%, rgba(11,31,51,.10) 83.1% 83.25%, transparent 83.35% 100%),
    radial-gradient(circle at 10% 110%, transparent 0 220px, rgba(200,169,106,.38) 221px 222px, transparent 223px),
    radial-gradient(circle at 92% -20%, transparent 0 280px, rgba(120,144,131,.35) 281px 282px, transparent 283px);
}
.fn-luxe-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; z-index: 2;
  background: linear-gradient(90deg,transparent,var(--fn-gold),transparent);
}
.fn-hero-grid { width: min(100%,1220px); margin: 0 auto !important; display: grid !important; grid-template-columns: minmax(0,1.05fr) minmax(380px,.82fr); align-items: center; gap: clamp(46px,7vw,96px); }
.fn-hero-copy { max-width: 700px; }
.fn-eyebrow {
  display: inline-flex !important; align-items: center; gap: 10px; margin: 0 0 24px !important;
  color: #5c7167; font-size: 10px !important; font-weight: 800 !important; letter-spacing: .18em; text-transform: uppercase;
}
.fn-eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--fn-gold); }
.fn-hero-copy h1 {
  max-width: 720px; margin: 0 0 24px !important; color: var(--fn-ink);
  font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem,5.8vw,5.8rem) !important;
  font-weight: 400 !important; line-height: .99 !important; letter-spacing: -.055em !important;
}
.fn-hero-copy h1 em { color: #a85f45; font-weight: 400; }
.fn-hero-lead { max-width: 610px; margin: 0 0 30px !important; color: #536169; font-size: clamp(1rem,1.5vw,1.18rem) !important; line-height: 1.7; }
.fn-luxe-actions { display: flex !important; flex-wrap: wrap; gap: 12px; margin: 0 !important; }
.fn-luxe-actions .wp-block-button__link { min-height: 51px; padding: 15px 23px; border-radius: 0; font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; transition: .2s ease; }
.fn-luxe-actions .is-style-fill .wp-block-button__link { color: #fff; background: var(--fn-ink); }
.fn-luxe-actions .is-style-outline .wp-block-button__link { color: var(--fn-ink); border: 1px solid #8e8578; background: transparent; }
.fn-luxe-actions .wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(11,31,51,.13); }
.fn-proofline { display: flex; flex-wrap: wrap; gap: 16px; margin: 24px 0 0 !important; color: #6e756f; font-size: 11px !important; }
.fn-proofline span::before { content: "✓"; margin-right: 6px; color: #668174; font-weight: 900; }

.fn-calculator {
  position: relative; padding: clamp(26px,4vw,42px); border: 1px solid rgba(11,31,51,.15); border-top: 3px solid var(--fn-gold);
  background: rgba(255,255,255,.9); box-shadow: 0 30px 80px rgba(11,31,51,.15);
}
.fn-calculator::before { content: "ESTIMATION 2026"; position: absolute; top: -13px; right: 22px; padding: 5px 10px; color: #fff; background: #789083; font-size: 8px; font-weight: 800; letter-spacing: .15em; }
.fn-calculator h2 { margin: 0 0 6px; font-family: Georgia,serif; font-size: clamp(1.55rem,2.2vw,2.15rem); font-weight: 400; }
.fn-calculator__intro { margin: 0 0 24px; color: #68737a; font-size: 12px; }
.fn-field { display: block; margin: 0 0 17px; }
.fn-field span { display: block; margin-bottom: 7px; color: #344754; font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.fn-field input,.fn-field select { width: 100%; height: 50px; padding: 0 14px; border: 1px solid #cfc7ba; border-radius: 0; color: var(--fn-ink); background: #fbfaf7; box-shadow: none; }
.fn-field input:focus,.fn-field select:focus { border-color: var(--fn-gold); outline: 2px solid rgba(200,169,106,.24); }
.fn-calculator__result { margin-top: 24px; padding: 21px 0 0; border-top: 1px solid #ded5c7; }
.fn-calculator__result span { display: block; color: #6f746e; font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.fn-calculator__result strong { display: block; margin: 4px 0; color: var(--fn-ink); font-family: Georgia,serif; font-size: clamp(2.4rem,4vw,3.6rem); font-weight: 400; line-height: 1; }
.fn-calculator__result small { color: #727870; font-size: 10px; }
.fn-calculator__link { display: block; margin-top: 18px; color: #a85f45; font-size: 10px; font-weight: 800; letter-spacing: .11em; text-decoration: none; text-transform: uppercase; }

.fn-statbar { width: min(calc(100% - 40px),1220px); margin: -1px auto 0 !important; display: grid !important; grid-template-columns: repeat(3,1fr); border-right: 1px solid #ded5c7; border-bottom: 1px solid #ded5c7; border-left: 1px solid #ded5c7; background: #fff; }
.fn-stat { position: relative; margin: 0 !important; padding: 26px 30px !important; text-align: center; }
.fn-stat + .fn-stat { border-left: 1px solid #ded5c7; }
.fn-stat strong { display: block; color: var(--fn-ink); font-family: Georgia,serif; font-size: 24px; font-weight: 400; }
.fn-stat span { color: #616a62; font-size: 9px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }

.fn-luxe-section { width: min(calc(100% - 40px),1220px); margin: 0 auto !important; padding: clamp(76px,9vw,126px) 0 !important; }
.fn-section-head { display: flex !important; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 42px !important; }
.fn-section-head h2,.fn-locale-copy h2,.fn-editorial-copy h2 { max-width: 720px; margin: 0 !important; font-family: Georgia,serif; font-size: clamp(2.3rem,4.4vw,4.4rem) !important; font-weight: 400 !important; line-height: 1.03 !important; letter-spacing: -.045em !important; }
.fn-section-head p { max-width: 420px; margin: 0 !important; color: #697279; font-size: 14px; }
.fn-guide-grid { display: grid !important; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.fn-guide-card { position: relative; min-height: 420px; overflow: hidden; padding: 0 !important; border: 1px solid rgba(11,31,51,.12); background: var(--fn-ink); box-shadow: none; }
.fn-guide-grid > .fn-guide-card { margin-block-start: 0 !important; }
.fn-guide-card::before { content: ""; position: absolute; inset: 0; background-position: center; background-size: cover; transition: transform .5s ease; }
.fn-guide-card::after { content: ""; position: absolute; inset: 34% 0 0; background: linear-gradient(transparent,rgba(7,23,38,.95)); }
.fn-guide-card:hover::before { transform: scale(1.035); }
.fn-guide-card--ancien::before { background-image: url("assets/images/maison-ancienne-campagne-v1.webp"); }
.fn-guide-card--neuf::before { background-image: url("assets/images/neuf.webp"); }
.fn-guide-card--terrain::before { background-image: url("assets/images/terrain.webp"); }
.fn-guide-card--soulte::before { background-image: url("assets/images/interieur.webp"); }
.fn-guide-card__body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 25px !important; color: #fff; }
.fn-guide-card__body > p:first-child { margin: 0 0 7px !important; color: #dcc38d; font-size: 9px !important; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.fn-guide-card h3 { margin: 0 0 10px !important; color: #fff; font-family: Georgia,serif; font-size: 25px !important; font-weight: 400; line-height: 1.1; }
.fn-guide-card__body > p:last-child { margin: 0 !important; color: #e7e8e4; font-size: 12px; line-height: 1.5; }
.fn-guide-card a { position: absolute; inset: 0; z-index: 4; font-size: 0; }

.fn-locale { margin: 0 !important; padding: clamp(80px,10vw,140px) 20px !important; color: #f5f0e7; background: var(--fn-ink); }
.fn-locale__inner { width: min(100%,1220px); margin: 0 auto !important; display: grid !important; grid-template-columns: .9fr 1fr; align-items: center; gap: clamp(48px,8vw,110px); }
.fn-map { position: relative; display: grid; place-items: center; min-height: 460px; }
.fn-map svg { width: min(100%,440px); height: auto; overflow: visible; }
.fn-map .fn-france-departments { filter: drop-shadow(0 12px 30px rgba(0,0,0,.12)); }
.fn-map .fn-department { fill: rgba(246,241,232,.025); stroke: rgba(200,169,106,.72); stroke-width: .65; vector-effect: non-scaling-stroke; }
.fn-map .fn-map__overseas rect { fill: rgba(246,241,232,.025); stroke: #c8a96a; stroke-width: .8; }
.fn-map text { fill: #dbc38e; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-anchor: middle; }
.fn-map__label { position: absolute; padding: 7px 10px; border: 1px solid rgba(200,169,106,.34); color: #f5f0e7; background: rgba(11,31,51,.85); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.fn-map__label--coverage { top: 29%; left: 51%; }
.fn-map__label--metro { top: 58%; left: 12%; }
.fn-map__label--overseas { bottom: 1%; left: 25%; }
.fn-locale-copy .fn-eyebrow { color: #c3d0c8; }
.fn-locale-copy h2 { color: #fff; }
.fn-locale-copy > p { max-width: 550px; color: #bdc7cc; font-size: 15px; }
.fn-locale-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0 !important; padding: 0; list-style: none; }
.fn-locale-list li { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.12); color: #e4e6e3; font-size: 12px; }
.fn-locale-list li::before { content: "↗"; margin-right: 10px; color: #c8a96a; }
.fn-text-link { color: #dec78f !important; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.fn-editorial { display: grid !important; grid-template-columns: 1fr 1fr; min-height: 600px; margin: 0 !important; background: #ece4d8; }
.fn-editorial__image { min-height: 560px; background: url("assets/images/interieur.webp") center/cover; }
.fn-editorial-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(54px,8vw,110px) !important; }
.fn-editorial-copy > p { max-width: 560px; color: #4f5c60; }
.fn-editorial-copy .fn-eyebrow { color: #4f5c60; }
.fn-editorial-copy .fn-text-link { color: #75422f !important; }
.fn-signature { margin-top: 20px !important; padding-top: 18px; border-top: 1px solid #cfc5b6; color: #334b58 !important; font-size: 12px; }

.fn-home-query .wp-block-post-template { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.fn-home-query .fn-card { border-radius: 0 !important; box-shadow: none !important; }
.fn-home-query .fn-card h3 { font-family: Georgia,serif; font-weight: 400; }
.fn-home-query .fn-badge { color: #52695e !important; border: 0 !important; padding: 0 !important; background: transparent !important; }

.fn-footer { color: #dce2df; background: #071726; }
.fn-footer__grid { padding-top: 70px; }
.fn-footer h2 { font-family: Georgia,serif; font-size: 23px; font-weight: 400; }
.fn-footer h3 { color: #d8c28e; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.fn-footer p { color: #aab5b7; }
.fn-footer a { color: #dce2df; }
.fn-footer a:hover { color: #d8c28e; }
.fn-footer__bottom { border-color: rgba(216,194,142,.18); }

/* Header éditorial — reproduction de la maquette validée */
.fn-topbar { display: none !important; }
.fn-header {
  position: sticky;
  top: 0;
  z-index: 999;
  margin: 0 !important;
  border-top: 3px solid #0b1f33;
  border-bottom: 1px solid #d8c49d;
  background: rgba(255,255,255,.98);
  box-shadow: none;
  backdrop-filter: blur(12px);
}
body.admin-bar .fn-header { top: 32px; }
.fn-header__inner {
  width: min(calc(100% - 72px), 1420px);
  min-height: 66px;
  margin: 0 auto;
  display: grid !important;
  grid-template-columns: minmax(280px,1fr) auto minmax(150px,1fr);
  align-items: center;
  gap: 38px;
}
.fn-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  color: #0b1f33;
  text-decoration: none;
}
.fn-brand__mark {
  width: 35px;
  height: 40px;
  flex: 0 0 35px;
  display: block;
  border: 0;
  border-radius: 0;
  color: #aa8545;
  background: transparent;
  box-shadow: none;
}
.fn-brand__mark::after { content: none; }
.fn-brand__mark svg { display: block; width: 35px; height: 40px; overflow: visible; }
.fn-monogram__rule { fill: none; stroke: #b08b4a; stroke-width: .8; }
.fn-monogram__f,
.fn-monogram__n { fill: #a9803d; font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.fn-monogram__f { font-size: 24px; }
.fn-monogram__n { font-size: 31px; }
.fn-brand__divider { width: 1px; height: 30px; background: #d8d3ca; }
.fn-brand__wordmark {
  color: #0b1f33;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .2em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.fn-nav { justify-self: center; margin: 0; }
.fn-nav .wp-block-navigation__container {
  flex-wrap: nowrap;
  justify-content: center;
  gap: clamp(18px,2.1vw,38px);
}
.fn-nav .fn-header-menu { gap: clamp(13px,1.45vw,26px); }
.fn-nav a {
  padding: 10px 0;
  border-radius: 0;
  color: #0b1f33;
  background: transparent;
  font-size: 9px;
  font-weight: 760;
  letter-spacing: .1em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.fn-nav a:hover,
.fn-nav .current-menu-item > a { color: #a9803d; background: transparent; }
.fn-nav .menu-item-has-children { position: relative; }
.fn-nav .menu-item-has-children > a { display: inline-flex; align-items: center; gap: 6px; }
.fn-nav .menu-item-has-children > a::after {
  content: "";
  width: 5px;
  height: 5px;
  margin-top: -3px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}
.fn-nav .sub-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 1000;
  display: grid;
  width: max-content;
  min-width: 230px;
  gap: 0;
  padding: 10px;
  border: 1px solid #d8c49d;
  background: rgba(255,255,255,.99);
  box-shadow: 0 20px 45px rgba(11,31,51,.13);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%,8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.fn-nav .sub-menu::before { content: ""; position: absolute; right: 0; bottom: 100%; left: 0; height: 14px; }
.fn-nav .menu-item-has-children:hover > .sub-menu,
.fn-nav .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%,0);
}
.fn-nav .sub-menu a {
  padding: 12px 14px;
  color: #344754;
  font-size: 9px;
  letter-spacing: .08em;
  border-bottom: 1px solid #eee8de;
}
.fn-nav .sub-menu li:last-child a { border-bottom: 0; }
.fn-nav .sub-menu a:hover,
.fn-nav .sub-menu .current-menu-item > a { color: #8b6530; background: #f7f2e9; }
.fn-nav .fn-guides-mega > .sub-menu {
  grid-template-columns: repeat(4, minmax(170px, 1fr));
  width: min(920px, calc(100vw - 72px));
  padding: 18px;
  gap: 2px 12px;
  border-top: 3px solid var(--fn-gold);
}
.fn-nav .fn-guides-mega > .sub-menu li { min-width: 0; }
.fn-nav .fn-guides-mega > .sub-menu a {
  height: 100%;
  min-height: 42px;
  padding: 11px 12px;
  border-bottom: 1px solid #eee8de;
  line-height: 1.35;
  white-space: normal;
}
.fn-header__actions { justify-self: end; margin: 0; }
.fn-header__cta {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #0b1f33;
  background: transparent;
  box-shadow: none;
  transform: none;
}
.fn-header__cta .wp-block-button__link {
  min-width: 126px;
  padding: 10px 20px;
  border: 1px solid #c5a66e;
  border-radius: 3px;
  color: #0b1f33;
  background: transparent;
  font-size: 9px;
  font-weight: 760;
  letter-spacing: .14em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}
.fn-header__cta:hover { color: #0b1f33; background: transparent; transform: none; }
.fn-header__cta .wp-block-button__link:hover { color: #fff; background: #0b1f33; border-color: #0b1f33; }
.fn-header__inner > .fn-header__cta {
  justify-self: end;
  min-width: 126px;
  padding: 10px 20px;
  border: 1px solid #c5a66e;
  border-radius: 3px;
  color: #0b1f33;
  background: transparent;
  font-size: 9px;
  font-weight: 760;
  letter-spacing: .14em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}
.fn-header__inner > .fn-header__cta:hover { color: #fff; background: #0b1f33; border-color: #0b1f33; }

.fn-mobile__panel .sub-menu { margin: 0 0 6px 16px; padding: 0 0 0 12px; border-left: 1px solid #d8c49d; }
.fn-mobile__panel .sub-menu a { padding: 8px 10px; color: #5d676b; font-size: 12px; font-weight: 650; }
.fn-mobile__panel .fn-guides-mega > .sub-menu { max-height: 52vh; overflow-y: auto; overscroll-behavior: contain; }
.fn-mobile__about { margin-top: 8px; border-top: 1px solid #e6ded2; color: #8b6530 !important; text-transform: uppercase; letter-spacing: .1em; font-size: 10px; }

@media (max-width: 1080px) {
  .fn-header__inner { grid-template-columns: 1fr auto auto; gap: 20px; }
  .fn-nav { display: block; margin-left: auto; }
  .fn-header__inner > nav.fn-nav { display: none; }
  .fn-mobile { display: block; justify-self: end; }
  .fn-nav .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none; }
  .fn-nav .wp-block-navigation__responsive-container-open { display: flex; color: var(--fn-ink); }
  .fn-header__actions { margin-left: auto; }
  .fn-hero-grid { grid-template-columns: 1fr 400px; gap: 38px; }
  .fn-guide-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 820px) {
  body.admin-bar .fn-header { top: 46px; }
  .fn-header__inner { grid-template-columns: 1fr auto; }
  .fn-nav { grid-column: 2; }
  .fn-header__actions { display: none !important; }
  .fn-header__inner > .fn-header__cta { display: none !important; }
  .fn-hero-grid,.fn-locale__inner,.fn-editorial { grid-template-columns: 1fr; }
  .fn-hero-copy { text-align: center; margin-inline: auto; }
  .fn-eyebrow { justify-content: center; }
  .fn-luxe-actions,.fn-proofline { justify-content: center; }
  .fn-calculator { width: min(100%,520px); margin-inline: auto; }
  .fn-section-head { display: block !important; text-align: center; }
  .fn-section-head p { margin: 18px auto 0 !important; }
  .fn-map { min-height: 390px; }
  .fn-editorial__image { min-height: 420px; }
}
@media (max-width: 560px) {
  .fn-topbar { font-size: 8px; }
  .fn-header__inner { width: min(calc(100% - 24px),1280px); min-height: 70px; }
  .fn-brand { min-width: 0; }
  .fn-brand__mark { width: 40px; height: 40px; flex-basis: 40px; }
  .fn-brand__text .wp-block-site-title { font-size: 14px; }
  .fn-header__inner { min-height: 60px; grid-template-columns: 1fr auto; gap: 14px; }
  .fn-brand { gap: 8px; }
  .fn-brand__mark { width: 31px; height: 35px; flex-basis: 31px; }
  .fn-brand__mark svg { width: 31px; height: 35px; }
  .fn-brand__divider { height: 25px; }
  .fn-brand__wordmark { font-size: 11px; letter-spacing: .14em; }
  .fn-luxe-hero { padding: 52px 12px 36px !important; }
  .fn-hero-copy h1 { font-size: clamp(2.55rem,13vw,3.6rem) !important; }
  .fn-luxe-actions .wp-block-button { width: 100%; }
  .fn-luxe-actions .wp-block-button__link { width: 100%; }
  .fn-proofline { display: block; }
  .fn-proofline span { display: block; margin: 6px 0; }
  .fn-statbar { width: calc(100% - 24px); grid-template-columns: 1fr; }
  .fn-stat + .fn-stat { border-top: 1px solid #ded5c7; border-left: 0; }
  .fn-luxe-section { width: calc(100% - 24px); padding: 66px 0 !important; }
  .fn-guide-grid { grid-template-columns: 1fr; }
  .fn-guide-card { min-height: 370px; }
  .fn-locale { padding-inline: 12px !important; }
  .fn-map { min-height: 330px; }
  .fn-locale-list { grid-template-columns: 1fr; }
  .fn-editorial-copy { padding: 52px 24px !important; }
  .fn-home-query .wp-block-post-template { grid-template-columns: 1fr; }
}

/* Editorial system 2.1 — shared guides, blog, archives and articles */
.fn-editorial-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(64px,8vw,112px) 0 clamp(52px,6vw,82px);
  border-bottom: 1px solid #d8c49d;
  background: #f6f1e8;
}
.fn-editorial-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .6;
  background:
    linear-gradient(118deg, transparent 0 13%, rgba(11,31,51,.07) 13.08% 13.16%, transparent 13.24%),
    radial-gradient(circle at 92% -20%, transparent 0 270px, rgba(200,169,106,.25) 271px 272px, transparent 273px),
    radial-gradient(circle at 8% 125%, transparent 0 230px, rgba(120,144,131,.18) 231px 232px, transparent 233px);
}
.fn-editorial-hero::after {
  content: "";
  position: absolute;
  right: clamp(24px,7vw,120px);
  bottom: 0;
  width: min(30vw,420px);
  height: min(19vw,250px);
  border-top: 1px solid rgba(200,169,106,.52);
  border-left: 1px solid rgba(200,169,106,.52);
  transform: skewX(-28deg);
  pointer-events: none;
}
.fn-editorial-hero__inner { position: relative; z-index: 1; }
.fn-editorial-hero .fn-kicker {
  margin: 0 0 22px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #5b7167 !important;
  background: transparent !important;
  font-size: 9px !important;
  letter-spacing: .2em !important;
}
.fn-editorial-hero .fn-kicker::before { content: ""; width: 32px; height: 1px; margin-right: 11px; background: var(--fn-gold); }
.fn-editorial-hero h1 {
  max-width: 1060px;
  margin: 0;
  color: var(--fn-ink);
  font-family: Georgia,"Times New Roman",serif;
  font-size: clamp(3rem,6vw,6.15rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.055em;
}
.fn-editorial-hero--single h1 { max-width: 1040px; font-size: clamp(2.75rem,5vw,5.15rem); }
.fn-editorial-hero__intro { max-width: 760px !important; margin: 28px 0 0 !important; color: #52616a !important; font-size: clamp(1rem,1.5vw,1.18rem) !important; line-height: 1.7; }
.fn-editorial-hero .fn-meta { gap: 0; margin-top: 28px; color: #5e6767; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.fn-editorial-hero .fn-meta span { display: inline-flex; align-items: center; }
.fn-editorial-hero .fn-meta span + span::before { content: ""; width: 4px; height: 4px; margin: 0 14px; border-radius: 50%; background: var(--fn-gold); }
.fn-editorial-hero .fn-meta a { color: inherit; }
.fn-editorial-hero .fn-breadcrumbs { padding-top: 26px; color: #74766f; font-size: 11px; }
.fn-editorial-hero .fn-breadcrumbs span[aria-hidden] { margin: 0 7px; color: #a9894e; }

.fn-hub { padding-top: 0; }
.fn-hub-intro {
  display: grid;
  grid-template-columns: minmax(0,1.25fr) minmax(280px,.75fr);
  align-items: end;
  gap: clamp(36px,7vw,96px);
  padding-top: clamp(72px,9vw,126px);
  padding-bottom: 42px;
}
.fn-hub-intro .fn-eyebrow { margin-bottom: 18px !important; }
.fn-hub-intro h2 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia,"Times New Roman",serif;
  font-size: clamp(2.4rem,4.5vw,4.65rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.045em;
}
.fn-hub-intro > p { margin: 0 0 8px; color: #657075; font-size: 14px; line-height: 1.75; }

.fn-pillar-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; padding-bottom: clamp(78px,9vw,126px); background: #d8cfbf; border: 1px solid #d8cfbf; }
.fn-pillar-card { position: relative; min-height: 350px; padding: clamp(30px,4vw,54px); background: #fbf9f5; }
.fn-pillar-card:nth-child(2),.fn-pillar-card:nth-child(3) { background: #f0e9dd; }
.fn-pillar-card::after { content: ""; position: absolute; top: 0; right: 0; width: 95px; height: 95px; border-bottom: 1px solid rgba(200,169,106,.44); transform: skewX(-35deg); transform-origin: top right; }
.fn-pillar-card__number { color: #a88548; font-family: Georgia,serif; font-size: 13px; }
.fn-pillar-card__tag { float: right; color: #60746b; font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.fn-pillar-card h2 { max-width: 430px; margin: 82px 0 16px; font-family: Georgia,serif; font-size: clamp(2rem,3vw,3.15rem); font-weight: 400; line-height: 1.03; letter-spacing: -.035em; }
.fn-pillar-card p { max-width: 430px; margin: 0 0 28px; color: #616b6e; font-size: 14px; }
.fn-pillar-card a { color: #734735; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.fn-pillar-card a span { display: inline-block; margin-left: 8px; transition: transform .2s ease; }
.fn-pillar-card a:hover span { transform: translateX(4px); }

.fn-guide-paths { padding: clamp(80px,10vw,138px) 20px; color: #f3eee5; background: var(--fn-ink); }
.fn-guide-paths__inner { display: grid; grid-template-columns: minmax(0,.85fr) minmax(420px,1.15fr); gap: clamp(54px,9vw,130px); align-items: start; }
.fn-guide-paths .fn-eyebrow { color: #c3d0c8; }
.fn-guide-paths h2 { margin: 0 0 22px; color: #fff; font-family: Georgia,serif; font-size: clamp(2.5rem,4.4vw,4.7rem); font-weight: 400; line-height: 1.02; letter-spacing: -.045em; }
.fn-guide-paths p { max-width: 520px; color: #b7c0c2; font-size: 14px; }
.fn-path-list { border-top: 1px solid rgba(255,255,255,.18); }
.fn-path-list a { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 18px; padding: 23px 0; border-bottom: 1px solid rgba(255,255,255,.16); color: #fff; text-decoration: none; }
.fn-path-list a > span { color: #d7be84; font-family: Georgia,serif; font-size: 12px; }
.fn-path-list strong { font-family: Georgia,serif; font-size: 22px; font-weight: 400; }
.fn-path-list em { color: #9eadb0; font-size: 9px; font-style: normal; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.fn-path-list a:hover strong { color: #e1ca94; }

.fn-topic-nav { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 32px; padding-top: 34px; padding-bottom: 34px; border-bottom: 1px solid var(--fn-line); }
.fn-topic-nav > span { color: #60736a; font-size: 9px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.fn-topic-nav > div { display: flex; flex-wrap: wrap; gap: 8px; }
.fn-topic-nav a { padding: 9px 13px; border: 1px solid #d6cebf; color: #334956; background: #fff; font-size: 11px; text-decoration: none; }
.fn-topic-nav a:hover { color: #fff; border-color: var(--fn-ink); background: var(--fn-ink); }
.fn-blog-latest { padding-bottom: clamp(80px,10vw,130px); }
.fn-blog-latest .fn-hub-intro { padding-top: clamp(68px,8vw,108px); }

.fn-archive-shell { padding-bottom: 90px; }
.fn-archive-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; padding: 0; }
.fn-post-card { display: flex; flex-direction: column; overflow: hidden; min-width: 0; border: 1px solid #d8d0c2; border-radius: 0; background: #fff; box-shadow: none; transition: transform .22s ease, box-shadow .22s ease; }
.fn-post-card:hover { transform: translateY(-4px); box-shadow: 0 22px 45px rgba(11,31,51,.10); }
.fn-post-card__media { position: relative; display: grid; place-items: center; aspect-ratio: 16/10; overflow: hidden; background: #e7e0d5; }
.fn-post-card__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(.96); transition: transform .5s ease, filter .3s ease; }
.fn-post-card:hover .fn-post-card__media img { transform: scale(1.035); filter: saturate(.95) contrast(1); }
.fn-post-card__media--placeholder { background: linear-gradient(145deg,#0b1f33,#173b55); }
.fn-post-card__media--placeholder::before,.fn-post-card__media--placeholder::after { content: ""; position: absolute; width: 56%; height: 1px; background: rgba(200,169,106,.48); }
.fn-post-card__media--placeholder::before { transform: rotate(34deg); }
.fn-post-card__media--placeholder::after { transform: rotate(-34deg); }
.fn-post-card__monogram { position: relative; z-index: 1; color: #d8c18a; font-family: Georgia,serif; font-size: 42px; letter-spacing: -.08em; }
.fn-post-card__line { position: absolute; inset: 14px; border: 1px solid rgba(200,169,106,.28); }
.fn-post-card__body { display: flex; flex: 1; flex-direction: column; padding: 26px; }
.fn-post-card__meta { display: flex; justify-content: space-between; gap: 12px; color: #60746b; font-size: 9px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.fn-post-card__meta time { color: #8a8175; font-weight: 650; }
.fn-post-card h2 { margin: 15px 0 13px; font-family: Georgia,serif; font-size: clamp(1.45rem,2vw,2rem); font-weight: 400; line-height: 1.15; letter-spacing: -.025em; }
.fn-post-card h2 a { color: var(--fn-ink); text-decoration: none; }
.fn-post-card p { margin: 0 0 24px; color: #697176; font-size: 13px; line-height: 1.65; }
.fn-post-card__link { margin-top: auto; color: #754633; font-size: 9px; font-weight: 800; letter-spacing: .13em; text-decoration: none; text-transform: uppercase; }
.fn-post-card__link span { margin-left: 6px; }
.fn-blog-grid .fn-post-card--featured { grid-column: span 2; display: grid; grid-template-columns: 1.08fr .92fr; }
.fn-blog-grid .fn-post-card--featured .fn-post-card__media { height: 100%; aspect-ratio: auto; min-height: 420px; }
.fn-blog-grid .fn-post-card--featured .fn-post-card__body { justify-content: center; padding: clamp(32px,5vw,62px); }
.fn-blog-grid .fn-post-card--featured h2 { font-size: clamp(2rem,3.2vw,3.4rem); }
.nav-links { padding: 48px 0 0; }
.nav-links .page-numbers { border-radius: 0; color: var(--fn-ink); border-color: #d8d0c2; }
.nav-links .current { color: #fff; border-color: var(--fn-ink); background: var(--fn-ink); }

.fn-article-layout { width: min(calc(100% - 36px),820px); padding-top: clamp(52px,7vw,86px); padding-bottom: clamp(76px,9vw,118px); }
.fn-prose { color: #303e47; font-size: 17px; line-height: 1.85; }
.fn-prose > p:first-of-type:not(:empty) { margin-bottom: 32px; color: #263b47; font-family: Georgia,serif; font-size: clamp(1.25rem,2vw,1.55rem); line-height: 1.55; }
.fn-prose h2,.fn-prose h3,.fn-prose h4 { font-family: Georgia,"Times New Roman",serif; font-weight: 400; letter-spacing: -.03em; }
.fn-prose h2 { margin: 2.15em 0 .72em; font-size: clamp(2rem,3.5vw,3.05rem); line-height: 1.08; }
.fn-prose h2::before { content: ""; display: block; width: 42px; height: 1px; margin-bottom: 19px; background: var(--fn-gold); }
.fn-prose h3 { font-size: clamp(1.45rem,2.5vw,2rem); }
.fn-prose a { color: #7a4836; text-decoration-color: rgba(122,72,54,.42); }
.fn-prose strong { color: var(--fn-ink); }
.fn-prose blockquote { margin: 2.2em 0; padding: 30px 34px; border: 0; border-left: 2px solid var(--fn-gold); border-radius: 0; color: #263d49; background: #f0e9dd; font-family: Georgia,serif; font-size: 1.2em; }
.fn-prose table { border-radius: 0; border-color: #d9d0c2; }
.fn-prose th { color: #fff; background: var(--fn-ink); }
.fn-featured { margin: 0 0 46px; }
.fn-featured img { display: block; width: 100%; max-height: 520px; object-fit: cover; }

.fn-editorial-cta { width: min(calc(100% - 40px),1180px); margin: clamp(76px,9vw,126px) auto; padding: clamp(38px,6vw,72px); display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 44px; color: #f4f0e8; background: var(--fn-ink); border-top: 3px solid var(--fn-gold); }
.fn-prose > .fn-editorial-cta { width: 100%; margin: 68px 0 50px; grid-template-columns: 1fr; }
.fn-editorial-cta .fn-eyebrow { color: #c7d2cc; }
.fn-editorial-cta h2 { max-width: 690px; margin: 0 0 14px; color: #fff; font-family: Georgia,serif; font-size: clamp(2rem,3.8vw,3.85rem); font-weight: 400; line-height: 1.04; }
.fn-editorial-cta h2::before { content: none; }
.fn-editorial-cta p { max-width: 620px; margin: 0; color: #b9c2c4; font-size: 13px; }
.fn-editorial-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.fn-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 19px; font-size: 9px; font-weight: 800; letter-spacing: .13em; text-decoration: none !important; text-transform: uppercase; }
.fn-button--light { color: var(--fn-ink) !important; background: #f4efe6; }
.fn-button--ghost { color: #f4efe6 !important; border: 1px solid rgba(244,239,230,.42); }

.fn-author-box { margin-top: 0; padding: 30px; border: 1px solid #d8d0c2; border-radius: 0; background: #f0e9dd; }
.fn-author-box__avatar img { border-radius: 50%; filter: grayscale(.3); }
.fn-author-box__label { color: #6b776f; font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.fn-author-box h2 { margin: 4px 0 6px; font-family: Georgia,serif; font-size: 24px; font-weight: 400; }
.fn-related { padding-top: 10px; padding-bottom: clamp(80px,10vw,130px); }
.fn-related .fn-hub-intro { padding-top: 0; }

@media (max-width: 900px) {
  .fn-hub-intro,.fn-guide-paths__inner { grid-template-columns: 1fr; }
  .fn-hub-intro { align-items: start; gap: 22px; }
  .fn-pillar-grid { grid-template-columns: 1fr 1fr; }
  .fn-path-list { min-width: 0; }
  .fn-archive-grid { grid-template-columns: 1fr 1fr; }
  .fn-blog-grid .fn-post-card--featured { grid-column: 1/-1; }
  .fn-editorial-cta { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 620px) {
  .fn-editorial-hero { padding: 50px 0 44px; }
  .fn-editorial-hero h1 { font-size: clamp(2.65rem,13vw,4rem); }
  .fn-editorial-hero::after { display: none; }
  .fn-editorial-hero__intro { margin-top: 20px !important; }
  .fn-editorial-hero .fn-meta { display: grid; gap: 6px; }
  .fn-editorial-hero .fn-meta span + span::before { display: none; }
  .fn-hub-intro { padding-top: 66px; padding-bottom: 30px; }
  .fn-pillar-grid { width: calc(100% - 24px); grid-template-columns: 1fr; }
  .fn-pillar-card { min-height: 310px; }
  .fn-pillar-card h2 { margin-top: 62px; }
  .fn-guide-paths { padding-inline: 12px; }
  .fn-path-list a { grid-template-columns: 28px 1fr; }
  .fn-path-list em { display: none; }
  .fn-topic-nav { grid-template-columns: 1fr; gap: 14px; }
  .fn-archive-grid { grid-template-columns: 1fr; }
  .fn-blog-grid .fn-post-card--featured { display: flex; }
  .fn-blog-grid .fn-post-card--featured .fn-post-card__media { min-height: 0; aspect-ratio: 16/10; }
  .fn-article-layout { width: min(calc(100% - 28px),820px); }
  .fn-prose { font-size: 16px; }
  .fn-editorial-cta { width: calc(100% - 24px); padding: 34px 24px; }
  .fn-prose > .fn-editorial-cta { width: 100%; }
  .fn-editorial-cta__actions,.fn-button { width: 100%; }
  .fn-author-box { grid-template-columns: 1fr; }
}

/* Generic page components 2.2 — content owns meaning, theme owns presentation */
.fn-prose .fdn-wrap { display: contents; }
.fn-prose .fn-content-shell { width: 100%; margin: 0 auto 40px; }
.fn-prose .fn-grid-2,.fn-prose .fn-grid-3 { display: grid; align-items: stretch; gap: 16px; margin: 24px 0 38px; }
.fn-prose .fn-grid-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.fn-prose .fn-grid-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.fn-prose .fn-flex-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 18px 0 24px; }
.fn-prose .fn-flex-row > label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid #d2c9bb !important;
  color: #344754;
  background: #fff !important;
}
.fn-prose .fn-flex-row > label:has(input:checked) { border-color: var(--fn-gold) !important; color: var(--fn-ink); background: #f0e9dd !important; }
.fn-prose .fn-content-card,
.fn-prose .fdn-keytake,
.fn-prose .fdn-trust,
.fn-prose .fdn-author-box {
  position: relative;
  margin: 32px 0;
  padding: clamp(24px,4vw,38px);
  border: 1px solid #d8d0c2;
  border-radius: 0;
  color: #32434c;
  background: #f5f0e7;
  box-shadow: none;
}
.fn-prose .fn-content-card::before,
.fn-prose .fdn-keytake::before,
.fn-prose .fdn-trust::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 52px;
  height: 2px;
  background: var(--fn-gold);
}
.fn-prose .fn-content-card h2:first-child,
.fn-prose .fn-content-card h3:first-child,
.fn-prose .fdn-keytake h2:first-child,
.fn-prose .fdn-trust h2:first-child { margin-top: 0; }
.fn-prose .fdn-keytake ul:last-child,.fn-prose .fdn-trust p:last-child { margin-bottom: 0; }
.fn-prose .fn-content-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--fn-ink);
  color: #fff;
  background: var(--fn-ink);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}
.fn-prose .fn-content-button:hover { color: var(--fn-ink); background: transparent; }
.fn-prose details {
  margin: 0 0 10px;
  padding: 0;
  border: 1px solid #d8d0c2;
  background: #fff;
}
.fn-prose details > summary {
  position: relative;
  padding: 18px 52px 18px 20px;
  cursor: pointer;
  color: var(--fn-ink);
  font-family: Georgia,"Times New Roman",serif;
  font-size: 18px;
  list-style: none;
}
.fn-prose details > summary::-webkit-details-marker { display: none; }
.fn-prose details > summary::after { content: "+"; position: absolute; top: 50%; right: 20px; color: #9a7740; font-family: Georgia,serif; font-size: 24px; transform: translateY(-50%); }
.fn-prose details[open] > summary::after { content: "−"; }
.fn-prose details > :not(summary) { margin-right: 20px; margin-left: 20px; }
.fn-prose details > :last-child { margin-bottom: 20px; }
.fn-prose input[type="text"],.fn-prose input[type="email"],.fn-prose input[type="number"],.fn-prose input[type="tel"],.fn-prose select,.fn-prose textarea {
  width: 100%; min-height: 50px; padding: 11px 13px; border: 1px solid #cfc7ba; border-radius: 0; color: var(--fn-ink); background: #fff;
}
.fn-prose input:focus,.fn-prose select:focus,.fn-prose textarea:focus { border-color: var(--fn-gold); outline: 2px solid rgba(200,169,106,.22); }
.fn-prose input[type="radio"],.fn-prose input[type="checkbox"] { accent-color: var(--fn-ink); }
.fn-prose label { color: #344754; font-size: 12px; font-weight: 750; }

/* Native, theme-owned table of contents for every guide and article */
.fn-prose .fn-toc {
  display: block;
  width: 100%;
  margin: 0 0 clamp(50px,7vw,76px);
  padding: 0;
  overflow: hidden;
  border: 1px solid #d8d0c2;
  border-top: 3px solid var(--fn-gold);
  color: var(--fn-ink);
  background: #f8f5ef;
}
.fn-prose .fn-toc > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
  padding: 18px 26px 18px 28px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.fn-prose .fn-toc > summary::-webkit-details-marker { display: none; }
.fn-prose details.fn-toc > summary::after { display: none !important; content: none !important; }
.fn-toc__heading { display: grid; gap: 3px; min-width: 0; }
.fn-toc__eyebrow {
  color: #806b48;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
}
.fn-toc__title {
  color: var(--fn-ink);
  font-family: Georgia,"Times New Roman",serif;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.15;
}
.fn-toc__controls { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.fn-toc__count { color: #68757a; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.fn-toc__action { color: #344b57; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.fn-toc__action--open { display: inline; }
.fn-toc__action--close { display: none; }
.fn-toc[open] .fn-toc__action--open { display: none; }
.fn-toc[open] .fn-toc__action--close { display: inline; }
.fn-toc__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #cbbda6;
  border-radius: 50%;
  background: #fff;
}
.fn-toc__icon::before,.fn-toc__icon::after { content: ""; position: absolute; width: 12px; height: 1px; background: var(--fn-ink); transition: transform .18s ease; }
.fn-toc__icon::after { transform: rotate(90deg); }
.fn-toc[open] .fn-toc__icon::after { transform: rotate(0); }
.fn-prose .fn-toc > .fn-toc__nav { margin: 0 !important; padding: 0 28px 26px; border-top: 1px solid #ddd5c8; }
.fn-toc__list {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 0 34px;
  margin: 0 !important;
  padding: 10px 0 0 !important;
  list-style: none;
  counter-reset: fn-toc;
}
.fn-toc__item { margin: 0 !important; padding: 0; border-top: 1px solid #e3ddd3; counter-increment: fn-toc; }
.fn-toc__item:nth-child(-n+2) { border-top: 0; }
.fn-toc__item a {
  display: grid;
  grid-template-columns: 24px minmax(0,1fr);
  gap: 8px;
  align-items: baseline;
  padding: 13px 4px;
  color: #344b57 !important;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
  text-decoration: none !important;
}
.fn-toc__item a::before { content: counter(fn-toc,decimal-leading-zero); color: #a17e44; font-family: Georgia,serif; font-size: 11px; font-weight: 400; }
.fn-toc__item--h3 a { padding-left: 16px; color: #657278 !important; font-size: 11px; font-weight: 550; }
.fn-toc__item a:hover,.fn-toc__item a:focus-visible { color: #8a5039 !important; }
.fn-toc__item a:focus-visible,.fn-prose .fn-toc > summary:focus-visible { outline: 2px solid var(--fn-gold); outline-offset: -2px; }

@media (max-width: 680px) {
  .fn-prose .fn-grid-2,.fn-prose .fn-grid-3 { grid-template-columns: 1fr; }
  .fn-prose .fn-toc > summary { min-height: 80px; padding: 16px 18px 16px 20px; }
  .fn-toc__title { font-size: 22px; }
  .fn-toc__count,.fn-toc__action { display: none !important; }
  .fn-toc__controls { gap: 0; }
  .fn-toc__icon { width: 36px; height: 36px; }
  .fn-toc__nav { padding: 0 20px 20px; }
  .fn-toc__list { grid-template-columns: 1fr; padding-top: 6px !important; }
  .fn-toc__item:nth-child(2) { border-top: 1px solid #e3ddd3; }
}
