/* The approved site-wide heading sizes (desktop / phone).
   Layered !important wins over the scattered former template sizes only.
   Body text, links, buttons, badges and pricing/benefit callouts are untouched. */
@layer rl-heading-sizes {
 :root {
  --rl-heading-large: clamp(20px, 3.33vw, 44px);
  --rl-heading-medium: 30px;
  --rl-heading-small: 16px;
 }
 @media(max-width:760px) {
  :root {
   --rl-heading-medium: 23px;
   --rl-heading-small: 13px;
  }
 }
 @media(max-width:600px) {
  :root { --rl-heading-large: min(30px, 7.65vw); }
 }
 /* A review-approved wrapping exception belongs on the individual page.
    Override the specific --rl-heading-* variable for that heading only. */
 body :is(h1,[role=heading][aria-level="1"]){font-size:var(--rl-heading-large)!important}
 body :is(h2,[role=heading][aria-level="2"]){font-size:var(--rl-heading-medium)!important}
 body :is(h3,h4,h5,h6,[role=heading][aria-level="3"],[role=heading][aria-level="4"],[role=heading][aria-level="5"],[role=heading][aria-level="6"]),
 body :is(.od-choice-name,.maker364-copy>strong,.maker364-list-title,.home-maker-mini-card strong,.at-guide-card-copy>strong,.pet-purpose-card-copy>strong,.pet-plan-choice b,.rn-list a strong,.home-option-choices a b){font-size:var(--rl-heading-small)!important}
 /* A few old art-directed layouts set nowrap for a smaller previous size.
    Retain their explicit line breaks, but give Japanese titles a safe wrap
    when a narrow viewport or a long title no longer fits the column. */
 body :is(h1,h2){min-inline-size:0;overflow-wrap:anywhere}
 body h1{white-space:normal!important}
 body :is(.hero,.pet-hero,.at-hero,.od-hero,.rn-hero) h1>span{white-space:normal!important;-webkit-box-decoration-break:clone;box-decoration-break:clone}
}
