/* Riviera 2.48.67.73 — photographic editorial navigation, actual local photography.
 * Both historical event filters and Riviera guides share this banner.
 * Scoped only to the two editorial directory pages. */
html body.rep14-home.rep54-explore .rep14-root.rep50-showcase .rep14-main {
 padding-top:14px!important;
}
html body.rep14-home.rep54-explore .rep54-library-header.rep73-editorial-banner {
 min-height:220px!important;
 display:flex!important;
 flex-direction:column!important;
 align-items:center!important;
 justify-content:center!important;
 gap:9px!important;
 padding:30px clamp(18px,5vw,60px)!important;
 background:#082a3c!important;
 border:1px solid #c5a060!important;
 border-radius:15px!important;
 box-shadow:0 8px 24px rgba(4,32,52,.15)!important;
 margin:0 0 12px!important;
 position:relative;isolation:isolate;overflow:hidden;
}
html body.rep14-home.rep54-explore .rep73-editorial-banner::before {
 content:""!important;position:absolute!important;inset:0!important;
 border:none!important;border-radius:0!important;
 background-image:var(--rep73-monaco),var(--rep73-voiles)!important;
 background-position:left center,right center!important;
 background-size:50% 100%,50% 100%!important;
 background-repeat:no-repeat!important;
 opacity:.67!important;pointer-events:none!important;z-index:-2!important;
}
html body.rep14-home.rep54-explore .rep73-editorial-banner::after {
 content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
 background:linear-gradient(90deg,rgba(0,29,45,.45),rgba(1,32,52,.90) 24%,rgba(1,32,52,.93) 70%,rgba(0,29,45,.4));
}
html body.rep14-home.rep54-explore .rep73-editorial-banner .rep14-kicker {
 color:#f2cb87!important;letter-spacing:.2em!important;font-size:11px!important;
 margin:0!important;position:relative;z-index:1;
}
html body.rep14-home.rep54-explore .rep73-editorial-banner h1 {
 color:#fffdf6!important;text-shadow:0 2px 7px rgba(0,0,0,.25)!important;
 font-size:clamp(29px,4vw,47px)!important;line-height:1.12!important;
 margin:2px 0!important;position:relative;z-index:1;
}
html body.rep14-home.rep54-explore .rep73-editorial-banner .rep70-editorial-intro {
 color:#f8f2e8!important;margin:0 auto 5px!important;
 font:400 clamp(14px,1.4vw,17px)/1.35 Georgia,serif!important;
 text-shadow:0 2px 6px rgba(0,0,0,.3);position:relative;z-index:1;
}
html body.rep14-home.rep54-explore .rep73-editorial-banner .rep54-back {
 background:rgba(255,252,245,.93)!important;color:#15324a!important;
 border:1px solid #d4ae6f!important;padding:8px 17px!important;min-height:35px!important;
 position:relative;z-index:1;
}
html body.rep14-home.rep54-explore .rep73-editorial-filters {
 display:flex;justify-content:center;flex-wrap:wrap;gap:11px;
 margin:12px auto 26px;padding:0 12px;
}
html body.rep14-home.rep54-explore .rep73-editorial-filters a {
 display:inline-flex;align-items:center;justify-content:center;
 min-height:40px;padding:8px 20px;border-radius:30px;
 border:1px solid #d2bd9b;background:#fffefa;
 color:#113348!important;text-decoration:none!important;
 font:600 13px/1.2 Arial,sans-serif;transition:background .15s,border-color .15s;
}
html body.rep14-home.rep54-explore .rep73-editorial-filters a[aria-current="page"] {
 border-color:#b98c44!important;background:#f3e2c5!important;
 box-shadow:inset 0 0 0 1px rgba(185,140,68,.2);
}
html body.rep14-home.rep54-explore .rep73-editorial-filters a:hover,
html body.rep14-home.rep54-explore .rep73-editorial-filters a:focus-visible {
 background:#f9efdF!important;border-color:#a8772f!important;outline-offset:3px;
}
html body.rep14-home.rep54-explore .rep73-editorial-empty {
 margin:30px auto;max-width:720px;text-align:center;color:#526879;font-size:15px;
}
@media(max-width:650px){
 html body.rep14-home.rep54-explore .rep54-library-header.rep73-editorial-banner {min-height:205px!important;padding:26px 18px!important}
 html body.rep14-home.rep54-explore .rep73-editorial-banner::before{background-position:25% center,75% center!important}
 html body.rep14-home.rep54-explore .rep73-editorial-banner::after{background:rgba(0,33,52,.80)}
 html body.rep14-home.rep54-explore .rep73-editorial-filters{gap:7px;margin-bottom:20px}
 html body.rep14-home.rep54-explore .rep73-editorial-filters a{min-height:36px;font-size:12px;padding:8px 12px}
}

/* 2.48.67.79 — align the history banner closer to its existing top navigation.
   No changes to main site header, Riviera destination view or commercial pages. */
@media (min-width:651px){
 html body.rep14-home.rep54-explore .rep14-root.rep50-showcase .rep14-main > .rep73-editorial-banner.rep70-editorial-history{
   margin-top:-45px!important;
 }
}
@media (max-width:650px){
 html body.rep14-home.rep54-explore .rep14-root.rep50-showcase .rep14-main > .rep73-editorial-banner.rep70-editorial-history{
   margin-top:-14px!important;
 }
}

/* 2.48.67.80: move ONLY the history banner closer to top menu, on all history filters. */
@media (min-width:651px){
 html body.rep14-home.rep54-explore .rep14-root.rep50-showcase .rep14-main > section.rep73-editorial-banner.rep70-editorial-history{
  margin-top:-48px!important;
 }
}
@media (max-width:650px){
 html body.rep14-home.rep54-explore .rep14-root.rep50-showcase .rep14-main > section.rep73-editorial-banner.rep70-editorial-history{
  margin-top:-15px!important;
 }
}

/* 2.48.67.81: reduce the visible gap by moving the HISTORY main as a whole, not
   the banner (which the previous rule margin:0!important prevented from moving). */
@media (min-width:651px) {
 html body.rep14-home.rep54-explore.rep70-history .rep14-root.rep50-showcase > .rep14-main {
   margin-top:-68px!important;
   padding-top:0!important;
 }
}
@media (max-width:650px) {
 html body.rep14-home.rep54-explore.rep70-history .rep14-root.rep50-showcase > .rep14-main {
   margin-top:-12px!important;
   padding-top:0!important;
 }
}

/* 2.48.67.88 — clearer real photos only on Histoire des événements. */
html body.rep14-home.rep54-explore.rep70-history .rep73-editorial-banner::before{
 opacity:.92!important;
}
html body.rep14-home.rep54-explore.rep70-history .rep73-editorial-banner::after{
 background:linear-gradient(90deg,rgba(0,27,43,.29) 0%,rgba(1,30,49,.56) 27%,rgba(1,30,49,.60) 69%,rgba(0,27,43,.25) 100%)!important;
}
html body.rep14-home.rep54-explore.rep70-history .rep73-editorial-filters{
 position:relative!important;z-index:15!important;pointer-events:auto!important;
}
html body.rep14-home.rep54-explore.rep70-history .rep73-editorial-filters a{
 position:relative!important;z-index:16!important;pointer-events:auto!important;cursor:pointer!important;
}
@media(max-width:650px){
 html body.rep14-home.rep54-explore.rep70-history .rep73-editorial-banner::after{background:rgba(0,30,49,.53)!important}
}

/* Riviera 2.48.67.90 — history filter controls the HERO itself, with no duplicate title below. */
html body.rep14-home.rep54-explore.rep70-history .rep73-editorial-banner[data-rep-history-event="monaco"]::before{
 background-image:var(--rep73-monaco)!important;background-size:cover!important;background-position:center 50%!important;}
html body.rep14-home.rep54-explore.rep70-history .rep73-editorial-banner[data-rep-history-event="voiles"]::before{
 background-image:var(--rep73-voiles)!important;background-size:cover!important;background-position:center 48%!important;}
html body.rep14-home.rep54-explore.rep70-history .rep73-editorial-banner[data-rep-history-event="monaco"]::after,
html body.rep14-home.rep54-explore.rep70-history .rep73-editorial-banner[data-rep-history-event="voiles"]::after{
 background:linear-gradient(90deg,rgba(0,30,48,.38),rgba(0,30,48,.61) 45%,rgba(0,30,48,.37))!important;}
html body.rep70-history .rep74-history-catalogue.rep90-filtered-catalogue {margin-top:17px!important;}
