/* ==========================================================================
   Similius Disclaimers — Urenus look & feel
   Target:  https://us.similius.com/disclaimers/   (page ID 27, block editor)
   Model:   https://urenus.com/en-us/pages/disclaimers
   Markup:  similius-disclaimer-page.html  (Custom HTML block)

   Loaded by the Similius Styles plugin on page 27 only.

   Measured off the live Urenus page (it is theme-rendered, not a custom HTML
   block, so these are computed values):
     column   .page-width--narrow 780px - 40px padding = 700px, centred
     title    48px / 700 / #42434D / DM Sans / line-height 1.2, left aligned
     body     16px / #42434D / CENTRE aligned

   The left-aligned title over centre-aligned body looks like a mistake but it
   is what urenus.com renders, at every width. Kept.

   ONE DELIBERATE DEPARTURE: Urenus sets line-height 1.2 on the body. That is
   fine for its one-line first paragraph and cramped for the nine-line second
   one, which is the bulk of the page. This uses 1.6 — set --disc-lh to 1.2
   for an exact match. (Same call as the FAQ answers.)
   ========================================================================== */

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


/* --- Column ------------------------------------------------------------- */
/* 700px centred, the same measure as the FAQ page. 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 page. */

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

body.page-id-27 #sim-disclaimers * { box-sizing: border-box; }


/* --- Title -------------------------------------------------------------- */

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


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

body.page-id-27 #sim-disclaimers p {
  margin: 0 0 1.25rem;
  color: var(--disc-ink);
  font-size: 16px;
  line-height: var(--disc-lh);
  text-align: center;
}

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

body.page-id-27 #sim-disclaimers strong { font-weight: 700; }

body.page-id-27 #sim-disclaimers a {
  color: var(--disc-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}


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

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

  body.page-id-27 #sim-disclaimers p {
    text-align: left;   /* centred text wraps badly in a narrow column */
  }
}
