/* Charte DGI validée le 7 octobre 2026. Les gabarits restent inchangés. */
:root{
 --dgi-blue:#2F4F96;--dgi-blue-deep:#233D75;--dgi-yellow:#F4C238;
 --dgi-ink:#1D2B45;--dgi-muted:#53627A;--dgi-pale:#F2F5FB;
 --dgi-warm:#FFF8E3;--dgi-border:#DCE3EF;--dgi-white:#FFFFFF;
 --dgi-body:'Open Sans',sans-serif;--dgi-display:'Spectral',serif;
}
/* Font smoothing is inherited by text and native form controls. */
html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
body.elementor-kit-801{
 --e-global-typography-secondary-font-family:'Open Sans';
 --e-global-typography-accent-font-family:'Open Sans';
 font-family:var(--dgi-body);color:var(--dgi-ink);font-size:16px;line-height:1.7;
}
body a:hover{font-weight:inherit}
body a:focus-visible,body button:focus-visible,body input:focus-visible,body [tabindex]:focus-visible{outline:2px solid var(--dgi-blue);outline-offset:4px}
body ::selection{background:var(--dgi-blue);color:var(--dgi-white)}
body .elementor-location-header .wpr-menu-item{color:var(--dgi-blue)}
body .elementor-location-header .wpr-menu-item:hover,body .elementor-location-header .current-menu-item>.wpr-menu-item{color:var(--dgi-blue-deep)}
body .an-mega-intro{background:#FFF8E3}
body .an-mega-intro h2{font-family:var(--dgi-body);color:var(--dgi-blue)}
body .an-mega-columns>li>a{color:var(--dgi-blue)}
body .an-mega-links a{color:var(--dgi-ink)}
body .an-mega-links a::before,body .an-mega-links a:hover{color:var(--dgi-blue)}
body .wpr-mobile-nav-menu a{font-family:var(--dgi-body);font-size:16px;color:var(--dgi-blue)}
body .wpr-mobile-nav-menu a:hover{background:var(--dgi-pale);color:var(--dgi-blue-deep)}
body .wpr-mobile-nav-menu-container .wpr-menu-offcanvas-back{font-family:var(--dgi-body);color:var(--dgi-blue)}
body #content .elementor-widget-theme-post-title h1,
body #content .elementor-widget-theme-post-content :is(h2,h3,h4,h5,h6),
body #content .elementor-widget-heading .elementor-heading-title{color:var(--dgi-blue)}
body #content .elementor-widget-theme-post-content{color:var(--dgi-ink)}
body #content .elementor-widget-theme-post-content a{text-decoration:underline;text-underline-offset:3px}
body.home #content .elementor-widget-heading .elementor-heading-title{font-family:var(--dgi-display);font-weight:600;line-height:1.25}
body .elementor .elementor-button,body .an-search button{
 background:var(--dgi-blue);color:var(--dgi-white);border:1px solid var(--dgi-blue);
 border-radius:2px;font-family:var(--dgi-body);font-size:16px;line-height:1.4;font-weight:600;
}
body .elementor .elementor-button:hover,body .an-search button:hover{background:var(--dgi-blue-deep);border-color:var(--dgi-blue-deep);color:var(--dgi-white)}
body .elementor .elementor-button svg{fill:currentColor}
body .elementor .wpr-ticker-heading{background:var(--dgi-yellow);color:var(--dgi-ink)}
body .elementor .wpr-ticker-heading::before{background:var(--dgi-yellow);border-right-color:var(--dgi-yellow)}
body .elementor .wpr-ticker-heading :is(span,i){color:var(--dgi-ink)}
body .elementor .dgi-priority-action{
 display:inline-block;padding:12px 20px;background:var(--dgi-yellow);color:var(--dgi-ink);
 border-radius:2px;font:600 16px/1.4 var(--dgi-body);text-decoration:none;
}
body .elementor .dgi-priority-action:hover{background:var(--dgi-warm);color:var(--dgi-blue-deep)}
body .elementor-location-footer{--e-global-color-c27df6d:var(--dgi-blue-deep)}
body .elementor-location-footer a:focus-visible{outline-color:var(--dgi-yellow)}
body .elementor-location-footer a:hover{color:var(--dgi-yellow)}
body .elementor-location-footer .elementor-heading-title{font-family:var(--dgi-body)}
body .elementor-toc__header-title{font-family:var(--dgi-body)}
/* Priorité sur les règles compilées des composants historiques. */
body .elementor-location-header .wpr-menu-item{color:var(--dgi-blue)!important}
body .elementor-location-header .wpr-menu-item:hover{color:var(--dgi-blue-deep)!important}
body .elementor .wpr-ticker-heading{background-color:var(--dgi-yellow)!important;color:var(--dgi-ink)!important}
body .elementor .wpr-ticker-heading::before{background-color:var(--dgi-yellow)!important;border-right-color:var(--dgi-yellow)!important}
body .elementor .wpr-ticker-heading :is(span,i){color:var(--dgi-ink)!important}
body .elementor .elementor-button{background-color:var(--dgi-blue)!important;color:var(--dgi-white)!important;border-radius:2px!important;font-size:16px!important}
body .elementor .elementor-button:hover{background-color:var(--dgi-blue-deep)!important;color:var(--dgi-white)!important}
body .elementor .bdt-slide-btn{background:var(--dgi-blue)!important;color:var(--dgi-white)!important;font-family:var(--dgi-body);font-size:16px!important;border-radius:2px}
body .elementor .bdt-slide-btn:hover{background:var(--dgi-blue-deep)!important;color:var(--dgi-white)!important}
body .elementor .bdt-slide-btn svg :is(line,polyline){stroke:currentColor}
body .elementor .bdt-slide-btn:focus-visible{outline-color:var(--dgi-yellow)}
body .elementor .bdt-slide-btn .bdt-slide-btn-icon{color:var(--dgi-white)!important}
body .elementor .bdt-slide-btn svg :is(line,polyline){stroke:var(--dgi-white)!important}
body .wpr-mobile-nav-menu a{font-family:var(--dgi-body)!important;font-size:16px!important;color:var(--dgi-blue)!important}
body.home #content .elementor-icon-list-icon :is(i,svg){color:var(--dgi-blue)!important;fill:var(--dgi-blue)!important}
body .elementor-location-footer :is(a,.elementor-icon-list-text){color:var(--dgi-white)!important;font-size:16px}
body .elementor-location-footer a:hover{color:var(--dgi-yellow)!important}
#content [id]{scroll-margin-top:110px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}

/* Navigation DGI complète : groupes dans leur ordre d’origine. */
.elementor .wpr-mega-menu .an-mega-columns{display:block;columns:3;column-gap:32px;padding:28px 24px}
.an-mega-columns>li{break-inside:avoid;margin-bottom:20px}
.an-mega-columns>li>.an-mega-link{font:700 16px/1.4 var(--dgi-body);color:var(--dgi-blue)}
.an-mega-links .menu-item-has-children>.an-mega-link{font-weight:600}
.elementor .wpr-mega-menu .an-mega-links .an-mega-links{padding-left:14px;border-left:1px solid var(--dgi-border);margin-left:6px}
.dgi-source-marker{font-size:11px;flex-shrink:0;align-self:center;color:var(--dgi-muted)}
.dgi-menu-source-note{display:none;font-size:14px;line-height:1.6;margin-top:24px;color:var(--dgi-muted)}
.wpr-sub-mega-menu:has(.dgi-source-marker) .dgi-menu-source-note{display:block}
.dgi-mobile-overview>a{background:var(--dgi-pale);font-size:14px!important;font-weight:600}
/* Les titres des cartes restent subordonnés aux titres de section. */
body #content .e-loop-item .elementor-widget-theme-post-title h3.elementor-heading-title{font-family:var(--dgi-body);font-size:18px;line-height:1.45!important;font-weight:600;letter-spacing:normal}

/* Un seul composant de fil d’Ariane pour les pages, archives et fiches. */
body #content .dgi-breadcrumb{box-sizing:border-box;width:100%;max-width:1280px;margin:0 auto;padding:16px 24px;color:var(--dgi-muted);font:400 14px/1.6 var(--dgi-body)}
body #content .dgi-breadcrumb ol{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 0;list-style:none;padding:0;margin:0}
body #content .dgi-breadcrumb li{display:inline-flex;align-items:baseline;min-width:0;max-width:100%;padding:0;margin:0;gap:10px}
body #content .dgi-breadcrumb a{color:var(--dgi-blue);font-weight:600;text-decoration:none;overflow-wrap:anywhere}
body #content .dgi-breadcrumb a:hover{text-decoration:underline;text-underline-offset:3px}
body #content .dgi-breadcrumb a:focus-visible{outline:3px solid var(--dgi-yellow);outline-offset:3px}
body #content .dgi-breadcrumb [aria-current="page"]{color:var(--dgi-muted);overflow-wrap:anywhere}
.dgi-breadcrumb-separator{margin-left:10px;flex-shrink:0;color:var(--dgi-muted)}
@media(max-width:767px){body #content .dgi-breadcrumb{padding:14px 20px}}

/* Titres des bandeaux intérieurs, après le fil d’Ariane. */
body:not(.home) #content .elementor-widget-theme-post-title h1,
body:not(.home) #content.elementor-location-archive .elementor-widget-heading h1,
body:not(.home) #content .dgi-doc-heading h1,
body:not(.home) #content .dgi-register-heading h1{font-size:26px;line-height:1.3;font-weight:600}
@media(max-width:767px){
body:not(.home) #content .elementor-widget-theme-post-title h1,
body:not(.home) #content.elementor-location-archive .elementor-widget-heading h1,
body:not(.home) #content .dgi-doc-heading h1,
body:not(.home) #content .dgi-register-heading h1{font-size:24px}
}

/* La navigation de rubrique accompagne la lecture sur ordinateur. */
@media(min-width:1025px){
.elementor-1091 .elementor-element.elementor-element-417c3d56{align-self:stretch;overflow:visible}
.elementor-1091 .elementor-element.elementor-element-c702c10{position:sticky;top:120px;max-height:calc(100dvh - 144px);overflow-y:auto;scrollbar-width:thin}
body.admin-bar .elementor-1091 .elementor-element.elementor-element-c702c10{top:152px;max-height:calc(100dvh - 176px)}
}

body .an-mega-intro .dgi-mega-description{margin:16px 0 0}

/* Flash info shares the theme palette and button typography. */
.dgi-flash{display:flex;align-items:stretch;width:100%;min-width:0;border:1px solid var(--dgi-border);background:var(--dgi-warm);font:400 16px/1.6 var(--dgi-body)}
.dgi-flash-label{display:flex;align-items:center;flex:0 0 auto;padding:16px 24px;background:var(--dgi-yellow);color:var(--dgi-ink);font-weight:700}
body .dgi-flash-link{display:flex;align-items:center;justify-content:space-between;gap:20px;flex:1;min-width:0;padding:16px 24px;color:var(--dgi-blue);font-weight:600;text-decoration:none;white-space:normal;overflow-wrap:anywhere}
.dgi-flash-link svg{flex:0 0 20px}
body .dgi-flash-link:hover{color:var(--dgi-blue-deep);text-decoration:underline;text-underline-offset:4px}
.dgi-flash-link:focus-visible{outline-offset:-4px}
@media(max-width:600px){.dgi-flash{flex-direction:column}.dgi-flash-label{padding:10px 16px}.dgi-flash-link{padding:16px!important}}

/* Continuous news strip; the static fallback stays fully readable. */
.dgi-flash-viewport{flex:1;min-width:0;overflow:auto}
.dgi-flash-track{display:flex;width:max-content}
.dgi-flash-items{display:flex;align-items:center;flex-shrink:0}
body .dgi-flash-link{flex:none;white-space:nowrap;padding:16px 24px;max-width:none;overflow-wrap:normal}
.dgi-flash-link::after{content:"";width:5px;height:5px;border-radius:50%;background:var(--dgi-yellow);margin-left:24px;flex:none}
.dgi-flash.is-running .dgi-flash-viewport{overflow:hidden}
.dgi-flash-viewport:focus-within{overflow:auto}
.dgi-flash-viewport:focus-within .dgi-flash-track{transform:none!important}
body .dgi-flash-pause{border:0;border-left:1px solid var(--dgi-border);border-radius:0;background:var(--dgi-warm);color:var(--dgi-blue);font:600 14px var(--dgi-body);padding:12px;min-width:72px;cursor:pointer}
.dgi-flash-pause[hidden]{display:none}
@media(max-width:600px){.dgi-flash{flex-direction:row;flex-wrap:wrap}.dgi-flash-label{width:100%}.dgi-flash-viewport{width:calc(100% - 72px)}}
@media(prefers-reduced-motion:reduce){.dgi-flash-track{width:100%}.dgi-flash-items{flex-wrap:wrap}body .dgi-flash-link{white-space:normal}.dgi-flash-link::after{display:none}}

/* GSAP owns CTA transforms; CSS retains the established color feedback. */
body .dgi-button-motion{transition-property:background-color,color,border-color!important}
.dgi-team-card a.dgi-button-motion::before{transform:translateX(var(--dgi-arrow-shift,0px))}

/* Historical pages: dates form a quiet reading rail beside the original text. */
body #content .dgi-history-content{font-size:16px;line-height:1.8}
.dgi-history-timeline{margin:32px 0 48px}
.dgi-history-step{display:grid;grid-template-columns:110px minmax(0,1fr);gap:28px;position:relative;padding:0 0 36px}
.dgi-history-step:not(:last-child)::before{content:"";position:absolute;left:109px;top:12px;bottom:-12px;width:1px;background:var(--dgi-border)}
.dgi-history-date{align-self:start;position:relative;padding:5px 12px;background:var(--dgi-warm);color:var(--dgi-blue);font-weight:700;line-height:1.5;text-align:center;border-radius:2px}
body #content .dgi-history-body h3{font:600 21px/1.4 var(--dgi-body);margin:0 0 16px;color:var(--dgi-blue)}
body #content .dgi-history-body p{margin:0 0 14px}
body #content .dgi-history-body ul{padding-left:22px;margin:12px 0 20px}
.dgi-history-body li{margin-bottom:8px}
.dgi-history-body li::marker{color:var(--dgi-blue)}
.dgi-history-body>:last-child{margin-bottom:0!important}
.dgi-reforms-reference{border-top:1px solid var(--dgi-border);padding-top:24px}
body #content .dgi-reforms-reference details{margin:0 0 16px;padding:20px 24px;border:1px solid var(--dgi-border);background:white}
body #content .dgi-reforms-reference summary{font:600 18px/1.5 var(--dgi-body);color:var(--dgi-blue);cursor:pointer}
body #content .dgi-reforms-reference details[open] summary{margin-bottom:24px}
body #content .dgi-reforms-reference i{font-style:normal}
body #content .dgi-reforms-reference h2{font-size:24px;line-height:1.4;margin:36px 0 18px}
body #content .dgi-reforms-reference h3{font-size:20px;line-height:1.5;margin:28px 0 14px}
@media(max-width:600px){.dgi-history-step{grid-template-columns:minmax(0,1fr);gap:16px;padding-bottom:30px}.dgi-history-date{justify-self:start}.dgi-history-step::before{display:none}body #content .dgi-reforms-reference details{padding:16px}body #content .dgi-history-body h3{font-size:20px}}
body #content .dgi-history-content .dgi-history-body>h3:first-child{margin-top:0!important}

/* Reforms: scan the chronology, then open only the required detail. */
.dgi-reform-intro{max-width:72ch}
.dgi-reform-nav{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0 36px}
body #content .dgi-reform-nav a{display:inline-flex;align-items:center;gap:18px;padding:10px 16px;background:var(--dgi-warm);color:var(--dgi-blue);font-size:15px;font-weight:600;text-decoration:none;border-radius:2px}
body #content .dgi-reform-nav a:hover{background:var(--dgi-yellow)}
.dgi-reform-section{scroll-margin-top:150px}
body #content .dgi-reforms-page h2{font-size:24px;line-height:1.4;margin:0 0 12px}
body #content .dgi-reform-hint{color:var(--dgi-muted);font-size:15px;margin:0 0 24px}
.dgi-reforms-page .dgi-history-timeline{margin:0 0 40px}
body #content details.dgi-reform-event{border:0;border-bottom:1px solid var(--dgi-border);border-radius:0;background:white;padding:0;margin:0}
body #content .dgi-reform-event>summary{display:grid;grid-template-columns:104px minmax(0,1fr) 20px;gap:20px;align-items:center;cursor:pointer;padding:20px 0;list-style:none;margin:0;font:600 18px/1.5 var(--dgi-body);color:var(--dgi-blue)}
.dgi-reform-event>summary::-webkit-details-marker{display:none}
.dgi-reform-event>summary::marker{content:""}
.dgi-reform-event>summary:hover .dgi-reform-title{text-decoration:underline;text-underline-offset:4px}
.dgi-reform-event .dgi-history-date{font-size:15px}
.dgi-reform-toggle{width:10px;height:10px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);justify-self:center}
.dgi-reform-event[open] .dgi-reform-toggle{transform:rotate(225deg)}
.dgi-reform-copy{padding:0 40px 24px 124px}
body #content .dgi-reform-copy p{margin:0 0 14px}
body #content .dgi-reform-copy ul{margin:12px 0 16px;padding-left:22px}
.dgi-reform-copy li{margin-bottom:6px}
.dgi-reform-domain-body{padding-top:4px}
body #content .dgi-reform-domain-body>h3{font-size:20px;margin:26px 0 12px}
body #content .dgi-reform-domain-body>h3:first-child{margin-top:0}
body #content .dgi-reform-domain-body details{background:var(--dgi-pale);border:0;margin:24px 0 0}
.dgi-reform-domain-body>p:has(img){float:right;max-width:180px;margin:0 0 20px 20px}
.dgi-reform-domain-body::after{content:"";display:block;clear:both}
.dgi-reforms-page summary:focus-visible{outline:2px solid var(--dgi-blue);outline-offset:4px}
@media(max-width:600px){body #content .dgi-reform-event>summary{grid-template-columns:84px minmax(0,1fr) 16px;gap:12px;font-size:16px;padding:18px 0}.dgi-reform-event .dgi-history-date{font-size:14px;padding:5px 6px}.dgi-reform-copy{padding:0 0 24px}.dgi-reform-nav{display:grid}.dgi-reform-nav a{justify-content:space-between}.dgi-reform-domain-body>p:has(img){float:none;max-width:160px;margin:0 0 20px}}
@media print{.dgi-reform-nav,.dgi-reform-hint{display:none}.dgi-reform-event::details-content,.dgi-reform-domain::details-content{display:block;content-visibility:visible}}

/* Leadership directory: a prominent general director and compact service rows. */
.dgi-team-nav{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 40px}
body #content .dgi-team-nav a{display:inline-flex;align-items:center;gap:24px;padding:12px 18px;background:var(--dgi-warm);color:var(--dgi-blue);font-size:15px;font-weight:600;text-decoration:none;border-radius:2px}
body #content .dgi-team-nav a:hover{background:var(--dgi-yellow)}
body #content .dgi-team-directory>h2{font:600 26px/1.4 var(--dgi-body);margin:0 0 22px;scroll-margin-top:150px}
body.dgi-layout-full .dgi-team-directory .dgi-team-grid{column-gap:48px;border-top:0;margin-top:0;margin-bottom:56px}
body.dgi-layout-full .dgi-team-directory .dgi-team-card{grid-template-columns:160px minmax(0,1fr);column-gap:24px;padding:24px 0;align-content:start;grid-template-rows:auto auto 1fr}
body.dgi-layout-full .dgi-team-directory .dgi-team-card>img{width:160px;height:196px;border-radius:2px}
body #content .dgi-team-directory .dgi-team-card h3{overflow-wrap:normal;word-break:normal}
body #content .dgi-team-directory .dgi-team-card p{font-size:16px;line-height:1.65}
body #content .dgi-team-directory .dgi-team-card>p:has(a){margin-top:12px}
body.dgi-layout-full .dgi-team-directory .dgi-team-grid:first-of-type{grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);gap:0 32px}
body.dgi-layout-full .dgi-team-directory .dgi-team-grid:first-of-type>.dgi-team-card:first-child{grid-template-columns:250px minmax(0,1fr);padding:28px;background:var(--dgi-pale);border:0;align-content:center}
body.dgi-layout-full .dgi-team-directory .dgi-team-grid:first-of-type>.dgi-team-card:first-child>img{width:250px;height:310px}
body.dgi-layout-full .dgi-team-directory .dgi-team-grid:first-of-type>.dgi-team-card:not(:first-child){grid-template-columns:minmax(0,1fr);padding:28px 0;align-content:center}
@media(max-width:1100px){body.dgi-layout-full .dgi-team-directory .dgi-team-grid:first-of-type{grid-template-columns:repeat(2,minmax(0,1fr))}body.dgi-layout-full .dgi-team-directory .dgi-team-grid:first-of-type>.dgi-team-card:first-child{grid-column:1/-1;grid-row:auto}body.dgi-layout-full .dgi-team-directory .dgi-team-grid:first-of-type>.dgi-team-card:not(:first-child){grid-column:auto}body.dgi-layout-full .dgi-team-directory .dgi-team-card{grid-template-columns:120px minmax(0,1fr);column-gap:20px}body.dgi-layout-full .dgi-team-directory .dgi-team-card>img{width:120px;height:150px}}
@media(max-width:767px){body.dgi-layout-full .dgi-team-directory .dgi-team-grid,body.dgi-layout-full .dgi-team-directory .dgi-team-grid:first-of-type{grid-template-columns:minmax(0,1fr)}.dgi-team-nav{display:grid;gap:8px;margin-bottom:32px}.dgi-team-nav a{justify-content:space-between}body #content .dgi-team-directory>h2{font-size:23px}body.dgi-layout-full .dgi-team-directory .dgi-team-grid:first-of-type>.dgi-team-card:first-child{grid-template-columns:minmax(0,1fr);padding:20px}body.dgi-layout-full .dgi-team-directory .dgi-team-grid:first-of-type>.dgi-team-card:first-child>img{width:250px;max-width:100%;height:auto;grid-column:1;grid-row:auto;margin-bottom:20px}body #content .dgi-team-directory .dgi-team-grid:first-of-type>.dgi-team-card:first-child :is(h3,p){grid-column:1;grid-row:auto}}
@media(max-width:380px){body.dgi-layout-full .dgi-team-directory .dgi-team-card{grid-template-columns:88px minmax(0,1fr);column-gap:16px}body.dgi-layout-full .dgi-team-directory .dgi-team-card>img{width:88px;height:112px}}
@media(max-width:767px){body.dgi-layout-full .dgi-team-directory .dgi-team-grid:first-of-type>.dgi-team-card{grid-column:1!important;min-width:0}body.dgi-layout-full .dgi-team-directory .dgi-team-card{min-width:0}.dgi-team-directory{min-width:0;max-width:100%}.dgi-team-nav a{white-space:normal}}

/* Compact editorial hierarchy; banners, navigation and breadcrumbs retain their sizes. */
body:not(.home) #content .elementor-widget-theme-post-content :is(h2,h3,h4,h5,h6){font-weight:700!important;text-transform:none!important;line-height:1.45!important}
body:not(.home) #content .elementor-widget-theme-post-content h2{font-size:22px!important}
body:not(.home) #content .elementor-widget-theme-post-content h3{font-size:18px!important}
body:not(.home) #content .elementor-widget-theme-post-content :is(h4,h5,h6){font-size:16px!important}
body:not(.home) #content .elementor-widget-theme-post-content :is(h2,h3,h4,h5,h6) :is(b,strong){font-weight:inherit}

/* Editorial palette: ink for reading, blue for actions, warm yellow for orientation. */
body:not(.home) #content .elementor-widget-theme-post-content :is(h2,h3,h4,h5,h6){color:var(--dgi-ink)!important}
body:not(.home) #content .elementor-widget-theme-post-content :is(h2,h3,h4,h5,h6) a{color:var(--dgi-blue)}
body:not(.home) #content .elementor-widget-theme-post-content li::marker{color:var(--dgi-ink)}
body #content .dgi-editorial-page details:not(.dgi-editorial-toc)>summary,
body #content .dgi-reforms-reference summary{color:var(--dgi-ink)}
body #content .dgi-editorial-page details[open]>summary,
body #content .dgi-reforms-reference details[open]>summary{background:var(--dgi-warm);padding:12px 16px;border-radius:2px}
body #content .dgi-editorial-page blockquote{background:var(--dgi-warm)}
body #content .dgi-editorial-toc summary{color:var(--dgi-ink)}
body #content .dgi-editorial-toc a,
body #content .dgi-editorial-children a{color:var(--dgi-ink)}
body #content .dgi-editorial-toc a:hover,
body #content .dgi-editorial-children a:hover{color:var(--dgi-blue)}
body #content .dgi-editorial-table th{background:var(--dgi-warm);color:var(--dgi-ink);border-bottom:2px solid var(--dgi-yellow)}
body #content .dgi-editorial-table th :is(p,a){color:var(--dgi-ink)}
body #content .dgi-editorial-table tbody tr:nth-child(even){background:#FAFBFD}
body #content .dgi-reform-event>summary{color:var(--dgi-ink)}
body #content .dgi-history-date{background:var(--dgi-yellow);color:var(--dgi-ink)}
body.dgi-layout-full .dgi-team-directory .dgi-team-grid:first-of-type>.dgi-team-card:first-child{background:var(--dgi-warm)}

/* Navigation: dark at rest; blue only for interactive and current states. */
body .elementor-location-header .wpr-nav-menu a,
body .elementor-location-header .wpr-nav-menu .an-mega-link,
body .dgi-mobile-list .dgi-mobile-row>:is(a,span,.dgi-mobile-group){color:var(--dgi-ink)!important}
body .elementor-location-header .wpr-nav-menu a::before,
body .elementor-location-header .wpr-nav-menu a>i{color:inherit}
/* Navigation: brand blue for hover, keyboard focus and the current page/section. */
body .elementor-location-header .wpr-nav-menu a:is(:hover,:focus-visible,[aria-current="page"]),
body .elementor-location-header .wpr-nav-menu :is(.current-menu-item,.current-menu-ancestor)>a,
body .dgi-mobile-list .dgi-mobile-row>a:is(:hover,:focus-visible,[aria-current="page"]),
body .dgi-mobile-list .dgi-mobile-group:is(:hover,:focus-visible),
body .dgi-mobile-list .is-current>.dgi-mobile-row>:is(a,.dgi-mobile-group){color:var(--dgi-blue)!important}

/* Shared parent-page navigation, including shortcode-based landing pages. */
body #content .dgi-editorial-children ul{list-style:none;padding:0;margin:24px 0}
body #content .dgi-editorial-children li{list-style:none;padding:0;margin:0;border-bottom:1px solid var(--dgi-border)}
body #content .dgi-editorial-children li::marker{content:""}
body #content .dgi-editorial-children li>a{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 12px;min-height:64px;font:600 16px/1.6 var(--dgi-body);color:var(--dgi-ink);text-decoration:none;overflow-wrap:anywhere}
body #content .dgi-editorial-children li>a>span[aria-hidden]{flex:none;font-size:22px;line-height:1}
body #content .dgi-editorial-children li>a:is(:hover,:focus-visible){color:var(--dgi-blue);background:var(--dgi-warm);text-decoration:none}
@media(max-width:600px){body #content .dgi-editorial-children li>a{padding:18px 8px;gap:16px}}

/* Fine separation between the main navigation and page content. */
body header.elementor-806 > .elementor-element.elementor-element-3f1ede8{border-bottom:1px solid var(--dgi-border)}

/* Article title hierarchy and persistent desktop table of contents. */
body.single-post #content.elementor-946 .elementor-widget-theme-post-title h1.elementor-heading-title{font-size:22px;line-height:1.4;font-weight:700}
@media(min-width:1025px){
 body.single-post #content.elementor-946 .elementor-element-794c225{overflow:visible}
 body.single-post #content.elementor-946 .elementor-widget-table-of-contents{position:sticky;top:120px;align-self:stretch;max-height:calc(100dvh - 144px);overflow-y:auto;scrollbar-width:thin;--toc-body-max-height:none}
}
@media(max-width:767px){
 body.single-post #content.elementor-946 .elementor-widget-theme-post-title h1.elementor-heading-title{font-size:20px}
}

body .dgi-carousel-pause{display:block;margin:16px 0 0 auto;padding:8px 12px;border:1px solid var(--dgi-border);border-radius:2px;background:white;color:var(--dgi-ink);font:600 14px/1.5 var(--dgi-body);cursor:pointer}
body .dgi-carousel-pause[hidden]{display:none}
body .dgi-carousel-pause:hover{background:var(--dgi-warm);color:var(--dgi-blue)}
