/* 精品视频网 · 墨青主题（与紫蓝暗色模板差异化） */

:root {
  --ink: #15202b;
  --ink-soft: #3d4f5f;
  --muted: #6b7c8a;
  --line: #d5dde5;
  --paper: #f2f5f8;
  --surface: #ffffff;
  --accent: #1f7a66;
  --accent-deep: #145c4c;
  --accent-soft: #e3f2ee;
  --warm: #c45c26;
  --radius: 10px;
  --shadow: 0 10px 28px rgba(21, 32, 43, 0.08);
  --font-display: 'Fraunces', 'Songti SC', 'Noto Serif SC', serif;
  --font-body: 'Manrope', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --container: 1180px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(31, 122, 102, 0.12), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(196, 92, 38, 0.08), transparent 50%),
    var(--paper);
  line-height: 1.6;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  max-width: 100%;
  display: block;
}

button,
input,
select {
  font: inherit;
}

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.app-shell > main,
.wfp-main {
  flex: 1;
  width: 100%;
  min-width: 0;
}

.wfp-wrap {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

@supports (padding: env(safe-area-inset-top)) {
  .wfp-header {
    padding-top: env(safe-area-inset-top);
  }

  .wfp-footer {
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
  }
}

/* —— Header —— */
.wfp-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(242, 245, 248, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.wfp-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  min-height: 72px;
}

.wfp-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.wfp-brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--accent), var(--accent-deep));
  color: #fff;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.wfp-brand__text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.wfp-nav {
  display: flex;
  justify-content: center;
  gap: 0.25rem 1.35rem;
  flex-wrap: wrap;
}

.wfp-nav a {
  position: relative;
  padding: 0.35rem 0;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
}

.wfp-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.wfp-nav a:hover,
.wfp-nav a.is-active {
  color: var(--ink);
}

.wfp-nav a.is-active::after,
.wfp-nav a:hover::after {
  transform: scaleX(1);
}

.wfp-header__tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.wfp-search {
  display: none;
  align-items: center;
  gap: 0.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.45rem 0.35rem 0.9rem;
}

.wfp-search--desktop {
  display: none;
}

.wfp-search input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 160px;
  min-width: 0;
  color: var(--ink);
}

.wfp-search button {
  border: 0;
  border-radius: 999px;
  width: 34px;
  height: 34px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  flex: 0 0 auto;
}

.wfp-search--mobile {
  display: flex;
  width: 100%;
  border-radius: 12px;
  padding: 0.4rem 0.45rem 0.4rem 0.85rem;
}

.wfp-search--mobile input {
  flex: 1;
  width: auto;
}

.wfp-search--mobile button {
  width: auto;
  min-height: 40px;
  padding: 0 0.9rem;
  border-radius: 10px;
  font-weight: 700;
}

.wfp-auth {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.wfp-auth a:hover {
  color: var(--accent-deep);
}

.wfp-auth span {
  color: var(--line);
}

.wfp-menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  cursor: pointer;
}

.wfp-drawer {
  display: none;
  border-top: 1px solid var(--line);
  padding: 1rem 0 1.25rem;
  background: rgba(242, 245, 248, 0.98);
}

.wfp-drawer.is-open {
  display: block;
}

.wfp-drawer nav {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.85rem;
}

.wfp-drawer a {
  font-weight: 600;
  color: var(--ink-soft);
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px solid transparent;
}

.wfp-drawer a.is-active,
.wfp-drawer a:hover {
  background: var(--accent-soft);
  color: var(--accent-deep);
  border-color: rgba(31, 122, 102, 0.2);
}

/* —— Buttons —— */
.wfp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 46px;
  padding: 0.7rem 1.25rem;
  border-radius: 10px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.wfp-btn:hover {
  transform: translateY(-1px);
}

.wfp-btn--primary {
  background: var(--accent);
  color: #fff;
}

.wfp-btn--primary:hover {
  background: var(--accent-deep);
}

.wfp-btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.wfp-btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

/* —— Home hero (split, not full-bleed dark) —— */
.wfp-hero {
  padding: 2.5rem 0 1.5rem;
}

.wfp-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: stretch;
}

.wfp-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem 0;
}

.wfp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-deep);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.wfp-kicker::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--accent);
}

.wfp-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  color: var(--ink);
}

.wfp-hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.wfp-hero__lead {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 34rem;
  margin: 0 0 1.5rem;
}

.wfp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.wfp-hero__stage {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 280px;
  max-height: 460px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.wfp-hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.wfp-hero__slide.is-active {
  opacity: 1;
}

.wfp-hero__stage-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(15, 24, 35, 0.85));
}

.wfp-hero__stage-meta {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  color: #fff;
  z-index: 2;
}

.wfp-hero__stage-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.wfp-hero__dots {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: flex;
  gap: 0.4rem;
}

.wfp-hero__dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
}

.wfp-hero__dots button.is-active {
  background: #fff;
  width: 22px;
  border-radius: 999px;
}

/* —— Sections —— */
.wfp-section {
  padding: 2.5rem 0;
}

.wfp-section--soft {
  background: rgba(255, 255, 255, 0.55);
  border-block: 1px solid var(--line);
}

.wfp-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.wfp-section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin: 0.2rem 0 0;
}

.wfp-section__head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.wfp-section__more {
  color: var(--accent-deep);
  font-weight: 700;
  white-space: nowrap;
}

/* category strip */
.wfp-cat-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}

.wfp-cat-item {
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.wfp-cat-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.wfp-cat-item b {
  font-size: 1.05rem;
}

.wfp-cat-item span {
  color: var(--muted);
  font-size: 0.85rem;
}

.wfp-cat-item i {
  font-style: normal;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 1rem;
}

/* —— Cards (compact poster shelf) —— */
.wfp-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem 0.7rem;
}

.wfp-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  transition: transform 0.2s ease;
}

.wfp-card:hover {
  transform: translateY(-3px);
  box-shadow: none;
  border-color: transparent;
}

.wfp-card__cover {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #d9e2ea;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(21, 32, 43, 0.06);
}

.wfp-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.wfp-card:hover .wfp-card__cover {
  border-color: rgba(31, 122, 102, 0.4);
}

.wfp-card:hover .wfp-card__cover img {
  transform: scale(1.04);
}

.wfp-card__score {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  min-width: 1.55rem;
  height: 1.25rem;
  padding: 0 0.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(21, 32, 43, 0.88);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  border-radius: 4px;
  letter-spacing: 0.01em;
}

.wfp-card__duration {
  position: absolute;
  left: 0.35rem;
  bottom: 0.35rem;
  padding: 0.12rem 0.35rem;
  background: rgba(21, 32, 43, 0.78);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 4px;
  line-height: 1.2;
}

.wfp-card__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(21, 32, 43, 0.22);
  opacity: 0;
  transition: opacity 0.2s ease;
}

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

.wfp-card__play span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  padding-left: 1px;
}

.wfp-card__body {
  padding: 0 0.1rem;
  display: grid;
  gap: 0.15rem;
}

.wfp-card__body h3 {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wfp-card__body p {
  display: none;
}

.wfp-card__meta {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
}

/* CTA band */
.wfp-cta {
  margin: 1rem 0 2.5rem;
  padding: 2rem;
  border-radius: 16px;
  background:
    linear-gradient(120deg, rgba(31, 122, 102, 0.12), transparent 45%),
    var(--surface);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.wfp-cta h2 {
  font-family: var(--font-display);
  margin: 0 0 0.4rem;
  font-size: 1.7rem;
}

.wfp-cta p {
  margin: 0;
  color: var(--ink-soft);
}

/* —— Footer —— */
.wfp-footer {
  margin-top: auto;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 3rem 0 1.5rem;
}

.wfp-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.wfp-footer .wfp-brand__text {
  color: #fff;
}

.wfp-footer h3 {
  margin: 0 0 0.85rem;
  color: #fff;
  font-size: 0.95rem;
}

.wfp-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.wfp-footer a:hover {
  color: #fff;
}

.wfp-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.1rem;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  display: grid;
  gap: 0.45rem;
}

.footer-bottom-extra {
  display: flex;
  justify-content: center;
  margin-top: 0.35rem;
}

/* ABABSEO */
.ababseo-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  pointer-events: none;
  user-select: none;
}

.ababseo-mark__sky {
  position: relative;
  width: 2rem;
  height: 1.35rem;
}

.ababseo-mark__plane {
  position: absolute;
  left: 0;
  top: 50%;
  color: #5ec4ad;
  animation: ababseo-fly 4.2s ease-in-out infinite;
}

.ababseo-mark__trail {
  position: absolute;
  right: calc(100% + 2px);
  top: 52%;
  width: 18px;
  height: 2px;
  transform: translateY(-50%);
  background: linear-gradient(to left, rgba(94, 196, 173, 0.9), transparent);
}

.ababseo-mark__spark {
  position: absolute;
  right: calc(100% + 16px);
  top: 40%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #b7ebe0;
}

.ababseo-mark__text {
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  background: linear-gradient(100deg, #d7e2ea, #5ec4ad, #9fb3c3);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: ababseo-shimmer 5s linear infinite;
}

@keyframes ababseo-fly {
  0% {
    transform: translate(-2px, 3px) rotate(8deg);
  }
  50% {
    transform: translate(10px, -3px) rotate(-6deg);
  }
  100% {
    transform: translate(-2px, 3px) rotate(8deg);
  }
}

@keyframes ababseo-shimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

/* —— Category page layout —— */
.wfp-cat-page {
  padding: 2rem 0 3rem;
}

.wfp-cat-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.wfp-cat-side {
  position: sticky;
  top: 88px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
}

.wfp-cat-side h2 {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-family: var(--font-display);
}

.wfp-cat-side nav {
  display: grid;
  gap: 0.35rem;
}

.wfp-cat-side a {
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  color: var(--ink-soft);
  font-weight: 600;
  border: 1px solid transparent;
}

.wfp-cat-side a:hover,
.wfp-cat-side a.is-active {
  background: var(--accent-soft);
  color: var(--accent-deep);
  border-color: rgba(31, 122, 102, 0.2);
}

.wfp-cat-main__head {
  margin-bottom: 1.25rem;
}

.wfp-cat-main__head h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin: 0 0 0.4rem;
}

.wfp-cat-main__head p {
  margin: 0;
  color: var(--muted);
}

.wfp-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
  padding: 0.75rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.wfp-toolbar select {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  color: var(--ink);
}

.wfp-empty {
  text-align: center;
  color: var(--muted);
  padding: 3rem 1rem;
  font-weight: 600;
}

/* Play / misc light panels */
.player-box {
  border-radius: 14px;
  overflow: hidden;
  background: #0b1220;
  border: 1px solid var(--line);
}

.player-box video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
}

.wfp-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.25rem;
}

.wfp-panel h1 {
  font-family: var(--font-display);
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  line-height: 1.3;
}

.wfp-panel__sub {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.wfp-panel__h2 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.wfp-panel__desc {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.wfp-panel__meta {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.wfp-panel__meta--mb {
  margin-bottom: 1rem;
}

.wfp-panel__actions {
  margin-top: 1.25rem;
}

.wfp-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.wfp-chip-row--mb {
  margin-bottom: 1rem;
}

.wfp-chip {
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 700;
}

.wfp-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem;
  margin-bottom: 0.9rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.wfp-crumb a {
  color: var(--accent-deep);
  font-weight: 600;
}

.wfp-crumb__sep {
  margin: 0 0.25rem;
  opacity: 0.55;
}

.wfp-play {
  display: grid;
  gap: 1.25rem;
}

.wfp-section--flush {
  padding-top: 0;
}

.wfp-toolbar__sort {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.wfp-search-bar {
  display: flex;
  gap: 0.65rem;
  align-items: stretch;
}

.wfp-search-bar input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  background: var(--paper);
}

.wfp-footer__brand {
  margin-bottom: 0.85rem;
}

.wfp-auth-box {
  max-width: 460px;
}

.wfp-form {
  display: grid;
  gap: 0.75rem;
}

.wfp-form input {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem;
  background: var(--paper);
  width: 100%;
}

.wfp-form__err {
  color: var(--warm);
  margin: 0;
  font-size: 0.9rem;
}

.wfp-form__foot {
  margin-top: 1rem;
  color: var(--muted);
}

.wfp-form__foot a {
  color: var(--accent-deep);
  font-weight: 700;
}

@media (min-width: 900px) {
  .wfp-search--desktop {
    display: inline-flex;
  }
}

@media (max-width: 1100px) {
  .wfp-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .wfp-hero {
    padding-top: 1.5rem;
  }

  .wfp-hero__grid,
  .wfp-cat-layout,
  .wfp-footer__grid {
    grid-template-columns: 1fr;
  }

  .wfp-hero__copy {
    padding: 0;
    order: -1;
  }

  .wfp-cat-side {
    position: static;
    padding: 0.85rem;
  }

  .wfp-cat-side nav {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 0.15rem;
  }

  .wfp-cat-side a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

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

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

  .wfp-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .wfp-wrap {
    width: min(100% - 1.25rem, var(--container));
  }

  .wfp-header__inner {
    grid-template-columns: 1fr auto;
    min-height: 60px;
    gap: 0.75rem;
  }

  .wfp-brand__text {
    font-size: 1.15rem;
  }

  .wfp-nav {
    display: none;
  }

  .wfp-menu-btn {
    display: inline-grid;
    place-items: center;
  }

  .wfp-auth {
    display: none;
  }

  .wfp-hero h1 {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
  }

  .wfp-hero__stage {
    aspect-ratio: 16 / 11;
    min-height: 200px;
    max-height: 320px;
  }

  .wfp-hero__stage-meta strong {
    font-size: 1.05rem;
  }

  .wfp-section {
    padding: 1.75rem 0;
  }

  .wfp-section__head {
    align-items: center;
    margin-bottom: 1rem;
  }

  .wfp-cat-page {
    padding: 1.25rem 0 2rem;
  }

  .wfp-btn {
    min-height: 44px;
    width: 100%;
  }

  .wfp-hero__actions .wfp-btn {
    flex: 1 1 calc(50% - 0.4rem);
    width: auto;
  }

  .wfp-cta .wfp-btn {
    width: 100%;
  }

  .wfp-panel {
    padding: 1rem;
  }

  .player-box video {
    aspect-ratio: 16 / 9;
    max-height: 56vw;
    min-height: 180px;
  }
}

@media (max-width: 640px) {
  .wfp-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem 0.5rem;
  }

  .wfp-footer__grid {
    grid-template-columns: 1fr;
  }

  .wfp-search-bar {
    flex-direction: column;
  }

  .wfp-search-bar .wfp-btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .wfp-cat-strip {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .wfp-cat-item {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.75rem;
    align-items: center;
  }

  .wfp-cat-item i {
    grid-row: 1 / span 2;
  }

  .wfp-cta {
    padding: 1.1rem;
  }

  .wfp-cta h2 {
    font-size: 1.35rem;
  }
}

@media (max-width: 380px) {
  .wfp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wfp-hero__actions {
    flex-direction: column;
  }

  .wfp-hero__actions .wfp-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ababseo-mark__plane,
  .ababseo-mark__text,
  .wfp-card,
  .wfp-card__cover img,
  .wfp-hero__slide {
    animation: none;
    transition: none;
  }
}
