/* Advertorial 4 — "we tested three heaters" comparison piece.
   Self-contained stylesheet. Same editorial system as advertorial/2 (white
   sheet on warm grey, serif body for 50-70 year old readers, ember accents
   only where action lives) so the two pages feel like the same publication.
   Nothing here touches the order form — that is an iframe with its own theme. */

:root {
  --ground:   #F1EDE7;
  --sheet:    #FFFFFF;
  --ink:      #1A1512;
  --ink-2:    #4A423C;
  --ink-3:    #6E655E;
  --line:     rgba(26, 21, 18, .12);
  --amber:    #F8AC32;
  --ember:    #F2672D;
  --red:      #EC2227;
  --ember-ink:#B5401A;
  --on-ember: #1A0E07;
  --green:    #2E7D46;
  --grad:     linear-gradient(120deg, #F8AC32 0%, #F2672D 55%, #EC2227 100%);
  --radius:   16px;
  --serif:    "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans:     "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max:      760px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ember-ink); }
.wrapper { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }

/* ---- top bar ----------------------------------------------------------- */
.adv-header {
  background: var(--sheet);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
}
.adv-header__row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px;
}
.adv-header__label {
  font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-3);
}
.adv-header__cta {
  font-family: var(--sans); font-size: 14px; font-weight: 700; text-decoration: none;
  color: var(--on-ember); background: var(--grad);
  padding: 10px 18px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 8px 20px -10px rgba(242, 103, 45, .7);
}
/* The CTA labels are full sentences in most languages and wrap badly in a
   56px bar. On phones the floating button carries the same call to action. */
@media (max-width: 600px) { .adv-header__cta { display: none; } }

/* ---- article sheet ------------------------------------------------------ */
.article {
  background: var(--sheet);
  border-radius: var(--radius);
  margin: 24px 0 40px;
  padding: clamp(20px, 4vw, 44px);
  box-shadow: 0 20px 50px -30px rgba(26, 21, 18, .35);
}
.article__title {
  font-family: var(--sans);
  font-size: clamp(27px, 5vw, 40px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0 0 20px;
}

.byline { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.byline__avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--sheet), 0 0 0 3px var(--line); }
.byline__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-family: var(--sans); font-size: 15px; color: var(--ink-2); }
.byline__stars { color: var(--amber); letter-spacing: .05em; font-size: 16px; }
.byline__by strong { color: var(--ink); font-weight: 700; }
.byline__date { color: var(--ink-3); }

/* share row — social proof, not working share buttons */
.share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 24px; padding: 0 0 22px; border-bottom: 1px solid var(--line); }
.share__count { font-family: var(--sans); font-size: 13px; font-weight: 700; color: var(--ink-3); margin-right: 4px; }
.share__btn {
  display: inline-flex; align-items: center; gap: 7px; text-decoration: none;
  font-family: var(--sans); font-size: 13px; font-weight: 700; color: #fff;
  padding: 8px 14px; border-radius: 999px; line-height: 1;
}
.share__btn svg { width: 14px; height: 14px; fill: currentColor; }
.share__btn--fb { background: #1877F2; }
.share__btn--x  { background: #14171A; }
.share__btn--wa { background: #25D366; }
.share__btn--ml { background: #6E655E; }

/* ---- media -------------------------------------------------------------- */
.figure { margin: 28px 0; border-radius: 12px; overflow: hidden; background: #EFE9E1; }
.figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.figure--hero { margin: 0 0 28px; }
.figure--tall img { aspect-ratio: 3 / 2; }
.figure figcaption {
  font-family: var(--sans); font-size: 14px; line-height: 1.45; color: var(--ink-2);
  background: #FBF8F3; padding: 10px 14px;
}

/* ---- body copy ----------------------------------------------------------- */
.article__body p { margin: 0 0 1.05em; }
.article__body p.lead { font-size: 1.12em; font-weight: 600; }
.article__body h2 {
  font-family: var(--sans);
  font-size: clamp(22px, 3.6vw, 28px);
  line-height: 1.25; font-weight: 800; letter-spacing: -.015em;
  margin: 40px 0 14px;
}
.article__body h2:first-child { margin-top: 0; }
.article__body em, .article__body i { font-style: italic; }

/* the "to be completely objective" caveat — reads as honesty, not fine print */
.honest {
  margin: 30px 0; padding: 20px 24px; border-radius: 14px;
  background: #F7F4EF; border-left: 5px solid var(--ink-3);
}
.honest p { font-size: 18px; font-style: italic; margin: 0; color: var(--ink-2); }

/* ---- the five test criteria ---------------------------------------------- */
.criteria {
  margin: 26px 0 30px;
  padding: 22px clamp(16px, 3vw, 26px);
  border-radius: var(--radius);
  background: #FFF6E8;
  border: 1px solid rgba(248, 172, 50, .45);
}
.criteria__title {
  font-family: var(--sans); font-size: 13px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ember-ink); margin: 0 0 14px;
}
.criteria__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.criteria__list li {
  position: relative; padding-left: 40px;
  font-family: var(--sans); font-size: 17px; font-weight: 600; line-height: 1.4;
}
.criteria__list li::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 26px; height: 26px; border-radius: 50%; background: var(--grad);
}
.criteria__list li::after {
  content: ""; position: absolute; left: 7px; top: 7px; width: 12px; height: 7px;
  border-left: 3px solid var(--on-ember); border-bottom: 3px solid var(--on-ember);
  transform: rotate(-45deg);
}

/* ---- comparison table ----------------------------------------------------- */
.compare { margin: 18px 0 34px; overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
.compare__table {
  width: 100%; border-collapse: collapse; table-layout: fixed; min-width: 520px;
  font-family: var(--sans); font-size: 15px;
}
.compare__table th, .compare__table td {
  padding: 12px 10px; border-bottom: 1px solid var(--line);
  text-align: center; vertical-align: middle; overflow-wrap: anywhere; hyphens: auto;
}
.compare__table thead th { background: #F4F0EA; font-weight: 800; font-size: 14px; line-height: 1.3; }
.compare__table tbody th { text-align: left; font-weight: 700; background: #FBF8F3; }
.compare__table col.c-crit { width: 34%; }
.compare__table col.c-opt  { width: 20%; }
.compare__table col.c-win  { width: 26%; }
.compare__table tbody tr:last-child th,
.compare__table tbody tr:last-child td { border-bottom: 0; }
.compare__win { background: #FFF3E0; }
.compare__table thead th.compare__win { background: var(--grad); color: var(--on-ember); }

/* verdict marks — colour carries meaning, the glyph carries it for everyone else */
.mark { font-size: 17px; line-height: 1; font-weight: 800; }
.mark--yes { color: var(--green); }
.mark--no  { color: var(--red); }
.mark--mid { color: #C98A12; }

@media (max-width: 560px) {
  .compare__table { font-size: 13px; min-width: 460px; }
  .compare__table th, .compare__table td { padding: 10px 6px; }
}

/* ---- offer + CTA ---------------------------------------------------------- */
.offer {
  margin: 34px 0 6px; padding: 28px clamp(16px, 3vw, 32px) 24px;
  border-radius: var(--radius); text-align: center;
  background: linear-gradient(165deg, #FFF9F0 0%, #FFF1DE 100%);
  border: 1px solid rgba(248, 172, 50, .5);
}
.offer__img { width: min(240px, 60%); margin: 0 auto 10px; }
.offer__title { font-family: var(--sans); font-size: clamp(21px, 4vw, 28px); font-weight: 800; letter-spacing: -.02em; margin: 0 0 10px !important; }
.offer__price { font-family: var(--sans); font-size: 19px; margin: 0 0 14px !important; color: var(--ink-2); }
.offer__price strong { font-size: 30px; color: var(--ember-ink); font-weight: 800; }
.offer__price s { color: var(--ink-3); margin-left: 8px; }
.offer__text { font-family: var(--sans); font-weight: 700; font-size: 1.02em; margin: 0 0 18px !important; }
.cta {
  display: inline-block; font-family: var(--sans); font-weight: 800; font-size: 17px; letter-spacing: .02em;
  text-decoration: none; color: var(--on-ember); background: var(--grad);
  padding: 18px 26px; border-radius: 14px; line-height: 1.25;
  box-shadow: 0 16px 36px -14px rgba(242, 103, 45, .9), inset 0 1px 0 rgba(255, 236, 200, .4);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -14px rgba(242, 103, 45, 1), inset 0 1px 0 rgba(255, 236, 200, .4); }
.cta--sm { font-size: 16px; padding: 15px 22px; }
.cta-inline { text-align: center; margin: 26px 0 !important; }
.trust { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-family: var(--sans); font-size: 14px; font-weight: 700; color: var(--ink-2); }
.trust li::before { content: "\2713"; color: var(--ember-ink); font-weight: 800; margin-right: 6px; }
.offer__until { font-family: var(--sans); font-size: 14px; color: var(--ink-3); margin: 14px 0 0 !important; }
.offer__until .todayDate { font-weight: 800; color: var(--ink); }

/* floating button: appears after the reader has scrolled, hides at the form */
.sticky-cta {
  position: fixed; left: 50%; bottom: 16px; transform: translate(-50%, 140%);
  z-index: 30; width: min(560px, calc(100% - 32px));
  text-align: center; text-decoration: none;
  font-family: var(--sans); font-weight: 800; font-size: 15px; letter-spacing: .02em;
  color: var(--on-ember); background: var(--grad);
  padding: 15px 20px; border-radius: 999px;
  box-shadow: 0 16px 36px -10px rgba(20, 8, 2, .6);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), opacity .3s;
  opacity: 0;
}
.sticky-cta.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* ---- reader comments ------------------------------------------------------ */
.comments { margin: 40px 0 0; padding-top: 30px; border-top: 1px solid var(--line); }
.comments__title { font-family: var(--sans); font-size: clamp(20px, 3.4vw, 26px); font-weight: 800; letter-spacing: -.015em; margin: 0 0 18px; }
.comments__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.comment { display: grid; grid-template-columns: 46px 1fr; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: #FFFFFF; }
.comment__avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, #E8DFD3, #D9CFC2); color: var(--ink); font-family: var(--sans); font-weight: 800; font-size: 18px; display: grid; place-items: center; }
.comment__name { font-family: var(--sans); font-weight: 800; font-size: 15px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.comment__stars { color: var(--amber); font-size: 13px; letter-spacing: .05em; }
.comment__text { font-size: 17px; line-height: 1.5; margin: 6px 0 0 !important; color: var(--ink-2); }

/* ---- order form iframe ----------------------------------------------------- */
.order-embed { width: min(1080px, calc(100% - 32px)); margin: 0 auto 48px; scroll-margin-top: 72px; }
.order-embed__frame { width: 100%; border: 0; display: block; min-height: 600px; }

/* ---- footer ---------------------------------------------------------------- */
.main-footer {
  background: #12100F; color: rgba(246, 239, 230, .74);
  font-family: var(--sans); font-size: 14px; padding: 36px 0 110px;
  text-align: center;
}
.main-footer a { color: #F6EFE6; }
.footer-nav { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.footer-nav a { text-decoration: none; font-weight: 600; }
.imprint { list-style: none; margin: 0 0 18px; padding: 0; line-height: 1.6; }
.copyright { color: rgba(246, 239, 230, .5); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sticky-cta, .cta { transition: none; }
}
