/* Review-only overlay. Enable with body.site-design-next; no colour changes. */
html:root body.site-design-next {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
html:root body.site-design-next :is(.btn,.btn-primary,.btn-main,.btn-outline,.btn-secondary,.offer-buy,.offer-alternative,.offer-tiers a,.opc-buy,.br-actions a:last-child,.aud-hero-actions .textlink) {
  border-radius: 16px!important;
  min-height: 48px;
  box-sizing: border-box;
  max-width: 100%;
  padding: 12px 20px;
  font-family: inherit;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: 0;
  white-space: normal;
  text-wrap: balance;
  overflow-wrap: anywhere;
  text-align: center;
}
html:root body.site-design-next :is(.card,.offer-card,.sale-summary.offer-card,.account-entry,.opc-next,.br-entry,.sale-example) {border-radius: 20px!important;}
html:root body.site-design-next .offer-card .offer-visual {border-radius: 19px 19px 0 0!important;}
html:root body.site-design-next :is(.offer-conditions,.opc-picker a) {border-radius: 12px;}
html:root body.site-design-next :is(main,.hero,.sale-intro) :is(h1,h2,h3) {
  font-family: inherit;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: manual;
  letter-spacing: -.02em;
}
html:root body.site-design-next :is(main,.hero,.sale-intro) h1 {line-height: 1.17;}
html:root body.site-design-next :is(main,.hero,.sale-intro) h2 {line-height: 1.25;}
html:root body.site-design-next :is(main,.hero,.sale-intro) h3 {line-height: 1.3;}
html:root body.site-design-next main :is(p,li) {text-wrap: pretty;}
html:root body.site-design-next :is(.lead,.intro,.sale-intro>p:last-child) {line-height: 1.7;max-width: 65ch;}
html:root body.site-design-next .offer-card :is(.offer-benefit,li) {font-size: 16px;line-height: 1.65;}
html:root body.site-design-next .offer-card .offer-benefit {min-height: 0;}
html:root body.site-design-next .offer-card h3 {min-height: 0;margin-bottom: 16px;}
html:root body.site-design-next .offer-buttons {gap: 12px;}
html:root body.site-design-next .offer-conditions {font-size: 14px;line-height: 1.6;}
html:root body.site-design-next header.cn-header .cn-mobile>summary {border-radius: 12px!important;}
html:root body.site-design-next header.cn-header .cn-panel {border-radius: 0 0 16px 16px;}
html:root body.site-design-next header.cn-header .cn-panel a {border-radius: 8px!important;}
@media(max-width:650px) {
  html:root body.site-design-next :is(main,.hero,.sale-intro) h1 {font-size: clamp(1.85rem,7.6vw,2.5rem);}
  html:root body.site-design-next :is(main,.hero,.sale-intro) h2 {font-size: clamp(1.5rem,6vw,2rem);}
  html:root body.site-design-next :is(main,.hero,.sale-intro) :is(h1,h2,h3) {hyphens:auto;}
  html:root body.site-design-next :is(.btn,.offer-buy,.offer-alternative,.offer-tiers a) {padding:12px 16px;}
}

/* Extended page types. Preserve palette, semantics, focus styles and control types. */
html:root body.site-design-next :is(main,article,.entry-content,.wp-site-blocks) :is(h1,h2,h3) {
  text-wrap:balance; overflow-wrap:break-word; letter-spacing:-.02em!important;
}
html:root body.site-design-next :is(main,article,.entry-content) h1 {
  font-size:clamp(1.9rem,3.4vw,3.25rem)!important;line-height:1.18!important;
}
html:root body.site-design-next :is(main,article,.entry-content) :is(h2,h3) {line-height:1.3!important;}
html:root body.site-design-next :is(main,article,.entry-content) p {line-height:1.7;text-wrap:pretty;}
/* Match the specificity of legacy important rules without changing colours. */
html:root body.site-design-next.site-design-next :is(main,.wp-site-blocks,.entry-content,article) :is(button,.button,.btn,.wp-block-button__link,.wp-element-button,input[type=submit],input[type=button],a[class$="-btn"],.hts-en-course-button,.heb-buy,.he-buy,.hts-aff-btn,.hts-sc-btn,.hts-kurs-cta-btn) {
  border-radius:16px!important; min-height:44px;max-width:100%;box-sizing:border-box;
  white-space:normal!important;overflow-wrap:anywhere;line-height:1.45!important;
  text-wrap:balance;letter-spacing:0!important;
}
html:root body.site-design-next :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=color]),select,textarea) {
  border-radius:10px!important;max-width:100%;box-sizing:border-box;font-size:16px;min-width:0;
}
html:root body.site-design-next :is(main,.entry-content,article) :is(.card,.panel,.box,.callout,.product,.resource,.pillar,.course-step,.lesson-card) {border-radius:18px!important;}
html:root body.site-design-next :is(main,article,.entry-content) :is(fieldset,.card,.panel,.box,.grid>*,.columns>*) {min-width:0;}
html:root body.site-design-next :is(pre,code) {overflow-wrap:anywhere;}
html:root body.site-design-next pre {max-width:100%;overflow-x:auto;}
@media(max-width:650px){
 html:root body.site-design-next :is(main,article,.entry-content) h1 {font-size:clamp(1.85rem,7.6vw,2.4rem)!important;}
 html:root body.site-design-next :is(main,article,.entry-content) :is(h1,h2,h3) {hyphens:auto;}
}
