/* CSS para reducir el tamaño del banner en la sección de servicios */

/* Reducir altura del banner principal */
.banner1 {
    min-height: 60px !important;
    height: 60px !important;
}

/* Ajustar específicamente el banner para servicios */
.route-servicios .banner1,
.route-servicios-post .banner1,
.route-servicios-category .banner1 {
    min-height: 60px !important;
    height: 60px !important;
    max-height: 60px !important;
    padding: 0 !important;
}

/* Aplicar también al business-header-modern que se muestra en servicios */
.business-header-modern {
    padding: clamp(1.5rem, 4vw, 2rem) 1.25rem 1.5rem !important;
}

/* Reducir el tamaño del título principal */
.business-header-modern h1 {
    font-size: clamp(1.8rem, 2.8vw, 2.4rem);
}

/* Reducir el tamaño del párrafo */
.business-header-modern p {
    font-size: 0.95rem;
}

/* Cuando esté dentro de cualquier ruta de servicios */
.route-servicios .business-header-modern,
.route-servicios-post .business-header-modern,
.route-servicios-category .business-header-modern {
    padding-top: 1.2rem !important;
    padding-bottom: 1.2rem !important;
    background-image: linear-gradient(135deg, #0e3d5c, #0e3d5c 55%, #15608c) !important;
}

/* Ajustes para el banner de categoría de servicios */
.category-header-modern {
    position: relative;
    background: linear-gradient(135deg,#0e3d5c,#114b70 55%,#15608c);
    color: #e9f5fb;
    padding: clamp(1.5rem, 4vw, 2rem) 1.25rem 1.5rem !important;
    overflow: hidden;
}

.category-header-modern:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 25%, rgba(255,255,255,.16), transparent 60%);
    mix-blend-mode: overlay;
    opacity: .45;
}

.category-header-modern .bh-inner {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    gap: 1.25rem;
}

.category-header-modern h1 {
    margin: 0;
    font-size: clamp(1.8rem, 2.8vw, 2.4rem);
    background: linear-gradient(90deg,#fff,#c7edff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: .5px;
}

.category-header-modern p {
    margin: 0;
    max-width: 720px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #d2e8f3;
}

/* Para el banner negro con título servicios */
.business-header-modern.title-only {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
    text-align: center;
}

.business-header-modern.title-only h1 {
    margin: 0 auto;
}

.business-header-modern.title-only p {
    display: none;
}