/* ====================================
   9 uger i støvlen — shared styles
   Mobile-first responsive design
   ==================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
  background: #FAF6F1;
  color: #1F2937;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.serif { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-style: italic; }

.container { max-width: 720px; margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ---------- NAVIGATION ---------- */
nav {
  padding: 16px 0;
  position: sticky;
  top: 0;
  background: rgba(250, 246, 241, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 50;
  border-bottom: 1px solid rgba(232, 223, 210, 0.5);
}
nav .container-wide {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.logo {
  font-weight: 700;
  font-size: 17px;
  color: #1F2937;
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 6px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.logo-num {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  color: #E07A5F;
  line-height: 1;
}
.nav-links {
  display: flex;
  gap: 2px;
  align-items: center;
}
.nav-links a {
  color: #5A5A5A;
  text-decoration: none;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 20px;
  transition: all 0.2s;
  font-weight: 500;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}
.nav-links a:hover, .nav-links a.active { background: #F1E8DD; color: #1F2937; }

/* ---------- BUTTONS ---------- */
.btn-primary, .btn-secondary, .btn-faq {
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  border-radius: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  padding: 14px 24px;
  min-height: 48px;
  white-space: nowrap;
}
.btn-primary { background: #1F2937; color: white; }
.btn-primary:hover { background: #374151; transform: translateY(-1px); }
.btn-secondary { background: white; color: #1F2937; border: 1px solid #E8DFD2; }
.btn-secondary:hover { border-color: #C9B89F; }
.btn-faq { background: white; color: #1F2937; }
.btn-faq:hover { transform: translateY(-1px); }

/* ---------- HERO ---------- */
.hero { padding: 48px 0 32px; text-align: center; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #F1E8DD;
  color: #8B5A3C;
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}
.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  background: #E07A5F;
  border-radius: 50%;
}
.hero h1 {
  font-size: 38px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  color: #1F2937;
}
.hero h1 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: #E07A5F;
}
.hero-lead {
  font-size: 17px;
  line-height: 1.55;
  color: #4A4A4A;
  max-width: 580px;
  margin: 0 auto 28px;
}
.cta-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- MODE STRIP ---------- */
.mode-strip {
  margin: 40px 0 0;
  padding: 22px;
  background: white;
  border-radius: 16px;
  border: 1px solid #F0E6D9;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  text-align: left;
}
.mode {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.mode-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #FFF1E8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.mode-text strong { display: block; font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.mode-text span { font-size: 13px; color: #6B7280; line-height: 1.4; }

/* ---------- SECTION HEADERS ---------- */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid #E8DFD2;
  flex-wrap: wrap;
  gap: 8px;
}
.section-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.section-title em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: #E07A5F;
}
.section-meta { color: #888; font-size: 13px; }

/* ---------- EPISODES GRID ---------- */
.episodes-section { padding: 56px 0 40px; }
.episodes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid #E8DFD2;
}
.episode {
  padding: 24px 0;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  border-bottom: 1px solid #E8DFD2;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  color: inherit;
}
.episode:hover { background: rgba(255, 241, 232, 0.5); }
.episode-num {
  font-family: 'Instrument Serif', serif;
  font-size: 48px;
  font-style: italic;
  color: #1F2937;
  line-height: 0.9;
}
.episode-title {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.episode-desc {
  color: #6B7280;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 12px;
}
.episode-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  flex-wrap: wrap;
}
.episode-week {
  background: #FFF1E8;
  color: #C95B3D;
  padding: 4px 12px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 11px;
}
.episode-readtime { color: #999; font-size: 12px; }
.episode.bonus {
  background: linear-gradient(135deg, rgba(224, 122, 95, 0.06) 0%, rgba(255, 241, 232, 0.3) 100%);
}
.episode.bonus .episode-num { color: #E07A5F; }
.episode.bonus .episode-week { background: #1F2937; color: white; }

/* ---------- ARTICLE PAGES ---------- */
.article-header {
  padding: 32px 0 24px;
  text-align: center;
}
.breadcrumb {
  font-size: 13px;
  color: #888;
  margin-bottom: 20px;
}
.breadcrumb a { color: #888; text-decoration: none; }
.breadcrumb a:hover { color: #E07A5F; }
.week-label {
  display: inline-block;
  background: #FFF1E8;
  color: #C95B3D;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}
.article-num {
  font-family: 'Instrument Serif', serif;
  font-size: 64px;
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  color: #E07A5F;
  margin-bottom: 14px;
}
.article-header h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.article-lead {
  font-size: 18px;
  line-height: 1.5;
  color: #4A4A4A;
  max-width: 580px;
  margin: 0 auto 24px;
}
.article-meta {
  display: flex;
  gap: 14px;
  justify-content: center;
  color: #888;
  font-size: 13px;
  flex-wrap: wrap;
}
.article-meta span::before { content: '·'; margin-right: 14px; color: #C9B89F; }
.article-meta span:first-child::before { content: ''; margin-right: 0; }

/* ---------- AUDIO CARD ---------- */
.audio-card {
  background: white;
  border: 1px solid #F0E6D9;
  border-radius: 18px;
  padding: 18px 20px;
  margin: 32px auto;
  max-width: 560px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.audio-play {
  width: 48px; height: 48px;
  background: #1F2937;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.audio-play:hover { background: #E07A5F; transform: scale(1.05); }
.audio-info { flex: 1; min-width: 0; }
.audio-info strong { display: block; font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.audio-info span { font-size: 12px; color: #888; }
.audio-duration { color: #888; font-size: 13px; font-variant-numeric: tabular-nums; flex-shrink: 0; }

/* ---------- ARTICLE CONTENT ---------- */
.article-content { padding: 24px 0 48px; font-size: 17px; line-height: 1.7; }
.article-content h2 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 44px 0 14px;
  line-height: 1.2;
}
.article-content h2 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: #E07A5F;
}
.article-content h2:first-child { margin-top: 0; }
.article-content h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 32px 0 10px;
}
.article-content p {
  margin-bottom: 18px;
  color: #2A2A2A;
}
.article-content ul, .article-content ol {
  margin: 0 0 22px 22px;
  padding: 0;
}
.article-content li {
  margin-bottom: 10px;
  color: #2A2A2A;
  padding-left: 6px;
}
.article-content li strong { font-weight: 600; }
.article-content a {
  color: #C95B3D;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- CALLOUTS ---------- */
.callout {
  background: white;
  border-radius: 14px;
  padding: 20px 22px;
  margin: 28px 0;
  border-left: 4px solid #E07A5F;
}
.callout-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #C95B3D;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.callout p { margin: 0; color: #2A2A2A; font-style: italic; }
.callout.warning { border-left-color: #DC2626; background: #FFF5F5; }
.callout.warning .callout-label { color: #B91C1C; }
.callout.tip { border-left-color: #059669; background: #F0FDF4; }
.callout.tip .callout-label { color: #047857; }

/* ---------- PULLQUOTE ---------- */
.pullquote {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 24px;
  line-height: 1.3;
  text-align: center;
  margin: 40px 0;
  color: #1F2937;
  padding: 0 16px;
}

/* ---------- EPISODE NAV ---------- */
.episode-nav {
  margin: 56px 0 40px;
  padding: 28px 0;
  border-top: 1px solid #E8DFD2;
  border-bottom: 1px solid #E8DFD2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.nav-link { text-decoration: none; color: inherit; padding: 8px 0; }
.nav-link-label {
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
  font-weight: 500;
}
.nav-link-title {
  font-size: 17px;
  font-weight: 600;
  color: #1F2937;
}
.nav-link:hover .nav-link-title { color: #E07A5F; }

/* ---------- FAQ ---------- */
.faq-strip {
  background: #1F2937;
  color: #F1E8DD;
  padding: 56px 0;
  margin-top: 56px;
}
.faq-strip h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: white;
  margin-bottom: 10px;
}
.faq-strip h2 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: #E07A5F;
}
.faq-strip p {
  color: #C9C2B8;
  font-size: 16px;
  margin-bottom: 28px;
  max-width: 580px;
}
.faq-questions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 28px;
}
.faq-question {
  background: rgba(255, 255, 255, 0.05);
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  color: #F1E8DD;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  min-height: 48px;
}
.faq-question:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #E07A5F;
}
.faq-question span:last-child { color: #E07A5F; font-size: 16px; flex-shrink: 0; }

/* ---------- FAQ PAGE ---------- */
.faq-page { padding: 32px 0 48px; }
.faq-item {
  background: white;
  border: 1px solid #F0E6D9;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 14px;
}
.faq-item h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 14px;
  color: #1F2937;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.faq-item h3::before {
  content: '?';
  background: #E07A5F;
  color: white;
  width: 24px; height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.faq-item p { margin-bottom: 12px; color: #2A2A2A; line-height: 1.6; }
.faq-item p:last-child { margin-bottom: 0; }
.faq-item ul { margin: 0 0 12px 20px; }
.faq-item li { margin-bottom: 6px; color: #2A2A2A; }
.faq-item strong { font-weight: 600; }

/* ---------- ABOUT PAGE ---------- */
.about-page { padding: 32px 0 48px; }
.about-page h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 40px 0 12px;
}
.about-page h2:first-child { margin-top: 0; }
.about-page p { margin-bottom: 16px; color: #2A2A2A; font-size: 17px; line-height: 1.7; }

/* ---------- FOOTER ---------- */
footer {
  padding: 32px 0 24px;
  color: #6B7280;
  font-size: 13px;
  border-top: 1px solid #E8DFD2;
}
footer .container-wide {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ====================================
   TABLET (640px+)
   ==================================== */
@media (min-width: 640px) {
  .container, .container-wide { padding: 0 32px; }
  nav { padding: 20px 0; }
  .logo { font-size: 20px; }
  .logo-num { font-size: 30px; }
  .nav-links a { font-size: 15px; padding: 8px 16px; border-radius: 24px; }

  .hero { padding: 64px 0 48px; }
  .hero-badge { font-size: 14px; }
  .hero h1 { font-size: 52px; line-height: 1.05; }
  .hero-lead { font-size: 19px; }
  .mode-strip { grid-template-columns: 1fr 1fr; padding: 28px; }

  .section-title { font-size: 36px; }
  .episodes-section { padding: 80px 0 60px; }
  .episode { padding: 28px 20px; grid-template-columns: 70px 1fr; gap: 20px; }
  .episode-num { font-size: 56px; }
  .episode-title { font-size: 20px; }

  .article-header { padding: 48px 0 28px; }
  .article-num { font-size: 80px; }
  .article-header h1 { font-size: 44px; }
  .article-lead { font-size: 20px; }
  .article-content { font-size: 17px; }
  .article-content h2 { font-size: 30px; }
  .article-content h3 { font-size: 21px; }

  .pullquote { font-size: 28px; padding: 0 32px; }

  .faq-strip { padding: 72px 0; }
  .faq-strip h2 { font-size: 36px; }
  .faq-questions { grid-template-columns: 1fr 1fr; gap: 12px; }
  .faq-question { font-size: 15px; padding: 18px 22px; }

  .episode-nav { grid-template-columns: 1fr 1fr; gap: 24px; }
  .nav-link.next { text-align: right; }
}

/* ====================================
   DESKTOP (920px+)
   ==================================== */
@media (min-width: 920px) {
  .container { max-width: 720px; }
  .container-wide { max-width: 1100px; }
  .hero { padding: 80px 0 60px; }
  .hero h1 { font-size: 64px; }
  .section-title { font-size: 40px; }
  .episodes-grid { grid-template-columns: repeat(2, 1fr); }
  .episode:nth-child(odd) { padding-right: 32px; border-right: 1px solid #E8DFD2; }
  .episode:nth-child(even) { padding-left: 32px; }
  .episode { padding: 32px 24px; }
  .article-header h1 { font-size: 52px; }
  .pullquote { font-size: 32px; }
  .faq-strip { padding: 80px 0; }
  .article-content h2 { font-size: 32px; }
}

/* FAQ source references */
.faq-kilde {
  font-size: 12px;
  color: #999;
  font-style: italic;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid #F0E6D9;
}
.faq-kilde strong { color: #888; font-style: normal; }

/* Disclaimer */
.disclaimer {
  background: #F0F4F4;
  border-top: 1px solid #E0EAEA;
  padding: 32px 0;
}
.disclaimer-inner {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  max-width: 720px;
}
.disclaimer-icon {
  width: 28px; height: 28px;
  background: #1A6B72;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.disclaimer-text p {
  font-size: 13px;
  color: #4A6060;
  line-height: 1.6;
  margin-bottom: 6px;
}
.disclaimer-text p:last-child { margin-bottom: 0; }
.disclaimer-text strong { color: #1A6B72; font-size: 14px; }
