/* Reusable commercial components: no service content, URLs, prices or media. */
.rex-brand-ds { --rx-ink:#282828; --rx-surface:#fff; --rx-panel:#fafafa; --rx-line:#e7e7e7; --rx-accent:#fbd542; --rx-link:#8b6500; --rx-radius:16px; }
.rex-brand-md { --rx-ink:var(--text-main-color,#f4f4f4); --rx-surface:#333; --rx-panel:#3c3c3c; --rx-line:#626262; --rx-accent:var(--main-color,#ff9a4d); --rx-link:var(--main-color,#ff9a4d); --rx-radius:var(--brad-regular,10px); }
.rex-onpage-seo,.rex-onpage-faq,.rex-onpage-prices,.rex-area-prices { box-sizing:border-box; min-width:0; color:var(--rx-ink); font-family:inherit; }
.rex-onpage-seo *, .rex-onpage-faq *, .rex-onpage-prices *, .rex-area-prices * { box-sizing:border-box; }
.rex-onpage-seo { font-size:17px; line-height:1.65; overflow-wrap:break-word; }
.rex-onpage-seo p { margin:0 0 1em; }
.rex-onpage-seo h2 { margin:0 0 .8em; font-size:clamp(25px,2.3vw,36px); line-height:1.22; }
.rex-onpage-seo h3 { margin:1.2em 0 .65em; font-size:clamp(21px,1.8vw,27px); line-height:1.3; }
.rex-onpage-seo a,.rex-onpage-prices a,.rex-area-prices a,.rex-onpage-faq a { color:var(--rx-link); text-decoration:underline; text-underline-offset:3px; }
.rex-onpage-seo a:visited,.rex-onpage-prices a:visited,.rex-area-prices a:visited,.rex-onpage-faq a:visited { color:var(--rx-link); }
.rex-onpage-seo a:hover,.rex-onpage-prices a:hover,.rex-area-prices a:hover,.rex-onpage-faq a:hover { text-decoration-thickness:2px; }
.rex-brand-ds .rex-onpage-seo { width:100%; max-width:1180px; margin:40px auto; column-count:1; }
.rex-brand-ds .rex-onpage-seo .services-top__item { width:100%; max-width:none; border:0; border-radius:0; padding:0; margin:0 0 32px; float:none; }
.rex-brand-ds .rex-onpage-seo .seo-text { max-width:none; font:inherit; }
.rex-onpage-seo img { max-width:100%; height:auto; border-radius:var(--rx-radius); }
.rex-brand-md .rex-onpage-seo { padding-top:28px; padding-bottom:20px; margin-bottom:0; }
.rex-brand-md .rex-onpage-seo + .rex-onpage-faq { padding-top:20px; margin-top:0; }
.rex-onpage-seo .rex-disclosure-button { display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:12px 22px; margin-top:4px; border:1px solid var(--rx-accent); border-radius:var(--rx-radius); background:var(--rx-panel); color:var(--rx-ink); font-family:inherit; font-weight:600; font-size:16px; line-height:1.35; cursor:pointer; }
.rex-onpage-seo .rex-disclosure-button:hover { background:var(--rx-accent); color:#282828; }
.rex-onpage-prices { max-width:none; margin:32px 0; padding:28px; background:var(--rx-panel); border:1px solid var(--rx-line); border-radius:var(--rx-radius); font-size:16px; }
.rex-brand-md section.rex-onpage-prices { padding:28px!important; margin:32px 0!important; border:1px solid var(--rx-line); }
.rex-onpage-prices h2,.rex-area-prices h2 { margin:0 0 18px; color:var(--rx-ink); font-size:clamp(25px,2.3vw,36px); line-height:1.22; }
.rex-onpage-prices h3 { margin:24px 0 16px; color:var(--rx-ink); font-size:clamp(20px,1.7vw,26px); line-height:1.3; }
.rex-onpage-prices p { color:var(--rx-ink); margin:12px 0; line-height:1.6; }
.rex-onpage-prices .rex-price-tabs { display:flex; flex-wrap:wrap; gap:10px; margin:22px 0; }
.rex-onpage-prices .rex-price-tabs button { min-width:0; min-height:48px; padding:12px 16px; font:inherit; font-weight:600; font-size:16px; line-height:1.3; white-space:normal; color:var(--rx-ink); background:var(--rx-surface); border:1px solid var(--rx-line); border-radius:var(--rx-radius); cursor:pointer; }
.rex-onpage-prices .rex-price-tabs button[aria-selected=true] { background:var(--rx-accent); border-color:var(--rx-accent); color:#282828; }
.rex-onpage-prices .rex-price-tabs button:hover { border-color:var(--rx-accent); }
.rex-onpage-prices table,.rex-area-prices table { width:100%; table-layout:fixed; border-collapse:separate; border-spacing:0; background:var(--rx-surface); color:var(--rx-ink); margin:16px 0; }
.rex-onpage-prices th,.rex-onpage-prices td,.rex-area-prices th,.rex-area-prices td { padding:14px 16px; text-align:left; vertical-align:top; border:0; border-bottom:1px solid var(--rx-line); color:var(--rx-ink); overflow-wrap:break-word; white-space:normal; font-size:16px; line-height:1.5; }
.rex-onpage-prices thead,.rex-area-prices thead { background:var(--rx-panel); color:var(--rx-ink); }
.rex-onpage-prices th:first-child { width:57%; }
.rex-onpage-prices th:nth-child(2) { width:14%; }
.rex-onpage-prices th:nth-child(3) { width:29%; }
.rex-onpage-prices .rex-price-conditions { color:var(--rx-ink); font-size:15px; }
.rex-table-scroll { max-width:100%; overflow-x:auto; overscroll-behavior-x:contain; }
.rex-onpage-faq { padding:36px 0; margin:0; width:100%; }
.rex-onpage-faq h2 { color:var(--rx-ink); margin:0 0 28px; font-size:clamp(26px,2.5vw,38px); line-height:1.22; }
.rex-onpage-faq dl { margin:0; padding:0; width:100%; }
.rex-onpage-faq dt { margin:12px 0 0; border-radius:var(--rx-radius); background:var(--rx-panel); }
.rex-onpage-faq .rex-faq-button { display:block; position:relative; width:100%; min-height:64px; padding:20px 64px 20px 24px; border:1px solid var(--rx-line); border-radius:var(--rx-radius); background:transparent; color:var(--rx-ink); font-family:inherit; font-weight:600; font-size:18px; line-height:1.4; text-align:left; cursor:pointer; }
.rex-onpage-faq .rex-faq-button::after { content:'+'; display:flex; align-items:center; justify-content:center; position:absolute; right:20px; top:50%; transform:translateY(-50%); width:28px; height:28px; border:1px solid var(--rx-accent); color:var(--rx-ink); border-radius:50%; font-size:24px; line-height:1; }
.rex-onpage-faq .rex-faq-button[aria-expanded=true]::after { content:'−'; background:var(--rx-accent); color:#282828; }
.rex-onpage-faq dd { margin:0; padding:20px 24px; font-size:16px; line-height:1.65; color:var(--rx-ink); }
.rex-onpage-faq dd p { margin:0 0 .7em; }
.rex-onpage-faq dd p:last-child { margin-bottom:0; }
/* Match original brand accordion surfaces after changing divs to dt/dd.
   Do not attach legacy interactive classes: their jQuery assumes old markup. */
.rex-brand-ds .rex-onpage-faq dt { background:#f0f0f0; border-radius:16px; margin-top:16px; }
.rex-brand-ds .rex-onpage-faq .rex-faq-button { border:0; font-weight:700; padding:24px 64px 24px 32px; font-size:clamp(18px,1.4vw,24px); }
.rex-brand-ds .rex-onpage-faq .rex-faq-button::after { border:0; border-radius:0; background:transparent; font-size:28px; }
.rex-brand-ds .rex-onpage-faq dt:has(.rex-faq-button[aria-expanded=true]) { border-radius:16px 16px 0 0; }
.rex-brand-ds .rex-onpage-faq dd { background:#f0f0f0; color:#666; border-radius:0 0 16px 16px; padding:0 32px 24px; }
.rex-brand-md .rex-onpage-faq dt { background:#f8fafb; border-radius:var(--rx-radius); margin-top:18px; }
.rex-brand-md .rex-onpage-faq .rex-faq-button { color:#1c1c1c; border:0; font-weight:700; padding:24px 74px 24px 32px; font-size:clamp(17px,1.3vw,22px); }
.rex-brand-md .rex-onpage-faq .rex-faq-button::after { background:var(--rx-accent); border-color:var(--rx-accent); color:#282828; }
.rex-brand-md .rex-onpage-faq dt:has(.rex-faq-button[aria-expanded=true]) { border-radius:var(--rx-radius) var(--rx-radius) 0 0; }
.rex-brand-md .rex-onpage-faq dd { background:#f8fafb; color:#555; font-weight:500; padding:0 32px 24px; border-radius:0 0 var(--rx-radius) var(--rx-radius); }
.rex-brand-md .rex-onpage-faq dd a { color:#8a410a; }
/* Service-card presentation shared by DS service types, fed by native fields. */
.rex-brand-ds .services-list__item .services-list__bg::after { content:''; position:absolute; inset:0; z-index:1; background:linear-gradient(180deg,rgba(0,0,0,.65),rgba(0,0,0,.28) 45%,rgba(0,0,0,.68)); pointer-events:none; }
.rex-brand-ds .services-list__item .services-list__con { position:relative; z-index:2; }
.rex-brand-ds .services-list__con>h3 { color:#fff; text-shadow:0 1px 3px #000; }
.rex-brand-ds .services-list__pr .link.green,.rex-brand-ds .services-list__pr .link.green:visited { color:#725000; font-size:14px; line-height:1.45; text-decoration:underline; text-underline-offset:3px; min-height:44px; display:inline-flex; align-items:center; padding:8px 0; }
.rex-brand-ds .services-list__pr .link.green::before { border-color:#725000; }
.rex-brand-ds .services-list__con>.rex-card-detail,.rex-brand-ds .services-list__con>a:not(.btn),.rex-brand-ds .services-list__con>.rex-card-detail:visited { color:#fff; text-shadow:0 1px 3px #000; font-size:14px; font-weight:600; min-height:44px; padding:12px 0; text-decoration:underline; text-underline-offset:3px; }
.rex-brand-ds .services-list__con a.rex-card-detail[data-rex-open-faq],.rex-brand-ds .services-list__con a.rex-card-detail[data-rex-open-faq]:visited { color:#fff; text-shadow:0 1px 3px #000; font-size:14px; font-weight:600; min-height:44px; padding:12px 0; text-decoration:underline; text-underline-offset:3px; }
/* Integration-only rules for owned previews; shared theme files unchanged. */
/* R5.1: native fixed cookie notice must not create a footer tail. */
.rex-brand-md .header__nav .nav-menu.nav-menu--level-1 { right:0; left:auto; max-width:min(280px,calc(100vw - 32px)); }
.rex-brand-md .header__nav .nav-menu.nav-menu--level-1 a { white-space:normal; overflow-wrap:break-word; }
.rex-brand-md .header__nav .nav-menu.nav-menu--level-1>li,.rex-brand-md .header__nav .nav-menu.nav-menu--level-1>li>a { width:100%!important; max-width:100%!important; box-sizing:border-box; white-space:normal!important; overflow-wrap:break-word; }
.rex-onpage-faq dd[hidden],.rex-disclosure-rest[hidden] { display:none!important; }
.rex-onpage-faq button:focus-visible,.rex-onpage-seo button:focus-visible,.rex-onpage-prices button:focus-visible,.rex-onpage-seo a:focus-visible,.rex-onpage-prices a:focus-visible { outline:3px solid var(--rx-link); outline-offset:4px; }
@media(max-width:767px) {
 .rex-onpage-seo { font-size:16px; line-height:1.6; }
 .rex-brand-ds .rex-onpage-seo { margin:28px auto; }
 .rex-brand-ds .rex-onpage-seo .services-top__item { margin-bottom:24px; }
 .rex-onpage-prices { padding:18px 12px; margin:26px 0; }
 .rex-brand-md section.rex-onpage-prices { padding:18px 12px!important; margin:26px 0!important; }
 .rex-onpage-prices .rex-price-tabs { gap:8px; margin:18px 0; }
 .rex-onpage-prices .rex-price-tabs button { flex:1 1 calc(50% - 8px); padding:11px 8px; font-size:14px; min-height:48px; }
 .rex-onpage-prices th,.rex-onpage-prices td { padding:11px 7px; font-size:14px; }
 .rex-onpage-prices th:first-child { width:51%; }
 .rex-onpage-prices th:nth-child(2) { width:15%; }
 .rex-onpage-prices th:nth-child(3) { width:34%; }
 .rex-area-prices table { min-width:540px; }
 .rex-onpage-faq { padding:28px 0; }
 .rex-onpage-faq h2 { margin-bottom:20px; }
 .rex-onpage-faq .rex-faq-button { font-size:16px; padding:17px 52px 17px 16px; }
 .rex-onpage-faq .rex-faq-button::after { right:14px; width:24px; height:24px; font-size:21px; }
 .rex-onpage-faq dd { padding:16px; font-size:15px; }
 .rex-brand-ds .rex-onpage-faq .rex-faq-button,.rex-brand-md .rex-onpage-faq .rex-faq-button { font-size:16px; padding:20px 52px 20px 18px; }
 .rex-brand-ds .rex-onpage-faq dd,.rex-brand-md .rex-onpage-faq dd { padding:0 18px 20px; }
}
