/*
 Theme Name:   Hello Elementor Child - StudioDESS
 Template:     hello-elementor
*/

/* ---------------------------
   SDA — Imagem destacada & layout específico para single-evento
   Seletores com alta especificidade para vencer regras do tema/elementor
   --------------------------- */
.post-featured-image {
    max-width: 900px;
    margin: 0 auto 32px auto;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    display: block;
}


/* Container específico do single do evento (ajuda especificidade) */
body.single-post.post-type-evento .sda-single-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 28px;
}

/* Hover (opcional, remove se quiser estático) */
body.single-post.post-type-evento .sda-single-featured img:hover {
    transform: scale(1.015);
    box-shadow: 0 12px 36px rgba(0,0,0,0.32);
}

/* Meta e conteúdo com especificidade */
body.single-post.post-type-evento .sda-single-meta { color:#333; margin-bottom:12px; font-size:1rem; }
body.single-post.post-type-evento .sda-single-meta strong { color:#111; font-weight:700; }

/* Ajustes para dispositivos pequenos */
@media (max-width: 768px) {
    body.single-post.post-type-evento .sda-single-container { padding:18px; }
    body.single-post.post-type-evento .sda-single-featured { max-width:100%; margin-bottom:20px; }
    body.single-post.post-type-evento .sda-single-featured img { border-radius:10px; }
}

/* Caso elementos do tema ainda sobrescrevam: seletor ainda mais específico (último recurso) */
/* Descomente se necessário */
/*
html body.single-post.post-type-evento .elementor-page .sda-single-featured img {
    width: 100% !important;
    max-width: 1600px !important;
}
*/
/* Banner do evento — imagem e botão WhatsApp */
.sda-event-banner { text-align:center; margin:28px 0; }
.sda-event-banner-img {
  width:100%;
  max-width:1200px;
  height:auto;
  border-radius:10px;
  box-shadow:0 8px 24px rgba(0,0,0,0.18);
  transition: transform .25s ease, box-shadow .25s ease;
  display:inline-block;
}
.sda-event-banner img { display:block; } /* redundância segura */

.sda-event-banner-img:hover {
  transform: scale(1.01);
  box-shadow:0 12px 36px rgba(0,0,0,0.22);
}

/* botão WhatsApp quando não há banner */
.sda-whatsapp-inline { margin:18px 0; }
.sda-whatsapp-btn {
  display:inline-block;
  background:#25D366;
  color:#fff;
  padding:10px 14px;
  border-radius:10px;
  text-decoration:none;
  font-weight:600;
  box-shadow:0 4px 12px rgba(0,0,0,0.12);
}
.sda-whatsapp-btn:hover { opacity:0.95; transform: translateY(-2px); }