/*
Theme Name: CineFrame Dark
Theme URI: https://wordpress.org/
Author: CineFrame
Description: Tema cinematográfico original inspirado em catálogos escuros; 5 colunas, carrossel automático, selos de ano/nota, importação TMDb e compatibilidade com posts antigos.
Version: 1.5.9
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: cineframe
License: GPL-2.0-or-later
*/

/* =====================================================
   1. CORES, FONTES E ELEMENTOS GERAIS
   ===================================================== */
:root {
  --bg: #0c101c;
  --surface: #141a28;
  --surface-2: #1b2334;
  --surface-light: #263148;
  --gold: #ffc83d;
  --gold-hover: #ffdd67;
  --text: #f7f5f9;
  --muted: #a7b0bf;
  --line: #2a3447;
  --green: #6fc888;
  --red: #ff6571;
  --radius: 10px;
  --wrap: 1250px;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.55 system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--gold);
}
button, input, textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
img, iframe {
  max-width: 100%;
}
img {
  display: block;
}
.wrap {
  width: min(var(--wrap), calc(100% - 72px));
  margin-inline: auto;
}
.screen-reader-text {
  position: absolute;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}
.skip-link:focus {
  clip-path: none;
  width: auto;
  height: auto;
  z-index: 9999;
  background: var(--gold);
  color: #121018;
  padding: 10px;
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  font-weight: 800;
  margin: 0 0 7px;
}
.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 26px;
}
.section-title h1, .section-title h2 {
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 730;
  line-height: 1.18;
  margin: 0;
  letter-spacing: -.4px;
}
.section-title > span {
  color: var(--muted);
  font-size: 13px;
}

/* =====================================================
   2. MENU, LOGO E PESQUISA
   ===================================================== */
.site-header {
  background: #0b101b;
  border-bottom: 1px solid rgba(255,255,255,.045);
  position: sticky;
  top: 0;
  z-index: 80;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}
body.admin-bar .site-header {
  top: 32px;
}
.header-inner {
  display: flex;
  align-items: center;
  min-height: 78px;
  gap: 22px;
}
.brand {
  flex: none;
}
.brand img {
  max-width: 260px;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.univ-logo {
  display: inline-flex;
  align-items: center;
}
.univ-logo img {
  display: block;
  width: min(260px, 23vw);
  height: auto;
}
.wordmark {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -.8px;
  color: #fff;
  white-space: nowrap;
}
.wordmark span {
  color: var(--gold);
}
.primary-menu {
  min-width: 0;
  flex: 1;
}
.menu-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 6px;
}
.menu-list > li {
  position: relative;
}
.menu-list > li > a, .genres-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 11px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 720;
  letter-spacing: .5px;
  white-space: nowrap;
  color: #e0dce6;
  background: none;
  border: 0;
}
.menu-list > li > a:hover, .genres-toggle:hover, .current-menu-item > a {
  color: var(--gold);
}
.menu-list li ul {
  list-style: none;
  padding: 12px;
  margin: 0;
  background: #1b2434;
  position: absolute;
  top: 100%;
  left: 0;
  border: 1px solid var(--line);
  width: 200px;
  box-shadow: 0 18px 30px rgba(0,0,0,.25);
  border-radius: 9px;
  opacity: 0;
  visibility: hidden;
}
.menu-list li:hover > ul, .menu-list li:focus-within > ul {
  opacity: 1;
  visibility: visible;
}
.menu-list li ul a {
  display: block;
  padding: 7px 10px;
}
.genres-dropdown {
  position: absolute;
  left: 0;
  top: calc(100% + 4px);
  width: min(570px, 80vw);
  background: #1b2434;
  border: 1px solid #4e4656;
  border-radius: var(--radius);
  box-shadow: 0 24px 44px rgba(0,0,0,.45);
  padding: 18px;
  opacity: 0;
  transform: translateY(7px);
  visibility: hidden;
  transition: .17s;
}
.has-genres:hover .genres-dropdown, .has-genres.open .genres-dropdown, .has-genres:focus-within .genres-dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.genres-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px 14px;
}
.genres-grid a {
  font-size: 13px;
  padding: 8px;
  color: #ede9f0;
  border-radius: 5px;
}
.genres-grid a:hover {
  background: #26364e;
  color: var(--gold);
}
.header-actions {
  margin-left: auto;
  flex: 0 1 270px;
  min-width: 170px;
}
.site-search {
  display: flex;
  align-items: center;
  width: 100%;
  background: #1c2231;
  border: 1px solid #364056;
  border-radius: 7px;
  overflow: hidden;
  min-height: 39px;
}
.site-search input {
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  flex: 1;
  width: 100%;
  color: white;
  padding: 9px 12px;
  font-size: 13px;
}
.site-search input::placeholder {
  color: #a29caa;
}
.site-search button {
  border: 0;
  background: transparent;
  color: #c0bbc7;
  padding: 9px 11px;
  display: grid;
  place-items: center;
}
.site-search button:hover {
  color: var(--gold);
}
.menu-toggle {
  display: none;
  padding: 8px;
  color: white;
  border: 0;
  background: none;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
}

/* =====================================================
   3. CARROSSEL CINEMATOGRÁFICO AUTOMÁTICO
   ===================================================== */
.featured-panel {
  background: radial-gradient(ellipse at 60% 4%, #1a2338, #0c101c 72%);
  padding: 24px 0 6px;
}
.hero-carousel {
  position: relative;
  height: clamp(315px, 32vw, 435px);
  border: 1px solid #303849;
  border-radius: 18px;
  overflow: hidden;
  background: #131b2b;
  box-shadow: 0 18px 40px rgba(0,0,0,.27);
  isolation: isolate;
}
.hero-track {
  position: relative;
  height: 100%;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .65s ease, visibility .65s;
  overflow: hidden;
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
}
.hero-slide.is-poster-fallback .hero-backdrop {
  filter: blur(28px) brightness(.5);
  transform: scale(1.1);
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,12,22,.98) 0%, rgba(7,12,22,.92) 22%, rgba(8,13,22,.53) 57%, rgba(8,13,22,.05) 100%);
}
.hero-poster {
  position: absolute;
  height: 90%;
  max-width: 39%;
  width: auto;
  right: 12%;
  top: 5%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 17px 30px #0008;
}
.hero-copy {
  position: absolute;
  left: clamp(42px, 6.5vw, 90px);
  width: min(49%, 590px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}
.hero-kicker {
  color: var(--gold);
  display: block;
  letter-spacing: 3px;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 12px;
}
.hero-heading {
  font-size: clamp(30px, 4vw, 60px);
  letter-spacing: -1.4px;
  line-height: 1.07;
  font-weight: 850;
  max-width: 630px;
  margin: 0 0 18px;
  text-shadow: 0 2px 24px #05070abf;
  overflow-wrap: anywhere;
}
.hero-description {
  font-size: clamp(13px, 1.25vw, 16px);
  color: #e6e6ed;
  line-height: 1.55;
  max-width: 440px;
  margin: 0 0 23px;
  text-shadow: 0 2px 10px #05070ac0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.hero-primary, .hero-secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 11px 18px;
  min-height: 43px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 850;
  transition: background-color .2s, color .2s;
}
.hero-primary {
  background: var(--gold);
  color: #0d111b;
  border: 1px solid #ffe38e;
}
.hero-primary:hover {
  background: var(--gold-hover);
  color: #0d111b;
}
.hero-secondary {
  background: #131a2aaf;
  color: #fff;
  border: 1px solid #a6a8b1;
}
.hero-secondary:hover {
  background: #28344a;
  color: #fff;
}
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: #101521d9;
  color: #fff;
  border: 1px solid #626c7e;
  border-radius: 999px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  font-size: 19px;
  box-shadow: 0 4px 16px #0006;
}
.hero-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #121723;
}
.hero-arrow.slider-prev {
  left: 10px;
}
.hero-arrow.slider-next {
  right: 10px;
}
.hero-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 14px 0 0;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: #536074;
}
.hero-dot.is-active {
  background: var(--gold);
  box-shadow: 0 0 0 3px #ffc83d23;
}

/* =====================================================
   4. INDEX, CAPAS, SELOS E PAGINAÇÃO
   ===================================================== */
.catalog-panel {
  padding-top: 50px;
  padding-bottom: 75px;
}
.catalog-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 19px;
  margin-bottom: 30px;
}
.catalog-top h1, .catalog-top h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 690;
}
.catalog-tabs {
  display: flex;
  align-items: center;
  gap: 24px;
}
.catalog-tabs a {
  color: #c7c1cf;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 15px 0 17px;
  margin-bottom: -20px;
  border-bottom: 2px solid transparent;
}
.catalog-tabs a:hover, .catalog-tabs a.active {
  border-bottom-color: var(--gold);
  color: var(--gold);
}
.poster-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 37px 22px;
}
.poster-card {
  min-width: 0;
}
.poster-link {
  display: block;
}
.poster-image-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  background: #182132;
  border: 1px solid #293245;
  border-radius: 9px;
  aspect-ratio: 2/3;
  box-shadow: 0 9px 19px #0004;
}
.poster-image-wrap > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .28s ease, filter .28s ease;
}
.poster-card:hover .poster-image-wrap > img {
  transform: scale(1.045);
  filter: brightness(.78);
}
.media-badge {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 9px;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .4px;
  background: rgba(9,14,24,.93);
  border: 1px solid var(--gold);
  border-radius: 5px;
  padding: 5px 9px;
  color: var(--gold);
}
.media-badge.is-tv {
  border-color: #c7a7f5;
  color: #f1e2ff;
}
.media-badge.is-movie {
  border-color: var(--gold);
  color: var(--gold);
}
.version-cover-badge {
  position: absolute;
  z-index: 2;
  bottom: 10px;
  left: 9px;
  max-width: calc(100% - 18px);
  color: var(--gold);
  background: rgba(7,11,20,.94);
  border: 1px solid var(--gold);
  padding: 5px 9px;
  border-radius: 7px;
  font-weight: 800;
  font-size: 11px;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: 0 1px 6px #0007;
}
.version-cover-badge::before {
  content: '◉';
  font-size: 10px;
  margin-right: 6px;
  color: var(--gold);
}
.poster-hover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity .2s;
}
.poster-hover span {
  font-size: 12px;
  font-weight: 800;
  border: 1px solid var(--gold);
  color: #111;
  background: var(--gold);
  border-radius: 5px;
  padding: 9px 17px;
}
.poster-card:hover .poster-hover {
  opacity: 1;
}
.poster-title {
  color: var(--text);
  font-size: 15px;
  font-weight: 780;
  margin-top: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
  min-height: 20px;
}
.poster-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  margin-top: 8px;
}
.poster-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 27px;
  min-width: 51px;
  padding: 3px 12px;
  border: 1px solid #d6aa2a;
  border-radius: 999px;
  background: #131923;
  color: #e9edf5;
  line-height: 1.25;
  font-weight: 750;
}
.poster-pill.score-pill {
  color: #fff;
}
.score-star {
  color: var(--gold);
  margin-right: 4px;
}
.site-pagination {
  padding-top: 45px;
}
.site-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}
.site-pagination .page-numbers {
  min-width: 40px;
  min-height: 40px;
  display: grid;
  place-items: center;
  padding: 9px 13px;
  border-radius: 5px;
  border: 1px solid var(--line);
  background: #1a2435;
  font-size: 13px;
  font-weight: 700;
}
.site-pagination .page-numbers.current {
  background: var(--gold);
  color: #241e27;
  border-color: var(--gold);
}
.site-pagination .page-numbers:hover:not(.current) {
  border-color: var(--gold);
  color: var(--gold);
}
.empty-state {
  padding: 65px 0;
  min-height: 340px;
}
.empty-state .site-search {
  max-width: 450px;
  margin: 20px auto;
}

/* =====================================================
   5. PÁGINA INDIVIDUAL — CAPA, INFORMAÇÕES E TRAILER
   ===================================================== */
.single-wrap {
  padding-top: 29px;
  padding-bottom: 70px;
}
.breadcrumbs {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 19px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.breadcrumbs span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 320px;
}
.single-heading {
  font-weight: 780;
  font-size: clamp(24px, 2.8vw, 37px);
  line-height: 1.2;
  margin: 0 0 25px;
}
.single-top {
  display: grid;
  grid-template-columns: minmax(185px, 230px) minmax(280px, 1fr) minmax(275px, 390px);
  gap: 26px;
  align-items: start;
}
.single-cover {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface-2);
}
.single-cover img {
  width: 100%;
  aspect-ratio: 2/3;
  height: auto;
  object-fit: cover;
}
.cover-kind {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold);
  color: #242028;
  font-size: 11px;
  font-weight: 900;
  padding: 5px 9px;
  border-radius: 3px;
}
.cover-rating {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(22,20,26,.93);
  border: 1px solid #8dc88e;
  color: var(--gold);
  border-radius: 6px;
  font-weight: 820;
  padding: 7px 11px;
}
.cover-rating small {
  color: #e2dbe6;
  font-size: 9px;
  font-weight: 500;
}
.single-info, .single-trailer {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 23px;
  min-height: 330px;
}
.single-info h2 {
  margin: 0;
  font-size: 23px;
  line-height: 1.25;
}
.original-title {
  color: #c1b9c9;
  font-size: 13px;
  margin: 7px 0 20px;
  font-style: italic;
}
.info-grid {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 18px;
}
.info-grid > div {
  min-width: 0;
}
.info-grid .wide {
  grid-column: span 2;
}
.info-grid span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .7px;
  display: block;
}
.info-grid strong {
  display: block;
  font-weight: 680;
  font-size: 13px;
  margin-top: 2px;
  overflow-wrap: anywhere;
}
.info-grid .rating-value {
  color: var(--gold);
}
.single-actions {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.primary-button, .outline-button {
  border-radius: 5px;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 15px;
}
.primary-button {
  color: #201a23;
  background: linear-gradient(120deg, #e0be4a, #f8da74);
}
.primary-button:hover {
  color: #201a23;
  filter: brightness(1.08);
}
.outline-button {
  color: #f4edf6;
  border: 1px solid #77707c;
}
.outline-button:hover {
  border-color: var(--gold);
}
.aside-title {
  font-size: 12px;
  font-weight: 850;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 15px;
}
.video-frame {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #15131b;
}
.video-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.no-trailer {
  aspect-ratio: 16/9;
  display: grid;
  place-items: center;
  background: linear-gradient(130deg, #332d39, #171620);
  color: var(--muted);
  font-size: 13px;
}
.cast-section {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 16px;
}
.cast-section h3 {
  margin: 0 0 7px;
  font-size: 14px;
}
.cast-section p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}
.synopsis-section, .download-section, .related-section, .comments-section {
  margin-top: 35px;
}
.synopsis-section, .download-section {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 23px 28px;
  border-radius: 9px;
}
.synopsis-section .section-title, .download-section .section-title {
  margin-bottom: 13px;
}
.synopsis-section h2, .download-section h2, .related-section h2 {
  font-size: 22px;
}
.synopsis-copy {
  font-size: 14px;
  line-height: 1.85;
  color: #ddd7e1;
}
.synopsis-copy p {
  margin: 0 0 10px;
}

/* =====================================================
   6. BOTÕES DE DOWNLOAD (FILMES E SÉRIES)
   ===================================================== */
.download-group {
  background: #182133;
  border: 1px solid #46404b;
  border-radius: 8px;
  padding: 0 20px;
  margin: 18px 0 0;
}
.download-group-heading {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.download-group-heading h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 850;
}
.version-dot {
  background: var(--gold);
  border-radius: 50%;
  width: 7px;
  height: 7px;
}
.download-count {
  color: var(--muted);
  font-size: 11px;
  margin-left: auto;
}
.download-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
}
.download-row + .download-row {
  border-top: 1px solid var(--line);
}
.download-desc {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  min-width: 0;
}
.download-desc strong {
  font-size: 13px;
  font-weight: 760;
}
.episode-label {
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
  background: #413a37;
  padding: 5px 8px;
  border-radius: 4px;
}
.file-size {
  border-radius: 4px;
  background: #233148;
  padding: 4px 7px;
  font-size: 12px;
  color: #fff;
  font-weight: 850;
}
.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(120deg, #303e65, #40517a);
  color: white;
  border: 1px solid #687db0;
  border-radius: 6px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .5px;
  font-weight: 850;
  padding: 11px 16px;
  flex: none;
  min-width: 112px;
}
.download-button:hover {
  background: #4b5f92;
  color: white;
  border-color: #a9b5dc;
}
.magnet-symbol {
  color: #ff7175;
  font-size: 16px;
  line-height: 1;
}

/* =====================================================
   7. RELACIONADOS, COMENTÁRIOS, PÁGINAS E RODAPÉ
   ===================================================== */
.related-section .poster-grid {
  margin-top: 22px;
}
.comments-area {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 25px;
}
.comment-list {
  padding-left: 25px;
}
.comment-body {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.comment-form input:not([type=submit]), .comment-form textarea {
  width: 100%;
  background: #182133;
  border: 1px solid #514955;
  border-radius: 5px;
  color: #fff;
  padding: 10px;
}
.comment-form .submit {
  background: var(--gold);
  border: 0;
  color: #222;
  font-weight: 750;
  border-radius: 5px;
  padding: 10px 19px;
}
.page-wrap {
  padding-block: 45px 75px;
}
.page-article {
  max-width: 930px;
  margin: auto;
  background: var(--surface);
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.entry-content a {
  color: var(--gold);
}
.site-footer {
  background: #080d17;
  border-top: 1px solid #28344b;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 29px;
  padding-bottom: 24px;
}
.footer-logo {
  font-size: 19px;
  font-weight: 900;
}
.footer-logo span {
  color: var(--gold);
}
.site-footer p {
  margin: 3px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.footer-right {
  text-align: right;
  max-width: 500px;
}
.footer-right nav, .footer-right nav ul {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 15px;
  padding: 0;
  margin: 0 0 11px;
  list-style: none;
  font-size: 12px;
  font-weight: 750;
}
.footer-right small {
  color: #9c95a4;
  font-size: 10px;
}
.copyright {
  border-top: 1px solid #242f42;
  padding-block: 12px 17px;
  text-align: center;
  font-size: 11px;
  color: #918997;
}

/* =====================================================
   8. RESPONSIVIDADE — TABLET E CELULAR
   ===================================================== */
@media (max-width: 1130px) {
  .header-inner {
    gap: 14px;
  }
  .wordmark {
    font-size: 23px;
  }
  .menu-list > li > a, .genres-toggle {
    font-size: 11px;
    padding-inline: 6px;
  }
  .header-actions {
    flex-basis: 215px;
  }
  .single-top {
    grid-template-columns: 210px 1fr;
  }
  .single-trailer {
    grid-column: 2;
  }
}
@media (max-width: 920px) {
  body.admin-bar .site-header {
    top: 32px;
  }
  .wrap {
    width: min(var(--wrap), calc(100% - 40px));
  }
  .menu-toggle {
    display: block;
    order: 3;
    margin-left: 0;
  }
  .primary-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #121a2a;
    border-bottom: 1px solid var(--line);
    padding: 14px 20px;
    box-shadow: 0 20px 32px #0007;
  }
  .primary-menu.is-open {
    display: block;
  }
  .menu-list {
    flex-direction: column;
    align-items: stretch;
  }
  .menu-list > li > a, .genres-toggle {
    width: 100%;
    text-align: left;
    padding: 10px;
    font-size: 13px;
  }
  .genres-dropdown {
    position: static;
    width: 100%;
    display: none;
    opacity: 1;
    transform: none;
    visibility: visible;
    box-shadow: none;
    padding: 8px;
  }
  .has-genres.open .genres-dropdown {
    display: block;
  }
  .menu-list li ul {
    position: static;
    visibility: visible;
    opacity: 1;
    width: 100%;
  }
  .hero-carousel {
    height: 360px;
  }
  .hero-copy {
    width: 59%;
  }
  .poster-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px 20px;
  }
  .single-top {
    grid-template-columns: 210px 1fr;
    gap: 18px;
  }
}
@media (max-width: 680px) {
  body.admin-bar .site-header {
    top: 46px;
  }
  .header-inner {
    flex-wrap: wrap;
    min-height: 66px;
    padding-block: 12px;
  }
  .header-actions {
    order: 4;
    flex: 1 1 100%;
  }
  .featured-panel {
    padding-block: 35px;
  }
  .hero-carousel {
    height: 330px;
  }
  .hero-copy {
    left: 38px;
    width: 74%;
  }
  .hero-heading {
    font-size: clamp(24px, 6vw, 38px);
  }
  .hero-description {
    font-size: 12px;
    max-width: 340px;
  }
  .hero-poster {
    right: 4%;
    opacity: .55;
  }
  .hero-shade {
    background: linear-gradient(90deg, #080d16f7, #080d16c2 55%, #080d165e);
  }
  .hero-arrow {
    width: 33px;
    height: 33px;
    font-size: 14px;
  }
  .hero-arrow.slider-prev {
    left: 4px;
  }
  .hero-arrow.slider-next {
    right: 4px;
  }
  .poster-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px 13px;
  }
  .catalog-panel {
    padding-top: 34px;
  }
  .catalog-top {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }
  .catalog-tabs {
    gap: 20px;
    width: 100%;
  }
  .catalog-tabs a {
    margin-bottom: -20px;
  }
  .poster-title {
    font-size: 12px;
  }
  .media-badge {
    font-size: 9px;
    top: 6px;
    right: 6px;
  }
  .version-cover-badge {
    font-size: 9px;
    bottom: 6px;
    left: 6px;
    padding: 4px 6px;
  }
  .poster-meta {
    gap: 5px;
  }
  .poster-pill {
    padding: 3px 8px;
    min-width: 42px;
    font-size: 11px;
    min-height: 24px;
  }
  .single-top {
    grid-template-columns: 160px 1fr;
  }
  .single-info {
    padding: 15px;
  }
  .single-info h2 {
    font-size: 18px;
  }
  .info-grid {
    grid-template-columns: 1fr;
  }
  .info-grid .wide {
    grid-column: 1;
  }
  .single-trailer {
    grid-column: span 2;
  }
  .footer-inner {
    flex-direction: column;
  }
  .footer-right {
    text-align: left;
  }
  .footer-right nav, .footer-right nav ul {
    justify-content: start;
  }
}
@media (max-width: 450px) {
  .wrap {
    width: calc(100% - 28px);
  }
  .brand img {
    max-width: 170px;
  }
  .wordmark {
    font-size: 22px;
  }
  .section-title h1 {
    font-size: 22px;
  }
  .hero-carousel {
    height: 300px;
    border-radius: 10px;
  }
  .featured-panel {
    padding-top: 12px;
  }
  .hero-copy {
    left: 32px;
    width: 83%;
  }
  .hero-heading {
    font-size: 25px;
    letter-spacing: -.6px;
    margin-bottom: 8px;
  }
  .hero-kicker {
    font-size: 9px;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
  }
  .hero-description {
    margin-bottom: 12px;
    -webkit-line-clamp: 2;
  }
  .hero-primary, .hero-secondary {
    font-size: 11px;
    padding: 8px 10px;
    min-height: 35px;
  }
  .hero-poster {
    display: none;
  }
  .poster-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
  }
  .single-top {
    grid-template-columns: 125px 1fr;
    gap: 10px;
  }
  .single-info {
    padding: 12px;
  }
  .single-info .eyebrow {
    font-size: 9px;
  }
  .single-info h2 {
    font-size: 15px;
  }
  .original-title {
    font-size: 11px;
  }
  .info-grid {
    gap: 9px;
    padding-top: 11px;
  }
  .info-grid strong {
    font-size: 11px;
  }
  .single-actions {
    margin-top: 15px;
  }
  .primary-button, .outline-button {
    font-size: 10px;
    padding: 9px 10px;
  }
  .single-trailer {
    grid-column: span 2;
  }
  .synopsis-section, .download-section {
    padding: 19px 15px;
  }
  .download-group {
    padding-inline: 12px;
  }
  .download-row {
    gap: 7px;
  }
  .download-button {
    min-width: 85px;
    padding: 9px;
    font-size: 10px;
  }
  .genres-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
  *,*::before,*::after {
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =====================================================
   12. UNIVERSOTORRENT: AJUSTES DA LOGO E BACKDROP
   ===================================================== */
.hero-slide.has-panorama .hero-backdrop {
  filter: none;
  transform: none;
}
@media (max-width: 880px) {
  .univ-logo img {
    width: min(240px, 43vw);
    max-height: 60px;
    object-fit: contain;
  }
}
@media (max-width: 480px) {
  .univ-logo img {
    width: min(190px, 56vw);
  }
}

/* =====================================================
   13. V1.4: SINGLE COMPACTA, TRAILER ALINHADO E RELACIONADOS
   ===================================================== */
.single-top {
  grid-template-columns: minmax(180px, 225px) minmax(260px, 1fr) minmax(265px, 380px);
  gap: 18px;
  align-items: start;
}
.single-top > * {
  min-width: 0;
}
.single-info {
  min-height: 0;
  padding: 19px 21px;
}
.single-info .eyebrow {
  margin-bottom: 7px;
}
.single-info h2 {
  font-size: clamp(18px, 1.7vw, 23px);
}
.single-info .original-title {
  margin-bottom: 16px;
}
.info-grid {
  gap: 12px 17px;
  padding-top: 15px;
}
.info-grid .runtime-cell .quality-caption {
  margin-top: 11px;
}
.quality-badge {
  width: fit-content;
  max-width: 100%;
  font-size: 12px !important;
  font-weight: 800 !important;
  border: 1px solid #a98432;
  color: #ffe6a0;
  background: #302a25;
  border-radius: 5px;
  padding: 5px 9px;
  margin-top: 5px !important;
}
.single-actions {
  margin-top: 15px;
}
.single-trailer {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  min-height: 0;
  align-self: start;
}
.single-trailer .video-frame {
  width: 100%;
  aspect-ratio: 16/9;
  border: 1px solid #3b465a;
  border-radius: 8px;
  box-shadow: none;
}
.single-trailer .video-frame iframe {
  display: block;
}
.single-trailer .no-trailer {
  aspect-ratio: 16/9;
  border: 1px solid #30394b;
  border-radius: 8px;
  background: #151c2a;
}
.trailer-label {
  display: block;
  margin-top: 9px;
  color: #9faabb;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}
.cast-section {
  margin: 17px 0 0;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}
.cast-section h2 {
  margin: 0 0 6px;
  font-size: 14px;
}
.cast-section p {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.cover-rating {
  font-size: 12px;
}
/* Carrossel de gênero independente dos destaques; seta ao lado do título. */
.related-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.related-arrows {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.related-arrow {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: #1a2434;
  color: #f7f8fb;
  border: 1px solid #49566c;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease;
}
.related-arrow:hover:not(:disabled) {
  background: #34425a;
  border-color: var(--gold);
}
.related-arrow:disabled {
  opacity: .35;
  cursor: default;
}
.related-carousel {
  margin-top: 21px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
}
.related-carousel::-webkit-scrollbar {
  display: none;
}
.related-track {
  display: flex;
  gap: 18px;
}
.related-track > .poster-card {
  flex: 0 0 calc((100% - 4 * 18px) / 5);
  min-width: 0;
  scroll-snap-align: start;
}
@media (max-width: 1130px) {
  .single-top {
    grid-template-columns: minmax(185px, 210px) minmax(0, 1fr);
    gap: 17px;
  }
  .single-trailer {
    grid-column: 2;
  }
  .related-track > .poster-card {
    flex-basis: calc((100% - 3 * 18px) / 4);
  }
}
@media (max-width: 920px) {
  .single-top {
    grid-template-columns: 185px minmax(0, 1fr);
  }
}
@media (max-width: 680px) {
  .single-top {
    grid-template-columns: 155px minmax(0, 1fr);
    gap: 12px;
  }
  .single-trailer {
    grid-column: 1 / -1;
  }
  .single-info {
    padding: 15px;
  }
  .related-track {
    gap: 13px;
  }
  .related-track > .poster-card {
    flex-basis: calc((100% - 2 * 13px) / 3);
  }
}
@media (max-width: 450px) {
  .single-top {
    grid-template-columns: 125px minmax(0, 1fr);
    gap: 10px;
  }
  .single-info {
    padding: 12px;
  }
  .quality-badge {
    padding: 4px 6px;
    font-size: 10px !important;
  }
  .related-track > .poster-card {
    flex-basis: calc((100% - 13px) / 2);
  }
  .related-heading h2 {
    font-size: 18px;
  }
  .related-arrow {
    width: 32px;
    height: 32px;
  }
}

/* =====================================================
   14. V1.5: SINGLE MAIS COMPACTA E ALINHADA
   ===================================================== */
.single-top {
  grid-template-columns: minmax(190px, 220px) minmax(0, 1fr) minmax(300px, 360px);
  gap: 16px;
  align-items: stretch;
}
.single-cover,
.single-info,
.single-trailer {
  height: 100%;
}
.single-cover {
  display: flex;
  min-height: 340px;
}
.single-cover img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}
.single-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 18px 20px;
}
.single-info .original-title {
  margin-bottom: 12px;
}
.compact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  padding-top: 14px;
}
.compact-grid .info-item {
  min-width: 0;
}
.compact-grid .info-item span {
  margin-bottom: 4px;
}
.compact-grid .info-item strong {
  font-size: 13px;
  line-height: 1.45;
}
.quality-text {
  color: #ffe6a0;
  font-weight: 800 !important;
}
.single-trailer {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  min-height: 340px;
}
.trailer-label {
  display: block;
  margin: 0;
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 1.5px;
}
.single-trailer .video-frame,
.single-trailer .no-trailer {
  flex: 1;
  min-height: 0;
  height: 100%;
  border: 1px solid #334056;
  border-radius: 8px;
  overflow: hidden;
  background: #121a27;
}
.single-trailer .video-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
}
@media (max-width: 1130px) {
  .single-top {
    grid-template-columns: minmax(185px, 205px) minmax(0, 1fr) minmax(250px, 310px);
  }
}
@media (max-width: 920px) {
  .single-top {
    grid-template-columns: 185px minmax(0, 1fr);
    align-items: start;
  }
  .single-trailer {
    grid-column: 1 / -1;
    min-height: 0;
  }
  .single-trailer .video-frame,
  .single-trailer .no-trailer {
    aspect-ratio: 16 / 9;
    height: auto;
  }
}
@media (max-width: 680px) {
  .single-top {
    grid-template-columns: 155px minmax(0, 1fr);
    gap: 12px;
  }
  .single-cover,
  .single-cover img {
    min-height: 235px;
  }
  .compact-grid {
    gap: 10px 12px;
  }
}
@media (max-width: 450px) {
  .single-top {
    grid-template-columns: 125px minmax(0, 1fr);
    gap: 10px;
  }
  .single-cover,
  .single-cover img {
    min-height: 190px;
  }
  .compact-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .compact-grid .info-item strong {
    font-size: 11px;
  }
}

/* =====================================================
   15. V1.5.1: QUALIDADE COMPLETA E TOPO MAIS ALINHADO
   ===================================================== */
.single-top {
  grid-template-columns: minmax(190px, 220px) minmax(0, 1fr) minmax(300px, 360px);
  gap: 16px;
  align-items: stretch;
}
.single-cover {
  border: 1px solid var(--line);
  border-radius: 10px;
}
.single-info {
  border-radius: 10px;
}
.single-trailer {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 14px 12px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.single-trailer .video-frame,
.single-trailer .no-trailer {
  flex: 1;
  min-height: 0;
  height: 100%;
  border: 1px solid #334056;
  border-radius: 8px;
  overflow: hidden;
  background: #121a27;
}
.trailer-label {
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 1.5px;
  margin: 0;
}
@media (max-width: 920px) {
  .single-trailer {
    min-height: 0;
    padding: 12px;
  }
}

/* =====================================================
   16. V1.5.2 — SINGLE: TRÊS BLOCOS DA MESMA ALTURA
   Mantém capa, ficha e trailer na mesma linha no desktop.
   A imagem usa object-fit, sem distorcer o pôster.
   ===================================================== */
@media (min-width: 921px) {
  .single-top {
    --cf-single-height: 340px;
    display: grid;
    grid-template-columns: minmax(190px, 220px) minmax(0, 1fr) minmax(300px, 360px);
    grid-template-rows: minmax(var(--cf-single-height), auto);
    align-items: stretch;
    gap: 16px;
  }
  .single-top > .single-cover,
  .single-top > .single-info,
  .single-top > .single-trailer {
    grid-row: 1;
    align-self: stretch;
    min-height: 0;
    height: 100%;
    margin: 0;
  }
  .single-top > .single-cover {
    position: relative;
    display: block;
    overflow: hidden;
  }
  .single-top > .single-cover > img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center;
  }
  .single-top > .single-trailer {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
  }
  .single-top > .single-trailer > .trailer-label {
    flex: 0 0 auto;
    margin: 0;
    line-height: 1.3;
  }
  .single-top > .single-trailer > .video-frame,
  .single-top > .single-trailer > .no-trailer {
    position: relative;
    display: block;
    flex: 1 1 0;
    min-height: 0;
    height: auto;
    width: 100%;
    aspect-ratio: auto;
    margin: 0;
    overflow: hidden;
  }
  .single-top > .single-trailer > .video-frame > iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
  }
  .single-top > .single-trailer > .no-trailer {
    display: grid;
    place-items: center;
  }
}
/* Em telas médias o trailer ocupa a linha seguinte, sem apertar a ficha. */
@media (max-width: 920px) {
  .single-top {
    grid-template-rows: auto auto;
    align-items: stretch;
  }
  .single-top > .single-cover,
  .single-top > .single-info {
    height: 100%;
    align-self: stretch;
  }
  .single-top > .single-cover {
    position: relative;
    overflow: hidden;
  }
  .single-top > .single-cover > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    min-height: 0;
    object-fit: cover;
  }
  .single-top > .single-trailer {
    grid-column: 1 / -1;
    height: auto;
    min-height: 0;
    align-self: auto;
  }
  .single-top > .single-trailer > .video-frame,
  .single-top > .single-trailer > .no-trailer {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 0;
    flex: none;
    overflow: hidden;
  }
  .single-top > .single-trailer > .video-frame > iframe {
    width: 100%;
    height: 100%;
    border: 0;
  }
}
@media (max-width: 450px) {
  /* Mantém Ano/Gêneros, Duração/Idioma, Qualidade/Avaliação em 2 colunas. */
  .compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 8px;
  }
  .compact-grid .info-item strong {
    font-size: 11px;
  }
  .compact-grid .info-item span {
    font-size: 9px;
    letter-spacing: 0;
  }
}

/* =====================================================
   17. V1.5.3 — TRAILER PANORÂMICO E QUALIDADE NEUTRA
   Na single em desktop, a ficha fica mais estreita,
   liberando espaço horizontal para o vídeo (paisagem).
   Os três painéis continuam com a mesma altura.
   ===================================================== */
.single-info .compact-grid .quality-text {
  color: var(--text);
}
@media (min-width: 1180px) {
  .single-top {
    /* Poster 220px, ficha 430px, todo espaço restante ao trailer */
    grid-template-columns: minmax(195px, 220px) minmax(355px, 430px) minmax(0, 1fr);
    gap: 14px;
  }
  .single-top > .single-info {
    padding-inline: 19px;
  }
  .single-top > .single-trailer {
    padding: 12px;
    gap: 8px;
  }
  .single-top > .single-trailer > .video-frame,
  .single-top > .single-trailer > .no-trailer {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    flex: 1 1 0;
  }
}
/* Larguras intermediárias: manter o trailer realmente horizontal
   em vez de o comprimir na terceira coluna. */
@media (min-width: 921px) and (max-width: 1179px) {
  .single-top {
    grid-template-columns: minmax(180px, 210px) minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
  }
  .single-top > .single-cover,
  .single-top > .single-info {
    grid-row: 1;
    height: auto;
    min-height: 315px;
  }
  .single-top > .single-cover > img {
    min-height: 0;
  }
  .single-top > .single-trailer {
    grid-column: 1 / -1;
    grid-row: 2;
    min-height: 0;
    height: auto;
    padding: 12px;
  }
  .single-top > .single-trailer > .video-frame,
  .single-top > .single-trailer > .no-trailer {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    flex: none;
  }
}

/* =====================================================
   18. V1.5.4 — ASSISTIR ONLINE ABAIXO DOS DOWNLOADS
   ===================================================== */
.online-group {
  border-color: #31504c;
  background: linear-gradient(135deg, #162731, #182133 70%);
}
.online-group-heading h3 {
  color: #eafff5;
}
.online-dot {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4bdea0;
  box-shadow: 0 0 0 4px rgba(75,222,160,.12);
}
.online-group .episode-label {
  color: #baffdc;
  background: #1d3a37;
}
.online-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: linear-gradient(120deg, #177c62, #249678);
  border: 1px solid #43b995;
  color: #fff;
  border-radius: 6px;
  min-width: 112px;
  padding: 11px 16px;
  flex: none;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .45px;
  text-transform: uppercase;
  transition: filter .16s ease, border-color .16s ease;
}
.online-button:hover {
  color: #fff;
  filter: brightness(1.12);
  border-color: #74e1b9;
}
.online-button > span {
  font-size: 11px;
}
@media (max-width: 450px) {
  .online-button {
    min-width: 90px;
    padding: 9px 10px;
    font-size: 10px;
  }
}

/* =====================================================
   19. V1.5.5: MENU COM ÍCONES MONOCROMÁTICOS E BUSCA CENTRALIZADA
   ===================================================== */
.nav-icon {
  display: inline-block;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  vertical-align: -3px;
  color: #ecedf1 !important;
  stroke: currentColor;
}
.primary-menu .menu-list > li > a,
.primary-menu .menu-list > li > button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.primary-menu .menu-label {
  display: inline;
}
.primary-menu .menu-list li ul a,
.primary-menu .genres-grid a {
  display: flex;
  align-items: center;
  gap: 9px;
}
.primary-menu .genres-grid a .nav-icon {
  flex: 0 0 16px;
}
header .search {
  margin: 0 auto;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  width: 100%;
}
/* Paginação em formato de lista gerada por paginate_links(). */
.site-pagination .nav-links ul.page-numbers,
.site-pagination ul.page-numbers {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
}
@media (max-width: 920px) {
  .primary-menu .menu-list > li > a,
  .primary-menu .menu-list > li > button {
    display: flex;
  }
}
