/* The Fixers Podcast — site styles.
 *
 * The custom properties below are copied verbatim from the theme Podpage
 * served at /ps/291f1f0c14c6.css, so colours, radii and type scale match the
 * old site exactly. The layout is rebuilt with grid/flex rather than carrying
 * over Podpage's licensed Bootstrap theme.
 */

/* ---------- fonts ---------- */
@font-face {
  font-family: 'Yeseva One';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/yeseva-one-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Yeseva One';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/yeseva-one-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+2020, U+20A0-20AB, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Quattrocento';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/quattrocento-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Quattrocento';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/quattrocento-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+2020, U+20A0-20AB, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Quattrocento';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url(/assets/fonts/quattrocento-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Quattrocento';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url(/assets/fonts/quattrocento-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+2020, U+20A0-20AB, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- design tokens (from the live Podpage theme) ---------- */
:root {
  --primary-color: #FFC759;
  --primary-light-color: rgba(255, 199, 89, 0.1);
  --text-color: #2B2B2C;
  --text-light-color: rgba(43, 43, 44, 0.72);
  --heading-color: #2B2B2C;
  --bg-color: #FFFBFA;
  --bg-component-color: #fffefe;
  --border-color: rgba(43, 43, 44, 0.1);
  --link-color: #2B2B2C;
  --btn-color: #FFC759;
  --btn-text-color: #2B2B2C;
  --badge-bg-color: rgba(43, 43, 44, 0.1);
  --card-bg-color: #fffefe;
  --nav-bg-color: #FFFFFF;
  --footer-bg-color: #fffefe;
  --input-bg-color: #fffefe;
  --input-border-color: rgba(43, 43, 44, 0.1);
  --accent-2-color: #E0F66F;
  --accent-3-color: #F07042;

  --heading-font: 'Yeseva One', Georgia, serif;
  --body-font: 'Quattrocento', 'Times New Roman', serif;

  --h1-font-size: 41px;
  --h2-font-size: 50px;
  --h3-font-size: 24px;
  --body-font-size: 17px;
  --heading-font-weight: 600;

  --border-radius-button: 0 10px 0 10px;
  --border-radius-card: 0 25px 0 25px;
  --border-radius-image: 8px;
  --card-shadow-style: 0 2px 12px rgba(0, 0, 0, 0.06);
  --page-width: 1140px;
}

/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg-color);
  color: var(--text-color);
  font-family: var(--body-font);
  font-size: var(--body-font-size);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--link-color); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--accent-3-color); }
h1, h2, h3, h4, h5, h6, .heading {
  font-family: var(--heading-font);
  font-weight: var(--heading-font-weight);
  color: var(--heading-color);
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(28px, 5vw, var(--h1-font-size)); }
h2 { font-size: clamp(28px, 5vw, var(--h2-font-size)); }
h3 { font-size: var(--h3-font-size); }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--page-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 56px 0; border-bottom: 1px solid var(--border-color); }
.section-title { text-align: center; }
.text-center { text-align: center; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--primary-color);
  color: var(--text-color); padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 0; }

.btn {
  display: inline-block;
  background: var(--btn-color);
  color: var(--btn-text-color);
  border: 1px solid var(--btn-color);
  border-radius: var(--border-radius-button);
  padding: 10px 22px;
  font-family: var(--body-font);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.15s ease;
}
.btn:hover { filter: brightness(0.94); color: var(--btn-text-color); }
.btn--ghost { background: transparent; border-color: var(--border-color); }

.badge {
  display: inline-block;
  background: var(--badge-bg-color);
  color: var(--text-color);
  border-radius: var(--border-radius-button);
  padding: 3px 12px;
  font-size: 13px;
  text-decoration: none;
}
.badge:hover { background: var(--primary-color); }

/* ---------- header / nav ---------- */
.site-header { background: var(--nav-bg-color); border-bottom: 1px solid var(--border-color); }
.nav-row { display: flex; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand {
  font-family: var(--heading-font);
  font-size: 22px;
  text-transform: uppercase;
  text-decoration: none;
  margin-right: auto;
}
.site-nav > ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav > ul > li { position: relative; }
.site-nav a {
  display: block; padding: 8px 12px; font-size: 0.875rem; font-weight: 700;
  text-decoration: none; text-transform: capitalize; white-space: nowrap;
}
.site-nav a[aria-current="page"] { color: var(--accent-3-color); }
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: 100%; left: 0; z-index: 30;
  min-width: 240px; margin: 0; padding: 6px 0; list-style: none;
  background: var(--bg-component-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: var(--card-shadow-style);
  display: none;
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown { display: block; }
.dropdown li { list-style: none; }
.dropdown a { display: flex; justify-content: space-between; gap: 12px; padding: 8px 16px; }
.dropdown a:hover { background: var(--primary-light-color); }
.dropdown .count { color: var(--text-light-color); font-weight: 400; }
.nav-cta { position: relative; }
.nav-cta .dropdown { left: auto; right: 0; min-width: 180px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--text-color); }

@media (max-width: 900px) {
  .nav-toggle { display: block; order: 3; }
  .site-nav { display: none; flex-basis: 100%; order: 4; }
  .site-nav.is-open { display: block; }
  .site-nav > ul { flex-direction: column; }
  .dropdown { position: static; display: block; border: 0; box-shadow: none; padding-left: 12px; }
  .nav-cta { display: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background-image: url('/assets/img/hero.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 120px 0 150px;
}
/* No wash over the tool pattern — the live site showed it at full strength,
   and the text sits on its own solid card, so nothing needs the contrast. */
.hero .container { position: relative; }
.hero-inner { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.hero-artwork { flex: 0 0 35%; max-width: 35%; }
.hero-artwork img { border-radius: var(--border-radius-image); box-shadow: var(--card-shadow-style); }
.hero-text { flex: 1 1 55%; max-width: 60%; background: var(--bg-color); padding: 48px; }
.hero-title { font-size: clamp(18px, 6.67vw, 40px); }
.hero-description { font-size: 20px; }
@media (max-width: 992px) {
  .hero { padding: 40px 0 60px; }
  .hero-artwork, .hero-text { flex: 1 1 100%; max-width: 100%; }
  .hero-text { padding: 24px; }
}

/* ---------- page header ---------- */
.page-header { padding: 48px 0 8px; text-align: center; }
.page-header .subtitle { font-size: 20px; color: var(--text-light-color); }

/* ---------- cards ---------- */
.card {
  background: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-card);
  box-shadow: var(--card-shadow-style);
  overflow: hidden;
}
.card-body { padding: 20px; }
.card-date { font-size: 14px; color: var(--text-light-color); }
.card-title { font-size: 20px; margin: 6px 0 10px; }
.card-title a { text-decoration: none; }
.card-excerpt { color: var(--text-light-color); }

.episode-list { display: flex; flex-direction: column; gap: 20px; }
.episode-card { display: flex; gap: 20px; align-items: flex-start; padding: 20px; }
.episode-card .artwork { flex: 0 0 140px; }
.episode-card .artwork img { border-radius: var(--border-radius-image); display: block; }
.episode-number { font-size: 13px; color: var(--text-light-color); letter-spacing: 0.04em; }
@media (max-width: 600px) {
  .episode-card { flex-direction: column; }
  .episode-card .artwork { flex-basis: auto; max-width: 160px; }
}

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }

/* ---------- home layout ---------- */
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
@media (max-width: 900px) { .with-sidebar { grid-template-columns: 1fr; } }
.sidebar-block { margin-bottom: 28px; }
.sidebar-block h3 { font-size: 16px; }
.sidebar-block ul { list-style: none; margin: 0; padding: 0; }
.sidebar-block li { padding: 4px 0; }
.category-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }

/* ---------- episode page ---------- */
.episode-page { padding: 48px 0 64px; }
.episode-column { max-width: 660px; margin: 0 auto; }
.episode-date { text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 8px; }
.episode-page h1 { font-size: clamp(30px, 4.2vw, 44px); }

.share-row { display: flex; gap: 10px; margin: 18px 0 24px; flex-wrap: wrap; }
.share-btn {
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 6px 18px;
  font-size: 14px;
  text-decoration: none;
  background: var(--bg-component-color);
}
.share-btn:hover { background: var(--primary-light-color); }

.episode-banner { border-radius: var(--border-radius-image); overflow: hidden; }
.episode-banner img { width: 100%; display: block; }
.episode-player { display: block; width: 100%; margin-top: 12px; border: 0; }
.download-line { font-size: 14px; margin-top: 8px; }
.text-lg { font-size: 19px; }

.listen-icons { display: flex; gap: 12px; list-style: none; padding: 0; margin: 20px 0; }
.listen-icons a { font-size: 14px; text-decoration: none; border-bottom: 2px solid var(--primary-color); }

.show-notes-heading {
  font-size: 16px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
  margin-top: 32px;
}
.show-notes-heading::after {
  content: '';
  display: block;
  width: 90px;
  height: 3px;
  background: var(--primary-color);
  margin-bottom: -12px;
}
.show-notes img { border-radius: var(--border-radius-image); }
.show-notes-image { float: right; max-width: 260px; margin: 0 0 16px 20px; }
@media (max-width: 600px) { .show-notes-image { float: none; margin: 0 0 16px; max-width: 100%; } }
.episode-nav { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; clear: both; }

/* ---------- forms ---------- */
.form-field { display: block; margin-bottom: 16px; }
.form-field span { display: block; font-weight: 700; margin-bottom: 6px; }
.form-field input, .form-field textarea {
  width: 100%;
  padding: 10px 14px;
  font-family: var(--body-font);
  font-size: 16px;
  color: var(--text-color);
  background: var(--input-bg-color);
  border: 1px solid var(--input-border-color);
  border-radius: var(--border-radius-button);
}
.form-note { font-size: 14px; color: var(--text-light-color); }
.honeypot { position: absolute; left: -9999px; }
.form-disabled {
  background: var(--primary-light-color);
  border: 1px solid var(--primary-color);
  border-radius: var(--border-radius-card);
  padding: 20px;
}

/* ---------- reviews ---------- */
.review { max-width: 760px; margin: 0 auto 24px; text-align: center; }
.review-body { font-size: 18px; }
.review-author { color: var(--text-light-color); font-size: 15px; }
.stars { color: var(--primary-color); letter-spacing: 2px; }

/* ---------- host ---------- */
.person { display: flex; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.person .portrait { flex: 0 0 240px; }
.person .portrait img { border-radius: var(--border-radius-image); }
.person .bio { flex: 1 1 380px; }

/* ---------- footer ---------- */
.site-footer { background: var(--footer-bg-color); border-top: 1px solid var(--border-color); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-title { font-size: 18px; }
.footer-about p { color: var(--text-light-color); font-size: 15px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { padding: 3px 0; }
.footer-links a { text-decoration: none; }
.copyright {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 32px; padding-top: 16px;
  border-top: 1px solid var(--border-color);
  font-size: 14px; color: var(--text-light-color);
}

/* ---------- misc content ---------- */
.prose { max-width: 760px; }
.prose ul { padding-left: 1.2em; }
.pagination { display: flex; gap: 12px; justify-content: center; margin-top: 32px; }

/* ---------- announcement banner ---------- */
.announcement {
  background: var(--primary-color);
  color: #000;
  text-align: center;
  padding: 12px 24px;
  font-size: 17px;
}

/* ---------- brand logo ---------- */
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { border-radius: 6px; display: block; }

/* ---------- torn paper edge under the hero ---------- */
.hero { padding-bottom: 190px; }
.bottom-header-border {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 1;
  transform: scaleX(-1);
}
.bottom-header-border .fill-bg { fill: var(--bg-color); }
.bottom-header-border .fill-primary { fill: var(--primary-color); }
@media (max-width: 992px) { .hero { padding-bottom: 120px; } }

/* ---------- section heading with a "view all" link ---------- */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.section-head h2 { margin-bottom: 0.4em; }

/* ---------- featured ("New to the podcast?") ---------- */
.featured-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }

/* ---------- sidebar ---------- */
#sidebar .sidebar-block h3 { font-size: 15px; letter-spacing: 0.02em; }
#sidebar .sidebar-block h3 a { text-decoration: none; }
#sidebar .sidebar-block ul li { font-size: 15px; }
#sidebar .listen-on li { padding: 6px 0; }

/* ---------- host portrait is circular on the home page ---------- */
.person .portrait img { border-radius: var(--border-radius-image); }
#main > section .person .portrait img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; }
.person-page .portrait img { border-radius: var(--border-radius-image); }

/* ---------- accessibility helper ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- episode index ---------- */
.episode-search { margin-bottom: 20px; }
.episode-search input {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--body-font);
  font-size: 16px;
  color: var(--text-color);
  background: var(--input-bg-color);
  border: 1px solid var(--input-border-color);
  border-radius: var(--border-radius-button);
}
.badge--primary { background: var(--primary-color); }
.badge--primary:hover { filter: brightness(0.94); }
.episode-tile-art { display: block; }
.episode-tile-art img { width: 100%; display: block; }
.no-results { text-align: center; color: var(--text-light-color); }

/* ---------- form status message ---------- */
.form-status {
  margin-top: 12px;
  padding: 10px 14px;
  background: var(--primary-light-color);
  border: 1px solid var(--primary-color);
  border-radius: var(--border-radius-button);
  font-weight: 700;
}
.form-status--error {
  background: rgba(240, 112, 66, 0.12);
  border-color: var(--accent-3-color);
}
