/* ==========================================================
   TV 2 (tv2.dk) nyhedsartikel-stil — GLP5 landingsside
   ========================================================== */

@font-face {
  font-family: "TV2";
  src: url("fonts/TV2.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #eb050f;
  --red-dark: #c11a1d;
  --red-100: #ffe6d7;
  --midnight: #000523;
  --navy-900: #071533;
  --neutral-50: #f6f7f8;
  --neutral-100: #eff0f2;
  --neutral-200: #e5e7eb;
  --neutral-400: #8d95a5;
  --neutral-500: #626e84;
  --neutral-600: #4a5870;
  --font: "TV2", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
}

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

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

body {
  font-family: var(--font);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #fff;
  color: var(--midnight);
  font-size: 18px;
  line-height: 1.6;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ==================== HEADER ==================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 12px;
  height: 72px;
}

.logo {
  display: block;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}

.logo svg {
  display: block;
  width: 100%;
  height: 100%;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  padding: 4px;
  overflow: hidden;
}

.top-nav a {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 4px;
  font-size: 16px;
  color: var(--midnight);
  text-decoration: none;
}

.top-nav a:hover {
  color: var(--red);
}

.top-nav a[aria-current="true"] {
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 24px;
  border: 0;
  border-radius: 22px;
  background: var(--neutral-100);
  color: var(--midnight);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.btn:hover {
  background: var(--neutral-200);
}

.btn--play svg {
  flex: 0 0 auto;
}

.login-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 2px 6px;
  color: var(--midnight);
  font-size: 12px;
  line-height: 1.1;
  text-decoration: none;
}

.login-btn:hover {
  color: var(--red);
}

.menu-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--neutral-100);
  color: var(--midnight);
  cursor: pointer;
}

.menu-btn:hover {
  background: var(--neutral-200);
}

/* ---- Local section nav ---- */

.local-nav {
  position: relative;
  background: #fff;
}

.local-nav__scroll {
  display: flex;
  align-items: stretch;
  gap: 8px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 12px;
  height: 44px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.local-nav__scroll::-webkit-scrollbar {
  display: none;
}

.local-nav a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 8px;
  color: var(--neutral-600);
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.local-nav a:hover {
  color: var(--midnight);
}

.local-nav a[aria-current="true"] {
  color: var(--midnight);
  font-weight: 700;
}

.local-nav a[aria-current="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: var(--red);
}

.header-strip {
  height: 6px;
  background: var(--red-100);
}

/* ==================== MENU DRAWER ==================== */

.menu-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
}

.menu-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.menu-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 5, 35, 0.45);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.menu-drawer.is-open .menu-overlay {
  opacity: 1;
}

.menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(420px, 92vw);
  height: 100%;
  padding: 20px;
  background: #fff;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}

.menu-drawer.is-open .menu-panel {
  transform: translateX(0);
}

.menu-panel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
}

.menu-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--neutral-100);
  color: var(--midnight);
  cursor: pointer;
}

.menu-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--neutral-200);
}

.menu-search label {
  flex: 1;
}

.menu-search input {
  width: 100%;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--neutral-200);
  border-radius: 22px;
  background: #fff;
  color: var(--midnight);
  font-family: var(--font);
  font-size: 16px;
  outline: none;
}

.menu-search input:focus {
  border-color: var(--midnight);
}

.menu-search button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  cursor: pointer;
}

.menu-nav {
  display: flex;
  flex-direction: column;
  padding: 8px 0 20px;
}

.menu-nav a {
  padding: 14px 0;
  border-bottom: 1px solid var(--neutral-200);
  color: var(--midnight);
  font-size: 19px;
  font-weight: 500;
  text-decoration: none;
}

.menu-nav a:hover {
  color: var(--red);
}

.menu-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
}

.menu-actions .btn {
  width: 100%;
}

.btn--outline {
  background: #fff;
  border: 1px solid var(--neutral-200);
}

.btn--outline:hover {
  background: var(--neutral-50);
}

/* ==================== ARTICLE ==================== */

.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 20px 0;
}

.article__head {
  padding-bottom: 8px;
}

.label {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  border-radius: 2px;
  background: var(--red-100);
  color: var(--midnight);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.label:hover {
  background: #ffd7bf;
}

.article h1 {
  margin: 16px 0 16px;
  font-size: clamp(30px, 5.4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--midnight);
}

.standfirst {
  margin-bottom: 20px;
  font-size: clamp(18px, 2.4vw, 21px);
  font-weight: 300;
  line-height: 1.35;
  color: var(--neutral-600);
}

.standfirst a {
  color: inherit;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 12px 0 18px;
  border-bottom: 1px solid var(--neutral-200);
  color: var(--neutral-600);
  font-size: 14px;
}

.meta__dot {
  color: var(--neutral-400);
}

.rich {
  max-width: 640px;
  margin: 0 auto;
  padding-top: 8px;
}

.rich p {
  margin: 0 0 20px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--midnight);
}

.rich h2 {
  margin: 40px 0 16px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--midnight);
}

.rich a {
  color: var(--midnight);
  text-decoration: underline;
  text-decoration-color: rgba(235, 5, 15, 0.5);
  text-underline-offset: 3px;
}

.rich a:hover {
  color: var(--red);
  text-decoration-color: var(--red);
}

.rich strong {
  font-weight: 700;
}

.rich em {
  font-style: italic;
}

.rich section {
  margin-bottom: 8px;
}

/* ---- Facts / check lists ---- */

.facts {
  margin: 8px 0 32px;
  padding: 18px 24px;
  border-left: 4px solid var(--red);
  border-radius: 0 4px 4px 0;
  background: var(--neutral-50);
  list-style: none;
}

.facts li,
.checklist li {
  position: relative;
  padding-left: 30px;
  margin: 10px 0;
  font-size: 17px;
  line-height: 1.5;
}

.facts li::before,
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--red);
  font-weight: 700;
  font-size: 17px;
}

.checklist {
  margin: 4px 0 24px;
  list-style: none;
}

.problem-list {
  margin: 4px 0 24px;
  list-style: none;
}

.problem-list li {
  position: relative;
  padding-left: 28px;
  margin: 10px 0;
  font-size: 17px;
  line-height: 1.5;
}

.problem-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.pullquote {
  margin: 28px 0;
  padding: 4px 0 4px 20px;
  border-left: 4px solid var(--red);
}

.pullquote p {
  margin: 0;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--midnight);
}

/* ---- Doctor profile ---- */

.doctor {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  margin: 8px 0 36px;
  padding: 24px;
  border-radius: 4px;
  background: var(--neutral-50);
}

.doctor figure {
  margin: 0;
}

.doctor img {
  display: block;
  width: 100%;
  border-radius: 4px;
}

.doctor figcaption {
  padding-top: 8px;
  color: var(--neutral-600);
  font-size: 13px;
  line-height: 1.4;
}

.doctor__text h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.15;
}

.doctor__text p {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.6;
}

.doctor__text p:last-child {
  margin-bottom: 0;
}

/* ---- Fact box ---- */

.factbox {
  margin: 36px 0;
  padding: 24px;
  border-top: 4px solid var(--red);
  border-radius: 0 0 4px 4px;
  background: var(--neutral-50);
}

.factbox h2 {
  margin-top: 0;
}

.factbox .checklist {
  margin-bottom: 16px;
}

.factbox > p:last-child {
  margin-bottom: 0;
}

/* ---- Visceral red band ---- */

.visceral {
  margin: 44px 0;
  padding: 40px max(20px, calc(50vw - 320px));
  background: var(--red);
  color: #fff;
}

.visceral h2 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(26px, 4vw, 32px);
  line-height: 1.15;
}

.visceral__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}

.visceral p {
  margin: 0 0 16px;
  color: #fff;
  font-size: 18px;
  line-height: 1.6;
}

.visceral strong {
  color: #fff;
  font-weight: 700;
}

.visceral figure {
  margin: 0;
}

.visceral img {
  display: block;
  width: 100%;
  border-radius: 4px;
}

.visceral__note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
}

/* ---- Split text + image ---- */

.split {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  align-items: start;
  margin-bottom: 8px;
}

.split figure {
  margin: 0;
}

.split img {
  display: block;
  width: 100%;
  border-radius: 4px;
}

/* ---- Comparison ---- */

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 8px 0 8px;
}

.card {
  border: 1px solid var(--neutral-200);
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
}

.card h3 {
  padding: 14px 18px;
  border-bottom: 1px solid var(--neutral-200);
  background: var(--neutral-50);
  color: var(--midnight);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.card--win h3 {
  border-bottom-color: var(--red);
  background: var(--red);
  color: #fff;
}

.card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  padding: 12px;
  background: var(--neutral-50);
  overflow: hidden;
}

.card__media img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.card__media--product {
  position: relative;
  background: var(--midnight);
}

.card__media--product .compare-card__product {
  max-height: 176px;
  width: auto;
  mix-blend-mode: lighten;
}

.card__media--product .decor-listik {
  position: absolute;
  right: 10px;
  bottom: 8px;
  width: 64px;
  max-height: none;
  opacity: 0.95;
}

.card ul {
  padding: 16px 18px 18px;
  list-style: none;
}

.card li {
  position: relative;
  padding-left: 26px;
  margin: 10px 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--midnight);
}

.card li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
}

.card--lose li::before {
  content: "×";
  color: var(--neutral-400);
  font-size: 18px;
  line-height: 1.2;
}

.card--win li::before {
  content: "✓";
  color: var(--red);
  font-size: 15px;
}

/* ---- Before / after ---- */

.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 8px 0;
}

.ba {
  margin: 0;
}

.ba img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}

.ba figcaption {
  padding-top: 10px;
  color: var(--neutral-600);
  font-size: 14px;
  line-height: 1.55;
}

.ba figcaption strong {
  color: var(--midnight);
}

/* ---- CTA box ---- */

.cta-box {
  margin: 36px 0 8px;
  padding: 28px 24px;
  border-radius: 4px;
  background: var(--red-100);
  text-align: center;
}

.cta-box h2 {
  margin: 0 0 12px;
  font-size: 26px;
}

.cta-box p {
  margin-bottom: 0;
  font-size: 18px;
}

/* ==================== FOOTER ==================== */

.footer {
  margin-top: 48px;
  padding: 44px 20px 40px;
  background: var(--midnight);
  color: #fff;
}

.footer__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.footer__logo {
  display: inline-block;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
}

.footer__logo svg {
  display: block;
  width: 100%;
  height: 100%;
}

.product__img {
  display: block;
  width: 190px;
  height: auto;
  margin: 0 auto 8px;
  mix-blend-mode: lighten;
}

.btn--cta {
  margin: 12px auto 24px;
  background: var(--red);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.btn--cta:hover {
  background: var(--red-dark);
}

.footer p {
  margin: 0 0 10px;
  color: #dfe2e9;
  font-size: 15px;
  line-height: 1.55;
}

.footer p strong {
  color: #fff;
}

.footer__timer {
  margin-top: 16px !important;
}

#endPromotionTimer {
  color: #fff;
  font-weight: 700;
}

.footer__copy {
  margin-top: 24px !important;
  color: var(--neutral-400) !important;
  font-size: 13px !important;
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 899px) {
  .site-header__inner {
    height: 64px;
  }

  .top-nav {
    display: none;
  }

  .login-btn {
    display: none;
  }

  .header-actions {
    gap: 10px;
  }

  .btn--play {
    height: 40px;
    padding: 0 16px;
    border-radius: 20px;
    font-size: 14px;
  }

  .menu-btn {
    width: 40px;
    height: 40px;
  }

  .logo {
    width: 40px;
    height: 40px;
  }

  .local-nav__scroll {
    height: 42px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 17px;
  }

  .article {
    padding: 24px 18px 0;
  }

  .article h1 {
    font-size: 30px;
    margin-top: 12px;
  }

  .standfirst {
    font-size: 18px;
  }

  .rich p {
    font-size: 17px;
    line-height: 1.65;
  }

  .rich h2 {
    margin-top: 32px;
    font-size: 23px;
  }

  .pullquote p {
    font-size: 20px;
  }

  .doctor {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }

  .doctor figure {
    max-width: 240px;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .split figure {
    order: -1;
  }

  .visceral {
    padding: 32px 18px;
  }

  .visceral__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .visceral figure {
    order: -1;
  }

  .compare {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card__media {
    height: 180px;
  }

  .ba-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ba img {
    aspect-ratio: 16 / 10;
  }

  .cta-box {
    padding: 22px 18px;
  }

  .cta-box h2 {
    font-size: 22px;
  }

  .footer {
    padding: 36px 18px 32px;
  }
}
