/**
 * Anvil Page Builder - Frontend Styles
 *
 * @author    Anvil Page Builder Team
 * @copyright 2025 Anvil Page Builder
 * @license   https://opensource.org/licenses/GPL-3.0 GPL-3.0
 */

/* Base Styles for Anvil Content */
.anvil-page-content {
    width: 100%;
}

.anvil-content-wrapper {
    margin: 0;
    padding: 0;
}

/* Ensure proper spacing */
.anvil-content-wrapper > * {
    margin-bottom: 0;
}

/* Override theme styles if needed */
.anvil-page-content img {
    max-width: 100%;
    height: auto;
}

.anvil-page-content iframe {
    max-width: 100%;
}

/* Responsive utilities */
@media (max-width: 768px) {
    .anvil-page-content {
        padding: 15px;
    }
}

/* Animation support */
.anvil-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.anvil-animate.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Print styles */
@media print {
    .anvil-page-content {
        page-break-inside: avoid;
    }
}
