/* The existing copy, calculator and supplementary cards retain their original source order. */
html body .rx-ux-theme-hero {
  display:grid!important;
  grid-template-columns:minmax(0,1.4fr) minmax(305px,.85fr)!important;
  grid-template-areas:"intro form" "secondary form"!important;
  grid-template-rows:min-content auto;
  gap:clamp(12px,1.7vw,24px) clamp(24px,3.1vw,48px)!important;
  align-items:start!important;
}
html body .rx-ux-theme-hero:not(:has(>.rx-ux-secondary)) {grid-template-areas:"intro form"!important;grid-template-rows:auto}
.rx-ux-theme-hero>.rx-ux-intro {grid-area:intro;min-width:0}
.rx-ux-theme-hero>.rx-ux-form-slot {grid-area:form;align-self:start;min-width:0;width:100%;max-width:100%;box-sizing:border-box}
.rx-ux-theme-hero>.rx-ux-secondary {grid-area:secondary;min-width:0;max-width:100%;animation:none!important}
.rx-ux-legacy-form {border:1px solid #d5d9e0;border-radius:12px;background:#fff;color:#212630}
.rx-ux-legacy-form>summary {cursor:pointer;padding:12px 16px;font-weight:650}
.rx-ux-legacy-form .sv-form {margin:0;box-shadow:none}
.rx-ux-theme-hero .rx-ux-intro .rx-h1 {margin-top:.3em}
.rx-ux-theme-hero .rx-ux-intro .rx-prose {margin-top:.65rem}
.rx-ux-theme-hero .rx-ux-intro .rx-prose>section {margin:0;padding:0}
.rx-ux-theme-hero .rx-ux-intro .rx-prose>section>h2 {margin-top:.5em}
.rx-ux-theme-hero .rx-ux-intro .rx-prose>section>p:last-child {margin-bottom:0}
.rx-ux-journey-slot {position:relative;width:100%;min-width:0;max-width:100%;box-sizing:border-box;clear:both}
@media(max-width:900px) {
  html body .rx-ux-theme-hero,html body .rx-ux-theme-hero:not(:has(>.rx-ux-secondary)) {
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-areas:"intro" "form" "secondary"!important;
    grid-template-rows:auto;
    gap:16px!important;
  }
  html body .rx-ux-theme-hero:not(:has(>.rx-ux-secondary)){grid-template-areas:"intro" "form"!important}
}

.rx-ux-tool-jump{display:inline-block;padding:.55em 0;color:#ab2019;font-weight:650;text-underline-offset:.2em}
#rx-ux-page-tool{scroll-margin-top:100px}

.rx-page-enquiry__contact{display:grid;gap:5px;color:inherit;font-size:.875rem;font-weight:650}
.rx-service-index {display:flex;flex-wrap:wrap;gap:8px;margin:clamp(20px,3vw,36px) 0 0}
.rx-service-index a{display:inline-flex;align-items:center;gap:8px;max-width:100%;min-height:44px;padding:7px 12px;border:1px solid var(--line2,#d6dce2);border-radius:10px;background:var(--paper,#fff);color:var(--ink,#1c222a);text-decoration:none;font-size:.875rem;line-height:1.4;box-sizing:border-box}
.rx-service-index a>svg{width:18px;height:18px;flex:none;color:#af2821}
.rx-service-index a small{font-variant-numeric:tabular-nums;font-weight:750;color:var(--ink3,#505665)}
.rx-service-index a:hover,.rx-service-index a:focus-visible,.rx-service-cards a:hover,.rx-service-cards a:focus-visible{border-color:#b6261c}
.rx-service-group{padding-top:clamp(28px,4.5vw,58px);scroll-margin-top:100px}
.rx-service-group__head{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px}
.rx-service-group__head h2,.rx-service-reading h2{margin:0;font-size:clamp(22px,2.2vw,33px);line-height:1.13}
.rx-service-group__head p{margin:.25rem 0 0;color:var(--ink3,#505665)}
.rx-service-group__symbol{display:grid;place-items:center;flex:0 0 40px;height:40px;border-radius:10px;color:#ae281c;background:#fcebe8}
.rx-service-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.rx-service-cards a{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0;padding:clamp(16px,2vw,23px);border:1px solid var(--line2,#d6dce2);border-radius:14px;text-decoration:none;background:var(--paper,#fff);color:var(--ink,#1c222a);overflow-wrap:anywhere}
.rx-service-cards h3{margin:0;font-size:clamp(16px,1.5vw,20px);line-height:1.25}
.rx-service-cards p{margin:0;color:var(--ink3,#505665);font-size:.9rem;line-height:1.52}
.rx-service-cards__open{display:inline-flex;align-items:center;gap:7px;margin-top:auto;padding-top:10px;color:#9e221b;font-size:.8rem;font-weight:700}
.rx-service-cards__open svg{width:16px;height:16px}
.rx-service-reading{border-left:3px solid #b8271e;padding-left:18px;margin:clamp(24px,4vw,44px) 0}
.rx-service-reading p{margin:.6rem 0 0;max-width:68ch}
html[data-rx-theme="dark"] .rx-service-cards a,html[data-rx-theme="dark"] .rx-service-index a{background:#22262c;color:#f6f6f6;border-color:#484d55}
html[data-rx-theme="dark"] :is(.rx-service-cards p,.rx-service-group__head p,.rx-service-index small){color:#c1c7cf}
html[data-rx-theme="dark"] :is(.rx-service-index a>svg,.rx-service-cards__open){color:#ffa298}
@media(max-width:900px){.rx-service-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){.rx-service-cards{grid-template-columns:minmax(0,1fr)}}
.rx-ux-theme-hero>.rx-ux-tail{grid-area:extra;min-width:0;align-self:start}
.rx-ux-theme-hero>.rx-ux-tail>:first-child{margin-top:0!important}
html body .rx-ux-theme-hero:has(>.rx-ux-tail){grid-template-areas:"intro form" "extra form" "secondary form"!important;grid-template-rows:min-content min-content auto}
html body .rx-ux-theme-hero:has(>.rx-ux-tail):not(:has(>.rx-ux-secondary)){grid-template-areas:"intro form" "extra form"!important;grid-template-rows:min-content auto}
@media(max-width:900px){
  html body .rx-ux-theme-hero:has(>.rx-ux-tail){grid-template-areas:"intro" "form" "extra" "secondary"!important;grid-template-rows:auto}
  html body .rx-ux-theme-hero:has(>.rx-ux-tail):not(:has(>.rx-ux-secondary)){grid-template-areas:"intro" "form" "extra"!important}
}
@media(max-width:600px){
  html body .rx-ux-theme-section[style*="max-width:1280px"]{padding-inline:16px!important;padding-top:18px!important}
  html body .rx-ux-theme-section>.rx-ux-theme-hero[style*="padding:"]{padding-inline:16px!important;padding-top:18px!important}
  html body .rx-ux-theme-hero .rx-ux-intro h1{font-size:clamp(26px,7.3vw,34px)!important;line-height:1.1!important;max-width:none!important;margin-block:10px!important}
  html body .rx-ux-theme-hero .rx-ux-intro>p,html body .rx-ux-theme-hero .rx-ux-intro .rx-prose p{font-size:15px!important;line-height:1.55!important}
  html body .rx-ux-theme-hero .rx-ux-intro .rx-prose h2{font-size:20px!important;line-height:1.2!important}
}
@layer redicoBento {
@media (max-width:600px){
  /* The archived audience landing pages otherwise force their opening paragraph to desktop size. */
  html[data-rx-bento] body .rx-ux-theme-hero .rx-ux-intro :is(#mp-answer,#rdi-b2b-section-1)>p {font-size:15px!important;line-height:1.55!important}
  html[data-rx-bento] body .rx-ux-theme-hero .rx-ux-intro :is(#mp-answer,#rdi-b2b-section-1)>h2 {font-size:20px!important;line-height:1.2!important}
}
}
