.gwd-topics-stack {
  background: var(--gwd-bg, #191b24);
  color: #fff;
}

/* Standalone pages inherit the site canvas. The darker rail canvas is only
   part of the home composition and must not create a second background. */
body:not(.home).phim-hybrid-site .gwd-movie-rail {
  --gwd-bg: var(--phim-site-bg, #191b24);
}

/* The hero backdrop stays full bleed; only its interactive content follows the
   Flatsome row width. */
.gwd-home-hero {
  margin-bottom: 30px !important;
}

.gwd-home-hero > .gwd-home-hero__inner.row {
  height: 100%;
  position: relative;
  z-index: 2;
}

.gwd-home-hero > .gwd-home-hero__inner .gwd-home-hero__content {
  left: 28px !important;
  max-width: none;
  right: 28px !important;
  width: auto !important;
}

body.home .gwd-home-hero > .gwd-home-hero__inner .gwd-home-hero__content {
  width: calc(100% - 56px) !important;
}

.gwd-home-hero__info {
  color: inherit;
  display: block;
  max-width: 590px;
  text-decoration: none;
}

.gwd-home-hero__info:hover,
.gwd-home-hero__info:focus { color: inherit; }

.gwd-home-hero__info > p {
  color: #d5d7de;
  display: -webkit-box;
  font-size: 15px;
  line-height: 1.7;
  max-width: 580px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.gwd-home-hero__meta {
  margin-bottom: 8px;
}

.gwd-home-hero__controls {
  align-items: center;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin-top: 26px;
  width: 100%;
}

.gwd-home-hero__controls .gwd-home-hero__actions {
  margin-top: 0;
}

body.home .gwd-home-hero__actions .is-primary {
  background: rgb(254, 207, 89);
  background: linear-gradient(39deg, rgba(254, 207, 89, 1), rgba(255, 241, 204, 1));
  border-color: rgb(254, 207, 89);
  height: 70px;
  min-height: 70px;
  min-width: 70px;
  width: 70px;
}

.gwd-home-hero > .gwd-home-hero__inner .gwd-home-hero__controls .gwd-home-hero__thumbs {
  bottom: auto;
  flex: 0 1 auto;
  left: auto !important;
  max-width: calc(100% - 280px);
  overflow-x: auto;
  position: static;
  right: auto !important;
  width: max-content !important;
}

@media screen and (max-width: 768px) {
  .gwd-home-hero > .gwd-home-hero__inner .gwd-home-hero__content {
    left: 20px !important;
    right: 20px !important;
  }
  .gwd-home-hero__controls {
    align-items: flex-start;
    flex-direction: column;
  }
  .gwd-home-hero > .gwd-home-hero__inner .gwd-home-hero__controls .gwd-home-hero__thumbs {
    left: 20px !important;
    max-width: none;
    right: 20px !important;
    width: auto !important;
  }
}

.gwd-movie-spotlight {
  color: #fff;
}

.gwd-movie-rail header > h2 {
  width: max-content;
}

.gwd-community__columns h3 {
  align-items: center;
  display: flex;
  gap: 8px;
}

.gwd-community__columns h3 > span {
  align-items: center;
  display: inline-flex;
  flex: 0 0 24px;
  justify-content: center;
  line-height: 1;
}

.gwd-community__columns h3 > b {
  font: inherit;
}

.phim-hybrid-site .gwd-community__columns li,
.phim-hybrid-site .gwd-community__columns li > a,
.phim-hybrid-site .gwd-community__columns li > a:visited {
  color: #d7dae3;
}

.phim-hybrid-site .gwd-community__columns small,
.phim-hybrid-site .gwd-community__columns small > a,
.phim-hybrid-site .gwd-community__columns small > a:visited {
  color: #9ca1b2;
}

.phim-hybrid-site .gwd-community__columns a:hover,
.phim-hybrid-site .gwd-community__columns a:focus-visible {
  color: var(--gwd-accent, #ffd466);
}

.gwd-community__favorite-list {
  counter-reset: gwd-favorite-rank;
  list-style: none;
  margin-left: 0;
}

.gwd-community__favorite-list > li {
  align-items: center;
  counter-increment: gwd-favorite-rank;
  display: grid;
  gap: 10px;
  grid-template-columns: 26px 32px minmax(0, 1fr);
}

.gwd-community__favorite-list > li::before {
  content: counter(gwd-favorite-rank) ".";
  text-align: right;
}

.gwd-community__favorite-list img {
  border-radius: 3px;
  height: 42px;
  object-fit: cover;
  width: 32px;
}

.gwd-community__favorite-list a {
  grid-column: 3;
  min-width: 0;
}

.gwd-community__favorite-list img + a {
  grid-column: auto;
}

.gwd-movie-spotlight > header {
  width: 100%;
  align-items: center;
  display: flex;
  flex-flow: row nowrap !important;
  gap: 16px;
  justify-content: flex-start;
  margin-bottom: 24px;
  padding-left: 28px;
  padding-right: 28px;
}

.gwd-movie-spotlight > header h2 {
  color: #fff;
  flex: 0 1 auto;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.12;
  margin: 0;
  text-shadow: 0 3px 10px rgba(0,0,0,.24);
  min-width: 0;
  width: auto !important;
}

.gwd-movie-spotlight > header .gwd-rail-more {
  align-items: center;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  box-sizing: border-box;
  color: #fff;
  display: inline-flex;
  justify-content: center;
  margin: 0;
  min-width: 40px;
  overflow: hidden;
  padding: 0 10px;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  transition: width .3s ease, flex-basis .3s ease, border-color .3s ease, background-color .3s ease;
}

.gwd-movie-spotlight > header .gwd-rail-more span {
  display: block;
  max-width: 0;
  white-space: nowrap;
  transition: max-width .3s ease, margin-right .3s ease;
}

.gwd-movie-spotlight > header .gwd-rail-more:hover span,
.gwd-movie-spotlight > header .gwd-rail-more:focus-visible span {
  max-width: 126px;
  margin-right: 4px;
}

.gwd-movie-spotlight > header .gwd-rail-more:hover,
.gwd-movie-spotlight > header .gwd-rail-more:focus-visible {
  background: #1d202b;
  border-color: #858b9c;
  border-radius: 999px;
  flex-basis: auto;
  justify-content: flex-end;
  width: max-content;
}

.gwd-movie-spotlight__stage {
  background-image: linear-gradient(90deg, rgba(16,18,28,.98) 0%, rgba(16,18,28,.8) 33%, rgba(16,18,28,.18) 68%, rgba(16,18,28,.04) 100%), linear-gradient(0deg, rgba(16,18,28,.92), transparent 45%), var(--gwd-spotlight-image);
  background-position: center;
  background-size: cover;
  border-radius: 20px;
  box-sizing: border-box;
  height: clamp(600px, 70vh, 680px);
  max-height: 680px;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  position: relative;
  transition: background-image .35s ease;
  margin-left: calc(50% - 50vw);
  width: 100vw;
}

.gwd-movie-spotlight__inner {
  display: block;
  height: 100%;
  padding: 50px 46px 36px;
  position: relative;
  z-index: 1;
}

.gwd-movie-spotlight__stage::after {
  background-image: radial-gradient(rgba(255,255,255,.13) .7px, transparent .7px);
  background-size: 4px 4px;
  content: "";
  inset: 0;
  opacity: .35;
  pointer-events: none;
  position: absolute;
}

.gwd-movie-spotlight__stage.is-switching .gwd-movie-spotlight__content {
  animation: gwdSpotlightContentIn .52s cubic-bezier(.22,.78,.28,1) both;
}

.gwd-movie-spotlight__stage.is-switching {
  animation: gwdSpotlightStageIn .38s ease-out both;
}

.gwd-movie-spotlight__stage.is-switching .gwd-movie-spotlight__thumbs {
  animation: gwdSpotlightThumbsIn .42s ease-out both;
}

@keyframes gwdSpotlightContentIn {
  from { filter: blur(5px); opacity: 0; transform: translate3d(-24px, 12px, 0); }
  to { filter: blur(0); opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes gwdSpotlightStageIn {
  from { filter: brightness(.78); }
  to { filter: brightness(1); }
}

@keyframes gwdSpotlightThumbsIn {
  from { opacity: .55; transform: translate3d(0, 10px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .gwd-movie-spotlight__stage.is-switching .gwd-movie-spotlight__content,
  .gwd-movie-spotlight__stage.is-switching .gwd-movie-spotlight__thumbs,
  .gwd-movie-spotlight__stage.is-switching { animation: none; }
}

.gwd-movie-spotlight__content {
  max-width: 900px;
  position: relative;
  z-index: 1;
}

.gwd-movie-spotlight__info {
  color: inherit;
  display: block;
  text-decoration: none;
}

.gwd-movie-spotlight__info:hover,
.gwd-movie-spotlight__info:focus { color: inherit; }

.gwd-movie-spotlight__content h3 {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #fff;
  display: -webkit-box;
  font-size: clamp(28px, 2.3vw, 42px);
  line-height: 1.15;
  margin: 0 0 10px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gwd-movie-spotlight__content h4 {
  color: #e3bd65;
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 20px;
}

.gwd-movie-spotlight__meta,
.gwd-movie-spotlight__genres,
.gwd-movie-spotlight__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gwd-movie-spotlight__meta > * {
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  padding: 5px 10px;
}

.gwd-movie-spotlight__actions {
  flex-wrap: nowrap;
}

.gwd-movie-spotlight__actions button {
  margin-bottom: 0;
  margin-right: 0;
}

.gwd-movie-spotlight__meta b { border-color: #e6bd4e; color: #f0ca68; }
.gwd-movie-spotlight__meta span:nth-child(2) { background: #fff; color: #171922; }
.gwd-movie-spotlight__genres { margin-top: 16px; }
.gwd-movie-spotlight__genres span { background: rgba(255,255,255,.12); border-radius: 5px; padding: 5px 9px; }

.gwd-movie-spotlight__info > p {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: rgba(255,255,255,.88);
  display: -webkit-box;
  font-size: 16px;
  line-height: 1.55;
  margin: 14px 0 24px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gwd-movie-spotlight__actions > * {
  align-items: center;
  background: rgba(20,22,32,.58);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 22px;
  height: 54px;
  justify-content: center;
  padding: 0;
  width: 54px;
}

.gwd-movie-spotlight__actions .is-play {
  background: rgb(254, 207, 89);
  background: linear-gradient(39deg, rgba(254, 207, 89, 1), rgba(255, 241, 204, 1));
  border-color: rgb(254, 207, 89);
  color: #171922;
  height: 70px;
  min-height: 70px;
  min-width: 70px;
  width: 70px;
}

.gwd-movie-spotlight__actions .is-play .icon-play {
  font-size: 31px;
  transform: translateX(2px);
}

.gwd-movie-spotlight__actions .icon-heart {
  font-size: 20px;
}

.gwd-movie-spotlight__actions .gwd-hero-alert {
  align-items: center;
  background: #fff;
  border-radius: 50%;
  color: #242634;
  display: inline-flex;
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 900;
  height: 20px;
  justify-content: center;
  width: 20px;
}

.gwd-movie-spotlight__thumbs {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  max-width: none;
  overflow-x: auto;
  padding: 5px 3px;
  position: relative;
  scrollbar-width: none;
  width: 100%;
  z-index: 2;
}

.gwd-movie-spotlight__thumbs::-webkit-scrollbar { display: none; }
.gwd-movie-spotlight__thumbs button {
  background: transparent;
  border: 3px solid transparent;
  border-radius: 11px;
  flex: 0 0 86px;
  height: 128px;
  overflow: hidden;
  padding: 0;
  transition: border-color .2s ease, transform .2s ease;
}
.gwd-movie-spotlight__thumbs button:hover { transform: translateY(-5px); }
.gwd-movie-spotlight__thumbs button.is-active { border-color: #f0ca68; }
.gwd-movie-spotlight__thumbs img { height: 100%; object-fit: cover; width: 100%; }

@media screen and (max-width: 768px) {
  .gwd-movie-spotlight__stage { height: clamp(570px, 82vh, 640px); max-height: 640px; min-height: 0; }
  .gwd-movie-spotlight__inner { padding: 34px 24px 26px; }
  .gwd-movie-spotlight__content { max-width: 92%; }
  .gwd-movie-spotlight__thumbs { gap: 10px; margin-top: 14px; max-width: none; }
  .gwd-movie-spotlight__thumbs button { flex-basis: 72px; height: 108px; }
}

.gwd-topics-stack__title h2 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 28px;
}

.gwd-topics-stack__row {
  align-items: stretch !important;
  gap: 0 !important;
}

.gwd-topics-stack__row > * {
  flex: 1 1 0;
  min-width: 0;
}

.gwd-topic-stack-card,
.gwd-sponsor-stack-card {
  border-radius: 13px;
  box-sizing: border-box;
  min-height: 160px;
  overflow: hidden;
  padding: 24px 25px;
  position: relative;
  transition: filter 0.3s ease, transform 0.3s ease;
}

.gwd-topic-stack-card:hover,
.gwd-sponsor-stack-card:hover {
  filter: brightness(1.07);
  transform: translateY(-4px);
}

.gwd-topic-stack-card:not(.is-featured) {
  justify-content: center !important;
}

.gwd-topic-stack-card.is-featured { background: #281765; }
.gwd-topic-stack-card.is-tone-1 { background: linear-gradient(180deg, #b62d27 0%, #d77b73 100%); }
.gwd-topic-stack-card.is-tone-2 { background: linear-gradient(180deg, #526bda 0%, #c98ea5 100%); }
.gwd-topic-stack-card.is-tone-3 { background: linear-gradient(180deg, #7761aa 0%, #bc91a9 100%); }
.gwd-topic-stack-card.is-tone-4 { background: linear-gradient(180deg, #cf8c76 0%, #e27f77 100%); }
.gwd-topic-stack-card.is-tone-5 { background: linear-gradient(180deg, #ad4647 0%, #cf7778 100%); }

.gwd-topic-stack-card h3 {
  color: #fff;
  font-size: clamp(20px, 1.35vw, 25px);
  line-height: 1.25;
  margin: 0;
}

.gwd-topic-stack-card p,
.gwd-topic-stack-card a,
.gwd-sponsor-stack-label p {
  color: #fff;
  margin: 0;
  transition: color 0.2s ease;
}

.gwd-topic-stack-card:hover h3,
.gwd-topic-stack-card:hover h3 a,
.gwd-topic-stack-card:hover p,
.gwd-topic-stack-card:hover p a {
  color: var(--gwd-accent, #ffd466);
}

.gwd-topic-stack-card p {
  font-size: 15px;
  font-weight: 600;
}

.gwd-topic-stack-card .img {
  margin: 0;
}

.gwd-topic-stack-card.is-featured .img {
  max-width: 215px;
  width: 86% !important;
}

.gwd-topics-stack__sponsors {
  margin-top: 16px;
}

.gwd-sponsor-stack-label {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  min-height: 260px;
  padding: 25px;
  text-align: center;
}

.gwd-sponsor-stack-label .text {
  width: 100%;
}

.gwd-sponsor-stack-label p {
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
}

.gwd-sponsor-stack-card {
  align-items: center;
  background: linear-gradient(145deg, #232631, #181b23);
  display: flex;
  justify-content: center;
  min-height: 260px;
}

.gwd-sponsor-stack-card .img {
  margin: 0 auto;
}

.gwd-sponsor-stack-card img {
  max-height: 180px;
  object-fit: contain;
}

.gwd-country-row__viewport {
  min-width: 0;
  position: relative;
}

.gwd-movie-rail__viewport {
  min-width: 0;
  position: relative;
}

.gwd-movie-rail.gwd-movie-rail--landscape .gwd-movie-rail__track {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(var(--gwd-items-pc), minmax(0, 1fr));
}

.gwd-movie-rail.is-slider .gwd-movie-rail__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gwd-movie-rail.is-slider .gwd-movie-rail__track::-webkit-scrollbar {
  display: none;
}

.gwd-movie-rail.is-slider .gwd-api-movie-card {
  display: block;
  flex: 0 0 calc((100% - (var(--gwd-items-pc) - 1) * 16px) / var(--gwd-items-pc));
  scroll-snap-align: start;
}

.gwd-movie-rail--bg-thumbnail .gwd-api-movie-card__image {
  aspect-ratio: 16 / 7.2;
}

.gwd-api-movie-card__cinema-body {
  display: grid;
  gap: 14px;
  grid-template-columns: 72px minmax(0, 1fr);
  margin-top: -38px;
  padding: 0 14px 0 18px;
  position: relative;
  z-index: 3;
}

.gwd-api-movie-card__thumb {
  aspect-ratio: 2 / 3;
  background: #292d3b;
  border-radius: 7px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.36);
  display: block;
  overflow: hidden;
}

.gwd-api-movie-card__thumb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.gwd-api-movie-card__cinema-copy {
  min-width: 0;
  padding-top: 23px;
}

.gwd-api-movie-card__badges {
  display: flex;
  height: 24px;
  margin-bottom: 10px;
}

.gwd-api-movie-card__badges span,
.gwd-api-movie-card__badges b {
  background: #404353;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 24px;
  padding: 0 9px;
}

.gwd-api-movie-card__badges b {
  background: #3279d7;
}

.gwd-api-movie-card__title {
  color: #fff;
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  margin: 11px 0 3px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.gwd-api-movie-card__title a {
  color: #fff;
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gwd-api-movie-card__title a:hover,
.gwd-api-movie-card__title a:focus-visible {
  color: var(--gwd-accent, #ffd466);
}

@media screen and (min-width: 769px) {
  .gwd-api-movie-card__title[data-movie-title-tooltip] {
    position: relative;
  }

  .gwd-api-movie-card__title[data-movie-title-tooltip]:hover {
    overflow: visible;
  }

  .gwd-api-movie-card__title[data-movie-title-tooltip]:hover::after {
    background: #565a64;
    border-radius: 5px;
    bottom: calc(100% + 7px);
    color: #fff;
    content: attr(data-movie-title-tooltip);
    font-size: 12px;
    font-weight: 400;
    left: 0;
    line-height: 1.35;
    max-width: 260px;
    padding: 6px 9px;
    position: absolute;
    white-space: normal;
    width: max-content;
    z-index: 20;
  }
}

.gwd-movie-rail--landscape .gwd-api-movie-card__image,
.gwd-country-row .gwd-api-movie-card__image {
  aspect-ratio: 16 / 9;
  height: auto;
  width: 100%;
}

.gwd-movie-rail--landscape .gwd-api-movie-card__image > img,
.gwd-country-row .gwd-api-movie-card__image > img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.gwd-api-movie-card__original-title,
.gwd-api-movie-card__meta {
  color: var(--gwd-muted, #9ca1b2);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  margin: 0 0 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gwd-movie-rail--bg-thumbnail .gwd-api-movie-card__title {
  font-size: 14px;
  margin-top: 0;
}

.gwd-movie-rail--bg-thumbnail .gwd-api-movie-card__original-title,
.gwd-movie-rail--bg-thumbnail .gwd-api-movie-card__meta {
  font-size: 11px;
}

.gwd-movie-rail--top .gwd-movie-rail__track {
  align-items: flex-start;
  gap: 18px;
}

.gwd-movie-rail--landscape.gwd-movie-rail--top .gwd-api-movie-card__image {
  aspect-ratio: 2 / 3;
  background: transparent;
  border-radius: 0;
  clip-path: polygon(94.239% 100%, 5.761% 100%, 4.826% 99.95%, 3.94% 99.803%, 3.113% 99.569%, 2.358% 99.256%, 1.687% 98.87%, 1.111% 98.421%, .643% 97.915%, .294% 97.362%, .075% 96.768%, 0 96.142%, 0 3.858%, .087% 3.185%, .338% 2.552%, .737% 1.968%, 1.269% 1.442%, 1.92% .984%, 2.672% .602%, 3.512% .306%, 4.423% .105%, 5.391% .008%, 6.4% .024%, 94.879% 6.625%, 95.731% 6.732%, 96.532% 6.919%, 97.272% 7.178%, 97.942% 7.503%, 98.533% 7.887%, 99.038% 8.323%, 99.445% 8.805%, 99.747% 9.326%, 99.935% 9.88%, 100% 10.459%, 100% 96.142%, 99.925% 96.768%, 99.706% 97.362%, 99.357% 97.915%, 98.889% 98.421%, 98.313% 98.87%, 97.642% 99.256%, 96.887% 99.569%, 96.06% 99.803%, 95.174% 99.95%);
  transition: background-color 0.25s ease;
}

.gwd-movie-rail--top .gwd-api-movie-card:nth-child(even) .gwd-api-movie-card__image {
  clip-path: polygon(5.761% 100%, 94.239% 100%, 95.174% 99.95%, 96.06% 99.803%, 96.887% 99.569%, 97.642% 99.256%, 98.313% 98.87%, 98.889% 98.421%, 99.357% 97.915%, 99.706% 97.362%, 99.925% 96.768%, 100% 96.142%, 100% 3.858%, 99.913% 3.185%, 99.662% 2.552%, 99.263% 1.968%, 98.731% 1.442%, 98.08% .984%, 97.328% .602%, 96.488% .306%, 95.577% .105%, 94.609% .008%, 93.6% .024%, 5.121% 6.625%, 4.269% 6.732%, 3.468% 6.919%, 2.728% 7.178%, 2.058% 7.503%, 1.467% 7.887%, .962% 8.323%, .555% 8.805%, .253% 9.326%, .065% 9.88%, 0 10.459%, 0 96.142%, .075% 96.768%, .294% 97.362%, .643% 97.915%, 1.111% 98.421%, 1.687% 98.87%, 2.358% 99.256%, 3.113% 99.569%, 3.94% 99.803%, 4.826% 99.95%);
}

.gwd-movie-rail--top .gwd-api-movie-card__image:hover {
  background-color: #ffd875;
}

.gwd-movie-rail--top .gwd-api-movie-card__image img,
.gwd-movie-rail--top .gwd-api-movie-card__top-shade {
  clip-path: polygon(94.239% 100%, 5.761% 100%, 4.826% 99.95%, 3.94% 99.803%, 3.113% 99.569%, 2.358% 99.256%, 1.687% 98.87%, 1.111% 98.421%, .643% 97.915%, .294% 97.362%, .075% 96.768%, 0 96.142%, 0 3.858%, .087% 3.185%, .338% 2.552%, .737% 1.968%, 1.269% 1.442%, 1.92% .984%, 2.672% .602%, 3.512% .306%, 4.423% .105%, 5.391% .008%, 6.4% .024%, 94.879% 6.625%, 95.731% 6.732%, 96.532% 6.919%, 97.272% 7.178%, 97.942% 7.503%, 98.533% 7.887%, 99.038% 8.323%, 99.445% 8.805%, 99.747% 9.326%, 99.935% 9.88%, 100% 10.459%, 100% 96.142%, 99.925% 96.768%, 99.706% 97.362%, 99.357% 97.915%, 98.889% 98.421%, 98.313% 98.87%, 97.642% 99.256%, 96.887% 99.569%, 96.06% 99.803%, 95.174% 99.95%);
}

.gwd-movie-rail--top .gwd-api-movie-card__image img {
  inset: 0;
  opacity: 1;
  position: absolute;
  transition: height 0.3s ease, left 0.3s ease, top 0.3s ease, width 0.3s ease;
  z-index: 2;
}

.gwd-movie-rail--top .gwd-api-movie-card:nth-child(even) .gwd-api-movie-card__image img,
.gwd-movie-rail--top .gwd-api-movie-card:nth-child(even) .gwd-api-movie-card__top-shade {
  clip-path: polygon(5.761% 100%, 94.239% 100%, 95.174% 99.95%, 96.06% 99.803%, 96.887% 99.569%, 97.642% 99.256%, 98.313% 98.87%, 98.889% 98.421%, 99.357% 97.915%, 99.706% 97.362%, 99.925% 96.768%, 100% 96.142%, 100% 3.858%, 99.913% 3.185%, 99.662% 2.552%, 99.263% 1.968%, 98.731% 1.442%, 98.08% .984%, 97.328% .602%, 96.488% .306%, 95.577% .105%, 94.609% .008%, 93.6% .024%, 5.121% 6.625%, 4.269% 6.732%, 3.468% 6.919%, 2.728% 7.178%, 2.058% 7.503%, 1.467% 7.887%, .962% 8.323%, .555% 8.805%, .253% 9.326%, .065% 9.88%, 0 10.459%, 0 96.142%, .075% 96.768%, .294% 97.362%, .643% 97.915%, 1.111% 98.421%, 1.687% 98.87%, 2.358% 99.256%, 3.113% 99.569%, 3.94% 99.803%, 4.826% 99.95%);
}

.gwd-api-movie-card__top-shade {
  background: transparent;
  inset: 0;
  pointer-events: none;
  position: absolute;
  transition: background-color 0.25s ease;
  z-index: 0;
}

.gwd-movie-rail--top .gwd-api-movie-card__image:hover .gwd-api-movie-card__top-shade {
  background: transparent;
}

.gwd-api-movie-card__top-badges {
  align-items: stretch;
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 50%;
  overflow: hidden;
  position: absolute;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 3;
}

.gwd-api-movie-card__top-badges b {
  background: #5e6070;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 25px;
  padding: 0 8px;
}

.gwd-api-movie-card__top-badges .is-tm { background: #2ca35d; }
.gwd-api-movie-card__top-badges .is-lt { background: #1667cf; }

.gwd-movie-rail--top .gwd-api-movie-card__image:hover img {
  filter: none;
  height: calc(100% - 8px);
  left: 4px;
  opacity: 1;
  top: 4px;
  transform: none;
  width: calc(100% - 8px);
}

.gwd-movie-rail--top .gwd-api-movie-card__image > i {
  display: none;
}

.gwd-api-movie-card__top-body {
  align-items: flex-start;
  display: grid;
  gap: 12px;
  grid-template-columns: 48px minmax(0, 1fr);
  margin-top: 12px;
  min-width: 0;
  width: 100%;
}

.gwd-api-movie-card--top.is-double-rank .gwd-api-movie-card__top-body {
  grid-template-columns: 82px minmax(0, 1fr);
}

.gwd-api-movie-card__rank {
  background: linear-gradient(39deg, #fecf59, #fff1cc);
  background-clip: text;
  -webkit-background-clip: text;
  font-size: 58px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -5px;
  line-height: 0.85;
  min-width: 0;
  text-align: center;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.24);
  -webkit-text-fill-color: transparent;
}

.gwd-api-movie-card__top-copy {
  min-width: 0;
}

.gwd-movie-rail--top .gwd-api-movie-card__top-copy .gwd-api-movie-card__title {
  font-size: 14px;
  margin: 0 0 5px;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gwd-movie-rail--top .gwd-api-movie-card__top-copy .gwd-api-movie-card__title a {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gwd-movie-rail--top .gwd-api-movie-card__top-copy .gwd-api-movie-card__original-title,
.gwd-movie-rail--top .gwd-api-movie-card__top-copy .gwd-api-movie-card__meta {
  color: var(--gwd-muted, #9ca1b2);
  font-size: 11px;
  margin: 0 0 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gwd-movie-rail--top .gwd-api-movie-card__top-copy .gwd-api-movie-card__meta {
  color: #e4e5ea;
  font-weight: 600;
}

.gwd-movie-rail--top .gwd-movie-rail__prev,
.gwd-movie-rail--top .gwd-movie-rail__next {
  top: 38%;
}

.gwd-country-row .gwd-country-row__track {
  display: grid;
  gap: 24px 16px;
  grid-template-columns: repeat(var(--gwd-items-pc), minmax(0, 1fr));
}

.gwd-country-row .gwd-country-row__track .gwd-api-movie-card:nth-child(n+4) {
  display: block;
}

.gwd-country-row.is-slider .gwd-country-row__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gwd-country-row.is-slider .gwd-country-row__track::-webkit-scrollbar {
  display: none;
}

.gwd-country-row.is-slider .gwd-api-movie-card {
  display: block;
  flex: 0 0 calc((100% - (var(--gwd-items-pc) - 1) * 16px) / var(--gwd-items-pc));
  scroll-snap-align: start;
}

.gwd-country-row__prev,
.gwd-country-row__next,
.gwd-movie-rail__prev,
.gwd-movie-rail__next {
  align-items: center;
  background: #fff;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  color: #171923;
  display: flex;
  height: 40px;
  justify-content: center;
  margin: 0;
  opacity: 1;
  padding: 0;
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  transition: opacity 0.2s ease, visibility 0.2s ease;
  width: 40px;
  z-index: 4;
}

.gwd-country-row__prev,
.gwd-movie-rail__prev {
  left: -22px;
}

.gwd-country-row__next,
.gwd-movie-rail__next {
  right: -22px;
}

.gwd-country-row__prev i,
.gwd-country-row__next i,
.gwd-movie-rail__prev i,
.gwd-movie-rail__next i {
  font-size: 25px;
  font-style: normal;
  line-height: 1;
}

.gwd-country-row__prev:disabled,
.gwd-country-row__next:disabled,
.gwd-movie-rail__prev:disabled,
.gwd-movie-rail__next:disabled {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

@media screen and (max-width: 768px) {
  .gwd-topics-stack__row {
    overflow-x: auto;
  }

  .gwd-topics-stack__row > * {
    flex: 0 0 78%;
  }

  .gwd-topic-stack-card {
    min-height: 142px;
    padding: 20px;
  }

  .gwd-topics-stack__sponsors > * {
    flex-basis: 64%;
  }

  .gwd-sponsor-stack-card,
  .gwd-sponsor-stack-label {
    min-height: 176px;
  }

  .gwd-movie-rail.gwd-movie-rail--landscape:not(.is-slider) .gwd-movie-rail__track {
    display: grid !important;
    gap: 12px;
    grid-template-columns: repeat(var(--gwd-items-mobile), minmax(0, 1fr));
  }

  .gwd-movie-rail.is-slider .gwd-api-movie-card {
    flex-basis: calc((100% - (var(--gwd-items-mobile) - 1) * 12px) / var(--gwd-items-mobile));
  }

  .gwd-movie-rail.is-slider .gwd-movie-rail__track {
    gap: 12px;
  }

  .gwd-api-movie-card__cinema-body {
    grid-template-columns: 62px minmax(0, 1fr);
    margin-top: -28px;
    padding: 0 8px 0 12px;
  }

  .gwd-api-movie-card__top-body {
    gap: 8px;
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .gwd-api-movie-card--top.is-double-rank .gwd-api-movie-card__top-body {
    grid-template-columns: 66px minmax(0, 1fr);
  }

  .gwd-api-movie-card__rank {
    font-size: 46px;
  }

  .gwd-country-row:not(.is-slider) .gwd-country-row__track {
    grid-template-columns: repeat(var(--gwd-items-mobile), minmax(0, 1fr));
    gap: 20px 12px;
  }

  .gwd-country-row:not(.is-slider) .gwd-country-row__track .gwd-api-movie-card {
    flex-basis: calc((100% - (var(--gwd-items-mobile) - 1) * 12px) / var(--gwd-items-mobile));
  }

  .gwd-country-row.is-slider .gwd-api-movie-card,
  .gwd-country-row.is-slider .gwd-country-row__track .gwd-api-movie-card:nth-child(n+4) {
    flex-basis: calc((100% - (var(--gwd-items-mobile) - 1) * 12px) / var(--gwd-items-mobile));
  }

  .gwd-country-row.is-slider .gwd-country-row__track {
    gap: 12px;
  }

  .gwd-country-row__prev,
  .gwd-country-row__next,
  .gwd-movie-rail__prev,
  .gwd-movie-rail__next {
    height: 40px;
    width: 40px;
  }

  .gwd-country-row__prev,
  .gwd-movie-rail__prev {
    left: -10px;
  }

  .gwd-country-row__next,
  .gwd-movie-rail__next {
    right: -10px;
  }
}

/* Home scales progressively like the reference UI instead of jumping directly
   from the wide desktop layout to the phone layout. */
@media screen and (max-width: 768px) {
  body.home .gwd-home-hero { height: min(700px, 66vw); min-height: 590px; }
  body.home .gwd-home-hero h1 { font-size: clamp(40px, 3.1vw, 54px); }
  body.home .gwd-home-hero__info { max-width: 560px; }
  body.home .gwd-home-hero__thumbs button { width: 82px; }
  body.home .gwd-topic-stack-card,
  body.home .gwd-sponsor-stack-card { padding-left: 20px; padding-right: 20px; }
}

@media screen and (max-width: 768px) {
  body.home .gwd-shell { padding-left: 24px; padding-right: 24px; }
  body.home .gwd-home-hero { height: min(660px, 65vw); min-height: 560px; }
  body.home .gwd-home-hero > .gwd-home-hero__inner .gwd-home-hero__content {
    left: 24px !important;
    right: 24px !important;
    top: 49%;
    width: calc(100vw - 48px) !important;
  }
  body.home .gwd-home-hero h1 { font-size: clamp(38px, 3vw, 48px); }
  body.home .gwd-home-hero__info { max-width: 520px; }
  body.home .gwd-home-hero__info > p { -webkit-line-clamp: 2; }
  body.home .gwd-home-hero__actions .is-primary {
    height: 76px;
    min-height: 76px;
    min-width: 76px;
    width: 76px;
  }
  body.home .gwd-home-hero__actions .is-secondary {
    height: 58px;
    min-height: 58px;
    min-width: 68px;
    width: 68px;
  }
  body.home .gwd-home-hero__thumbs {
    gap: 8px;
    max-width: min(520px, calc(100% - 250px)) !important;
    overflow: hidden !important;
    scrollbar-width: none;
  }
  body.home .gwd-home-hero__thumbs::-webkit-scrollbar { display: none; }
  body.home .gwd-home-hero__thumbs button { width: 74px; }
  body.home .gwd-home-hero__thumbs button:nth-child(n+6) { display: none; }
  body.home .gwd-topics-stack__row { overflow-x: auto; scrollbar-width: none; }
  body.home .gwd-topics-stack__row::-webkit-scrollbar { display: none; }
  body.home .gwd-topics-stack__themes > * { flex: 0 0 230px; }
  body.home .gwd-topics-stack__sponsors > * { flex: 0 0 245px; }
}

@media screen and (max-width: 768px) {
  body.home .gwd-home-hero { height: 610px; min-height: 610px; }
  body.home .gwd-home-hero__info { max-width: 470px; }
  body.home .gwd-home-hero h1 { font-size: 42px; }
  body.home .gwd-home-hero h2 { font-size: 19px; }
  body.home .gwd-home-hero__controls { gap: 20px; }
  body.home .gwd-home-hero__thumbs button { width: 68px; }
  body.home .gwd-home-hero__thumbs button:nth-child(n+5) { display: none; }
  body.home .gwd-movie-rail.is-slider .gwd-api-movie-card,
  body.home .gwd-country-row.is-slider .gwd-api-movie-card,
  body.home .gwd-country-row.is-slider .gwd-country-row__track .gwd-api-movie-card:nth-child(n+4) {
    flex-basis: calc((100% - 48px) / 4) !important;
  }
  body.home .gwd-movie-rail.gwd-movie-rail--landscape:not(.is-slider) .gwd-movie-rail__track {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
  body.home .gwd-country-groups--style-1 .gwd-country-row {
    grid-template-columns: 165px minmax(0, 1fr);
  }
  body.home .gwd-country-groups--style-1 .gwd-country-row__track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  body.home .gwd-country-groups--style-1 .gwd-country-row__track .gwd-api-movie-card:nth-child(n+5) { display: none; }
}

@media screen and (max-width: 768px) {
  body.home .gwd-shell { padding-left: 20px; padding-right: 20px; }
  body.home .gwd-home-hero { height: 590px; min-height: 590px; }
  body.home .gwd-home-hero > .gwd-home-hero__inner .gwd-home-hero__content {
    left: 20px !important;
    right: 20px !important;
    width: calc(100vw - 40px) !important;
  }
  body.home .gwd-home-hero__info { max-width: 430px; }
  body.home .gwd-home-hero h1 { font-size: 37px; }
  body.home .gwd-home-hero__eyebrow { font-size: 13px; }
  body.home .gwd-home-hero__meta > * { font-size: 12px; }
  body.home .gwd-home-hero__info > p { font-size: 14px; }
  body.home .gwd-home-hero__thumbs button { width: 64px; }
  body.home .gwd-home-hero__thumbs button:nth-child(n+5) { display: none; }
  body.home .gwd-movie-rail.is-slider .gwd-api-movie-card,
  body.home .gwd-country-row.is-slider .gwd-api-movie-card,
  body.home .gwd-country-row.is-slider .gwd-country-row__track .gwd-api-movie-card:nth-child(n+4) {
    flex-basis: calc((100% - 32px) / 3) !important;
  }
  body.home .gwd-movie-rail.gwd-movie-rail--landscape:not(.is-slider) .gwd-movie-rail__track {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  body.home .gwd-country-groups--style-1 .gwd-country-row {
    grid-template-columns: 145px minmax(0, 1fr);
  }
  body.home .gwd-country-groups--style-1 .gwd-country-row__track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  body.home .gwd-country-groups--style-1 .gwd-country-row__track .gwd-api-movie-card:nth-child(n+4) { display: none; }
  body.home .gwd-movie-spotlight__stage { height: 590px; max-height: 590px; }
  body.home .gwd-community__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Match the community rail to Flatsome's tablet breakpoint. */
body.home .gwd-community {
  padding-top: 38px;
  padding-bottom: 45px;
  background: var(--gwd-bg);
  color: #fff;
}
body.home .gwd-community > h2 { color: #fff; font-size: 28px; letter-spacing: 0; }
body.home .gwd-community__cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
body.home .gwd-community__cards article {
  position: relative;
  isolation: isolate;
  min-height: 165px;
  padding: 20px;
  overflow: hidden;
  border-radius: 11px;
  background: #171a23;
}
body.home .gwd-community__backdrop {
  position: absolute;
  z-index: -2;
  inset: -16px;
  background-image: var(--comment-bg);
  background-position: center;
  background-size: cover;
  filter: blur(8px);
  opacity: .48;
  transform: scale(1.08);
}
body.home .gwd-community__cards article::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,22,30,.62), rgba(20,22,30,.82)), linear-gradient(0deg, #171a23 0%, transparent 75%);
}
body.home .gwd-community__identity {
  display: flex;
  align-items: center;
  min-height: 52px;
  gap: 10px;
}
body.home .gwd-community__identity > span,
body.home .gwd-community__identity .gwd-community__avatar {
  display: grid;
  flex: 0 0 44px;
  place-items: center;
  width: 44px !important;
  max-width: 44px !important;
  height: 44px !important;
  margin: 0;
  border-radius: 50%;
  object-fit: cover;
  background: var(--gwd-accent);
  color: #171923;
  font-weight: 800;
}
body.home .gwd-community__identity strong { min-width: 0; margin-right: auto; }
body.home .gwd-community__identity .gwd-community__poster {
  display: block;
  flex: 0 0 38px;
  width: 38px !important;
  max-width: 38px !important;
  height: 54px !important;
  margin: 0;
  border-radius: 4px;
  object-fit: cover;
}
body.home .gwd-community__cards p { clear: both; padding-top: 17px; color: #c5c7cf; }
body.home .gwd-community__cards small { color: #989ca8; }

@media screen and (max-width: 768px) {
  body.home .gwd-community__cards {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  body.home .gwd-community__cards::-webkit-scrollbar { display: none; }
  body.home .gwd-community__cards article { flex: 0 0 min(78vw, 360px); }
}

@media screen and (max-width: 768px) {
  body.home .gwd-community { display: none !important; }
  body.home .gwd-movie-spotlight {
    padding-bottom: 16px;
    padding-top: 16px;
  }
  body.home .gwd-movie-spotlight__actions { display: none !important; }
  body.home .gwd-movie-rail > header { margin-bottom: 16px; }
  body.home .gwd-home-hero {
    height: 680px;
    margin-bottom: 30px;
    min-height: 680px;
    padding-bottom: 15px;
  }
  body.home .gwd-home-hero > .gwd-home-hero__inner .gwd-home-hero__content {
    bottom: 24px;
    top: auto;
    transform: none;
  }
  body.home .gwd-home-hero__info { max-width: 100%; }
  body.home .gwd-home-hero h1 { font-size: 34px; }
  body.home .gwd-home-hero__info > p { display: none; }
  body.home .gwd-home-hero__genres { margin-bottom: 30px; }
  body.home .gwd-home-hero__actions { display: none !important; }
  body.home .gwd-home-hero__controls {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-top: 0;
  }
  body.home .gwd-home-hero > .gwd-home-hero__inner .gwd-home-hero__controls .gwd-home-hero__thumbs {
    display: flex;
    max-width: 100%;
    overflow-x: auto;
    margin-left: 0;
    padding: 0;
    width: 100% !important;
  }
  body.home .gwd-home-hero__thumbs button,
  body.home .gwd-home-hero__thumbs button:nth-child(n) {
    display: block;
    flex: 0 0 72px;
    width: 72px;
  }
  body.home .gwd-topics-stack { padding-left: 20px !important; padding-right: 20px !important; }
  body.home .gwd-topics-stack__themes > * { flex-basis: 72%; }
  body.home .gwd-topics-stack__sponsors > * { flex-basis: 64%; }
  body.home .gwd-country-groups--style-1 .gwd-country-groups__inner { padding: 22px 16px; }
  body.home .gwd-country-groups--style-1 .gwd-country-row { display: block; }
  body.home .gwd-country-groups--style-1 .gwd-country-row > header {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 16px;
  }
  body.home .gwd-country-groups--style-1 .gwd-country-row > header a { margin-top: 0; }
  body.home .gwd-country-groups--style-1 .gwd-country-row__viewport { overflow: hidden; }
  body.home .gwd-movie-rail.is-slider .gwd-api-movie-card,
  body.home .gwd-country-row.is-slider .gwd-api-movie-card,
  body.home .gwd-country-row.is-slider .gwd-country-row__track .gwd-api-movie-card:nth-child(n+4) {
    display: block;
    flex-basis: calc((100% - 12px) / 2) !important;
  }
  body.home .gwd-movie-rail.gwd-movie-rail--landscape:not(.is-slider) .gwd-movie-rail__track,
  body.home .gwd-country-row:not(.is-slider) .gwd-country-row__track {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  body.home .gwd-movie-spotlight > header { padding-left: 20px; padding-right: 20px; }
  body.home .gwd-movie-spotlight__stage { border-radius: 0; height: 610px; max-height: 610px; }
  body.home .gwd-movie-spotlight__content { max-width: 100%; }
  body.home .gwd-community__cards { display: flex; overflow-x: auto; }
  body.home .gwd-community__cards article { flex: 0 0 72%; }
}

@media screen and (max-width: 768px) {
  body.home .gwd-shell { padding-left: 16px; padding-right: 16px; }
  body.home .gwd-home-hero { height: 640px; min-height: 640px; }
  body.home .gwd-home-hero > .gwd-home-hero__inner .gwd-home-hero__content {
    bottom: 18px;
    left: 16px !important;
    right: 16px !important;
    width: calc(100vw - 32px) !important;
  }
  body.home .gwd-home-hero h1 { font-size: 30px; line-height: 1.08; }
  body.home .gwd-home-hero h2 { font-size: 17px; margin-bottom: 13px; }
  body.home .gwd-home-hero__genres { font-size: 13px; }
  body.home .gwd-home-hero__actions .is-primary {
    height: 64px;
    min-height: 64px;
    min-width: 64px;
    width: 64px;
  }
  body.home .gwd-home-hero__actions .is-secondary {
    height: 52px;
    min-height: 52px;
    min-width: 58px;
    width: 58px;
  }
  body.home .gwd-home-hero__thumbs button,
  body.home .gwd-home-hero__thumbs button:nth-child(n) { flex-basis: 64px; width: 64px; }
  body.home .gwd-topics-stack__title h2,
  body.home .gwd-movie-rail > header h2,
  body.home .gwd-movie-spotlight > header h2 { font-size: 28px; }
  body.home .gwd-topics-stack__themes > * { flex-basis: 84%; }
  body.home .gwd-topics-stack__sponsors > * { flex-basis: 78%; }
  body.home .gwd-movie-rail.is-slider .gwd-api-movie-card,
  body.home .gwd-country-row.is-slider .gwd-api-movie-card,
  body.home .gwd-country-row.is-slider .gwd-country-row__track .gwd-api-movie-card:nth-child(n+4) {
    flex-basis: calc((100% - 18px) / 2.1) !important;
  }
  body.home .gwd-movie-rail.gwd-movie-rail--landscape:not(.is-slider) .gwd-movie-rail__track,
  body.home .gwd-country-row:not(.is-slider) .gwd-country-row__track {
    display: flex !important;
    gap: 12px;
    overflow-x: auto;
  }
  body.home .gwd-movie-rail.gwd-movie-rail--landscape:not(.is-slider) .gwd-api-movie-card,
  body.home .gwd-country-row:not(.is-slider) .gwd-api-movie-card {
    flex: 0 0 calc((100% - 18px) / 2.1);
  }
  body.home .gwd-movie-spotlight__inner { padding: 26px 16px 20px; }
  body.home .gwd-movie-spotlight__content h3 { font-size: 30px; }
  body.home .gwd-movie-spotlight__thumbs button { flex-basis: 62px; height: 92px; }
}

/* Keep the native Flatsome topic stacks compact and complete on tablet/mobile.
   A grid is easier to scan here than oversized partially-visible carousel cards. */
@media screen and (max-width: 768px) {
  body.home .gwd-topics-stack {
    padding-bottom: 30px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-top: 30px !important;
  }

  body.home .gwd-topics-stack__title h2 {
    font-size: clamp(28px, 4vw, 34px);
    margin-bottom: 22px;
  }

  body.home .gwd-topics-stack__title,
  body.home .gwd-topics-stack__row {
    margin-left: 20px !important;
    margin-right: 20px !important;
    width: calc(100% - 40px) !important;
  }

  body.home .gwd-topics-stack__row {
    display: grid !important;
    gap: 14px !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible !important;
  }

  body.home .gwd-topics-stack__row > * {
    flex: none !important;
    margin: 0 !important;
    min-width: 0;
    width: auto !important;
  }

  body.home .gwd-topics-stack__row > div:empty { display: none !important; }

  body.home .gwd-topic-stack-card {
    min-height: 138px;
    padding: 20px;
  }

  body.home .gwd-topic-stack-card h3 { font-size: 21px; }
  body.home .gwd-topic-stack-card.is-featured .img {
    max-width: 180px;
    width: 82% !important;
  }

  body.home .gwd-topics-stack__sponsors { margin-top: 14px; }

  body.home .gwd-sponsor-stack-card,
  body.home .gwd-sponsor-stack-label {
    min-height: 150px;
    padding: 18px;
  }

  body.home .gwd-sponsor-stack-label p {
    font-size: 17px;
    white-space: normal;
  }

  body.home .gwd-sponsor-stack-card img { max-height: 108px; }
}

@media screen and (max-width: 768px) {
  body.home .gwd-topics-stack {
    padding-bottom: 24px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    padding-top: 24px !important;
  }

  body.home .gwd-topics-stack__title h2 {
    font-size: 27px;
    margin-bottom: 18px;
  }

  body.home .gwd-topics-stack__title,
  body.home .gwd-topics-stack__row {
    margin-left: 16px !important;
    margin-right: 16px !important;
    width: calc(100% - 32px) !important;
  }

  body.home .gwd-topics-stack__row {
    gap: 8px !important;
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  body.home .gwd-topic-stack-card {
    aspect-ratio: .9;
    min-height: 0;
    padding: 8px;
  }

  body.home .gwd-topic-stack-card.is-featured {
    grid-column: auto;
    min-height: 0;
  }

  body.home .gwd-topic-stack-card h3 {
    font-size: clamp(12px, 3.15vw, 14px);
    line-height: 1.2;
    overflow-wrap: normal;
    word-break: normal;
  }

  body.home .gwd-topic-stack-card p { display: none; }

  body.home .gwd-topic-stack-card.is-featured .img {
    max-width: 100%;
    width: 100% !important;
  }

  body.home .gwd-sponsor-stack-label {
    grid-column: auto;
    aspect-ratio: .9;
    min-height: 0;
    padding: 10px 4px;
    text-align: center;
  }

  body.home .gwd-sponsor-stack-label p {
    font-size: clamp(9px, 2.45vw, 11px);
    line-height: 1.25;
  }

  body.home .gwd-sponsor-stack-card {
    aspect-ratio: .9;
    min-height: 0;
    padding: 8px;
  }

  body.home .gwd-sponsor-stack-card img {
    max-height: 54px;
    max-width: 100%;
  }
}

@media screen and (max-width: 768px) {
  body.home .gwd-home-hero { height: 610px; min-height: 610px; }
  body.home .gwd-home-hero h1 { font-size: 27px; }
  body.home .gwd-home-hero__meta > * { padding: 5px 7px; }
  body.home .gwd-home-hero__thumbs button,
  body.home .gwd-home-hero__thumbs button:nth-child(n) { flex-basis: 58px; width: 58px; }
}

@media screen and (max-width: 768px) {
  html body.home #main .gwd-home-hero > .gwd-home-hero__inner .gwd-home-hero__content {
    width: calc(100vw - 48px) !important;
  }
}

@media screen and (max-width: 768px) {
  html body.home #main .gwd-home-hero > .gwd-home-hero__inner .gwd-home-hero__content {
    width: calc(100vw - 40px) !important;
  }
}

@media screen and (max-width: 768px) {
  html body.home #main .gwd-home-hero > .gwd-home-hero__inner .gwd-home-hero__content {
    width: calc(100vw - 32px) !important;
  }
}
/* Compact glass mega-menu for the generated archive navigation. */
.header-nav > .menu-item-has-children > .nav-dropdown {
  background:
    linear-gradient(145deg, rgba(28, 30, 42, .98), rgba(13, 15, 23, .98)) !important;
  border: 1px solid rgba(255, 255, 255, .08) !important;
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .5), inset 0 1px rgba(255, 255, 255, .04);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px 6px;
  left: 50% !important;
  right: auto !important;
  max-height: min(64vh, 470px);
  max-width: calc(100vw - 40px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 14px;
  transform: translateX(-50%);
  width: 760px;
  -webkit-backdrop-filter: blur(22px) saturate(135%);
  backdrop-filter: blur(22px) saturate(135%);
  scrollbar-color: rgba(255, 212, 102, .38) transparent;
  scrollbar-width: thin;
}
.header-nav > .menu-item-has-children::before,
.header-nav > .menu-item-has-children::after,
.header-nav > .menu-item-has-children > .nav-dropdown::before,
.header-nav > .menu-item-has-children > .nav-dropdown::after { display: none !important; }
.header-nav > .menu-item-has-children > .nav-dropdown::-webkit-scrollbar { width: 6px; }
.header-nav > .menu-item-has-children > .nav-dropdown::-webkit-scrollbar-thumb {
  background: rgba(255, 212, 102, .38);
  border-radius: 99px;
}
.header-nav > .menu-item-has-children > .nav-dropdown > li { border: 0 !important; margin: 0; min-width: 0; }
.header-nav > .menu-item-has-children > .nav-dropdown > li > a {
  align-items: center;
  border: 0 !important;
  border-radius: 9px;
  color: rgba(247, 248, 252, .86) !important;
  display: flex;
  font-size: 14px !important;
  font-weight: 500;
  height: 38px;
  line-height: 1;
  overflow: hidden;
  padding: 0 12px !important;
  text-overflow: ellipsis;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
  white-space: nowrap;
}
.header-nav > .menu-item-has-children > .nav-dropdown > li > a:hover {
  background: rgba(255, 255, 255, .075) !important;
  color: #fff !important;
  transform: translateX(2px);
}
.header-nav > .menu-item-has-children > .nav-dropdown > li.active > a,
.header-nav > .menu-item-has-children > .nav-dropdown > li.current-menu-item > a {
  background: linear-gradient(135deg, rgba(255, 212, 102, .17), rgba(255, 212, 102, .07)) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 212, 102, .18);
  color: #ffd466 !important;
}
.gwd-archive > header small { color: var(--gwd-muted); display: block; font-size: 14px; margin-top: 7px; }
.gwd-archive-filter { margin: 16px 0; color: #f4f4f5; }
.gwd-archive-filter > summary { align-items: center; display: flex; gap: 9px; margin-bottom: 12px; font-size: 15px; font-weight: 700; list-style: none; cursor: pointer; }
.gwd-archive-filter > summary::-webkit-details-marker { display: none; }
.gwd-archive-filter > summary::after { display: none; content: none; }
.gwd-archive-filter > summary svg { width: 16px; height: 16px; color: #ffd467; flex: 0 0 16px; }
.gwd-archive-filter form { overflow: hidden; border: 1px solid #2b2e38; border-radius: 12px; background: #191b24; }
.gwd-archive-filter form .gwd-archive-filter__row { display: grid !important; grid-template-columns: 125px minmax(0, 1fr) !important; gap: 18px; width: 100% !important; margin: 0 !important; padding: 13px 22px !important; border: 0 !important; border-bottom: 1px dashed #2b2e38 !important; }
.gwd-archive-filter__label { align-self: start; display: block; margin: 0; padding: 8px 0 0; color: #fff; font-size: 14px; font-weight: 700; line-height: 1.2; text-align: right; text-transform: none; }
.gwd-archive-filter__row > div { display: flex; flex-wrap: wrap; gap: 7px 8px; }
.gwd-archive-filter__row label { margin: 0; cursor: pointer; }
.gwd-archive-filter__row input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.gwd-archive-filter__row span { display: block; padding: 7px 10px; color: #c3c5cc; font-size: 14px; font-weight: 400 !important; line-height: 1.2; white-space: nowrap; border: 1px solid transparent; border-radius: 7px; }
.gwd-archive-filter__row label:hover span { color: #fff; }
.gwd-archive-filter__row input:checked + span { color: #ffd467; font-weight: 500 !important; border-color: #454955; background: #1e2029; }
.gwd-archive-filter form:not(:has(input[name="sort"]:checked)) input[name="sort"][value="newest"] + span { color: #ffd467; font-weight: 500 !important; border-color: #454955; background: #1e2029; }
.gwd-archive-filter__actions { display: flex; gap: 10px; padding: 24px 165px; }
.gwd-archive-filter__actions button { min-height: 44px; margin: 0; padding: 0 22px; color: #171922; font-size: 14px; font-weight: 700; text-transform: none; border: 1px solid #ffd467; border-radius: 999px; background: #ffd467; }
.gwd-archive-filter__actions button + button { min-width: 92px; color: #fff; border-color: #747986; background: transparent; }
.gwd-archive-filter__actions b { margin-left: 6px; font-size: 18px; }
.gwd-archive__grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.gwd-archive__pagination { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 42px 0 8px; }
.gwd-archive__pagination .page-numbers { align-items: center; background: #20232f; border: 1px solid #333746; border-radius: 50%; color: #fff; display: inline-flex; font-size: 14px; font-weight: 700; height: 42px; justify-content: center; margin: 0; min-width: 42px; padding: 0 10px; }
.gwd-archive__pagination .page-numbers.current,
.gwd-archive__pagination .page-numbers:hover { background: #ffd466; border-color: #ffd466; color: #151721; }
.gwd-archive__pagination .page-numbers.dots { background: transparent; border-color: transparent; color: #8f94a3; }

@media screen and (max-width: 768px) {
  .gwd-archive-filter { margin: 12px 0; }
  .gwd-archive-filter form { border-radius: 12px; }
  .gwd-archive-filter form .gwd-archive-filter__row { display: block !important; padding: 13px 12px !important; }
  .gwd-archive-filter__label { padding: 0 0 8px; text-align: left; }
  .gwd-archive-filter__row > div { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .gwd-archive-filter__row > div::-webkit-scrollbar { display: none; }
  .gwd-archive-filter__row span { font-size: 12px; }
  .gwd-archive-filter__actions { padding: 16px 12px; }
  .gwd-archive-filter__actions button { min-height: 40px; padding: 0 16px; font-size: 12px; }
}
@media screen and (max-width: 768px) {
  .header-nav > .menu-item-has-children > .nav-dropdown { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 590px; }
}

@media screen and (max-width: 768px) {
  body.home .gwd-topics-stack__title h2,
  body.home .gwd-movie-rail > header h2,
  body.home .gwd-movie-spotlight > header h2,
  .gwd-country-groups--style-1 .gwd-country-row > header h2 {
    font-size: 20px !important;
    max-width: none !important;
  }

  .gwd-country-groups--style-1 .gwd-country-row > header > a span {
    display: none;
  }

  .gwd-movie-rail > header {
    justify-content: space-between !important;
  }

  .gwd-movie-rail > header .gwd-rail-more {
    border: 0 !important;
  }

  .gwd-country-row__prev,
  .gwd-country-row__next,
  .gwd-movie-rail__prev,
  .gwd-movie-rail__next {
    display: none !important;
  }

  .gwd-api-movie-card__meta {
    display: none !important;
  }
}

@media screen and (max-width: 768px) {
  body.home .gwd-shell {
    padding: 16px 12px !important;
  }

  body.home .gwd-movie-spotlight > header {
    justify-content: space-between;
    margin-bottom: 16px;
    padding-left: 12px;
    padding-right: 12px;
  }

  body.home .gwd-movie-spotlight__inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  body.home .gwd-movie-rail__header .gwd-rail-more {
    border: 0 !important;
    padding-right: 0 !important;
  }

  body.home .gwd-movie-spotlight__content h3 {
    font-size: 27px;
    line-height: 1.08;
  }

  body.home .gwd-movie-spotlight__content h4 {
    font-size: 17px;
    margin-bottom: 13px;
  }

  body.home .gwd-movie-spotlight__meta > * { font-size: 12px; }
  body.home .gwd-movie-spotlight__genres { font-size: 13px; }
  body .gwd-api-movie-card__quality,
  body .gwd-api-movie-card__episode { font-size: 10px !important; }
  body.home .gwd-movie-spotlight__info > p {
    font-size: 14px;
    line-height: 1.55;
  }

  body.home .gwd-country-groups {
    padding: 0 !important;
  }

  body.home .gwd-country-groups--style-1 .gwd-country-groups__inner {
    border-radius: 0;
  }

  .gwd-rail-more i {
    font-size: 20px !important;
  }
}
