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

/* Film catalogue scoped to /films/ and /en/films/ only. */
.tm-films-catalog-page {
  --tm-film-ink: #17181b;
  --tm-film-muted: #737174;
  --tm-film-accent: #aa6043;
  --tm-film-border: #e8e3df;
  width: min(1240px, calc(100% - 72px));
  margin: 0 auto 96px;
  padding: clamp(30px, 4vw, 58px) 0 0;
  color: var(--tm-film-ink);
  overflow: visible;
}
.tm-films-catalog-page, .tm-films-catalog-page * { box-sizing: border-box; }
.tm-films-catalog-page button { font: inherit; }
.tm-films-catalog-page .tm-films-overview {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
  padding-bottom: clamp(26px, 3.8vw, 44px);
  border-bottom: 1px solid var(--tm-film-border);
}
.tm-films-catalog-page .tm-films-overview__copy { max-width: 670px; min-width: 0; }
.tm-films-catalog-page .tm-films-overview__eyebrow {
  display: block;
  margin: 0 0 10px;
  color: var(--tm-film-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
}
.tm-films-catalog-page .tm-films-overview__copy p {
  margin: 0;
  color: #49474a;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.95;
}
.tm-films-catalog-page .tm-films-overview__count {
  display: flex;
  flex: 0 0 auto;
  align-items: baseline;
  gap: 12px;
  white-space: nowrap;
}
.tm-films-catalog-page .tm-films-overview__count strong {
  font-family: var(--tm-font-heading, inherit);
  font-size: clamp(40px, 5vw, 67px);
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.tm-films-catalog-page .tm-films-overview__count span {
  color: var(--tm-film-muted);
  font-size: 15px;
  font-weight: 700;
}
.tm-films-catalog-page .tm-films-catalog { display: grid; gap: 0; }
.tm-films-catalog-page .tm-films-catalog-section {
  min-width: 0;
  padding: clamp(40px, 5vw, 62px) 0 clamp(38px, 4.8vw, 58px);
  border-bottom: 1px solid var(--tm-film-border);
}
.tm-films-catalog-page .tm-films-catalog-section:last-child { border-bottom: 0; }
.tm-films-catalog-page .tm-films-catalog-section__header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 26px;
  margin: 0 0 28px;
}
.tm-films-catalog-page .tm-films-catalog-section__heading { min-width: 0; }
.tm-films-catalog-page .tm-films-catalog-section__kicker {
  display: block;
  margin: 0 0 9px;
  color: var(--tm-film-accent);
  direction: ltr;
  width: fit-content;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
  font-variant-numeric: tabular-nums;
}
.tm-films-catalog-page .tm-films-catalog-section__heading h2 {
  margin: 0;
  color: #111216;
  font-family: var(--tm-font-heading, inherit);
  font-size: clamp(27px, 3.2vw, 39px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: 0;
}
.tm-films-catalog-page .tm-films-catalog-section__heading p {
  margin: 10px 0 0;
  color: var(--tm-film-muted);
  font-size: 14px;
  line-height: 1.8;
}
.tm-films-catalog-page .tm-films-catalog-section__controls {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 22px;
  padding-bottom: 3px;
}
.tm-films-catalog-page .tm-films-catalog-section__count {
  color: #7b7673;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.tm-films-catalog-page .tm-films-catalog-section__nav { display: flex; align-items: center; gap: 9px; }
.tm-films-catalog-page .tm-films-catalog-section__arrow {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #d4d0cc;
  border-radius: 10px;
  background: #fff;
  color: #242326;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.tm-films-catalog-page .tm-films-catalog-section__arrow span { font: 600 23px/1 Arial, sans-serif; }
.tm-films-catalog-page .tm-films-catalog-section__arrow:hover:not(:disabled) {
  background: #17181b;
  border-color: #17181b;
  color: #fff;
  transform: translateY(-1px);
}
.tm-films-catalog-page .tm-films-catalog-section__arrow:disabled {
  opacity: .3;
  cursor: default;
}
.tm-films-catalog-page .tm-films-catalog-section__carousel {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-start;
  gap: clamp(14px, 1.65vw, 21px);
  width: 100%;
  max-width: 100%;
  padding: 3px 2px 15px;
  margin: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.tm-films-catalog-page .tm-films-catalog-section__carousel::-webkit-scrollbar { display: none; }
.tm-films-catalog-page .tm-films-catalog-section__card {
  display: block;
  flex: 0 0 clamp(184px, 19vw, 224px);
  min-width: 0;
  max-width: 224px;
  height: auto;
  margin: 0;
  overflow: visible;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  background: transparent;
}
.tm-films-catalog-page .tm-films-catalog-section__button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  text-align: start;
  cursor: pointer;
}
.tm-films-catalog-page .tm-films-catalog-section__poster {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: #252428;
  isolation: isolate;
  box-shadow: 0 8px 23px rgba(26,22,20,.10);
}
.tm-films-catalog-page .tm-films-catalog-section__poster > img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transition: transform .35s ease, filter .35s ease;
}
.tm-films-catalog-page .tm-films-catalog-section__button:hover img,
.tm-films-catalog-page .tm-films-catalog-section__button:focus-visible img {
  transform: scale(1.04);
  filter: saturate(1.06);
}
.tm-films-catalog-page .tm-films-catalog-section__no-poster {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  min-height: 100%;
  padding: 16px;
  background: radial-gradient(circle at 72% 20%, #673723, transparent 54%), linear-gradient(145deg, #271817, #0c0e11);
  color: #efdbbd;
  text-align: center;
}
.tm-films-catalog-page .tm-films-catalog-section__no-poster::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(239,219,189,.35);
  pointer-events: none;
}
.tm-films-catalog-page .tm-films-catalog-section__no-poster b {
  font: 900 clamp(28px, 3vw, 44px)/1.1 Arial, sans-serif;
  letter-spacing: -.05em;
}
.tm-films-catalog-page .tm-films-catalog-section__no-poster small {
  font: 700 9px/1.5 Arial, sans-serif;
  letter-spacing: .1em;
}
.tm-films-catalog-page .tm-films-catalog-section__view {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 42px 16px 16px;
  background: linear-gradient(transparent, rgba(8,8,10,.83));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(7px);
  transition: opacity .25s ease, transform .25s ease;
}
.tm-films-catalog-page .tm-films-catalog-section__view span { font: 20px/1 Arial, sans-serif; }
.tm-films-catalog-page .tm-films-catalog-section__button:hover .tm-films-catalog-section__view,
.tm-films-catalog-page .tm-films-catalog-section__button:focus-visible .tm-films-catalog-section__view {
  opacity: 1;
  transform: translateY(0);
}
.tm-films-catalog-page .tm-films-catalog-section__card-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 15px 3px 3px;
  min-width: 0;
}
.tm-films-catalog-page .tm-films-catalog-section__card-copy strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 1.48em;
  color: #1b1c20;
  font-family: var(--tm-font-heading, inherit);
  font-size: 17px;
  line-height: 1.48;
  font-weight: 800;
}
.tm-films-catalog-page .tm-films-catalog-section__card-copy > span,
.tm-films-catalog-page .tm-films-catalog-section__card-copy small {
  color: #767273;
  font-size: 12px;
  line-height: 1.6;
  white-space: normal;
}
.tm-films-catalog-page .tm-films-catalog-section__card-copy > span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.tm-films-catalog-page .tm-films-catalog-section__empty {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 122px;
  padding: 24px 28px;
  border: 1px dashed #ddd3cd;
  border-radius: 12px;
  background: #faf8f6;
  color: #655f5e;
}
.tm-films-catalog-page .tm-films-catalog-section__empty span { color: var(--tm-film-accent); font-size: 24px; }
.tm-films-catalog-page .tm-films-catalog-section__empty p { margin: 0; line-height: 1.8; font-size: 14px; }
.tm-films-catalog-page :is(.tm-films-catalog-section__button, .tm-films-catalog-section__arrow, .tm-films-detail__link, .tm-home-film-modal__close):focus-visible {
  outline: 3px solid #c68050;
  outline-offset: 4px;
}

/* Film details use the existing global dialog mechanics, with page-specific styling. */
.tm-films-catalog-page .tm-films-detail {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: clamp(12px, 3vw, 34px);
  direction: inherit;
}
.tm-films-catalog-page .tm-films-detail[hidden] { display: none !important; }
.tm-films-catalog-page .tm-films-detail .tm-home-film-modal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(11,13,17,.84);
  border: 0;
  cursor: pointer;
}
.tm-films-catalog-page .tm-films-detail__panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 36%) minmax(0, 1fr);
  width: min(920px, 100%);
  max-height: min(760px, calc(100dvh - 36px));
  overflow: hidden;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(0,0,0,.3);
}
.tm-films-catalog-page .tm-films-detail .tm-home-film-modal__close {
  position: absolute;
  z-index: 4;
  top: 16px;
  inset-inline-start: 16px;
  width: 40px;
  height: 40px;
  border: 1px solid #e2e0dd;
  border-radius: 9px;
  padding: 0;
  background: #fff;
  color: #1c1d20;
  font: 400 26px/1 Arial, sans-serif;
  cursor: pointer;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
}
.tm-films-catalog-page .tm-films-detail__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  max-height: none;
  margin: 0;
  padding: 18px;
  background: #212025;
  overflow: hidden;
}
.tm-films-catalog-page .tm-films-detail__media > img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: min(720px, calc(100dvh - 72px));
  object-fit: contain;
  object-position: center;
}
.tm-films-catalog-page .tm-films-detail__media .tm-films-catalog-section__no-poster { min-height: 380px; }
.tm-films-catalog-page .tm-films-detail__content {
  display: block;
  min-width: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(36px, 5vw, 60px) clamp(24px, 4vw, 48px) 36px;
  direction: inherit;
  text-align: start;
  scrollbar-width: thin;
}
.tm-films-catalog-page .tm-films-detail .tm-home-film-modal__eyebrow {
  margin-bottom: 13px;
  color: var(--tm-film-accent);
  font-size: 12px;
  line-height: 1.6;
}
.tm-films-catalog-page .tm-films-detail .tm-home-film-modal__eyebrow::before { width: 19px; }
.tm-films-catalog-page .tm-films-detail__content h3 {
  margin: 0 0 22px;
  color: #16171b;
  font-family: var(--tm-font-heading, inherit);
  font-size: clamp(27px, 3.2vw, 38px);
  line-height: 1.35;
  font-weight: 800;
}
.tm-films-catalog-page .tm-films-detail .tm-home-film-modal__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 26px;
  border-top: 1px solid #e8e4e2;
  border-inline-start: 1px solid #e8e4e2;
}
.tm-films-catalog-page .tm-films-detail .tm-home-film-modal__meta > div {
  padding: 10px 12px;
  border-bottom: 1px solid #e8e4e2;
  border-inline-end: 1px solid #e8e4e2;
}
.tm-films-catalog-page .tm-films-detail .tm-home-film-modal__meta dt {
  color: #817d7b;
  font-size: 11px;
  line-height: 1.6;
}
.tm-films-catalog-page .tm-films-detail .tm-home-film-modal__meta dd {
  margin: 2px 0 0;
  color: #232327;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.tm-films-catalog-page .tm-films-detail__synopsis h4 {
  margin: 0 0 10px;
  color: #202126;
  font-family: var(--tm-font-heading, inherit);
  font-size: 16px;
  font-weight: 800;
}
.tm-films-catalog-page .tm-films-detail__synopsis p {
  margin: 0;
  color: #606066;
  font-size: 14px;
  line-height: 2;
  overflow-wrap: anywhere;
}
.tm-films-catalog-page .tm-films-detail__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  margin-top: 24px;
  color: #984c2b;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.6;
  text-decoration: none;
}
.tm-films-catalog-page .tm-films-detail__link:hover { text-decoration: underline; }
.tm-films-catalog-page .tm-films-detail__link span { font: 18px Arial, sans-serif; }
body.tm-home-film-modal-open { overflow: hidden; }

@media (max-width: 800px) {
  .tm-films-catalog-page { width: calc(100% - 36px); margin-bottom: 64px; }
  .tm-films-catalog-page .tm-films-catalog-section__header { align-items: start; }
  .tm-films-catalog-page .tm-films-catalog-section__controls { flex-direction: column; align-items: end; gap: 10px; }
  .tm-films-catalog-page .tm-films-catalog-section__card { flex-basis: clamp(180px, 29vw, 222px); }
  .tm-films-catalog-page .tm-films-detail__panel { grid-template-columns: minmax(195px, 34%) minmax(0,1fr); }
  .tm-films-catalog-page .tm-films-detail__content { padding: 36px 24px; }
}
@media (max-width: 600px) {
  .tm-films-catalog-page {
    width: calc(100% - 28px);
    margin-bottom: 55px;
    padding-top: 22px;
  }
  .tm-films-catalog-page .tm-films-overview { gap: 15px; align-items: flex-start; }
  .tm-films-catalog-page .tm-films-overview__copy p { font-size: 13px; line-height: 1.8; }
  .tm-films-catalog-page .tm-films-overview__count { flex-direction: column; align-items: center; gap: 3px; }
  .tm-films-catalog-page .tm-films-overview__count strong { font-size: 37px; }
  .tm-films-catalog-page .tm-films-overview__count span { font-size: 11px; }
  .tm-films-catalog-page .tm-films-catalog-section { padding: 34px 0 32px; }
  .tm-films-catalog-page .tm-films-catalog-section__header { align-items: flex-start; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
  .tm-films-catalog-page .tm-films-catalog-section__heading { width: 100%; }
  .tm-films-catalog-page .tm-films-catalog-section__heading h2 { font-size: clamp(24px, 6vw, 30px); }
  .tm-films-catalog-page .tm-films-catalog-section__heading p { font-size: 12px; }
  .tm-films-catalog-page .tm-films-catalog-section__controls { flex-direction: row; width: 100%; align-items: center; justify-content: space-between; }
  .tm-films-catalog-page .tm-films-catalog-section__arrow { width: 38px; height: 38px; }
  .tm-films-catalog-page .tm-films-catalog-section__card { flex-basis: clamp(185px, 60vw, 234px); max-width: 234px; }
  .tm-films-catalog-page .tm-films-catalog-section__card-copy strong { font-size: 15px; }
  .tm-films-catalog-page .tm-films-catalog-section__view { opacity: 1; transform: none; padding: 32px 12px 12px; font-size: 11px; }
  /* Override the generic homepage dialog's bottom-sheet !important rules. */
  .tm-films-catalog-page .tm-films-detail { align-items: center !important; padding: 10px !important; }
  .tm-films-catalog-page .tm-films-detail__panel {
    display: flex;
    flex-direction: column;
    width: 100% !important;
    max-height: calc(100dvh - 20px) !important;
    border-radius: 15px !important;
    overflow-y: auto;
  }
  .tm-films-catalog-page .tm-films-detail__media {
    flex: 0 0 auto;
    height: clamp(190px, 28dvh, 250px);
    min-height: 0 !important;
    max-height: none !important;
    padding: 14px;
  }
  .tm-films-catalog-page .tm-films-detail__media > img {
    min-height: 0 !important;
    max-height: 100% !important;
    object-fit: contain !important;
  }
  .tm-films-catalog-page .tm-films-detail__media .tm-films-catalog-section__no-poster { min-height: 100%; }
  .tm-films-catalog-page .tm-films-detail__content { overflow: visible; padding: 26px 21px 30px !important; }
  .tm-films-catalog-page .tm-films-detail .tm-home-film-modal__close { top: 12px; inset-inline-start: 12px; }
  .tm-films-catalog-page .tm-films-detail__content h3 { font-size: 27px; margin-bottom: 18px; }
  .tm-films-catalog-page .tm-films-detail .tm-home-film-modal__meta { margin-bottom: 22px; }
  .tm-films-catalog-page .tm-films-detail__synopsis p { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .tm-films-catalog-page .tm-films-catalog-section__carousel { scroll-behavior: auto; }
  .tm-films-catalog-page .tm-films-catalog-section__button img,
  .tm-films-catalog-page .tm-films-catalog-section__view,
  .tm-films-catalog-page .tm-films-catalog-section__arrow { transition: none; }
}


/* Remove redundant catalogue overview, keep each film as a readable portrait carousel card. */
.tm-films-catalog-page { padding-top:clamp(15px,2vw,25px); }
.tm-films-catalog-page .tm-films-catalog-section { padding-block:clamp(28px,3.2vw,46px); }
.tm-films-catalog-page .tm-films-catalog-section:first-child { padding-top:0; }
.tm-films-catalog-page .tm-films-catalog-section__header { margin-bottom:clamp(20px,2vw,30px); }
.tm-films-catalog-page .tm-films-catalog-section__card { flex-basis:clamp(185px,19vw,239px); max-width:239px; }
.tm-films-catalog-page .tm-films-catalog-section__poster { aspect-ratio:2/3; border-radius:4px; }
@media(max-width:680px) {
  .tm-films-catalog-page { width:calc(100% - 28px); padding-top:18px; }
  .tm-films-catalog-page .tm-films-catalog-section__card { flex-basis:min(54vw,218px); max-width:min(54vw,218px); }
  .tm-films-catalog-page .tm-films-catalog-section__heading h2 { font-size:clamp(23px,6vw,30px); }
}

/* Unified current film poster grid: 4 / 3 / 1 responsive cards. */
.tm-films-catalog-page .tm-films-catalog-section__carousel { --tm-film-gallery-gap:clamp(14px,2vw,24px); gap:var(--tm-film-gallery-gap)!important; }
.tm-films-catalog-page .tm-films-catalog-section__card { flex:0 0 calc((100% - 2 * var(--tm-film-gallery-gap))/3)!important; width:calc((100% - 2 * var(--tm-film-gallery-gap))/3)!important; max-width:none!important; }
.tm-films-catalog-page .tm-films-catalog-section__poster { aspect-ratio:2/3!important; }
.tm-films-catalog-page .tm-films-catalog-section__heading h2 { font-size:clamp(26px,2.45vw,39px)!important; }
@media(min-width:1100px) {
 .tm-films-catalog-page .tm-films-catalog-section__carousel { --tm-film-gallery-gap:clamp(12px,1.4vw,20px); }
 .tm-films-catalog-page .tm-films-catalog-section__card { flex:0 0 calc((100% - 3 * var(--tm-film-gallery-gap))/4)!important; width:calc((100% - 3 * var(--tm-film-gallery-gap))/4)!important; min-width:0; }
}
@media(min-width:700px) and (max-width:1099px) {
 .tm-films-catalog-page .tm-films-catalog-section__carousel { --tm-film-gallery-gap:clamp(12px,1.7vw,20px); }
}
@media(max-width:699px) {
 .tm-films-catalog-page .tm-films-catalog-section__card { flex-basis:min(76vw,315px)!important; width:min(76vw,315px)!important; }
 .tm-films-catalog-page .tm-films-catalog-section__heading h2 { font-size:clamp(24px,6vw,32px)!important; }
}

/* special screenings reuse film cards and the existing accessible modals. */
.tm-special-screenings-page { padding-bottom: clamp(32px, 5vw, 76px); }
.tm-special-screenings-intro { padding-top: clamp(34px, 5vw, 76px); padding-bottom: clamp(12px, 2vw, 30px); }
.tm-special-screenings-intro__eyebrow { display: block; color: #a45d42; font-size: 13px; font-weight: 700; margin-bottom: 8px; letter-spacing: .02em; }
.tm-special-screenings-intro h1 { margin: 0; color: #15161a; font-size: clamp(35px, 4.25vw, 66px); font-weight: 700; line-height: 1.22; }
.tm-special-screenings-intro__text { max-width: 760px; margin-top: 15px; color: #555960; font-size: clamp(16px, 1.35vw, 20px); line-height: 1.9; }
.tm-special-screenings-intro__text p { margin: 0 0 .8em; }
.tm-special-screenings-page--fr .tm-special-screenings-intro__text { line-height: 1.65; }
@media (max-width: 720px) { .tm-special-screenings-intro { padding-top: 22px; padding-bottom: 10px; } }
