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

/* ── 블록 1/1 ── */
* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        /* Core Web Vitals 최적화 */
        img { 
            content-visibility: auto;
            contain-intrinsic-size: 96px 96px;
        }

        .container {
            contain: layout style paint;
        }

        /* 폰트 최적화 */
        @font-face {
            font-family: 'Noto Sans KR';
            font-display: swap;
        }

        html {
            overflow-x: clip;
            max-width: 100vw;
        }

        body {
            font-family: 'Noto Sans KR', Arial, sans-serif;
            line-height: 1.8;
            color: #333;
            background: #f8f9fa;
            max-width: 100vw;
            overflow-x: clip;
        }

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

        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: 15px;
            cursor: pointer;
        }

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

        .breadcrumb {
            background: white;
            padding: 15px 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;
        }

        .page-hero {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 32px 0;
            text-align: center;
        }

        .page-hero h1 {
            font-size: 2.5rem;
            font-weight: 700;
            margin: 0 0 20px 0;
            line-height: 1.2;
        }

        .page-hero p {
            font-size: 1.2rem;
            margin: 0 0 30px 0;
            line-height: 1.5;
            opacity: 0.95;
        }

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

        .hero-feature {
            background: rgba(255,255,255,0.2);
            padding: 10px 20px;
            border-radius: 25px;
            font-weight: 600;
            font-size: 1rem;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,0.3);
        }

        .summary-btn {
            position: fixed;
            top: 60px;
            right: 10px;
            background: #e74c3c;
            color: white;
            padding: 10px 20px;
            border-radius: 25px;
            font-weight: 600;
            font-size: 0.9rem;
            cursor: pointer;
            z-index: 999;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            border: none;
            transition: all 0.3s ease;
        }

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

        .summary-popup {
            opacity: 0;
            visibility: hidden;
            transform: scale(0.8);
            transition: all 0.3s ease;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.7);
            z-index: 1000;
            overflow-y: auto;
        }

        .summary-popup.active {
            opacity: 1;
            visibility: visible;
            transform: scale(1);
        }

        .summary-content {
            background: white;
            margin: 50px auto;
            padding: 30px;
            max-width: 600px;
            border-radius: 20px;
            position: relative;
            max-height: 90vh;
            overflow-y: auto;
            transform: translateY(20px);
            transition: transform 0.3s ease;
        }

        .summary-popup.active .summary-content {
            transform: translateY(0);
        }

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

        .summary-content h2 {
            color: #2c3e50;
            margin-bottom: 20px;
            font-size: 1.5rem;
        }

        .summary-section {
            margin-bottom: 20px;
            padding-bottom: 20px;
            border-bottom: 1px solid #e9ecef;
        }

        .summary-section h3 {
            color: #3498db;
            margin-bottom: 10px;
            font-size: 1.1rem;
        }

        .summary-section p, .summary-section ul {
            color: #555;
            line-height: 1.6;
            font-size: 0.9rem;
        }

        .summary-section ul {
            margin-left: 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, #667eea 0%, #764ba2 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, #5a6fd8 0%, #6a4190 100%);
            transform: translateY(-2px);
        }

        .header-content-main {
            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;
        }

        .faq-grid {
            display: grid;
            gap: 15px;
        }

        .faq-item {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .faq-question {
            background: #667eea;
            color: white;
            padding: 20px 25px;
            cursor: pointer;
            font-weight: 600;
            transition: background 0.3s ease;
            position: relative;
        }

        .faq-question::after {
            content: '+';
            position: absolute;
            right: 25px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 1.5rem;
            transition: transform 0.3s ease;
        }

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

        .faq-question:hover {
            background: #5a6fd8;
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease, padding 0.4s ease;
            padding: 0 25px;
            background: white;
            border-top: 2px solid #667eea;
        }

        .faq-answer.active {
            max-height: 500px;
            padding: 25px;
        }

        .faq-answer p {
            margin: 0;
            line-height: 1.6;
            color: #333;
        }

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

        .service-card {
            background: white;
            border-radius: 15px;
            padding: 25px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            cursor: pointer;
            transition: all 0.3s ease;
            border: 2px solid transparent;
            position: relative;
            overflow: hidden;
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s;
        }

        .service-card:hover::before {
            left: 100%;
        }

        .service-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.15);
            border-color: #667eea;
        }

        .service-icon {
            font-size: 3rem;
            margin-bottom: 15px;
            display: block;
        }

        .service-card h3 {
            margin: 0 0 15px 0;
            font-size: 1.3rem;
            color: #333;
            font-weight: 600;
        }

        .service-card p {
            color: #666;
            line-height: 1.6;
            margin-bottom: 20px;
        }

        .service-features {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .feature-tag {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
        }

        .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 #3498db;
            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: #2980b9;
        }

        .sub-accordion-header.active {
            background: linear-gradient(135deg, #3498db 0%, #2980b9 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: #3498db;
        }

        .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 #3498db;
        }

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

        .sub-accordion-content p {
            color: #333;
            line-height: 1.6;
            margin-bottom: 15px;
            font-size: 0.95rem;
        }

        .specialty-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 12px;
        }

        .specialty-item {
            background: #f8f9ff;
            padding: 12px;
            border-radius: 8px;
            border-left: 4px solid #3498db;
            font-size: 0.9rem;
        }

        .specialty-item strong {
            color: #3498db;
            font-weight: 600;
            display: block;
            margin-bottom: 4px;
        }

        .hospitals-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 15px;
        }

        .hospital-card {
            background: white;
            border: 1px solid #e9ecef;
            border-radius: 10px;
            padding: 15px;
            transition: all 0.3s ease;
        }

        .hospital-card:hover {
            border-color: #3498db;
            box-shadow: 0 5px 15px rgba(52, 152, 219, 0.1);
            transform: translateY(-2px);
        }

        .hospital-type {
            background: #3498db;
            color: white;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            margin-bottom: 10px;
            display: inline-block;
        }

        .hospital-name {
            font-size: 1.1rem;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 8px;
        }

        .hospital-info {
            margin-bottom: 10px;
        }

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

        .info-icon-small {
            width: 20px;
            margin-right: 10px;
            color: #3498db;
        }

        .hospital-actions {
            display: flex;
            gap: 8px;
        }

        .btn {
            padding: 6px 12px;
            border-radius: 6px;
            text-decoration: none;
            font-size: 0.8rem;
            font-weight: 500;
            text-align: center;
            flex: 1;
            transition: all 0.3s ease;
        }

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

        .btn-primary:hover {
            background: #2980b9;
        }

        .btn-secondary {
            background: #95a5a6;
            color: white;
        }

        .btn-secondary:hover {
            background: #7f8c8d;
        }

        .contact-cta {
            background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
            color: white;
            padding: 60px 0;
            text-align: center;
        }

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

        .cta-phone {
            font-size: 2.5rem;
            font-weight: 900;
            margin: 20px 0;
            color: #3498db;
        }

        .cta-button {
            display: inline-block;
            background: #3498db;
            color: white;
            padding: 18px 40px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 700;
            font-size: 1.2rem;
            margin-top: 20px;
            transition: all 0.3s ease;
        }

        .cta-button:hover {
            background: #2980b9;
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
        }

        .floating-call {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 65px;
            height: 65px;
            background: linear-gradient(135deg, #e74c3c, #c0392b);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.6rem;
            box-shadow: 0 6px 20px rgba(231, 76, 60, 0.5);
            z-index: 1001;
            animation: pulse 2s infinite;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .floating-call:hover {
            transform: scale(1.1);
            box-shadow: 0 8px 25px rgba(231, 76, 60, 0.7);
        }

        .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;
        }

        @keyframes pulse {
            0% { 
                transform: scale(1); 
                box-shadow: 0 6px 20px rgba(231, 76, 60, 0.5);
            }
            50% { 
                transform: scale(1.05); 
                box-shadow: 0 8px 25px rgba(231, 76, 60, 0.7);
            }
            100% { 
                transform: scale(1); 
                box-shadow: 0 6px 20px rgba(231, 76, 60, 0.5);
            }
        }

        @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 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;
                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;
            }

            .main-accordion-header {
                padding: 15px 20px;
                flex-direction: column;
                text-align: center;
            }
            
            .main-accordion-header .section-title {
                font-size: 1.3rem;
                margin-bottom: 6px;
                line-height: 1.2;
            }
            
            .main-accordion-header .section-subtitle {
                font-size: 0.85rem;
                line-height: 1.3;
            }
            
            .main-toggle-btn {
                margin: 10px 0 0 0;
                font-size: 1.5rem;
            }
            
            .main-accordion-content {
                padding: 15px;
            }
            
            .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;
            }
            
            .service-features {
                gap: 2px;
                flex-wrap: wrap;
            }
            
            .feature-tag {
                font-size: 0.6rem;
                padding: 2px 4px;
                border-radius: 8px;
            }

            .faq-question {
                padding: 15px 20px;
                font-size: 0.95rem;
            }

            .faq-question::after {
                right: 20px;
                font-size: 1.2rem;
            }

            .faq-answer.active {
                padding: 15px 20px;
            }

            .faq-answer p {
                font-size: 0.85rem;
                line-height: 1.4;
            }

            .sub-accordion-header {
                padding: 10px 15px;
            }
            
            .sub-accordion-icon {
                font-size: 1.1rem;
                margin-right: 8px;
            }
            
            .sub-accordion-header h3 {
                font-size: 0.9rem;
            }
            
            .sub-toggle-btn {
                font-size: 1.1rem;
            }
            
            .sub-accordion-content {
                padding: 12px 15px;
            }
            
            .sub-accordion-content p {
                font-size: 0.8rem;
                line-height: 1.4;
                margin-bottom: 10px;
            }
            
            .specialty-list {
                grid-template-columns: 1fr 1fr;
                gap: 6px;
            }
            
            .specialty-item {
                padding: 8px;
                font-size: 0.75rem;
            }
            
            .specialty-item strong {
                font-size: 0.8rem;
                margin-bottom: 2px;
            }

            .hospitals-grid {
                grid-template-columns: 1fr;
                gap: 8px;
            }
            
            .hospital-card {
                padding: 10px;
            }
            
            .hospital-name {
                font-size: 0.9rem;
                margin-bottom: 5px;
            }
            
            .info-item {
                font-size: 0.8rem;
                margin-bottom: 5px;
                line-height: 1.3;
            }
            
            .hospital-actions {
                gap: 5px;
            }
            
            .btn {
                padding: 5px 8px;
                font-size: 0.75rem;
            }

            .summary-btn {
                top: 70px;
                right: 10px;
                padding: 8px 16px;
                font-size: 0.85rem;
            }

            .summary-content {
                margin: 20px;
                padding: 20px;
            }

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

            .cta-phone {
                font-size: 1.8rem;
                margin: 10px 0;
            }

            .cta-button {
                padding: 12px 25px;
                font-size: 1rem;
                margin-top: 10px;
            }

            .floating-call {
                bottom: 20px;
                right: 20px;
                width: 60px;
                height: 60px;
                font-size: 1.4rem;
                box-shadow: 0 4px 15px rgba(231, 76, 60, 0.6);
            }

            .floating-call:hover {
                transform: scale(1.05);
            }

            .fixed-blog-btn {
                width: 50px;
                height: 50px;
                font-size: 18px;
            }

            @keyframes pulse {
                0% { 
                    transform: scale(1); 
                    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.6);
                }
                50% { 
                    transform: scale(1.08); 
                    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.8);
                }
                100% { 
                    transform: scale(1); 
                    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.6);
                }
            }
        }

        @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;
            }
        }