/* ============================================
 * 医院介绍页面专用样式
 * 版本: 1.0.0
 * 最后更新: 2025-12-10
 ============================================ */

/* 医院介绍容器 */
.hospital-intro-container {
    width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* 医院介绍主区域 */
.hospital-intro-content {
    background: linear-gradient(180deg, rgba(250, 247, 237, 0.95) 0%, rgba(255, 254, 250, 0.8) 100%);
    min-height: 800px;
    margin-top: 20px;
    padding: 40px 40px 200px;
    margin-bottom: 100px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 131, 182, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 131, 182, 0.1);
}

/* 背景图片 */
.hospital-intro-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    z-index: -1;
    object-fit: cover;
    filter: sepia(0.2) contrast(1.1);
}

/* 医院介绍富文本样式 */
.hospital-rich-text {
    position: relative;
    z-index: 1;
}

.hospital-rich-text p {
    margin-bottom: 24px;
    line-height: 1.8;
    color: #333;
    font-size: 16px;
    text-align: justify;
}

.hospital-rich-text p strong {
    color: var(--theme-color);
    font-weight: 700;
}

.hospital-rich-text p:first-child {
    margin-top: 0;
}

/* 首行缩进 */
.hospital-rich-text .text-indent {
    text-indent: 2em;
}

/* 医院介绍页面标题 */
.hospital-intro-title {
    color: var(--theme-color);
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin: 40px 0 30px;
    position: relative;
    padding-bottom: 15px;
    letter-spacing: 1px;
}

.hospital-intro-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--theme-color), #00b4db);
    margin: 15px auto 0;
    border-radius: 2px;
    box-shadow: 0 4px 8px rgba(0, 131, 182, 0.2);
}

/* 医院banner区域样式 */
.hospital-banner {
    width: 100%;
    height: 575px;
    overflow: hidden;
    position: relative;
    margin-bottom: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hospital-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.hospital-banner:hover .hospital-banner-img {
    transform: scale(1.05);
}

/* banner覆盖层和文字 */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-align: center;
}

.banner-title {
    color: white;
    font-size: 48px;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.banner-subtitle {
    color: white;
    font-size: 22px;
    font-weight: 300;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    line-height: 1.6;
}

/* 面包屑导航美化 */
.breadcrumb-container {
    background: linear-gradient(90deg, #f8f9fa 0%, #e9f7fe 100%);
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 131, 182, 0.1);
}

.breadcrumb-item a {
    color: var(--theme-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.breadcrumb-item a:hover {
    color: var(--hover-color);
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #666;
    font-weight: 500;
}



/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hospital-intro-content {
    animation: fadeInUp 0.8s ease-out;
}

.hospital-banner {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .hospital-intro-container {
        width: 100%;
        padding: 0 15px;
    }
    
    .hospital-banner {
        height: 450px;
        margin-bottom: 30px;
    }
    
    .banner-title {
        font-size: 40px;
    }
    
    .banner-subtitle {
        font-size: 20px;
    }
    
    .hospital-intro-content {
        padding: 30px 20px 150px;
        margin-bottom: 80px;
    }
}

@media (max-width: 768px) {
    .hospital-intro-title {
        font-size: 28px;
        margin: 30px 0 20px;
    }
    
    .hospital-banner {
        height: 350px;
        margin-bottom: 20px;
        border-radius: 8px;
    }
    
    .banner-title {
        font-size: 32px;
    }
    
    .banner-subtitle {
        font-size: 18px;
        padding: 0 20px;
    }
    
    .hospital-intro-content {
        padding: 25px 15px 120px;
        margin-bottom: 60px;
    }
    
    .hospital-rich-text p {
        font-size: 15px;
        line-height: 1.7;
    }
}

@media (max-width: 576px) {
    .hospital-intro-title {
        font-size: 24px;
    }
    
    .hospital-banner {
        height: 250px;
    }
    
    .banner-title {
        font-size: 26px;
        margin-bottom: 10px;
    }
    
    .banner-subtitle {
        font-size: 16px;
    }
    
    .hospital-intro-content {
        padding: 20px 15px 100px;
        border-radius: 8px;
    }
}