/* XemPhimHDC / PaoPhim parity v3.2
 * Targeted overrides only. Values below are translated from the supplied
 * PaoPhim DOM/Tailwind classes; no global utility stylesheet is imported.
 */

/* 1) Header — the reference has no separator line below the navbar. */
.pao-header,
.pao-header.is-home,
.pao-header.is-inner,
.pao-header.is-scrolled{
  border:0!important;
  border-bottom:0!important;
  box-shadow:none!important;
}
.pao-header.is-scrolled{
  background:linear-gradient(to top,rgba(23,37,84,.15),#0d071f)!important;
  -webkit-backdrop-filter:blur(12px)!important;
  backdrop-filter:blur(12px)!important;
}

/* PaoPhim dropdown trigger is hover-driven on pointer devices. */
.pao-nav-dd>summary{color:#fffbeb!important;transition:color .15s ease}
.pao-nav-dd>summary:hover,
.pao-nav-dd[open]>summary{color:#535bf2!important}
.pao-nav-menu{
  top:50px!important;
  left:50%!important;
  right:auto!important;
  width:max-content!important;
  min-width:0!important;
  max-width:min(92vw,620px)!important;
  max-height:none!important;
  overflow:visible!important;
  padding:16px!important;                 /* p-4 */
  background:#10112c!important;           /* bg-[#10112c] from reference */
  border:0!important;
  border-radius:8px!important;             /* rounded-lg */
  box-shadow:0 14px 35px rgba(0,0,0,.38)!important;
  transform:translateX(-50%)!important;
}
.pao-nav-menu:before{
  content:"";
  position:absolute;
  top:-6px;
  left:50%;
  width:12px;
  height:12px;
  background:#10112c;
  transform:translateX(-50%) rotate(45deg);
  border-radius:2px 0 0 0;
}
.pao-nav-menu-grid{
  display:grid!important;
  grid-template-columns:repeat(3,max-content)!important;
  grid-auto-rows:auto!important;
  column-gap:20px!important;               /* gap-5 */
  row-gap:20px!important;
}
.pao-nav-menu a{
  position:relative;
  z-index:1;
  padding:0!important;
  background:transparent!important;
  border-radius:0!important;
  color:#fffbeb!important;                 /* amber-50 */
  font-size:14px!important;
  line-height:20px!important;
  font-weight:500!important;
  white-space:nowrap;
  transition:color .15s ease!important;
}
.pao-nav-menu a:hover{background:transparent!important;color:#f59e0b!important}

/* 2) Hero actions — same icon families and nominal Tailwind sizes as reference. */
.pao-hero-actions{gap:16px!important;min-height:96px!important;align-items:center!important}
.pao-hero-actions a,.pao-hero-actions button{padding:0!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.pao-hero-play{
  width:96px!important;                    /* text-8xl = 6rem */
  height:96px!important;
  border-radius:0!important;
  background:transparent!important;
  color:#d97706!important;                 /* amber-600 */
  overflow:visible!important;
  transition:transform .15s ease,color .15s ease!important;
}
.pao-hero-play svg{
  display:block!important;
  width:96px!important;
  height:96px!important;
  transform:none!important;
  fill:currentColor!important;
  /* Reproduce the reference's mask-b + radial mask without importing Tailwind. */
  -webkit-mask-image:linear-gradient(to bottom,#000 50%,rgba(0,0,0,.38) 100%),radial-gradient(50% 90% at 50% 50%,#000 80%,transparent 100%);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(to bottom,#000 50%,rgba(0,0,0,.38) 100%),radial-gradient(50% 90% at 50% 50%,#000 80%,transparent 100%);
  mask-composite:intersect;
}
.pao-hero-play:hover{transform:scale(1.1)!important;color:#f59e0b!important;background:transparent!important}
.pao-hero-info{
  width:36px!important;                    /* text-4xl = 2.25rem */
  height:36px!important;
  margin-left:0!important;
  color:#fffbeb!important;
}
.pao-hero-info svg{width:36px!important;height:36px!important;fill:currentColor!important;stroke:none!important}
.pao-hero-favorite{
  display:grid!important;
  place-items:center!important;
  width:30px!important;                    /* text-3xl = 1.875rem */
  height:36px!important;
  margin-left:0!important;
  color:#fffbeb!important;
}
.pao-hero-favorite svg{width:30px!important;height:30px!important;fill:currentColor!important;stroke:none!important}
.pao-hero-info:hover,.pao-hero-favorite:hover{transform:scale(1.1)!important;color:#f59e0b!important}
.pao-hero-favorite.active{color:#f59e0b!important}

/* 3) Explore — the entire control bounces in the reference; the caret is a filled SVG. */
.pao-explore{
  bottom:7.5%!important;
  left:50%!important;
  transform:translateX(-50%);
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;                       /* gap-1 */
  padding:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:9999px!important;
  color:#fff!important;
  font-size:16px!important;
  line-height:24px!important;
  font-weight:400!important;
  opacity:1!important;
  text-decoration:none!important;
  animation:pao32ExploreBounce 1.5s ease-in infinite!important;
  transition:color .15s ease,scale .15s ease!important;
}
.pao-explore svg{display:block;width:14px;height:14px;fill:currentColor}
.pao-explore:hover{color:#f59e0b!important;scale:1.1}
@keyframes pao32ExploreBounce{
  0%,100%{transform:translateX(-50%) translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}
  50%{transform:translateX(-50%) translateY(0);animation-timing-function:cubic-bezier(0,0,.2,1)}
}

/* 4) Pagination — Ant Pagination defaults used by the supplied page. */
.pao-pagination{gap:8px!important;margin:38px 0 18px!important}
.pao-pagination a,.pao-pagination span{
  min-width:32px!important;
  width:auto!important;
  height:32px!important;
  padding:0 8px!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid transparent!important;
  border-radius:6px!important;
  background:#fff!important;
  color:#111!important;
  font-size:14px!important;
  line-height:30px!important;
  font-weight:400!important;
  box-shadow:none!important;
}
.pao-pagination a:not(.is-arrow):hover{color:#1677ff!important;border-color:#91caff!important}
.pao-pagination a.is-active{background:#fff!important;color:#1677ff!important;border-color:#1677ff!important}
.pao-pagination .is-ellipsis{
  min-width:32px!important;
  padding:0!important;
  background:transparent!important;
  border-color:transparent!important;
  color:#777!important;
  letter-spacing:1px;
}
.pao-pagination .is-arrow,
.pao-pagination .is-disabled.is-arrow{
  min-width:32px!important;
  padding:0!important;
  background:transparent!important;
  border-color:transparent!important;
  color:#111!important;
  font-size:18px!important;
}
.pao-pagination .is-disabled.is-arrow{opacity:.35!important}
.pao-pagination a.is-arrow:hover{background:transparent!important;border-color:transparent!important;color:#1677ff!important}

/* 5) Listing filters — exact utility values from the supplied HTML:
 * gray-800 / gray-300 / text-sm / rounded-lg / p-2 / gray-700 / gap-3.
 */
.pao-catalog-top{
  display:flex!important;
  flex-direction:column!important;
  justify-content:space-between!important;
  align-items:flex-start!important;
  gap:16px!important;
  margin:4px 0 24px!important;              /* mb-6 */
}
.pao-catalog-top h1{
  margin:0!important;
  font-size:24px!important;                  /* text-2xl */
  line-height:32px!important;
  font-weight:600!important;
  color:#fff!important;
}
.pao-filter-row{
  width:100%!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;                        /* gap-3 */
  justify-content:stretch!important;
}
.pao-filter-row label{display:block!important;min-width:0!important}
.pao-filter-row select{
  -webkit-appearance:auto!important;
  appearance:auto!important;
  display:block!important;
  width:100%!important;
  min-width:0!important;
  height:auto!important;
  min-height:38px!important;
  padding:8px!important;                     /* p-2 */
  background:oklch(27.8% .033 256.848)!important; /* gray-800 */
  background-image:none!important;
  color:oklch(87.2% .01 258.338)!important;       /* gray-300 */
  border:1px solid oklch(37.3% .034 259.733)!important; /* gray-700 */
  border-radius:8px!important;
  outline:none!important;
  box-shadow:none!important;
  font-size:14px!important;
  line-height:20px!important;
  font-weight:400!important;
  cursor:pointer!important;
}
.pao-filter-row select:focus{border-color:#eab308!important;box-shadow:0 0 0 1px #eab308!important}
.pao-filter-row select:disabled{opacity:1!important}

@media(min-width:640px){
  .pao-filter-row{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(min-width:1024px){
  .pao-filter-row{grid-template-columns:repeat(6,minmax(0,1fr))!important}
}
@media(min-width:1280px){
  .pao-catalog-top{flex-direction:row!important;align-items:center!important}
  .pao-filter-row{width:976px!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;flex:0 0 976px!important}
}

@media(max-width:640px){
  .pao-hero-actions{min-height:72px!important;gap:13px!important}
  .pao-hero-play{width:64px!important;height:64px!important}
  .pao-hero-play svg{width:64px!important;height:64px!important}
  .pao-hero-info{width:30px!important;height:30px!important}.pao-hero-info svg{width:30px!important;height:30px!important}
  .pao-hero-favorite{width:26px!important;height:30px!important}.pao-hero-favorite svg{width:26px!important;height:26px!important}
  .pao-explore{font-size:15px!important;line-height:22px!important;bottom:5.5%!important}
  .pao-nav-menu{left:0!important;transform:none!important;max-width:calc(100vw - 24px)!important}
}
