/*
Theme Name: OKC Tech Talk
Theme URI: https://example.com/okc-tech-talk
Author: OKC Tech Talk
Description: A warm, editorial podcast theme for OKC Tech Talk — candid conversations with the business leaders, nonprofit directors, and entrepreneurs building Oklahoma City's tech future. Includes an Episodes custom post type with audio player, guest details, and category filtering.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: okc-tech-talk
Tags: podcast, blog, custom-colors, custom-menu, featured-images
*/

:root {
  --ott-bg: #faf5f0;
  --ott-surface: #ffffff;
  --ott-ink: #2b2320;
  --ott-muted: #77685f;
  --ott-primary: #d66846;
  --ott-primary-dark: #b9502f;
  --ott-secondary: #e8935a;
  --ott-border: #eadfd5;
  --ott-radius: 12px;
  --ott-font-display: 'Space Grotesk', system-ui, sans-serif;
  --ott-font-body: 'DM Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ott-bg);
  color: var(--ott-ink);
  font-family: var(--ott-font-body);
  font-size: 17px;
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: var(--ott-font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

a { color: var(--ott-primary-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

.ott-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.ott-header {
  background: var(--ott-surface);
  border-bottom: 1px solid var(--ott-border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.ott-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}
.ott-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ott-ink);
  font-family: var(--ott-font-display);
  font-weight: 700;
  font-size: 20px;
}
.ott-brand:hover { text-decoration: none; }
.ott-brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ott-primary), var(--ott-secondary));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}
.ott-brand-tag { display: block; font-family: var(--ott-font-body); font-weight: 400; font-size: 12px; color: var(--ott-muted); }
.ott-nav ul { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.ott-nav a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--ott-ink);
  font-weight: 500;
}
.ott-nav a:hover, .ott-nav .current-menu-item a { background: var(--ott-primary); color: #fff; text-decoration: none; }

/* Hero */
.ott-hero { padding: 96px 0 72px; text-align: center; background: radial-gradient(ellipse at top, #fdf0e7, var(--ott-bg)); }
.ott-eyebrow {
  display: inline-block;
  background: var(--ott-secondary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.ott-hero h1 { font-size: clamp(40px, 7vw, 72px); margin-bottom: 20px; }
.ott-hero h1 .accent { color: var(--ott-primary); }
.ott-hero p { max-width: 640px; margin: 0 auto 32px; color: var(--ott-muted); font-size: 19px; }

.ott-btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 10px;
  font-weight: 600;
  border: 1px solid transparent;
}
.ott-btn-primary { background: var(--ott-primary); color: #fff; }
.ott-btn-primary:hover { background: var(--ott-primary-dark); color: #fff; text-decoration: none; }
.ott-btn-outline { border-color: var(--ott-border); background: var(--ott-surface); color: var(--ott-ink); }
.ott-btn-outline:hover { border-color: var(--ott-primary); text-decoration: none; }
.ott-hero .ott-btn { margin: 0 6px; }

/* Sections */
.ott-section { padding: 64px 0; }
.ott-section-title { font-size: 32px; margin-bottom: 32px; }

/* Stats */
.ott-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.ott-stat {
  background: var(--ott-surface);
  border: 1px solid var(--ott-border);
  border-radius: var(--ott-radius);
  padding: 28px;
  text-align: center;
}
.ott-stat strong { display: block; font-family: var(--ott-font-display); font-size: 36px; color: var(--ott-primary); }
.ott-stat span { color: var(--ott-muted); font-size: 14px; }

/* Episode cards */
.ott-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.ott-card {
  background: var(--ott-surface);
  border: 1px solid var(--ott-border);
  border-radius: var(--ott-radius);
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.ott-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(214, 104, 70, 0.12); }
.ott-card-meta { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--ott-muted); margin-bottom: 12px; flex-wrap: wrap; }
.ott-badge {
  background: #fbe9df;
  color: var(--ott-primary-dark);
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
}
.ott-card h3 { font-size: 21px; }
.ott-card h3 a { color: var(--ott-ink); }
.ott-card p { color: var(--ott-muted); font-size: 15px; flex: 1; }
.ott-card-guest { font-size: 14px; color: var(--ott-ink); font-weight: 600; margin-top: 12px; }
.ott-card-guest span { display: block; font-weight: 400; color: var(--ott-muted); font-size: 13px; }

/* Single episode */
.ott-single { max-width: 760px; margin: 0 auto; padding: 64px 24px; }
.ott-single h1 { font-size: clamp(30px, 5vw, 44px); }
.ott-single-meta { color: var(--ott-muted); margin-bottom: 24px; }
.ott-player {
  background: var(--ott-surface);
  border: 1px solid var(--ott-border);
  border-radius: var(--ott-radius);
  padding: 24px;
  margin: 28px 0;
}
.ott-player audio { width: 100%; }
.ott-player-soon { color: var(--ott-muted); text-align: center; padding: 12px 0; font-style: italic; }
.ott-guest-box {
  display: flex;
  gap: 16px;
  align-items: center;
  background: #fbe9df;
  border-radius: var(--ott-radius);
  padding: 20px 24px;
  margin: 28px 0;
}
.ott-guest-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--ott-primary), var(--ott-secondary));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--ott-font-display); font-weight: 700; font-size: 20px;
  flex-shrink: 0;
}

/* Category filter */
.ott-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.ott-filters a {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--ott-border);
  background: var(--ott-surface);
  color: var(--ott-ink);
  font-size: 14px;
  font-weight: 500;
}
.ott-filters a:hover, .ott-filters a.is-active { background: var(--ott-primary); border-color: var(--ott-primary); color: #fff; text-decoration: none; }

/* CTA band */
.ott-cta {
  background: linear-gradient(135deg, var(--ott-primary), var(--ott-secondary));
  border-radius: 20px;
  color: #fff;
  text-align: center;
  padding: 56px 32px;
}
.ott-cta h2 { color: #fff; font-size: 30px; }
.ott-cta p { opacity: 0.9; max-width: 520px; margin: 0 auto 24px; }
.ott-cta .ott-btn { background: #fff; color: var(--ott-primary-dark); }

/* Footer */
.ott-footer { background: #2b2320; color: #cfc4bc; margin-top: 64px; }
.ott-footer-inner { padding: 48px 0 32px; display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.ott-footer h4 { color: #fff; font-size: 16px; }
.ott-footer a { color: #cfc4bc; }
.ott-footer a:hover { color: #fff; }
.ott-footer ul { list-style: none; margin: 0; padding: 0; }
.ott-footer li { margin-bottom: 8px; }
.ott-footer-bottom { border-top: 1px solid #453a34; padding: 20px 0; font-size: 13px; text-align: center; }

/* Content pages */
.ott-page { max-width: 760px; margin: 0 auto; padding: 64px 24px; }
.ott-page h1 { font-size: clamp(32px, 5vw, 48px); }

@media (max-width: 720px) {
  .ott-header-inner { flex-direction: column; gap: 12px; }
  .ott-hero { padding: 64px 0 48px; }
}
