/* ALL DRIVES DIGITAL 2027 — DESIGN SYSTEM v3.3
   Based on the approved Home v1.6. Applies only to internal pages.
   Home layout, images, content, plugins and navigation behavior remain unchanged. */
:root{--ad-layout-max:1310px;--ad-layout-gutter:56px;--ad-page-hero-height:350px;--ad-page-ink:#25262b;--ad-page-red:#ff001a;--ad-page-action:#c90017;--ad-page-radius:11px;--ad-page-border:#e6e8ec}
/* Shared site chrome: retain the same width at the top and bottom. */
.ad-header .ad-container,.ad-footer .ad-container{width:min(var(--ad-layout-max),calc(100% - 2*var(--ad-layout-gutter)));max-width:none;margin-inline:auto}
.ad-header .ad-nav{min-height:78px}
.ad-footer .ad-footer-content{gap:28px}
/* Normalize internal-page content widths to the exact Home 1.6 frame. */
:where(.ads17 .ads17-wrap,.ad-drix23 .dx-wrap,.adl28 .adl28-wrap,.ade29 .ade29-wrap,.adp27 .adp27-wrap,.adrep25 .adrep-wrap,.adc26 .adc26-wrap,.adseg30 .adseg30-container,.adca31 .adca31-wrap,.adem32 .adem32-wrap){width:min(var(--ad-layout-max),calc(100% - 2*var(--ad-layout-gutter)))!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important}
/* Standardized opening layout for internal pages only. */
:where(.ads17-hero-grid,.ad-drix23 .dx-hero-grid,.adl28-hero-grid,.ade29-hero-grid,.adp27-hero-inner,.adrep25 .adrep-hero-grid,.adc26-hero-grid,.adseg30-hero-grid,.adca31-hero-grid,.adem32-hero-grid){display:grid!important;grid-template-columns:minmax(0,44%) minmax(0,56%)!important;min-height:var(--ad-page-hero-height)!important;align-items:stretch!important;gap:0!important}
:where(.ads17-hero-copy,.ad-drix23 .dx-hero-copy,.adl28-hero-copy,.ade29-intro,.adp27-hero-copy,.adrep25 .adrep-intro,.adc26-hero-copy,.adseg30-hero-copy,.adca31-hero-copy,.adem32-hero-copy){min-width:0!important;align-self:center!important;padding:34px 34px 34px 0!important}
:where(.ads17-hero-image,.ad-drix23 .dx-hero-media,.adl28-hero-media,.ade29-hero-media,.adp27-hero-media,.adrep25 .adrep-hero-graphic,.adc26-hero-visual,.adseg30-hero-visual,.adca31-hero-media,.adem32-hero-media){min-width:0;min-height:var(--ad-page-hero-height)!important;max-height:none}
:where(.ads17-hero h1,.ad-drix23 .dx-hero-copy h1,.adl28-hero h1,.ade29-intro h1,.adp27-hero h1,.adrep25 h1,.adc26-hero h1,.adseg30-hero h1,.adca31 h1,.adem32-hero h1){font-size:clamp(31px,3.05vw,46px)!important;line-height:1.08!important;letter-spacing:-.025em!important;color:var(--ad-page-ink);font-weight:800;margin-top:16px;margin-bottom:13px;overflow-wrap:normal;word-break:normal}
:where(.ads17-hero-copy p,.ad-drix23 .dx-hero-copy>p,.adl28-hero-copy p,.ade29-intro p,.adp27-hero-copy p,.adrep25 .adrep-intro p,.adc26-hero-copy p,.adseg30-hero-copy p,.adca31-hero-copy p,.adem32-hero-copy p){font-size:14.5px!important;line-height:1.46!important;max-width:510px!important}
/* Shared buttons, without changing destination links or JS behavior. */
:where(.ads17-btn,.ad-drix23 .dx-btn,.adl28-btn,.ade29-button,.adp27-btn,.adrep25 .adrep-btn,.adc26-btn,.adseg30-btn,.adca31-btn,.adem32-btn){min-height:43px!important;border-radius:8px!important;font-size:13px!important;line-height:1.25!important;padding:12px 18px!important}
/* Section heading rhythm matches the Home (not content rewrites). */
:where(.ads17-section-title h2,.ad-drix23 .dx-section-head h2,.adl28-section-title h2,.ade29-section-title h2,.adp27-section-title h2,.adrep25 .adrep-section-header h2,.adc26-section-heading h2,.adseg30-section-title h2,.adca31-section-head h2,.adem32-section-title h2){font-size:clamp(24px,2.4vw,32px)!important;line-height:1.14!important;letter-spacing:-.02em!important}
/* Consistent card details; never force image crop, enlarge or shrink thumbnails. */
:where(.ads17-service-card,.ad-drix23 .dx-series-card,.ad-drix23 .dx-episode-card,.adl28-process-card,.ade29-card,.adp27-card,.adrep25 .adrep-card,.adc26-contact-card,.adseg30-card,.adca31-card,.adem32-cards>a){border-radius:var(--ad-page-radius);border-color:var(--ad-page-border);box-shadow:0 4px 14px rgba(21,26,36,.055)}
/* Uniform gutters in the same breakpoint widths as Home v1.6. */
@media(max-width:1100px){:root{--ad-layout-gutter:28px;--ad-page-hero-height:320px}
 :where(.ads17-hero h1,.ad-drix23 .dx-hero-copy h1,.adl28-hero h1,.ade29-intro h1,.adp27-hero h1,.adrep25 h1,.adc26-hero h1,.adseg30-hero h1,.adca31 h1,.adem32-hero h1){font-size:clamp(29px,3.4vw,39px)!important}
 .ad-header .ad-nav{min-height:70px}}
@media(max-width:760px){:root{--ad-layout-gutter:17px;--ad-page-hero-height:220px}
 :where(.ads17-hero-grid,.ad-drix23 .dx-hero-grid,.adl28-hero-grid,.ade29-hero-grid,.adp27-hero-inner,.adrep25 .adrep-hero-grid,.adc26-hero-grid,.adseg30-hero-grid,.adca31-hero-grid,.adem32-hero-grid){grid-template-columns:minmax(0,1fr)!important;min-height:0!important}
 :where(.ads17-hero-copy,.ad-drix23 .dx-hero-copy,.adl28-hero-copy,.ade29-intro,.adp27-hero-copy,.adrep25 .adrep-intro,.adc26-hero-copy,.adseg30-hero-copy,.adca31-hero-copy,.adem32-hero-copy){padding:29px 0 24px!important}
 :where(.ads17-hero-image,.ad-drix23 .dx-hero-media,.adl28-hero-media,.ade29-hero-media,.adp27-hero-media,.adrep25 .adrep-hero-graphic,.adc26-hero-visual,.adseg30-hero-visual,.adca31-hero-media,.adem32-hero-media){min-height:var(--ad-page-hero-height)!important;height:var(--ad-page-hero-height)!important}
 :where(.ads17-hero h1,.ad-drix23 .dx-hero-copy h1,.adl28-hero h1,.ade29-intro h1,.adp27-hero h1,.adrep25 h1,.adc26-hero h1,.adseg30-hero h1,.adca31 h1,.adem32-hero h1){font-size:clamp(30px,7.5vw,39px)!important}
 :where(.ads17-hero-copy p,.ad-drix23 .dx-hero-copy>p,.adl28-hero-copy p,.ade29-intro p,.adp27-hero-copy p,.adrep25 .adrep-intro p,.adc26-hero-copy p,.adseg30-hero-copy p,.adca31-hero-copy p,.adem32-hero-copy p){font-size:14px!important}
 .ad-footer .ad-footer-content{gap:18px}
}
@media(max-width:420px){:root{--ad-layout-gutter:14px}}
