/* Ceylon Cinnamon advertorial landing page.
   Rebuild of metabolae.com/pages/lp-ceylon-cinnamon-metabolic-control-1
   Everything is scoped under .lpcc so it is safe to drop into a live theme. */

.lpcc {
  --lpcc-ink: #242424;
  --lpcc-ink-soft: #2b3453;
  --lpcc-black: #151515;
  --lpcc-green: #3daa35;
  --lpcc-green-bright: #3dc601;
  --lpcc-green-tint: #f1fdf0;
  --lpcc-amber: #fdac2b;
  --lpcc-highlight: #ffe380;
  --lpcc-alert-bg: #fffbd9;
  --lpcc-panel: #f4f4f4;
  --lpcc-comment: #f0f2f5;
  --lpcc-rule: #e2e2e2;
  --lpcc-max: 1240px;
  --lpcc-body: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --lpcc-head: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-family: var(--lpcc-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--lpcc-ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

.lpcc *,
.lpcc *::before,
.lpcc *::after { box-sizing: border-box; }

.lpcc p { margin: 0 0 16px; }
.lpcc p:last-child { margin-bottom: 0; }
.lpcc img { display: block; max-width: 100%; height: auto; }
.lpcc a { color: inherit; }

.lpcc__container {
  width: 100%;
  max-width: var(--lpcc-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Trust bar */

.lpcc__trustbar { background: var(--lpcc-black); }

.lpcc__trustbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.lpcc__trustbar-badge { width: 127px; }

.lpcc__trustbar-label {
  font-size: 16px;
  line-height: 1.3;
  color: var(--lpcc-ink);
}

/* Page grid */

.lpcc__grid {
  display: grid;
  grid-template-columns: minmax(0, 9fr) minmax(0, 3fr);
  column-gap: 30px;
  align-items: start;
  padding-top: 20px;
  padding-bottom: 48px;
}

.lpcc__main--a { grid-column: 1; grid-row: 1; }
.lpcc__aside { grid-column: 2; grid-row: 1; }
.lpcc__main--b { grid-column: 1; grid-row: 2; }

/* Alert banner */

.lpcc__alert {
  background: var(--lpcc-alert-bg);
  border: 1px solid var(--lpcc-black);
  padding: 14px 16px;
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.45;
}

.lpcc__alert-flag { color: #d81f1f; font-weight: 700; }
.lpcc__alert strong { font-weight: 700; }

/* Headline */

.lpcc__h1 {
  font-family: var(--lpcc-head);
  font-size: 30px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--lpcc-ink);
  margin: 0 0 6px;
}

.lpcc__h1-kicker { font-weight: 500; }

.lpcc__dek {
  font-size: 16px;
  line-height: 1.5;
  color: var(--lpcc-ink-soft);
  margin: 0 0 20px;
}

.lpcc__mark {
  background: var(--lpcc-highlight);
  color: #000;
}

/* Rating */

.lpcc__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.lpcc__stars { display: inline-flex; gap: 2px; }
.lpcc__stars svg { width: 16px; height: 16px; fill: var(--lpcc-amber); }
.lpcc__rating-count { font-size: 14px; font-weight: 700; }

/* Hero media */

.lpcc__hero { margin: 0 0 22px; }
.lpcc__hero img { width: 100%; }

/* Byline */

.lpcc__byline {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--lpcc-rule);
  margin-bottom: 22px;
}

.lpcc__byline-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

.lpcc__byline-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--lpcc-ink-soft);
}

.lpcc__byline-meta {
  font-size: 14px;
  font-style: italic;
  color: var(--lpcc-ink-soft);
}

/* Body copy */

.lpcc__lede p { margin-bottom: 18px; }
.lpcc__lede strong { font-weight: 700; }

.lpcc__h3 {
  font-family: var(--lpcc-head);
  font-size: 23px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--lpcc-ink);
  margin: 34px 0 18px;
}

/* Two column media and copy */

.lpcc__split {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  column-gap: 48px;
  align-items: start;
  margin-bottom: 10px;
}

.lpcc__split-media img { width: 100%; }

/* Check list */

.lpcc__checks {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

.lpcc__checks li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
  line-height: 1.5;
}

.lpcc__checks svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  margin-top: 3px;
  fill: var(--lpcc-green-bright);
}

/* Offer box */

.lpcc__offer {
  background: var(--lpcc-green-tint);
  border: 2px dotted var(--lpcc-black);
  padding: 28px 22px 24px;
  margin: 34px 0;
  text-align: center;
}

.lpcc__offer-head {
  font-family: var(--lpcc-head);
  font-size: 29px;
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 4px;
  text-transform: capitalize;
}

.lpcc__offer-head span { display: block; }
.lpcc__offer-head .lpcc__offer-green { color: var(--lpcc-green); }

.lpcc__offer-note {
  font-size: 14px;
  font-weight: 700;
  margin: 6px 0 14px;
}

/* Countdown */

.lpcc__countdown {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 22px;
}

.lpcc__countdown-unit {
  background: var(--lpcc-black);
  color: #fff;
  min-width: 52px;
  padding: 8px 6px;
  text-align: center;
}

.lpcc__countdown-value {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
}

.lpcc__countdown-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Buttons */

.lpcc__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 24px 21px;
  border-radius: 5px;
  background: var(--lpcc-green);
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color .2s ease;
}

.lpcc__btn:hover { background: #34922d; }
.lpcc__btn svg { width: 18px; height: 18px; fill: currentColor; flex: 0 0 auto; }

.lpcc__btn--side {
  padding: 16px 5px;
  font-size: 19px;
  font-weight: 600;
  text-transform: capitalize;
}

.lpcc__guarantee {
  font-size: 16px;
  margin-top: 12px;
}

/* Sidebar */

.lpcc__sidebar {
  position: sticky;
  top: 20px;
  background: var(--lpcc-panel);
  padding: 20px 16px 18px;
  text-align: center;
}

.lpcc__sidebar-head {
  font-family: var(--lpcc-head);
  font-size: 23px;
  line-height: 1.3;
  font-weight: 700;
  margin: 0 0 14px;
}

.lpcc__sidebar-head .lpcc__offer-green { color: var(--lpcc-green); }
.lpcc__sidebar-media { margin-bottom: 16px; }
.lpcc__sidebar-guarantee { margin-top: 16px; }

/* Comments */

.lpcc__comments { margin-top: 36px; }

.lpcc__comment {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  column-gap: 12px;
  background: var(--lpcc-comment);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 12px;
}

.lpcc__comment--reply { margin-left: 16.6667%; }

.lpcc__comment-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.lpcc__comment-name {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
}

.lpcc__comment-text {
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 10px;
}

.lpcc__comment-likes { width: 74px; }

/* Final CTA */

.lpcc__final {
  text-align: center;
  margin-top: 40px;
}

.lpcc__final-media {
  max-width: 420px;
  margin: 0 auto 18px;
}

.lpcc__final-head {
  font-family: var(--lpcc-head);
  font-size: 29px;
  line-height: 1.25;
  font-weight: 700;
  text-transform: capitalize;
  margin: 0 0 6px;
}

.lpcc__final-sub {
  font-size: 19px;
  line-height: 1.35;
  text-transform: capitalize;
  margin: 0 0 20px;
}

.lpcc__final .lpcc__btn { max-width: 620px; }

/* Tablet */

@media (max-width: 1024px) {
  .lpcc__grid {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    column-gap: 24px;
  }
  .lpcc__h1 { font-size: 28px; }
  .lpcc__split { column-gap: 32px; }
}

/* Mobile */

@media (max-width: 767px) {
  .lpcc__grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 24px;
    padding-bottom: 32px;
  }
  .lpcc__main--a,
  .lpcc__aside,
  .lpcc__main--b { grid-column: 1; grid-row: auto; }
  .lpcc__sidebar { position: static; }
  .lpcc__trustbar-badge { width: 95px; }
  .lpcc__trustbar-label { font-size: 12px; }
  .lpcc__h1 { font-size: 24px; }
  .lpcc__h3 { font-size: 20px; margin-top: 28px; }
  .lpcc__offer-head,
  .lpcc__final-head { font-size: 24px; }
  .lpcc__split {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 16px;
  }
  .lpcc__btn { padding: 14px 21px; font-size: 17px; }
  .lpcc__btn--side { padding: 14px 5px; font-size: 17px; }
  .lpcc__comment--reply { margin-left: 8%; }
  .lpcc__comment { grid-template-columns: 44px minmax(0, 1fr); }
  .lpcc__comment-avatar { width: 44px; height: 44px; }
  .lpcc__final-sub { font-size: 17px; }
}

