:root {
  --itb-orange: #ef7d00;
  --itb-brown: #6d3809;
  --itb-dark: #232323;
  --itb-gray-100: #f5f5f5;
  --itb-gray-200: #ececec;
  --itb-gray-300: #d9d9d9;
  --text: #111111;
  --text-soft: #3a3a3a;
  --white: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Barlow", sans-serif;
  color: var(--text);
  background: var(--itb-gray-200);
}

.shell {
  width: min(1120px, 94vw);
  margin: 0 auto;
}

.top-link-bar {
  background: #ffffff;
  border-bottom: 1px solid #dedede;
}

.top-link-inner {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.top-link-inner a {
  color: #1f1f1f;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.top-link-inner a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  line-height: 1.04;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  letter-spacing: 0.01em;
  max-width: none;
}

.content-wrap {
  background: var(--itb-gray-200);
  padding: 0 0 34px;
}

.quick-access {
  background: linear-gradient(135deg, var(--itb-orange), #f49a39);
  border-top: 1px solid #cd6a01;
  border-bottom: 1px solid #cd6a01;
  box-shadow: 0 10px 20px rgba(110, 57, 8, 0.15);
}

.quick-access-inner {
  padding: 24px 0;
}

.quick-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  font-weight: 700;
}

.quick-copy {
  margin: 10px 0 0;
  max-width: 56ch;
  font-size: 1.04rem;
  line-height: 1.55;
  color: #2f1802;
  font-weight: 500;
}

.listen-section {
  margin-top: 16px;
}

.tabs {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-bottom: 1px solid #cfcfcf;
  padding-top: 4px;
}

.tab {
  border: 1px solid #cfcfcf;
  border-bottom: none;
  background: #e6e6e6;
  color: #232323;
  border-radius: 8px 8px 0 0;
  padding: 10px 18px;
  font-family: "Barlow", sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.tab:hover {
  background: #f0f0f0;
}

.tab:focus-visible {
  outline: 3px solid rgba(17, 17, 17, 0.35);
  outline-offset: 2px;
}

.tab.is-active {
  background: var(--itb-gray-100);
  color: #111111;
  position: relative;
  top: 1px;
  border-color: var(--itb-gray-300);
}

.panel {
  background: var(--itb-gray-100);
  border: 1px solid var(--itb-gray-300);
  padding: 22px;
  border-radius: 0 6px 6px 6px;
}

.panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 26px;
}

.panel-copy h3 {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
}

.panel-subtitle {
  margin: 16px 0 18px;
  color: #8a4300;
  font-size: clamp(1.02rem, 1.2vw, 1.12rem);
  line-height: 1.56;
  font-weight: 600;
  max-width: 62ch;
}

.panel-copy p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 64ch;
}

.panel-copy p + p {
  margin-top: 12px;
}

.chapter-list {
  margin: 18px 0 0;
  padding-left: 20px;
  color: #222222;
  max-width: 60ch;
}

.chapter-list li {
  margin-top: 7px;
  line-height: 1.5;
}

.chapter-list li:first-child {
  margin-top: 0;
}

.outro {
  margin-top: 26px;
  font-weight: 700;
  color: #111111;
  line-height: 1.55;
}

.player-wrap {
  background: var(--white);
  border: 1px solid #d8d8d8;
  padding: 16px;
}

.player-wrap h4 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.player-target {
  min-height: 130px;
}

.embed-note {
  margin: 10px 0 0;
  font-size: 0.87rem;
  color: #5c5c5c;
}

/* Footer - 4 columns: links | partners | social | copyright */
.footer {
  background: #ffffff;
  border-top: 1px solid #e0e0e0;
  padding: 28px 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: start;
  gap: 32px 48px;
}

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

.footer-col-links nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto auto;
  gap: 8px 24px;
  text-align: left;
}

.footer-col-links a {
  color: #151515;
  text-decoration: underline;
  font-size: 0.9rem;
}

.footer-col-links a:hover {
  text-decoration: none;
}

.footer-col-partners {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}

.footer-partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: #151515;
  max-width: 200px;
}

.footer-partner:hover {
  text-decoration: none;
  color: #151515;
}

.footer-partner img {
  display: block;
  max-width: 180px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-partner-caption {
  display: block;
  font-size: 0.8rem;
  color: #333;
  margin-top: 4px;
}

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

.footer-social a {
  color: #151515;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social a:hover {
  opacity: 0.7;
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-copyright {
  font-size: 0.85rem;
  color: #151515;
}

@media (max-width: 1020px) {
  .panel-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 32px;
  }

  .footer-col {
    align-items: center;
  }

  .footer-col-links nav {
    align-items: center;
  }

  .footer-col-partners {
    align-items: center;
  }

  .footer-col-social .footer-social {
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .quick-access-inner {
    padding: 18px 0;
  }

  .quick-copy {
    font-size: 0.98rem;
  }

  .panel {
    padding: 18px;
  }
}

@media (max-width: 560px) {
  .tabs {
    gap: 4px;
    padding-top: 2px;
  }

  .tab {
    padding: 9px 11px;
    font-size: 0.9rem;
  }

}
