/* IDP — complément commun, à charger après site.css. */
/* 2026-10-19 : motif compact sous Contribuer au projet de l'Institut. */
body.page-id-10 .idp-domain-feature::after{display:none!important}

/* 2026-10-19 : même axe de lecture dans les blocs de formation. */
.idp-home-pillars .idp-pillar{padding-inline:30px}
@media(max-width:760px){.idp-home-pillars .idp-pillar{padding-inline:20px}}
:root{--paper:#fff;--ink:#10162f;--gold:#c9b27c;--gold-text:#76623b;--line:#dfded8;--blue-mist:#fff;--serif:"Source Serif 4",Georgia,serif;--sans:"Source Sans 3",Arial,sans-serif}
body{background:var(--paper);color:var(--ink)}
button,input,select,textarea{font-family:var(--sans)}
.idp-content :is(h2,h3,h4),.idp-page-header h1{font-family:var(--serif)}
.idp-page-header h1 .idp-title-specialisation{display:block;margin-top:12px;font-size:.66em;line-height:1.3;letter-spacing:0}
.idp-content :is(.idp-study-ivory,.idp-study-mist,.idp-study-navy,.idp-chapter-overview,.idp-project-invitation){background:var(--paper);color:var(--ink);border-color:var(--gold)}
.idp-content .idp-study-navy :is(h2,h3,p,li,a){color:var(--ink)}
.idp-content .idp-study-navy .idp-button{background:var(--ink);color:#fff!important;border-color:var(--ink)}
.idp-content .idp-study-navy .idp-button:hover{background:#242d4a}
.idp-eyebrow,.idp-section-kicker{color:var(--gold-text)}
.idp-nav summary{min-height:44px;display:flex;align-items:center;gap:7px}
.idp-nav summary::before{content:"▸";font-size:12px;transition:transform .15s}
.idp-nav details[open]>summary::before{transform:rotate(90deg)}
.idp-nav summary{list-style:none}
.idp-nav summary::-webkit-details-marker{display:none}
.idp-nav .idp-search-menu>summary::before{content:none}
.idp-nav details>div a{min-height:44px;align-content:center;line-height:1.5}
.idp-nav summary:focus-visible,.idp-nav a:focus-visible{outline:2px solid var(--gold-text);outline-offset:4px}
.idp-footer-nav li{margin-bottom:10px}
.idp-footer-nav a,.idp-footer-contact>a{padding:4px 0;overflow-wrap:anywhere}
.idp-footer-bottom a{padding:8px 0;min-height:36px;display:inline-flex;align-items:center}
.idp-content [id]{scroll-margin-top:calc(var(--idp-sticky-offset,0px) + var(--idp-bar-height,44px) + 24px)}
.idp-content details.idp-programme-detail{margin:18px 0;border-top:1px solid var(--gold);border-bottom:1px solid var(--line);padding:0 0 8px}
.idp-programme-detail>summary{cursor:pointer;padding:18px 4px;min-height:48px;font:600 20px/1.45 var(--sans);color:var(--ink)}
.idp-programme-detail>div{padding:4px 4px 16px}
.idp-curriculum{margin:12px 0 24px;padding-left:26px}
.idp-curriculum li{padding:8px 0;break-inside:avoid}
.idp-curriculum strong,.idp-curriculum span{display:block}
.idp-curriculum span{font-size:16px;line-height:1.6;margin-top:3px}
.idp-programme-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;border-top:1px solid var(--gold);border-bottom:1px solid var(--line);margin:24px 0}
.idp-programme-facts>div{padding:16px 0}
.idp-programme-facts dt{font-size:13px;color:var(--gold-text);font-weight:600}
.idp-programme-facts dd{margin:4px 0 0;font-size:18px;line-height:1.5}
.idp-mastere-plan>section{margin-bottom:40px}
.idp-mastere-plan>section>h2{padding-top:20px;border-top:1px solid var(--gold)}
.idp-mastere-plan>section:first-child>h2{padding-top:0;border-top:0}
@media(min-width:900px){.idp-explorer-menu>div{grid-template-rows:repeat(8,auto)!important}}
@media(max-width:760px){
 .idp-header{gap:16px;align-items:stretch}
 .idp-brand{align-self:center}
 .idp-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:8px 16px;width:100%;min-width:0}
 .idp-nav details{position:static;min-width:0}
 .idp-nav details[open]{grid-column:1/-1}
 .idp-nav details>div{position:static!important;display:block!important;min-width:0!important;max-width:none!important;width:100%!important;max-height:60vh;max-height:60dvh;overflow-y:auto;margin:4px 0 12px;padding:10px 16px;box-shadow:none;grid-template-rows:none!important}
 .idp-nav summary{padding:8px 2px}
 .idp-nav>.idp-button{min-height:48px}
 .idp-nav .idp-search-menu{grid-column:auto!important;grid-row:auto!important}
 .idp-nav .idp-search-menu[open]{grid-column:1/-1!important}
 .idp-nav .idp-search-menu>summary{justify-content:center}
 .idp-nav .idp-search-menu[open]>summary{justify-content:flex-start}
 .idp-nav .idp-site-search input{min-width:0;width:100%}
 .idp-page-header h1{font-size:clamp(30px,8vw,43px);line-height:1.15;letter-spacing:-.5px}
 .idp-page-layout{gap:24px;padding-top:28px}
 .idp-content h2{font-size:29px;line-height:1.25}
 .idp-content h3{font-size:24px}
 .idp-programme-facts{grid-template-columns:1fr}
 .idp-programme-facts>div{padding:12px 0;border-bottom:1px solid var(--line)}
 .idp-programme-facts>div:last-child{border-bottom:0}
 .idp-actions{gap:16px}
 .idp-actions .idp-button{width:100%}
 .idp-footer-top>div{align-items:stretch;flex-direction:column;width:100%}
 .idp-footer-cta{display:block;text-align:center}
 .idp-footer-nav a,.idp-footer-contact>a{min-height:44px;align-content:center}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.idp-nav summary::before{transition:none}}
@media print{
 .idp-nav,.idp-toc,.idp-page-bar,.idp-discovery,#idp-type-panel{display:none!important}
 details.idp-programme-detail>div{display:block!important}
 details.idp-programme-detail::details-content{display:block!important;content-visibility:visible!important}
 .idp-programme-detail>summary{list-style:none}
 .idp-programme-facts{display:block}
 .idp-content :is(h2,h3,h4){break-after:avoid}
 .idp-content a{color:#000!important}
 .idp-page-layout{display:block;padding:0}
 .idp-content{max-width:none}
}

/* 20 octobre 2026 — hiérarchie et respiration des signes validés. */
.idp-brand{width:390px;max-width:100%}
.idp-header{column-gap:32px}
.idp-hero{align-items:center}
.idp-hero>.idp-hero-symbol{width:min(100%,320px);height:auto;max-height:350px;justify-self:center;align-self:center}
.idp-page-header:has(img.idp-page-symbol){display:grid;grid-template-columns:minmax(0,1fr) 132px;column-gap:40px;align-items:center;padding-right:48px;min-height:0}
.idp-page-header:has(img.idp-symbol-bare-star){grid-template-columns:minmax(0,1fr) 68px}
.idp-page-header:has(img.idp-symbol-star){grid-template-columns:minmax(0,1fr) 100px}
.idp-page-header .idp-breadcrumb{grid-column:1/-1}
.idp-page-header:has(img.idp-page-symbol)>.idp-page-eyebrow{grid-column:1;grid-row:2}
.idp-page-header:has(img.idp-page-symbol)>h1{grid-column:1;grid-row:3;max-width:100%;margin-right:0}
.idp-page-header>p:has(>img.idp-page-symbol){display:contents}
.idp-page-header img.idp-page-symbol{position:static;grid-column:2;grid-row:2/4;justify-self:center;align-self:center;width:100%;height:auto;max-height:160px;margin:0;opacity:1;object-fit:contain;pointer-events:none}
.idp-page-header img.idp-symbol-composition{max-height:154px}
.idp-page-header img.idp-symbol-bare-star{max-width:62px;max-height:62px}
.idp-pillar::after,.idp-domain-feature::after{display:none!important;content:none!important;background-image:none!important}
.idp-home-pillars .idp-pillar-3::after,.idp-home-pillars .idp-pillar-5::after{display:none!important;content:none!important;background-image:none!important}
body.page-id-10 .idp-domain-feature::after{display:none!important}
.idp-footer-inner{grid-template-columns:minmax(180px,1.12fr) minmax(0,1fr) minmax(0,.85fr) minmax(220px,1.25fr);gap:36px;align-items:start}
.idp-footer-home{width:100%;max-width:260px;padding:0;margin:0 0 24px}
.idp-footer-home img.idp-official-logo{width:100%;height:auto;max-width:260px;object-fit:contain;background:transparent}
.idp-footer-brand>p{margin-top:18px;max-width:26ch}
.idp-footer-brand::after{content:none;display:none;background-image:none}
@media(max-width:1100px){.idp-brand{width:340px}.idp-footer-inner{grid-template-columns:repeat(2,minmax(0,1fr));gap:38px 48px}}
@media(max-width:760px){
 .idp-brand{width:min(280px,100%);padding:4px 0}.idp-header{row-gap:20px}
 .idp-hero>.idp-hero-symbol{width:220px;max-height:240px;margin:0 auto}
 .idp-page-header:has(img.idp-page-symbol){display:grid;grid-template-columns:minmax(0,1fr);column-gap:0;padding-right:22px;row-gap:0}
 .idp-page-header:has(img.idp-page-symbol)>h1{grid-column:1;grid-row:3;max-width:100%}
 .idp-page-header img.idp-page-symbol{grid-column:1;grid-row:4;justify-self:start;width:84px;max-height:94px;margin:22px 0 0}
 .idp-page-header img.idp-symbol-bare-star{width:38px;max-height:38px;margin-top:20px}
 .idp-page-header img.idp-symbol-star{width:70px;max-height:80px}
 .idp-home-pillars .idp-pillar::after{display:none!important}
 .idp-footer-inner{grid-template-columns:minmax(0,1fr);gap:32px}
 .idp-footer-home,.idp-footer-home img.idp-official-logo{max-width:250px}
 .idp-footer-brand::after{margin-top:20px;width:82px;height:28px;background-size:96px auto}
}
@media print{.idp-footer-brand::after,.idp-hero>.idp-hero-symbol,.idp-page-header img.idp-page-symbol{display:none!important}.idp-page-header:has(img.idp-page-symbol){display:block}}

@media(max-width:760px){.idp-brand-caption{padding-left:34%;font-size:12px;letter-spacing:.2px;white-space:nowrap}}

/* 20 octobre 2026 — rythme éditorial commun, après harmonisation des logos. */
:root{--gold:#8B6F3E;--gold-text:#8B6F3E;--idp-rule:#B49A64;--idp-reading-width:72ch}
.idp-page-header h1{font-size:clamp(34px,3.9vw,56px);line-height:1.16;letter-spacing:-.025em}
.idp-content{font-family:var(--sans);font-size:18px;line-height:1.75;text-align:left}
.idp-content p{line-height:1.75;margin-top:0;margin-bottom:20px;text-indent:0;max-width:var(--idp-reading-width)}
.idp-content p:not(.has-text-align-center):not(.has-text-align-right){text-align:left}
.idp-content :is(h2,h3,h4){font-family:var(--serif);font-weight:400;text-decoration:none;letter-spacing:-.012em;overflow-wrap:break-word}
.idp-content h2,.idp-content .idp-study-chapter h2,.idp-content .idp-academie-chapter>h2{font-size:32px;line-height:1.25;margin:40px 0 20px}
.idp-content h3{font-size:26px;line-height:1.3;margin:30px 0 16px}
.idp-content h4{font-size:21px;line-height:1.4;margin:24px 0 12px}
.idp-content .idp-domain-feature p,.idp-content .idp-chapter-overview p{font-size:18px;line-height:1.75}
.idp-content :is(.idp-reading-chapter,.idp-study-chapter,.idp-study-region):not(.idp-chapter-overview):not(.idp-bachelor-detail-body){padding:32px 0!important;margin:0!important;background:transparent!important;border:0;border-top:1px solid var(--idp-rule)}
.idp-content :is(.idp-reading-chapter,.idp-study-chapter,.idp-study-region)>h2:first-child{margin-top:0!important}
.idp-content :is(.idp-reading-chapter,.idp-study-chapter,.idp-study-region)>:last-child{margin-bottom:0}
.idp-content .idp-mastere-plan>section>h2{border-top:0;padding-top:0}
.idp-content .idp-domain-feature{padding:24px 0;margin:0;border-top:1px solid var(--idp-rule)}
.idp-content .idp-domain-feature h3{margin-top:0!important}
.idp-content :is(.idp-chapter-overview,.idp-project-invitation){padding:24px 28px!important;margin:28px 0;border:1px solid #10162F;border-left:3px solid var(--gold);border-radius:0;box-shadow:none;background:#fff;color:#10162F}
.idp-content :is(.idp-chapter-overview,.idp-project-invitation)>:first-child{margin-top:0!important}
.idp-content :is(.idp-chapter-overview,.idp-project-invitation)>:last-child{margin-bottom:0}
.idp-content ul,.idp-content ol{margin:0 0 24px;padding-left:26px;line-height:1.65}
.idp-content li{padding-left:3px;margin:0 0 10px}
.idp-content li:last-child{margin-bottom:0}
.idp-content blockquote{margin:28px 0;padding:4px 0 4px 24px;border-left:2px solid var(--gold);font-size:19px;line-height:1.7}
.idp-content p a:not(.idp-button):not(.wp-block-button__link),.idp-content li a:not(.idp-button){text-decoration-line:underline;text-decoration-color:var(--idp-rule);text-decoration-thickness:1px;text-underline-offset:.22em;text-decoration-skip-ink:auto}
.idp-content a:hover{text-decoration-color:#8B6F3E}
.idp-button,.wp-block-button__link{font-family:var(--sans);font-size:15px;line-height:1.45;min-height:48px;padding:13px 20px;border-radius:0;text-decoration:none!important;white-space:normal;text-align:center}
.idp-content :is(.idp-study-route,.idp-programme-shortcuts,.idp-study-jumps){font-size:14px;line-height:1.55;border-color:var(--idp-rule)}
.idp-content .idp-study-route a,.idp-content .idp-programme-shortcuts a{min-height:44px}
.idp-content .idp-payment-terms,.idp-content .idp-programme-request{border-top-color:var(--idp-rule)}
.idp-page-header,.idp-home-section,.idp-programmes>a,.idp-results>a{border-color:var(--idp-rule)}
.idp-content hr{height:0;border:0;border-top:1px solid var(--idp-rule);margin:32px 0}
.idp-content table{font:16px/1.6 var(--sans);border-collapse:collapse}
.idp-content th,.idp-content td{padding:13px 16px;vertical-align:top;border-color:#D7D4CE}
.idp-content th{background:#10162F;color:#fff;font-weight:600;text-align:left}
.idp-content .idp-tariff-table{max-width:100%;overflow-x:auto;margin:20px 0 24px}
.idp-content .idp-tariff-table table{min-width:0;width:100%}
.idp-home-pillars .idp-pillar{padding:30px;border-radius:0;box-shadow:none}
.idp-home-pillars .idp-pillar p{font-size:18px;line-height:1.75;margin:0 0 20px}
.idp-home-pillars .idp-pillar :is(h2,h3){font:400 32px/1.25 var(--serif);margin:0 0 20px}
.idp-pillar-3,.idp-recruitment-banner,.idp-band{background:#10162F;color:#fff;border-radius:0;box-shadow:none}
.idp-pillar-3 :is(h2,h3,p,a),.idp-recruitment-banner :is(h2,h3,p,a){color:#fff}
.idp-pillar-3 .idp-eyebrow,.idp-recruitment-banner .idp-eyebrow{color:#D6BF86}
.idp-footer-nav h2,.idp-footer-contact h2{font:600 14px/1.5 var(--serif);letter-spacing:.08em;margin-bottom:20px}
.idp-footer-nav a,.idp-footer-contact p,.idp-footer-contact>a,.idp-footer-contact p>a{font-size:15px;line-height:1.6}
.idp-footer-nav a,.idp-footer-contact a{text-underline-offset:.22em;text-decoration-thickness:1px}
.idp-footer-bottom,.idp-footer-bottom a,.idp-footer-institution{font-size:13px;line-height:1.6}
@media(max-width:760px){
 .idp-page-header h1{font-size:clamp(30px,8vw,40px);line-height:1.2}
 .idp-content{font-size:17px;line-height:1.75}
 .idp-content h2,.idp-content .idp-study-chapter h2,.idp-content .idp-academie-chapter>h2{font-size:28px;line-height:1.28;margin:32px 0 18px}
 .idp-content h3{font-size:24px;line-height:1.3;margin-top:26px}
 .idp-content h4{font-size:20px;line-height:1.4}
 .idp-content .idp-domain-feature p,.idp-content .idp-chapter-overview p{font-size:17px}
 .idp-content :is(.idp-reading-chapter,.idp-study-chapter,.idp-study-region):not(.idp-chapter-overview):not(.idp-bachelor-detail-body){padding:26px 0!important}
 .idp-content :is(.idp-chapter-overview,.idp-project-invitation){padding:22px 20px!important}
 .idp-content table{font-size:15px}.idp-content th,.idp-content td{padding:11px 12px}
 .idp-home-pillars .idp-pillar{padding:24px 20px}.idp-home-pillars .idp-pillar p{font-size:17px}.idp-home-pillars .idp-pillar :is(h2,h3){font-size:28px}
 .idp-footer-top>p{font-size:25px;line-height:1.3}
}
@media print{.idp-content{font-size:11pt}.idp-content h2,.idp-content .idp-study-chapter h2{font-size:19pt}.idp-content h3{font-size:15pt}.idp-content :is(.idp-chapter-overview,.idp-project-invitation){background:white!important;color:#10162F!important;border:1px solid #888;padding:12pt!important}.idp-pillar-3{background:white!important;color:#10162F!important}.idp-pillar-3 :is(h2,h3,p,a){color:#10162F!important}}

.idp-content .idp-bachelor-section>h2{font-size:32px;line-height:1.25}
@media(max-width:760px){.idp-content .idp-bachelor-section>h2{font-size:28px;line-height:1.28}}

.idp-academie-harmonisee .idp-content .idp-academie-chapter>h2{font-size:32px;line-height:1.25;margin:0 0 20px}
.idp-content table :is(th,td){padding:13px 16px}
@media(max-width:760px){.idp-academie-harmonisee .idp-content .idp-academie-chapter>h2{font-size:28px;line-height:1.28;margin-bottom:18px}.idp-content table :is(th,td){padding:11px 12px}}

/* Accueil et bandeaux compacts — 20 octobre 2026. */
.idp-brand-caption{font:500 18px/1.4 var(--sans);color:#10162F;letter-spacing:.15px;margin-top:6px}
.idp-page-bar{min-height:0}
.idp-page-bar-inner{min-height:34px}
.idp-page-bar>p{margin:0!important;height:0;line-height:0}
.idp-page-bar .idp-bar-up{min-height:34px;padding-top:5px;padding-bottom:5px;line-height:1.4}
.idp-discovery-panel>summary{min-height:34px;padding:5px 48px;font:14px/1.5 var(--sans)}
.idp-discovery-panel>summary span{font-size:18px;line-height:1}
@media(max-width:1050px){.idp-discovery-panel>summary{padding-inline:30px}}
@media(max-width:760px){.idp-brand-caption{padding-left:34%;font-size:16px;line-height:1.4;white-space:nowrap}.idp-page-bar-inner{min-height:40px}.idp-page-bar .idp-bar-up{min-height:40px}.idp-discovery-panel>summary{min-height:40px;padding:8px 22px}}

/* Accueil : rapprocher le titre du bandeau supérieur. */
.idp-hero{padding-top:36px}
.idp-hero h1{margin-top:0}
@media(max-width:760px){.idp-hero{padding-top:28px}}

/* Bandeau de recherche encore plus compact. */
.idp-discovery{margin-block-start:0!important}
.idp-discovery-panel>summary{min-height:28px;padding-top:3px;padding-bottom:3px;line-height:20px}
@media(max-width:760px){.idp-discovery-panel>summary{min-height:36px;padding-top:7px;padding-bottom:7px}}

/* En-tête principal : réduire les marges sans réduire les logos. */
.idp-header{padding-top:12px;padding-bottom:12px}
.idp-header>p:empty{display:none}
.idp-header .idp-brand-caption{margin-top:3px}
@media(max-width:760px){.idp-header{padding-top:8px;padding-bottom:10px;row-gap:12px}.idp-header .idp-brand{padding-top:0;padding-bottom:0}}

/* Les deux bandeaux partagent la même hauteur. */
.idp-page-bar-inner{min-height:28px}
.idp-page-bar .idp-bar-up{min-height:28px;padding-top:3px;padding-bottom:3px;line-height:20px}
@media(max-width:760px){.idp-page-bar-inner{min-height:36px}.idp-page-bar .idp-bar-up{min-height:36px;padding-top:7px;padding-bottom:7px}}

/* Signature directement rattachée au nom de l’Institut. */
.idp-header .idp-brand-caption{padding-left:24%;margin-top:-28px;font-size:18px;font-weight:600;line-height:1.4;letter-spacing:.2px;color:#10162F;position:relative}
@media(max-width:760px){.idp-header .idp-brand-caption{padding-left:36%;margin-top:-10px;font-size:16px;white-space:nowrap}}

/* Faire remonter le premier écran et ses liens de découverte. */
.idp-hero{padding-top:12px}
.idp-home-main{margin-block-start:0!important}
@media(max-width:760px){.idp-hero{padding-top:18px}}

/* Ouvertures de page compactes, cohérentes avec l’accueil. */
.idp-page-header{padding-top:22px;padding-bottom:24px}
.idp-page-header .idp-breadcrumb{margin-top:0;margin-bottom:12px;font-size:13px;line-height:1.5;gap:8px 12px}
.idp-page-header .idp-page-eyebrow{margin:0 0 6px;line-height:1.5}
.idp-page-header>h1,.idp-page-header:has(img.idp-page-symbol)>h1{margin-top:6px;margin-bottom:10px}
.idp-page-header:not(:has(img.idp-page-symbol))>h1{max-width:100%}
.idp-page-header img.idp-symbol-composition{max-height:125px}
.idp-page-layout{margin-block-start:0!important;padding-top:28px}
.idp-content>h2:first-child,.idp-content>.idp-reading-chapter:first-child>h2:first-child{margin-top:0}
@media(max-width:760px){
 .idp-page-header{padding-top:18px;padding-bottom:20px}
 .idp-page-header:has(img.idp-page-symbol){grid-template-columns:minmax(0,1fr) 64px;column-gap:16px;row-gap:0;padding-top:18px;padding-bottom:20px}
 .idp-page-header:has(img.idp-page-symbol)>.idp-page-eyebrow{grid-column:1;grid-row:2;align-self:center;margin:0}
 .idp-page-header:has(img.idp-page-symbol)>h1{grid-column:1/-1;grid-row:3;margin-top:10px;margin-bottom:6px}
 .idp-page-header img.idp-page-symbol{grid-column:2;grid-row:2;width:54px;max-height:64px;margin:0;justify-self:end;align-self:center}
 .idp-page-header img.idp-symbol-bare-star{width:30px;max-height:30px;margin:0}
 .idp-page-header img.idp-symbol-star{width:48px;max-height:54px}
 .idp-page-layout,.idp-study-hub-page .idp-page-layout{padding-top:22px}
}

.idp-page-header:has(img.idp-page-symbol){row-gap:0}
.idp-page-header img.idp-symbol-composition{width:90px;max-height:100px}
.idp-page-header img.idp-symbol-rings{width:88px;max-height:88px}
.idp-page-header img.idp-symbol-star{width:80px;max-height:80px}
@media(max-width:760px){.idp-page-header img.idp-symbol-composition,.idp-page-header img.idp-symbol-rings{width:54px;max-height:64px}.idp-page-header img.idp-symbol-star{width:48px;max-height:54px}}
