/* Bundled stylesheet. See assets/src/css/manifest.json. */

/* Page-specific mediatheque styles. Scoped page styles maintained in the source bundle. */
/* Mediatheque lightbox */

body.tm-media-lightbox-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

.tm-media-lightbox-trigger {
  cursor: zoom-in;
}

.tm-media-zoom-mark {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 999px;
  background: rgba(10, 12, 16, .48);
  color: #fff;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity .24s ease, transform .24s ease, background-color .24s ease;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.tm-media-zoom-mark svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.tm-media-tile:hover .tm-media-zoom-mark,
.tm-media-tile:focus-within .tm-media-zoom-mark {
  opacity: 1;
  transform: translateY(0);
}

.tm-media-zoom-mark:hover {
  background: rgba(10, 12, 16, .76);
}

.tm-media-lightbox[hidden] {
  display: none !important;
}

.tm-media-lightbox :is(.tm-media-lightbox__image, .tm-media-lightbox__video)[hidden] {
  display: none !important;
}

.tm-media-lightbox[dir="ltr"] {
  direction: ltr;
}


.tm-media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  direction: rtl;
  color: #fff;
  isolation: isolate;
}

.tm-media-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 10, .965);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.tm-media-lightbox__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) 82px;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  padding: 32px 18px 24px;
}

.tm-media-lightbox__figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 18px;
  min-width: 0;
  height: calc(100dvh - 56px);
  margin: 0;
}

.tm-media-lightbox__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
}

.tm-media-lightbox__image,
.tm-media-lightbox__video {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 1;
  transform: scale(1);
  transition: opacity .18s ease, transform .28s ease;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .32);
}

.tm-media-lightbox.is-loading .tm-media-lightbox__image,
.tm-media-lightbox.is-loading .tm-media-lightbox__video {
  opacity: .18;
  transform: scale(.992);
}

.tm-media-lightbox__loader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  margin: -21px 0 0 -21px;
  border: 3px solid rgba(255, 255, 255, .22);
  border-top-color: #fff;
  border-radius: 50%;
  opacity: 0;
  animation: tm-media-spin .8s linear infinite;
  pointer-events: none;
}

.tm-media-lightbox.is-loading .tm-media-lightbox__loader {
  opacity: 1;
}

@keyframes tm-media-spin {
  to { transform: rotate(360deg); }
}

.tm-media-lightbox__caption {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, 1120px);
  margin-inline: auto;
  padding: 0 8px;
}

.tm-media-lightbox__caption > div {
  min-width: 0;
}

.tm-media-lightbox__caption strong {
  display: block;
  overflow: hidden;
  color: #fff;
  font-family: var(--tm-font-heading, inherit);
  font-size: clamp(1rem, 1.8vw, 1.34rem);
  line-height: 1.55;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tm-media-lightbox__meta {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, .62);
  font-size: .9rem;
}

.tm-media-lightbox__counter {
  flex: 0 0 auto;
  min-width: 72px;
  color: rgba(255, 255, 255, .7);
  font-variant-numeric: tabular-nums;
  text-align: left;
}

.tm-media-lightbox__close,
.tm-media-lightbox__nav {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.tm-media-lightbox__close:hover,
.tm-media-lightbox__close:focus-visible,
.tm-media-lightbox__nav:hover,
.tm-media-lightbox__nav:focus-visible {
  border-color: rgba(255, 255, 255, .56);
  background: rgba(255, 255, 255, .17);
  outline: none;
  transform: scale(1.055);
}

.tm-media-lightbox__close {
  position: absolute;
  top: 22px;
  left: 24px;
  z-index: 4;
  width: 50px;
  height: 50px;
}

.tm-media-lightbox__close svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.tm-media-lightbox__nav {
  position: relative;
  z-index: 3;
  width: 58px;
  height: 58px;
  margin-inline: auto;
  font-family: Arial, sans-serif;
  font-size: 52px;
  font-weight: 300;
  line-height: 1;
}

.tm-media-lightbox__nav span {
  display: block;
  margin-top: -5px;
}

.tm-media-lightbox__nav[disabled] {
  opacity: .25;
  pointer-events: none;
}

@media (max-width: 820px) {
  .tm-media-lightbox__dialog {
    grid-template-columns: 1fr;
    padding: 70px 12px 18px;
  }

  .tm-media-lightbox__figure {
    grid-row: 1;
    height: calc(100dvh - 88px);
    gap: 12px;
  }

  .tm-media-lightbox__nav {
    position: absolute;
    top: 50%;
    width: 48px;
    height: 48px;
    margin: 0;
    transform: translateY(-50%);
    background: rgba(8, 10, 14, .54);
    font-size: 43px;
  }

  .tm-media-lightbox__nav:hover,
  .tm-media-lightbox__nav:focus-visible {
    transform: translateY(-50%) scale(1.04);
  }

  .tm-media-lightbox__nav--previous { right: 14px; }
  .tm-media-lightbox__nav--next { left: 14px; }

  .tm-media-lightbox__close {
    top: 14px;
    left: 14px;
    width: 46px;
    height: 46px;
  }

  .tm-media-lightbox__caption {
    align-items: center;
    gap: 12px;
    padding: 0 4px;
  }

  .tm-media-lightbox__caption strong {
    font-size: .96rem;
  }

  .tm-media-lightbox__meta {
    font-size: .78rem;
  }

  .tm-media-lightbox__counter {
    min-width: 58px;
    font-size: .84rem;
  }

  .tm-media-zoom-mark {
    top: 12px;
    left: 12px;
    width: 40px;
    height: 40px;
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tm-media-lightbox__image,
  .tm-media-lightbox__close,
  .tm-media-lightbox__nav,
  .tm-media-zoom-mark {
    transition: none !important;
  }
}

/* Extracted from pages/layout.css. */
body.page-template-page-mediatheque-php .tm-mediatheque-page, body.page-template-page-mediatheque .tm-mediatheque-page{
  width: min(1320px, calc(100% - 48px));
  margin-bottom: 72px;
}body.page-template-page-mediatheque-php .tm-mediatheque-tools, body.page-template-page-mediatheque .tm-mediatheque-tools{
  margin-top: 34px;
  padding: 0;
  border: 1px solid #dfe0e3 !important;
  border-top: 5px solid #111318 !important;
  border-radius: 0 !important;
  background: #f8f8f8 !important;
  box-shadow: none !important;
  overflow: hidden;
}body.page-template-page-mediatheque-php .tm-mediatheque-tools__head, body.page-template-page-mediatheque .tm-mediatheque-tools__head{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 26px 18px;
  border-bottom: 1px solid #dfe0e3;
  background: #fff;
}body.page-template-page-mediatheque-php .tm-mediatheque-tools__eyebrow, body.page-template-page-mediatheque .tm-mediatheque-tools__eyebrow{
  display: block;
  margin-bottom: 4px;
  color: #6d91aa;
  font-size: .78rem;
  font-weight: 700;
}body.page-template-page-mediatheque-php .tm-mediatheque-tools__head h2, body.page-template-page-mediatheque .tm-mediatheque-tools__head h2{
  margin: 0;
  color: #111318;
  font-size: clamp(1.35rem, 2vw, 1.85rem) !important;
  line-height: 1.2;
}body.page-template-page-mediatheque-php .tm-media-reset, body.page-template-page-mediatheque .tm-media-reset{
  min-height: 42px;
  padding: 8px 18px;
  border: 1px solid #111318;
  border-radius: 0 !important;
  background: #111318;
  color: #fff;
  font-size: .86rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}body.page-template-page-mediatheque-php .tm-media-reset:hover, body.page-template-page-mediatheque .tm-media-reset:hover{
  background: #fff;
  color: #111318;
}body.page-template-page-mediatheque-php .tm-filter-row, body.page-template-page-mediatheque .tm-filter-row{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border-bottom: 1px solid #dfe0e3;
}body.page-template-page-mediatheque-php .tm-filter-select, body.page-template-page-mediatheque .tm-filter-select{
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 2px 12px;
  min-height: 104px;
  padding: 18px 22px;
  border-inline-start: 1px solid #dfe0e3;
  background: #f8f8f8;
  color: #111318;
  cursor: pointer;
}body.page-template-page-mediatheque-php .tm-filter-select:first-child, body.page-template-page-mediatheque .tm-filter-select:first-child{
  border-inline-start: 0;
}body.page-template-page-mediatheque-php .tm-filter-select__index, body.page-template-page-mediatheque .tm-filter-select__index{
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: #111318;
  color: #fff;
  font-family: Arial, sans-serif !important;
  font-size: .75rem;
  font-weight: 700;
}body.page-template-page-mediatheque-php .tm-filter-select__label, body.page-template-page-mediatheque .tm-filter-select__label{
  color: #72757d;
  font-size: .76rem;
  font-weight: 600;
}body.page-template-page-mediatheque-php .tm-filter-select select, body.page-template-page-mediatheque .tm-filter-select select{
  width: 100%;
  min-height: 34px;
  padding: 0 0 3px;
  border: 0 !important;
  border-bottom: 2px solid #111318 !important;
  border-radius: 0 !important;
  background: transparent;
  color: #111318;
  font: inherit;
  font-size: .95rem;
  font-weight: 700;
  outline: none;
  cursor: pointer;
}body.page-template-page-mediatheque-php .tm-chip-row, body.page-template-page-mediatheque .tm-chip-row{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 15px 22px;
  background: #fff;
}body.page-template-page-mediatheque-php .tm-chip-row__label, body.page-template-page-mediatheque .tm-chip-row__label{
  margin-inline-end: 6px;
  color: #777a82;
  font-size: .78rem;
  font-weight: 600;
  white-space: nowrap;
}body.page-template-page-mediatheque-php .tm-media-chip, body.page-template-page-mediatheque .tm-media-chip{
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid #cfd1d5 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #111318 !important;
  box-shadow: none !important;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
}body.page-template-page-mediatheque-php .tm-media-chip:hover, body.page-template-page-mediatheque-php .tm-media-chip.is-active, body.page-template-page-mediatheque .tm-media-chip:hover, body.page-template-page-mediatheque .tm-media-chip.is-active{
  border-color: #111318 !important;
  background: #111318 !important;
  color: #fff !important;
}body.page-template-page-mediatheque-php .tm-media-grid, body.page-template-page-mediatheque .tm-media-grid{
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding-top: 28px;
}body.page-template-page-mediatheque-php .tm-media-tile, body.page-template-page-mediatheque .tm-media-tile, body.page-template-page-mediatheque-php .tm-media-tile:nth-child(n), body.page-template-page-mediatheque .tm-media-tile:nth-child(n){
  grid-column: span 1 !important;
  min-height: 0 !important;
  aspect-ratio: 4 / 3;
  border-radius: 0 !important;
  box-shadow: none !important;
}body.page-template-page-mediatheque-php .tm-media-tile img, body.page-template-page-mediatheque .tm-media-tile img, body.page-template-page-mediatheque-php .tm-media-tile video, body.page-template-page-mediatheque .tm-media-tile video{
  min-height: 0 !important;
  height: 100%;
}body.page-template-page-mediatheque-php .tm-media-overlay, body.page-template-page-mediatheque .tm-media-overlay{
  padding: 18px;
}body.page-template-page-mediatheque-php .tm-media-overlay strong, body.page-template-page-mediatheque .tm-media-overlay strong{
  font-size: 1.12rem;
}@media (max-width: 1050px){
body.page-template-page-mediatheque-php .tm-media-grid, body.page-template-page-mediatheque .tm-media-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 780px){
body.page-template-page-mediatheque-php .tm-mediatheque-page, body.page-template-page-mediatheque .tm-mediatheque-page{
    width: min(100% - 28px, 1320px);
  }body.page-template-page-mediatheque-php .tm-filter-row, body.page-template-page-mediatheque .tm-filter-row{
    grid-template-columns: 1fr;
  }body.page-template-page-mediatheque-php .tm-filter-select, body.page-template-page-mediatheque .tm-filter-select{
    min-height: 88px;
    border-inline-start: 0;
    border-top: 1px solid #dfe0e3;
  }body.page-template-page-mediatheque-php .tm-filter-select:first-child, body.page-template-page-mediatheque .tm-filter-select:first-child{
    border-top: 0;
  }body.page-template-page-mediatheque-php .tm-chip-row, body.page-template-page-mediatheque .tm-chip-row{
    overflow-x: auto;
    flex-wrap: nowrap;
  }body.page-template-page-mediatheque-php .tm-media-chip, body.page-template-page-mediatheque .tm-media-chip{
    flex: 0 0 auto;
  }body.page-template-page-mediatheque-php .tm-media-grid, body.page-template-page-mediatheque .tm-media-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px){
body.page-template-page-mediatheque-php .tm-mediatheque-tools__head, body.page-template-page-mediatheque .tm-mediatheque-tools__head{
    align-items: stretch;
    flex-direction: column;
  }body.page-template-page-mediatheque-php .tm-media-reset, body.page-template-page-mediatheque .tm-media-reset{
    width: 100%;
  }body.page-template-page-mediatheque-php .tm-media-grid, body.page-template-page-mediatheque .tm-media-grid{
    grid-template-columns: 1fr;
  }
}
/* Extracted from shared/responsive-components.css. */
body.page-template-page-mediatheque-php .tm-mediatheque-tools, body.page-template-page-mediatheque .tm-mediatheque-tools{
  border-top: 0 !important;
}body.page-template-page-mediatheque-php .tm-filter-select select, body.page-template-page-mediatheque .tm-filter-select select, body.page-template-page-mediatheque-php .tm-filter-select option, body.page-template-page-mediatheque .tm-filter-select option, body.page-template-page-mediatheque-php .tm-filter-select__label, body.page-template-page-mediatheque .tm-filter-select__label, body.page-template-page-mediatheque-php .tm-mediatheque-tools__eyebrow, body.page-template-page-mediatheque .tm-mediatheque-tools__eyebrow, body.page-template-page-mediatheque-php .tm-media-reset, body.page-template-page-mediatheque .tm-media-reset, body.page-template-page-mediatheque-php .tm-media-chip, body.page-template-page-mediatheque .tm-media-chip{
  font-family: var(--tm-font-heading) !important;
  letter-spacing: 0 !important;
}body.page-template-page-mediatheque-php .tm-filter-select select, body.page-template-page-mediatheque .tm-filter-select select{
  font-weight: 600 !important;
}
/* Server-side archive filters: one submit action applies all criteria before pagination. */
.tm-media-filter-submit {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}
.tm-media-filter-apply {
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: var(--tm-color-ink, #111);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.tm-media-filter-apply:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}
@media (max-width: 820px) {
  .tm-media-filter-submit,
  .tm-media-filter-apply { width: 100%; }
  .tm-media-filter-apply { justify-content: center; }
}

.tm-media-tile__video{display:block;width:100%;height:100%;object-fit:cover;background:#111;pointer-events:none}.tm-media-lightbox__video{max-width:100%;max-height:100%;background:#000;box-shadow:0 28px 90px rgba(0,0,0,.32)}
