/* jeungpyeong_hospitals.html 에서 추출한 페이지 전용 스타일
   원래 <style> 블록 2개를 문서 순서 그대로 이어붙였다.
   순서가 캐스케이드이므로 규칙 순서를 바꾸면 안 된다. */

/* ── 블록 1/2 ── */
* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Noto Sans KR', Arial, sans-serif;
            line-height: 1.4;
            color: #333;
            background: #f8f9fa;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Header - 높이 축소 */
        header {
            background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
            color: white;
            padding: 1rem 0;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
        }

        .logo-icon {
            width: 40px;
            height: 40px;
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: #e74c3c;
        }

        .logo h1 {
            font-size: 1.4rem;
            font-weight: 700;
            margin: 0;
        }

        .phone-number {
            font-size: 1.4rem;
            font-weight: 900;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        /* Navigation */
        .breadcrumb {
            background: white;
            padding: 10px 0;
            border-bottom: 1px solid #e9ecef;
        }

        .breadcrumb a {
            color: #6c757d;
            text-decoration: none;
            margin-right: 10px;
        }

        .breadcrumb a:hover {
            color: #e74c3c;
        }

        .breadcrumb span {
            color: #e74c3c;
            font-weight: 600;
        }

        /* Hero Section - 높이 50% 축소 */
        .page-hero {
            background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
            color: white;
            padding: 24px 0;
            text-align: center;
        }

        .page-hero h1 {
            font-size: 2rem;
            font-weight: 800;
            margin-bottom: 15px;
        }

        .page-hero p {
            font-size: 1rem;
            max-width: 800px;
            margin: 0 auto 20px;
        }

        .hero-features {
            display: flex;
            justify-content: center;
            gap: 15px;
            flex-wrap: wrap;
            margin-top: 20px;
        }

        .hero-feature {
            background: rgba(255,255,255,0.1);
            padding: 8px 15px;
            border-radius: 15px;
            backdrop-filter: blur(10px);
            font-size: 0.9rem;
        }

        /* Quick Info Section - 높이 축소 */
        .quick-info {
            background: white;
            padding: 30px 0;
        }

        .info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }

        .info-card {
            background: #f8f9fa;
            padding: 20px;
            border-radius: 15px;
            text-align: center;
            box-shadow: 0 3px 15px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }

        .info-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        }

        .info-icon {
            width: 50px;
            height: 50px;
            background: #e67e22;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 15px;
            font-size: 1.2rem;
            color: white;
        }

        .info-card h3 {
            font-size: 1.1rem;
            margin-bottom: 10px;
            color: #2c3e50;
        }

        .info-card p {
            color: #666;
            line-height: 1.4;
            font-size: 0.9rem;
        }

        /* Area Specialty - 축소 */
        .area-specialty {
            background: linear-gradient(135deg, #fdf2e9 0%, #fae5d3 100%);
            border-left: 5px solid #e67e22;
            padding: 20px;
            margin: 20px 0;
            border-radius: 10px;
        }

        .area-specialty h3 {
            color: #e67e22;
            margin-bottom: 10px;
            font-size: 1.2rem;
        }

        .area-specialty p {
            font-size: 0.9rem;
            line-height: 1.4;
        }

        .specialty-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 10px;
            margin-top: 15px;
        }

        .specialty-item {
            background: white;
            padding: 10px;
            border-radius: 8px;
            border-left: 3px solid #e67e22;
            font-size: 0.9rem;
        }

        /* Services Section - 높이 축소 */
        .services-section {
            background: #f8f9fa;
            padding: 40px 0;
        }

        .section-title {
            text-align: center;
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 15px;
            color: #2c3e50;
        }

        .section-subtitle {
            text-align: center;
            font-size: 1rem;
            color: #666;
            margin-bottom: 30px;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin-top: 30px;
        }

        .service-card {
            background: white;
            padding: 20px;
            border-radius: 15px;
            text-align: center;
            transition: all 0.3s ease;
            border: 1px solid #e9ecef;
            cursor: pointer;
        }

        .service-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
            background: white;
        }

        .service-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #e67e22, #f39c12);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 15px;
            font-size: 1.5rem;
            color: white;
        }

        .service-card h3 {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 10px;
            color: #2c3e50;
        }

        .service-card p {
            color: #666;
            line-height: 1.4;
            margin-bottom: 15px;
            font-size: 0.9rem;
        }

        .service-features {
            display: flex;
            justify-content: center;
            gap: 6px;
            flex-wrap: wrap;
        }

        .feature-tag {
            background: #fdf2e9;
            color: #e67e22;
            padding: 3px 8px;
            border-radius: 10px;
            font-size: 0.7rem;
            font-weight: 500;
        }

        /* FAQ Section - 축소 */
        .faq-section {
            background: white;
            padding: 40px 0;
        }

        .faq-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 15px;
            margin-top: 20px;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }

        .faq-item {
            background: #f8f9fa;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 3px 15px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }

        .faq-question {
            background: #e67e22;
            color: white;
            padding: 18px;
            cursor: pointer;
            font-weight: 600;
            font-size: 1rem;
            transition: background 0.3s ease;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .faq-question:hover {
            background: #d35400;
        }

        .faq-question::after {
            content: '+';
            font-size: 1.3rem;
            font-weight: 300;
            transition: transform 0.3s ease;
        }

        .faq-question.active::after {
            transform: rotate(45deg);
        }

        .faq-answer {
            padding: 0;
            max-height: 0;
            overflow: hidden;
            transition: all 0.3s ease;
            background: white;
        }

        .faq-answer.active {
            padding: 18px;
            max-height: 250px;
        }

        .faq-answer p {
            color: #555;
            line-height: 1.5;
            margin: 0;
            font-size: 0.9rem;
        }

        /* Hospital Section - 축소 */
        .hospitals-section {
            background: #f8f9fa;
            padding: 40px 0;
        }

        .hospitals-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }

        .hospital-card {
            background: white;
            border-radius: 15px;
            padding: 20px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }

        .hospital-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        }

        .hospital-header {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }

        .hospital-type {
            background: #e67e22;
            color: white;
            padding: 4px 12px;
            border-radius: 15px;
            font-size: 0.75rem;
            font-weight: 600;
            margin-right: 10px;
        }

        .hospital-card h3 {
            font-size: 1.3rem;
            color: #2c3e50;
            margin: 10px 0;
            font-weight: 700;
        }

        .hospital-info {
            margin: 15px 0;
        }

        .info-item {
            display: flex;
            align-items: center;
            margin-bottom: 8px;
            color: #555;
            font-size: 0.9rem;
        }

        .info-icon-small {
            width: 18px;
            margin-right: 10px;
            color: #e67e22;
        }

        .hospital-actions {
            display: flex;
            gap: 10px;
            margin-top: 20px;
        }

        .btn {
            padding: 10px 20px;
            border-radius: 20px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            font-size: 0.85rem;
            flex: 1;
            text-align: center;
        }

        .btn-primary {
            background: #e67e22;
            color: white;
        }

        .btn-primary:hover {
            background: #d35400;
            transform: translateY(-2px);
        }

        .btn-secondary {
            background: #ecf0f1;
            color: #2c3e50;
        }

        .btn-secondary:hover {
            background: #bdc3c7;
        }

        /* Emergency Banner - 축소 */
        .emergency-banner {
            background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
            color: white;
            padding: 15px;
            border-radius: 15px;
            margin: 20px 0;
            text-align: center;
        }

        .emergency-banner h4 {
            margin-bottom: 8px;
            font-size: 1.1rem;
        }

        .emergency-banner p {
            font-size: 0.9rem;
        }

        /* Contact CTA - 축소 */
        .contact-cta {
            background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
            color: white;
            padding: 40px 0;
            text-align: center;
        }

        .cta-content {
            max-width: 600px;
            margin: 0 auto;
        }

        .cta-phone {
            font-size: 2rem;
            font-weight: 900;
            margin: 15px 0;
            color: #e67e22;
        }

        .cta-button {
            display: inline-block;
            background: #e67e22;
            color: white;
            padding: 15px 35px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 700;
            font-size: 1.1rem;
            margin-top: 15px;
            transition: all 0.3s ease;
        }

        .cta-button:hover {
            background: #d35400;
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(230, 126, 34, 0.4);
        }

        /* SEO 요약 팝업 */
        .seo-summary-btn {
            position: fixed;
            top: 60px;
            right: 10px;
            background: #e67e22;
            color: white;
            border: none;
            border-radius: 50px;
            padding: 12px 20px;
            font-size: 0.9rem;
            font-weight: 600;
            cursor: pointer;
            z-index: 1000;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            transition: all 0.3s ease;
        }

        .seo-summary-btn:hover {
            background: #d35400;
            transform: translateY(-2px);
        }

        .popup-overlay {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(0,0,0,0.7);
   z-index: 2000;
   /* display: none; */
   opacity: 0;
   visibility: hidden;
   transform: scale(0.8);
   transition: all 0.3s ease;
   align-items: center;
   justify-content: center;
   padding: 20px;
   display: flex;
}
.popup-overlay.active {
   opacity: 1;
   visibility: visible;
   transform: scale(1);
}
.popup-content {
   background: white;
   border-radius: 20px;
   padding: 30px;
   max-width: 500px;
   width: 100%;
   max-height: 80vh;
   overflow-y: auto;
   position: relative;
   transition: transform 0.3s ease;
}
.popup-overlay.active .popup-content {
   transform: translate(0, 0) scale(1);
}

        @keyframes popupShow {
            from {
                opacity: 0;
                transform: scale(0.8);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        .popup-close {
            position: absolute;
            top: 15px;
            right: 20px;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: #666;
        }

        .popup-title {
            color: #e67e22;
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 20px;
            border-bottom: 2px solid #fdf2e9;
            padding-bottom: 10px;
        }

        .summary-item {
            margin-bottom: 15px;
            padding: 10px;
            background: #f8f9fa;
            border-radius: 10px;
        }

        .summary-item h4 {
            color: #2c3e50;
            font-size: 1rem;
            margin-bottom: 5px;
        }

        .summary-item p {
            color: #666;
            font-size: 0.9rem;
            margin: 0;
        }

        /* 고정 전화 버튼 */
        .fixed-call-btn {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #e74c3c, #c0392b);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            color: white;
            font-size: 1.5rem;
            z-index: 1000;
            box-shadow: 0 4px 20px rgba(231, 76, 60, 0.4);
            transition: all 0.3s ease;
            animation: pulse 2s infinite;
        }

        .fixed-call-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 25px rgba(231, 76, 60, 0.6);
        }

        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7); }
            70% { box-shadow: 0 0 0 15px rgba(231, 76, 60, 0); }
            100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); }
        }

        /* 모바일 최적화 */
        @media (max-width: 768px) {
            .page-hero h1 {
                font-size: 1.6rem;
            }

            .page-hero p {
                font-size: 0.9rem;
            }

            .hero-features {
                flex-direction: column;
                align-items: center;
                gap: 10px;
            }

            .hero-feature {
                font-size: 0.8rem;
                padding: 6px 12px;
            }

            .hospital-actions {
                flex-direction: column;
            }

            .cta-phone {
                font-size: 1.6rem;
            }

            .services-grid {
                grid-template-columns: 1fr;
            }

            .hospitals-grid {
                grid-template-columns: 1fr;
            }

            .info-grid {
                grid-template-columns: 1fr;
            }

            .specialty-list {
                grid-template-columns: 1fr;
            }

            .popup-content {
                padding: 20px;
                margin: 10px;
            }

            .section-title {
                font-size: 1.5rem;
            }

            .seo-summary-btn {
                font-size: 0.8rem;
                padding: 10px 15px;
                top: 60px;
                right: 10px;
            }

            .fixed-call-btn {
                width: 55px;
                height: 55px;
                bottom: 15px;
                right: 15px;
                font-size: 1.3rem;
            }
        }

        /* 더 컴팩트한 모바일 버전 */
        @media (max-width: 480px) {
            .container {
                padding: 0 15px;
            }

            .page-hero {
                padding: 20px 0;
            }

            .quick-info, .services-section, .faq-section, .hospitals-section {
                padding: 25px 0;
            }

            .contact-cta {
                padding: 30px 0;
            }

            .info-card, .service-card, .hospital-card {
                padding: 15px;
            }

            .section-title {
                font-size: 1.3rem;
            }

            .service-card h3, .hospital-card h3 {
                font-size: 1.1rem;
            }
        }

/* ── 블록 2/2 ── */
/* 네이버 블로그 고정 버튼 */
.fixed-blog-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #03C75A, #00B04F);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(3, 199, 90, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}

.fixed-blog-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(3, 199, 90, 0.6);
    color: white;
}

/* 모바일 최적화 */
@media (max-width: 768px) {
    .fixed-blog-btn {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
}
        /* 충주 기준 컴팩트 모바일 스타일 */
@media (max-width: 768px) {
    html, body {
        overflow-x: clip;
        max-width: 100vw;
    }
    
    .container {
        max-width: 100%;
        overflow-x: hidden;
        padding: 0 15px;
    }

    .page-hero {
        padding: 15px 0;
    }
    
    .page-hero .container {
        padding: 0 15px;
    }
    
    .page-hero h1 {
        font-size: 1.3rem;
        margin: 0 0 8px 0;
        line-height: 1.2;
    }
    
    .page-hero p {
        font-size: 0.9rem;
        margin: 0 0 12px 0;
        line-height: 1.3;
    }
    
    .hero-features {
        gap: 6px;
        max-width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
    }
    
    .hero-feature {
        padding: 4px 6px;
        font-size: 0.65rem;
        border-radius: 10px;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-bottom: 15px;
    }
    
    .service-card {
        padding: 8px;
        min-height: auto;
    }
    
    .service-card h3 {
        font-size: 0.85rem;
        margin: 0 0 4px 0;
        line-height: 1.2;
    }
    
    .service-card p {
        font-size: 0.7rem;
        line-height: 1.2;
        margin-bottom: 6px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .service-icon {
        font-size: 1.3rem;
        margin-bottom: 4px;
        width: 40px;
        height: 40px;
    }
    
    .service-features {
        gap: 2px;
        flex-wrap: wrap;
    }
    
    .feature-tag {
        font-size: 0.6rem;
        padding: 2px 4px;
        border-radius: 8px;
    }
}

/* 아주 작은 화면 (360px 이하) */
@media (max-width: 360px) {
    .page-hero {
        padding: 12px 0;
    }
    
    .page-hero h1 {
        font-size: 1.2rem;
    }
    
    .page-hero p {
        font-size: 0.8rem;
    }
    
    .hero-feature {
        padding: 3px 5px;
        font-size: 0.6rem;
    }
}

/* 서브 아코디언 스타일 */
.sub-accordion-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sub-accordion-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.sub-accordion-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #e67e22;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.sub-accordion-header:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-color: #d35400;
}

.sub-accordion-header.active {
    background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
    color: white;
}

.sub-accordion-icon {
    font-size: 1.3rem;
    margin-right: 12px;
}

.sub-accordion-header h3 {
    margin: 0;
    flex-grow: 1;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
}

.sub-accordion-header.active h3 {
    color: white;
}

.sub-toggle-btn {
    font-size: 1.3rem;
    font-weight: bold;
    transition: transform 0.3s ease;
    color: #e67e22;
}

.sub-accordion-header.active .sub-toggle-btn {
    transform: rotate(45deg);
    color: white;
}

.sub-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
    background: white;
    padding: 0 20px;
    border-top: 2px solid #e67e22;
}

.sub-accordion-content.active {
    max-height: 1500px;
    padding: 20px;
}

/* 이중 아코디언 스타일 */
.main-accordion {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.main-accordion-header {
    background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
    color: white;
    padding: 30px 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.main-accordion-header:hover {
    background: linear-gradient(135deg, #d35400 0%, #e67e22 100%);
    transform: translateY(-2px);
}

.header-content-accordion {
    flex-grow: 1;
}

.main-accordion-header .section-title {
    margin: 0 0 10px 0;
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.main-accordion-header .section-subtitle {
    margin: 0;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
}

.main-toggle-btn {
    font-size: 2rem;
    font-weight: bold;
    transition: transform 0.3s ease;
    margin-left: 20px;
}

.main-accordion-header.active .main-toggle-btn {
    transform: rotate(45deg);
}

.main-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
    background: white;
    padding: 0 30px;
}

.main-accordion-content.active {
    max-height: 2000px;
    padding: 30px;
}

@media (max-width: 768px) {
    .main-accordion-header {
        padding: 15px 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .main-accordion-header .section-title {
        font-size: 1.3rem;
        margin-bottom: 6px;
    }
    
    .main-accordion-header .section-subtitle {
        font-size: 0.85rem;
    }
    
    .main-toggle-btn {
        margin: 10px 0 0 0;
        font-size: 1.5rem;
    }
    
    .main-accordion-content {
        padding: 15px;
    }
}