/* ==========================================================================
   INFILTRACIONES ARTICULARES HUB PAGE STYLES
   ========================================================================== */

@import url('../artroscopia/artroscopia.css');

/* Custom Hero Section for Infiltraciones Articulares */
.infilt-hero {
    position: relative;
    width: 100%;
    min-height: 100svh;
    min-height: 100dvh;
    padding: 8rem 4rem 4rem 4rem;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    background-image: url('../Infiltraciones/WEBP/1767806064167x627207813072420900_f39724b4-49a7-47a4-ba2f-7c3a9f9965ed.webp');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Override light hero-overlay with rich dark navy gradient for high contrast */
.infilt-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(90deg, rgba(12, 18, 27, 0.94) 0%, rgba(12, 18, 27, 0.78) 48%, rgba(12, 18, 27, 0.35) 100%),
        linear-gradient(180deg, rgba(12, 18, 27, 0.70) 0%, transparent 40%, rgba(12, 18, 27, 0.90) 100%) !important;
    z-index: 1;
    pointer-events: none;
}

/* Header link overrides for dark hero */
header .logo path,
header .logo text {
    fill: #ffffff !important;
}

header .logo circle {
    stroke: #ffffff !important;
}

header .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
}

header .nav-link:hover {
    color: #ffffff !important;
}

header .btn-secondary-link {
    color: #ffffff !important;
}

header .btn-glass-sm {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
}

/* Ensure all hero content sits cleanly above overlay */
.infilt-hero .hero-b-container {
    position: relative;
    z-index: 2;
}

/* Breadcrumbs text contrast */
.infilt-hero .breadcrumbs a {
    color: rgba(255, 255, 255, 0.75) !important;
}

.infilt-hero .breadcrumbs a:hover {
    color: #ffffff !important;
}

.infilt-hero .breadcrumbs .breadcrumb-separator {
    color: rgba(255, 255, 255, 0.45) !important;
}

.infilt-hero .breadcrumbs .breadcrumb-current {
    color: #ffffff !important;
    font-weight: 600;
}

/* Typography contrast */
.infilt-hero .hero-b-title {
    color: #ffffff !important;
}

.infilt-hero .hero-b-desc {
    color: rgba(255, 255, 255, 0.90) !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.infilt-hero .hero-rating-clean {
    color: #ffffff !important;
}

.infilt-hero .hero-rating-clean strong {
    color: #ffffff !important;
}

@media (max-width: 1024px) {
    .infilt-hero {
        padding: 7rem 2rem 3rem 2rem;
    }
    .infilt-hero .hero-overlay {
        background: linear-gradient(180deg, rgba(12, 18, 27, 0.90) 0%, rgba(12, 18, 27, 0.92) 100%) !important;
    }
}

@media (max-width: 768px) {
    .infilt-hero {
        padding: 0 !important;
        align-items: flex-end;
    }

    .infilt-hero .hero-b-container {
        width: 100% !important;
        max-width: none !important;
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }
}
