/*
Theme Name: Spinfuel Editorial Test
Theme URI: https://spinfuel.com/
Author: Spinfuel Lab
Description: Native PHP WordPress editorial theme for Spinfuel. No Elementor required.
Version: 4.7
*/

/* ═══════════════════════════════════════════════════
   1. VARIABLES & RESET
═══════════════════════════════════════════════════ */
:root {
  --sf-red:     #ec3535;
  --sf-red-dark:#c42020;
  --sf-black:   #050505;
  --sf-ink:     #1c1f24;
  --sf-soft:    #f4f4f4;
  --sf-line:    #e6e6e6;
  --sf-muted:   #6f7277;
  --sf-radius:  10px;
  --sf-shadow:  0 15px 35px rgba(0,0,0,.12);
  --sf-reader-font-size:   18px;
  --sf-reader-line-height: 1.85;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--sf-ink);
  font-family: 'Source Sans 3', Inter, Arial, sans-serif;
  line-height: 1.72;
  font-size: 18px;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--sf-red); }
img { max-width: 100%; height: auto; display: block; }
.sf-shell { width: min(1240px, calc(100% - 42px)); margin-inline: auto; }
.site-content { background: #fff; }

/* ═══════════════════════════════════════════════════
   2. TYPOGRAPHY
═══════════════════════════════════════════════════ */
h1, h2, h3, h4,
.sf-card-title,
.sf-section-bar h2,
.sf-widget-title,
.sf-page-header h1,
.sf-single-title,
.sf-hero h1 {
  font-family: 'Oswald', 'Source Sans 3', Arial, sans-serif;
  letter-spacing: .005em;
}
.sf-single-title { font-size: clamp(42px,5.5vw,68px); line-height: .98; }
.sf-card-title   { font-family: 'Oswald','Source Sans 3',Arial,sans-serif; font-style: italic; }
.sf-section-bar h2, .sf-widget-title { font-size: 24px; letter-spacing: .12em; }
.nav-menu a { font-family: 'Source Sans 3', Inter, Arial, sans-serif; }

/* ═══════════════════════════════════════════════════
   3. HEADER
═══════════════════════════════════════════════════ */
.site-header { background: #fff; position: relative; z-index: 10; }
.sf-topbar    { padding: 28px 20px 18px; text-align: center; position: relative; }
.sf-branding  { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.custom-logo-link img { max-width: 360px; width: 100%; height: auto; }
.sf-wordmark  { display: inline-flex; flex-direction: column; align-items: center; }
.sf-wordmark span   { font-size: 42px; letter-spacing: .08em; font-weight: 300; line-height: 1; }
.sf-wordmark strong { color: var(--sf-red); font-weight: 500; }
.sf-wordmark em     { font-style: normal; font-size: 11px; letter-spacing: .19em; text-transform: uppercase; color: #555; }
.sf-wordmark b      { color: var(--sf-red); padding: 0 5px; }
.sf-wordmark i      { font-style: normal; background: var(--sf-red); color: #fff; border-radius: 2px; padding: 1px 6px; letter-spacing: .04em; }
.sf-dateline { font-size: 10px; letter-spacing: 3px; color: #999; text-transform: uppercase; font-weight: 700; }

/* Header ad slot — hide placeholder text, show actual ads */
.sf-header-ad {
  max-width: 970px; min-height: 76px; margin: 16px auto 0;
  background: #fff !important; color: #cfcfcf !important;
  border: 1px dashed #ddd !important; box-shadow: none !important;
}
.sf-header-ad span { color: #c5c5c5 !important; }
.sf-header-ad:has(span) { display: none; }

/* Hamburger — hidden on desktop, shown at ≤820px */
.sf-menu-toggle {
  display: none;
  background: #070707; color: #fff;
  border: 1px solid #222; border-radius: 999px;
  padding: 9px; cursor: pointer;
  flex-direction: column; align-items: center; gap: 4px;
  position: absolute; right: 14px; top: 18px;
}
.sf-menu-toggle span { display: block; width: 16px; height: 2px; background: #fff; border-radius: 99px; }
.sf-menu-toggle em   { font-style: normal; color: #ddd; display: none; }

/* ═══════════════════════════════════════════════════
   4. NAVIGATION
═══════════════════════════════════════════════════ */
.sf-nav {
  background: linear-gradient(180deg, #0a0a0b, #020202);
  border-bottom: 3px solid var(--sf-red);
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.sf-nav-inner {
  width: min(1280px, calc(100% - 24px));
  margin: auto;
  display: flex; justify-content: center; align-items: center;
  gap: 22px; min-height: 56px;
}
.nav-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.nav-menu li { margin: 0; }
.nav-menu a {
  display: block;
  color: rgba(255,255,255,.92) !important;
  text-transform: uppercase; font-weight: 900;
  font-size: 13px; letter-spacing: .085em;
  padding: 17px 12px 15px; border-radius: 999px;
  position: relative;
  transition: background .18s ease, color .18s ease;
}
.nav-menu a::after {
  content: "";
  position: absolute; left: 14px; right: 14px; bottom: 8px;
  height: 2px; background: var(--sf-red);
  transform: scaleX(0); transform-origin: center;
  transition: transform .18s ease;
}
.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a { background: rgba(255,255,255,.055); color: #fff !important; }
.nav-menu a:hover::after,
.nav-menu .current-menu-item > a::after,
.nav-menu .current_page_item > a::after { transform: scaleX(1); }
.menu-item-partnerships > a { color: #ff4a50 !important; }

/* Dropdown sub-menus (CSS hover on desktop; JS handles mobile) */
.sf-nav .nav-menu .menu-item-has-children { position: relative; }
.sf-nav .nav-menu .menu-item-has-children > .sub-menu {
  display: none;
  position: absolute; top: 100%; left: 0;
  background: #111; min-width: 250px;
  border-top: 3px solid var(--sf-red);
  z-index: 99999; padding: 8px 0; margin: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.6);
  list-style: none;
}
.sf-nav .nav-menu .menu-item-has-children:hover > .sub-menu { display: block; }
.sf-nav .nav-menu .sub-menu .menu-item a {
  display: block; padding: 10px 20px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: #888 !important; white-space: nowrap;
  background: transparent !important; border-radius: 0;
}
.sf-nav .nav-menu .sub-menu .menu-item a::after { display: none; }
.sf-nav .nav-menu .sub-menu .menu-item a:hover { color: var(--sf-red) !important; background: #1a1a1a !important; }

/* Search bar */
.sf-nav-search { display: flex; align-items: center; gap: 6px; position: relative; }
.sf-nav-search input {
  width: 145px; background: #111; border: 1px solid #252525;
  color: #fff; border-radius: 999px; padding: 9px 10px; font-size: 12px;
  transition: width .22s ease, border-color .18s ease, box-shadow .18s ease;
}
.sf-nav-search input:focus { outline: none; border-color: var(--sf-red); width: 190px; box-shadow: 0 0 0 3px rgba(236,53,53,.18); }
.sf-nav-search button { background: transparent; border: 0; color: var(--sf-red); font-size: 20px; cursor: pointer; }

/* Live search dropdown */
.sf-live-search-results {
  position: absolute; right: 0; top: calc(100% + 12px);
  width: min(420px, 92vw); background: #fff; color: #111;
  border: 1px solid var(--sf-line); border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,.22);
  padding: 8px; z-index: 99999; display: none; text-align: left;
}
.sf-live-search-results.is-visible { display: block; }
.sf-live-search-item { display: grid; grid-template-columns: 58px 1fr; gap: 12px; padding: 10px; border-radius: 9px; align-items: center; color: #111 !important; }
.sf-live-search-item:hover { background: #f5f5f5; }
.sf-live-search-item img    { width: 58px; height: 58px; object-fit: cover; border-radius: 7px; background: #111; }
.sf-live-search-item strong { display: block; font-size: 14px; line-height: 1.15; font-weight: 900; }
.sf-live-search-item small  { display: block; margin-top: 5px; color: #888; text-transform: uppercase; font-size: 10px; letter-spacing: .08em; }
.sf-live-search-empty { padding: 14px; color: #777; font-weight: 800; font-size: 13px; }

/* ═══════════════════════════════════════════════════
   5. GLOBAL SECTION STYLES
═══════════════════════════════════════════════════ */
.sf-section { margin: 0 0 38px; }
.sf-section-bar { display: flex; align-items: center; justify-content: space-between; margin: 0 0 18px; }
.sf-section-bar h2, .sf-widget-title { font-weight: 900; text-transform: uppercase; margin: 0; color: #111; }
.sf-section-bar a { font-size: 12px; text-transform: uppercase; color: var(--sf-red); font-weight: 900; letter-spacing: .08em; }
.sf-section-kicker { font-size: 12px; text-transform: uppercase; color: var(--sf-red); font-weight: 900; letter-spacing: .18em; margin: 0 0 10px; }
.sf-section-heading { font-size: 28px; text-align: center; text-transform: uppercase; margin: 0 0 24px; }

/* ═══════════════════════════════════════════════════
   6. BUTTONS
═══════════════════════════════════════════════════ */
.sf-red-button {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--sf-red); color: #fff !important;
  border-radius: 6px; padding: 13px 20px;
  font-size: 13px; font-weight: 900; text-transform: uppercase;
  font-style: italic; letter-spacing: .05em;
  box-shadow: 0 10px 24px rgba(236,53,53,.28);
}
.sf-red-button:hover { background: var(--sf-red-dark); }
.sf-ghost-button {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,.5); color: #fff !important;
  border-radius: 6px; padding: 12px 18px;
  font-size: 13px; font-weight: 900; text-transform: uppercase;
  font-style: italic; letter-spacing: .05em;
  background: rgba(255,255,255,.06); backdrop-filter: blur(6px);
}
.sf-ghost-button:hover { border-color: var(--sf-red); background: rgba(236,53,53,.18); }

/* ═══════════════════════════════════════════════════
   7. HOME HERO
═══════════════════════════════════════════════════ */
.sf-hero { position: relative; min-height: 420px; background: #050505; overflow: hidden; color: #fff; }
.sf-hero-bg  { position: absolute; inset: 0; background-position: center right; background-size: cover; opacity: .58; }
.sf-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, #050505 0%, rgba(5,5,5,.86) 35%, rgba(5,5,5,.18) 100%), radial-gradient(circle at 75% 42%, rgba(255,255,255,.45), transparent 24%); }
.sf-hero-content { position: relative; width: min(1240px, calc(100% - 42px)); margin-inline: auto; padding: 70px 0 64px; max-width: 720px; }
.sf-hero-kicker { font-size: 13px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: #ddd; border-left: 48px solid var(--sf-red); padding-left: 12px; }
.sf-hero h1 { font-size: clamp(42px,6vw,72px); line-height: .95; margin: 15px 0 18px; font-style: italic; font-weight: 900; text-transform: uppercase; letter-spacing: -.05em; }
.sf-hero h1 a { color: #fff; }
.sf-hero-sub { font-size: 18px; line-height: 1.55; color: #f1f1f1; max-width: 650px; margin: 8px 0 20px; font-weight: 600; }
.sf-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ═══════════════════════════════════════════════════
   8. HOME LAYOUT & START HERE
═══════════════════════════════════════════════════ */
.sf-home-layout { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 38px; padding: 26px 0 48px; }
.sf-home .sf-section       { margin-bottom: 38px; }
.sf-home .sf-card-image    { height: auto; aspect-ratio: 16/9; }
.sf-home .sf-card-body     { min-height: 230px; }
.sf-home .sf-card-grid     { gap: 24px; }
.sf-home-feed-most-read-this-week .sf-section-bar h2::before { content: '🔥 '; font-style: normal; }
.sf-home-feed-guides-wellness .sf-section-bar h2::before     { content: '✦ '; color: var(--sf-red); }

.sf-start-here { background: linear-gradient(180deg,#fff 0%,#f7f7f7 100%); border-bottom: 1px solid var(--sf-line); padding: 34px 0 30px; }
.sf-trust-line { text-align: center; margin: 0 0 20px; color: #666; font-size: 13px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.sf-start-heading { margin-bottom: 16px; }
.sf-start-heading span { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; font-weight: 900; color: var(--sf-red); }
.sf-start-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.sf-start-card {
  display: block; background: #0b0b0b; color: #fff !important;
  border-radius: 14px; padding: 22px 20px; min-height: 150px;
  border: 1px solid #1f1f1f; box-shadow: 0 16px 34px rgba(0,0,0,.08);
  text-decoration: none !important; position: relative; overflow: hidden;
}
.sf-start-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--sf-red); }
.sf-start-card::after  { content: '→'; position: absolute; right: 18px; bottom: 14px; color: var(--sf-red); font-size: 24px; font-weight: 900; transition: transform .18s ease; }
.sf-start-card:hover           { transform: translateY(-2px); border-color: rgba(236,53,53,.65); box-shadow: 0 18px 42px rgba(236,53,53,.14); }
.sf-start-card:hover::after    { transform: translateX(4px); }
.sf-start-card h3 { font-family: 'Oswald','Source Sans 3',Arial,sans-serif; text-transform: uppercase; font-size: 23px; line-height: 1.05; margin: 0 0 10px; color: #fff; }
.sf-start-card p  { font-size: 15px; line-height: 1.45; color: #bfbfbf; margin: 0; }

/* ═══════════════════════════════════════════════════
   9. CARDS
═══════════════════════════════════════════════════ */
.sf-card-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; align-items: stretch; }
.sf-card {
  background: #070707; color: #fff;
  border-radius: 8px; overflow: hidden;
  box-shadow: var(--sf-shadow); border: 1px solid rgba(255,255,255,.06);
  height: 100%; display: flex; flex-direction: column;
}
.sf-card-image {
  display: block; aspect-ratio: 16/9; background: #111;
  overflow: hidden; position: relative; flex: 0 0 auto;
}
.sf-card-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .35s ease; opacity: .92; }
.sf-card:hover img { transform: scale(1.04); }
.sf-cat-pill {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  background: var(--sf-red); color: #fff !important;
  border-radius: 3px; padding: 5px 8px;
  font-size: 10px; line-height: 1; text-transform: uppercase; font-weight: 900; font-style: italic; letter-spacing: .04em;
}
.sf-cat-pill::before { content: '●'; font-style: normal; font-size: 8px; margin-right: 6px; color: #fff; vertical-align: middle; }
.sf-card-body    { padding: 17px; flex: 1; display: flex; flex-direction: column; }
.sf-card-title   { font-size: clamp(19px,1.55vw,24px); line-height: 1.05; font-weight: 900; font-style: italic; letter-spacing: -.04em; margin: 0 0 12px; }
.sf-card-title a { color: #fff; }
.sf-card-excerpt { font-size: 16px; line-height: 1.55; color: #d0d0d0; margin: 0 0 12px; flex: 1; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; }
.sf-card-meta    { font-size: 11px; color: #999; text-transform: uppercase; letter-spacing: .06em; margin-top: auto; }
.sf-card-meta span { color: var(--sf-red); padding: 0 5px; }

/* List-style cards (archive / search) */
.sf-list-feed { border: 1px solid var(--sf-line); border-radius: 12px; overflow: hidden; background: #fff; }
.sf-list-card { display: grid; grid-template-columns: 220px 1fr; gap: 22px; padding: 22px; border-bottom: 1px solid var(--sf-line); background: #fff; }
.sf-list-card:last-child { border-bottom: 0; }
.sf-list-card .sf-card-image { height: auto; aspect-ratio: 16/9; border-radius: 8px; }
.sf-list-card .sf-card-image .sf-cat-pill { display: none; }
.sf-list-card .sf-card-body  { padding: 0; }
.sf-list-card .sf-card-body .sf-cat-pill { position: static; display: inline-block; margin-bottom: 10px; }
.sf-list-card .sf-card-title   { font-size: 23px; font-style: normal; }
.sf-list-card .sf-card-title a { color: #111; }
.sf-list-card .sf-card-excerpt { color: #555; }

/* ═══════════════════════════════════════════════════
   10. ADS & SIDEBAR
═══════════════════════════════════════════════════ */
.sf-ad-slot {
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; border-radius: 8px;
  background: #070707; color: #fff;
  box-shadow: var(--sf-shadow); border: 1px solid #151515; text-align: center;
}
.sf-ad-slot img  { width: 100%; height: auto; }
.sf-ad-slot span { text-transform: uppercase; letter-spacing: .2em; font-size: 12px; color: #8d8d8d; font-weight: 800; }
.sf-wide-ad    { min-height: 92px; margin: 18px auto 34px; background: linear-gradient(110deg,#060606,#111 48%,#2d0002); }
.sf-vertical-ad{ min-height: 420px; padding: 24px; background: radial-gradient(circle at 70% 75%,rgba(236,53,53,.28),transparent 30%),#080808; }
.sf-post-inline-ad { margin: 34px 0; padding: 8px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.sf-post-inline-ad .sf-wide-ad { margin: 0; }

.sf-sidebar   { display: flex; flex-direction: column; gap: 26px; }
.sf-widget    { background: #f7f7f7; border: 1px solid var(--sf-line); border-radius: 10px; padding: 22px; }
.sf-trend-item { display: grid; grid-template-columns: 74px 1fr; gap: 13px; padding: 13px 0; border-top: 1px solid #e7e7e7; }
.sf-trend-item:first-of-type { border-top: 0; }
.sf-trend-item img   { height: 74px; width: 74px; object-fit: cover; border-radius: 6px; background: #111; }
.sf-trend-item span  { font-size: 14px; font-weight: 800; line-height: 1.25; }
.sf-trend-item small { display: block; margin-top: 7px; font-size: 10px; color: #777; text-transform: uppercase; letter-spacing: .08em; }
.sf-tag-cloud   { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-tag-cloud a { background: #fff; border: 1px solid #ddd; border-radius: 999px; padding: 7px 10px; color: #555 !important; font-weight: 700; text-transform: capitalize; }

/* ═══════════════════════════════════════════════════
   11. ARCHIVE PAGES
═══════════════════════════════════════════════════ */
.sf-archive-hero { background: #070707; color: #fff; padding: 58px 0; background-image: radial-gradient(circle at 75% 35%,rgba(255,255,255,.16),transparent 26%); }
.sf-archive-hero h1 { font-size: clamp(38px,5vw,64px); font-weight: 900; letter-spacing: -.05em; line-height: 1; margin: 0; text-transform: uppercase; }
.sf-archive-hero p, .sf-archive-desc { color: #dedede; max-width: 760px; }
.sf-archive-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 34px; padding: 34px 0 60px; }
.sf-archive-layout .sf-year-widget { display: none; }
.sf-filter-bar { display: grid; grid-template-columns: 1fr 210px 120px; gap: 12px; background: #fff; border: 1px solid var(--sf-line); border-radius: 12px; padding: 16px; margin-bottom: 24px; box-shadow: 0 8px 22px rgba(0,0,0,.04); }
.sf-filter-bar input, .sf-filter-bar select { border: 1px solid #ddd; border-radius: 6px; padding: 13px 14px; font-weight: 700; color: #555; }
.sf-filter-bar button, .sf-jump-form button { border: 0; border-radius: 6px; background: var(--sf-red); color: #fff; font-weight: 900; text-transform: uppercase; cursor: pointer; }
.sf-year-widget ul { list-style: none; margin: 8px 0 0; padding: 0; }
.sf-year-widget li { border-top: 1px solid #e5e5e5; }
.sf-year-widget li:first-child { border-top: 0; }
.sf-year-widget a { display: flex; justify-content: space-between; padding: 10px 0; font-weight: 900; }
.sf-empty { text-align: center; padding: 80px 0; color: #777; font-size: 20px; }

/* Archive Hub */
.sf-archive-hub { background: #fff; }
.sf-archive-vault-hero { background: #070707; color: #fff; padding: 72px 0; background-image: radial-gradient(circle at 74% 35%,rgba(255,255,255,.18),transparent 28%),linear-gradient(120deg,#050505,#151515); }
.sf-archive-vault-hero h1 { max-width: 900px; font-size: clamp(42px,6vw,76px); line-height: .98; margin: 0 0 18px; font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -.055em; }
.sf-archive-vault-hero p  { max-width: 760px; color: #ddd; font-size: 19px; }
.sf-vault-search { margin-top: 28px; display: grid; grid-template-columns: 1fr 190px; gap: 12px; max-width: 820px; background: #fff; padding: 12px; border-radius: 12px; box-shadow: 0 18px 48px rgba(0,0,0,.28); }
.sf-vault-search input  { border: 1px solid #ddd; border-radius: 7px; padding: 15px 16px; font-weight: 700; }
.sf-vault-search button { border: 0; border-radius: 7px; background: var(--sf-red); color: #fff; text-transform: uppercase; font-weight: 900; cursor: pointer; }
.sf-vault-section { padding: 42px 0; }
.sf-year-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.sf-year-tile { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-radius: 12px; background: #111; color: #fff !important; border-top: 4px solid var(--sf-red); padding: 24px; box-shadow: var(--sf-shadow); transition: .2s; }
.sf-year-tile:hover   { transform: translateY(-2px); }
.sf-year-tile strong  { font-size: 32px; font-weight: 900; }
.sf-year-tile span    { color: #aaa; text-transform: uppercase; font-size: 12px; font-weight: 900; letter-spacing: .1em; }
.sf-collection-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; }
.sf-collection-card { min-height: 170px; border-radius: 12px; background: linear-gradient(145deg,#090909,#1b1b1d); color: #fff !important; padding: 22px; border: 1px solid #222; border-top: 4px solid var(--sf-red); display: flex; flex-direction: column; justify-content: flex-end; box-shadow: var(--sf-shadow); }
.sf-collection-card span   { color: var(--sf-red); text-transform: uppercase; font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.sf-collection-card strong { font-size: 22px; line-height: 1.05; margin: 9px 0; font-weight: 900; }
.sf-collection-card em     { font-style: normal; color: #aaa; font-size: 13px; text-transform: uppercase; letter-spacing: .09em; }

/* ═══════════════════════════════════════════════════
   12. SINGLE ARTICLE
═══════════════════════════════════════════════════ */
.sf-single-hero { position: relative; background: #070707; color: #fff; min-height: 420px; overflow: hidden; }
.sf-single-hero-bg      { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .62; }
.sf-single-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg,#050505 0%,rgba(5,5,5,.84) 45%,rgba(5,5,5,.2) 100%); }
.sf-single-hero-inner   { position: relative; padding: 86px 0; }
.sf-single-hero .sf-cat-pill { position: static; display: inline-block; }
.sf-single-hero h1 { max-width: 760px; color: #fff; font-size: clamp(42px,6vw,76px); font-weight: 900; font-style: italic; letter-spacing: -.055em; line-height: .98; margin: 18px 0; text-transform: none; }
.sf-single-meta { font-size: 12px; text-transform: uppercase; letter-spacing: .15em; color: #d6d6d6; font-weight: 800; }
.sf-single-layout { display: grid; grid-template-columns: minmax(0,820px) 320px; gap: 36px; padding: 34px 0 60px; align-items: start; }
.sf-article-column  { min-width: 0; }
.sf-single-sidebar  { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 22px; }

/* Review summary / score */
.sf-review-summary { display: grid; grid-template-columns: 1fr 150px; gap: 18px; margin-bottom: 28px; }
.sf-quick-take, .sf-score-box, .sf-toc, .sf-share-box { background: #fff; border: 1px solid var(--sf-line); border-radius: 10px; box-shadow: 0 8px 22px rgba(0,0,0,.04); }
.sf-quick-take { border-left: 4px solid var(--sf-red); padding: 22px; }
.sf-quick-take h2, .sf-toc h2, .sf-share-box h2 { font-size: 14px; text-transform: uppercase; letter-spacing: .13em; margin: 0 0 12px; color: #111; }
.sf-quick-take p { margin: 0; font-size: 17px; line-height: 1.7; color: #333; }
.sf-score-box  { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.sf-score-box strong  { font-size: 48px; color: var(--sf-red); font-weight: 900; line-height: 1; }
.sf-score-box span    { text-transform: uppercase; font-size: 11px; font-weight: 900; color: #666; }
.sf-score-widget strong { display: block; font-size: 58px; color: var(--sf-red); line-height: 1; font-weight: 900; }
.sf-score-widget span   { text-transform: uppercase; font-size: 12px; font-weight: 900; color: #777; }

/* Reader text size controls */
.sf-reader-controls {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin: 0 0 18px; padding: 12px 14px;
  background: #fff; border: 1px solid var(--sf-line); border-radius: 10px;
  box-shadow: 0 8px 22px rgba(0,0,0,.04);
}
.sf-reader-controls span { font-size: 11px; text-transform: uppercase; letter-spacing: .13em; font-weight: 900; color: #777; margin-right: 6px; }
.sf-text-control { border: 1px solid #ddd; background: #f8f8f8; border-radius: 6px; padding: 7px 10px; font-weight: 900; cursor: pointer; color: #222; }
.sf-text-control:hover, .sf-text-control.is-active { background: var(--sf-red); border-color: var(--sf-red); color: #fff; }
body.sf-text-sm { --sf-reader-font-size: 16px; --sf-reader-line-height: 1.72; }
body.sf-text-lg { --sf-reader-font-size: 20px; --sf-reader-line-height: 1.85; }

/* Article body */
.sf-entry-content { font-size: var(--sf-reader-font-size); line-height: var(--sf-reader-line-height); color: #292c31; }
.sf-entry-content > * { max-width: 100%; }
.sf-entry-content p,
.sf-entry-content li { font-size: inherit; line-height: inherit; margin: 0 0 22px; }
.sf-entry-content h2 { font-size: clamp(30px,3vw,40px); line-height: 1.12; margin: 2.1em 0 .75em; border-left: 4px solid var(--sf-red); padding-left: 12px; }
.sf-entry-content h3 { font-size: clamp(24px,2.1vw,30px); line-height: 1.2; margin: 1.8em 0 .6em; }
.sf-entry-content h4 { line-height: 1.15; margin-top: 42px; }
.sf-entry-content h2, .sf-entry-content h3, .sf-entry-content h4 { color: #111; font-weight: 900; text-transform: uppercase; letter-spacing: .02em; }
.sf-entry-content h2[id], .sf-entry-content h3[id] { scroll-margin-top: 110px; }
.sf-entry-content a         { color: var(--sf-red); font-weight: 700; }
.sf-entry-content img       { border-radius: 10px; margin: 28px auto; box-shadow: 0 12px 30px rgba(0,0,0,.10); }
.sf-entry-content blockquote{ border-left: 4px solid var(--sf-red); background: #fafafa; margin: 28px 0; padding: 22px 28px; font-family: 'Playfair Display', serif; font-size: 23px; line-height: 1.45; }
/* Hide any plugin-inserted TOC inside the article body */
.sf-entry-content #ez-toc-container,
.sf-entry-content .ez-toc-container,
.sf-entry-content .ez-toc,
.sf-entry-content .lwptoc,
.sf-entry-content .toc,
.sf-entry-content .table-of-contents,
.sf-entry-content nav[aria-label="Table of Contents"] { display: none; }

/* TOC widget */
.sf-toc { padding: 20px; }
.sf-toc-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sf-toc-header h2 { margin: 0; }
.sf-toc-toggle { border: 0; background: transparent; color: var(--sf-red); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .11em; cursor: pointer; padding: 4px 0; }
.sf-toc .sf-toc-list-wrap { display: none; margin-top: 14px; max-height: 56vh; overflow: auto; padding-right: 6px; }
.sf-toc.is-open .sf-toc-list-wrap { display: block; }
.sf-toc .sf-toc-list-wrap::-webkit-scrollbar       { width: 6px; }
.sf-toc .sf-toc-list-wrap::-webkit-scrollbar-thumb { background: #ddd; border-radius: 999px; }
.sf-native-toc   { display: flex; flex-direction: column; gap: 0; }
.sf-native-toc a { display: block; border-top: 1px solid #eee; padding: 9px 0; font-size: 14px; line-height: 1.35; font-weight: 700; color: var(--sf-red); text-decoration: none; }
.sf-native-toc a:hover { color: var(--sf-red-dark); }
.sf-native-toc a.toc-sub { padding-left: 16px; font-size: 13px; color: #777; }
.sf-mobile-toc { display: none; margin-bottom: 24px; }

/* Share box */
.sf-share-box { display: flex; align-items: center; gap: 12px; padding: 18px; margin-top: 28px; }
.sf-share-box h2 { margin: 0 auto 0 0; }
.sf-share-box a  { background: #111; color: #fff !important; border-radius: 999px; padding: 9px 12px; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.sf-inline-ad { margin: 34px 0; }

/* Author box */
.sf-author-box {
  margin: 28px 0 24px; background: #fff;
  border: 1px solid var(--sf-line); border-left: 5px solid var(--sf-red);
  border-radius: 14px; box-shadow: 0 10px 26px rgba(0,0,0,.055);
  padding: 22px 24px; display: flex; gap: 20px; align-items: center;
}
.sf-author-photo-wrap, .sf-author-initial { flex: 0 0 86px; width: 86px; height: 86px; border-radius: 50%; }
.sf-author-photo { width: 86px; height: 86px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 8px 18px rgba(0,0,0,.18); margin: auto; }
.sf-author-initial { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg,#111,#333); color: #fff; font-weight: 900; letter-spacing: .08em; font-size: 24px; box-shadow: 0 8px 18px rgba(0,0,0,.16); }
.sf-author-content { min-width: 0; max-width: 760px; }
.sf-author-topline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.sf-author-topline .sf-section-kicker { margin: 0; }
.sf-author-box h2  { font-size: 26px; line-height: 1.05; margin: 2px 0 8px; font-weight: 900; letter-spacing: -.035em; color: #111; text-transform: none; font-family: Inter,Arial,sans-serif; }
.sf-author-box p   { margin: 0; color: #555; max-width: 760px; }
.sf-author-badge   { display: inline-flex; align-items: center; border: 1px solid rgba(236,53,53,.28); background: rgba(236,53,53,.07); color: var(--sf-red); border-radius: 999px; padding: 4px 9px; font-size: 10px; line-height: 1; text-transform: uppercase; letter-spacing: .12em; font-weight: 900; }
.sf-author-link    { display: inline-block; margin-top: 12px; color: var(--sf-red); font-size: 12px; text-transform: uppercase; letter-spacing: .11em; font-weight: 900; }
.sf-author-link:hover { color: var(--sf-red-dark); }

/* Related posts */
.sf-related-compact { margin-top: 36px; padding-top: 24px; border-top: 4px solid var(--sf-red); }
.sf-related-compact .sf-section-heading { font-size: 24px; margin-bottom: 16px; }
.sf-related-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.sf-related-card  { background: #fff; border: 1px solid var(--sf-line); border-radius: 10px; overflow: hidden; box-shadow: 0 8px 22px rgba(0,0,0,.05); }
.sf-related-thumb { display: block; aspect-ratio: 16/9; background: #111; overflow: hidden; }
.sf-related-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .25s ease; }
.sf-related-card:hover .sf-related-thumb img { transform: scale(1.04); }
.sf-related-body  { padding: 12px; }
.sf-related-body .sf-cat-pill { position: static; display: inline-block; margin: 0 0 8px; padding: 4px 7px; font-size: 9px; }
.sf-related-body h3   { font-size: 14px; line-height: 1.18; letter-spacing: -.02em; margin: 0; text-transform: none; font-weight: 900; }
.sf-related-body h3 a { color: #111; }
.sf-related-body p    { margin: 8px 0 0; color: #888; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }

/* Back to top */
#sf-back-to-top {
  position: fixed; right: 28px; bottom: 28px;
  width: 52px; height: 52px; border: 0; border-radius: 50%;
  background: var(--sf-red); color: #fff;
  font-size: 24px; font-weight: 900;
  box-shadow: 0 12px 30px rgba(236,53,53,.35);
  opacity: 0; transform: translateY(12px); transition: .25s;
  cursor: pointer; z-index: 9999;
}
#sf-back-to-top.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════
   13. ARTICLE CONVERSION BLOCKS
═══════════════════════════════════════════════════ */
.sf-editorial-box, .sf-related-callout, .sf-next-read { margin: 34px 0; }

/* Quick Take & Verdict (theme shortcodes) */
.sf-editorial-box { background: #111317; border: 1px solid #24272c; border-left: 4px solid var(--sf-red); border-radius: 8px; padding: 24px 26px; box-shadow: 0 12px 28px rgba(0,0,0,.06); }
.sf-box-label { color: var(--sf-red); font-family: 'Oswald',sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.sf-box-content p:last-child { margin-bottom: 0; }
.sf-quick-take-box .sf-box-content, .sf-verdict p { color: #f1f1f1; font-size: 1.03em; line-height: 1.7; }
.sf-verdict { background: linear-gradient(135deg,#111317 0%,#181b20 100%); }

/* Quick Take (Custom HTML block version, used in legacy articles) */
.quick-take-box { background: #111317; border: 1px solid #24272c; border-left: 4px solid var(--sf-red); border-radius: 8px; padding: 24px 26px; margin: 0 0 28px; box-shadow: 0 12px 28px rgba(0,0,0,.06); }
.quick-take-label { color: var(--sf-red); font-family: 'Oswald',sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 10px; }
.quick-take-box p:not(.quick-take-label) { color: #f1f1f1; font-size: 1.03em; line-height: 1.7; margin: 0; }

/* Related callout */
.sf-related-callout { background: #fff; border: 1px solid #e7e7e7; border-left: 4px solid var(--sf-red); border-radius: 8px; padding: 18px 20px; }
.sf-related-callout span { display: block; color: var(--sf-red); font-family: 'Oswald',sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 5px; }
.sf-related-callout a { color: #111; font-family: 'Oswald',sans-serif; font-size: 21px; font-weight: 700; text-decoration: none; line-height: 1.25; }
.sf-related-callout a:hover { color: var(--sf-red); }
.sf-related-callout p { color: #666; font-size: 15px; margin: 8px 0 0; }

/* Next Read */
.sf-next-read { border-top: 2px solid #111; padding-top: 24px; }
.sf-next-read h2 { font-size: 26px; margin-bottom: 16px; text-transform: uppercase; }
.sf-next-read-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.sf-next-read-grid a { display: block; background: #111317; color: #fff; border: 1px solid #24272c; border-radius: 8px; padding: 18px; font-family: 'Oswald',sans-serif; font-size: 17px; line-height: 1.25; transition: transform .18s ease, border-color .18s ease; text-decoration: none; }
.sf-next-read-grid a:hover { border-color: var(--sf-red); color: #fff; transform: translateY(-1px); }

/* Read-Also float cards (used in article content) */
.read-also-card.read-also-float-right { float: right; width: 260px; margin: 0 0 20px 28px; font-size: .85em; }
.read-also-card.read-also-float-left  { float: left;  width: 260px; margin: 0 28px 20px 0;  font-size: .85em; }

/* ═══════════════════════════════════════════════════
   14. PAGES
═══════════════════════════════════════════════════ */
.sf-page-template { padding: 0 0 80px; }
.sf-page-header   { max-width: 980px; margin: 46px auto 28px; text-align: center; padding: 0 20px; }
.sf-page-header h1{ font-family: 'Playfair Display',serif; font-size: clamp(34px,5vw,58px); line-height: 1.1; text-transform: uppercase; margin: 0; color: #111; }
.sf-page-content  { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.sf-page-content h2, .sf-page-content h3 { color: inherit; }
/* Chronicles page (30256): hides the header, full-width content */
.page-id-30256 .sf-page-content  { max-width: 100%; padding: 0; }
.page-id-30256 .sf-page-header   { display: none; }
/* Hide the page title on the main homepage page */
.page-id-189393 .sf-page-header  { display: none; }

/* Partnerships page */
.sf-business-title { margin: 46px auto 26px; text-align: center; }
.sf-business-title h1 { font-size: clamp(42px,5vw,68px); line-height: 1.02; text-transform: uppercase; }
.sf-business-image-wrap   { max-width: 980px; margin: 0 auto 34px; padding: 0 18px; }
.sf-business-lead-image   { display: block; width: 100%; height: auto; aspect-ratio: 1024/559; object-fit: cover; border-radius: 6px; box-shadow: 0 16px 40px rgba(0,0,0,.14); }
.sf-partnership-dark      { max-width: 980px; margin: 0 auto 70px; background: #0b0b0c; color: #e9e4dc; border-top: 3px solid var(--sf-red); box-shadow: 0 22px 55px rgba(0,0,0,.18); }
.sfp-hero { text-align: center; padding: 70px 34px 54px; border-bottom: 1px solid #222; position: relative; }
.sfp-hero::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 62px; height: 3px; background: var(--sf-red); transform: translateX(-50%); }
.sfp-hero h2 { font-family: 'Playfair Display',Georgia,serif; color: #fff; font-size: clamp(42px,6vw,70px); line-height: 1.03; margin: 10px 0 18px; text-transform: none; }
.sfp-hero p  { max-width: 660px; margin: 0 auto; color: #9d9d9d; font-size: 17px; line-height: 1.75; }
.sfp-section { padding: 58px 40px; border-top: 1px solid #1d1d1f; }
.sfp-section h2, .sfp-cta h2 { font-family: 'Playfair Display',Georgia,serif; color: #fff; font-size: 34px; line-height: 1.18; margin: 0 0 16px; text-transform: none; letter-spacing: 0; }
.sfp-section p { color: #a4a4a4; font-size: 16px; line-height: 1.8; }
.sfp-two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: start; }
.sf-red-rule { display: block; width: 46px; height: 2px; background: var(--sf-red); margin: 20px 0 22px; }
.sfp-stats { display: grid; gap: 26px; }
.sfp-stats strong { display: block; font-family: 'Playfair Display',Georgia,serif; font-size: 50px; line-height: 1; color: var(--sf-red); }
.sfp-stats span   { display: block; margin-top: 7px; font-size: 12px; line-height: 1.45; color: #666; text-transform: uppercase; letter-spacing: .13em; font-weight: 800; }
.sfp-standards { margin: 0 40px 10px; padding: 30px 34px; background: #111; border: 1px solid #222; border-left: 3px solid var(--sf-red); }
.sfp-standards p    { font-family: 'Playfair Display',Georgia,serif; font-style: italic; color: #d3d3d3; font-size: 18px; line-height: 1.65; margin: 0; }
.sfp-standards cite { display: block; margin-top: 14px; color: var(--sf-red); font-size: 11px; text-transform: uppercase; letter-spacing: .16em; font-weight: 900; font-style: normal; }
.sfp-coverage { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 30px; }
.sfp-coverage div  { text-align: center; padding: 26px 14px; background: #111; border: 1px solid #202020; }
.sfp-coverage span { display: block; font-size: 24px; color: var(--sf-red); margin-bottom: 10px; }
.sfp-coverage h3   { font-family: 'Playfair Display',Georgia,serif; color: #e5e5e5; font-size: 17px; margin: 0 0 8px; text-transform: none; }
.sfp-coverage p    { font-size: 12px; line-height: 1.45; color: #666; margin: 0; }
.sfp-options { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 32px; }
.sfp-card { position: relative; background: #111; border: 1px solid #222; padding: 30px 26px; display: flex; flex-direction: column; }
.sfp-card.sfp-featured, .sfp-card.sfp-featured-link { border-top: 3px solid var(--sf-red); }
.sfp-card b      { position: absolute; right: 18px; top: 0; background: var(--sf-red); padding: 5px 10px; color: #fff; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.sfp-card span   { display: block; color: #666; font-size: 11px; text-transform: uppercase; letter-spacing: .18em; font-weight: 900; margin-bottom: 12px; }
.sfp-card h3     { font-family: 'Playfair Display',Georgia,serif; color: #fff; font-size: 24px; line-height: 1.15; margin: 0 0 18px; text-transform: none; }
.sfp-price       { font-family: 'Playfair Display',Georgia,serif; color: var(--sf-red); font-size: 42px; line-height: 1; font-weight: 900; }
.sfp-price small { font-family: 'Source Sans 3',Inter,Arial,sans-serif; color: #777; font-size: 14px; font-weight: 700; }
.sfp-alt         { font-size: 13px; color: #777; padding: 10px 0 16px; margin: 0; border-bottom: 1px solid #1d1d1d; }
.sfp-card ul { margin: 16px 0 0; padding: 0; list-style: none; }
.sfp-card li { position: relative; padding: 8px 0 8px 16px; border-bottom: 1px solid #1b1b1b; color: #989898; font-size: 14px; line-height: 1.55; }
.sfp-card li::before { content: ""; position: absolute; left: 0; top: 19px; width: 6px; height: 1px; background: var(--sf-red); }
.sfp-card li:last-child { border-bottom: 0; }
.sfp-cta  { text-align: center; padding: 66px 40px; background: #090909; border-top: 1px solid #1d1d1f; }
.sfp-cta p{ max-width: 650px; margin: 0 auto 24px; color: #888; font-size: 16px; line-height: 1.75; }
.sfp-form-wrap { max-width: 720px; margin: 34px auto 0; text-align: left; background: #101010; border: 1px solid #222; border-radius: 12px; padding: 28px; }
.sfp-form-wrap label, .sfp-form-wrap .wpforms-field-label { color: #fff; }
.sfp-form-wrap input, .sfp-form-wrap textarea, .sfp-form-wrap select { background: #1f2023 !important; border: 1px solid #3a3a3d !important; color: #fff !important; border-radius: 8px !important; }
.sfp-form-wrap button[type=submit], .sfp-form-wrap .wpforms-submit { background: var(--sf-red) !important; color: #fff !important; border: 0 !important; border-radius: 6px !important; text-transform: uppercase !important; font-weight: 900 !important; letter-spacing: .14em !important; padding: 14px 26px !important; }
.sf-contact-note   { background: #fff7f7; border-left: 4px solid var(--sf-red); padding: 16px 18px; font-weight: 700; }
.sf-contact-note a { color: var(--sf-red); text-decoration: underline; text-underline-offset: 3px; }

/* Alternate business page layout */
.sf-business-hero   { max-width: 980px; margin: 0 auto 28px; padding: 70px 34px; text-align: center; background: radial-gradient(circle at 70% 30%,rgba(236,53,53,.2),transparent 30%),#060606; color: #fff; border-radius: 0 0 14px 14px; }
.sf-business-hero h1{ font-size: clamp(44px,6vw,76px); line-height: 1; margin: 8px 0 16px; text-transform: uppercase; color: #fff; }
.sf-business-hero p { max-width: 760px; margin: 0 auto; color: #ddd; font-size: 21px; }
.sf-business-panel  { max-width: 980px; margin: 26px auto; padding: 34px; border: 1px solid var(--sf-line); border-radius: 14px; background: #fff; box-shadow: 0 12px 32px rgba(0,0,0,.055); }
.sf-business-offers { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.sf-business-offers div, .sf-price-card { background: #0a0a0a; color: #fff; border-radius: 12px; padding: 26px; border-top: 4px solid var(--sf-red); }
.sf-business-offers h2, .sf-price-card h3 { color: #fff; margin: 0 0 10px; font-family: 'Oswald','Source Sans 3',Arial,sans-serif; text-transform: uppercase; }
.sf-business-offers p, .sf-price-card p { color: #cfcfcf; margin: 0; }
.sf-pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.sf-price-card span    { display: block; color: var(--sf-red); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; font-weight: 900; margin-bottom: 8px; }
.sf-price-card h3      { font-size: 46px; color: var(--sf-red); }
.sf-price-card.featured{ box-shadow: 0 18px 46px rgba(236,53,53,.18); transform: translateY(-4px); }
.sf-trust-panel h2, .sf-business-form h2 { font-size: 38px; text-transform: uppercase; margin: 0 0 12px; }
.sf-trust-panel ul { display: grid; gap: 8px; margin: 22px 0 0; padding-left: 22px; }
.sf-business-form .wpforms-container { margin-top: 22px !important; }
.sf-business-form input, .sf-business-form textarea, .sf-business-form select { border-radius: 8px !important; border: 1px solid #ddd !important; min-height: 44px !important; }
.sf-business-form button[type=submit], .sf-business-form .wpforms-submit { background: var(--sf-red) !important; color: #fff !important; border: 0 !important; border-radius: 8px !important; font-weight: 900 !important; text-transform: uppercase !important; letter-spacing: .08em !important; padding: 13px 24px !important; }

/* ═══════════════════════════════════════════════════
   15. NEWSLETTER & FOOTER
═══════════════════════════════════════════════════ */
.sf-newsletter { border-top: 1px solid var(--sf-line); background: #fff; }
.sf-newsletter-inner {
  width: min(1240px, calc(100% - 42px)); margin: auto;
  display: grid; grid-template-columns: 60px minmax(260px,1fr) minmax(320px,520px);
  gap: 20px; align-items: center; padding: 28px 0;
}
.sf-mail-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--sf-red); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; pointer-events: auto; }
.sf-mail-icon:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(236,53,53,.22); }
.sf-newsletter h2  { font-size: 17px; letter-spacing: .16em; text-transform: uppercase; margin: 0; color: #111; font-family: Inter,Arial,sans-serif; }
.sf-newsletter p   { margin: 4px 0 0; color: #555; }
.sf-newsletter-text-link { color: inherit; text-decoration: none; }
.sf-newsletter-text-link:hover h2 { color: var(--sf-red); }
.sf-newsletter-form { display: block; min-height: 46px; }
.sf-newsletter-form form { display: flex; gap: 10px; align-items: center; }
.sf-newsletter-form input[type=email], .sf-newsletter-form input[type=text] { height: 42px; border: 1px solid var(--sf-line); border-radius: 6px; padding: 0 14px; width: 100%; font: inherit; }
.sf-newsletter-form button, .sf-newsletter-form input[type=submit] { height: 42px; border: 0; border-radius: 6px; background: var(--sf-red); color: #fff; text-transform: uppercase; font-weight: 900; padding: 0 18px; cursor: pointer; }

.site-footer { background: #030303; color: #fff; border-top: 4px solid var(--sf-red); padding: 56px 20px; text-align: center; }
.sf-footer-inner   { max-width: 900px; margin: auto; }
.sf-footer-inner h2{ font-family: 'Playfair Display',serif; color: var(--sf-red); font-size: 42px; letter-spacing: .2em; text-transform: uppercase; margin: 0; }
.sf-footer-tagline { color: #777; text-transform: uppercase; letter-spacing: .25em; font-size: 12px; }
.sf-footer-nav     { display: flex; justify-content: center; gap: 34px; flex-wrap: wrap; margin: 28px 0; }
.sf-footer-nav a   { color: #fff; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.sf-footer-nav a[href="/editorial-partnerships/"] { border-bottom: 3px solid var(--sf-red); }
.sf-copyright { color: #555; font-size: 11px; text-transform: uppercase; letter-spacing: .16em; }

/* ═══════════════════════════════════════════════════
   16. PAGINATION
═══════════════════════════════════════════════════ */
.sf-pagination-block { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; margin: 42px 0 22px; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; border-radius: 999px; color: #777; font-weight: 700; font-size: 14px; font-family: 'Source Sans 3',Inter,Arial,sans-serif; background: transparent; }
.page-numbers:hover { background: #f2f2f2; color: #111; }
.page-numbers.current { background: var(--sf-red); color: #fff; font-weight: 800; box-shadow: 0 8px 18px rgba(236,53,53,.18); }
.page-numbers.next, .page-numbers.prev { padding: 0 10px; width: auto; color: #555; }
.sf-jump-form { display: flex; align-items: center; gap: 10px; background: #f8f8f8; border: 1px solid #eee; border-radius: 999px; padding: 10px 14px; flex-basis: 100%; width: max-content; margin: 8px auto 0; }
.sf-jump-form span  { text-transform: uppercase; font-size: 11px; font-weight: 900; color: #777; }
.sf-jump-form input { width: 60px; border: 1px solid #ddd; border-radius: 5px; padding: 8px; text-align: center; font-weight: 900; }

/* ═══════════════════════════════════════════════════
   17. COLD OPEN VIDEO WIDGET
   (Remove the inline <style> blocks from archive.php
    and index.php after adding this section)
═══════════════════════════════════════════════════ */
.sflab-co-widget { background: #09090b; border: 1px solid #1e1e22; border-top: 3px solid var(--sf-red); font-family: sans-serif; box-sizing: border-box; overflow: hidden; }
.sflab-co-grid   { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px; background: #050505; }
.sflab-co-cell   { background: #141416; aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.sflab-co-cell::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg,transparent,transparent 3px,rgba(0,0,0,.08) 3px,rgba(0,0,0,.08) 4px); pointer-events: none; }
.sflab-co-play   { width: 22px; height: 22px; border-radius: 50%; background: rgba(236,53,53,.82); display: flex; align-items: center; justify-content: center; position: relative; z-index: 2; }
.sflab-co-play::after { content: ""; width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 9px solid #fff; margin-left: 2px; }
.sflab-co-body   { padding: 14px 14px 16px; }
.sflab-co-eyebrow{ font-size: 9px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--sf-red); display: block; margin-bottom: 7px; }
.sflab-co-title  { font-size: 19px; font-weight: 800; text-transform: uppercase; letter-spacing: -.5px; color: #f0f0f0; line-height: 1.1; margin: 0 0 9px; padding: 0; }
.sflab-co-desc   { font-size: 12px; color: #777; line-height: 1.7; margin: 0 0 14px; padding: 0; }
.sflab-co-btn    { display: block; background: var(--sf-red); color: #fff !important; font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; text-align: center; padding: 11px 10px; text-decoration: none !important; border-radius: 2px; }
.sflab-co-btn:hover { background: var(--sf-red-dark); }
.sflab-co-count  { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: #2e2e32; text-align: center; display: block; margin-top: 10px; }

/* ═══════════════════════════════════════════════════
   18. OHMS LAW CALCULATOR
═══════════════════════════════════════════════════ */
.sf-ohms-calculator { max-width: 700px; margin: 30px 0 40px; font-family: sans-serif; }
.sf-ohms-modes { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-bottom: 16px; }
.sf-ohms-btn { background: #1a1c1f; border: 1px solid #2a2d32; border-radius: 4px; padding: 10px 6px; text-align: center; cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #888; transition: all .15s; line-height: 1.4; }
.sf-ohms-btn:hover { border-color: var(--sf-red); color: var(--sf-red); }
.sf-ohms-btn.sf-ohms-active { background: var(--sf-red); border-color: var(--sf-red); color: #fff; }
.sf-ohms-symbol { display: block; font-size: 18px; font-weight: 700; margin-bottom: 3px; }
.sf-ohms-panel  { background: #1a1c1f; border: 1px solid #2a2d32; border-top: 3px solid var(--sf-red); border-radius: 4px; padding: 24px; margin-bottom: 12px; }
.sf-ohms-panel-title { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--sf-red); margin-bottom: 16px; }
.sf-ohms-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.sf-ohms-label  { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #888; margin-bottom: 6px; }
.sf-ohms-input-symbol { font-size: 13px; color: var(--sf-red); background: rgba(236,53,53,.1); padding: 1px 5px; border-radius: 3px; }
.sf-ohms-input-wrap   { position: relative; }
.sf-ohms-input { width: 100% !important; background: #0d0f12 !important; border: 1px solid #2a2d32 !important; border-radius: 4px !important; padding: 12px 40px 12px 14px !important; font-size: 16px !important; font-weight: 600 !important; color: #fff !important; outline: none !important; box-shadow: none !important; -moz-appearance: textfield; }
.sf-ohms-input::-webkit-outer-spin-button,
.sf-ohms-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.sf-ohms-input:focus { border-color: var(--sf-red) !important; }
.sf-ohms-unit { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 12px; color: #555; pointer-events: none; }
.sf-ohms-calc-btn { width: 100%; background: var(--sf-red); border: none; border-radius: 4px; padding: 14px; font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; cursor: pointer; transition: background .15s; }
.sf-ohms-calc-btn:hover { background: var(--sf-red-dark); }
.sf-ohms-error  { color: #ff6b6b; font-size: 13px; margin-top: 10px; display: none; line-height: 1.5; }
.sf-ohms-result { background: #0d0f12; border: 1px solid #2a2d32; border-radius: 4px; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; min-height: 72px; margin-bottom: 10px; }
.sf-ohms-result-label   { font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: #555; }
.sf-ohms-result-formula { font-size: 12px; color: #444; margin-top: 3px; }
.sf-ohms-result-value   { font-size: 32px; font-weight: 700; color: #444; font-family: monospace; }
.sf-ohms-result-value.sf-has-value { color: #4dff91; }
.sf-ohms-result-unit    { font-size: 16px; color: #888; margin-left: 3px; }
.sf-ohms-clear-btn { background: none; border: 1px solid #2a2d32; border-radius: 4px; padding: 7px 14px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #555; cursor: pointer; margin-bottom: 16px; transition: all .15s; }
.sf-ohms-clear-btn:hover { border-color: #555; color: #888; }
.sf-ohms-formulas { background: #1a1c1f; border: 1px solid #2a2d32; border-radius: 4px; padding: 16px 20px; margin-bottom: 14px; }
.sf-ohms-formula-title { font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: #555; margin-bottom: 10px; }
.sf-ohms-formula-list  { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-ohms-formula { font-size: 12px; color: #555; background: #0d0f12; padding: 4px 10px; border-radius: 3px; border: 1px solid #222; font-family: monospace; }
.sf-ohms-formula.sf-formula-active { color: var(--sf-red); border-color: rgba(236,53,53,.3); background: rgba(236,53,53,.08); }
.sf-ohms-safety { padding: 14px 18px; background: rgba(255,200,0,.04); border: 1px solid rgba(255,200,0,.12); border-radius: 4px; font-size: 13px; color: #888; line-height: 1.6; }
.sf-ohms-safety strong { color: #ffc800; }

/* ═══════════════════════════════════════════════════
   19. WPFORMS OVERRIDES
═══════════════════════════════════════════════════ */
div.wpforms-container-full .wpforms-form input[type="text"],
div.wpforms-container-full .wpforms-form input[type="email"],
div.wpforms-container-full .wpforms-form textarea { background: #25282c !important; border: 1px solid #444 !important; color: #fff !important; padding: 12px !important; }
div.wpforms-container-full .wpforms-form .wpforms-submit { background: var(--sf-red) !important; color: #fff !important; border: none !important; text-transform: uppercase !important; font-weight: 900 !important; letter-spacing: 2px !important; padding: 15px 40px !important; }

/* ═══════════════════════════════════════════════════
   20. RESPONSIVE BREAKPOINTS
═══════════════════════════════════════════════════ */

/* Large desktop */
@media (min-width: 1200px) {
  .sf-shell { max-width: 1340px; }
  .sf-home-layout { grid-template-columns: minmax(0,1fr) 310px; }
  .sf-home .sf-card-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
  .sf-home .sf-card-body { min-height: 190px; padding: 15px; }
  .sf-home .sf-card-title { font-size: clamp(20px,1.35vw,23px); line-height: 1.02; }
  .sf-home .sf-card-excerpt { -webkit-line-clamp: 3; font-size: 14px; }
}

/* Mid tablet */
@media (min-width: 821px) and (max-width: 1199px) {
  .sf-home .sf-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
  .sf-home .sf-card-body { min-height: 185px; }
  .sf-home .sf-card-excerpt { -webkit-line-clamp: 3; }
}

/* Collapse sidebars */
@media (max-width: 1100px) {
  .sf-home-layout, .sf-archive-layout, .sf-single-layout { grid-template-columns: 1fr; }
  .sf-sidebar, .sf-single-sidebar { position: static; display: block; }
  .sf-sidebar .sf-trending { margin-bottom: 24px; }
  .sf-vertical-ad { min-height: 260px; }
  .sf-mobile-toc { display: block; }
  .sf-single-sidebar .sf-toc { display: none; }
  .sf-business-offers, .sf-pricing-grid { grid-template-columns: 1fr; }
  .sf-newsletter-inner { grid-template-columns: 60px 1fr; }
  .sf-newsletter-form  { grid-column: 1 / -1; }
}

/* Archive hub grids */
@media (max-width: 900px) {
  .sf-year-grid { grid-template-columns: repeat(2,1fr); }
  .sf-collection-grid { grid-template-columns: repeat(2,1fr); }
  .sf-vault-search { grid-template-columns: 1fr; }
  .sf-vault-search button { padding: 14px; }
  .sf-archive-layout .sf-year-widget { display: block; }
  .sf-related-grid { grid-template-columns: repeat(2,1fr); }
}

/* Mobile nav & layout */
@media (max-width: 820px) {
  body { font-size: 17px; }
  .sf-topbar { padding: 22px 16px 18px; }
  .custom-logo-link img { max-width: 250px; }
  /* Show hamburger, hide nav by default */
  .sf-menu-toggle { display: inline-flex; }
  .sf-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 9999; background: rgba(5,5,5,.98); border-bottom: 3px solid var(--sf-red); box-shadow: 0 30px 55px rgba(0,0,0,.34); }
  body.sf-mobile-menu-open .sf-nav { display: block; }
  .sf-nav-inner { width: 100%; display: flex; flex-direction: column; align-items: stretch; gap: 18px; min-height: 0; padding: 24px; }
  .nav-menu { display: flex; flex-direction: column; align-items: stretch; gap: 8px; flex-wrap: nowrap; }
  .nav-menu a { border-radius: 10px; padding: 14px 16px; text-align: left; font-size: 14px; background: #111; color: #fff !important; }
  .nav-menu a::after { display: none; }
  /* Dropdowns — tap to expand via JS, not hover */
  .sf-nav .nav-menu .menu-item-has-children > .sub-menu { position: static; box-shadow: none; border-top: 0; border-left: 2px solid var(--sf-red); margin-left: 16px; min-width: 0; padding: 4px 0; }
  .sf-nav .nav-menu .menu-item-has-children:hover > .sub-menu { display: none; }
  .sf-nav .nav-menu .menu-item-has-children.is-open > .sub-menu { display: block; }
  .sf-nav-search { width: 100%; order: -1; }
  .sf-nav-search input { width: 100% !important; border-radius: 999px; padding: 14px 16px; font-size: 16px; }
  .sf-nav-search button { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); }
  .sf-live-search-results { position: static; width: 100%; transform: none; margin-top: 10px; }
  .sf-business-title { margin-top: 30px; }
  .sf-business-image-wrap { margin-bottom: 22px; }
  .sf-partnership-dark { margin: 0 14px 48px; }
  .sfp-hero { padding: 48px 24px 40px; }
  .sfp-section { padding: 42px 24px; }
  .sfp-two-col, .sfp-options { grid-template-columns: 1fr; }
  .sfp-coverage { grid-template-columns: repeat(2,1fr); }
  .sfp-standards { margin: 0 24px 8px; padding: 24px; }
  .sfp-form-wrap { padding: 20px; }
  .sfp-cta { padding: 48px 24px; }
  .sf-hero { min-height: 420px; }
  .sf-hero-content { width: calc(100% - 32px); margin: 0 auto; padding: 56px 0; }
  .sf-hero h1 { font-size: 44px; }
  .sf-entry-content p { font-size: 18px; line-height: 1.72; }
  .sf-author-box { align-items: flex-start; padding: 20px; gap: 14px; }
  .sf-author-photo-wrap, .sf-author-initial, .sf-author-photo { width: 64px; height: 64px; flex-basis: 64px; }
  .sf-author-box h2 { font-size: 22px; }
  .sf-author-box p  { font-size: 14px; line-height: 1.55; }
  .sf-author-badge  { font-size: 9px; }
}

/* Mobile general */
@media (max-width: 760px) {
  .sf-card-grid, .sf-related-grid { grid-template-columns: 1fr; }
  .sf-list-card { grid-template-columns: 1fr; }
  .sf-list-card .sf-card-image { height: 210px; }
  .sf-filter-bar { grid-template-columns: 1fr; }
  .sf-review-summary { grid-template-columns: 1fr; }
  .sf-single-hero-inner { padding: 54px 0; }
  .sf-share-box { flex-wrap: wrap; }
  .sf-share-box h2 { width: 100%; }
  .sf-newsletter-inner { grid-template-columns: 1fr; text-align: center; }
  .sf-mail-icon { margin: auto; }
  .sf-newsletter-form form { flex-direction: column; }
  .sf-newsletter-form button, .sf-newsletter-form input[type=submit] { width: 100%; }
  .sf-footer-inner h2 { font-size: 30px; }
  .sf-footer-nav { gap: 18px; }
  .sf-page-content { padding: 0 18px; }
  .sf-page-header h1 { font-size: 34px; }
  .sf-start-grid { grid-template-columns: 1fr; }
  .sf-start-here { padding: 26px 0; }
  .sf-start-card { min-height: 0; }
  .sf-start-card h3 { font-size: 22px; }
  .sf-hero-actions { align-items: stretch; }
  .sf-hero-actions a { justify-content: center; }
  .quick-take-box { padding: 20px; }
  .sf-editorial-box { padding: 20px; }
  .sf-related-callout a { font-size: 19px; }
  .sf-next-read-grid { grid-template-columns: 1fr; }
  .sf-sf-ohms-modes { grid-template-columns: repeat(2,1fr); }
  .sf-ohms-inputs { grid-template-columns: 1fr; }
  .sf-ohms-result-value { font-size: 24px; }
}

/* Small mobile */
@media (max-width: 560px) {
  .sf-shell { width: calc(100% - 28px); }
  .sf-section-bar h2, .sf-widget-title { font-size: 21px; }
  .sf-year-grid, .sf-collection-grid { grid-template-columns: 1fr; }
  .sf-year-tile { padding: 20px; }
  .sf-related-card { display: grid; grid-template-columns: 110px 1fr; }
  .sf-related-thumb { aspect-ratio: 1/1; }
  .sf-related-body h3 { font-size: 15px; }
  .sf-list-card { padding: 16px; }
  .sf-list-card .sf-card-title { font-size: 22px; }
  .sfp-coverage { grid-template-columns: 1fr; }
  .sfp-hero h2 { font-size: 38px; }
  .sfp-section h2, .sfp-cta h2 { font-size: 28px; }
  .sf-business-lead-image { border-radius: 4px; }
  .sf-newsletter-inner { padding-left: 16px; padding-right: 16px; }
}
