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

body {
  font-family: "DM Sans", sans-serif;
  background-color: #f7f5f3;
  color: #2d3748;
  line-height: 1.6;
  text-align: start;
}

li {
margin-left: 1.5rem;
}

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

/* Inline links inden i artikelindhold */
.hero p a,
.hero li a {
    color: #C53030;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.header {
  padding: 1rem 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-icon svg {
  width: 40px;
  height: 40px;
}

.logo-text h1 {
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.logo-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 400;
}

.main-content {
  display: flex;
  min-height: calc(100vh - 100px);
  padding: 2rem;
}

.hero {
  text-align: start;
  max-width: 600px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #2d3748;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.hero h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2d3748;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.hero h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #2d3748;
  margin-top: 1.25rem;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.hero p {
  font-size: 1rem;
  color: #4a5568;
  margin-bottom: 0.75rem;
  max-width: 600px;
}

.hero > p:first-of-type {
  font-size: 1.1rem;
  color: #4a5568;
  margin-bottom: 1.75rem;
}

.start-button {
  background-color: #C53030;
  color: white;
  border: none;
  padding: 1rem 3rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(197, 48, 48, 0.3);
}

.start-button:hover {
  background-color: #B91C1C;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(197, 48, 48, 0.4);
}

.start-button:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .header {
    padding: 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero h2 {
    font-size: 1.4rem;
  }

  .hero h3 {
    font-size: 1.1rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .start-button {
    padding: 0.875rem 2.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .logo {
    gap: 0.75rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero h2 {
    font-size: 1.25rem;
  }

  .hero h3 {
    font-size: 1rem;
  }
}

.cta {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-left: auto;
}

.site-nav a {
  color: #4a5568;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.site-nav a:hover,
.site-nav a.active {
  color: #C53030;
  border-bottom-color: #C53030;
}

.header-app-link {
  margin-left: 1.5rem;
  padding: 0.4rem 1rem;
  background: #C53030;
  color: #fff !important;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: none !important;
  transition: background 0.2s;
  white-space: nowrap;
}

.header-app-link:hover {
  background: #9B2C2C;
  color: #fff !important;
  border-bottom-color: transparent !important;
}

.header {
  display: flex;
  align-items: center;
}

.content-list {
  margin: 1rem 0 2rem 1.5rem;
}

.content-list li {
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
}

.authority-block {
  margin-top: 3rem;
  padding: 1.25rem 2rem;
  background-color: #eceae8;
  border-top: 1px solid #d4d0cc;
  text-align: center;
}

.authority-block p {
  font-size: 0.875rem;
  color: #718096;
  margin: 0.5rem 0 0;
}

.footer-nav {
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.footer-nav a {
  color: #718096;
}

.faq details {
  margin-bottom: 0.75rem;
  border: 1px solid #d4d0cc;
  border-radius: 6px;
  padding: 0.75rem 1rem;
}

.faq details summary {
  font-weight: 600;
  cursor: pointer;
  color: #2d3748;
}

.faq details p {
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.sources {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background-color: #eceae8;
  border-radius: 6px;
}

.sources h2 {
  font-size: 1rem !important;
  margin-top: 0 !important;
  margin-bottom: 0.5rem !important;
  color: #4a5568 !important;
}

.sources ul {
  margin: 0;
}

.sources li {
  font-size: 0.875rem;
  color: #718096;
}

.disclaimer {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: #f7f5f3;
  border: 1px solid #e2ddd8;
  border-left: 3px solid #C53030;
  border-radius: 6px;
  font-size: 0.85rem;
  color: #718096;
  line-height: 1.55;
}

.disclaimer strong {
  color: #4a5568;
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nytogsndt-teaser {
  margin-top: 2rem;
  padding: 1.1rem 1.25rem;
  background: #f7f5f3;
  border: 1px solid #e2ddd8;
  border-radius: 8px;
}

.nytogsndt-teaser .teaser-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a0aec0;
  margin-bottom: 0.35rem;
}

.nytogsndt-teaser p {
  font-size: 0.95rem;
  font-weight: 600;
  color: #2d3748;
  margin: 0 0 0.6rem;
  line-height: 1.4;
}

.nytogsndt-teaser a {
  font-size: 0.875rem;
  font-weight: 600;
  color: #C53030;
}

.medicintjekker-cta {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid #e2ddd8;
  border-left: 3px solid #C53030;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.medicintjekker-cta p {
  font-size: 0.9rem;
  color: #4a5568;
  margin: 0;
}

.medicintjekker-cta a {
  font-size: 0.875rem;
  font-weight: 600;
  color: #C53030;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .medicintjekker-cta { flex-direction: column; align-items: flex-start; }
}

/* ── Medicintjekker inline drug links ── */

.drug-link {
  color: #C53030;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}

.drug-link:hover {
  color: #9B2C2C;
}

/* ── Content hub (artikler/index.html) ── */

.hub-hero {
  background: linear-gradient(135deg, #C53030 0%, #9B2C2C 100%);
  padding: 4rem 2rem 3rem;
  text-align: center;
}

.hub-hero-inner {
  max-width: 680px;
  margin: 0 auto;
}

.hub-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.hub-hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  margin: 0;
  max-width: 520px;
  margin: 0 auto;
}

.hub-pillars {
  padding: 2.5rem 2rem;
  background: #f7f5f3;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 780px;
  margin: 0 auto;
}

.hub-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  padding: 1.75rem;
  text-decoration: none;
  border: 1px solid #e2ddd8;
  transition: transform 0.2s, box-shadow 0.2s;
}

.hub-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.09);
}

.hub-card-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.hub-card--articles .hub-card-eyebrow { color: #C53030; }
.hub-card--conditions .hub-card-eyebrow { color: #276749; }

.hub-card-count {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
  color: #2d3748;
}

.hub-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.hub-card-desc {
  font-size: 0.9rem;
  color: #718096;
  line-height: 1.55;
  flex: 1;
  margin: 0 0 1.25rem;
}

.hub-card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #C53030;
}

.hub-card--conditions .hub-card-link { color: #276749; }

.hub-articles {
  padding: 2.5rem 2rem 3rem;
}

.hub-articles-inner {
  max-width: 680px;
  margin: 0 auto;
}

.hub-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 1.75rem;
}

.article-category {
  margin-bottom: 2.25rem;
}

.article-category-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a0aec0;
  margin-bottom: 0.75rem;
}

.article-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #e2ddd8;
}

.article-list li {
  margin: 0;
  border-bottom: 1px solid #e2ddd8;
}

.article-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
  color: #2d3748;
  text-decoration: none;
  transition: color 0.15s;
}

.article-item:hover {
  color: #C53030;
}

.article-title {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
}

.article-meta {
  font-size: 0.8rem;
  color: #a0aec0;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .hub-hero h1 { font-size: 2.25rem; }
  .hub-grid { grid-template-columns: 1fr; }
  .article-meta { display: none; }
}

/* ── Visuel breadcrumb ── */

.breadcrumb {
  font-size: 0.8rem;
  color: #a0aec0;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: #a0aec0;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #C53030;
}

.breadcrumb span {
  color: #2d3748;
  font-weight: 500;
}
