/*
Theme Name: Feed the Winners
Theme URI: https://feedthewinners.com
Author: Amazing Ads
Description: Feed the Winners - Ecommerce & Marketing Intelligence. Clean, editorial theme with red/black accent system. Supports category pillar pages, blog, podcast, and monetizable landing pages.
Version: 1.1.0
License: Private
Text Domain: ftw
*/

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --line: #e4e6ea;
  --text: #101622;
  --muted: #4a5a6f;
  --accent: #c81f0f;
  --accent-dark: #a01808;
  --accent-light: #fdeeed;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --max-width: 1240px;
  --font-main: "Inter", "Segoe UI", Arial, sans-serif;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 0.5em; line-height: 1.1; letter-spacing: -0.02em; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.ftw-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.ftw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 22px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  line-height: 1;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  cursor: pointer;
}

.ftw-btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.ftw-btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }

.ftw-btn-outline {
  border-color: #e5a6a0;
  color: var(--accent);
  background: #fff;
}
.ftw-btn-outline:hover { border-color: var(--accent); }

.ftw-btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: #fff;
}
.ftw-btn-ghost:hover { border-color: #aaa; }

/* ============================================================
   SITE HEADER / NAV
   ============================================================ */
.ftw-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.ftw-header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ftw-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.ftw-logo-mark {
  color: var(--accent);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -4px;
  line-height: 1;
}

.ftw-logo-text {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.1;
}

.ftw-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ftw-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.15s;
}
.ftw-nav a:hover { color: var(--accent); }
.ftw-nav .current-menu-item a { color: var(--accent); }

.ftw-header-cta { flex-shrink: 0; }

/* Mobile menu toggle */
.ftw-menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  cursor: pointer;
  font-size: 18px;
  color: var(--text);
}

/* ============================================================
   SITE FOOTER
   ============================================================ */
.ftw-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 22px 0 36px;
}

.ftw-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}

.ftw-footer-links {
  display: flex;
  gap: 0;
}

.ftw-footer-links a {
  color: var(--text);
  text-decoration: none;
  margin-left: 18px;
  font-size: 13px;
  transition: color 0.15s;
}
.ftw-footer-links a:hover { color: var(--accent); }

/* ============================================================
   HERO — HOMEPAGE
   ============================================================ */
.ftw-hero {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, #fbfbfc 100%);
}

.ftw-hero-grid {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 40px;
  align-items: center;
  padding: 54px 0 32px;
}

.ftw-eyebrow {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ftw-eyebrow::before {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  background: var(--accent);
  border-radius: 99px;
  flex-shrink: 0;
}

.ftw-hero h1 {
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}

.ftw-hero h1 .accent { color: var(--accent); }

.ftw-hero-sub {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  color: var(--muted);
  max-width: 580px;
  margin: 0 0 28px;
}

.ftw-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.ftw-hero-image {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

/* Hero stats bar */
.ftw-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.ftw-stat {
  padding: 22px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-right: 1px solid var(--line);
}
.ftw-stat:last-child { border-right: 0; }

.ftw-stat-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  color: var(--accent);
  font-size: 20px;
}

.ftw-stat b { font-size: 22px; display: block; }
.ftw-stat p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }

/* ============================================================
   SECTIONS — SHARED
   ============================================================ */
.ftw-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.ftw-section:last-of-type { border-bottom: 0; }

.ftw-section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
  gap: 14px;
}

.ftw-section-head h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -0.02em;
}

.ftw-section-link {
  text-decoration: none;
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

/* ============================================================
   TOPIC / PILLAR CARDS
   ============================================================ */
.ftw-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ftw-pillar-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.15s, transform 0.15s;
}
.ftw-pillar-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  color: inherit;
}

.ftw-pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-light);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 14px;
}

.ftw-pillar-card h3 {
  font-size: 20px;
  margin: 0 0 8px;
}

.ftw-pillar-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 14px;
}

.ftw-pillar-cta {
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

/* ============================================================
   BLOG / POST CARDS
   ============================================================ */
.ftw-post-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 16px;
}

.ftw-post-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s;
}
.ftw-post-card:hover { border-color: var(--accent); color: inherit; }

.ftw-post-card-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.ftw-post-card-featured .ftw-post-card-thumb { height: 220px; }

.ftw-post-card-body { padding: 16px; }

.ftw-post-meta {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 6px;
}

.ftw-post-card h3 {
  font-size: 18px;
  line-height: 1.25;
  margin: 0 0 8px;
}

.ftw-post-card-featured h3 { font-size: 22px; }

.ftw-post-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 12px;
}

.ftw-read-more {
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

/* Post tag label */
.ftw-tag {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  text-decoration: none;
}

/* ============================================================
   PODCAST ROWS
   ============================================================ */
.ftw-pod-list { display: grid; gap: 10px; }

.ftw-pod-row {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  display: grid;
  grid-template-columns: 90px 1fr 140px 52px;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s;
}
.ftw-pod-row:hover { border-color: var(--accent); color: inherit; }

.ftw-pod-cover {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.ftw-pod-ep {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.ftw-pod-row h4 {
  font-size: 16px;
  margin: 0 0 4px;
  line-height: 1.3;
}

.ftw-pod-row p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.ftw-pod-time {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.ftw-pod-play {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ftw-pod-play svg { width: 18px; height: 18px; fill: #fff; }

/* ============================================================
   NEWSLETTER BAR
   ============================================================ */
.ftw-newsletter {
  background: linear-gradient(130deg, #fff 0%, #fff7f6 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: grid;
  grid-template-columns: 52px 1.3fr 1.2fr 1fr;
  gap: 20px;
  align-items: center;
}

.ftw-newsletter-icon {
  font-size: 32px;
  line-height: 1;
}

.ftw-newsletter h3 {
  font-size: clamp(18px, 2.5vw, 24px);
  margin: 0;
  line-height: 1.2;
}

.ftw-newsletter p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.ftw-newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.ftw-newsletter-form input {
  height: 46px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  padding: 0 14px;
  font-size: 15px;
  width: 100%;
  font-family: var(--font-main);
}

.ftw-newsletter-form button {
  height: 46px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  padding: 0 18px;
  white-space: nowrap;
  font-family: var(--font-main);
  transition: background 0.15s;
}
.ftw-newsletter-form button:hover { background: var(--accent-dark); }

/* ============================================================
   ABOUT / FOUNDERS
   ============================================================ */
.ftw-about {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
  margin-top: 20px;
}

.ftw-about h2 {
  font-size: clamp(20px, 2.5vw, 26px);
  margin: 0 0 10px;
}

.ftw-about p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 15px;
  margin: 0 0 16px;
}

.ftw-about a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
}

.ftw-founders {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.ftw-founder { text-align: center; }

.ftw-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 32px;
  font-weight: 800;
  background: var(--accent-light);
  color: var(--accent);
  margin: 0 auto 10px;
}

.ftw-founder strong { font-size: 15px; display: block; }
.ftw-founder span { color: var(--muted); font-size: 13px; }

/* ============================================================
   CATEGORY / PILLAR PAGE
   ============================================================ */
.ftw-cat-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 48px 0 36px;
}

.ftw-cat-label {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ftw-cat-label::before {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 99px;
}

.ftw-cat-hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  margin: 0 0 14px;
}

.ftw-cat-hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 24px;
  line-height: 1.6;
}

.ftw-cat-meta {
  font-size: 13px;
  color: var(--muted);
}

/* Category post grid - 3 col */
.ftw-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 36px 0;
}

/* Pagination */
.ftw-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 24px 0 40px;
}

.ftw-pagination a,
.ftw-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  background: var(--surface);
}

.ftw-pagination .current {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ============================================================
   SINGLE POST / ARTICLE
   ============================================================ */
.ftw-single-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 48px 0 36px;
}

.ftw-single-header .ftw-tag { margin-bottom: 14px; }

.ftw-single-header h1 {
  font-size: clamp(28px, 4vw, 48px);
  max-width: 860px;
  margin: 0 0 16px;
}

.ftw-single-header .ftw-post-meta { margin: 0; }

.ftw-single-thumb {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 32px 0;
}

/* Article body layout */
.ftw-single-body {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  padding: 0 0 48px;
}

.ftw-article-content {
  max-width: 740px;
}

.ftw-article-content h2 {
  font-size: 26px;
  margin: 32px 0 12px;
}

.ftw-article-content h3 {
  font-size: 20px;
  margin: 24px 0 10px;
}

.ftw-article-content p {
  color: #1e2631;
  line-height: 1.75;
  font-size: 17px;
}

.ftw-article-content ul,
.ftw-article-content ol {
  padding-left: 22px;
  margin: 0 0 1em;
}

.ftw-article-content li {
  line-height: 1.7;
  margin-bottom: 4px;
  font-size: 17px;
  color: #1e2631;
}

.ftw-article-content a {
  color: var(--accent);
}

.ftw-article-content blockquote {
  border-left: 3px solid var(--accent);
  margin: 24px 0;
  padding: 12px 20px;
  background: var(--accent-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 18px;
  font-style: italic;
  color: #333;
}

/* Sidebar */
.ftw-sidebar { padding-top: 4px; }

.ftw-sidebar-widget {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}

.ftw-sidebar-widget h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 14px;
}

/* Related posts */
.ftw-related {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.ftw-related h2 {
  font-size: 24px;
  margin: 0 0 20px;
}

.ftw-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ============================================================
   LANDING / COMPARISON PAGES
   ============================================================ */
.ftw-lp-hero {
  background: linear-gradient(160deg, #fff 0%, #fff7f6 60%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  padding: 72px 0 56px;
  text-align: center;
}

.ftw-lp-hero h1 {
  font-size: clamp(32px, 5vw, 60px);
  max-width: 820px;
  margin: 0 auto 18px;
}

.ftw-lp-hero p {
  font-size: 20px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

/* Comparison table */
.ftw-compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.ftw-compare-table th {
  background: var(--text);
  color: #fff;
  padding: 14px 18px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
}

.ftw-compare-table th:first-child { width: 200px; }

.ftw-compare-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  vertical-align: top;
}

.ftw-compare-table tr:last-child td { border-bottom: 0; }

.ftw-compare-table tr:nth-child(even) td { background: #fafbfc; }

.ftw-compare-check { color: #16a34a; font-size: 16px; }
.ftw-compare-x { color: #dc2626; font-size: 16px; }

/* Affiliate CTA box */
.ftw-aff-box {
  background: linear-gradient(130deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: #fff;
  text-align: center;
  margin: 32px 0;
}

.ftw-aff-box h2 {
  font-size: clamp(22px, 3vw, 32px);
  color: #fff;
  margin: 0 0 10px;
}

.ftw-aff-box p {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  margin: 0 0 22px;
  line-height: 1.6;
}

.ftw-aff-box .ftw-btn-primary {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}

.ftw-aff-box .ftw-btn-primary:hover {
  background: rgba(255,255,255,0.9);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.ftw-about-page-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 56px 0 44px;
}

.ftw-about-page-hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  margin: 0 0 16px;
}

.ftw-about-page-hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 680px;
  line-height: 1.65;
}

.ftw-team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding: 40px 0;
}

.ftw-team-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
}

.ftw-team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--accent-light);
  display: grid;
  place-items: center;
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
}

.ftw-team-card h3 { font-size: 20px; margin: 0 0 4px; }
.ftw-team-card .ftw-team-role { color: var(--accent); font-size: 13px; font-weight: 600; margin: 0 0 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.ftw-team-card p { color: var(--muted); font-size: 15px; line-height: 1.65; margin: 0; }

/* ============================================================
   PODCAST PAGE
   ============================================================ */
.ftw-podcast-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 48px 0 36px;
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 40px;
  align-items: center;
}

.ftw-podcast-cover {
  width: 180px;
  height: 180px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* ============================================================
   WORK WITH US / SERVICES
   ============================================================ */
.ftw-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 36px 0;
}

.ftw-service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.ftw-service-card h3 { font-size: 20px; margin: 0 0 10px; }
.ftw-service-card p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; }

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.ftw-breadcrumbs {
  padding: 12px 0;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.ftw-breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}
.ftw-breadcrumbs a:hover { color: var(--accent); }
.ftw-breadcrumbs span { margin: 0 6px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .ftw-hero-grid { grid-template-columns: 1fr; }
  .ftw-hero-image { display: none; }
  .ftw-post-grid { grid-template-columns: repeat(2, 1fr); }
  .ftw-pod-row { grid-template-columns: 80px 1fr; }
  .ftw-pod-time, .ftw-pod-play { display: none; }
  .ftw-newsletter { grid-template-columns: 1fr 1fr; }
  .ftw-single-body { grid-template-columns: 1fr; }
  .ftw-sidebar { display: none; }
}

@media (max-width: 768px) {
  .ftw-nav { display: none; }
  .ftw-nav.open { display: flex; flex-direction: column; width: 100%; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
  .ftw-menu-toggle { display: block; }
  .ftw-header-inner { flex-wrap: wrap; padding: 12px 0; }
  .ftw-header-cta { display: none; }

  .ftw-pillars { grid-template-columns: 1fr; }
  .ftw-post-grid { grid-template-columns: 1fr; }
  .ftw-archive-grid { grid-template-columns: 1fr; }
  .ftw-related-grid { grid-template-columns: 1fr; }
  .ftw-services-grid { grid-template-columns: 1fr; }
  .ftw-team-grid { grid-template-columns: 1fr; }

  .ftw-stats { grid-template-columns: 1fr; }
  .ftw-stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .ftw-stat:last-child { border-bottom: 0; }

  .ftw-newsletter { grid-template-columns: 1fr; }
  .ftw-about { grid-template-columns: 1fr; }
  .ftw-podcast-hero { grid-template-columns: 1fr; }
  .ftw-podcast-cover { display: none; }

  .ftw-footer-inner { flex-direction: column; gap: 12px; }
  .ftw-footer-links a:first-child { margin-left: 0; }
}

/* ============================================================
   HUB PAGE — page-hub.php
   Version 1.1.0
   ============================================================ */

/* Hero */
.ftw-hub-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 52px 0 40px;
}
.ftw-hub-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.ftw-hub-hero h1 {
  font-size: clamp(28px, 4vw, 48px);
  margin: 0 0 14px;
  line-height: 1.15;
}
.ftw-hub-desc {
  color: var(--muted);
  font-size: 17px;
  max-width: 640px;
  line-height: 1.65;
  margin: 0;
}
.ftw-hub-desc p { margin: 0; }

/* Hub wrap */
.ftw-hub-wrap {
  padding-top: 48px;
  padding-bottom: 32px;
}

/* Section */
.ftw-hub-section {
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
}
.ftw-hub-section:last-of-type {
  border-bottom: 0;
}
.ftw-hub-section-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.ftw-hub-section-head h2 {
  font-size: 22px;
  margin: 0;
  flex: 1;
}
.ftw-hub-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  padding-top: 3px;
}
.ftw-hub-viewall {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}
.ftw-hub-viewall:hover { text-decoration: underline; }

/* Posts grid (reuses post card styles from main theme) */
.ftw-hub-post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.ftw-hub-post-grid .ftw-post-card-featured {
  grid-column: 1 / -1;
}

/* Empty state */
.ftw-hub-empty {
  color: var(--muted);
  font-size: 15px;
  padding: 20px 0;
}
.ftw-hub-empty-tools {
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  color: var(--muted);
  font-size: 15px;
}

/* Derived post link badge on pod rows */
.ftw-hub-derived-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}

/* Tools grid */
.ftw-hub-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 12px;
}
.ftw-tool-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow .15s ease;
}
.ftw-tool-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.ftw-tool-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 20px 0;
}
.ftw-tool-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
}
.ftw-tool-logo-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--accent-light);
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}
.ftw-tool-rating {
  margin-left: auto;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 20px;
}
.ftw-tool-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: var(--accent-light);
  color: var(--accent);
  padding: 3px 8px;
  border-radius: 20px;
}
.ftw-tool-card-body {
  padding: 14px 20px;
  flex: 1;
}
.ftw-tool-card-body h4 {
  font-size: 16px;
  margin: 0 0 6px;
  line-height: 1.3;
}
.ftw-tool-card-body p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 8px;
}
.ftw-tool-pricing {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.ftw-tool-card-footer {
  display: flex;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.ftw-hub-disclosure {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.ftw-hub-disclosure a { color: var(--muted); }

/* Resources grid */
.ftw-hub-resources-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ftw-resource-card {
  display: grid;
  grid-template-columns: 56px 1fr 24px;
  gap: 16px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  text-decoration: none;
  color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.ftw-resource-card:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.ftw-resource-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--accent-light);
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}
.ftw-resource-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.ftw-resource-type {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.ftw-resource-body h4 {
  font-size: 15px;
  margin: 0 0 4px;
  line-height: 1.3;
}
.ftw-resource-body p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
  line-height: 1.4;
}
.ftw-resource-arrow {
  color: var(--muted);
  font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
  .ftw-hub-tools-grid { grid-template-columns: 1fr; }
  .ftw-hub-post-grid { grid-template-columns: 1fr; }
  .ftw-hub-post-grid .ftw-post-card-featured { grid-column: auto; }
  .ftw-resource-card { grid-template-columns: 48px 1fr 20px; gap: 12px; padding: 14px 16px; }
  .ftw-tool-card-footer { flex-direction: column; }
}
