/* Page Agence, shared desktop and mobile reading controls. */
html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-agence-details {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px 12px;
    margin:12px 0 16px;
    max-width:100%;
}
html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-agence-detail {display:contents;}
html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-agence-detail > summary {
    grid-row:1;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    min-width:0;
    min-height:48px;
    padding:12px 16px;
    border:1px solid #f0867b;
    border-radius:12px;
    background:#102640;
    color:#fff;
    font-family:inherit;
    font-size:16px;
    font-weight:600;
    line-height:1.3;
    cursor:pointer;
    list-style:none;
    touch-action:manipulation;
}
html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-agence-detail:first-child > summary {grid-column:1;}
html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-agence-detail:last-child > summary {grid-column:2;}
html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-agence-detail > summary::-webkit-details-marker {display:none;}
html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-agence-detail > summary::after {content:none!important;}
html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-agence-detail > summary:focus-visible {outline:3px solid #fff;outline-offset:3px;}
html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-agence-detail[open] > summary {background:#244666;}
html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-agence-detail-arrow {color:#f0867b;font-size:24px;line-height:1;transition:transform .15s;}
html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-agence-detail[open] .oyc-agence-detail-arrow {transform:rotate(180deg);}
html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-agence-detail-content {
    grid-column:1 / -1;
    min-width:0;
    padding:16px 18px;
    border:1px solid rgba(240,134,123,.35);
    border-radius:12px;
    background:#102640;
}
html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-agence-detail:not([open]) > .oyc-agence-detail-content {display:none!important;}
html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-agence-detail-content p {text-align:left!important;line-height:1.65!important;}
@media(max-width:767px) {
    html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-hero-info {width:calc(100% - 28px)!important;padding:12px 0 24px!important;}
    html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-hero-meta {display:flex!important;flex-wrap:wrap!important;gap:8px!important;}
    html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-hero-meta-match {flex-basis:100%;white-space:normal!important;font-size:13px!important;line-height:1.45!important;}
    html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-agence-detail > summary {padding:12px;font-size:15px;}
    html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-agence-detail-content {padding:14px;}
    html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-hero-intro,
    html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-final-panel p,
    html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-final-panel li {font-size:16px!important;line-height:1.65!important;text-align:left!important;overflow-wrap:break-word;}
    html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-final-panel p + p {margin-top:14px!important;}
    html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-final-panel a,
    html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-final-panel button {overflow-wrap:anywhere;}
    html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-next-episodes-grid {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;}
    html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-next-episode {min-height:48px!important;padding:12px 14px!important;}
    html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-final-casting-description {padding:16px!important;font-size:16px!important;line-height:1.65!important;}
}
@media(prefers-reduced-motion:reduce) {
    html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-agence-detail-arrow {transition:none;}
}
@media(max-width:767px) {
    html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence #oyc-final-panel-3 .oyc-rp-tabs,
    html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence #oyc-final-panel-3 .oyc-final-ref-tabs {
        display:grid!important;
        grid-template-columns:minmax(0,1fr)!important;
        justify-content:stretch!important;
        gap:8px!important;
        width:100%!important;
        min-width:0!important;
        max-width:100%!important;
        margin:0 0 18px!important;
        padding:0!important;
        overflow:visible!important;
        transform:none!important;
    }
    html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence #oyc-final-panel-3 .oyc-rp-tab,
    html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence #oyc-final-panel-3 .oyc-final-ref-tab {
        box-sizing:border-box!important;
        width:100%!important;
        min-width:0!important;
        max-width:100%!important;
        min-height:46px!important;
        margin:0!important;
        padding:10px 12px!important;
        white-space:normal!important;
        overflow-wrap:break-word!important;
        text-align:center!important;
        font-size:14px!important;
        line-height:1.35!important;
        transform:none!important;
    }
}

/* Three complete agency tabs, at all screen sizes. */
html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-agence-jump-nav {grid-template-columns:repeat(3,minmax(0,1fr))!important;}
html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-agence-jump[href="#oyc-final-panel-4"],
html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-agence-jump[aria-controls="oyc-final-panel-4"],
html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence #oyc-final-panel-4 {display:none!important;}

html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-agence-details > .oyc-agence-detail-content {
    grid-column:1 / -1!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    box-sizing:border-box!important;
}
html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-agence-details > .oyc-agence-detail-content[hidden] {display:none!important;}
/* Mobile agency navigation: three full-width rows. */
@media(max-width:767px) {
    html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-agence-jump-nav {
        display:flex!important;
        flex-direction:column!important;
        flex-wrap:nowrap!important;
        align-items:stretch!important;
        gap:8px!important;
        width:calc(100% - 24px)!important;
        max-width:none!important;
        height:auto!important;
        max-height:none!important;
        margin:0 auto 14px!important;
        padding:6px 0!important;
        overflow:visible!important;
        scroll-snap-type:none!important;
    }
    html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-agence-jump-nav .oyc-agence-jump,
    html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-agence-jump-nav .oyc-agence-jump.is-active {
        display:grid!important;
        grid-template-columns:72px minmax(0,1fr)!important;
        align-items:center!important;
        justify-content:stretch!important;
        flex:0 0 auto!important;
        width:100%!important;
        min-width:0!important;
        max-width:100%!important;
        height:auto!important;
        min-height:58px!important;
        max-height:none!important;
        margin:0!important;
        padding:4px!important;
        border-radius:12px!important;
        background:#071730!important;
        transform:none!important;
    }
    html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-agence-jump-nav .oyc-agence-jump::before {display:none!important;}
    html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-agence-jump-nav .oyc-agence-jump > img,
    html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-agence-jump-nav .oyc-agence-jump > picture {
        position:static!important;
        display:block!important;
        width:72px!important;
        height:48px!important;
        max-height:none!important;
        border-radius:8px!important;
        object-fit:cover!important;
    }
    html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-agence-jump-nav .oyc-agence-jump > picture > img {
        position:static!important;
        width:100%!important;
        height:48px!important;
        max-height:none!important;
        object-fit:cover!important;
    }
    html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-agence-jump-nav .oyc-agence-jump span,
    html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-agence-jump-nav .oyc-agence-jump.is-active span {
        display:block!important;
        min-width:0!important;
        max-height:none!important;
        padding:8px 12px!important;
        font-size:16px!important;
        line-height:1.3!important;
        white-space:normal!important;
        text-align:left!important;
        overflow:visible!important;
        -webkit-line-clamp:unset!important;
        line-clamp:unset!important;
    }
    html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-agence-details,
    html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-hero-descriptions {
        width:100%!important;
        max-width:none!important;
        min-width:0!important;
    }
    html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-agence-details > .oyc-agence-detail-content,
    html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-agence-details > .oyc-agence-detail-content p {
        width:100%!important;
        min-width:0!important;
        max-width:none!important;
        text-align:left!important;
        box-sizing:border-box!important;
    }
    html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-agence-details > .oyc-agence-detail-content {
        grid-column:1 / -1!important;
        padding:14px!important;
    }
}

html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-agence-jump-nav .oyc-agence-jump[href="#oyc-final-panel-4"],
html body.oyc-agence-full-page #page-container #main-content .oyc-page-agence .oyc-agence-jump-nav .oyc-agence-jump[aria-controls="oyc-final-panel-4"] {display:none!important;}

/* Navigation des six enjeux : deux rangées complètes sur téléphone. */
@media(max-width:767px){
 html body #page-container #main-content .oycpi-enjeux .oycpi-enjeux-major{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-flow:row!important;gap:8px!important;overflow:visible!important;scroll-snap-type:none!important;padding:4px 0 0!important;width:100%!important;max-width:100%!important;align-items:stretch!important}
 html body #page-container #main-content .oycpi-enjeux .oycpi-enjeux-major>.oycpi-enjeux-tile{display:flex!important;flex-direction:column!important;flex:none!important;width:100%!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:178px!important;margin:0!important;padding:0!important;border-radius:15px!important;transform:none!important;box-sizing:border-box!important}
 html body #page-container #main-content .oycpi-enjeux .oycpi-enjeux-major>.oycpi-enjeux-tile>img{position:relative!important;inset:auto!important;display:block!important;width:100%!important;height:64px!important;flex:0 0 64px!important;object-fit:cover!important;z-index:0!important}
 html body #page-container #main-content .oycpi-enjeux .oycpi-enjeux-major>.oycpi-enjeux-tile>.oycpi-enjeux-tile-label{position:static!important;inset:auto!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:7px!important;width:100%!important;height:auto!important;min-height:0!important;padding:9px 6px!important;transform:none!important;overflow:visible!important}
 html body #page-container #main-content .oycpi-enjeux .oycpi-enjeux-tile-label>.oycpi-enjeux-tile-verb{font:800 13px/1.2 Arial,sans-serif!important;height:auto!important;min-height:47px!important;max-height:none!important;white-space:normal!important;overflow:visible!important;overflow-wrap:anywhere!important}
 html body #page-container #main-content .oycpi-enjeux .oycpi-enjeux-tile-label>.oycpi-enjeux-tile-subline{font:400 11px/1.25 Arial,sans-serif!important;height:auto!important;max-height:none!important;white-space:normal!important;overflow:visible!important;overflow-wrap:anywhere!important}
 /* Le raccourci global reste disponible sous les six rubriques. */
 html body #page-container #main-content .oycpi-enjeux .oycpi-enjeux-major>.oycpi-enjeux-all{grid-column:1/-1!important;min-height:36px!important;border-radius:10px!important}
 html body #page-container #main-content .oycpi-enjeux .oycpi-enjeux-major>.oycpi-enjeux-all>img{display:none!important}
 html body #page-container #main-content .oycpi-enjeux .oycpi-enjeux-all .oycpi-enjeux-tile-label>.oycpi-enjeux-tile-verb{min-height:0!important;text-align:center!important}
}

/* Vignettes proches du carré, sans la rubrique globale sur téléphone. */
@media(max-width:767px){
 html body #page-container #main-content .oycpi-enjeux .oycpi-enjeux-major>.oycpi-enjeux-tile{aspect-ratio:1/1!important;min-height:0!important;border-radius:12px!important}
 html body #page-container #main-content .oycpi-enjeux .oycpi-enjeux-major>.oycpi-enjeux-tile>img{height:40px!important;flex-basis:40px!important}
 html body #page-container #main-content .oycpi-enjeux .oycpi-enjeux-major>.oycpi-enjeux-tile>.oycpi-enjeux-tile-label{padding:6px 5px!important;gap:4px!important}
 html body #page-container #main-content .oycpi-enjeux .oycpi-enjeux-tile-label>.oycpi-enjeux-tile-verb{font-size:12px!important;min-height:29px!important}
 html body #page-container #main-content .oycpi-enjeux .oycpi-enjeux-tile-label>.oycpi-enjeux-tile-subline{font-size:10px!important}
 html body #page-container #main-content .oycpi-enjeux .oycpi-enjeux-major>.oycpi-enjeux-all{display:none!important}
}

/* Garder tout le texte dans le fond bleu, indépendamment du positionnement du thème. */
.oyc-enjeux-bottom-nav{display:none!important}
@media(max-width:767px){
 html body #page-container #main-content .oycpi-enjeux .oycpi-enjeux-major>.oycpi-enjeux-tile{display:grid!important;grid-template-rows:40px auto!important;align-content:start!important;aspect-ratio:auto!important;min-height:128px!important;height:auto!important}
 html body #page-container #main-content .oycpi-enjeux .oycpi-enjeux-major>.oycpi-enjeux-tile>.oycpi-enjeux-tile-label{display:grid!important;grid-template-rows:auto auto!important;align-content:start!important;align-self:stretch!important;min-height:86px!important;flex-shrink:0!important;overflow:visible!important;padding:7px 6px!important}
 html body #page-container #main-content .oycpi-enjeux .oycpi-enjeux-tile-label>span{position:static!important;inset:auto!important;transform:none!important;display:block!important;width:100%!important;margin:0!important;padding:0!important;max-height:none!important;height:auto!important;overflow:visible!important;white-space:normal!important;-webkit-line-clamp:unset!important;line-clamp:unset!important;text-overflow:clip!important}
 html body #page-container #main-content .oycpi-enjeux .oycpi-enjeux-tile-label>.oycpi-enjeux-tile-verb{grid-row:1!important;min-height:30px!important;line-height:1.25!important}
 html body #page-container #main-content .oycpi-enjeux .oycpi-enjeux-tile-label>.oycpi-enjeux-tile-subline{grid-row:2!important;line-height:1.3!important}
 html body #page-container #main-content .oycpi-enjeux .oyc-enjeux-bottom-nav{position:static!important;top:auto!important;margin-top:28px!important;margin-bottom:16px!important;box-shadow:none!important}
}

/* Menu du bas indépendant : ne participe jamais au filtrage initial des rubriques. */
@media(max-width:767px){
 html body #page-container #main-content .oycpi-enjeux>.oyc-enjeux-bottom-nav{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;position:static!important;width:100%!important;margin:28px 0 16px!important;padding:0!important}
 html body #page-container #main-content .oyc-enjeux-bottom-tile{display:grid!important;grid-template-rows:40px auto!important;min-width:0!important;min-height:128px!important;border:1px solid #8793a5!important;border-radius:12px!important;overflow:hidden!important;background:#071730!important;text-decoration:none!important;color:#fff!important}
 html body #page-container #main-content .oyc-enjeux-bottom-tile>img{display:block!important;position:static!important;width:100%!important;height:40px!important;object-fit:cover!important}
 html body #page-container #main-content .oyc-enjeux-bottom-tile>.oycpi-enjeux-tile-label{display:grid!important;grid-template-rows:auto auto!important;align-content:start!important;gap:4px!important;position:static!important;padding:7px 6px!important;height:auto!important;transform:none!important}
 html body #page-container #main-content .oyc-enjeux-bottom-tile .oycpi-enjeux-tile-verb{font:800 12px/1.25 Arial,sans-serif!important;min-height:30px!important;color:#fff!important}
 html body #page-container #main-content .oyc-enjeux-bottom-tile .oycpi-enjeux-tile-subline{font:400 10px/1.3 Arial,sans-serif!important;color:#f0867b!important}
}

/* Page 78 raisons : les mêmes deux volets pleine largeur qu'à l'agence. */
html body #page-container #main-content :is(.oyc78-hero-details,.oyc-podcast-hero-details){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0 20px!important;width:100%!important;margin:20px 0!important}
html body #page-container #main-content :is(.oyc78-hero-details,.oyc-podcast-hero-details)>.oyc-agence-detail{grid-row:1!important;min-width:0!important;border:0!important;border-bottom:1px solid #40516b!important;background:transparent!important}
html body #page-container #main-content :is(.oyc78-hero-details,.oyc-podcast-hero-details)>.oyc-agence-detail:nth-of-type(1){grid-column:1!important}
html body #page-container #main-content :is(.oyc78-hero-details,.oyc-podcast-hero-details)>.oyc-agence-detail:nth-of-type(2){grid-column:2!important}
html body #page-container #main-content :is(.oyc78-hero-details,.oyc-podcast-hero-details) summary{display:flex!important;justify-content:space-between!important;align-items:center!important;min-height:48px!important;padding:12px 0!important;cursor:pointer;list-style:none!important;color:#fff!important;font-size:18px!important;font-weight:800!important}
html body #page-container #main-content :is(.oyc78-hero-details,.oyc-podcast-hero-details) summary::-webkit-details-marker{display:none}
html body #page-container #main-content :is(.oyc78-hero-details,.oyc-podcast-hero-details) .oyc-agence-detail-arrow{color:#f0867b!important;font-size:25px!important;line-height:1!important;transition:transform .2s}
html body #page-container #main-content :is(.oyc78-hero-details,.oyc-podcast-hero-details) details[open] .oyc-agence-detail-arrow{transform:rotate(180deg)}
html body #page-container #main-content :is(.oyc78-hero-details,.oyc-podcast-hero-details)>.oyc-agence-detail-content{grid-column:1/-1!important;width:100%!important;max-width:none!important;padding:18px 0!important}
html body #page-container #main-content :is(.oyc78-hero-details,.oyc-podcast-hero-details)>.oyc-agence-detail-content[hidden]{display:none!important}
html body #page-container #main-content :is(.oyc78-hero-details,.oyc-podcast-hero-details) .oyc-hero-intro{width:100%!important;max-width:none!important;margin:0 0 12px!important;font-size:17px!important;line-height:1.65!important}


/* v0.8.460 — Agence: the 3-card menu sits at the bottom-right of the desktop hero. */
@media (min-width:981px) {
 html body #page-container #main-content .oyc-hero .oyc-hero-slider.oyc-agence-menu-host {position:relative!important;}
 html body #page-container #main-content .oyc-hero .oyc-hero-slider.oyc-agence-menu-host .oyc-interior-project-panel {
   padding-bottom:132px!important;
 }
 html body #page-container #main-content .oyc-hero .oyc-hero-slider.oyc-agence-menu-host > .oyc-agence-jump-nav.oyc-agence-menu-embedded {
   position:absolute!important;top:auto!important;left:auto!important;right:14px!important;bottom:14px!important;
   width:calc(45.45% - 28px)!important;max-width:none!important;height:104px!important;
   display:flex!important;align-items:stretch!important;justify-content:flex-start!important;
   gap:8px!important;margin:0!important;padding:0!important;overflow-x:auto!important;overflow-y:hidden!important;
   background:transparent!important;box-shadow:none!important;z-index:20!important;
 }
 html body #page-container #main-content .oyc-hero .oyc-hero-slider.oyc-agence-menu-host > .oyc-agence-jump-nav .oyc-agence-jump,
 html body #page-container #main-content .oyc-hero .oyc-hero-slider.oyc-agence-menu-host > .oyc-agence-jump-nav .oyc-agence-jump.is-active {
   flex:1 1 0!important;min-width:0!important;width:auto!important;height:100%!important;min-height:0!important;
   padding:8px!important;border-radius:12px!important;
 }
 html body #page-container #main-content .oyc-hero .oyc-hero-slider.oyc-agence-menu-host > .oyc-agence-jump-nav .oyc-agence-jump span,
 html body #page-container #main-content .oyc-hero .oyc-hero-slider.oyc-agence-menu-host > .oyc-agence-jump-nav .oyc-agence-jump.is-active span {
   font-size:clamp(10px,.88vw,14px)!important;line-height:1.2!important;
 }
}

/* v0.8.462 — compact agency slider; the pitch and casting remain closed by default. */
@media(min-width:981px){
 html body #page-container #main-content .oyc-page-agence .oyc-hero[data-interior-ready]{--oyc-interior-height:420px!important}
 html body #page-container #main-content .oyc-hero .oyc-hero-slider.oyc-agence-menu-host .oyc-interior-project-panel{padding-bottom:119px!important}
 /* Float the actual three navigation buttons above the content when the hero scrolls away. */
 html body #page-container #main-content .oyc-hero .oyc-hero-slider.oyc-agence-menu-host > .oyc-agence-jump-nav.oyc-agence-menu-embedded.oyc-agence-menu-floating{
  position:fixed!important;top:var(--oyc-agence-floating-top,90px)!important;bottom:auto!important;right:24px!important;left:auto!important;
  width:min(520px,calc(100vw - 48px))!important;height:76px!important;z-index:9998!important;
  padding:5px!important;border:1px solid rgba(240,134,123,.65)!important;border-radius:14px!important;
  background:#071730f5!important;box-shadow:0 9px 25px rgba(0,0,0,.3)!important;
 }
 html body #page-container #main-content .oyc-hero .oyc-hero-slider.oyc-agence-menu-host > .oyc-agence-jump-nav.oyc-agence-menu-embedded.oyc-agence-menu-floating .oyc-agence-jump{
  padding:4px!important;border-radius:9px!important;
 }
}
