/* ============================================================
   FEUILLE : photos-videos.css

   Partagée par toutes les pages de cette rubrique.
   Les règles d’un même bloc sont regroupées pour éviter les longues répétitions.
   Dans un bloc imbriqué, & reprend le sélecteur du bloc parent.
   Les tailles de caractères sont exprimées en px.
   Chaque propriété reste sur sa propre ligne.
   Pour une nouvelle destination, réutiliser les composants existants.
   ============================================================ */

/* ============================================================
   RUBRIQUE : PHOTOS-VIDEOS
   ============================================================ */

/* ============================================================
   1. RÉGLAGES COMMUNS : POLICES, COULEURS ET DIMENSIONS
   ============================================================ */

.rubrique-photos-videos {
  --pv-ink: #10253f;
  --pv-muted: #5c6f82;
  --pv-blue: #087aa8;
  --pv-paper: #f5f8fb;
  --pv-line: #dbe5ec;
  --pv-coral: #ff7657;
}

/* ============================================================
   2. TYPOGRAPHIE : TEXTES ET TITRES H1 À H6
   ============================================================ */

/* Tailles de texte en pixels.
   Ordinateur : règles générales.
   Tablette : écrans jusqu’à 1100px.
   Téléphone : écrans jusqu’à 700px. */

body.rubrique-photos-videos {
  color: var(--pv-ink);
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  font-stretch: normal;
  font-size: 16px;
  line-height: 1.65;
}

.rubrique-photos-videos {
  & a {
    color: inherit;
  }

  & button,
  & input {
    font: inherit;
  }

  & .pv-hero {
    color: white;
  }

  & .pv-eyebrow {
    font-size: 12px;
    letter-spacing: .17em;
    font-weight: 800;
    color: #adeaee;
  }

  /* H1 — titre principal */

  & .pv-hero {
    & h1 em {
      font-style: normal;
    }

    & p {
      color: #e4eff3;
    }
  }

  & .pv-button {
    color: #10253f;
    font-size: 14px;
    font-weight: 800;
  }

  & .pv-hero-credit {
    font-size: 10px;
    color: #fff;
  }

  & .pv-kicker {
    color: var(--pv-blue);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .15em;
    text-transform: uppercase;
  }

  /* H2 — titres des rubriques */

  & .pv-section > h2,
  & .pv-escape h2 {
    font-size: 42px;
    line-height: 1.15;
    letter-spacing: -.035em;
  }
}

@media (max-width:1100px) {
  .rubrique-photos-videos .pv-section > h2,
  .rubrique-photos-videos .pv-escape h2 {
    font-size: 30.72px;
  }
}

@media (max-width:700px) {
  .rubrique-photos-videos .pv-section > h2,
  .rubrique-photos-videos .pv-escape h2 {
    font-size: 27px;
  }
}

.rubrique-photos-videos {
  & .pv-lead {
    color: var(--pv-muted);
  }

  & .pv-card-photo > span {
    color: #07506f;
    font-size: 20px;
  }

  & .pv-card-copy small {
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--pv-blue);
  }

  /* H3 — sous-rubriques */

  & .pv-card {
    & h3 {
      font-size: 25px;
    }

    & p {
      font-size: 14px;
      color: var(--pv-muted);
    }

    & strong {
      font-size: 13px;
      color: #07506f;
    }
  }

  & .pv-directory summary,
  & .pv-faq summary {
    font-weight: 750;
  }

  & .pv-directory {
    & small {
      color: var(--pv-muted);
      font-size: 12px;
      font-weight: 400;
    }

    & details a {
      font-size: 13px;
      color: #07506f;
    }
  }

  & .pv-escape p {
    color: var(--pv-muted);
  }

  & .pv-faq p {
    color: var(--pv-muted);
    font-size: 14px;
  }
}

@media (max-width:600px) {
  .rubrique-photos-videos {
    & .pv-eyebrow {
      font-size: 10px;
      letter-spacing: .1em;
    }

    & .pv-card h3 {
      font-size: 25px;
    }
  }
}

.rubrique-photos-videos {
  & .pv-feature {
    color: #fff;
  }

  & .pv-feature {
    & small {
      text-transform: uppercase;
      letter-spacing: .12em;
    }

    & h3 {
      font-size: 34px;
    }
  }

  & .pv-feature:first-child h3 {
    font-size: 48px;
  }
}

@media (max-width:650px) {
  .rubrique-photos-videos {
    & .pv-feature h3,
    & .pv-feature:first-child h3 {
      font-size: 27px;
    }

    & .pv-feature strong {
      font-size: 11px;
    }
  }
}

.rubrique-photos-videos .pv-cookies {
  font: inherit;
  color: inherit;
}

body.rubrique-photos-videos {
  font-family: var(--font-sans, Inter, ui-sans-serif, system-ui, sans-serif);
}

.rubrique-photos-videos .pv-hero h1 {
  font-family: var(--font-sans);
  font-size: 57.6px;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.045em;
}

@media (max-width:1100px) {
  .rubrique-photos-videos .pv-hero h1 {
    font-size: 40.96px;
  }
}

@media (max-width:700px) {
  .rubrique-photos-videos .pv-hero h1 {
    font-size: 29.6px;
  }
}

.rubrique-photos-videos .pv-hero {
  & h1 em {
    color: var(--sun, #ffc857);
  }

  & p {
    font-size: 17.92px;
    line-height: 1.65;
  }

  & .pv-button {
    color: white;
    font-weight: 900;
  }

  & .pv-eyebrow {
    color: #42c8e8;
  }
}

.rubrique-photos-videos .pv-container > .search-panel input,
.rubrique-photos-videos .footer {
  font-family: var(--font-sans);
}

@media (max-width:600px) {
  .rubrique-photos-videos .pv-hero {
    & h1 {
      font-size: 33.54px;
      line-height: 1.04;
    }

    & p {
      font-size: 16px;
      line-height: 1.65;
    }
  }

  .rubrique-photos-videos .pv-hero-credit {
    font-size: 9px;
  }
}

@media (min-width:1051px) {
  .rubrique-photos-videos .pv-hero h1 {
    font-size: 76.8px;
    line-height: .98;
  }

  @media (max-width:1100px) {
    .rubrique-photos-videos .pv-hero h1 {
      font-size: 63.06px;
    }
  }
}

.rubrique-photos-videos {
  & .pv-feature,
  & .pv-feature:first-child,
  & .pv-feature:nth-child(2) {
    color: #10253f;
  }

  & .pv-feature small {
    color: #087aa8;
    font-weight: 800;
    font-size: 11px;
  }

  & .pv-feature h3,
  & .pv-feature:first-child h3 {
    color: #10253f;
    font-size: 28px;
    line-height: 1.15;
  }

  & .pv-feature {
    & p {
      color: #5c6f82;
      font-size: 14px;
      line-height: 1.55;
    }

    & strong {
      color: #07506f;
      font-size: 13px;
    }
  }
}

.page-photos-videos.rubrique-photos-videos {
  & .pv-button {
    color: #fff;
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: normal;
  }

  & .pv-button:hover {
    color: #fff;
  }

  & .pv-button-arrow {
    font-family: Arial, sans-serif;
    font-size: 23px;
    font-weight: 400;
    line-height: 1;
  }
}

.rubrique-photos-videos {
  & .pv-editorial-columns p,
  & .pv-discovery-card p,
  & .pv-use-steps p {
    color: var(--pv-muted);
    font-size: 16px;
    line-height: 1.8;
  }

  & .pv-collection-note {
    & strong {
      color: #087a9b;
    }

    & span {
      color: var(--pv-muted);
      font-size: 14px;
    }
  }

  & .pv-discovery-number {
    color: #a44e36;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
  }

  & .pv-discovery-card a {
    color: #087a9b;
    font-weight: 750;
  }

  & .pv-use-steps {
    & li::before {
      color: #b65338;
      font-size: 18px;
      font-weight: 800;
    }

    & h3 {
      font-size: 20px !important;
      line-height: 1.35;
    }
  }

  & .pv-related-links a {
    color: #087a9b;
    font-weight: 650;
  }

  & .pv-card-copy p {
    line-height: 1.7;
  }

  & .pv-discovery-image-title {
    & .pv-discovery-number {
      color: #ffdb96;
      font-size: 11px;
    }

    & h3 {
      color: #fff;
      font-size: 30px !important;
      line-height: 1.15;
    }
  }

  & .pv-discovery-card-photo {
    & > p {
      font-size: 15px;
      line-height: 1.75;
    }

    & > a {
      font-size: 15px;
    }
  }
}

@media (max-width:700px) {
  .rubrique-photos-videos .pv-discovery-image-title h3 {
    font-size: 27.3px !important;
  }
}

body.pv-revised.rubrique-photos-videos .pv-card-copy h3 {
  font-size: 25.92px;
  line-height: 1.25;
}

@media (max-width:1100px) {
  body.pv-revised.rubrique-photos-videos .pv-card-copy h3 {
    font-size: 20.8px;
  }
}

body.pv-revised.rubrique-photos-videos .pv-card-copy {
  & p {
    font-size: 16px;
    line-height: 1.7;
  }

  & strong {
    font-size: 15.2px;
  }
}

@media (max-width:650px) {
  body.pv-revised.rubrique-photos-videos .pv-card-copy p {
    font-size: 16px;
  }
}

/* H1, H2 — règles communes aux titres */

/* H1, H2 — règles communes aux titres */

/* H1, H2 — règles communes aux titres */

/* H1, H2 — règles communes aux titres */

body.page-photos-videos.pv-collections-updated.format-catalogue-videos .photo-home-hero h1 {
  color: #fff;
  font-size: 61.92px;
  line-height: 1.08;
}

@media (max-width:1100px) {
  body.page-photos-videos.pv-collections-updated.format-catalogue-videos .photo-home-hero h1 {
    font-size: 44.032px;
  }
}

@media (max-width:700px) {
  body.page-photos-videos.pv-collections-updated.format-catalogue-videos .photo-home-hero h1 {
    font-size: 37.6px;
  }
}

body.page-photos-videos.pv-collections-updated.format-catalogue-videos .photo-home-hero {
  & h1 em {
    color: #ffdc79;
    font-style: normal;
  }

  & .lead {
    color: #fff;
    line-height: 1.65;
  }
}

body.page-photos-videos.pv-collections-updated.format-catalogue-videos {
  & .pv-card-copy p {
    line-height: 1.7;
  }

  & .pv-directory-name {
    color: #075674;
    font-size: 18.08px;
    font-weight: 800;
    line-height: 1.3;
  }

  & .pv-directory summary small {
    color: #536d7c;
    font-size: 14.08px;
    font-weight: 500;
  }

  & .pv-directory-toggle {
    color: #087e9e;
    font-size: 22.4px;
  }

  & .pv-directory details > div {
    & a {
      color: #075c79;
      font-weight: 650;
      line-height: 1.4;
    }

    & a:hover {
      color: #fff;
    }
  }

  & .pv-continent-copy {
    & h3 {
      color: #ffdc79;
      font-size: 24px;
    }

    & p {
      color: #fff;
      line-height: 1.6;
    }
  }

  & .pv-continent-links {
    & a {
      color: #fff;
      font-weight: 700;
      line-height: 1.4;
    }

    & a:hover,
    & a:focus-visible {
      color: #073b52;
    }
  }

  & .pv-escape {
    & .pv-kicker {
      color: #ffdc79;
    }

    & h2 em {
      color: #ffdc79;
      font-style: normal;
    }
  }

  & .photo-home-hero .eyebrow {
    color: #56c8e5;
  }

  /* H1, H2 — règles communes aux titres */

  & .photo-home-hero h1 em,
  & .pv-escape h2 em {
    color: #ffd36b;
  }

  & .pv-escape,
  & .pv-escape h2,
  & .pv-escape p {
    color: #fff;
  }

  & .pv-escape h2 {
    font-size: 36px;
    line-height: 1.18;
  }
}

@media (max-width:1100px) {
  body.page-photos-videos.pv-collections-updated.format-catalogue-videos .pv-escape h2 {
    font-size: 26.4px;
  }
}

body.page-photos-videos.pv-collections-updated.format-catalogue-videos .pv-escape {
  & p {
    line-height: 1.7;
  }

  & .pv-button {
    color: #fff;
  }
}

body.page-photos-videos.pv-collections-updated.format-catalogue-videos .photo-home-hero .hero-proof {
  color: #edf8fa;
}

body.page-photos-videos.pv-europe-updated.format-catalogue-diaporamas .photo-home-hero h1 {
  color: #fff;
  font-size: 61.92px;
  line-height: 1.08;
}

@media (max-width:1100px) {
  body.page-photos-videos.pv-europe-updated.format-catalogue-diaporamas .photo-home-hero h1 {
    font-size: 44.032px;
  }
}

@media (max-width:700px) {
  body.page-photos-videos.pv-europe-updated.format-catalogue-diaporamas .photo-home-hero h1 {
    font-size: 37.6px;
  }
}

body.page-photos-videos.pv-europe-updated.format-catalogue-diaporamas .photo-home-hero {
  & h1 em {
    color: #ffdc79;
    font-style: normal;
  }

  & .lead {
    color: #fff;
    line-height: 1.65;
  }
}

body.page-photos-videos.pv-europe-updated.format-catalogue-diaporamas {
  & .pv-card-copy p {
    line-height: 1.7;
  }

  & .pv-directory-name {
    color: #075674;
    font-size: 18.08px;
    font-weight: 800;
    line-height: 1.3;
  }

  & .pv-directory summary small {
    color: #536d7c;
    font-size: 14.08px;
    font-weight: 500;
  }

  & .pv-directory-toggle {
    color: #087e9e;
    font-size: 22.4px;
  }

  & .pv-directory details > div {
    & a {
      color: #075c79;
      font-weight: 650;
      line-height: 1.4;
    }

    & a:hover {
      color: #fff;
    }
  }

  & .pv-continent-copy {
    & h3 {
      color: #ffdc79;
      font-size: 24px;
    }

    & p {
      color: #fff;
      line-height: 1.6;
    }
  }

  & .pv-continent-links {
    & a {
      color: #fff;
      font-weight: 700;
      line-height: 1.4;
    }

    & a:hover,
    & a:focus-visible {
      color: #073b52;
    }
  }

  & .pv-escape {
    & .pv-kicker {
      color: #ffdc79;
    }

    & h2 em {
      color: #ffdc79;
      font-style: normal;
    }
  }

  & .photo-home-hero .eyebrow {
    color: #56c8e5;
  }

  /* H1, H2 — règles communes aux titres */

  & .photo-home-hero h1 em,
  & .pv-escape h2 em {
    color: #ffd36b;
  }

  & .pv-escape,
  & .pv-escape h2,
  & .pv-escape p {
    color: #fff;
  }

  & .pv-escape h2 {
    font-size: 36px;
    line-height: 1.18;
  }
}

@media (max-width:1100px) {
  body.page-photos-videos.pv-europe-updated.format-catalogue-diaporamas .pv-escape h2 {
    font-size: 26.4px;
  }
}

body.page-photos-videos.pv-europe-updated.format-catalogue-diaporamas .pv-escape {
  & p {
    line-height: 1.7;
  }

  & .pv-button {
    color: #fff;
  }
}

body.page-photos-videos.pv-europe-updated.format-catalogue-diaporamas .photo-home-hero .hero-proof {
  color: #edf8fa;
}

/* ============================================================
   3. MISE EN PAGE, COMPOSANTS ET ADAPTATION DES ÉCRANS
   ============================================================ */

.rubrique-photos-videos,
.rubrique-photos-videos * {
  box-sizing: border-box;
}

/* Le défilement fluide est défini dans css/commun.css. */

body.rubrique-photos-videos {
  margin: 0;
  background: var(--pv-paper);
}

.rubrique-photos-videos {
  & a {
    text-decoration: none;
  }

  & a:focus-visible,
  & button:focus-visible,
  & input:focus-visible,
  & summary:focus-visible {
    outline: 3px solid #087aa8;
    outline-offset: 4px;
  }

  & img {
    max-width: 100%;
  }

  & .pv-skip {
    position: fixed;
    top: -100px;
    left: 15px;
    z-index: 20000;
    background: white;
    padding: 10px;
  }

  & .pv-skip:focus {
    top: 10px;
  }

  & .pv-container {
    width: min(1440px, calc(100% - 80px));
    margin: auto;
  }

  & .pv-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    background: #0b3448;
    overflow: hidden;
  }

  & .pv-hero {
    & picture {
      position: absolute;
      inset: 0;
      z-index: -2;
    }

    & picture img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  & .pv-hero:after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, #082231e8, #0822318c 47%, #08223108);
  }

  & .pv-hero-copy {
    width: min(1440px, calc(100% - 80px));
    margin: auto;
  }

  & .pv-hero h1 {
    text-wrap: balance;
  }

  & .pv-button {
    display: inline-flex;
    align-items: center;
    background: var(--pv-coral);
    border-radius: 35px;
    padding: 14px 25px;
    margin-top: 15px;
  }

  & .pv-button:hover {
    background: #ff947b;
  }

  & .pv-hero-credit {
    position: absolute;
    right: 18px;
    bottom: 13px;
    background: #10253f80;
    padding: 3px 8px;
    border-radius: 4px;
  }

  & .pv-section {
    padding: 62px 0 0;
    scroll-margin-top: 100px;
  }

  & .pv-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  & .pv-kicker:before {
    content: "";
    background: var(--pv-coral);
    width: 28px;
    height: 3px;
    border-radius: 4px;
  }

  & .pv-section > h2,
  & .pv-escape h2 {
    margin: 14px 0;
  }

  & .pv-lead {
    max-width: 720px;
    margin: 0 0 28px;
  }

  & .pv-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
  }

  & .pv-card {
    background: #fff;
    border: 1px solid var(--pv-line);
    border-radius: 21px;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
  }

  & .pv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px #10253f15;
  }

  & .pv-card-photo {
    height: 245px;
    position: relative;
    background: #dcebf0;
    overflow: hidden;
  }

  & .pv-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
  }

  & .pv-card:hover img {
    transform: scale(1.035);
  }

  & .pv-card-photo > span {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    place-items: center;
    background: #ffffffed;
  }

  & .pv-card-copy {
    padding: 23px;
  }

  & .pv-card {
    & h3 {
      margin: 8px 0;
    }

    & p {
      margin: 0 0 20px;
    }

    & strong {
      display: flex;
      justify-content: space-between;
      border-top: 1px solid #e9eff3;
      padding-top: 15px;
    }
  }

  & .pv-directory {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: start;
  }

  & .pv-directory details,
  & .pv-faq details {
    background: white;
    border: 1px solid var(--pv-line);
    border-radius: 14px;
    padding: 0 20px;
  }

  & .pv-directory summary,
  & .pv-faq summary {
    padding: 18px 0;
    cursor: pointer;
  }

  & .pv-directory {
    & small {
      margin-left: 12px;
    }

    & details {
      & > div {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 15px;
        padding-bottom: 15px;
      }

      & a {
        padding: 10px 0;
        border-top: 1px solid #edf2f5;
      }
    }
  }

  & .pv-escape {
    margin-top: 65px;
    border-radius: 25px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #e2f1f4;
  }

  & .pv-escape {
    & > div {
      padding: 45px;
    }

    & > img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      min-height: 330px;
    }
  }

  & .pv-faq {
    padding-bottom: 65px;
  }

  & .pv-faq details {
    margin-top: 12px;
  }

  & [hidden] {
    display: none !important;
  }
}

@media (min-width:1700px) {
  .rubrique-photos-videos .pv-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width:1000px) {
  .rubrique-photos-videos {
    & .pv-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    & .pv-hero {
      min-height: 510px;
    }
  }
}

@media (max-width:600px) {
  .rubrique-photos-videos {
    & .pv-hero {
      align-items: end;
    }

    & .pv-hero:after {
      background: linear-gradient(0deg, #082231f5, #082231a0 45%, #08223108);
    }

    & .pv-section {
      padding-top: 38px;
    }

    & .pv-grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }

    & .pv-card-photo {
      height: auto;
      aspect-ratio: 16/10;
    }

    & .pv-card-copy {
      padding: 21px;
    }

    & .pv-directory {
      grid-template-columns: 1fr;
    }

    & .pv-escape {
      grid-template-columns: 1fr;
      margin-top: 40px;
    }

    & .pv-escape {
      & > div {
        padding: 27px;
      }

      & > img {
        min-height: 0;
        height: 220px;
      }
    }

    & .pv-faq {
      padding-bottom: 40px;
    }
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  .rubrique-photos-videos,
  .rubrique-photos-videos *,
  .rubrique-photos-videos:before,
  .rubrique-photos-videos *:before,
  .rubrique-photos-videos:after,
  .rubrique-photos-videos *:after {
    transition: none !important;
  }
}

.rubrique-photos-videos {
  & .pv-feature-grid {
    display: grid;
  }

  & .pv-feature {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: end;
    border-radius: 22px;
    background: #10253f;
  }

  & .pv-feature:first-child {
    grid-row: span 2;
  }

  & .pv-feature:nth-child(2) {
    grid-column: span 2;
  }

  & .pv-feature > img {
    transition: transform .3s;
  }

  & .pv-feature:after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(0deg, #082231e8, #08223100 90%);
  }

  & .pv-feature h3 {
    margin: 8px 0;
  }
}

@media (max-width:650px) {
  .rubrique-photos-videos {
    & .pv-feature-grid {
      grid-template-columns: 1fr 1fr;
      grid-template-rows: 270px 230px;
      gap: 12px;
    }

    & .pv-feature:first-child {
      grid-row: auto;
    }

    & .pv-feature:nth-child(2) {
      grid-column: auto;
    }

    & .pv-feature {
      & > div {
        padding: 18px;
      }

      & p {
        display: none;
      }
    }
  }
}

.rubrique-photos-videos {
  & .pv-cookies {
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
  }

  & .pv-container,
  & .pv-hero-copy {
    width: min(calc(100% - 48px), var(--max, 1740px));
  }

  & .pv-hero {
    min-height: 0;
    height: auto;
  }

  & .pv-hero-copy {
    padding: 45px 0 72px;
  }

  & .pv-hero {
    & h1 {
      max-width: 1100px;
      margin: 16px 0 20px;
    }

    & p {
      max-width: 850px;
      margin: 0 0 15px;
    }

    & .pv-button {
      background: var(--coral, #ff7657);
      border-radius: 999px;
      margin-top: 10px;
    }
  }

  & .pv-container > .search-panel {
    width: 100%;
    max-width: none;
    margin-top: -34px;
    position: relative;
    z-index: 3;
  }
}

@media (max-width:600px) {
  .rubrique-photos-videos {
    & .pv-container,
    & .pv-hero-copy {
      width: calc(100% - 32px);
    }

    & .pv-hero {
      display: block;
      background: #0b3448;
      min-height: 0;
    }

    & .pv-hero {
      & picture {
        position: relative;
        inset: auto;
        display: block;
        width: 100%;
        z-index: auto;
      }

      & picture img {
        display: block;
        width: 100%;
        object-position: center 40%;
      }
    }

    & .pv-hero:after {
      display: none;
    }

    & .pv-hero-copy {
      padding: 26px 0 55px;
    }

    & .pv-hero h1 {
      max-width: 100%;
      margin: 14px 0;
    }

    & .pv-container {
      & > .search-panel {
        margin-top: -25px;
      }

      & > .search-panel {
        & .search-card {
          grid-template-columns: 1fr;
          gap: 12px;
          padding: 14px;
        }

        & .search-card {
          & label {
            min-height: 48px;
          }

          & button {
            width: 100%;
            min-height: 48px;
          }
        }
      }
    }

    & .pv-hero {
      & picture {
        height: auto;
        aspect-ratio: 1800/945;
      }

      & picture img {
        height: auto;
        aspect-ratio: 1800/945;
        object-fit: contain;
      }
    }

    & .pv-hero-credit {
      top: auto;
      bottom: 28px;
    }
  }
}

@media (min-width:1051px) {
  .rubrique-photos-videos {
    & .pv-hero {
      height: var(--hero-shell-height, 690px);
      min-height: var(--hero-shell-height, 690px);
      align-items: center;
    }

    & .pv-hero-copy {
      width: min(calc(100% - 48px), var(--max, 1740px));
      padding-top: var(--hero-content-edge-space, 60px);
      padding-bottom: calc(var(--hero-content-edge-space, 60px) + var(--search-panel-overlap, 34px));
    }

    & .pv-hero {
      & h1 {
        max-width: 850px;
        text-wrap: balance;
      }

      & p {
        max-width: 760px;
      }

      & picture img {
        object-fit: cover;
        object-position: center;
      }
    }
  }
}

html.affichage-mobile body.page-photos-videos.rubrique-photos-videos {
  & .page-content {
    margin: 12px var(--page-edge)0;
    padding: 18px;
    border: 1px solid #dbeaf2;
    border-radius: 20px;
    background: linear-gradient(145deg, #f4fbff, #fff 58%, #fff7f3);
    box-shadow: 0 12px 30px #10253f12;
  }

  & .page-description {
    margin-bottom: 0;
  }

  & .pv-container {
    width: calc(100% - 2*var(--page-edge));
  }

  & .pv-section {
    padding-top: 24px;
  }
}

html.affichage-mobile body.page-photos-videos.rubrique-photos-videos {
  padding-top: var(--hauteur-entete, 76px) !important;
}

.rubrique-photos-videos {
  & .pv-feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: none;
    align-items: stretch;
    gap: 20px;
  }

  & .pv-feature,
  & .pv-feature:first-child,
  & .pv-feature:nth-child(2) {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    grid-column: auto;
    grid-row: auto;
    background: #fff;
    border: 1px solid #dbe5ec;
    border-radius: 20px;
  }

  & .pv-feature::after {
    display: none;
  }

  & .pv-feature {
    & > img {
      position: static;
      inset: auto;
      z-index: auto;
      display: block;
      width: 100%;
      height: auto;
      aspect-ratio: 8/5;
      object-fit: cover;
    }

    & > div {
      display: flex;
      flex-direction: column;
      flex: 1;
      padding: 22px;
    }
  }

  & .pv-feature h3,
  & .pv-feature:first-child h3 {
    margin: 9px 0;
  }

  & .pv-feature {
    & p {
      display: block;
      margin: 0 0 20px;
    }

    & strong {
      margin-top: auto;
      padding-top: 14px;
      border-top: 1px solid #e7eef3;
    }
  }

  & .pv-feature:hover > img {
    transform: none;
  }
}

@media (max-width:1100px) {
  .rubrique-photos-videos .pv-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width:600px) {
  .rubrique-photos-videos {
    & .pv-feature-grid {
      grid-template-columns: minmax(0, 1fr);
      grid-template-rows: none;
      gap: 18px;
    }

    & .pv-feature {
      & > img {
        aspect-ratio: 8/5;
      }

      & > div {
        padding: 20px;
      }
    }
  }
}

.page-photos-videos.rubrique-photos-videos {
  & .pv-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 100%;
    min-height: 52px;
    padding: 14px 24px;
    border: 0;
    border-radius: 999px;
    background: var(--coral, #ff7657);
    text-decoration: none !important;
    text-shadow: none;
    box-shadow: none;
  }

  & .pv-button::before,
  & .pv-button::after {
    content: none;
  }

  & .pv-button:hover {
    background: #ed6548;
  }

  & .pv-button:focus-visible {
    outline: 3px solid #ff7657;
    outline-offset: 4px;
  }

  & .pv-button-arrow {
    flex: none;
  }
}

.rubrique-photos-videos {
  & .pv-hero-credit {
    display: none !important;
  }

  & .pv-editorial-intro {
    padding: clamp(24px, 4vw, 48px);
    border: 1px solid var(--pv-line);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 10px 32px rgba(16, 37, 63, .035);
  }

  & .pv-editorial-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

  & .pv-collection-note {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-top: 20px;
    padding: 18px 20px;
    border-left: 3px solid var(--pv-coral);
    border-radius: 12px;
    background: #f1f8fa;
  }

  & .pv-discovery-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
    border: 1px solid var(--pv-line);
    border-radius: 22px;
    background: #fff;
  }

  & .pv-discovery-number {
    margin-bottom: 14px;
  }

  & .pv-discovery-card {
    & h3 {
      margin-bottom: 10px;
    }

    & p {
      margin: 0 0 22px;
    }

    & a {
      margin-top: auto;
      text-underline-offset: 4px;
    }

    & a:hover {
      text-decoration: underline;
    }
  }

  & .pv-use-guide {
    padding: clamp(24px, 4vw, 46px);
    border-radius: 26px;
    background: #eaf4f7;
  }

  & .pv-use-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    counter-reset: discovery;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
  }

  & .pv-use-steps {
    & li {
      counter-increment: discovery;
    }

    & li::before {
      content: "0" counter(discovery);
      display: block;
      margin-bottom: 15px;
    }
  }

  & .pv-related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
  }

  & .pv-related-links {
    & a {
      display: inline-flex;
      align-items: center;
      gap: 14px;
      padding: 13px 18px;
      border: 1px solid #cee3e9;
      border-radius: 14px;
      background: #fff;
    }

    & a:hover {
      background: #edf7f9;
    }
  }
}

@media (max-width:700px) {
  .rubrique-photos-videos {
    & .pv-editorial-columns,
    & .pv-use-steps {
      grid-template-columns: 1fr;
      gap: 14px;
    }

    & .pv-editorial-columns p {
      margin: 0;
    }

    & .pv-editorial-intro,
    & .pv-use-guide {
      padding: 24px 20px;
      border-radius: 22px;
    }

    & .pv-discovery-card {
      padding: 24px 20px;
    }

    & .pv-related-links {
      flex-direction: column;
    }

    & .pv-use-steps li + li {
      padding-top: 18px;
      border-top: 1px solid #cfE1e7;
    }
  }
}

.rubrique-photos-videos {
  & .pv-discovery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
  }

  & .pv-discovery-card-photo {
    overflow: hidden;
    padding: 0;
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(16, 37, 63, .05);
  }

  & .pv-discovery-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 8/5;
    isolation: isolate;
  }

  & .pv-discovery-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  & .pv-discovery-visual::after {
    content: "";
    position: absolute;
    inset: 30%0 0;
    z-index: 1;
    background: linear-gradient(transparent, rgba(5, 28, 43, .8));
  }

  & .pv-discovery-image-title {
    position: absolute;
    bottom: 22px;
    left: 24px;
    right: 24px;
    z-index: 2;
  }

  & .pv-discovery-image-title {
    & .pv-discovery-number {
      display: block;
      margin-bottom: 5px;
    }

    & h3 {
      margin: 0;
    }
  }

  & .pv-discovery-card-photo {
    & > p {
      flex: 1;
      margin: 0;
      padding: 24px 24px 20px;
    }

    & > a {
      align-self: stretch;
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin: 0 24px 24px;
      padding: 14px 0 0;
      border-top: 1px solid #dce8ed;
    }
  }
}

@media (max-width:1000px) {
  .rubrique-photos-videos {
    & .pv-discovery-grid {
      gap: 16px;
    }

    & .pv-discovery-card-photo {
      & > p {
        padding: 20px;
      }

      & > a {
        margin: 0 20px 20px;
      }
    }
  }
}

@media (max-width:700px) {
  .rubrique-photos-videos {
    & .pv-discovery-grid {
      grid-template-columns: 1fr;
      gap: 22px;
    }

    & .pv-discovery-image-title {
      left: 20px;
      bottom: 20px;
    }
  }
}

.rubrique-photos-videos {
  & .pv-card-photo > span {
    display: none !important;
  }

  & .pv-container > .pv-editorial-intro {
    margin-top: 44px;
  }

  & .pv-card {
    display: flex;
    min-width: 0;
  }

  & .pv-card > a {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    min-width: 0;
  }

  & .pv-card-photo,
  & .pv-discovery-visual,
  & .pv-feature > img {
    flex-shrink: 0;
  }

  & .pv-card-copy {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex: 1;
    min-width: 0;
  }

  & .pv-card-copy strong {
    margin-top: auto;
  }

  & .pv-card h3,
  & .pv-discovery-image-title h3,
  & .pv-feature h3 {
    overflow-wrap: anywhere;
  }

  & .pv-discovery-grid > *,
  & .pv-feature-grid > *,
  & .pv-editorial-columns > * {
    min-width: 0;
  }
}

@media (min-width:1051px) {
  .rubrique-photos-videos .pv-container {
    width: min(calc(100% - 48px), var(--max, 1740px));
  }
}

@media (max-width:700px) {
  .rubrique-photos-videos .pv-container > .pv-editorial-intro {
    margin-top: 26px;
  }
}

body.pv-revised.rubrique-photos-videos {
  & #galerie,
  & .pv-card[id] {
    scroll-margin-top: 125px;
  }

  & .pv-container > .pv-section {
    margin-top: 48px;
    margin-bottom: 48px;
  }

  & .pv-collection > .pv-lead {
    max-width: 78ch;
    margin-bottom: 28px;
  }

  & .pv-grid {
    align-items: stretch;
    gap: 26px;
  }

  & .pv-grid-single {
    grid-template-columns: minmax(0, 660px);
    justify-content: center;
  }

  & .pv-card {
    border-radius: 22px;
    box-shadow: 0 8px 28px rgba(16, 37, 63, .045);
  }

  & .pv-card-photo {
    height: auto;
    aspect-ratio: 1800/945;
    background: #eaf3f7;
  }

  & .pv-card-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  & .pv-card:hover img {
    transform: none;
  }

  & .pv-card-copy {
    padding: clamp(20px, 2vw, 28px);
    gap: 10px;
  }

  & .pv-card-copy {
    & h3 {
      margin: 0;
    }

    & p {
      margin: 0 0 12px;
    }

    & strong {
      gap: 18px;
      min-height: 48px;
      align-items: center;
      padding-top: 15px;
    }
  }

  & .pv-card a:focus-visible {
    outline: 3px solid #ff7657;
    outline-offset: -4px;
    border-radius: 20px;
  }
}

@media (max-width:1000px) {
  body.pv-revised.rubrique-photos-videos .pv-grid:not(.pv-grid-single) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width:650px) {
  body.pv-revised.rubrique-photos-videos {
    & .pv-container > .pv-section {
      margin-top: 32px;
      margin-bottom: 32px;
    }

    & .pv-grid:not(.pv-grid-single) {
      grid-template-columns: minmax(0, 1fr);
    }

    & .pv-grid {
      gap: 22px;
    }

    & .pv-card-copy {
      padding: 22px;
    }
  }
}

html.affichage-mobile {
  & body.rubrique-photos-videos {
    padding-top: var(--page-header-height, 76px) !important;
  }

  & .rubrique-photos-videos {
    & .main-nav {
      position: fixed;
      inset: var(--page-header-height, 76px)0 auto;
      display: none;
      max-height: calc(100dvh - var(--page-header-height, 76px));
      overflow: auto;
      align-items: stretch;
      padding: 14px 20px 24px;
      background: #fff;
      border-bottom: 1px solid var(--line, #dbe5ec);
      box-shadow: var(--shadow, 0 20px 60px #10253f20);
    }

    & #contenu [id] {
      scroll-margin-top: var(--page-header-height, 76px);
    }
  }

  /* H1, H2 — règles communes aux titres */

  /* H1, H2 — règles communes aux titres */

  /* H1, H2 — règles communes aux titres */

  & body:is(.annuaire-pays-balades,
   
   .annuaire-pays-ile,
   
   .annuaire-pays-patrimoine,
   
   .annuaire-pays-regions,
   
   .annuaire-pays-visites).rubrique-photos-videos {
    & .route-card {
      scroll-margin-top: calc(var(--page-header-height, 76px) + 4px);
    }
  }
}

/* H1, H2 — règles communes aux titres */

body.page-photos-videos.pv-collections-updated.format-catalogue-videos .photo-home-hero {
  & h1 {
    max-width: 1150px;
    text-wrap: balance;
  }

  & h1 em {
    display: block;
  }

  & .lead {
    max-width: 850px;
  }
}

body.page-photos-videos.pv-collections-updated.format-catalogue-videos {
  & .pv-card > a {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  & .pv-card-photo {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }

  & .pv-card-photo img {
    display: block;
    max-width: none;
    margin: 0;
    padding: 0;
    object-position: center;
  }

  & .pv-card-copy {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 13px;
    padding: 26px;
  }

  & .pv-card-copy {
    & h3,
    & p {
      margin: 0;
    }

    & > strong {
      align-self: flex-start;
      margin-top: auto;
      padding-top: 10px;
    }
  }

  & .pv-directory {
    gap: 20px;
  }

  & .pv-directory {
    & details {
      overflow: hidden;
      border-radius: 22px;
      background: #fff;
      box-shadow: 0 10px 28px rgba(7, 57, 84, .045);
    }

    & summary {
      display: grid;
      grid-template-columns: 96px minmax(0, 1fr) auto 32px;
      align-items: center;
      gap: 18px;
      padding: 18px;
      list-style: none;
      cursor: pointer;
    }

    & summary::-webkit-details-marker {
      display: none;
    }

    & summary::marker {
      content: "";
    }

    & summary {
      & img {
        display: block;
        width: 96px;
        height: 72px;
        border-radius: 13px;
        object-fit: cover;
      }

      & small {
        margin: 0;
        white-space: nowrap;
      }
    }
  }

  & .pv-directory-toggle {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #edf8fb;
    transition: transform .2s;
  }

  & .pv-directory {
    & details[open] .pv-directory-toggle {
      transform: rotate(45deg);
    }

    & details {
      & > div {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin: 0 18px;
        padding: 18px 0 22px;
        border-top: 1px solid #e2edf2;
      }

      & > div {
        & a {
          display: inline-flex;
          align-items: center;
          min-height: 42px;
          margin: 0;
          padding: 10px 15px;
          border: 1px solid #d6e9ef;
          border-radius: 999px;
          background: #f0f9fb;
          text-decoration: none;
        }

        & a:hover {
          background: #087e9e;
        }
      }
    }
  }

  & .pv-continents {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 28px;
  }

  & .pv-continent-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #d5e6ed;
    border-radius: 24px;
    background: linear-gradient(135deg, #073b52, #087b9b);
    box-shadow: 0 15px 35px rgba(7, 57, 84, .09);
  }

  & .pv-continent-card > img {
    display: block;
  }

  & .pv-continent-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 14px;
    padding: 25px;
  }

  & .pv-continent-copy h3,
  & .pv-continent-copy p {
    margin: 0;
  }

  & .pv-continent-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    padding-top: 5px;
  }

  & .pv-continent-links {
    & a {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      min-height: 44px;
      padding: 11px 15px;
      border: 1px solid rgba(255, 255, 255, .35);
      border-radius: 12px;
      background: rgba(255, 255, 255, .08);
      text-decoration: none;
    }

    & a:hover,
    & a:focus-visible {
      background: #ffdc79;
    }
  }
}

@media (max-width:1050px) {
  body.page-photos-videos.pv-collections-updated.format-catalogue-videos {
    & .pv-continents {
      grid-template-columns: 1fr;
    }

    & .pv-continent-card {
      display: grid;
      grid-template-columns: minmax(180px, .7fr) minmax(0, 1fr);
    }

    & .pv-continent-card > img {
      height: 100%;
      aspect-ratio: auto;
    }
  }
}

@media (max-width:700px) {
  body.page-photos-videos.pv-collections-updated.format-catalogue-videos {
    & .pv-card-copy {
      padding: 22px;
    }

    & .pv-directory {
      & summary {
        grid-template-columns: 72px minmax(0, 1fr) 28px;
        gap: 12px;
        padding: 14px;
      }

      & summary img {
        width: 72px;
        height: 54px;
        grid-row: 1/3;
      }
    }

    & .pv-directory-name {
      align-self: end;
    }

    & .pv-directory summary small {
      grid-column: 2;
      align-self: start;
    }

    & .pv-directory-toggle {
      grid-column: 3;
      grid-row: 1/3;
      width: 28px;
      height: 28px;
    }

    & .pv-directory details > div {
      margin-inline: 14px;
    }

    & .pv-continent-card {
      display: flex;
    }

    & .pv-continent-card > img {
      height: auto;
      aspect-ratio: 16/9;
    }

    & .pv-continent-copy {
      padding: 22px;
    }
  }
}

@media (min-width:1101px) {
  body.page-photos-videos.pv-collections-updated.format-catalogue-videos .pv-grid {
    & > .pv-card:last-child:nth-child(3n+1) {
      grid-column: 2;
    }
  }
}

@media (min-width:701px) {
  body.page-photos-videos.pv-collections-updated.format-catalogue-videos .pv-directory {
    & > details:last-child:nth-child(2n+1) {
      grid-column: 1/-1;
    }
  }
}

body.pv-collections-updated.format-catalogue-videos .menu-creer-carte {
  grid-column: 1/-1;
  order: 10;
}

body.page-photos-videos.pv-collections-updated.format-catalogue-videos {
  & .photo-home-hero {
    position: relative;
    isolation: isolate;
    background: #073b52;
  }

  & .photo-home-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(4, 43, 63, .94), rgba(4, 43, 63, .7) 58%, rgba(4, 43, 63, .28));
    pointer-events: none;
  }

  & .photo-home-hero {
    & .hero-picture {
      z-index: -2;
    }

    & .hero-content {
      position: relative;
      z-index: 1;
    }
  }

  & .pv-escape {
    background: linear-gradient(120deg, #06374e, #086b88);
    border: 1px solid rgba(7, 81, 108, .2);
    box-shadow: 0 16px 38px rgba(7, 57, 84, .12);
    align-items: stretch;
  }

  & .pv-escape {
    & > div {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
      gap: 22px;
      padding: clamp(26px, 3.5vw, 54px);
    }

    & h2,
    & p {
      margin: 0;
    }

    & h2 {
      text-wrap: balance;
    }

    & .pv-button {
      margin-top: 0;
      background: #ff7657;
    }

    & > img {
      display: block;
      width: 100%;
      height: 100%;
      min-height: 360px;
      object-fit: cover;
    }
  }
}

@media (max-width:700px) {
  body.page-photos-videos.pv-collections-updated.format-catalogue-videos {
    & .pv-escape {
      grid-template-columns: minmax(0, 1fr);
    }

    & .pv-escape > img {
      min-height: 0;
      height: auto;
      aspect-ratio: 900/473;
    }
  }
}

body.page-photos-videos.pv-collections-updated.format-catalogue-videos {
  & .pv-continent-card > img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: contain;
    align-self: start;
  }

  & .photo-home-hero .hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
    margin-top: 26px;
  }
}

@media (min-width:701px) and (max-width:1050px) {
  body.page-photos-videos.pv-collections-updated.format-catalogue-videos .pv-continent-card {
    display: flex;
    flex-direction: column;
  }
}

@media (min-width:1101px) {
  body.page-photos-videos.pv-collections-updated.format-catalogue-videos .pv-container > #galerie.pv-collection {
    margin-top: 0;
    padding-top: 40px;
  }
}

body.page-photos-videos.pv-collections-updated.format-catalogue-videos {
  & .pv-card-photo {
    aspect-ratio: auto;
    height: auto;
    background: transparent;
  }

  & .pv-card-photo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transform: none;
  }

  & .pv-card:hover img {
    transform: none;
  }

  & .pv-grid.pv-grid-single > .pv-card:last-child:nth-child(3n+1) {
    grid-column: 1;
  }

  & .pv-grid-single {
    grid-template-columns: minmax(0, 660px);
  }
}

@media (min-width:1101px) {
  body.page-photos-videos.pv-collections-updated.format-catalogue-videos {
    & .pv-container > #galerie {
      margin-top: 0;
      padding-top: 40px;
    }

    & .pv-grid:not(.pv-grid-single) > .pv-card:last-child:nth-child(3n+1) {
      grid-column: 2;
    }
  }
}

body.page-photos-videos.pv-collections-updated.pv-country-routes.format-catalogue-videos .pv-escape > img {
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: contain;
  align-self: center;
}

@media (min-width:701px) {
  body.page-photos-videos.pv-collections-updated.pv-country-routes.format-catalogue-videos .pv-grid.pv-grid-pair {
    grid-template-columns: repeat(2, minmax(0, 520px));
    justify-content: center;
  }
}

@media (min-width:1101px) {
  body.page-photos-videos.pv-collections-updated.pv-country-routes.format-catalogue-videos {
    & .pv-grid.pv-grid-pair-ending {
      grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    & .pv-grid-pair-ending {
      & > .pv-card {
        grid-column: span 2;
      }

      & > .pv-card:nth-last-child(2) {
        grid-column: 2/span 2;
      }

      & > .pv-card:last-child {
        grid-column: 4/span 2;
      }
    }
  }
}

body.page-photos-videos.pv-europe-updated.format-catalogue-diaporamas .photo-home-hero {
  & h1 {
    max-width: 1150px;
    text-wrap: balance;
  }

  & h1 em {
    display: block;
  }

  & .lead {
    max-width: 850px;
  }
}

body.page-photos-videos.pv-europe-updated.format-catalogue-diaporamas {
  & .pv-card > a {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  & .pv-card-photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #e4f1f5;
  }

  & .pv-card-photo img {
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
    padding: 0;
    object-fit: cover;
    object-position: center;
  }

  & .pv-card-copy {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 13px;
    padding: 26px;
  }

  & .pv-card-copy {
    & h3,
    & p {
      margin: 0;
    }

    & > strong {
      align-self: flex-start;
      margin-top: auto;
      padding-top: 10px;
    }
  }

  & .pv-directory {
    gap: 20px;
  }

  & .pv-directory {
    & details {
      overflow: hidden;
      border-radius: 22px;
      background: #fff;
      box-shadow: 0 10px 28px rgba(7, 57, 84, .045);
    }

    & summary {
      display: grid;
      grid-template-columns: 96px minmax(0, 1fr) auto 32px;
      align-items: center;
      gap: 18px;
      padding: 18px;
      list-style: none;
      cursor: pointer;
    }

    & summary::-webkit-details-marker {
      display: none;
    }

    & summary::marker {
      content: "";
    }

    & summary {
      & img {
        display: block;
        width: 96px;
        height: 72px;
        border-radius: 13px;
        object-fit: cover;
      }

      & small {
        margin: 0;
        white-space: nowrap;
      }
    }
  }

  & .pv-directory-toggle {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #edf8fb;
    transition: transform .2s;
  }

  & .pv-directory {
    & details[open] .pv-directory-toggle {
      transform: rotate(45deg);
    }

    & details {
      & > div {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin: 0 18px;
        padding: 18px 0 22px;
        border-top: 1px solid #e2edf2;
      }

      & > div {
        & a {
          display: inline-flex;
          align-items: center;
          min-height: 42px;
          margin: 0;
          padding: 10px 15px;
          border: 1px solid #d6e9ef;
          border-radius: 999px;
          background: #f0f9fb;
          text-decoration: none;
        }

        & a:hover {
          background: #087e9e;
        }
      }
    }
  }

  & .pv-continents {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 28px;
  }

  & .pv-continent-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #d5e6ed;
    border-radius: 24px;
    background: linear-gradient(135deg, #073b52, #087b9b);
    box-shadow: 0 15px 35px rgba(7, 57, 84, .09);
  }

  & .pv-continent-card > img {
    display: block;
  }

  & .pv-continent-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 14px;
    padding: 25px;
  }

  & .pv-continent-copy h3,
  & .pv-continent-copy p {
    margin: 0;
  }

  & .pv-continent-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    padding-top: 5px;
  }

  & .pv-continent-links {
    & a {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      min-height: 44px;
      padding: 11px 15px;
      border: 1px solid rgba(255, 255, 255, .35);
      border-radius: 12px;
      background: rgba(255, 255, 255, .08);
      text-decoration: none;
    }

    & a:hover,
    & a:focus-visible {
      background: #ffdc79;
    }
  }
}

@media (max-width:1050px) {
  body.page-photos-videos.pv-europe-updated.format-catalogue-diaporamas {
    & .pv-continents {
      grid-template-columns: 1fr;
    }

    & .pv-continent-card {
      display: grid;
      grid-template-columns: minmax(180px, .7fr) minmax(0, 1fr);
    }

    & .pv-continent-card > img {
      height: 100%;
      aspect-ratio: auto;
    }
  }
}

@media (max-width:700px) {
  body.page-photos-videos.pv-europe-updated.format-catalogue-diaporamas {
    & .pv-card-copy {
      padding: 22px;
    }

    & .pv-directory {
      & summary {
        grid-template-columns: 72px minmax(0, 1fr) 28px;
        gap: 12px;
        padding: 14px;
      }

      & summary img {
        width: 72px;
        height: 54px;
        grid-row: 1/3;
      }
    }

    & .pv-directory-name {
      align-self: end;
    }

    & .pv-directory summary small {
      grid-column: 2;
      align-self: start;
    }

    & .pv-directory-toggle {
      grid-column: 3;
      grid-row: 1/3;
      width: 28px;
      height: 28px;
    }

    & .pv-directory details > div {
      margin-inline: 14px;
    }

    & .pv-continent-card {
      display: flex;
    }

    & .pv-continent-card > img {
      height: auto;
      aspect-ratio: 16/9;
    }

    & .pv-continent-copy {
      padding: 22px;
    }
  }
}

@media (min-width:1101px) {
  body.page-photos-videos.pv-europe-updated.format-catalogue-diaporamas .pv-grid {
    & > .pv-card:last-child:nth-child(3n+1) {
      grid-column: 2;
    }
  }
}

@media (min-width:701px) {
  body.page-photos-videos.pv-europe-updated.format-catalogue-diaporamas .pv-directory {
    & > details:last-child:nth-child(2n+1) {
      grid-column: 1/-1;
    }
  }
}

body.pv-europe-updated.format-catalogue-diaporamas .menu-creer-carte {
  grid-column: 1/-1;
  order: 10;
}

body.page-photos-videos.pv-europe-updated.format-catalogue-diaporamas {
  & .photo-home-hero {
    position: relative;
    isolation: isolate;
    background: #073b52;
  }

  & .photo-home-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(4, 43, 63, .94), rgba(4, 43, 63, .7) 58%, rgba(4, 43, 63, .28));
    pointer-events: none;
  }

  & .photo-home-hero {
    & .hero-picture {
      z-index: -2;
    }

    & .hero-content {
      position: relative;
      z-index: 1;
    }
  }

  & .pv-escape {
    background: linear-gradient(120deg, #06374e, #086b88);
    border: 1px solid rgba(7, 81, 108, .2);
    box-shadow: 0 16px 38px rgba(7, 57, 84, .12);
    align-items: stretch;
  }

  & .pv-escape {
    & > div {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
      gap: 22px;
      padding: clamp(26px, 3.5vw, 54px);
    }

    & h2,
    & p {
      margin: 0;
    }

    & h2 {
      text-wrap: balance;
    }

    & .pv-button {
      margin-top: 0;
      background: #ff7657;
    }

    & > img {
      display: block;
      width: 100%;
      height: 100%;
      min-height: 360px;
      object-fit: cover;
    }
  }
}

@media (max-width:700px) {
  body.page-photos-videos.pv-europe-updated.format-catalogue-diaporamas {
    & .pv-escape {
      grid-template-columns: minmax(0, 1fr);
    }

    & .pv-escape > img {
      min-height: 0;
      height: auto;
      aspect-ratio: 900/473;
    }
  }
}

body.page-photos-videos.pv-europe-updated.format-catalogue-diaporamas {
  & .pv-continent-card > img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: contain;
    align-self: start;
  }

  & .photo-home-hero .hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
    margin-top: 26px;
  }
}

@media (min-width:701px) and (max-width:1050px) {
  body.page-photos-videos.pv-europe-updated.format-catalogue-diaporamas .pv-continent-card {
    display: flex;
    flex-direction: column;
  }
}

@media (min-width:1101px) {
  body.page-photos-videos.pv-europe-updated.format-catalogue-diaporamas .pv-container > #galerie.pv-collection {
    margin-top: 0;
    padding-top: 40px;
  }
}

body.page-photos-videos.pv-europe-updated.pv-country-collection.format-catalogue-diaporamas {
  & .pv-card-photo {
    aspect-ratio: auto;
  }

  & .pv-card-photo img {
    height: auto;
    object-fit: contain;
  }

  & .pv-grid-single > .pv-card:last-child:nth-child(3n+1) {
    grid-column: 1;
  }

  & .pv-escape > img {
    height: auto;
    min-height: 0;
    object-fit: contain;
    align-self: center;
  }
}

@media (min-width:701px) {
  body.pv-country-collection.format-catalogue-diaporamas .pv-grid-pair {
    grid-template-columns: repeat(2, minmax(0, 520px));
    justify-content: center;
  }
}
