/* -----------------------------------------------------------------------------
EFR podcast index: /podcasts/ and the channels /podcasts/{payments,banking,
lending}/ (partials/podcasts/listing.hbs), 20 November 2026.
Mockup: Claude outputs/briefs/podcast-page-mockup.dc.html. Plain CSS outside
the Vite build (no Node on the machine), scoped to .pc, loaded only by the
four podcasts-efr*.hbs templates. Colours are the guides' literals; the pills
use the product colours of the homepage, author page and company profiles.
Tailwind's preflight zeroes margins and heading sizes, so every size, weight
and margin here is explicit.
----------------------------------------------------------------------------- */

.pc {
  --pc-ink: #101a2e;
  --pc-ink-mid: #2a3550;
  --pc-ink-soft: #4e5871;
  --pc-rule: #eedfd6;
  --pc-chip-rule: #d9cbc2;
  --pc-wash: #fff7f3;
  --pc-link: #0c67df;
  --pc-link-hover: #0a4fae;
  --pc-orange-dark: #d9480f;
  --pc-gutter: clamp(16px, 4vw, 24px);
  color: var(--pc-ink);
  background: #ffffff;
}
.pc a { color: var(--pc-link); text-decoration: none; }
.pc a:hover { color: var(--pc-link-hover); text-decoration: underline; }
.pc-wrap { max-width: 1120px; margin-inline: auto; padding-left: var(--pc-gutter); padding-right: var(--pc-gutter); }

/* Header band */
.pc-band { background: var(--pc-wash); border-bottom: 1px solid var(--pc-rule); }
.pc-head { padding-top: 56px; padding-bottom: 52px; }
.pc-kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: var(--pc-orange-dark); }
.pc-h1 { margin: 8px 0 14px; font-size: 48px; line-height: 1.08; font-weight: 900; letter-spacing: -0.01em; color: var(--pc-ink); }
.pc-sub { margin: 0 0 24px; font-size: 20px; line-height: 1.55; color: var(--pc-ink-mid); }
.pc-listen { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pc a.pc-lbtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--pc-ink);
  border: 1px solid var(--pc-chip-rule);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
}
.pc a.pc-lbtn:hover { text-decoration: none; border-color: var(--pc-ink); color: var(--pc-ink); }

/* Latest episode */
.pc-latest {
  margin-top: 40px;
  background: #ffffff;
  border: 1px solid var(--pc-rule);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
}
.pc-latest-cover { display: block; background: #ffeee6; aspect-ratio: 1 / 1; }
.pc-latest-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pc-latest-body { padding: 30px 34px; display: flex; flex-direction: column; gap: 14px; justify-content: center; min-width: 0; }
.pc-latest-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 13px; color: var(--pc-ink-soft); }
.pc-latest-kicker { font-weight: 700; letter-spacing: 0.04em; color: var(--pc-orange-dark); }
.pc a.pc-latest-title { color: var(--pc-ink); font-size: 28px; line-height: 1.25; font-weight: 700; }
.pc a.pc-latest-title:hover { color: var(--pc-link); text-decoration: none; }
.pc-latest-text { margin: 0; font-size: 17px; line-height: 1.6; color: var(--pc-ink-mid); }
.pc a.pc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pc-link);
  color: #ffffff;
  padding: 11px 18px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  margin-top: 6px;
}
.pc a.pc-btn:hover { color: #ffffff; text-decoration: none; filter: brightness(1.08); }

/* Pills and dates */
.pc-date { font-size: 13px; color: var(--pc-ink-soft); font-weight: 400; letter-spacing: 0; }
.pc-pill { font-size: 12px; line-height: 1.4; font-weight: 700; border-radius: 999px; padding: 3px 10px; letter-spacing: 0; }
.pc-pill-payments { color: #6a3fd1; background: #f0ebfb; }
.pc-pill-banking { color: #8e1b45; background: #f6e7ed; }
.pc-pill-lending { color: #127a5a; background: #e7f4ef; }

/* Brands that have been on the show: seven logos, greyscale, sized per logo
   (width/height attributes from the mockup, roughly equal area; Phorest
   about 1.45x). */
.pc-brands { padding-top: 44px; }
.pc-h2-small { margin: 0 0 10px; font-size: 20px; line-height: 1.3; font-weight: 700; color: var(--pc-ink); }
.pc-logos {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 16px;
  border-top: 1px solid var(--pc-rule);
  border-bottom: 1px solid var(--pc-rule);
  padding: 12px 0;
}
.pc-logo { height: 84px; display: flex; align-items: center; justify-content: center; }
.pc-logo img { max-width: 100%; height: auto; object-fit: contain; filter: grayscale(1); opacity: 0.78; }

/* All episodes */
.pc-all { padding-top: 48px; }
.pc-all-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 2px solid var(--pc-ink);
  padding-top: 16px;
  margin-bottom: 22px;
}
.pc-h2 { margin: 0; font-size: 26px; line-height: 1.25; font-weight: 700; color: var(--pc-ink); }
.pc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pc a.pc-chip {
  background: #ffffff;
  color: var(--pc-ink);
  border: 1px solid var(--pc-chip-rule);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}
.pc a.pc-chip:hover { text-decoration: none; border-color: var(--pc-ink); }
.pc a.pc-chip-on, .pc a.pc-chip-on:hover { background: var(--pc-ink); color: #ffffff; border-color: var(--pc-ink); }

.pc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pc a.pc-card {
  display: flex;
  flex-direction: column;
  color: var(--pc-ink);
  background: #ffffff;
  border: 1px solid var(--pc-rule);
  border-radius: 12px;
  overflow: hidden;
}
.pc a.pc-card:hover { text-decoration: none; border-color: #c9b8ad; }
.pc a.pc-card:hover .pc-card-title { color: var(--pc-link); }
.pc-card-cover { display: block; aspect-ratio: 1 / 1; background: #ffeee6; }
.pc-card-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pc-card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.pc-card-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pc-card-title { font-size: 18px; line-height: 1.32; font-weight: 700; }
.pc-card-text { font-size: 14px; line-height: 1.5; color: var(--pc-ink-soft); }

.pc-pager { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 26px; font-size: 15px; }
.pc-pageof { color: var(--pc-ink-soft); }
.pc-pager-links { display: flex; gap: 20px; }

/* Guest box */
.pc-guest-wrap { padding-top: 56px; padding-bottom: 80px; }
.pc-guest {
  background: var(--pc-wash);
  border: 1px solid var(--pc-rule);
  border-radius: 14px;
  padding: 26px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  align-items: center;
  justify-content: space-between;
}
.pc-guest-text { flex: 1 1 520px; min-width: 0; }
.pc-guest-title { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.pc-guest-line { font-size: 16px; line-height: 1.55; color: var(--pc-ink-mid); }
.pc-guest .pc-btn { margin-top: 0; }

/* Narrower screens */
@media (max-width: 1000px) {
  .pc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pc-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .pc-latest { grid-template-columns: minmax(0, 1fr); }
  .pc-latest-body { padding: 22px 22px 26px; }
}
@media (max-width: 640px) {
  .pc-head { padding-top: 32px; padding-bottom: 32px; }
  .pc-h1 { font-size: 34px; }
  .pc-sub { font-size: 17px; margin-bottom: 18px; }
  /* Listen buttons: four on one row at 390px (icons hidden on phones) */
  .pc-listen { gap: 6px; flex-wrap: nowrap; }
  .pc a.pc-lbtn { font-size: 14px; padding: 8px 11px; white-space: nowrap; }
  .pc a.pc-lbtn svg { display: none; }   /* the labels alone fit one row */
  /* Latest episode as a compact row (20 Nov 2026, Lars): small cover beside
     the text, no excerpt, so the episode grid starts on the second screen. */
  .pc-latest { margin-top: 24px; grid-template-columns: 110px minmax(0, 1fr); align-items: start; border-radius: 12px; }
  .pc-latest-cover { width: 110px; }
  .pc-latest-body { padding: 12px 14px 14px; gap: 8px; }
  .pc-latest-meta { gap: 6px; font-size: 12px; }
  .pc-latest-meta .pc-date { font-size: 12px; }
  .pc a.pc-latest-title { font-size: 17px; line-height: 1.3; }
  .pc-latest-text { display: none; }
  .pc-latest .pc-btn { margin-top: 2px; padding: 8px 12px; font-size: 14px; }
  .pc-grid { grid-template-columns: minmax(0, 1fr); }
  .pc-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .pc-logo { height: 64px; }
  .pc-logo img { max-width: 90%; }
  .pc-all { padding-top: 40px; }
  .pc-h2 { font-size: 22px; }
  .pc-pager { flex-wrap: wrap; }
  .pc-guest-wrap { padding-bottom: 56px; }
}
@media (max-width: 380px) {
  .pc-listen { flex-wrap: wrap; }   /* small phones: RSS wraps rather than running off the edge */
}
