/* ============================================================
   CircuMax advertorial — restyled 1:1 to the Funnelish
   "Slagaderblog" reference (shop.medischkompas.com).

   Reference design tokens (captured from live computed styles):
     page bg ............. #ffffff (flat article, no cards)
     body text ........... #303030  Open Sans 18px / lh 1.5
     muted / meta ........ #909090  Roboto
     inline link ......... #4a90e2
     CTA button .......... #4ca73d green, #f6f9fe text, Roboto 14/500,
                           4px radius, soft shadow, full-width
     offer box ........... #fdfebf pale-yellow
     content column ...... 640px centered

   The Facebook comment-thread block is intentionally LEFT AS-IS
   (pinned to Helvetica) per request — do not restyle it.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Roboto:wght@400;500;700&display=swap');

:root {
  --page-bg:   #ffffff;
  --card-bg:   #ffffff;
  --ink:       #303030;   /* article body text */
  --muted:     #909090;   /* breadcrumb / byline / meta */
  --hairline:  #dddfe2;
  --link:      #4a90e2;   /* inline article links */
  --fb-blue:   #385898;
  --fb-link:   #627aad;
  --cta:       #4ca73d;   /* green order button (reference) */
  --cta-hover: #429235;
  --column:    640px;
}

* { box-sizing: border-box; }

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

body {
  background: var(--page-bg);
  color: var(--ink);
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- centered advertorial column (flat, no card chrome) ---- */
.wrap {
  max-width: var(--column);
  margin: 0 auto;
  padding: 14px 14px 40px;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  font-family: "Roboto", Arial, sans-serif;
  font-size: 11px;
  color: var(--muted);
  margin: 2px 0 16px;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: var(--muted); margin: 0 2px; }

/* ===== Article header / hook (flat — no box) ===== */
.article-head { margin: 0 0 6px; }
.article-head .eyebrow { display: none; }   /* reference uses breadcrumb only */
.article-head h1 {
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 29px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 14px;
}
.article-head .byline {
  font-family: "Roboto", Arial, sans-serif;
  font-size: 12.5px;
  color: var(--muted);
  margin: 0 0 4px;
}

/* hero / inline article image (full-width, square) */
.article-img {
  width: 100%;
  border-radius: 0;
  margin: 16px 0;
}

/* body paragraphs (flat — no box) */
.article-body { margin: 0 0 6px; }
.article-body h2 {
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--ink);
  margin: 26px 0 12px;
}
.article-body p { font-size: 18px; line-height: 1.5; color: var(--ink); margin: 0 0 16px; }
.article-body p:last-child { margin-bottom: 0; }
.article-body a { color: var(--link); }

/* ===== Order CTA (green, full-width — reference style) ===== */
.cta-wrap { margin: 22px 0; }
.btn-cta {
  display: block;
  width: 100%;
  background: var(--cta);
  color: #f6f9fe;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  text-transform: none;
  letter-spacing: 0;
  padding: 16px 30px;
  border-radius: 4px;
  box-shadow: rgba(37, 42, 50, 0.32) 0 1px 4px 1px;
  transition: background .15s ease;
}
.btn-cta:hover { background: var(--cta-hover); text-decoration: none; }
.cta-sub {
  font-family: "Roboto", Arial, sans-serif;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
  margin-top: 8px;
}

/* ===== Offer / limited-offer block (pale-yellow — reference) ===== */
.offer-box {
  background: #fdfebf;
  border: 1px solid #e6d96a;
  border-radius: 4px;
  padding: 22px 24px;
  margin: 18px 0;
}
.offer-box .offer-title {
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #e02b2b;
  margin: 0 0 14px;
}
.offer-box p { font-size: 17px; line-height: 1.5; color: var(--ink); margin: 0 0 12px; }
.offer-box p:last-child { margin-bottom: 0; }
.offer-box .note { font-size: 15px; color: #6a6d72; }

/* ============================================================
   Facebook comment thread — LEFT AS-IS (do not restyle).
   Pinned to Helvetica so the article font change above does
   not alter the FB-native look.
   ============================================================ */
.fb-block {
  background: var(--card-bg);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 14px 16px 18px;
  margin: 18px 0 14px;
  font-family: Helvetica, Arial, sans-serif;
}

.fb-postbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--hairline);
}
.fb-postbar .avatar { width: 40px; height: 40px; border-radius: 50%; flex: 0 0 40px; }
.fb-postbar .fakeinput {
  flex: 1;
  min-width: 0;
  background: #f5f6f7;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 8px 14px;
  color: #1c1e21;
  font-size: 13px;
  font-family: inherit;
  outline: none;
}
input.fakeinput::placeholder { color: #7f7f7f; }
input.fakeinput:focus { border-color: #b7bcc4; background: #fff; }
.button-facebook { transition: opacity .15s ease; }
.button-facebook:disabled { opacity: .55; cursor: default; }
@keyframes newComment { from { background: #fff7d6; } to { background: transparent; } }
.fb-comment.just-posted { animation: newComment 1.6s ease forwards; }
.button-facebook {
  background: #4267b2;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.button-facebook.button-disabled { opacity: .55; cursor: default; }

.fb-meta {
  font-size: 13px;
  font-weight: 600;
  color: #7f7f7f;
  margin: 2px 0 12px;
}
.fb-meta .count { color: var(--fb-link); }

.fb-comments { list-style: none; margin: 0; padding: 0; }
.fb-comment {
  list-style: none;
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.fb-comment .profilepic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex: 0 0 40px;
  object-fit: cover;
  background: #d8dade;
}
.fb-comment .bubble-wrap { flex: 1; min-width: 0; }
.fb-comment .bubble {
  background: #f2f3f5;
  border-radius: 16px;
  padding: 8px 12px;
  display: inline-block;
  max-width: 100%;
}
.fb-comment .bubble h3 {
  margin: 0 0 2px;
  font-size: 13px;
  font-weight: 700;
  color: var(--fb-blue);
}
.fb-comment .bubble h3 a { color: var(--fb-blue); }
.fb-comment .bubble p { margin: 0; font-size: 14px; color: #1c1e21; line-height: 1.35; }

.fb-comment .attach {
  margin-top: 6px;
  border-radius: 12px;
  max-width: 240px;
  border: 1px solid var(--hairline);
}

.fbbuttons {
  font-size: 12px;
  color: #7f7f7f;
  margin: 4px 0 0 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.fbbuttons .blue { color: var(--fb-link); font-weight: 600; font-size: 12px; cursor: pointer; }
.fbbuttons .grijs { color: #7f7f7f; font-size: 12px; }
.fbbuttons .likeduim { width: 16px; height: 16px; display: inline-block; }
.fbbuttons .sep { color: #7f7f7f; }

.fb-comment.reply { margin-left: 36px; }
.fb-comment.reply .profilepic { width: 36px; height: 36px; flex-basis: 36px; }
/* ===== end Facebook comment thread ===== */

/* ===== Floating product card (desktop, right side) ===== */
.sidecard {
  position: fixed;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  width: 244px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(0,0,0,.14);
  padding: 18px 18px 0;
  z-index: 60;
  text-align: center;
  overflow: hidden;
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
}
.sidecard-head { font-weight: 700; font-size: 16px; color: var(--ink); }
.sidecard-stars { color: #f5a623; font-size: 18px; letter-spacing: 2px; margin-top: 6px; }
.sidecard-rating { font-size: 12px; color: var(--muted); margin: 5px 0 14px; }
.sidecard-name { color: var(--cta); font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.sidecard-benefits { list-style: none; margin: 0 0 6px; padding: 0; text-align: left; }
.sidecard-benefits li {
  position: relative;
  padding-left: 28px;
  font-size: 13px;
  line-height: 1.35;
  color: #303030;
  margin-bottom: 12px;
}
.sidecard-benefits li::before {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 18px; height: 18px;
  background: center/18px 18px no-repeat
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='12' fill='%234ca73d'/><path d='M6.5 12.5l3.2 3.2 7-7.4' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.sidecard-img { width: 100%; height: auto; margin: 6px 0 0; }
.sidecard-btn {
  display: block;
  background: var(--cta);
  color: #f6f9fe;
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.25;
  padding: 14px 12px;
  margin: 12px -18px 0;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  transition: background .15s ease;
}
.sidecard-btn:hover { background: var(--cta-hover); text-decoration: none; }

@media (max-width: 1180px) { .sidecard { display: none; } }

/* ===== Responsive ===== */
@media (max-width: 620px) {
  .article-head h1 { font-size: 25px; }
  .article-body h2 { font-size: 20px; }
}
