/* A photographic index of the team's own archive. */
.team-gallery-page { background:#f3f5f3; color:#102e43; }
.team-gallery-page main.rubrique-interieure { display:block; width:100%; max-width:none; margin:0; padding:0; background:transparent; }
.team-gallery-page #coulisses.reportage {
  box-sizing:border-box; display:block; width:min(100% - var(--team-edge)*2, 78rem); max-width:none; margin:auto;
  padding:clamp(2.2rem,5vw,5rem) 0 clamp(3rem,6vw,6rem); background:none; color:#102e43;
}
.team-gallery-page .reportage>h1 { position:relative; margin:0; padding:0; color:#102e43; text-align:left; font:italic 500 clamp(2.8rem,6vw,6.2rem)/1.02 Georgia,serif; letter-spacing:-.055em; }
.team-gallery-page .reportage>p { margin:.8rem 0 1.6rem; padding:0; font:500 clamp(1rem,1.6vw,1.2rem)/1.5 var(--team-sans); color:#415969; }
.team-gallery-page .album-links { position:static; display:flex; flex-direction:row; width:auto; flex-wrap:wrap; align-items:center; justify-content:flex-start; gap:0 clamp(.7rem,2.7vw,2.5rem); padding:.25rem 0; margin:0; border-block:1px solid #acbdc4; background:none; }
.album-links a { display:inline-flex; min-height:44px; align-items:center; padding:.15rem 0; background:none; border:0; color:#154a66; font:650 .98rem/1.28 var(--team-sans); text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:.22em; text-decoration-color:#8aa7b8; }
.album-links a:hover { text-decoration-color:currentColor; }
.team-gallery-page .tp-album { scroll-margin:1.5rem; margin:clamp(2.15rem,4.4vw,4.4rem) 0 0; padding:0; }
.team-gallery-page .tp-album h2 { display:flex; align-items:center; gap:.9rem; margin:0 0 1.15rem; font:680 clamp(1.4rem,2.35vw,2.1rem)/1.18 var(--team-sans); letter-spacing:-.035em; color:#102e43; }
.team-gallery-page .tp-album h2::before {content:"";display:block;flex:none;width:1.8rem;height:3px;background:#bd2438;}
.team-gallery-page .tp-gallery { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(1.2rem,2.5vw,2rem) clamp(.75rem,1.8vw,1.5rem); }
.team-gallery-page .tp-gallery figure {display:flex;flex-flow:column;min-width:0;margin:0;background:none;box-shadow:none;border:0;}
.team-gallery-page .tp-gallery a {display:block;min-width:0;overflow:hidden;border-radius:.4rem;background:#d7e1e4; }
.team-gallery-page .tp-gallery img { display:block; width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; border-radius:0; transition:transform .25s ease; }
@media(hover:hover) and (prefers-reduced-motion:no-preference){.team-gallery-page .tp-gallery a:hover img{transform:scale(1.025);}}
.team-gallery-page .tp-gallery figcaption { box-sizing:border-box; margin:0; padding:.55rem 0 0; max-width:58ch; color:#334f5e; font:450 .98rem/1.48 var(--team-sans); text-align:left; }
.team-gallery-page #selection .tp-gallery {grid-template-columns:1.25fr 1fr 1fr;}
.team-gallery-page #selection figure:first-child {grid-column:1;grid-row:1/3;}
.team-gallery-page #selection figure:nth-child(2) {grid-column:2/4;}
.team-gallery-page #selection figure:first-child a {flex:1;position:relative;min-height:18rem;}
.team-gallery-page #selection figure:first-child img {position:absolute;inset:0;height:100%;object-position:53% center;}
.team-gallery-page #selection figure:nth-child(2) img {aspect-ratio:2.45;object-position:50% 18%;}
.team-gallery-page #selection figure:nth-child(n+3) img {aspect-ratio:1.95;}
.team-gallery-page #photo-dialog {box-sizing:border-box;max-width:min(95vw,68rem);max-height:94vh;max-height:94dvh;margin:auto;padding:clamp(.6rem,1.6vw,1.1rem);border-color:#49657a; border-radius:.65rem;background:#0b2133; box-shadow:0 2rem 5rem #0007;}
.team-gallery-page #photo-dialog::backdrop {background:#03101fdc;}
.team-gallery-page #photo-dialog .tp-tools {display:flex;align-items:center;gap:.5rem;}
.team-gallery-page #photo-dialog button {min-width:44px;min-height:44px;margin:0;border:1px solid #688194;border-radius:.35rem;background:#17354b;color:white;font:600 1rem/1.3 var(--team-sans);}
.team-gallery-page #photo-dialog button[data-close] {margin-left:auto;}
.team-gallery-page #photo-dialog img {max-width:100%;height:min(65vh,700px);height:min(65dvh,700px);object-fit:contain;background:#071828;border-radius:.25rem;}
.team-gallery-page #photo-dialog p {font:500 1rem/1.45 var(--team-sans);color:#e9f0f5;}
@media(max-width:61rem){.team-gallery-page .tp-gallery{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:46rem){
  .team-gallery-page #coulisses.reportage {width:calc(100% - 2 * var(--team-edge));}
  .team-gallery-page .tp-gallery,.team-gallery-page #selection .tp-gallery {grid-template-columns:repeat(2,minmax(0,1fr));}
  .team-gallery-page #selection figure:first-child {grid-area:auto;}
  .team-gallery-page #selection figure:nth-child(2) {grid-column:auto;}
  .team-gallery-page #selection figure:first-child a {min-height:0;flex:none;}
  .team-gallery-page #selection figure:nth-child(n) img {position:static;aspect-ratio:4/3;height:auto;}
}
@media(max-width:34rem){
  .team-gallery-page #selection .tp-gallery {gap:1.3rem .75rem;}
  .team-gallery-page #selection figure:first-child {grid-column:1/-1;}
  .team-gallery-page #selection figure:first-child img {aspect-ratio:1.35;object-position:50% 56%;}
  .team-gallery-page #selection figure:nth-child(2) {grid-column:1/-1;}
  .team-gallery-page #selection figure:nth-child(2) img {aspect-ratio:1.95;}
  .team-gallery-page .tp-gallery figcaption {font-size:.95rem;}
}
@media print{.album-links,.tp-tools{display:none;}.team-gallery-page .tp-gallery figure{break-inside:avoid;}}

