:root {
  --paper: #fffdf7;
  --ink: #27323a;
  --muted: #687174;
  --mint: #39bdb7;
  --mint-dark: #168f8b;
  --peach: #f8ae78;
  --peach-soft: #ffe5d1;
  --red: #ef3f44;
  --line: #eadfd2;
  --cream: #fff5e8;
  --shadow: 0 16px 42px rgba(82, 61, 42, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(57, 189, 183, .08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(57, 189, 183, .08) 1px, transparent 1px),
    var(--paper);
  background-size: 36px 36px;
  color: var(--ink);
  font-family: "Noto Sans TC", "Microsoft JhengHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

.section-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 12px max(20px, calc((100vw - 1120px) / 2));
  background: rgba(255, 253, 247, .94);
  border-bottom: 3px solid var(--mint);
  backdrop-filter: blur(10px);
}

.brand img {
  display: block;
  width: 172px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #344047;
  font-size: 15px;
  font-weight: 900;
}

.nav-links a {
  padding: 10px 2px;
  border-bottom: 3px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--mint-dark);
  border-color: var(--peach);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 56px;
  align-items: center;
  padding: 42px 0 48px;
}

.hero-logo {
  width: min(310px, 70vw);
  height: auto;
  display: block;
  margin: 0 0 10px;
}

.hero h1 {
  margin: 0;
  color: var(--mint-dark);
  font-size: clamp(44px, 5.8vw, 76px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
}

.slogan {
  margin: 12px 0 0;
  color: var(--red);
  font-size: clamp(24px, 3.1vw, 42px);
  font-weight: 950;
}

.sub-slogan {
  margin: 4px 0 0;
  color: var(--mint-dark);
  font-size: clamp(18px, 2.1vw, 28px);
  font-weight: 900;
}

.hero-lead {
  max-width: 660px;
  margin: 12px 0 0;
  color: #405057;
  font-size: 20px;
}

.radio-player {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 18px;
  align-items: center;
  width: 100%;
  max-width: 720px;
  margin-top: 22px;
  padding: 18px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  box-shadow: 10px 10px 0 var(--peach-soft);
}

.play-button {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  cursor: pointer;
}

.play-button svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.pause-icon,
.is-playing .play-icon {
  display: none;
}

.is-playing .pause-icon {
  display: block;
}

.player-title {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 2px;
  font-weight: 900;
}

.player-title strong {
  font-size: 20px;
}

.player-title span {
  color: var(--mint-dark);
  font-size: 14px;
}

.player-bars {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 42px;
  margin-top: 8px;
}

.player-bars span {
  width: 7px;
  height: 16px;
  border-radius: 4px;
  background: var(--mint);
  animation: radioBars 1.35s ease-in-out infinite;
  animation-play-state: paused;
}

.player-bars span:nth-child(3n) { height: 34px; background: var(--peach); }
.player-bars span:nth-child(4n) { height: 24px; }
.player-bars span:nth-child(5n) { height: 38px; background: var(--red); }
.is-playing .player-bars span { animation-play-state: running; }

@keyframes radioBars {
  0%, 100% { transform: scaleY(.65); }
  50% { transform: scaleY(1); }
}

.on-air {
  padding: 8px 12px;
  border: 2px solid var(--red);
  color: var(--red);
  font-weight: 950;
  white-space: nowrap;
}

.stream-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
}

.native-player {
  display: block;
  width: min(720px, 100%);
  height: 44px;
  margin-top: 18px;
  border: 2px solid var(--ink);
  background: #fff;
}

.listen-note {
  max-width: 720px;
  margin: 14px 0 0;
  color: #405057;
  font-size: 17px;
  font-weight: 800;
}

.stream-row span {
  color: var(--mint-dark);
  font-weight: 950;
}

.stream-row code {
  padding: 4px 8px;
  border: 1px dashed var(--peach);
  background: #fff;
  color: #3a4448;
  font-family: Consolas, "Courier New", monospace;
}

.stream-row a {
  color: var(--red);
  font-weight: 900;
}

.weather-now {
  max-width: 720px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 2px solid var(--line);
}

.weather-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.weather-head span {
  color: var(--mint-dark);
  font-size: 13px;
  font-weight: 950;
}

.weather-head strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 950;
}

.weather-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.weather-grid article {
  padding: 16px;
  border: 2px solid var(--ink);
  background: rgba(255, 255, 255, .74);
}

.weather-grid span,
.weather-grid small {
  display: block;
}

.weather-grid span {
  color: var(--red);
  font-size: 14px;
  font-weight: 950;
}

.weather-grid strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.2;
}

.weather-grid small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.editorial-panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 520px;
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  background: rgba(255, 253, 247, .72);
}

.editorial-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--ink);
}

.editorial-head span {
  color: var(--mint-dark);
  font-size: 16px;
  font-weight: 950;
  text-transform: uppercase;
}

.editorial-head strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
}

.feature-story {
  display: block;
  padding: 30px 0;
  border-bottom: 1px solid var(--ink);
}

.feature-story span {
  color: var(--red);
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}

.feature-story h2 {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.12;
  font-weight: 950;
}

.feature-story p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.story-list a {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.story-list a:last-child {
  border-bottom: 0;
}

.story-list span {
  grid-row: span 2;
  color: var(--red);
  font-size: 19px;
  font-weight: 950;
}

.story-list strong {
  color: var(--ink);
  font-size: 21px;
  line-height: 1.28;
}

.story-list small {
  color: var(--mint-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.entry-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 24px;
  border: 3px solid var(--ink);
  background: #fff;
  box-shadow: var(--shadow);
}

.entry-strip a {
  display: grid;
  gap: 2px;
  min-height: 132px;
  padding: 22px;
  border-right: 2px dashed var(--line);
}

.entry-strip a:last-child {
  border-right: 0;
}

.entry-strip span {
  color: var(--red);
  font-size: 14px;
  font-weight: 950;
}

.entry-strip strong {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.25;
}

.entry-strip small {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 76px 0 46px;
}

.paper-card {
  min-height: 320px;
  padding: 28px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: #fff;
}

.paper-card.mint {
  box-shadow: 10px 10px 0 rgba(57, 189, 183, .28);
}

.paper-card.peach {
  box-shadow: 10px 10px 0 var(--peach-soft);
}

.paper-card.wide {
  grid-column: 1 / -1;
  min-height: auto;
}

.section-kicker {
  margin-bottom: 6px;
  color: var(--red);
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}

.paper-card h2 {
  margin: 0;
  color: var(--mint-dark);
  font-size: 34px;
  line-height: 1.16;
}

.paper-card.peach h2 {
  color: var(--red);
}

.paper-card p {
  margin: 18px 0 0;
  color: #49565b;
  font-size: 17px;
}

.paper-card a {
  display: inline-flex;
  margin-top: 26px;
  padding: 10px 14px;
  border: 2px solid currentColor;
  color: var(--ink);
  font-weight: 950;
}

.podcast-latest {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.podcast-latest a {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
  min-height: 126px;
  margin: 0;
  padding: 16px;
  border: 2px solid var(--line);
  background: #fffdf7;
}

.podcast-latest span {
  color: var(--red);
  font-size: 18px;
  font-weight: 950;
}

.podcast-latest strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.35;
}

.podcast-latest small {
  display: block;
  margin-top: 8px;
  color: var(--mint-dark);
  font-size: 13px;
  font-weight: 900;
}

.about-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: start;
  padding: 46px 0 84px;
}

.about-section h2 {
  margin: 0;
  color: var(--red);
  font-size: clamp(36px, 5vw, 66px);
  line-height: 1.12;
}

.about-section h2 span {
  display: block;
}

.about-section p {
  margin: 18px 0 0;
  color: #485459;
  font-size: 18px;
}

.about-section dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.about-section dl div {
  padding: 20px;
  border: 2px solid var(--line);
  background: #fff;
}

.about-section dt {
  color: var(--mint-dark);
  font-size: 14px;
  font-weight: 950;
}

.about-section dd {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 21px;
  font-weight: 950;
}

.site-footer {
  background: #2f3639;
  color: #fff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 34px 0;
}

.footer-inner img {
  display: block;
  width: 170px;
  margin-bottom: 8px;
  background: #fff;
}

.footer-inner p {
  margin: 0;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  font-weight: 900;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    gap: 18px;
    white-space: nowrap;
  }

  .hero,
  .about-section {
    grid-template-columns: 1fr;
  }

  .editorial-panel {
    min-height: 430px;
  }

  .entry-strip,
  .feature-grid,
  .podcast-latest {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .section-shell {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    padding-inline: 14px;
  }

  .brand img {
    width: 150px;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px 12px;
    font-size: 12px;
    white-space: normal;
    overflow: visible;
  }

  .nav-links a {
    padding-inline: 0;
  }

  .hero {
    gap: 34px;
    padding-top: 38px;
  }

  .hero-logo {
    display: none;
  }

  .hero-lead {
    font-size: 17px;
  }

  .radio-player {
    grid-template-columns: 60px 1fr;
    gap: 14px;
    padding: 14px;
  }

  .play-button {
    width: 56px;
    height: 56px;
  }

  .on-air {
    grid-column: 1 / -1;
    width: max-content;
  }

  .player-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }

  .weather-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

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

  .editorial-panel {
    min-height: auto;
    padding-top: 8px;
  }

  .feature-story {
    padding: 24px 0;
  }

  .entry-strip,
  .feature-grid,
  .podcast-latest,
  .about-section dl {
    grid-template-columns: 1fr;
  }

  .entry-strip a {
    min-height: auto;
    border-right: 0;
    border-bottom: 2px dashed var(--line);
  }

  .entry-strip a:last-child {
    border-bottom: 0;
  }

  .feature-grid {
    padding-top: 56px;
  }

  .paper-card {
    min-height: auto;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner nav {
    justify-content: flex-start;
  }
}
