

.tm4-cap { display: grid; gap: var(--s5); align-items: end; margin-bottom: var(--s6); }
.tm4-cap .season-copy h2 { margin: var(--s3) 0 var(--s4); }
.tm4-cap .season-lead { margin: 0; max-width: 36rem; }
.tm4-cap .cta { margin: 0; }
@media (min-width: 64rem) { .tm4-cap { grid-template-columns: minmax(0, 1fr) auto; gap: var(--s8); } }

.tm4 { position: relative; }

.tm4-pista {
  list-style: none;
  margin: -6px -4px;
  padding: 6px 4px 14px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 16rem;
  gap: 1.25rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  overscroll-behavior-x: contain;
  scrollbar-color: var(--gold) #2a2a2a;
}
.tm4.is-ready .tm4-pista { scrollbar-width: none; padding-bottom: 6px; }
.tm4.is-ready .tm4-pista::-webkit-scrollbar { display: none; }
.tm4-pista:focus-visible { outline: 2px solid var(--cream); outline-offset: -2px; }
@media (max-width: 47.999rem) { .tm4-pista { grid-auto-columns: 78%; gap: .875rem; } }

.tm4-card {
  scroll-snap-align: start;
  min-width: 0;
  background: #242424;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.tm4-poza { margin: 0; background: #efe8da; overflow: hidden; }
.tm4-poza img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .28s ease; }
.tm4-card:hover .tm4-poza img { transform: scale(1.03); }

.tm4-txt { padding: .875rem 1rem 1.125rem; display: grid; gap: .5rem; align-content: start; }
.tm4-txt h3 { margin: 0; font-size: 1.0625rem; line-height: 1.3; color: var(--cream); }
.tm4-ml {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: .125rem .625rem;
  border: 1px solid #c9a45c;
  border-radius: 999px;
  color: #c9a45c;
  text-decoration: none;
  white-space: nowrap;
}
.tm4-ml:hover { background: #c9a45c; color: #1a1a1a; }
.tm4-ml:focus-visible { outline: 2px solid var(--cream); outline-offset: 2px; }
.tm4-reteta { margin: 0; font-size: .875rem; line-height: 1.45; color: var(--cream-muted); }


.tm4-card.tm4-mai { display: grid; place-content: center; gap: var(--s4); text-align: center; padding: var(--s5); background: transparent; border: 1px dashed #555; }
.tm4-mai p { margin: 0; color: var(--cream-muted); }
.tm4-mai .btn { justify-self: center; }

.tm4-jos { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); margin-top: var(--s3); }
.tm4-nota { margin: 0; font-size: var(--t-xs); color: var(--cream-muted); }


.tm4-pauza {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #888;
  border-radius: 50%;
  background: none;
  color: #888;
  cursor: pointer;
  transition: color .15s ease-out, border-color .15s ease-out;
}
.tm4-pauza[hidden] { display: none; }
.tm4-pauza svg { width: 14px; height: 14px; display: block; }
.tm4-pauza:hover, .tm4-pauza:focus-visible { color: #c9a45c; border-color: #c9a45c; }
.tm4-pauza:focus-visible { outline: 2px solid #c9a45c; outline-offset: 2px; }
.tm4-pauza .ic-play { display: none; }
.tm4-pauza.is-paused .ic-play { display: block; }
.tm4-pauza.is-paused .ic-pause { display: none; }


.tm4-btn {
  position: absolute;
  top: calc(50% - 22px);
  z-index: 2;
  width: 24px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 2px;
  background: none;
  color: #888;
  cursor: pointer;
  transition: color .15s ease-out;
}
.tm4-btn[hidden] { display: none; }
.tm4-btn svg { width: 20px; height: 44px; display: block; overflow: visible; }
.tm4-btn:hover, .tm4-btn:focus-visible { color: #c9a45c; }
.tm4-btn:focus-visible { outline: 2px solid #c9a45c; outline-offset: 0; }
.tm4-btn[aria-disabled="true"] { color: #4a4a4a; cursor: default; }
.tm4-prev { left: calc((var(--gutter) + 24px) / -2); }
.tm4-next { right: calc((var(--gutter) + 24px) / -2); }

@media (prefers-reduced-motion: reduce) {
  .tm4-poza img, .tm4-btn, .tm4-pauza { transition: none; }
  .tm4-pauza { display: none; }
  .tm4-card:hover .tm4-poza img { transform: none; }
  .tm4-pista { scroll-behavior: auto; }
}
