/* =============================================
   THE KITCHEN TABLE — Ghost Theme Stylesheet
   Blue #5B91CC / Burgundy #762D31 / Pink #D4527A
   ============================================= */

:root {
  --cream: #FFF9F2;
  --pink-light: #FFF0F5;
  --pink: #D4527A;
  --pink-light-border: #FCD6D3;
  --blue: #5B91CC;
  --blue-light: #A2CAE7;
  --maroon: #762D31;
  --maroon-dark: #5a1f24;
  --gray: #9a7a7a;
  --text: #2a1a1a;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --radius-md: 12px;
  --radius-pill: 20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body { background: var(--cream); font-family: var(--font-sans); color: var(--text); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 500; line-height: 1.2; }

/* --- Buttons --- */
.btn-primary { display: inline-block; font-size: 13px; padding: 10px 24px; border-radius: var(--radius-pill); background: var(--pink); color: #fff; border: none; cursor: pointer; text-decoration: none; transition: background 0.15s; }
.btn-primary:hover { background: var(--maroon); color: #fff; }
.btn-secondary { display: inline-block; font-size: 13px; padding: 10px 24px; border-radius: var(--radius-pill); background: transparent; color: var(--maroon); border: 1.5px solid var(--maroon); cursor: pointer; text-decoration: none; }
.btn-secondary:hover { background: var(--pink-light); }
.btn-cream { font-size: 13px; padding: 10px 28px; border-radius: var(--radius-pill); background: var(--cream); color: var(--maroon); border: none; cursor: pointer; font-weight: 500; text-decoration: none; display: inline-block; }

/* --- Section helpers --- */
.section-eyebrow { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pink); margin-bottom: 0.5rem; }
.section-title { font-family: var(--font-serif); font-size: 1.6rem; color: var(--blue); font-weight: 500; margin-bottom: 2rem; }
.text-center { text-align: center; }

/* --- Hero --- */
.hero { display: flex; align-items: center; gap: 3rem; padding: 4rem 2rem; max-width: 900px; margin: 0 auto; }
.hero-text { flex: 1; }
.hero-eyebrow { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pink); margin-bottom: 1rem; }
.hero-title { font-family: var(--font-serif); font-size: 2.4rem; color: var(--blue); line-height: 1.15; margin-bottom: 1rem; font-weight: 500; }
.hero-title em { color: var(--maroon); font-style: normal; }
.hero-sub { font-size: 15px; color: var(--maroon); line-height: 1.7; margin-bottom: 2rem; max-width: 420px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.hero-note { font-size: 12px; color: var(--gray); }
.hero-img { width: 280px; flex-shrink: 0; height: 340px; background: var(--pink-light-border); border-radius: 16px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* --- Intro band --- */
.intro-band { background: var(--pink-light); padding: 3rem 2rem; text-align: center; border-top: 0.5px solid var(--pink-light-border); border-bottom: 0.5px solid var(--pink-light-border); }
.intro-band blockquote { font-family: var(--font-serif); font-size: 1.3rem; color: var(--maroon); max-width: 620px; margin: 0 auto 1rem; line-height: 1.5; font-weight: 500; font-style: normal; }
.intro-band p { font-size: 14px; color: var(--gray); max-width: 500px; margin: 0 auto; line-height: 1.7; }

/* --- What grid --- */
.what-section { padding: 3.5rem 2rem; max-width: 900px; margin: 0 auto; }
.what-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.what-card { background: #fff; border: 0.5px solid var(--pink-light-border); border-radius: var(--radius-md); padding: 1.25rem; }
.what-card:hover { border-color: var(--pink); }
.what-icon { font-size: 22px; margin-bottom: 0.75rem; }
.what-card h3 { font-size: 14px; font-weight: 500; color: var(--maroon); margin-bottom: 0.4rem; font-family: var(--font-serif); }
.what-card p { font-size: 12px; color: var(--gray); line-height: 1.6; }

/* --- Hosts --- */
.hosts-section { padding: 3.5rem 2rem; background: var(--pink-light); border-top: 0.5px solid var(--pink-light-border); }
.hosts-inner { max-width: 900px; margin: 0 auto; }
.hosts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.host-card { background: #fff; border: 0.5px solid var(--pink-light-border); border-radius: var(--radius-md); padding: 1.5rem; }
.host-top { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 0.75rem; }
.host-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--pink-light-border); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-size: 18px; color: var(--maroon); font-weight: 500; }
.host-name { font-size: 15px; font-weight: 500; color: var(--maroon); font-family: var(--font-serif); margin-bottom: 2px; }
.host-role { font-size: 11px; color: var(--pink); letter-spacing: 0.06em; text-transform: uppercase; }
.host-bio { font-size: 12px; color: var(--gray); line-height: 1.7; }

/* --- Pricing --- */
.pricing-section { padding: 3.5rem 2rem; max-width: 900px; margin: 0 auto; text-align: center; }
.price-card { background: #fff; border: 2px solid var(--maroon); border-radius: 16px; padding: 2rem; max-width: 400px; margin: 2rem auto 0; }
.price-label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pink); margin-bottom: 0.5rem; }
.price-amount { font-family: var(--font-serif); font-size: 2.5rem; color: var(--maroon); font-weight: 500; margin-bottom: 0.25rem; }
.price-period { font-size: 13px; color: var(--gray); margin-bottom: 1.5rem; }
.price-features { list-style: none; margin-bottom: 1.75rem; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.price-features li { font-size: 13px; color: var(--maroon); display: flex; align-items: center; gap: 8px; }
.check { width: 18px; height: 18px; border-radius: 50%; background: var(--pink-light); border: 1px solid var(--pink-light-border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 10px; color: var(--maroon); }

/* --- CTA band --- */
.cta-band { background: var(--maroon); padding: 3rem 2rem; text-align: center; }
.cta-band h2 { font-family: var(--font-serif); font-size: 1.6rem; color: var(--cream); font-weight: 500; margin-bottom: 0.75rem; }
.cta-band p { font-size: 14px; color: var(--pink-light-border); margin-bottom: 1.5rem; }

/* --- Member gate --- */
.member-gate { text-align: center; padding: 3rem 2rem; background: var(--pink-light); border: 0.5px solid var(--pink-light-border); border-radius: var(--radius-md); max-width: 480px; margin: 2rem auto; }
.member-gate h3 { color: var(--maroon); margin-bottom: 0.5rem; font-family: var(--font-serif); }
.member-gate p { font-size: 13px; color: var(--gray); margin-bottom: 1.5rem; }

/* --- Post content --- */
.post-header { max-width: 700px; margin: 3rem auto 2rem; padding: 0 2rem; }
.post-content { max-width: 700px; margin: 0 auto; padding: 0 2rem 3rem; font-size: 15px; line-height: 1.8; color: var(--text); }
.post-content h2 { margin: 2rem 0 1rem; color: var(--blue); }
.post-content p { margin-bottom: 1.25rem; }
.post-content ul, .post-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }

/* --- Recipe filters --- */
.recipe-header { padding: 2rem 2rem 0; max-width: 1000px; margin: 0 auto; }
.recipe-filters { padding: 1.5rem 2rem; max-width: 1000px; margin: 0 auto; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1rem; }
.dropdown { position: relative; }
.dd-btn { font-size: 13px; padding: 7px 16px; border-radius: var(--radius-pill); border: 2px solid var(--maroon); background: var(--pink); color: #fff; cursor: pointer; display: flex; align-items: center; gap: 6px; font-weight: 500; }
.dd-btn:hover, .dd-btn.has-active { background: var(--maroon); }
.dd-menu { display: none; position: absolute; top: calc(100% + 6px); left: 0; background: var(--cream); border: 0.5px solid var(--pink-light-border); border-radius: 10px; padding: 6px; min-width: 160px; z-index: 99; box-shadow: 0 4px 16px rgba(118,45,49,0.1); }
.dd-menu.open { display: block; }
.dd-option { font-size: 13px; padding: 7px 12px; border-radius: 7px; cursor: pointer; color: var(--maroon); white-space: nowrap; }
.dd-option:hover { background: var(--pink-light); }
.dd-option.active { background: var(--pink); color: #fff; font-weight: 500; }

/* --- Tags --- */
.tag { display: inline-block; font-size: 11px; padding: 3px 10px; border-radius: var(--radius-pill); font-weight: 500; }
.tag-meal { background: var(--pink-light-border); color: var(--maroon); }
.tag-protein { background: var(--blue-light); color: #1a4a6e; }
.tag-time { background: var(--blue); color: #fff; }
.tag-allergy { background: var(--pink); color: #fff; }
.tag-feature { background: var(--maroon); color: var(--cream); }

/* --- Podcast --- */
.podcast-header { background: var(--pink-light); padding: 2.5rem 2rem; text-align: center; border-bottom: 0.5px solid var(--pink-light-border); }
.episode-list { max-width: 700px; margin: 2rem auto; padding: 0 2rem 3rem; }
.episode-card { display: flex; gap: 1rem; padding: 1.25rem 0; border-bottom: 0.5px solid var(--pink-light-border); align-items: flex-start; }
.episode-num { font-size: 11px; color: var(--pink); font-weight: 500; min-width: 28px; padding-top: 3px; }
.episode-title { font-size: 15px; font-weight: 500; color: var(--maroon); font-family: var(--font-serif); margin-bottom: 4px; }
.episode-desc { font-size: 12px; color: var(--gray); line-height: 1.5; margin-bottom: 8px; }
.episode-meta { font-size: 11px; color: var(--blue-light); }

/* --- Footer --- */
.site-footer { padding: 2rem; border-top: 0.5px solid var(--pink-light-border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; background: var(--cream); }
.footer-logo { font-family: var(--font-serif); font-size: 15px; color: var(--blue); font-weight: 500; }
.footer-logo .the { color: var(--maroon); }
.footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-links a { font-size: 11px; color: var(--gray); letter-spacing: 0.05em; text-transform: uppercase; }
.footer-links a:hover { color: var(--maroon); }
.footer-copy { font-size: 11px; color: var(--pink-light-border); }

/* --- Wins ticker --- */
@keyframes ktScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.wins-track { display: flex; animation: ktScroll 40s linear infinite; }
.wins-track:hover { animation-play-state: paused; }

/* --- Trending --- */
.trending-title { font-family: var(--font-serif); font-size: clamp(3rem, 10vw, 6rem); color: var(--text); font-weight: 500; text-align: center; line-height: 1; padding: 2rem 2rem 0; letter-spacing: -0.02em; }
.trending-item { display: flex; align-items: center; gap: 1.5rem; padding: 1.25rem 2rem; border-bottom: 0.5px solid var(--pink-light-border); cursor: pointer; max-width: 900px; margin: 0 auto; }
.trending-item:hover { background: var(--pink-light); }
.trending-img { width: 120px; height: 80px; border-radius: 8px; object-fit: cover; background: var(--pink-light-border); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.trending-tag { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pink); margin-bottom: 4px; font-weight: 600; }
.trending-headline { font-family: var(--font-serif); font-size: 18px; color: var(--text); font-weight: 500; line-height: 1.3; }
.trending-arrow { width: 40px; height: 40px; border-radius: 50%; background: var(--pink); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; flex-shrink: 0; margin-left: auto; }

/* --- Video placeholder --- */
.video-placeholder { background: var(--pink-light); border: 2px dashed var(--pink-light-border); border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; height: 320px; max-width: 700px; margin: 0 auto; }
.video-placeholder .play { width: 64px; height: 64px; border-radius: 50%; background: var(--pink); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 24px; }
.video-placeholder p { font-size: 14px; color: var(--gray); }

/* --- Ghost card classes (required) --- */
.kg-width-wide { margin-left: calc(25% - 25vw); margin-right: calc(25% - 25vw); max-width: 100vw; }
.kg-width-full { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
.kg-image { max-width: 100%; }
.kg-image-card { margin: 1.5rem 0; }
.kg-gallery-container { display: flex; flex-wrap: wrap; gap: 4px; margin: 1.5rem 0; }
.kg-gallery-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kg-embed-card { margin: 1.5rem 0; }
.kg-bookmark-card { margin: 1.5rem 0; border: 0.5px solid var(--pink-light-border); border-radius: var(--radius-md); overflow: hidden; }

/* --- Brand divider --- */
hr.brand-divider { border: none; border-top: 0.5px solid var(--pink-light-border); margin: 1.5rem 0; }

/* --- Utilities --- */
.hidden { display: none; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }

/* --- Responsive --- */
@media (max-width: 680px) {
  .hero { flex-direction: column; }
  .hero-img { width: 100%; }
  .what-grid { grid-template-columns: 1fr; }
  .hosts-grid { grid-template-columns: 1fr; }
}
