/* Shared top banner: About, Blog, Articles */

.page-doctor-banner {
    position: relative;
    width: 100%;
    background-color: #fff;
    background-image: url("/images/doctor-banner.jpg");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    padding: 7.5rem 0 5.5rem;
    display: flex;
    align-items: center;
    min-height: 380px;
    overflow: hidden;
}

.page-doctor-banner__inner {
    position: relative;
    z-index: 1;
}

.page-doctor-banner__breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.82rem;
    margin-bottom: 1.5rem;
    color: #64748b;
}

.page-doctor-banner__breadcrumb a {
    color: #1e4274;
    text-decoration: none;
    font-weight: 500;
}

.page-doctor-banner__breadcrumb a:hover {
    text-decoration: underline;
}

.page-doctor-banner__breadcrumb span:last-child {
    color: #94a3b8;
}

.page-doctor-banner__text {
    max-width: 480px;
}

.page-doctor-banner__title {
    font-size: clamp(1.85rem, 4vw, 2.35rem);
    font-weight: 700;
    color: #1e4274;
    line-height: 1.2;
    margin: 0 0 0.85rem;
}

.page-doctor-banner__subtitle {
    font-size: 1.05rem;
    line-height: 1.55;
    color: #4a5568;
    max-width: 420px;
    margin: 0 0 1.75rem;
}

.page-doctor-banner__btn {
    display: inline-block;
    background-color: #1e4274;
    color: #fff !important;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none !important;
    line-height: 1.35;
    transition: background-color 0.2s ease, transform 0.15s ease;
    box-shadow: 0 4px 14px rgba(30, 66, 116, 0.25);
}

.page-doctor-banner__btn:hover {
    background-color: #16355c;
    color: #fff !important;
    transform: translateY(-1px);
}

@media (max-width: 991px) {
    .page-doctor-banner {
        background-image: url("/images/doctor-banner-movil.jpg");
        background-size: contain;
        background-position: right center;
        background-color: #eaf4ff;
        min-height: 320px;
        padding: 5rem 0 3.5rem;
    }

    .page-doctor-banner__text {
        max-width: 52%;
    }

    .page-doctor-banner__title {
        font-size: 1.65rem;
    }

    .page-doctor-banner__subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }

    .page-doctor-banner__btn {
        padding: 12px 20px;
        font-size: 0.92rem;
        white-space: normal;
        max-width: 280px;
    }
}

@media (max-width: 600px) {
    .page-doctor-banner {
        background-image: url("/images/doctor-banner-movil.jpg");
        background-size: cover;
        background-position: 70% center;
        min-height: auto;
        padding: 4.5rem 0 12rem;
    }

    .page-doctor-banner__text {
        max-width: 100%;
        position: relative;
        z-index: 2;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.75) 70%, transparent 100%);
        padding-bottom: 0.5rem;
        border-radius: 8px;
    }

    .page-doctor-banner__btn {
        max-width: 100%;
    }
}
