/* ===========================
   Páginas CineFanon SEM header/footer do tema
   (Filmes, Music, Editais, Portfólio)
   ============================ */

/* CineFanon Filmes – ID 21 */
body.page-id-21 .wp-site-blocks > header,
body.page-id-21 .wp-site-blocks > footer {
  display: none !important;
}

body.page-id-21 .wp-site-blocks {
  padding-top: 0 !important;
}

/* CineFanon Music – ID 22 */
body.page-id-22 .wp-site-blocks > header,
body.page-id-22 .wp-site-blocks > footer {
  display: none !important;
}

body.page-id-22 .wp-site-blocks {
  padding-top: 0 !important;
}

/* Editais e Inscrições – ID 23 */
body.page-id-23 .wp-site-blocks > header,
body.page-id-23 .wp-site-blocks > footer {
  display: none !important;
}

body.page-id-23 .wp-site-blocks {
  padding-top: 0 !important;
}

/* Portfólio – ID 20 */
body.page-id-20 .wp-site-blocks > header,
body.page-id-20 .wp-site-blocks > footer {
  display: none !important;
}

body.page-id-20 .wp-site-blocks {
  padding-top: 0 !important;
}
/* ===== CONFIGURAÇÕES ESPECÍFICAS DA PÁGINA PORTFÓLIO (page-id-20) ===== */

/* Fundo em gradiente ocupando a tela toda */
.page-id-20 {
  background:
    radial-gradient(circle at 0% 0%, #ff4f9a 0, transparent 55%),
    radial-gradient(circle at 100% 0%, #ffd447 0, transparent 55%),
    radial-gradient(circle at 0% 100%, #22e4ff 0, transparent 55%),
    radial-gradient(circle at 100% 100%, #7d4bff 0, transparent 55%),
    #050016;
  color: #ffffff;
}

/* Remove fundos brancos do tema que possam aparecer */
.page-id-20 .site,
.page-id-20 .site-main,
.page-id-20 .entry-content {
  background: transparent !important;
}

/* Some com o título padrão da página e margens automáticas do tema */
.page-id-20 .entry-title,
.page-id-20 .page-title {
  display: none !important;
}

/* Opcional: esconder breadcrumbs/cabecalho padrão, se o tema usar */
.page-id-20 .page-header,
.page-id-20 .entry-header {
  display: none !important;
}

/* Usar o shell que criamos em largura confortável */
.page-id-20 .cf-site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== HEADER PERSONALIZADO (MESMO ESTILO DA HOME) ===== */

.cf-main-header {
  width: 100%;
  background: linear-gradient(90deg, #001e22, #022b5c, #033d88, #1b7b3d);
  padding: 16px 40px;
  box-sizing: border-box;
}

.cf-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cf-logo-text {
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
}

/* Menu principal */

.cf-nav {
  display: flex;
  gap: 28px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.cf-nav a {
  text-decoration: none;
  color: #ffffff;
  position: relative;
  padding-bottom: 3px;
  white-space: nowrap;
}

.cf-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: #ffffff;
  opacity: 0.8;
  transition: width 0.18s ease;
}

.cf-nav a:hover::after {
  width: 100%;
}

/* ===== CONTEÚDO DA PÁGINA PORTFÓLIO ===== */

.cf-portfolio-page {
  flex: 1;
  padding: 56px 24px 60px;
  box-sizing: border-box;
}

.cf-portfolio-hero {
  text-align: center;
  margin-bottom: 32px;
}

.cf-portfolio-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.cf-portfolio-hero h1 {
  font-size: 2.8rem;
  margin: 0 0 12px;
}

.cf-portfolio-hero p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Bloco onde o PDF aparece */

.cf-portfolio-embed-section {
  max-width: 1100px;
  margin: 0 auto;
}

.cf-portfolio-embed-frame {
  background: rgba(5, 0, 22, 0.9);
  backdrop-filter: blur(14px);
  border-radius: 28px;
  padding: 18px;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* PDF grande e centralizado */

.cf-portfolio-iframe {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 980px;
  height: 80vh;
  border: none;
  border-radius: 20px;
  overflow: hidden;
}

/* Texto de apoio embaixo do PDF */

.cf-embed-note {
  margin-top: 12px;
  font-size: 0.95rem;
  opacity: 0.9;
  text-align: center;
}

.cf-embed-note a {
  color: #ffe98a;
  text-decoration: underline;
}

/* ===== RESPONSIVO ===== */

@media (max-width: 960px) {
  .cf-main-header {
    padding: 14px 20px;
  }

  .cf-header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .cf-nav {
    flex-wrap: wrap;
    gap: 14px 20px;
    font-size: 0.8rem;
  }

  .cf-portfolio-page {
    padding: 40px 16px 48px;
  }

  .cf-portfolio-hero h1 {
    font-size: 2.3rem;
  }

  .cf-portfolio-iframe {
    height: 70vh;
  }
}

@media (max-width: 600px) {
  .cf-nav {
    letter-spacing: 0.12em;
  }

  .cf-portfolio-hero h1 {
    font-size: 2rem;
  }

  .cf-portfolio-hero p {
    font-size: 1rem;
  }

  .cf-portfolio-iframe {
    height: 65vh;
  }
}
/* Remove título padrão da página */
/* Blocksy geralmente usa .entry-header ou .ct-title */
.page-id-20 .entry-header,
.page-id-20 .ct-title,
.page-id-20 .entry-title,
.page-id-20 h1.page-title {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}