.riddle-footer,
.riddle-footer *,
[class*="riddle-footer"],
[class*="riddle"] footer,
.section-embed-code .riddle-footer,
.section-embed-code [class*="riddle-footer"],
iframe[src*="riddle.com"] + .riddle-footer,
div[class*="riddle"] .riddle-footer {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

.section-embed-code {
    position: relative;
    overflow: hidden;
}

.section-embed-code .c-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-embed-code .embed-title {
    margin-bottom: 30px;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary, #00205b);
    line-height: 1.2;
}

.section-embed-code .embed-code-wrapper {
    position: relative;
    width: 100%;
}

.section-embed-code .embed-code-wrapper iframe {
    width: 100%;
    border: none;
    display: block;
}

.section-embed-code .embed-code-wrapper .qzzr-wrapper,
.section-embed-code .embed-code-wrapper [data-is-qzzr="true"] {
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
}

.section-embed-code .embed-code-wrapper .qzzr-wrapper iframe {
    min-height: 400px;
}

.section-embed-code .embed-code-wrapper [data-tf-widget] {
    width: 100%;
    height: 500px;
}

.section-embed-code .embed-code-wrapper iframe[src*="docs.google.com/forms"] {
    min-height: 600px;
}

.section-embed-code .embed-code-wrapper .video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.section-embed-code .embed-code-wrapper .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.section-embed-code .embed-code-wrapper iframe[src*="google.com/maps"],
.section-embed-code .embed-code-wrapper iframe[src*="openstreetmap.org"] {
    min-height: 450px;
    border-radius: 8px;
}

.section-embed-code .embed-code-wrapper.loading::after {
    content: 'Cargando...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #666;
    font-size: 1.2rem;
}

@media screen and (max-width: 768px) {
    .section-embed-code .c-container {
        padding: 0 15px;
    }
    
    .section-embed-code .embed-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .section-embed-code .embed-code-wrapper .qzzr-wrapper iframe {
        min-height: 350px;
    }
    
    .section-embed-code .embed-code-wrapper [data-tf-widget] {
        height: 450px;
    }
    
    .section-embed-code .embed-code-wrapper iframe[src*="docs.google.com/forms"] {
        min-height: 500px;
    }
    
    .section-embed-code .embed-code-wrapper iframe[src*="google.com/maps"],
    .section-embed-code .embed-code-wrapper iframe[src*="openstreetmap.org"] {
        min-height: 350px;
    }
}

@media screen and (max-width: 480px) {
    .section-embed-code .c-container {
        padding: 0 10px;
    }
    
    .section-embed-code .embed-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .section-embed-code .embed-code-wrapper .qzzr-wrapper iframe {
        min-height: 300px;
    }
    
    .section-embed-code .embed-code-wrapper [data-tf-widget] {
        height: 400px;
    }
    
    .section-embed-code .embed-code-wrapper iframe[src*="docs.google.com/forms"] {
        min-height: 450px;
    }
    
    .section-embed-code .embed-code-wrapper iframe[src*="google.com/maps"],
    .section-embed-code .embed-code-wrapper iframe[src*="openstreetmap.org"] {
        min-height: 300px;
        border-radius: 4px;
    }
}

@media (prefers-color-scheme: dark) {
    .section-embed-code .embed-title {
        color: var(--color-light, #ffffff);
    }
}

.section-embed-code .embed-code-wrapper iframe:focus {
    outline: 2px solid var(--color-primary, #00205b);
    outline-offset: 2px;
}

@media print {
    .section-embed-code {
        page-break-inside: avoid;
    }
    
    .section-embed-code .embed-code-wrapper iframe {
        display: none;
    }
    
    .section-embed-code .embed-code-wrapper::after {
        content: '[Contenido embebido - no disponible en impresión]';
        display: block;
        padding: 20px;
        background: #f0f0f0;
        text-align: center;
    }
}

