/* Country Info Shortcode Styles - SEO 최적화 & 모바일 친화적 */

/* 메인 컨테이너 - 스니펫 최적화 구조 */
.about-us-class {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    position: relative;
    overflow: hidden;
}

/* 스키마 마크업을 위한 구조화된 데이터 표시 */
.about-us-class::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

/* 메인 제목 - H1 최적화 */
.about-us-class h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #1a202c;
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0 15px;
    border-bottom: 3px solid #3182ce;
    font-weight: 700;
    letter-spacing: -0.02em;
    position: relative;
}

/* 섹션 제목 - H2 최적화 (SEO 계층구조) */
.about-geo h3 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    color: #ffffff;
    margin: 35px 0 20px;
    padding: 18px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.25);
    font-weight: 600;
    letter-spacing: -0.01em;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-geo h3:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
}

.about-geo h3::after {
    content: '';
    position: absolute;
    top: 0;
    right: -50px;
    width: 100px;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: skewX(-20deg);
    transition: right 0.6s ease;
}

.about-geo h3:hover::after {
    right: 100%;
}

/* 본문 텍스트 - 가독성 최적화 */
.about-geo p {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: #4a5568;
    margin-bottom: 24px;
    text-align: justify;
    padding: 0 8px;
    line-height: 1.8;
    word-spacing: 0.1em;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

/* 첫 번째 단락 - 리드 텍스트 */
.about-geo p:first-of-type {
    font-size: clamp(1.05rem, 2.8vw, 1.2rem);
    color: #2d3748;
    font-weight: 500;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #3182ce;
    margin-bottom: 30px;
    position: relative;
}

/* 강조 텍스트 - SEO 친화적 마크업 */
.about-geo strong {
    color: #c53030;
    font-weight: 600;
    background: linear-gradient(120deg, #fed7d7 0%, #feb2b2 100%);
    padding: 3px 8px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(197, 48, 48, 0.1);
    display: inline-block;
    margin: 0 2px;
    transition: all 0.2s ease;
}

.about-geo strong:hover {
    transform: scale(1.05);
    box-shadow: 0 3px 8px rgba(197, 48, 48, 0.2);
}

.about-geo em {
    color: #805ad5;
    font-style: italic;
    font-weight: 500;
    background: #faf5ff;
    padding: 2px 6px;
    border-radius: 4px;
    border-bottom: 2px solid #d6bcfa;
}

/* 섹션 간격 최적화 */
.about-geo + .about-geo {
    margin-top: 40px;
}

/* 브레이크 라인 스타일링 */
.about-geo br + h3 {
    margin-top: 50px;
}

/* 접근성 개선 */
.about-us-class:focus-within {
    outline: 2px solid #3182ce;
    outline-offset: 4px;
}

/* 모바일 최적화 (768px 이하) */
@media (max-width: 768px) {
    .about-us-class {
        margin: 10px;
        padding: 16px;
        border-radius: 8px;
    }
    
    .about-us-class h2 {
        margin-bottom: 24px;
        padding: 16px 0 12px;
        text-align: left;
    }
    
    .about-geo h3 {
        margin: 28px 0 16px;
        padding: 14px 18px;
        border-radius: 8px;
        text-align: left;
    }
    
    .about-geo p {
        margin-bottom: 20px;
        padding: 0 4px;
        text-align: left;
    }
    
    .about-geo p:first-of-type {
        padding: 16px;
        margin-bottom: 24px;
    }
    
    .about-geo strong {
        padding: 2px 6px;
        font-size: 0.95em;
    }
}

/* 소형 모바일 (480px 이하) */
@media (max-width: 480px) {
    .about-us-class {
        margin: 8px;
        padding: 12px;
    }
    
    .about-us-class h2 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
    
    .about-geo h3 {
        padding: 12px 16px;
        margin: 24px 0 14px;
        font-size: 1.25rem;
    }
    
    .about-geo p {
        font-size: 1rem;
        margin-bottom: 18px;
        line-height: 1.7;
    }
    
    .about-geo p:first-of-type {
        padding: 14px;
        font-size: 1.05rem;
    }
}

/* 다크모드 지원 */
@media (prefers-color-scheme: dark) {
    .about-us-class {
        background: #1a202c;
        color: #e2e8f0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }
    
    .about-us-class h2 {
        color: #f7fafc;
        border-bottom-color: #4299e1;
    }
    
    .about-geo p {
        color: #cbd5e0;
    }
    
    .about-geo p:first-of-type {
        background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
        color: #e2e8f0;
        border-left-color: #4299e1;
    }
    
    .about-geo strong {
        background: linear-gradient(120deg, #742a2a 0%, #9c2222 100%);
        color: #fed7d7;
    }
    
    .about-geo em {
        background: #322659;
        color: #d6bcfa;
        border-bottom-color: #805ad5;
    }
}

/* 프린트 최적화 */
@media print {
    .about-us-class {
        box-shadow: none;
        background: white;
        color: black;
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .about-geo h3 {
        background: transparent;
        color: black;
        border: 2px solid black;
        padding: 10px;
    }
    
    .about-geo strong,
    .about-geo em {
        background: transparent;
        color: black;
        font-weight: bold;
    }
}