.pathe-films { margin: 0 auto 32px; width: 91.6667%; color: var(--pathe-white, #f7f4ec); }
.pathe-films__heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.pathe-films__heading h2 { margin: 0; font-size: clamp(24px, 3vw, 34px); font-weight: 700; line-height: 1.2; }
.pathe-films__more { flex-shrink: 0; min-height: 44px; padding: 10px 18px; border: 0; border-radius: 4px; background: var(--pathe-yellow, #f4bf2d); color: #151821; font: inherit; font-weight: 700; cursor: pointer; }
.pathe-films__more:hover { background: #ffd260; }
.pathe-films__list { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 5); gap: 18px; margin: 0; padding: 4px 0 16px; list-style: none; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #f4bf2d #262c36; }
.pathe-films__list::-webkit-scrollbar { height: 6px; }
.pathe-films__list::-webkit-scrollbar-track { background: #262c36; }
.pathe-films__list::-webkit-scrollbar-thumb { background: #f4bf2d; border-radius: 3px; }
.pathe-films__list.is-expanded { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pathe-films__list li { min-width: 0; scroll-snap-align: start; }
.pathe-film { display: block; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.pathe-film__cover { position: relative; display: block; isolation: isolate; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 6px; background: #202631; }
.pathe-film__cover img { position: absolute; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.pathe-film__cover img[hidden] { display: none; }
.pathe-film__fallback { position: absolute; inset: 0; display: grid; place-items: center; color: #b9bdc5; }
.pathe-film__fallback svg { width: 40px; height: 40px; }
.pathe-film__play { position: absolute; bottom: 12px; right: 12px; z-index: 2; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #f4bf2d; border-radius: 50%; background: #151821; color: #f4bf2d; }
.pathe-film__play svg { width: 22px; height: 22px; }
.pathe-film:hover .pathe-film__play, .pathe-film:focus-visible .pathe-film__play { background: #f4bf2d; color: #151821; }
.pathe-film__title { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; margin-top: 12px; font-size: 16px; font-weight: 700; line-height: 1.4; }
.pathe-film__caption { display: block; margin-top: 5px; font-size: 13px; line-height: 1.5; color: #b9bdc5; }
.pathe-films__state { padding: 28px 0; color: #b9bdc5; line-height: 1.7; }
.pathe-films button:focus-visible, .pathe-film-player button:focus-visible { outline: 2px solid #f4bf2d; outline-offset: 3px; }
.pathe-films ::selection, .pathe-film-player ::selection { color: #151821; background: #f4bf2d; }
.pathe-film-player { box-sizing: border-box; width: min(1000px, calc(100% - 32px)); max-height: calc(100dvh - 40px); margin: auto; padding: 22px; overflow: auto; border: 1px solid #474e59; border-radius: 8px; background: #151821; color: #f7f4ec; }
.pathe-film-player::backdrop { background: rgba(0, 0, 0, .88); }
.pathe-film-player__heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 18px; }
.pathe-film-player__heading h3 { margin: 0; font-size: 20px; overflow-wrap: anywhere; }
.pathe-film-player video { display: block; width: 100%; max-height: 72dvh; background: #000; }
.pathe-film-player p[role=alert] { color: #ffcebf; line-height: 1.6; }
@media (max-width: 700px) {
  .pathe-films { width: 100%; }
  .pathe-films__list { grid-auto-columns: 43%; gap: 14px; }
  .pathe-films__list.is-expanded { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pathe-film-player { padding: 14px; }
  .pathe-film-player__heading h3 { font-size: 17px; }
}
