/* ==========================================================================
   Similius Billing Terms & Conditions — Urenus look & feel
   Target:  https://us.similius.com/billing-terms-conditions/  (page ID 26)
   Model:   https://urenus.com/en-us/pages/billing-terms-conditions
   Markup:  similius-billing-page.html  (Custom HTML block)

   Loaded by the Similius Styles plugin on page 26 only.

   The Urenus page is theme-rendered, not a custom HTML block, so these are
   computed values measured at 1440px:
     column           .page-width--narrow 780px - 40px padding = 700px, centred
     page title       48px / 700 / #42434D / line-height 1.2
     section heading  32px / 700 / #42434D / line-height 1.2, 20px below
     body             16px / #42434D, 32px between paragraphs
     links            #42434D, underlined, weight 400

   Same 700px measure and 48px title as the disclaimer page, so the two policy
   pages read as a set.

   ONE DELIBERATE DEPARTURE: Urenus sets line-height 1.2 on body copy. That is
   cramped over a document this long, so this uses 1.6 — set --bill-lh to 1.2
   for an exact match. (Same call as the FAQ answers and the disclaimer.)
   ========================================================================== */

body.page-id-26 #sim-billing {
  --bill-ink: #42434D;      /* rgb(66, 67, 77) */
  --bill-lh: 1.6;
}


/* --- Column ------------------------------------------------------------- */
/* Blocksy's constrained layout puts an !important auto margin on
   .entry-content's children, so the margin needs !important here — the same
   trap as the about and disclaimer pages. */

body.page-id-26 #sim-billing {
  width: min(700px, calc(100% - 40px));
  max-width: none;
  margin-inline: auto !important;
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--bill-ink);
  font-family: inherit;   /* DM Sans, already the site font */
}

body.page-id-26 #sim-billing * { box-sizing: border-box; }


/* --- Headings ----------------------------------------------------------- */

body.page-id-26 #sim-billing h1 {
  margin: 0 0 2rem;
  color: var(--bill-ink);
  font-size: clamp(2rem, 5vw, 3rem);      /* 48px at full size, as measured */
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

body.page-id-26 #sim-billing h2 {
  margin: 2.5rem 0 20px;
  color: var(--bill-ink);
  font-size: clamp(1.5rem, 3vw, 2rem);    /* 32px at full size, as measured */
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

body.page-id-26 #sim-billing h2:first-of-type { margin-top: 0; }


/* --- Body --------------------------------------------------------------- */

body.page-id-26 #sim-billing p {
  margin: 0 0 32px;
  color: var(--bill-ink);
  font-size: 16px;
  line-height: var(--bill-lh);
}

body.page-id-26 #sim-billing p:last-child { margin-bottom: 0; }

body.page-id-26 #sim-billing strong {
  color: var(--bill-ink);
  font-weight: 700;
}

body.page-id-26 #sim-billing a {
  color: var(--bill-ink);
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.page-id-26 #sim-billing a:hover { text-decoration-thickness: 2px; }


/* --- Mobile ------------------------------------------------------------- */

@media (max-width: 640px) {
  body.page-id-26 #sim-billing {
    width: calc(100% - 2rem);
    padding-block: 2rem;
  }

  body.page-id-26 #sim-billing p { margin-bottom: 24px; }
  body.page-id-26 #sim-billing h2 { margin-top: 2rem; }
}
