/* ================================
   FRONTEND CSS - Sem cantos arredondados
   ================================ */

/* Banner Base Styles */
.content-media-block {
    position: relative;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.featured-content {
    display: block;
    width: 100%;
    line-height: 0;
}

.featured-content img.responsive-image {
    max-width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
    border: 0;
    outline: 0;
}

.featured-content a {
    display: block;
    text-decoration: none;
    line-height: 0;
}

.featured-content a:hover img {
    opacity: 0.95;
}

/* Auto-inserted banners spacing */
.ebp-auto-banner {
    margin: 1.25rem 0;
    clear: both;
}

.ebp-auto-banner.ebp-position-after_paragraph {
    margin: 1.5rem 0;
}

.ebp-auto-banner.ebp-position-before_content {
    margin: 0 0 1.25rem 0;
}

.ebp-auto-banner.ebp-position-after_content {
    margin: 1.25rem 0 0 0;
}

/* Manual banners (Elementor/shortcode) - no margin */
.content-media-block:not(.ebp-auto-banner) {
    margin: 0 !important;
}

/* Elementor widget */
.ebp-elementor-banner {
    padding: 0;
}

.elementor-widget-ebp_banners {
    padding: 0;
}

/* Hover effects for Elementor */
.ebp-hover-opacity img:hover {
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.ebp-hover-scale {
    overflow: hidden;
}

.ebp-hover-scale img:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.ebp-hover-lift img:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

/* Anti-AdBlock classes */
.promotional-content,
.featured-media,
.content-highlight {
    padding: 0;
    position: relative;
}

/* Responsive spacing */
@media (max-width: 48rem) {
    .ebp-auto-banner {
        margin: 1rem 0;
    }

    .ebp-auto-banner.ebp-position-after_paragraph {
        margin: 1.125rem 0;
    }
}

/* Print styles */
@media print {
    .content-media-block {
        break-inside: avoid;
    }
}

/* Reset conflicting theme styles */
.content-media-block *,
.featured-content *,
.ebp-elementor-banner * {
    box-sizing: border-box;
}

.featured-content,
.featured-content a,
.featured-content img {
    padding: 0 !important;
    margin: auto;
}
