/*
Theme Name: Brand Movie Theme
Description: A cinematic catalog theme for the Cine Movie Engine plugin.
Version: 1.2.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: brand-movie-theme
*/

:root {
  --brand-bg: #101214;
  --brand-surface: #191d20;
  --brand-surface-raised: #22282b;
  --brand-text: #f5f5f1;
  --brand-muted: #a7afb0;
  --brand-red: #ed2638;
  --brand-cyan: #47d1c3;
  --brand-line: rgba(255, 255, 255, .11);
  --brand-content: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--brand-bg); color: var(--brand-text); font-family: Inter, "Segoe UI", sans-serif; line-height: 1.55; }
body.admin-bar .brand-header { top: 32px; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.brand-container { width: min(var(--brand-content), calc(100% - 64px)); margin-inline: auto; }
.brand-header { position: sticky; top: 0; z-index: 1000; background: rgba(16, 18, 20, .92); border-bottom: 1px solid var(--brand-line); backdrop-filter: blur(16px); }
.brand-header.hello-movieengine-header--transparent { position: relative; background: transparent; border-bottom-color: transparent; }
@media (min-width: 1025px) { .brand-header.hello-movieengine-header--transparent { position: fixed; top: 0; right: 0; left: 0; } }
.brand-header.hello-movieengine-header--transparent.is-scrolled { background: var(--hello-movieengine-header-bg-scroll, rgba(16,18,20,.92)); backdrop-filter: blur(16px); }
.brand-header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand-header .brand-header-inner { height: auto; min-height: 68px; gap: 16px; }
.brand-header-width-fullwidth .brand-header-inner { width: 100%; max-width: none; padding-right: 4%; padding-left: 4%; }
.brand-logo { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; color: var(--brand-text); text-decoration: none; font-size: 20px; font-weight: 850; }
.brand-logo-mark { display: grid; width: 38px; aspect-ratio: 1; place-items: center; border-radius: 12px; background: var(--brand-red); color: #fff; font-size: 18px; }
.brand-logo .custom-logo { width: auto; max-height: 44px; }
.brand-nav { display: flex; align-items: center; justify-content: flex-start; flex: 1 1 auto; min-width: 0; }
.brand-nav > .brand-nav-menu,
.brand-nav > ul { display: flex; align-items: center; justify-content: flex-start; gap: 10px; margin: 0; padding: 0; list-style: none; flex-wrap: nowrap; }
.brand-nav a { color: #e7e9e7; text-decoration: none; font-size: 15px; font-weight: 700; transition: color .2s ease; }
.brand-nav .hello-movieengine-nav-menu > li > a { padding: 8px 10px; font-size: 15px; letter-spacing: 0; }
.brand-nav a:hover, .brand-nav .current-menu-item > a { color: var(--brand-cyan); }
.brand-header-tools { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.brand-search-form { position: relative; display: flex; align-items: center; gap: 8px; }
.brand-search-form input { width: 0; max-width: 190px; padding: 0; opacity: 0; border: 0; background: transparent; color: var(--brand-text); transition: all .2s ease; }
.brand-search-form:focus-within input, .brand-search-form.is-open input { width: 180px; padding: 9px 12px; opacity: 1; border: 1px solid var(--brand-line); border-radius: 8px; background: rgba(17, 20, 22, .9); }
.brand-search-form button, .brand-menu-toggle { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--brand-line); border-radius: 12px; background: rgba(255,255,255,.04); color: var(--brand-text); cursor: pointer; }
.brand-search-form button { flex-shrink: 0; }
.brand-search-form button:hover, .brand-menu-toggle:hover { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.08); }
.brand-account-link, .brand-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 0 20px; border: 0; border-radius: 10px; background: var(--brand-red); color: #fff; text-decoration: none; font-weight: 800; transition: background .2s ease, transform .2s ease; }
.brand-account-link-icon { display: none; }
.brand-button:hover, .brand-account-link:hover { background: #c91d2d; color: #fff; transform: translateY(-1px); }
.brand-account-link-logged-in { max-width: 190px; min-height: 42px; gap: 8px; padding: 4px 10px 4px 6px; border: 1px solid var(--brand-line); border-radius: 999px; background: rgba(255,255,255,.04); color: var(--brand-text); }
.brand-account-link-logged-in:hover { border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.09); color: var(--brand-text); }
.brand-account-avatar { width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; object-fit: cover; }
.brand-account-link-logged-in span { overflow: hidden; max-width: 125px; text-overflow: ellipsis; white-space: nowrap; }
.brand-button-secondary { background: rgba(255,255,255,.12); }
.brand-button-secondary:hover { background: rgba(255,255,255,.2); }
.brand-menu-toggle { display: none; }
.brand-hero { position: relative; display: flex; min-height: min(760px, calc(100vh - 76px)); align-items: end; overflow: hidden; background-color: #202729; background-position: center 35%; background-size: cover; }
.brand-hero::before { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(8,10,11,.94) 0%, rgba(8,10,11,.58) 48%, rgba(8,10,11,.06) 100%), linear-gradient(0deg, var(--brand-bg) 0%, transparent 54%); }
.brand-hero-content { position: relative; z-index: 1; width: min(760px, 100%); padding-block: 130px 100px; }
.brand-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--brand-cyan); font-size: 13px; font-weight: 850; text-transform: uppercase; }
.brand-eyebrow::before { width: 24px; height: 2px; content: ""; background: var(--brand-cyan); }
.brand-hero h1 { margin: 0 0 20px; font-family: Sora, Inter, sans-serif; font-size: clamp(44px, 6vw, 82px); font-weight: 850; line-height: .99; }
.brand-hero-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 18px; color: #e3e6e3; font-size: 13px; font-weight: 700; }
.brand-hero-meta span { padding: 5px 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 5px; background: rgba(0,0,0,.24); }
.brand-hero-summary { max-width: 690px; margin: 0 0 24px; color: #e0e2df; font-size: 16px; }
.brand-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.brand-section { padding-block: 28px 34px; }
.brand-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 17px; }
@media (max-width: 1024px) {
  .brand-header-inner { gap: 12px; }
  .brand-nav { flex: 1 1 auto; }
  .brand-nav ul { gap: 6px; }
  .brand-nav a { font-size: 13px; }
  .brand-header-tools { gap: 10px; }
}
.brand-section-heading h2 { margin: 0; font-family: Sora, Inter, sans-serif; font-size: 22px; line-height: 1.2; }
.brand-section-heading p { margin: 5px 0 0; color: var(--brand-muted); font-size: 13px; }
.brand-view-all { color: var(--brand-cyan); text-decoration: none; font-size: 13px; font-weight: 800; white-space: nowrap; }
.brand-card-rail {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 0 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  align-items: stretch;
}
.brand-card-rail::-webkit-scrollbar { display: none; }
.brand-title-card,
.brand-provider-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  flex: 0 0 220px;
  width: 220px;
  max-width: 220px;
  margin-right: 10px;
  justify-self: center;
}
.brand-title-card:last-child,
.brand-provider-card:last-child { margin-right: 0; }
.brand-card-grid .brand-title-card { flex: initial; width: 100%; max-width: none; margin-right: 0; }
.movie-engine-items-grid > .brand-title-card,
.movie-engine-movie-grid > .brand-title-card { min-width: 0; flex: initial; width: 100%; max-width: none; margin: 0; }
.movie-engine-related-section .movie-engine-items-grid > .brand-title-card { width: min(100%, 220px); max-width: 220px; justify-self: start; }
.brand-card-link { display: block; color: inherit; text-decoration: none; }
.brand-card-art { position: relative; overflow: hidden; aspect-ratio: 2 / 3; border-radius: 7px; background: linear-gradient(145deg, #293034, #15191b); }
.brand-card-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.brand-card-poster-link { display: block; width: 100%; height: 100%; color: inherit; text-decoration: none; }
.brand-card-poster-link:hover img { transform: scale(1.045); }
.brand-card-kind { position: absolute; right: 9px; bottom: 9px; left: auto; padding: 4px 7px; border-radius: 3px; background: rgba(9,11,12,.8); color: var(--brand-cyan); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.brand-card-rating { position: absolute; bottom: 9px; left: 9px; display: inline-flex; min-height: 21px; align-items: center; gap: 3px; padding: 3px 6px; border-radius: 4px; background: #f5c518; color: #151515; font-size: 11px; font-weight: 850; line-height: 1; }
.brand-card-rating span { font-size: 12px; }
.brand-card-mpaa { position: absolute; bottom: 9px; left: 58px; display: inline-flex; min-height: 21px; align-items: center; justify-content: center; padding: 3px 7px; border-radius: 4px; background: rgba(239, 68, 68, 0.92); color: #fff; font-size: 10px; font-weight: 900; line-height: 1; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 2px 8px rgba(239, 68, 68, 0.35); }
.brand-card-language { display: inline-flex; min-height: 23px; align-items: center; padding: 3px 7px; border-radius: 4px; background: var(--brand-red); color: #fff; font-size: 10px; font-weight: 800; line-height: 1; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.brand-bookmark-button { position: absolute; top: 8px; left: 8px; z-index: 20; display: grid; width: 38px; height: 42px; place-items: center; padding: 6px; border: 0; border-radius: 4px; background: rgba(10,12,14,.68); color: #fff; cursor: pointer; pointer-events: auto; transition: color .18s ease, background .18s ease, transform .18s ease; }
.brand-bookmark-button:hover { background: rgba(10,12,14,.78); color: #ffd54a; transform: translateY(-1px); }
.brand-bookmark-button svg { width: 22px; height: 26px; fill: transparent; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.brand-bookmark-button.active { color: #ffd54a; }
.brand-bookmark-button.active svg { fill: #ffd54a; }
.brand-bookmark-button.loading { opacity: .6; }
.brand-provider-shelf { overflow: hidden; }
.brand-provider-shelf .brand-card-rail {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 0 14px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.brand-provider-shelf .brand-card-rail::-webkit-scrollbar { display: none; }
.brand-provider-shelf .brand-title-card,
.brand-provider-shelf .brand-provider-card {
  flex: 0 0 220px;
  width: 220px;
  max-width: 220px;
  margin-right: 8px;
  justify-self: stretch;
}
.brand-provider-shelf .brand-title-card:last-child,
.brand-provider-shelf .brand-provider-card:last-child { margin-right: 0; }
.brand-provider-shelf .brand-section-heading { align-items: center; }
.brand-provider-header { display: flex; align-items: center; justify-content: space-between; }
.brand-provider-header-actions { display: flex; align-items: center; gap: 12px; }
.brand-provider-heading-mark { display: inline-grid; min-width: 36px; height: 36px; padding-inline: 5px; place-items: center; border-radius: 8px; background: var(--brand-surface-raised); font-size: 11px; font-weight: 900; }
.brand-provider-card { position: relative; }
.brand-provider-card:not(.brand-provider-card-ranked) .brand-card-art { overflow: hidden; }
.brand-provider-card-ranked .brand-card-art { overflow: visible; margin-bottom: 39px; }
.brand-provider-rank { position: absolute; right: -10px; bottom: -38px; z-index: 0; color: #29313e; font-size: 116px; font-weight: 900; line-height: 1; pointer-events: none; }
.brand-provider-card-ranked .brand-card-link { position: relative; z-index: 1; }
.brand-provider-actions { position: relative; z-index: 6; display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; padding-top: 6px; }
.brand-provider-release-date { display: inline-flex; flex: 1 0 100%; min-height: 30px; align-items: center; justify-content: center; gap: 6px; padding: 4px 8px; border: 1px solid rgba(255,255,255,.12); border-radius: 4px; background: var(--brand-surface-raised); color: var(--brand-text); font-size: 10px; font-weight: 750; line-height: 1.2; white-space: nowrap; }
.brand-provider-watch { position: relative; z-index: 10; display: flex; min-height: 32px; align-items: center; justify-content: center; gap: 5px; border-radius: 4px; background: #596571; color: #fff; font-size: 11px; font-weight: 800; text-decoration: none; transition: filter .2s ease; pointer-events: auto; }
.brand-provider-actions .brand-provider-watch { position: relative; inset: auto; flex: 1 1 auto; min-height: 32px; padding: 4px 6px; font-size: 10px; }
.brand-provider-card-ranked .brand-provider-actions { position: absolute; right: 8px; bottom: 48px; left: 8px; z-index: 10; }
.brand-provider-card-ranked .brand-provider-actions .brand-provider-watch { width: 100%; min-height: 38px; font-size: 13px; }
.brand-availability-badges { position: absolute; top: 8px; right: 8px; z-index: 3; display: flex; max-width: calc(100% - 16px); flex-direction: column; align-items: flex-end; gap: 4px; }
.brand-availability-badge { display: inline-flex; min-height: 23px; align-items: center; gap: 4px; padding: 2px 6px 2px 3px; border-radius: 999px; background: #fff; color: #121517; font-size: 10px; font-weight: 850; line-height: 1; white-space: nowrap; box-shadow: 0 1px 5px rgba(0,0,0,.3); }
.brand-availability-badge .brand-provider-mark { min-width: 17px; height: 17px; padding-inline: 2px; font-size: 7px; }
.brand-availability-free { background: #fff; }
.brand-availability-rent { background: #ffe9a6; }
.brand-provider-watch:hover { color: #fff; filter: brightness(1.15); }
.brand-provider-mark { display: inline-grid; min-width: 23px; height: 23px; padding-inline: 3px; place-items: center; border-radius: 4px; background: rgba(0,0,0,.8); color: #fff; font-size: 9px; font-weight: 950; }
.brand-provider-netflix .brand-provider-mark { color: #ed1c24; }
.brand-provider-prime-video .brand-provider-mark { color: #00a8e1; }
.brand-provider-jiohotstar .brand-provider-mark { color: #75a8ff; }
.brand-provider-manoramamax .brand-provider-mark { color: #ff6c98; }
.brand-provider-saina-play .brand-provider-mark { color: #ffd04a; }
.brand-provider-sonyliv .brand-provider-mark { color: #c9a2ff; }
.brand-provider-sunnxt .brand-provider-mark { color: #ffc342; }
.brand-provider-zee5 .brand-provider-mark { color: #e5a7ff; }
.brand-card-title { margin: 9px 0 3px; overflow: hidden; font-size: 14px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.brand-card-meta { color: var(--brand-muted); font-size: 12px; }
.brand-archive { min-height: 60vh; padding-block: 50px 80px; }
.brand-archive-header { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid var(--brand-line); }
.brand-archive-header h1 { margin: 0; font-family: Sora, Inter, sans-serif; font-size: clamp(30px, 4vw, 48px); }
.brand-archive-header p { margin: 7px 0 0; color: var(--brand-muted); }
.brand-blog-title-banner { min-height: var(--hello-movieengine-pt-min-height, 0px); padding: var(--hello-movieengine-pt-pt, 28px) 20px var(--hello-movieengine-pt-pb, 28px); background: var(--hello-movieengine-page-title-bg, transparent); }
.brand-blog-title-banner { position: relative; isolation: isolate; }
.brand-blog-title-banner::before { position: absolute; inset: 0; z-index: -1; background: var(--hello-movieengine-pt-overlay, transparent); content: ""; }
.brand-card-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 26px 16px; }
.brand-pagination { margin-top: 38px; }
.brand-pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.brand-pagination a, .brand-pagination span { display: grid; min-width: 40px; height: 40px; place-items: center; border: 1px solid var(--brand-line); border-radius: 5px; text-decoration: none; }
.brand-pagination .current { border-color: var(--brand-red); background: var(--brand-red); }
.brand-empty { padding: 40px 20px; border: 1px dashed var(--brand-line); border-radius: 7px; color: var(--brand-muted); text-align: center; }
.brand-footer { margin-top: 50px; padding-block: 36px; border-top: 1px solid var(--brand-line); color: var(--brand-muted); }
.brand-footer-widgets { padding-block: 34px; border-bottom: 1px solid var(--brand-line); }
.brand-footer-widget-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.brand-footer-widget-grid .widget-title { color: var(--brand-text); }
.brand-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand-footer p { margin: 0; font-size: 13px; }
.brand-footer-nav ul { display: flex; gap: 18px; margin: 0; padding: 0; list-style: none; }
.brand-footer-nav a { color: var(--brand-muted); text-decoration: none; font-size: 13px; }
.brand-footer-nav a:hover { color: var(--brand-text); }
.brand-footer-social-link { color: var(--brand-muted); font-size: 13px; text-decoration: none; }
.brand-footer-social-link:hover { color: var(--brand-text); }
.brand-post-content { width: min(850px, calc(100% - 40px)); margin: 60px auto; }
.brand-post-content h1 { font-family: Sora, Inter, sans-serif; }
.brand-blog-index { min-height: 60vh; padding-block: 54px 84px; }
.brand-blog-index .brand-archive-header { margin-bottom: 30px; }
.brand-blog-archive-description { max-width: 760px; margin-top: 10px; color: var(--brand-muted); }
.brand-blog-layout.has-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, var(--hello-movieengine-sidebar-width, 300px)); gap: 32px; align-items: start; }
.brand-blog-layout.sidebar-left { grid-template-columns: minmax(220px, var(--hello-movieengine-sidebar-width, 300px)) minmax(0, 1fr); }
.brand-blog-layout.sidebar-left > .brand-blog-sidebar { grid-column: 1; grid-row: 1; }
.brand-blog-layout.sidebar-left > .brand-blog-main, .brand-blog-layout.sidebar-left > .brand-blog-article { grid-column: 2; grid-row: 1; }
.brand-blog-sidebar { min-width: 0; color: var(--brand-muted); }
.brand-blog-sidebar .widget { margin-bottom: 22px; padding: 18px; border: 1px solid var(--brand-line); border-radius: 6px; background: var(--brand-surface); }
.brand-blog-layout > .brand-blog-article { width: 100%; margin: 0; }
.brand-page-content { min-width: 0; }
.brand-blog-grid { display: grid; grid-template-columns: repeat(var(--hello-movieengine-blog-columns, 3), minmax(0, 1fr)); gap: 28px 22px; }
.brand-blog-card { overflow: hidden; border: 1px solid var(--brand-line); border-radius: 7px; background: var(--brand-surface); }
.brand-blog-card-image { display: block; overflow: hidden; height: var(--hello-movieengine-post-thumb-height, auto); aspect-ratio: 16 / 9; background: var(--brand-surface-raised); }
.brand-blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.brand-blog-card-image:hover img { transform: scale(1.035); }
.brand-blog-no-image { display: grid; width: 100%; height: 100%; place-items: center; color: var(--brand-muted); font-weight: 800; }
.brand-blog-card-content { padding: 18px; }
.brand-blog-meta { display: flex; flex-wrap: wrap; gap: 9px 14px; color: var(--brand-muted); font-size: 12px; }
.brand-blog-meta a { color: var(--brand-cyan); text-decoration: none; }
.brand-blog-card h2 { margin: 10px 0 8px; font-family: Sora, Inter, sans-serif; font-size: 19px; line-height: 1.3; }
.brand-blog-card h2 a { color: var(--brand-text); text-decoration: none; }
.brand-blog-card h2 a:hover { color: var(--brand-cyan); }
.brand-blog-card-content > p { margin: 0 0 15px; color: var(--brand-muted); font-size: 14px; }
.brand-blog-read-more { color: var(--brand-cyan); font-size: 13px; font-weight: 800; text-decoration: none; }
.brand-blog-article { width: min(920px, calc(100% - 48px)); padding-block: 54px 80px; }
.brand-blog-article-header { margin-bottom: 28px; }
.brand-blog-article-header h1 { max-width: 900px; margin: 14px 0; font-family: Sora, Inter, sans-serif; font-size: clamp(34px, 5vw, 58px); line-height: 1.08; }
.brand-blog-deck { max-width: 780px; margin: 0; color: var(--brand-muted); font-size: 18px; }
.brand-blog-featured-image { overflow: hidden; margin: 0 0 34px; border-radius: 7px; background: var(--brand-surface); }
.brand-blog-featured-image img { width: 100%; max-height: 620px; object-fit: cover; }
.brand-blog-body { color: #e4e7e4; font-size: 17px; line-height: 1.8; overflow-wrap: anywhere; }
.brand-blog-body > * { max-width: 100%; }
.brand-blog-body h2, .brand-blog-body h3, .brand-blog-body h4 { margin-top: 1.8em; color: var(--brand-text); font-family: Sora, Inter, sans-serif; line-height: 1.25; }
.brand-blog-body a { color: var(--brand-cyan); }
.brand-blog-body img, .brand-blog-body iframe, .brand-blog-body video { max-width: 100%; }
.brand-blog-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.brand-blog-tags a { padding: 5px 9px; border: 1px solid var(--brand-line); border-radius: 4px; color: var(--brand-muted); font-size: 12px; text-decoration: none; }
.brand-blog-post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 36px; padding-block: 20px; border-top: 1px solid var(--brand-line); border-bottom: 1px solid var(--brand-line); }
.brand-blog-post-nav a { color: var(--brand-cyan); text-decoration: none; font-weight: 700; }
.brand-blog-comments { margin-top: 40px; }
.brand-blog-comments input, .brand-blog-comments textarea { max-width: 100%; padding: 10px; border: 1px solid var(--brand-line); border-radius: 5px; background: var(--brand-surface); color: var(--brand-text); }
.brand-error-page { display: grid; min-height: 58vh; align-content: center; justify-items: start; padding-block: 60px; }
.brand-error-page h1 { margin: 0 0 12px; font-family: Sora, Inter, sans-serif; font-size: clamp(38px, 6vw, 72px); }
.brand-error-page > p:not(.brand-eyebrow) { max-width: 600px; margin: 0 0 24px; color: var(--brand-muted); font-size: 16px; }
.brand-error-search { width: min(520px, 100%); margin-bottom: 18px; }
.brand-elementor-content { min-height: 60vh; }
.brand-elementor-content > .elementor { width: 100%; }

@media (max-width: 1000px) {
  .brand-card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .brand-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-blog-layout.has-sidebar, .brand-blog-layout.sidebar-left { grid-template-columns: minmax(0, 1fr); }
  .brand-blog-layout.sidebar-left > .brand-blog-sidebar, .brand-blog-layout.sidebar-left > .brand-blog-main, .brand-blog-layout.sidebar-left > .brand-blog-article { grid-column: 1; grid-row: auto; }
  .brand-nav ul { gap: 16px; }
  .brand-header-inner { gap: 18px; }
}
@media (max-width: 720px) {
  body.admin-bar .brand-header { top: 46px; }
  .brand-container { width: calc(100% - 28px); }
  .brand-header-inner { position: relative; min-height: 60px; gap: 8px; }
  .brand-logo { font-size: 16px; }
  .brand-logo-mark { width: 30px; height: 30px; font-size: 14px; border-radius: 9px; }
  .brand-logo .custom-logo { max-height: 30px; }
  .brand-menu-toggle { display: grid; order: 3; width: 34px; height: 34px; min-width: 34px; border-radius: 9px; }
  .brand-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    box-sizing: border-box;
    z-index: 997;
    display: block;
    width: min(360px, 88vw);
    background: rgba(20, 20, 20, 0.96);
    border-left: 1px solid var(--brand-line);
    transform: translateX(102%);
    transition: transform 0.28s ease;
    padding: 74px 18px 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .brand-nav.hello-movieengine-header__nav { z-index: 1001; background: #141414; }
  .brand-nav.is-open,
  body.hello-movieengine-mobile-nav-open .brand-nav { transform: translateX(0); }
  .brand-nav > .brand-nav-menu,
  .brand-nav > ul {
    position: relative;
    z-index: 1;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-height: none;
    margin: 0;
    padding: 0;
    list-style: none;
    visibility: visible;
    opacity: 1;
  }
  .brand-nav > .brand-nav-menu > li,
  .brand-nav > ul > li {
    display: block;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }
  .brand-nav > .brand-nav-menu > li > a,
  .brand-nav > ul > li > a {
    display: block;
    width: 100%;
    padding: 14px 12px;
    border-radius: 0;
    font-size: 15px;
    color: #fff !important;
    visibility: visible;
    opacity: 1;
  }
  .brand-nav li a:hover,
  .brand-nav .current-menu-item > a {
    background: rgba(255,255,255,.04);
    color: var(--brand-cyan);
  }
  .brand-nav li { width: 100%; }
  .brand-nav li a {
    display: block;
    width: 100%;
    padding: 12px 12px;
    border-radius: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
  }
  .brand-nav li a:hover,
  .brand-nav .current-menu-item > a {
    background: rgba(255,255,255,.04);
    color: var(--brand-cyan);
  }
  .brand-header-tools { gap: 8px; margin-left: auto; }
  .brand-search-form { gap: 6px; }
  .brand-search-form button,
  .brand-search-form .search-submit,
  .brand-search-form button[type="submit"] {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 9px;
    padding: 0;
    font-size: 13px;
  }
  .brand-search-form:focus-within input, .brand-search-form.is-open input { width: 110px; }
  .brand-account-link { min-height: 34px; padding-inline: 12px; font-size: 11px; }
  .brand-account-link:not(.brand-account-link-logged-in) { width: 34px; min-width: 34px; padding: 0; border-radius: 9px; font-size: 14px; }
  .brand-account-link-icon { display: inline-block; }
  .brand-account-link-text { display: none; }
  .brand-account-link-logged-in { width: 34px; min-width: 34px; min-height: 34px; justify-content: center; padding: 2px; }
  .brand-account-link-logged-in span { display: none; }
  .brand-account-avatar { width: 26px; height: 26px; flex-basis: 26px; }

  .brand-card-rail {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0;
    padding-bottom: 10px;
  }
  .brand-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 10px;
  }
  .brand-card-grid .brand-title-card {
    flex: initial;
    width: 100%;
    max-width: none;
    margin-right: 0;
  }
  .brand-title-card,
  .brand-provider-card {
    flex: 0 0 160px;
    width: 160px;
    max-width: 160px;
    margin-right: 8px;
  }
  .brand-provider-actions .brand-provider-watch,
  .brand-provider-watch {
    min-height: 30px;
    font-size: 10px;
  }
  .brand-provider-actions { padding-top: 6px; }
}