/* ==========================================================================
   REMOVE ELEMENTOS EXTERNOS DO TEMA (CABEÇALHO LARANJA E BOTÕES DE COMPARTILHAR)
   ========================================================================== */
.entry-header,
.page-header,
.ast-archive-description,
.site-content > .ast-container > .entry-header,
.elementor-page-title,
.page-title,
.title-bar,
.page-title-bar,
.banner-page-title,
.site-main > header,
.site-content > header,
.main-header-bar + div,
.theme-page-header,
.page-header-banner,
.page-title-wrap,
header.entry-header,
div.page-header,
section.page-header,
.breadcrumb,
.breadcrumbs,
.rank-math-breadcrumb,
.woocommerce-breadcrumb,
.entry-title:not(.ebac-hub-main-title):not(.ebac-banner-inner-title):not(.ebac-card-bottom-title),
h1.entry-title,
h1.page-title,
.post-title,
header.entry-header h1,
.ast-single-post-order,
.ast-banner-title,
/* Remove bloco Compartilhar / Está gostando do conteúdo? */
.sharedaddy,
.share-buttons,
.social-share,
.social-sharing,
.post-share,
.entry-share,
.share-box,
.sharing-section,
.compartilhar-box,
.wp-block-jetpack-sharing,
.share-post,
.social-icons-wrapper,
div[class*="share"],
div[id*="share"],
section[class*="share"],
aside[class*="share"],
[data-widget_type*="share"],
[data-widget_type*="post-title"],
[data-widget_type*="page-title"],
.elementor-widget-theme-post-title,
.elementor-widget-page-title,
.elementor-share-buttons,
.elementor-widget-share-buttons,
.elementor-share-btn {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
}

/* ==========================================================================
   Sucesso Eventos - Hub / Catálogo de Eventos (Design Inspirado na EBAC)
   ========================================================================== */

.ebac-hub-wrapper {
    background-color: #ffffff;
    color: #111827;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    padding: 40px 0 80px 0;
    -webkit-font-smoothing: antialiased;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.ebac-hub-wrapper * {
    box-sizing: border-box;
}

.ebac-hub-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

@media (max-width: 600px) {
    .ebac-hub-wrapper {
        padding: 24px 0 50px 0;
    }
    .ebac-hub-container {
        padding: 0 14px;
    }
}

/* Previne que o tema Astra ou Elementor forcem scroll horizontal */
.site-content,
.ast-container,
#primary,
#main,
.entry-content {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* ==========================================
   CABEÇALHO DA PÁGINA
   ========================================== */
.ebac-hub-header {
    margin-bottom: 36px;
    max-width: 100%;
}

@media (max-width: 600px) {
    .ebac-hub-header {
        margin-bottom: 24px;
    }
}

.ebac-hub-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: #DC4309;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.ebac-hub-main-title {
    font-size: 36px;
    font-weight: 900;
    color: #111827;
    margin: 0 0 10px 0;
    letter-spacing: -0.8px;
    line-height: 1.2;
    word-break: break-word;
}

@media (max-width: 600px) {
    .ebac-hub-main-title {
        font-size: 26px;
        letter-spacing: -0.4px;
    }
}

.ebac-hub-main-desc {
    font-size: 16px;
    color: #4b5563;
    margin: 0;
    max-width: 680px;
    line-height: 1.55;
    word-break: break-word;
}

@media (max-width: 600px) {
    .ebac-hub-main-desc {
        font-size: 14px;
        line-height: 1.5;
    }
}

/* ==========================================
   GRADE DE EVENTOS (GRID ESTILO EBAC)
   ========================================== */
.ebac-events-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    align-items: start;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .ebac-events-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

@media (max-width: 680px) {
    .ebac-events-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }
}

/* ==========================================
   CARD DO EVENTO
   ========================================== */
.ebac-event-card {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    border-radius: 20px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.ebac-event-card:hover {
    transform: translateY(-5px);
}

.ebac-event-card.card-upcoming {
    cursor: default;
}

.ebac-event-card.card-upcoming:hover {
    transform: none;
}

/* ==========================================
   BOX DO BANNER (ARTE IDÊNTICA À EBAC)
   ========================================== */
.ebac-banner-box {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    aspect-ratio: 16 / 10;
    min-height: 260px;
    border-radius: 20px;
    overflow: hidden;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    contain: paint;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

@media (max-width: 600px) {
    .ebac-banner-box {
        padding: 18px 16px;
        min-height: 220px;
        aspect-ratio: auto;
        border-radius: 16px;
    }
}

.ebac-event-card:hover .ebac-banner-box {
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
}

/* GRADIENTE DA LIVE ATUAL */
.ebac-banner-live {
    background: linear-gradient(135deg, #0f0722 0%, #1e0938 40%, #3e1258 75%, #6a1768 100%);
}

/* GRADIENTES DOS PRÓXIMOS */
.ebac-banner-upcoming-1 {
    background: linear-gradient(135deg, #09172c 0%, #0d284e 45%, #184177 75%, #2563eb 100%);
}

.ebac-banner-upcoming-2 {
    background: linear-gradient(135deg, #041f18 0%, #063a2b 45%, #0d5f47 75%, #059669 100%);
}

.ebac-banner-gold {
    background: linear-gradient(135deg, #1c0e05 0%, #3d1b06 45%, #6e2a09 75%, #b43d0b 100%);
}

/* BADGES SUPERIORES DENTRO DO BANNER */
.ebac-banner-top-badges {
    position: relative;
    z-index: 4;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    max-width: 100%;
}

.ebac-badge-pill {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.2px;
    white-space: normal;
    word-break: break-word;
}

@media (max-width: 480px) {
    .ebac-badge-pill {
        font-size: 11px;
        padding: 4px 10px;
    }
}

.ebac-dot-live {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    animation: ebacPulse 2s infinite;
    flex-shrink: 0;
}

@keyframes ebacPulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.ebac-pill-status {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

/* TÍTULO INTERNO DO BANNER */
.ebac-banner-inner-title {
    position: relative;
    z-index: 4;
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.4px;
    margin: 10px 0;
    max-width: 75%;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    word-break: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 600px) {
    .ebac-banner-inner-title {
        font-size: 18px;
        line-height: 1.3;
        max-width: 100%;
        margin: 8px 0 14px 0;
    }
}

/* PALESTRANTE NO RODAPÉ DO BANNER */
.ebac-banner-speaker {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
}

.ebac-speaker-photo {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background-color: #ffffff;
    flex-shrink: 0;
}

.ebac-speaker-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.ebac-speaker-name {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ebac-speaker-role {
    color: rgba(255, 255, 255, 0.78);
    font-size: 11px;
    line-height: 1.2;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ARTE GRÁFICA 3D / ABSTRATA À DIREITA */
.ebac-banner-graphic {
    position: absolute;
    right: 0;
    top: 0;
    width: 55%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.ebac-3d-shape {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: rotate(5deg);
    transition: transform 0.5s ease;
}

.ebac-event-card:hover .ebac-3d-shape {
    transform: rotate(10deg) scale(1.05);
}

/* ==========================================
   METADADOS ABAIXO DO BANNER (ESTILO EBAC)
   ========================================== */
.ebac-card-bottom-info {
    padding-top: 14px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.ebac-card-bottom-title {
    font-size: 19px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 10px 0;
    line-height: 1.3;
    letter-spacing: -0.3px;
    word-break: break-word;
    overflow-wrap: break-word;
    transition: color 0.2s ease;
}

@media (max-width: 600px) {
    .ebac-card-bottom-title {
        font-size: 17px;
        margin-bottom: 8px;
    }
}

.ebac-event-card:hover .ebac-card-bottom-title {
    color: #DC4309;
}

.ebac-card-bottom-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    width: 100%;
}

.ebac-pill-gray {
    background: #f1f3f7;
    color: #374151;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;
    white-space: normal;
}

.ebac-pill-action {
    background: #fff0eb;
    color: #DC4309;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
    transition: background 0.2s ease, transform 0.2s ease;
    white-space: normal;
}

.ebac-event-card:hover .ebac-pill-action {
    background: #DC4309;
    color: #ffffff;
    transform: translateX(3px);
}

.ebac-pill-muted {
    background: #f1f3f7;
    color: #9ca3af;
    font-size: 12px;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 999px;
    white-space: normal;
}
