/* 1. LIMPIEZA TOTAL DE BORDES Y FOOTER */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
}

body.single-post, .site, .site-content, .ast-container, #primary {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* Ocultar elementos innecesarios */
.single-post .site-header, .single-post .site-footer, #colophon, 
.sharedaddy, .jp-relatedposts, .entry-header {
    display: none !important;
}

/* 2. RESTAURAR BOTÓN PORTFOLIO AZUL ORIGINAL */
.contenedor-boton-volver {
    position: fixed !important;
    top: 40px;
    right: 5%;
    z-index: 1000000 !important;
}

.btn-volver-azul {
    background-color: #0056b3 !important; /* Azul sólido original */
    color: white !important;
    padding: 14px 28px !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-family: sans-serif !important;
    text-transform: uppercase;
    border-radius: 4px;
    border: none !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block !important;
}

.btn-volver-azul:hover {
    background-color: #004494 !important;
    transform: translateY(-2px);
}

/* 3. FLECHAS LATERALES DE NAVEGACIÓN (NARANJAS) */
.flechas-finales {
    position: fixed !important;
    top: 50% !important;
    left: 0 !important;
    width: 100vw !important;
    height: 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    z-index: 999999 !important;
    pointer-events: none !important;
}

.flechas-finales a {
    pointer-events: auto !important;
    width: 80px !important;
    height: 80px !important;
    margin-top: -40px !important;
    display: block !important;
}

.f-izq { 
    background: url("https://corcrapurp.blog/wp-content/uploads/2026/05/CORCRA__1_-removebg-preview.png") no-repeat center / contain !important; 
}

.f-der { 
    background: url("https://corcrapurp.blog/wp-content/uploads/2026/05/CORCRA__1_-removebg-preview-1.png") no-repeat center / contain !important; 
}

/* 4. AJUSTES DE CONTENIDO Y TÍTULOS */
h2.wp-block-heading { 
    margin-left: 60px !important; 
}

.wp-block-cover.alignfull {
    width: 100vw !important;
    min-height: 100vh !important;
    margin-left: calc(50% - 50vw) !important;
}

.single-post .wp-block-video video { 
    width: 100% !important; 
    height: auto !important; 
}
.page-id-about h1 {
    margin-top: 100px !important; /* Esto evita que la flecha tape el nombre */
}
/* ELIMINAR BORDE BLANCO INFERIOR */

/* 1. Forzar que el cuerpo y el contenedor principal no tengan margen abajo */
html, body, #page, .site-content, .ast-container {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    background-color: #d14b15 !important; /* Usamos el color naranja de fondo por si acaso */
}

/* 2. Ocultar el footer de Astra (el pie de página) */
footer, .site-footer, #colophon {
    display: none !important;
}

/* 3. Asegurar que el bloque de fondo naranja ocupe el 100% de la altura visible */
.wp-block-cover, .main-full-screen {
    min-height: 100vh !important;
}