/*
Theme Name: Senior Talk
Theme URI: https://wonderfoundry.com
Author: the WonderFoundry Team
Author URI: https://wonderfoundry.com
*/

:root {
  --bg: #f3f3f5;
  --card: #ffffff;
  --text: #0f1728;
  --muted: #6b7280;
  --primary: #d62552;
  --primary-dark: #b61d45;
  --navy: #142d64;
  --line: #e5e7eb;
  --shadow: 0 14px 35px rgba(15, 23, 40, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Lexend", Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.45;
}

img {
  max-width: 100%;
  display: block;
}
.brand-logo {
  max-height: 60px;
}
a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid rgba(15, 23, 40, 0.06);
  position: sticky;
  top: 0;
  z-index: 50;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 15px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f6d3a7, #d99a7d 50%, #54637a);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.7);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: #253047;
}

.main-nav a:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  background: #fff;
  border-color: #cad1dc;
  color: var(--navy);
}

.btn-outline:hover {
  border-color: var(--navy);
}

.btn-small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 13px;
  border-radius: 10px;
}

.hero {
  padding: 48px 0 24px;
}
.hero-nocard {
  padding: 40px;
  display: grid;
  grid-template-columns: 1.1fr 0.95fr;
  gap: 30px;
  align-items: center;
}
.hero-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.1fr 0.95fr;
  gap: 30px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
}

.hero h1 {
  font-size: clamp(32px, 4vw, 58px);
  max-width: 520px;
  margin-bottom: 16px;
}

.hero p {
  margin: 0 0 24px;
  color: var(--muted);
  max-width: 560px;
  font-size: 16px;
}

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

.hero-media {
  position: relative;
  min-height: 320px;
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(rgba(20, 45, 100, 0.12), rgba(20, 45, 100, 0.12)),
    url("https://images.unsplash.com/photo-1516589091380-5d8e87df6999?auto=format&fit=crop&w=1200&q=80")
      center/cover;
}

.play-button {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.play-button:before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin-left: 28px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid var(--navy);
}

.section {
  padding: 20px 0 8px;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.latest {
  padding: 28px;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 22px;
  align-items: stretch;
}

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

.section-head h2 {
  font-size: 28px;
}

.muted-link {
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.episode-media {
  min-height: 250px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(rgba(11, 18, 32, 0.15), rgba(11, 18, 32, 0.15)),
    url("https://images.unsplash.com/photo-1500648767791-00dcc994a43e?auto=format&fit=crop&w=1200&q=80")
      center/cover;
}

.episode-media .play-button {
  width: 58px;
  height: 58px;
}

.episode-media .play-button:before {
  margin-left: 22px;
  border-top-width: 9px;
  border-bottom-width: 9px;
  border-left-width: 14px;
}

.episode-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 12px;
}

.episode-copy small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
}

.episode-copy h3 {
  font-size: 32px;
  margin-bottom: 12px;
}

.episode-copy p {
  color: var(--muted);
  margin: 0 0 18px;
  font-size: 15px;
}

.episode-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.share-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid #d8dce3;
  background: #fff;
  position: relative;
  cursor: pointer;
}

.share-btn:before,
.share-btn:after {
  content: "";
  position: absolute;
  background: #6b7280;
}

.share-btn:before {
  width: 14px;
  height: 2px;
  top: 18px;
  left: 11px;
}

.share-btn:after {
  width: 2px;
  height: 14px;
  top: 11px;
  left: 18px;
}

.conversations {
  padding: 32px 0 12px;
}

.conversations h2,
.host-section h2 {
  font-size: 30px;
  text-align: center;
  margin-bottom: 22px;
}

.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.episode-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.episode-card .thumb {
  height: 215px;
  background-size: cover;
  background-position: center;
}

.episode-card:nth-child(1) .thumb {
  background-image: url("https://images.unsplash.com/photo-1494790108377-be9c29b29330?auto=format&fit=crop&w=900&q=80");
}

.episode-card:nth-child(2) .thumb {
  background-image: url("https://images.unsplash.com/photo-1488426862026-3ee34a7d66df?auto=format&fit=crop&w=900&q=80");
}

.episode-card:nth-child(3) .thumb {
  background-image: url("https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?auto=format&fit=crop&w=900&q=80");
}

.episode-body {
  padding: 16px;
}

.tag {
  display: inline-block;
  color: var(--primary);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 8px;
}

.episode-body h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.episode-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.centered-action {
  text-align: center;
  margin-top: 24px;
}

.host-section {
  padding: 40px 0 20px;
}

.host-wrap {
  display: grid;
  grid-template-columns: 260px 1fr 320px;
  gap: 28px;
  align-items: center;
}

.avatar-illustration,
.avatar-photo {
  border-radius: 20px;
  overflow: hidden;
  min-height: 320px;
  box-shadow: var(--shadow);
}

.avatar-illustration {
  background: linear-gradient(180deg, #f6e6c2, #f0d4a6), #f6e6c2;
  position: relative;
}

.avatar-illustration:before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 18px;
  border: 4px solid var(--primary);
}

.avatar-illustration:after {
  content: "";
  position: absolute;
  inset: 38px 54px;
  border-radius: 16px;
  background: linear-gradient(
    180deg,
    #b7774f 0 26%,
    #f1c49b 26% 48%,
    #253047 48% 100%
  );
  clip-path: polygon(
    35% 10%,
    65% 10%,
    72% 18%,
    76% 35%,
    72% 51%,
    80% 69%,
    76% 90%,
    24% 90%,
    20% 69%,
    28% 51%,
    24% 35%,
    28% 18%
  );
  opacity: 0.95;
}

.host-copy .eyebrow {
  margin-bottom: 10px;
}

.host-copy h2 {
  text-align: left;
  margin-bottom: 14px;
}

.host-copy p {
  color: var(--muted);
  margin: 0 0 14px;
  font-size: 15px;
}

.avatar-photo {
  background:
    linear-gradient(rgba(15, 23, 40, 0.08), rgba(15, 23, 40, 0.08)),
    url("https://images.unsplash.com/photo-1500648767791-00dcc994a43e?auto=format&fit=crop&w=900&q=80")
      center/cover;
  filter: grayscale(1);
}

.cta-section {
  padding: 24px 0 70px;
}

.cta-card {
  background: var(--navy);
  color: #fff;
  border-radius: 24px;
  padding: 42px;
  position: relative;
  overflow: hidden;
}

.cta-card:before,
.cta-card:after {
  content: "";
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  width: 180px;
  height: 180px;
  right: -40px;
  top: -40px;
  transform: rotate(45deg);
}

.cta-card:after {
  right: 24px;
  top: 18px;
  width: 110px;
  height: 110px;
}

.cta-card h2 {
  text-align: center;
  font-size: 42px;
  margin-bottom: 10px;
}

.cta-card p {
  text-align: center;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 auto 28px;
  max-width: 720px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: none;
  outline: none;
  border-radius: 12px;
  padding: 14px 16px;
  font: inherit;
  color: #0f1728;
  background: #fff;
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.field.full {
  grid-column: 1 / -1;
}

.submit-row {
  text-align: center;
  margin-top: 22px;
}

.site-footer {
  background: #08162f;
  color: rgba(255, 255, 255, 0.85);
  padding: 26px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand p,
.footer-copy {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
}

@media (max-width: 980px) {
  .hero-card,
  .latest,
  .host-wrap {
    grid-template-columns: 1fr;
  }

  .hero-media,
  .avatar-photo,
  .avatar-illustration {
    min-height: 280px;
  }

  .episode-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-card,
  .cta-card,
  .latest {
    padding: 22px;
  }

  .hero {
    padding-top: 26px;
  }

  .header-inner {
    min-height: 68px;
  }

  .cta-card h2,
  .hero h1,
  .episode-copy h3 {
    font-size: 30px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}
