/* OM Filmes & Reflexões — integração editorial e responsiva (base v4.0.5.9). */
.om-filmes-theme-hero { background:linear-gradient(126deg,#031226 0%,#071b35 57%,#26304b 100%); color:#fff; padding:clamp(76px,9vw,132px) 24px clamp(72px,8vw,112px); position:relative; overflow:hidden; }
.om-filmes-theme-hero::before { content:""; position:absolute; width:min(66vw,740px); aspect-ratio:1; border-radius:50%; right:-21vw; top:-38%; background:radial-gradient(circle,rgba(207,159,59,.24),transparent 68%); pointer-events:none; }
.om-filmes-theme-hero__inner { position:relative; z-index:1; }
.om-filmes-theme-eyebrow { text-transform:uppercase; letter-spacing:.19em; color:#ead29d; font-size:.74rem; font-weight:850; margin:0 0 16px; }
.om-filmes-theme-hero__title { color:#fff !important; font-size:clamp(2.9rem,6vw,5.5rem); letter-spacing:-.045em; margin:0 0 20px; line-height:1.07; max-width:980px; }
.om-filmes-theme-hero__lead { color:#f2e8d6; max-width:650px; font-size:clamp(1.05rem,2.3vw,1.4rem); line-height:1.6; margin:0 0 32px; }
.om-filmes-theme-hero .wp-block-button__link { display:inline-block; color:#071b35!important; background:#ead29d; border-radius:999px; padding:14px 24px; font-weight:800; }
.om-filmes-theme-hero .wp-block-button__link:hover { background:#fff; }
.om-filmes-theme-catalogo-section { background:#fbf7ef; padding:clamp(44px,6vw,88px) 24px 70px; }
.om-filmes-theme-catalogo-wrap { max-width:1120px; margin-inline:auto; }
.om-filmes-theme-catalogo-wrap .om-filmes-catalogo { --om-ink:#111f33; --om-green:#8f1728; --om-muted:#586578; --om-line:#e8dcc9; --om-surface:#f5eee3; max-width:1120px; padding:0; }
.om-filmes-theme-catalogo-wrap .om-filmes-intro h2 { color:#071b35; }
.om-filmes-theme-catalogo-wrap .om-filmes-filtros input,
.om-filmes-theme-catalogo-wrap .om-filmes-filtros select { border:1px solid #d9cbb9; }
.om-filmes-theme-catalogo-wrap .om-filmes-filtros button,
.om-filmes-theme-catalogo-wrap .om-filmes-button { border-radius:999px; background:#8f1728; }
.om-filmes-theme-catalogo-wrap .om-filmes-filtros button:hover,
.om-filmes-theme-catalogo-wrap .om-filmes-button:hover { background:#64121e; }
.om-filmes-theme-catalogo-wrap .om-filmes-card { border-radius:18px; box-shadow:0 16px 36px rgba(3,18,38,.07); }
.om-filmes-theme-catalogo-wrap .om-filmes-card-cover { background:linear-gradient(135deg,#031226,#273b57); }
.om-filmes-theme-catalogo-wrap .om-filmes-no-poster { color:#ead29d; }
.om-filmes-theme-catalogo-wrap .om-filmes-card-category { color:#8f1728; }
.om-filmes-theme-catalogo-wrap .om-filmes-card-more { color:#8f1728; }
.om-filmes-theme-catalogo-wrap .om-filmes-card h3 a:hover { color:#8f1728; }
.om-filmes-theme-bottom { padding:clamp(54px,7vw,90px) 24px; text-align:center; background:#f2e8d6; }
.om-filmes-theme-bottom h2 { color:#071b35; font-size:clamp(1.7rem,3vw,2.5rem); }
.om-filmes-theme-bottom p { color:#44536a; max-width:700px; margin-inline:auto; }
.om-filmes-theme-placeholder { border:1px dashed #cf9f3b; border-radius:18px; padding:30px; text-align:center; background:#fff; font-weight:650; color:#3f4f64; }
/* Filme individual: acolhe o iframe antes do texto editorial no tema original. */
.om-reading-content .om-filmes-single { max-width:100%; }
.om-reading-content .om-filmes-player { border-radius:18px; background:#031226; }
.om-reading-content .om-filmes-link-panel { background:#f2e8d6; border-color:#ead29d; }
.om-reading-content .om-filmes-button { color:#fff; background:#8f1728; }
.om-reading-content .om-filmes-credit { color:#586578; }
.om-reading-content .om-filmes-reflection-title { color:#64121e; }
/* Rodapé preserva assinatura principal e melhora respiro. */
.om-filmes-theme-footer .om-footer__links { max-width:860px; }
@media (max-width:820px){ .om-filmes-theme-hero{padding:65px 20px 72px;} .om-filmes-theme-catalogo-section{padding:44px 16px 60px;} .om-filmes-theme-bottom{padding:52px 20px;} }
@media (prefers-reduced-motion:reduce){ .om-filmes-theme-hero *, .om-filmes-theme-catalogo-wrap * {scroll-behavior:auto!important;} }

/* Refinamento do layout no celular: nao muda consulta, player ou metadados. */
@media (max-width: 782px) {
  .om-filmes-theme-hero { padding: 44px 20px 52px; }
  .om-filmes-theme-eyebrow { font-size: .71rem; line-height: 1.55; margin-bottom: 12px; }
  .om-filmes-theme-hero__title {
    font-size: clamp(2.6rem, 10.8vw, 4.15rem);
    line-height: 1.03; margin-bottom: 18px;
  }
  .om-filmes-theme-hero__lead {
    font-size: clamp(1.05rem, 4vw, 1.23rem);
    line-height: 1.52; margin-bottom: 26px;
  }
  .om-filmes-theme-hero .wp-block-button__link { min-height: 48px; padding: 12px 22px; }
  .om-filmes-theme-catalogo-section { padding: 32px 16px 42px; }
  .om-filmes-theme-bottom { padding: 30px 20px 32px; }
  .om-filmes-theme-bottom h2 {
    font-size: clamp(1.55rem, 5.7vw, 2rem);
    line-height: 1.17; margin-bottom: 13px;
  }
  .om-filmes-theme-bottom p {
    max-width: 490px; font-size: 1rem; line-height: 1.5; margin: 0 auto;
  }
  .om-filmes-theme-catalogo-wrap .om-filmes-intro { margin-bottom: 20px; }
  .om-filmes-theme-catalogo-wrap .om-filmes-filtros { gap: 10px; margin-bottom: 20px; }
  .om-filmes-theme-catalogo-wrap .om-filmes-card-body { padding: 16px 17px 19px; }
  .om-filmes-theme-catalogo-wrap .om-filmes-card-excerpt { margin-bottom: 17px; }
  .om-filmes-theme-catalogo-wrap .om-filmes-card { box-shadow:0 8px 22px rgba(3,18,38,.06); }
  .om-filmes-theme-catalogo-wrap .om-filmes-footer { margin-top: 24px; padding-top: 12px; }
}
@media (max-width: 400px) {
  .om-filmes-theme-hero { padding: 40px 17px 47px; }
  .om-filmes-theme-hero__title { font-size: clamp(2.45rem, 10.6vw, 3.4rem); }
}

/* v1.0.3 — tipografia compacta e hierarquia de convite. */
.om-filmes-theme-hero__title { font-size:clamp(2.3rem,4.8vw,4.65rem); }
.om-filmes-theme-hero__lead { font-size:clamp(1rem,1.7vw,1.23rem); }
.om-filmes-theme-bottom h2 { font-size:clamp(1.5rem,2.4vw,2.15rem); line-height:1.24; margin:0 0 12px; }
.om-filmes-theme-bottom p { font-size:1rem; line-height:1.5; margin:0 auto; }
@media (max-width:782px) {
  .om-filmes-theme-hero { padding:35px 18px 40px; }
  .om-filmes-theme-hero__title {
    font-size:clamp(1.9rem,8vw,2.15rem) !important;
    line-height:1.13; letter-spacing:-.035em;
    margin-bottom:15px;
  }
  .om-filmes-theme-hero__lead {
    font-size:1rem !important; line-height:1.5; margin-bottom:22px;
  }
  .om-filmes-theme-hero .wp-block-button__link {
    min-height:44px; padding:10px 20px; font-size:.96rem; line-height:1.35;
  }
  .om-filmes-theme-catalogo-section { padding:27px 16px 36px; }
  .om-filmes-theme-bottom { padding:24px 18px 26px; }
  .om-filmes-theme-bottom h2 {
    font-size:clamp(1.375rem,5.2vw,1.5rem) !important;
    line-height:1.24; max-width:500px; margin:0 auto 10px;
  }
  .om-filmes-theme-bottom p {
    font-size:.95rem !important; line-height:1.45; max-width:500px;
  }
}
@media (max-width:400px) {
  .om-filmes-theme-hero { padding:31px 16px 37px; }
}

/* v1.0.4 — encerra o catalogo diretamente antes do rodape, sem faixa editorial extra. */
.om-filmes-theme-catalogo-section { padding-bottom: clamp(22px, 4vw, 40px); }
@media (max-width: 782px) { .om-filmes-theme-catalogo-section { padding-bottom: 24px; } }

/* ================================================================
   Obra MissionAL | v1.0.5 - compactação do catálogo APENAS CELULAR
   Complementa o filmes.css do plugin; nenhuma regra fora de <= 560px.
   Não altera cabeçalho, desktop, player ou identificação visual.
   ================================================================ */
@media screen and (max-width: 560px) {
  /* Enxuga a moldura externa dos resultados e o espaço ao rodapé. */
  .om-filmes-theme-catalogo-section {
    padding: 20px 14px 14px;
  }

  /* Mantenha um filme por linha e distância curta entre cartões. */
  .om-filmes-theme-catalogo-wrap .om-filmes-grid {
    gap: 14px;
    align-items: start;
  }

  .om-filmes-theme-catalogo-wrap .om-filmes-card {
    height: auto;
    min-height: 0;
    align-self: start;
  }

  .om-filmes-theme-catalogo-wrap .om-filmes-card-body {
    padding: 15px 16px 16px;
    height: auto;
    min-height: 0;
    flex: 0 0 auto;
  }

  /* Alinha o botão Assistir logo após a descrição. */
  .om-filmes-theme-catalogo-wrap .om-filmes-card-excerpt {
    margin-bottom: 10px;
  }

  .om-filmes-theme-catalogo-wrap .om-filmes-card-more {
    margin-top: 0;
  }

  /* Compacta pesquisa sem retirar 48px de altura dos controles. */
  .om-filmes-theme-catalogo-wrap .om-filmes-pesquisa {
    margin-top: 20px;
  }

  .om-filmes-theme-catalogo-wrap .om-filmes-pesquisa .om-filmes-intro {
    margin-bottom: 12px;
  }

  .om-filmes-theme-catalogo-wrap .om-filmes-pesquisa .om-filmes-filtros {
    gap: 12px;
    margin-bottom: 0;
    min-height: 0;
  }

  .om-filmes-theme-catalogo-wrap .om-filmes-pesquisa .om-filmes-filtros > label {
    flex: 0 0 auto;
    height: auto;
    min-height: 0;
    margin: 0;
  }
}
