/* mother-diversity · sunset-flare · 好片轩5 日落焰色 */
:root {
  --sf5-orange: #f97316;
  --sf5-orange-dark: #ea580c;
  --sf5-rose: #fb7185;
  --sf5-rose-dark: #f43f5e;
  --sf5-amber: #ea580c;
  --sf5-bg: #fff7ed;
  --sf5-surface: #ffffff;
  --sf5-ink: #1c1008;
  --sf5-muted: #78716c;
  --sf5-line: rgba(249, 115, 22, 0.22);
  --sf5-shadow: 0 12px 40px rgba(249, 115, 22, 0.12);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

.sf5-site {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 380px at 10% -8%, rgba(249, 115, 22, 0.16), transparent 58%),
    radial-gradient(700px 320px at 95% 5%, rgba(251, 113, 133, 0.12), transparent 55%),
    var(--sf5-bg);
  color: var(--sf5-ink);
  font-family: "Segoe UI", "PingFang SC", "Noto Sans SC", sans-serif;
  line-height: 1.55;
}

.sf5-site img { display: block; max-width: 100%; height: auto; }

.sf5-site a {
  text-decoration: none;
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

/* ── Header: 暖深顶栏 + 分类芯片条（替代母版侧栏/青绿居中胶囊） ── */
.sf5-head {
  position: sticky;
  top: 0;
  z-index: 90;
  background: linear-gradient(180deg, #1c1008 0%, #2a1810 100%);
  box-shadow: 0 6px 28px rgba(28, 16, 8, 0.35);
}

.sf5-head__bar {
  display: grid;
  grid-template-columns: auto 1fr minmax(160px, 220px) auto;
  align-items: center;
  gap: 14px;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 58px;
  padding: 0 16px;
}

.sf5-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff !important;
  font-weight: 900;
  position: relative;
}

.sf5-brand__flare {
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 32px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--sf5-orange), var(--sf5-rose));
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.6);
}

.sf5-brand__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-left: 6px;
  border-radius: 10px;
  font-size: 0.9rem;
  color: #fff;
  background: linear-gradient(135deg, var(--sf5-orange), var(--sf5-rose));
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.45);
}

.sf5-brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.sf5-brand__text strong {
  font-size: 1.05rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.sf5-brand__text em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
}

.sf5-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2px 4px;
}

.sf5-nav a {
  padding: 8px 12px;
  font-size: 0.84rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72) !important;
  border-bottom: 2px solid transparent;
}

.sf5-nav a:hover {
  color: var(--sf5-orange) !important;
  border-bottom-color: var(--sf5-orange);
}

.sf5-nav a[aria-current="page"] {
  color: #fff !important;
  border-bottom-color: var(--sf5-rose);
}

.sf5-search {
  display: flex;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid rgba(249, 115, 22, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.sf5-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  padding: 8px 12px;
  background: transparent;
  color: #fff;
  font-size: 0.84rem;
}

.sf5-search input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.sf5-search__btn {
  border: 0;
  padding: 0 16px;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.82rem;
  background: linear-gradient(135deg, var(--sf5-rose), var(--sf5-rose-dark));
  color: #fff;
}

.sf5-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.sf5-burger span {
  display: block;
  height: 2px;
  background: var(--sf5-orange);
  border-radius: 2px;
}

.sf5-head__chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px 12px;
  background: linear-gradient(90deg, rgba(249, 115, 22, 0.08), rgba(251, 113, 133, 0.06));
  border-top: 1px solid rgba(249, 115, 22, 0.18);
}

.sf5-head__chips::-webkit-scrollbar { display: none; }

.sf5-chip {
  flex-shrink: 0;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--sf5-orange-dark) !important;
  background: #fff;
  border: 1px solid rgba(249, 115, 22, 0.3);
}

.sf5-chip:hover {
  background: var(--sf5-orange);
  color: #fff !important;
  border-color: var(--sf5-orange);
}

.sf5-chip--more {
  color: var(--sf5-rose-dark) !important;
  border-color: rgba(251, 113, 133, 0.4);
}

.sf5-chip--more:hover {
  background: var(--sf5-rose);
  color: #fff !important;
}

/* ── Main ── */
.sf5-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 48px;
}

/* ── Hero: 左文案 + 右四格马赛克（替代居中图标 Hero / 左文右横滑） ── */
.sf5-hero {
  position: relative;
  margin: 0 -16px 24px;
  padding: 40px 20px 36px;
  overflow: hidden;
  background: linear-gradient(145deg, #1c1008 0%, #3d1f12 40%, rgba(249, 115, 22, 0.25) 100%);
}

.sf5-hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 280px at 80% 30%, rgba(251, 113, 133, 0.28), transparent 60%),
    radial-gradient(400px 240px at 20% 80%, rgba(249, 115, 22, 0.22), transparent 55%);
  pointer-events: none;
}

.sf5-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
  align-items: center;
  max-width: 1168px;
  margin: 0 auto;
}

.sf5-hero__copy {
  color: #fff;
}

.sf5-hero__eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--sf5-orange);
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.35);
}

.sf5-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 3.8vw, 2.15rem);
  font-weight: 950;
  line-height: 1.28;
}

.sf5-hero__intro {
  margin: 0 0 20px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.sf5-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sf5-hero__mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.sf5-hero__mosaic .sf5-card:nth-child(n+5) {
  display: none;
}

.sf5-hero__mosaic .sf5-card__body {
  display: none;
}

.sf5-hero__mosaic .sf5-card__thumb {
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.sf5-hero__mosaic .sf5-card__thumb img {
  aspect-ratio: 16 / 10;
}

.sf5-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  border: 2px solid transparent;
}

.sf5-btn--cta {
  background: linear-gradient(135deg, var(--sf5-rose), var(--sf5-rose-dark));
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(251, 113, 133, 0.4);
}

.sf5-btn--cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(251, 113, 133, 0.5);
}

.sf5-btn--ghost {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.45);
}

.sf5-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* ── Colorful tags row ── */
.sf5-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--sf5-surface);
  border: 1px solid var(--sf5-line);
  box-shadow: var(--sf5-shadow);
}

.sf5-tag {
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff !important;
}

.sf5-tag--orange {
  background: linear-gradient(135deg, var(--sf5-orange), var(--sf5-orange-dark));
}

.sf5-tag--rose {
  background: linear-gradient(135deg, var(--sf5-rose), var(--sf5-rose-dark));
}

.sf5-tag--amber {
  background: linear-gradient(135deg, #f59e0b, var(--sf5-amber));
}

.sf5-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.3);
}

/* ── Content blocks ── */
.sf5-block {
  margin-bottom: 36px;
}

.sf5-block--hot {
  padding: 22px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(249, 115, 22, 0.07), transparent);
  border: 1px solid var(--sf5-line);
}

.sf5-block--latest {
  padding-bottom: 8px;
}

.sf5-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(249, 115, 22, 0.12);
}

.sf5-block__head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 1.12rem;
  font-weight: 900;
  color: var(--sf5-ink);
}

.sf5-block__head a {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--sf5-orange) !important;
}

.sf5-block__head a:hover {
  color: var(--sf5-rose) !important;
}

.sf5-block__icon {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.sf5-block__icon--orange {
  background: var(--sf5-orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.2);
}

.sf5-block__icon--rose {
  background: var(--sf5-rose);
  box-shadow: 0 0 0 4px rgba(251, 113, 133, 0.2);
}

/* ── Grids ── */
.sf5-grid {
  display: grid;
  gap: 16px;
}

.sf5-grid--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.sf5-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sf5-grid--cat {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sf5-grid--related {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ── Cards: 16:10 横版 + 标题在下 + 左上徽章（替代 16:9 叠层 / 竖版 sf-card） ── */
.sf5-card__link {
  display: block;
  color: inherit !important;
}

.sf5-card__thumb {
  position: relative;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #3d1f12;
  box-shadow: var(--sf5-shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.sf5-card:hover .sf5-card__thumb {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(249, 115, 22, 0.22);
}

.sf5-card__thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.sf5-card:hover .sf5-card__thumb img {
  transform: scale(1.04);
}

.sf5-card__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--sf5-amber), #c2410c);
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.45);
}

.sf5-card__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  color: #fff;
  background: rgba(28, 16, 8, 0.35);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.sf5-card:hover .sf5-card__play {
  opacity: 1;
}

.sf5-card__body {
  padding: 10px 2px 0;
}

.sf5-card__body h3 {
  margin: 0 0 4px;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--sf5-ink);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sf5-card__body p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--sf5-muted);
}

.sf5-card__body p span:first-child {
  color: var(--sf5-orange);
  font-weight: 700;
}

/* ── Compact row card ── */
.sf5-row {
  border-radius: 12px;
  background: var(--sf5-surface);
  border: 1px solid var(--sf5-line);
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.sf5-row:hover {
  border-color: var(--sf5-orange);
  box-shadow: var(--sf5-shadow);
}

.sf5-row__link {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  color: inherit !important;
}

.sf5-row__thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}

.sf5-row__body h3 {
  margin: 0 0 6px;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--sf5-ink);
  line-height: 1.35;
}

.sf5-row__body p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--sf5-muted);
}

.sf5-row__badge {
  color: var(--sf5-rose) !important;
  font-weight: 800;
}

/* ── Category: 左栏筛选 + 右网格（替代顶栏 filter / 居中 hero） ── */
.sf5-cat-top {
  margin: 24px 0 20px;
  padding: 0 4px;
}

.sf5-cat-top h1 {
  margin: 6px 0;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  font-weight: 950;
  color: var(--sf5-orange-dark);
}

.sf5-cat-top p {
  margin: 0;
  color: var(--sf5-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 640px;
}

.sf5-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.82rem;
  color: var(--sf5-muted);
}

.sf5-crumb a {
  color: var(--sf5-orange) !important;
  font-weight: 700;
}

.sf5-crumb--play {
  margin: 20px 0 14px;
}

.sf5-cat-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  align-items: start;
}

.sf5-cat-side {
  position: sticky;
  top: 120px;
  padding: 18px 16px;
  border-radius: 16px;
  background: var(--sf5-surface);
  border: 1px solid var(--sf5-line);
  box-shadow: var(--sf5-shadow);
}

.sf5-cat-side h2 {
  margin: 0 0 14px;
  font-size: 0.88rem;
  font-weight: 900;
  color: var(--sf5-orange);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sf5-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.sf5-field span {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--sf5-muted);
}

.sf5-field input,
.sf5-field select {
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff7ed;
  color: var(--sf5-ink);
  font-size: 0.86rem;
  font-weight: 600;
}

.sf5-field input:focus,
.sf5-field select:focus {
  border-color: var(--sf5-orange);
  outline: none;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.sf5-empty {
  margin-top: 20px;
  padding: 28px;
  text-align: center;
  font-weight: 800;
  color: var(--sf5-muted);
  border-radius: 14px;
  background: var(--sf5-surface);
  border: 1px dashed rgba(249, 115, 22, 0.35);
}

/* ── Play: 全宽播放器 + 下方信息面板（替代侧栏海报 / 标题置顶） ── */
.sf5-play {
  margin-bottom: 24px;
}

.sf5-play__screen {
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 56px rgba(28, 16, 8, 0.28);
  border: 3px solid var(--sf5-orange);
  margin-bottom: -28px;
  position: relative;
  z-index: 2;
}

.sf5-play__screen video,
.sf5-play__screen #movie-player {
  width: 100%;
  max-height: 68vh;
  display: block;
  background: #000;
}

.sf5-play__error {
  margin: 0;
  padding: 16px;
  text-align: center;
  font-weight: 700;
  color: #fff;
  background: rgba(244, 63, 94, 0.85);
}

.sf5-play__panel {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: start;
  margin: 0 16px;
  padding: 38px 20px 20px;
  border-radius: 16px;
  background: var(--sf5-surface);
  border: 1px solid var(--sf5-line);
  box-shadow: var(--sf5-shadow);
  position: relative;
  z-index: 1;
}

.sf5-play__poster {
  width: 100%;
  border-radius: 10px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.2);
}

.sf5-play__info h1 {
  margin: 0 0 10px;
  font-size: clamp(1.2rem, 3vw, 1.65rem);
  font-weight: 950;
  color: var(--sf5-ink);
}

.sf5-play__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.sf5-play__tags span {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  background: rgba(249, 115, 22, 0.1);
  color: var(--sf5-orange-dark);
}

.sf5-play__brief {
  margin: 0 0 14px;
  color: var(--sf5-muted);
  line-height: 1.7;
  font-size: 0.9rem;
}

.sf5-play__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0;
}

.sf5-play__facts div {
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff7ed;
  border: 1px solid var(--sf5-line);
}

.sf5-play__facts dt {
  margin: 0 0 2px;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--sf5-muted);
  text-transform: uppercase;
}

.sf5-play__facts dd {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--sf5-ink);
}

.sf5-synopsis {
  margin-bottom: 28px;
  padding: 22px 20px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff7ed, var(--sf5-surface));
  border: 1px solid var(--sf5-line);
}

.sf5-synopsis h2 {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 900;
  color: var(--sf5-orange);
}

.sf5-synopsis p {
  margin: 0;
  color: var(--sf5-muted);
  line-height: 1.75;
  font-size: 0.92rem;
}

/* ── Footer: 焰色横幅 + 居中链接（替代三列青绿页脚） ── */
.sf5-foot {
  margin-top: 40px;
  background: linear-gradient(180deg, #2a1810, #1c1008);
  color: rgba(255, 255, 255, 0.88);
}

.sf5-foot__banner {
  padding: 14px 16px;
  text-align: center;
  background: linear-gradient(90deg, var(--sf5-orange-dark), var(--sf5-orange), var(--sf5-rose));
}

.sf5-foot__banner p {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
}

.sf5-foot__body {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 16px 24px;
  text-align: center;
}

.sf5-foot__about strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.15rem;
  color: #fff;
}

.sf5-foot__about p {
  margin: 0 0 18px;
  font-size: 0.84rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

.sf5-foot__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  margin-bottom: 18px;
}

.sf5-foot__links a {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85) !important;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.3);
}

.sf5-foot__links a:hover {
  background: var(--sf5-orange);
  color: #fff !important;
  border-color: var(--sf5-orange);
}

.sf5-foot__copy {
  margin: 0;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ── Mobile nav ── */
.sf5-nav.open {
  display: flex;
}

@media (max-width: 900px) {
  .sf5-head__bar {
    grid-template-columns: 1fr auto auto;
  }

  .sf5-brand__text em {
    display: none;
  }

  .sf5-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 14px 16px;
    background: #2a1810;
    border-bottom: 2px solid rgba(249, 115, 22, 0.3);
    box-shadow: 0 12px 32px rgba(28, 16, 8, 0.4);
  }

  .sf5-nav.open {
    display: flex;
  }

  .sf5-head__bar {
    position: relative;
  }

  .sf5-search {
    display: none;
  }

  .sf5-burger {
    display: flex;
  }

  .sf5-hero__inner {
    grid-template-columns: 1fr;
  }

  .sf5-hero__mosaic {
    max-width: 420px;
    margin: 0 auto;
  }

  .sf5-grid--5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sf5-grid--3,
  .sf5-grid--cat {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sf5-grid--related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sf5-cat-layout {
    grid-template-columns: 1fr;
  }

  .sf5-cat-side {
    position: static;
  }

  .sf5-play__panel {
    grid-template-columns: 1fr;
    margin: 0 8px;
  }

  .sf5-play__poster {
    width: 100px;
    justify-self: start;
  }

  .sf5-play__facts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .sf5-grid--5,
  .sf5-grid--3,
  .sf5-grid--cat,
  .sf5-grid--related {
    grid-template-columns: 1fr;
  }

  .sf5-hero {
    padding: 32px 16px 28px;
  }

  .sf5-hero__mosaic {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .sf5-tags {
    gap: 8px;
    padding: 12px 14px;
  }

  .sf5-tag {
    font-size: 0.76rem;
    padding: 6px 12px;
  }

  .sf5-row__link {
    grid-template-columns: 100px 1fr;
  }
}
