/* Celebrate Recovery hub (page 990234) as native blocks.
   The page used to be one raw HTML block with its own <style> element, scoped under .cr-page. Those rules
   now live here, scoped under .acg-p-cr. The outer group carries BOTH classes ("cr-page acg-p-cr") because
   the theme's page-top photo band keys on .cr-page (style.css: body.has-top-photo .cr-page>.acg-top-band
   and functions.php acg_top_photo()); do not remove .cr-page. Former divs/spans that held text are now
   paragraphs (.eyebrow, .sub, .note, .addr, .head, .t); the six-colour bar (six <i>) is now one Separator block drawn with a gradient;
   the two lesson links are a Buttons block (.lessons) that keeps the old 10px gap (6px above + 4px below
   each button). Restyle the page here, never by putting style="" back into the content. */

.acg-p-cr{
  --red:#F32432; --gold:#F2D85C; --green:#00C853; --cyan:#59E9E7; --blue:#1723F5; --magenta:#EA63EC;
  --redD:#B62935; --greenD:#147845; --blueD:#263D9D; --cyanD:#087D85; --magentaD:#9D3D9D; --goldD:#9B7117;
  --ink:#171716; --charcoal:#28322D; --muted:#5b564d; --hairline:#D9D1C3;
  max-width:680px; margin:0 auto; padding:22px 20px 60px;
  font-family:var(--wp--preset--font-family--body);
  color:var(--ink); font-size:18px; line-height:1.62;
}
.acg-p-cr *{box-sizing:border-box;}
.acg-p-cr h1,.acg-p-cr h2{ font-family:var(--wp--preset--font-family--heading); }
/* Selector outweighs core's .wp-block-separator:not(.is-style-wide):not(.is-style-dots){width:100px} (0,3,0). */
.acg-p-cr hr.wp-block-separator.bar{ height:7px; border:0 !important; border-radius:5px; margin:0 0 20px !important; width:auto; max-width:none; opacity:1; background:linear-gradient(90deg,var(--red) 0 16.667%,var(--gold) 0 33.333%,var(--green) 0 50%,var(--cyan) 0 66.667%,var(--blue) 0 83.333%,var(--magenta) 0); }
.acg-p-cr .eyebrow{ font-size:13px; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); font-weight:600; margin-bottom:6px; }
.acg-p-cr h1{ font-size:38px; line-height:1.06; margin:0 0 10px; }
.acg-p-cr .sub{ font-family:var(--wp--preset--font-family--heading); font-style:italic; font-size:21px; color:var(--charcoal); margin:0 0 22px; }
.acg-p-cr h2{ font-size:15px; letter-spacing:.05em; text-transform:uppercase; margin:34px 0 10px; }
.acg-p-cr .hb{color:var(--blueD);} .acg-p-cr .hr{color:var(--redD);} .acg-p-cr .hg{color:var(--greenD);}
.acg-p-cr .hm{color:var(--magentaD);} .acg-p-cr .hc{color:var(--cyanD);}
.acg-p-cr p{ margin:0 0 14px; }
.acg-p-cr .when{ border:1px solid var(--hairline); border-radius:12px; overflow:hidden; margin:6px 0 8px; }
.acg-p-cr .when .head{ background:var(--charcoal); color:#fff; padding:13px 20px; margin:0; font-family:var(--wp--preset--font-family--heading); font-size:20px; }
.acg-p-cr .when .head span{ display:block; font-family:var(--wp--preset--font-family--body); font-size:13px; letter-spacing:.14em; text-transform:uppercase; color:var(--cyan); margin-bottom:3px; }
.acg-p-cr .row{ display:flex; gap:16px; padding:11px 20px; border-top:1px solid var(--hairline); align-items:baseline; }
.acg-p-cr .row p{ margin:0; }
.acg-p-cr .row .t{ font-family:var(--wp--preset--font-family--heading); font-weight:700; color:var(--redD); min-width:78px; }
.acg-p-cr .note{ font-size:15px; color:var(--muted); font-style:italic; padding:2px 20px 14px; margin:0; }
.acg-p-cr .where{ background:#fbf9f4; border:1px solid var(--hairline); border-radius:12px; padding:18px 20px; margin:16px 0; }
.acg-p-cr .where a{ color:var(--blueD); font-weight:600; }
.acg-p-cr .addr{ font-family:var(--wp--preset--font-family--heading); font-size:19px; color:var(--ink); margin:4px 0 10px; }
.acg-p-cr .where .where-links{ margin:0; }
.acg-p-cr .callout{ background:var(--charcoal); color:#fff; border-radius:12px; padding:20px 22px; margin:26px 0; border-left:6px solid var(--cyan); }
.acg-p-cr .callout p{ margin:0; font-family:var(--wp--preset--font-family--heading); font-style:italic; font-size:21px; line-height:1.4; }
.acg-p-cr ul{ padding-left:22px; margin:0 0 14px; }
.acg-p-cr li{ margin-bottom:7px; }

/* Lesson buttons: were two inline-flex <a class="btn"> split by <br>; each had margin 6px 0 4px, so 10px apart.
   Same spacing kept exactly. */
.acg-p-cr .wp-block-buttons.lessons{ display:block; margin:0; }
.acg-p-cr .lessons .wp-block-button{ display:block; margin:0; }  /* margin sits on the link (inline-flex) as on live, so it does not collapse */
.acg-p-cr .lessons .wp-block-button__link{ display:inline-flex; align-items:center; gap:9px; text-decoration:none; background:var(--charcoal); color:#fff;
  font-weight:600; font-size:17px; padding:13px 22px; border-radius:9px; line-height:1.2; border:1.5px solid transparent; font-family:inherit;
  width:auto; text-align:left; margin:6px 0 4px; }  /* core sets width:100% and centred text on Buttons-block links */
.acg-p-cr .lessons .wp-block-button__link:hover{ background:#1c2420; color:#fff; }

/* WordPress's last-child rules (0,2,0) outweigh a few rules above; restate them. */
.acg-p-cr .callout p:last-child{ margin-bottom:0; }
.acg-p-cr .row p:last-child{ margin-bottom:0; }
.acg-p-cr .where .where-links:last-child{ margin-bottom:0; }
