/*
 Theme Name:   Kadence Child — Fairway Pick
 Theme URI:    https://fairwaypick.com
 Description:  Fairway Pick child theme for Kadence. Applies brand colours, typography, and layout overrides.
 Author:       Fairway Pick
 Template:     kadence
 Version:      1.6.1
 License:      GNU General Public License v2 or later
 Text Domain:  fairwaypick-kadence-child
*/

/* ============================================================
   1. BRAND CSS VARIABLES
   ============================================================ */
:root {
  --fe-green:        #1F3B2E;   /* Primary — nav, headings, buttons */
  --fe-cream:        #F5F0E6;   /* Background, card fill            */
  --fe-gold:         #B08D57;   /* Links hover, CTA border, price   */
  --fe-text:         #2C2C2C;   /* Body copy                        */
  --fe-muted:        #6E6E6E;   /* Secondary / meta text            */
  --fe-white:        #FFFFFF;
  --fe-border:       #E2DDD4;   /* Subtle rule / card border        */

  /* Typography */
  --fe-font-heading: 'Playfair Display', Georgia, serif;
  --fe-font-body:    'Inter', system-ui, sans-serif;
  --fe-font-mono:    'IBM Plex Mono', 'Courier New', monospace;
}

/* ============================================================
   2. GLOBAL RESETS & BASE
   ============================================================ */
body {
  background-color: var(--fe-cream);
  color: var(--fe-text);
  font-family: var(--fe-font-body);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   3. HEADINGS
   ============================================================ */
h1, h2, h3, h4, h5, h6,
.entry-title,
.page-title {
  font-family: var(--fe-font-heading);
  font-weight: 700;
  color: var(--fe-green);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem);   }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

/* ============================================================
   4. LINKS
   ============================================================ */
a {
  color: var(--fe-green);
  text-decoration: underline;
  text-decoration-color: var(--fe-gold);
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
a:hover, a:focus {
  color: var(--fe-gold);
}

/* ============================================================
   5. NAVIGATION
   ============================================================ */
.site-header,
#masthead {
  background-color: var(--fe-green) !important;
}

/* Kadence header builder — nav links */
.main-navigation a,
.kadence-navigation a,
header .menu a {
  color: var(--fe-cream) !important;
  font-family: var(--fe-font-body);
  font-size: 0.78rem;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0 0.3em;
}
.main-navigation a:hover,
.kadence-navigation a:hover {
  color: var(--fe-gold) !important;
}

/* Hide text site title — custom logo image handles branding */
header .site-title,
header .site-description,
.site-branding .site-title,
.kadence-header .site-title,
#masthead .site-title,
.header-branding .site-title,
.wp-site-title {
  display: none !important;
}

/* Keep the custom logo image visible */
.custom-logo-link,
.custom-logo-link img,
.site-logo img {
  display: inline-block !important;
  visibility: visible !important;
}

/* ============================================================
   6. BUTTONS & CTAs
   ============================================================ */
.wp-element-button,
.wp-block-button__link,
.kb-btns-wrap a,
.button,
button[type="submit"],
input[type="submit"] {
  background-color: var(--fe-green) !important;
  color: var(--fe-cream) !important;
  border: 2px solid var(--fe-gold) !important;
  border-radius: 3px;
  font-family: var(--fe-font-body);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.7em 1.6em;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.wp-element-button:hover,
.wp-block-button__link:hover,
.button:hover,
button[type="submit"]:hover {
  background-color: var(--fe-gold) !important;
  color: var(--fe-green) !important;
}

/* ============================================================
   7. CARDS (Kadence Posts Block / WP Show Posts)
   ============================================================ */
.kb-posts .kb-post-inner,
.wp-show-posts-entry,
article.type-post {
  background: var(--fe-white);
  border: 1px solid var(--fe-border);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.kb-posts .kb-post-inner:hover,
.wp-show-posts-entry:hover {
  box-shadow: 0 4px 18px rgba(31,59,46,0.10);
}

.kb-post-title a,
.wp-show-posts-entry-title a {
  font-family: var(--fe-font-heading);
  color: var(--fe-green);
  text-decoration: none;
}
.kb-post-title a:hover,
.wp-show-posts-entry-title a:hover {
  color: var(--fe-gold);
}

/* ============================================================
   8. SINGLE POST / ARTICLE
   ============================================================ */
.entry-content {
  font-family: var(--fe-font-body);
  font-size: 17px;
  line-height: 1.8;
  color: var(--fe-text);
  max-width: 720px;
}

/* Data tables (Verdict cards, comparison tables) */
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1.5em 0;
}
.entry-content table th,
.entry-content table td {
  padding: 0.6em 1em;
  border: 1px solid var(--fe-border);
  text-align: left;
}
.entry-content table th {
  background-color: var(--fe-green);
  color: var(--fe-cream);
  font-family: var(--fe-font-body);
  font-weight: 600;
  letter-spacing: 0.03em;
}
.entry-content table tr:nth-child(even) {
  background-color: rgba(245,240,230,0.6);
}

/* Inline data / mono accents */
.entry-content code,
.verdict-data {
  font-family: var(--fe-font-mono);
  font-size: 0.85em;
  background: rgba(31,59,46,0.06);
  padding: 0.1em 0.4em;
  border-radius: 2px;
  color: var(--fe-green);
}

/* Blockquote */
.entry-content blockquote {
  border-left: 4px solid var(--fe-gold);
  margin: 1.5em 0;
  padding: 0.8em 1.2em;
  background: rgba(176,141,87,0.06);
  font-style: italic;
  color: var(--fe-muted);
}

/* Affiliate disclosure box */
.affiliate-disclosure,
p:has(em:only-child) {
  font-size: 0.82rem;
  color: var(--fe-muted);
  background: rgba(31,59,46,0.04);
  border-left: 3px solid var(--fe-gold);
  padding: 0.6em 1em;
  margin: 1.5em 0;
  border-radius: 2px;
}

/* ============================================================
   9. SIDEBAR
   ============================================================ */
.widget-area,
#secondary {
  font-size: 0.9rem;
}
.widget-title,
.widgettitle {
  font-family: var(--fe-font-heading);
  color: var(--fe-green);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 2px solid var(--fe-gold);
  padding-bottom: 0.4em;
  margin-bottom: 0.8em;
}

/* Verdict card in sidebar */
.verdict-card {
  background: var(--fe-white);
  border: 1px solid var(--fe-border);
  border-top: 4px solid var(--fe-green);
  padding: 1.2em;
  border-radius: 4px;
  font-size: 0.9rem;
}
.verdict-card__title {
  font-family: var(--fe-font-heading);
  font-size: 1rem;
  color: var(--fe-green);
  margin-bottom: 0.6em;
}
.verdict-card__score {
  font-family: var(--fe-font-mono);
  color: var(--fe-gold);
  font-size: 1.1em;
  font-weight: 700;
}

/* ============================================================
   10. FOOTER
   ============================================================ */
.site-footer,
#colophon {
  background-color: var(--fe-green) !important;
  color: var(--fe-cream);
  font-size: 0.85rem;
}
.site-footer a,
#colophon a {
  color: var(--fe-cream);
  text-decoration-color: var(--fe-gold);
}
.site-footer a:hover,
#colophon a:hover {
  color: var(--fe-gold);
}

/* ============================================================
   11. HERO SECTION (Kadence Row)
   ============================================================ */
.fe-hero {
  background-color: var(--fe-green);
  color: var(--fe-cream);
  padding: 5rem 2rem;
  text-align: center;
}
.fe-hero h1 {
  color: var(--fe-cream);
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 1rem;
}
.fe-hero p {
  color: rgba(245,240,230,0.85);
  font-size: 1.1rem;
  max-width: 580px;
  margin: 0 auto 2rem;
}

/* ============================================================
   12. HOMEPAGE FIXES
   ============================================================ */

/* Hide the "Home" page title on the front page */
.home .entry-header,
.home .entry-header .entry-title {
  display: none !important;
}

/* Make homepage content truly full-width (no left/right padding) */
.home .entry-content {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Full-width blocks on homepage bleed to page edges */
.home .entry-content .alignfull,
.home .entry-content .wp-block-cover.alignfull,
.home .entry-content .wp-block-group.alignfull {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

/* Fix WordPress emoji: they get converted to <img> and render huge */
img.emoji {
  display: inline !important;
  width: 1.3em !important;
  height: 1.3em !important;
  max-width: 1.3em !important;
  vertical-align: middle !important;
  margin: 0 0.1em !important;
  box-shadow: none !important;
}

/* Homepage category cards — consistent height, clean hover */
.home .wp-block-column {
  transition: box-shadow 0.2s ease;
}
.home .wp-block-column:hover {
  box-shadow: 0 4px 18px rgba(31,59,46,0.12);
}

/* ----- Latest Reviews cards: uniform, premium, equal-height ----- */

/* 3-column grid */
.home .wp-block-query .wp-block-post-template {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.5rem !important;
  margin: 0 auto !important;
  max-width: 1100px;
  padding: 0;
  list-style: none;
}
@media (max-width: 900px) {
  .home .wp-block-query .wp-block-post-template {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 600px) {
  .home .wp-block-query .wp-block-post-template {
    grid-template-columns: 1fr !important;
  }
}

/* Each grid cell stretches; the card fills it edge to edge */
.home .wp-block-query .wp-block-post-template > li {
  display: flex !important;
  height: 100%;
  margin: 0 !important;
}
.home .wp-block-query .wp-block-post-template .wp-block-group {
  display: flex !important;
  flex-direction: column !important;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--fe-white);
  border: 1px solid var(--fe-border) !important;
  border-radius: 6px !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.home .wp-block-query .wp-block-post-template .wp-block-group:hover {
  box-shadow: 0 8px 24px rgba(31,59,46,0.12);
  transform: translateY(-3px);
}

/* Cover image — fixed height, no distortion */
.home .wp-block-query .wp-block-post-featured-image {
  height: 190px !important;
  margin: 0 !important;
  overflow: hidden;
}
.home .wp-block-query .wp-block-post-featured-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  border-radius: 0 !important;
}

/* Category eyebrow */
.home .wp-block-query .wp-block-post-terms {
  margin: 0.9rem 1.2rem 0 !important;
  padding: 0 !important;
}
.home .wp-block-query .wp-block-post-terms a {
  text-decoration: none;
  color: var(--fe-gold) !important;
}

/* Title — clamp to 2 lines so every card reserves the same height */
.home .wp-block-query .wp-block-post-title {
  margin: 0.45rem 1.2rem 0 !important;
  padding: 0 !important;
  font-size: 1.08rem !important;
  line-height: 1.35 !important;
  min-height: 2.9em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home .wp-block-query .wp-block-post-title a {
  text-decoration: none;
  color: var(--fe-green) !important;
}
.home .wp-block-query .wp-block-post-title a:hover {
  color: var(--fe-gold) !important;
}

/* Excerpt area grows to fill, pinning "Read more" to the bottom */
.home .wp-block-query .wp-block-post-excerpt {
  display: flex !important;
  flex-direction: column;
  flex: 1 1 auto;
  margin: 0.55rem 1.2rem 1.2rem !important;
  padding: 0 !important;
}
.home .wp-block-query .wp-block-post-excerpt__excerpt {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--fe-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home .wp-block-query .wp-block-post-excerpt__more-link {
  margin-top: auto;
  padding-top: 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fe-green) !important;
  text-decoration: none;
}
.home .wp-block-query .wp-block-post-excerpt__more-link:hover {
  color: var(--fe-gold) !important;
}

/* "Why Trust" trust bar on homepage */
.home .wp-block-group.alignfull .wp-block-columns {
  max-width: 1100px;
  margin: 0 auto;
}

/* Fix squished featured images in query/post-template blocks */
.wp-block-post-featured-image {
  overflow: hidden;
  height: 200px;
}
.wp-block-post-featured-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block !important;
}

/* Browse by Category is now a clean 3×2 (six cards) — no orphan-row hack needed */

/* ============================================================
   13. HOMEPAGE POLISH (nav, hero, footer)
   ============================================================ */

/* Give the header more horizontal room so the nav fits one line */
.site-main-header-inner-wrap.site-container,
#masthead .site-header-row-layout-contained .site-container,
#masthead .site-container {
  max-width: 1340px !important;
}

/* Nav: force a single row, never wrap */
.header-navigation .header-menu-container > ul.menu,
.main-navigation .primary-menu-container > ul {
  flex-wrap: nowrap !important;
}
.main-navigation .primary-menu-container > ul > li.menu-item > a,
.header-navigation .menu > li.menu-item > a {
  font-size: 0.72rem !important;
  letter-spacing: 0.02em !important;
  padding: 0.5em 0.5em !important;
  white-space: nowrap;
  position: relative;
}

/* Design element: gold underline grows from the centre on hover / active page */
.main-navigation .primary-menu-container > ul > li.menu-item > a::after,
.header-navigation .menu > li.menu-item > a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 0.25em;
  height: 2px;
  background: var(--fe-gold);
  transition: left 0.22s ease, right 0.22s ease;
}
.main-navigation .primary-menu-container > ul > li.menu-item > a:hover::after,
.main-navigation .primary-menu-container > ul > li.menu-item.current-menu-item > a::after,
.header-navigation .menu > li.menu-item > a:hover::after,
.header-navigation .menu > li.menu-item.current-menu-item > a::after {
  left: 0.5em;
  right: 0.5em;
}

/* Hero: sit flush under the header (kill the white gap above it) */
.home .content-area { margin-top: 0 !important; }
.home .entry-content-wrap { padding-top: 0 !important; }
.home .entry-content > .wp-block-cover:first-child,
.home .entry-content > .wp-block-group:first-child { margin-top: 0 !important; }

/* Footer: hide the "WordPress Theme by Kadence WP" credit row.
   Brand copyright lives in the .fp-footer-legal bar (functions.php). */
.site-footer .footer-html-inner { display: none !important; }

/* Hero: deeper brand-green gradient overlay for headline legibility */
.home .entry-content .wp-block-cover::before {
  background: linear-gradient(180deg, rgba(31,59,46,0.30) 0%, rgba(31,59,46,0.58) 100%) !important;
  opacity: 1 !important;
}

/* Category cards: subtle lift on hover (matches Latest Articles cards) */
.home .wp-block-column[style*="background-color:#FFFFFF"],
.home .wp-block-column[style*="background-color:#ffffff"] {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.home .wp-block-column[style*="background-color:#FFFFFF"]:hover,
.home .wp-block-column[style*="background-color:#ffffff"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(31,59,46,0.12);
}

/* ============================================================
   15. SEARCH OVERLAY
   ============================================================ */

/* Search icon appended to nav via JS */
.fp-search-item > a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 0.3em 0.5em !important;
  margin-left: 0.3em !important;
}
.fp-search-item > a svg {
  width: 22px;
  height: 22px;
  stroke: var(--fe-gold);   /* gold so it stands out against the green nav */
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  display: block;
  transition: stroke 0.2s ease, transform 0.2s ease;
}
.fp-search-item > a:hover svg {
  stroke: #fff;
  transform: scale(1.15);
}

/* Full-screen overlay */
.fp-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(31,59,46,0.97);
  z-index: 99999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 18vh;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.fp-search-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.fp-search-overlay__inner {
  width: 90%;
  max-width: 660px;
}
.fp-search-overlay__form {
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--fe-gold);
  gap: 0.5rem;
  padding-bottom: 0.4rem;
}
.fp-search-overlay__input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--fe-cream);
  font-family: var(--fe-font-heading);
  font-size: clamp(1.4rem, 4vw, 2rem);
  caret-color: var(--fe-gold);
}
.fp-search-overlay__input::placeholder {
  color: rgba(245,240,230,0.32);
}
.fp-search-overlay__submit {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  cursor: pointer;
  flex-shrink: 0;
}
.fp-search-overlay__submit svg {
  width: 26px;
  height: 26px;
  stroke: var(--fe-gold);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
}
.fp-search-overlay__close {
  position: fixed;
  top: 1.4rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--fe-cream);
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  opacity: 0.55;
  transition: opacity 0.2s;
  z-index: 100000;
}
.fp-search-overlay__close:hover { opacity: 1; }
.fp-search-overlay__hint {
  margin-top: 1.2rem;
  color: rgba(245,240,230,0.38);
  font-size: 0.82rem;
}
.fp-search-overlay__hint kbd {
  background: rgba(245,240,230,0.12);
  padding: 0.1em 0.4em;
  border-radius: 3px;
  font-family: var(--fe-font-mono);
  font-size: 0.85em;
}

/* ============================================================
   16. NEWSLETTER SECTION
   ============================================================ */
.fp-newsletter {
  background: #162d22;
  padding: 4rem 2rem;
  text-align: center;
}
.fp-newsletter__heading {
  font-family: var(--fe-font-heading);
  color: var(--fe-cream);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 0 0 0.5rem;
  font-weight: 700;
}
.fp-newsletter__sub {
  color: rgba(245,240,230,0.70);
  font-size: 0.97rem;
  max-width: 460px;
  margin: 0 auto 1.8rem;
  line-height: 1.65;
}
.fp-newsletter__form {
  display: flex;
  max-width: 460px;
  margin: 0 auto;
}
.fp-newsletter__email {
  flex: 1;
  padding: 0.75em 1.1em;
  border: 2px solid var(--fe-gold);
  border-right: none;
  border-radius: 3px 0 0 3px;
  background: rgba(255,255,255,0.07);
  color: var(--fe-cream);
  font-family: var(--fe-font-body);
  font-size: 0.95rem;
  outline: none;
  -webkit-appearance: none;
}
.fp-newsletter__email::placeholder {
  color: rgba(245,240,230,0.38);
}
.fp-newsletter__email:focus {
  background: rgba(255,255,255,0.11);
}
.fp-newsletter__btn {
  padding: 0 1.5em;
  background: var(--fe-gold) !important;
  color: var(--fe-green) !important;
  border: 2px solid var(--fe-gold) !important;
  border-radius: 0 3px 3px 0 !important;
  font-family: var(--fe-font-body) !important;
  font-size: 0.78rem !important;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
  min-height: 46px;
}
.fp-newsletter__btn:hover {
  background: #c9a468 !important;
  border-color: #c9a468 !important;
}
.fp-newsletter__note {
  margin-top: 0.85rem;
  color: rgba(245,240,230,0.3);
  font-size: 0.78rem;
}
.fp-newsletter__msg {
  margin-top: 1rem;
  font-size: 0.88rem;
  min-height: 1.3em;
  color: transparent;
  transition: color 0.3s;
}
.fp-newsletter__msg.success { color: #7dcea0; }
.fp-newsletter__msg.error   { color: #e09090; }
@media (max-width: 520px) {
  .fp-newsletter__form {
    flex-direction: column;
  }
  .fp-newsletter__email {
    border-right: 2px solid var(--fe-gold);
    border-bottom: none;
    border-radius: 3px 3px 0 0;
  }
  .fp-newsletter__btn {
    padding: 0.8em 1em;
    border-radius: 0 0 3px 3px !important;
  }
}

/* ============================================================
   17. ARCHIVE / CATEGORY PAGE — prevent image squishing
   ============================================================ */
/* Kadence article cards on non-homepage archive pages */
.archive .kb-posts .kb-post-image-link,
.category .kb-posts .kb-post-image-link,
.blog .kb-posts .kb-post-image-link,
.search .kb-posts .kb-post-image-link {
  display: block;
  overflow: hidden;
  height: 220px;
}
.archive .kb-posts .kb-post-image-link img,
.category .kb-posts .kb-post-image-link img,
.blog .kb-posts .kb-post-image-link img,
.search .kb-posts .kb-post-image-link img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
}
/* Classic theme post thumbnails */
.archive .post-thumbnail,
.category .post-thumbnail {
  overflow: hidden;
  max-height: 240px;
}
.archive .post-thumbnail img,
.category .post-thumbnail img,
.search .post-thumbnail img {
  width: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
}
/* Query-loop blocks on archive pages */
.archive .wp-block-post-featured-image,
.category .wp-block-post-featured-image,
.blog .wp-block-post-featured-image {
  height: 220px !important;
  overflow: hidden;
}
.archive .wp-block-post-featured-image img,
.category .wp-block-post-featured-image img,
.blog .wp-block-post-featured-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
}

/* ============================================================
   14. RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .entry-content {
    font-size: 16px;
  }
  .entry-content table {
    font-size: 0.8rem;
  }
  .entry-content table th,
  .entry-content table td {
    padding: 0.4em 0.6em;
  }
  .fe-hero {
    padding: 3rem 1.2rem;
  }
}

/* ============================================================
   16. EDITORIAL IDENTITY + TRUST SIGNALS
   ============================================================ */
.fp-kicker{margin:0 0 .55rem;color:var(--fe-gold);font-family:var(--fe-font-mono);font-size:.72rem;letter-spacing:.12em;line-height:1.4;text-transform:uppercase}
.fp-team-grid,.fp-method-grid,.fp-link-grid,.fp-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.2rem;margin:2rem 0 3rem}
.fp-team-card,.fp-method-grid>article,.fp-link-grid>a,.fp-post-card{display:block;background:var(--fe-white);border:1px solid var(--fe-border);border-top:3px solid var(--fe-green);padding:1.35rem;text-decoration:none}
.fp-team-card img{width:94px;height:94px;object-fit:cover;border-radius:50%;margin-bottom:1rem}.fp-team-card h2,.fp-method-grid h2{margin:0 0 .7rem;font-size:1.35rem}.fp-team-card p:last-child,.fp-method-grid p:last-child{margin-bottom:0}
.fp-team-initials{display:grid;place-items:center;width:94px;height:94px;margin-bottom:1rem;border-radius:50%;background:var(--fe-cream);color:var(--fe-green);font-family:var(--fe-font-heading);font-size:1.8rem}.fp-method-grid>article>span{color:var(--fe-gold);font-family:var(--fe-font-mono);font-size:.8rem}
.fp-link-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fp-link-grid>a{transition:transform .2s ease,box-shadow .2s ease}.fp-link-grid>a:hover{transform:translateY(-3px);box-shadow:0 8px 22px rgba(31,59,46,.1)}.fp-link-grid strong,.fp-post-card strong{display:block;color:var(--fe-green);font-family:var(--fe-font-heading);font-size:1.2rem}.fp-link-grid span,.fp-post-card>span:last-child{display:block;margin-top:.4rem;color:var(--fe-muted);font-size:.85rem}.fp-note-box{margin:2rem 0;border-left:4px solid var(--fe-gold);background:rgba(176,141,87,.08);padding:1rem 1.2rem}
.fp-review-trail{display:flex;flex-wrap:wrap;gap:.6rem 1.2rem;margin:0 0 1.5rem;color:var(--fe-muted);font-size:.82rem}.fp-review-trail a{color:var(--fe-green)}.fp-review-deck{max-width:640px;color:var(--fe-muted);font-size:1.08rem}
.fp-review-standard{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin:2rem 0;padding:1.1rem;background:var(--fe-cream);border:1px solid var(--fe-border)}.fp-review-standard div{display:flex;flex-direction:column;gap:.35rem}.fp-review-standard strong{color:var(--fe-green);font-size:.85rem}.fp-review-standard span{color:var(--fe-muted);font-size:.78rem;line-height:1.5}
.fp-author-card{display:flex;gap:1.25rem;align-items:flex-start;margin:2.6rem 0 .75rem;padding:1.4rem;border:1px solid var(--fe-border);border-top:3px solid var(--fe-green);background:#f7faf8}.fp-author-card>img{width:96px;height:96px;flex:0 0 96px;object-fit:cover;border-radius:50%}.fp-author-card__body h2{margin:0 0 .45rem;font-size:1.35rem}.fp-author-card__body p{margin:0 0 .7rem;font-size:.9rem}.fp-author-card__recent{margin-top:1rem;padding-top:.75rem;border-top:1px solid var(--fe-border)}.fp-author-card__recent ul{margin:.4rem 0 0;padding-left:1.1rem;font-size:.82rem}.fp-author-card__recent li{margin:.25rem 0}
.fp-home-shelves{max-width:1100px;margin:4rem auto 0;padding:0 1.25rem}.fp-section-heading{max-width:620px;margin-bottom:2rem}.fp-section-heading h2{margin:0 0 .55rem}.fp-section-heading p:last-child{color:var(--fe-muted)}.fp-shelf-row{display:grid;grid-template-columns:1fr 1fr;gap:2.3rem}.fp-shelf-row h3{margin-bottom:.8rem;padding-bottom:.6rem;border-bottom:2px solid var(--fe-gold)}.fp-shelf-row .fp-post-grid{grid-template-columns:1fr;gap:.65rem;margin:0}.fp-post-card{border-top-width:1px;padding:.95rem 1.05rem}.fp-post-card strong{font-size:1rem}.fp-post-card>span:first-child{color:var(--fe-gold);font-family:var(--fe-font-mono);font-size:.68rem;letter-spacing:.08em;text-transform:uppercase}.fp-trust-strip{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.8rem 1.2rem;margin:3rem 0 1rem;padding:1rem 0;border-top:1px solid var(--fe-border);border-bottom:1px solid var(--fe-border);color:var(--fe-green);font-family:var(--fe-font-mono);font-size:.72rem;letter-spacing:.04em;text-transform:uppercase}
.fp-footer-legal{background:var(--fe-green);padding:2rem 24px 1rem;color:rgba(245,240,230,.7);font-size:12px}.fp-footer-legal__inner{display:flex;justify-content:space-between;gap:2rem;max-width:1200px;margin:0 auto}.fp-footer-legal__inner strong{display:block;color:var(--fe-cream);font-family:var(--fe-font-heading);font-size:1.2rem}.fp-footer-legal__inner span{display:block;margin-top:.25rem}.fp-footer-legal nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.35rem 1rem;max-width:620px}.fp-footer-legal nav a{color:rgba(245,240,230,.78);text-decoration:none}.fp-footer-legal nav a:hover{color:var(--fe-gold)}.fp-footer-legal>p{max-width:1200px;margin:1.4rem auto 0;padding-top:.8rem;border-top:1px solid rgba(245,240,230,.16);color:rgba(245,240,230,.45)}
@media(max-width:780px){.fp-team-grid,.fp-method-grid,.fp-review-standard{grid-template-columns:1fr}.fp-shelf-row{grid-template-columns:1fr;gap:2.3rem}.fp-footer-legal__inner{flex-direction:column}.fp-footer-legal nav{justify-content:flex-start}}@media(max-width:560px){.fp-link-grid{grid-template-columns:1fr}.fp-author-card{flex-direction:column}}
