/* The Casthub edition of The Climate Chronicles pairs Barlow headlines with Albert Sans. */
@font-face {
  font-family: "Barlow";
  src: url("/fonts/barlow-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("/fonts/barlow-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Albert Sans";
  src: url("/fonts/albert-sans-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Albert Sans";
  src: url("/fonts/albert-sans-variable-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --sans: "Albert Sans", Arial, sans-serif;
  --display: "Barlow", "Arial Narrow", Arial, sans-serif;
  --serif: var(--sans);
}

body, .prose {font-family: var(--sans);}
.prose {font-weight: 400;}
h1, .classroom-sheet h1 {
  font-family: var(--display);
  font-style: normal;
  font-weight: 600;
}
h2, h3, h4, .classroom-sheet .panel h2 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.12;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 4.9vw, 5.45rem);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: .99;
}
.hero h1 em {font-weight: inherit; font-style: normal;}
.hero h2 {
  font-family: var(--sans);
  font-weight: 650;
  letter-spacing: -.045em;
}
.brand span {
  font-family: var(--sans);
  font-size: clamp(1.03rem, 1.52vw, 1.5rem);
  font-weight: 750;
  letter-spacing: .005em;
  line-height: 1.08;
  text-transform: uppercase;
}
.season-link strong, .guide-links strong, .adjacent strong, .teacher-list span {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -.025em;
}
.ep-link h3, .feature-card h3, .lesson-card h2 {
  font-family: var(--sans);
  font-weight: 650;
  letter-spacing: -.04em;
}
.classroom-sheet header a, .classroom-sheet .panel h2, .classroom-sheet .prompt,
.classroom-sheet .prompt span {font-family: var(--sans);}
.classroom-sheet header a {font-weight: 650;}
.classroom-sheet .prompt {font-weight: 500;}

@media screen {
  h2 {font-size: clamp(2.25rem, 3.55vw, 3.65rem);}
  .teacher-promo h2, .timeline-section h2, .season-section h2, .latest-section h2, .section-head h2 {
    font-size: clamp(2.05rem, 3.75vw, 3.8rem);
  }
  .detail-top h1, .lesson-head h1, .teaching-intro h1, .page-title h1 {
    font-size: clamp(2.5rem, 4.65vw, 5rem);
    letter-spacing: -.025em;
    line-height: 1.035;
    overflow-wrap: break-word;
  }
  .ep-link h3 {font-size: clamp(1.35rem, 2vw, 2rem);}
  .feature-card h3, .lesson-card h2, .teacher-list span {
    font-size: clamp(1.45rem, 2.25vw, 2.2rem);
    line-height: 1.17;
  }
  .guide-links strong {font-size: 1.2rem;}
  .season-link strong, .adjacent strong {font-size: clamp(1.35rem, 2.1vw, 2.1rem);}
  .prose {font-size: clamp(1.03rem, 1.17vw, 1.14rem);line-height:1.75;}
  .prose h2, .lesson-content h2, .guide-archive h2 {font-size: clamp(1.8rem, 2.75vw, 2.8rem);}
  .prose h3, .visual-box h3 {font-size: clamp(1.4rem, 2vw, 2rem);}
  .audio-title h2 {font-size: clamp(1.18rem, 1.65vw, 1.5rem);}
}
@media screen and (min-width:801px) and (max-width:1000px) {
  .mast-inner {gap: 15px;}
  .primary-nav {gap: clamp(10px, 1.5vw, 18px);}
  .primary-nav a {font-size: .9rem;}
  .brand {gap: 8px;}
  .brand-mark {width: 31px; height: 31px;}
  .listen-top {padding-inline: 11px;}
}
@media screen and (max-width:800px) {
  .hero h1 {font-size: clamp(2.4rem, 7vw, 4rem);}
}
@media screen and (max-width:460px) {
  .mast .brand span {font-size: 1.02rem; max-width: 10em; white-space: normal;}
  .hero h1 {font-size: clamp(1.92rem, 9.1vw, 2.65rem); line-height: 1.03;}
  .detail-top h1, .lesson-head h1, .page-title h1 {font-size: clamp(1.82rem, 8vw, 2.55rem);}
}

.hero-author { color: inherit; text-decoration: underline; text-decoration-color: #f2cf987d; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.hero-author:hover, .hero-author:focus-visible { text-decoration-color: currentColor; }
.ancillary-text .lecture-photo { margin-inline: 0; }
.ancillary-text .lecture-photo img { display: block; width: 100%; height: auto; max-height: none; }
