/**
 * Bloque Hero para páginas - ALINEADO CON BLOQUES
 * Estructura idéntica a otros bloques de página
 */
.rescop-page-hero-block {
    width: 100%;
    height: 165px;
    position: relative;
    overflow: hidden;
    background: white;
    /* Resetear padding que pueda aplicar refinement-global.css */
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.rescop-page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.rescop-page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.90);
    z-index: 2;
}

.rescop-page-hero-content {
    position: absolute;
    left: 0;
    right: 0;
    top: 55px;
    height: 56px;
    z-index: 3;
    
    /* Estructura idéntica a los contenedores de bloques */
    max-width: var(--rescop-container-max-width, 1280px);
    margin: 0 auto;
    padding-left: var(--rescop-container-padding, 1.5rem);
    padding-right: var(--rescop-container-padding, 1.5rem);
    
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.rescop-page-hero-title {
    color: black;
    font-size: 28px;
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    line-height: 50px;
    word-wrap: break-word;
    margin: 0;
    width: 100%;
}

/* Seguir exactamente las variables de refinement-global.css */

/* Pantallas grandes (1281px+) - Usar variables globales */
@media (min-width: 1281px) {
    .rescop-page-hero-content {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Pantallas medianas-grandes (1024px - 1280px) - Más margen */
@media (min-width: 1024px) and (max-width: 1280px) {
    .rescop-page-hero-content {
        max-width: var(--rescop-container-max-width, 1280px);
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Tablet landscape (769px - 1023px) - Usar variables globales */
@media (min-width: 769px) and (max-width: 1023px) {
    .rescop-page-hero-block {
        height: 140px;
    }
    
    .rescop-page-hero-content {
        top: 42px;
        height: auto;
        max-width: 95vw;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    
    .rescop-page-hero-title {
        font-size: 24px;
        line-height: 40px;
    }
}

/* Móvil (hasta 768px) - Seguir variables globales */
@media (max-width: 768px) {
    .rescop-page-hero-block {
        height: 140px;
    }
    
    .rescop-page-hero-content {
        top: 42px;
        height: auto;
        padding-left: var(--rescop-space-sm, 1rem);
        padding-right: var(--rescop-space-sm, 1rem);
    }
    
    .rescop-page-hero-title {
        font-size: 22px;
        line-height: 38px;
    }
}

/* Móviles pequeños (hasta 480px) - Usar variables globales */
@media (max-width: 480px) {
    .rescop-page-hero-block {
        height: 120px;
    }
    
    .rescop-page-hero-content {
        top: 32px;
        padding-left: var(--rescop-space-xs, 0.5rem);
        padding-right: var(--rescop-space-xs, 0.5rem);
    }
    
    .rescop-page-hero-title {
        font-size: 20px;
        line-height: 32px;
    }
}

/* Móviles muy pequeños (hasta 360px) */
@media (max-width: 360px) {
    .rescop-page-hero-content {
        padding-left: var(--rescop-space-xs, 0.5rem);
        padding-right: var(--rescop-space-xs, 0.5rem);
    }
    
    .rescop-page-hero-title {
        font-size: 18px;
        line-height: 30px;
    }
}
