/* ========================================
   Modern Academic CV - Professional Design
   ======================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Palette - Deep Navy & Slate */
    --primary-900: #0f172a;
    --primary-800: #1e293b;
    --primary-700: #334155;
    --primary-600: #475569;
    --primary-500: #64748b;

    /* Accent - Refined Blue */
    --accent-600: #2563eb;
    --accent-500: #3b82f6;
    --accent-400: #60a5fa;
    --accent-100: #dbeafe;

    /* Text Colors */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-inverse: #f8fafc;

    /* Background */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;

    /* Borders */
    --border-light: #e2e8f0;
    --border-medium: #cbd5e1;

    /* Badge Colors */
    --ssci-bg: #fee2e2;
    --ssci-text: #991b1b;
    --ssci-border: #fecaca;
    --scopus-bg: #ffedd5;
    --scopus-text: #9a3412;
    --scopus-border: #fed7aa;
    --kci-bg: #dcfce7;
    --kci-text: #166534;
    --kci-border: #bbf7d0;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 350ms ease;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Roboto', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.75;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 920px;
    margin: 0 auto;
    background-color: var(--bg-primary);
    box-shadow: var(--shadow-xl);
}

@media (min-width: 960px) {
    .container {
        margin: 2rem auto;
        border-radius: 12px;
        overflow: hidden;
    }
}

/* ========================================
   Header - Hero Section
   ======================================== */
.header {
    background: linear-gradient(145deg, var(--primary-900) 0%, var(--primary-700) 100%);
    color: var(--text-inverse);
    padding: 3.5rem 3rem;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(145deg, transparent 0%, rgba(255,255,255,0.03) 100%);
    pointer-events: none;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    max-width: 100%;
    position: relative;
    z-index: 1;
}

.profile-image {
    width: 160px;
    height: 200px;
    border-radius: 8px;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.profile-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.header-text {
    flex: 1;
}

.name {
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.125rem;
    line-height: 1.2;
}

.name-kr {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.85;
    margin-bottom: 1.25rem;
    letter-spacing: 0.05em;
}

.titles {
    margin-bottom: 1.75rem;
}

.titles p {
    font-size: 1.05rem;
    opacity: 0.9;
    margin: 0.35rem 0;
    font-weight: 300;
    letter-spacing: 0.01em;
}

.contact-info {
    margin-bottom: 0.875rem;
}

.contact-info a {
    color: var(--text-inverse);
    text-decoration: none;
    opacity: 0.9;
    font-size: 0.95rem;
    transition: opacity var(--transition-fast);
    font-weight: 400;
}

.contact-info a:hover {
    opacity: 1;
}

.separator {
    margin: 0 0.875rem;
    opacity: 0.4;
    font-weight: 300;
}

.identifiers {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0;
}

.identifiers a {
    color: var(--text-inverse);
    text-decoration: none;
    font-size: 0.875rem;
    opacity: 0.8;
    transition: all var(--transition-fast);
    padding: 0.25rem 0;
}

.identifiers a:hover {
    opacity: 1;
}

/* ========================================
   Media Section (Global - Below Header)
   ======================================== */
.media-section-global {
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    border-bottom: 1px solid var(--border-light);
    padding: 2rem 3rem;
}

.media-section-global .section-title {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.media-section-global .subsection-title {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.media-section-global .media-grid {
    gap: 0.875rem;
}

.media-section-global .media-card {
    padding: 0;
}

.media-section-global .media-thumbnail {
    height: 120px;
}

.media-section-global .media-info {
    padding: 0.625rem 0.75rem;
}

.media-section-global .media-title {
    font-size: 0.8rem;
}

.media-section-global .media-channel {
    font-size: 0.7rem;
}

.media-section-global .news-card {
    padding: 0.75rem 1rem;
}

.media-section-global .news-title {
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .media-section-global {
        padding: 1.5rem 2rem;
    }
}

@media (max-width: 480px) {
    .media-section-global {
        padding: 1.25rem;
    }
}

/* ========================================
   Sections
   ======================================== */
.section {
    padding: 2.5rem 3rem;
    border-bottom: 1px solid var(--border-light);
}

.section:last-of-type {
    border-bottom: none;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-800);
    margin-bottom: 1.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent-500);
    display: inline-block;
    letter-spacing: -0.01em;
    position: relative;
}

.subsection-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-700);
    margin: 1.75rem 0 1rem 0;
    letter-spacing: -0.01em;
}

.subsection-title:first-of-type {
    margin-top: 0;
}

.section-intro {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    background-color: var(--bg-tertiary);
    border-radius: 8px;
    border-left: 3px solid var(--accent-500);
}

/* ========================================
   Research Interests
   ======================================== */
.interests-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    list-style: none;
}

.interests-list li {
    background: linear-gradient(135deg, var(--accent-100) 0%, var(--bg-tertiary) 100%);
    padding: 0.5rem 1.125rem;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-700);
    border: 1px solid var(--border-light);
    transition: all var(--transition-fast);
}

.interests-list li:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
    border-color: var(--accent-400);
}

/* ========================================
   Education
   ======================================== */
.education-item {
    display: flex;
    margin-bottom: 2rem;
    position: relative;
}

.education-item:last-child {
    margin-bottom: 0;
}

.edu-year {
    min-width: 70px;
    font-weight: 700;
    color: var(--accent-600);
    font-size: 1rem;
    padding-top: 0.125rem;
}

.edu-content {
    flex: 1;
    padding-left: 1.5rem;
    border-left: 2px solid var(--border-light);
}

.edu-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.edu-location {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.625rem;
    font-weight: 400;
}

.edu-content p {
    font-size: 0.9rem;
    margin: 0.2rem 0;
    color: var(--text-secondary);
}

.edu-content p strong {
    color: var(--text-primary);
    font-weight: 500;
}

.dissertation {
    margin-top: 0.625rem !important;
    padding: 0.75rem 1rem;
    background-color: var(--bg-tertiary);
    border-radius: 6px;
    border-left: 3px solid var(--accent-500);
}

/* ========================================
   Position
   ======================================== */
.position-item {
    margin-bottom: 0.75rem;
    padding: 0.875rem 1.25rem;
    background-color: var(--bg-tertiary);
    border-radius: 8px;
    border-left: 3px solid var(--accent-500);
}

.position-item:last-child {
    margin-bottom: 0;
}

.position-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.position-item strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ========================================
   Publications
   ======================================== */
.subsubsection-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-800);
    margin: 2rem 0 1rem 0;
    padding: 0.5rem 0 0.5rem 1rem;
    background: linear-gradient(90deg, var(--bg-tertiary) 0%, transparent 100%);
    border-left: 4px solid var(--accent-500);
    border-radius: 0 4px 4px 0;
}

.subsubsection-title:first-of-type {
    margin-top: 0;
}

.publication-list {
    list-style: none;
}

.publication-list li {
    margin-bottom: 1.125rem;
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    line-height: 1.7;
    background-color: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-light);
    transition: all var(--transition-fast);
}

.publication-list li:hover {
    border-color: var(--border-medium);
    box-shadow: var(--shadow-sm);
}

.publication-list li:last-child {
    margin-bottom: 0;
}

.publication-list a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.publication-list a:hover {
    color: var(--accent-600);
}

.pub-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-right: 0.625rem;
    vertical-align: middle;
    text-transform: uppercase;
}

.pub-badge.ssci {
    background-color: var(--ssci-bg);
    color: var(--ssci-text);
    border: 1px solid var(--ssci-border);
}

.pub-badge.scopus {
    background-color: var(--scopus-bg);
    color: var(--scopus-text);
    border: 1px solid var(--scopus-border);
}

.pub-badge.kci {
    background-color: var(--kci-bg);
    color: var(--kci-text);
    border: 1px solid var(--kci-border);
}

/* Section Header with Toggle */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.section-header .section-title {
    margin-bottom: 0;
}

/* Publication Dashboard */
.pub-dashboard {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.pub-stats-summary {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 90px;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 1rem;
    background-color: var(--bg-primary);
    border-radius: 8px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.stat-card.ssci {
    border-left: 3px solid var(--ssci-text);
}

.stat-card.scopus {
    border-left: 3px solid var(--scopus-text);
}

.stat-card.kci {
    border-left: 3px solid var(--kci-text);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-800);
    line-height: 1;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

.pub-chart {
    display: flex;
    flex-direction: column;
}

.chart-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.chart-bars {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.chart-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chart-year {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    width: 40px;
    text-align: right;
    flex-shrink: 0;
}

.chart-bar-container {
    flex: 1;
    height: 18px;
    background-color: var(--bg-primary);
    border-radius: 4px;
    overflow: hidden;
}

.chart-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-500) 0%, var(--accent-400) 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
    min-width: 4px;
}

.chart-bar.highlight {
    background: linear-gradient(90deg, var(--accent-600) 0%, var(--accent-500) 100%);
}

.chart-count {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
    width: 20px;
    text-align: left;
    flex-shrink: 0;
}

/* Publication Toggle */
.publication-list li.hidden-pub {
    display: none;
    opacity: 0;
    max-height: 0;
    margin-bottom: 0;
    padding: 0;
    overflow: hidden;
}

.publications-expanded .publication-list li.hidden-pub {
    display: block;
    opacity: 1;
    max-height: 500px;
    margin-bottom: 1.125rem;
    padding: 1rem 1.25rem;
    animation: fadeInSlide 0.3s ease forwards;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Year sections that only have hidden publications */
.subsubsection-title.hidden-year {
    display: none;
}

.publications-expanded .subsubsection-title.hidden-year {
    display: block;
    animation: fadeInSlide 0.3s ease forwards;
}

/* Toggle Button - Compact Style */
.publications-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--accent-500);
    border-radius: 20px;
    color: var(--accent-600);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.publications-toggle:hover {
    background-color: var(--accent-500);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.publications-toggle.active {
    background-color: var(--accent-500);
    color: white;
}

.toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    transition: transform var(--transition-normal);
}

.publications-toggle.active .toggle-icon {
    transform: rotate(180deg);
}

.toggle-count {
    font-size: 0.75rem;
    opacity: 0.85;
    font-weight: 500;
}

/* ========================================
   Conference Presentations
   ======================================== */
.conference-list {
    list-style: none;
}

.conference-list li {
    margin-bottom: 0.875rem;
    padding: 0.875rem 1.25rem;
    font-size: 0.9rem;
    line-height: 1.6;
    background-color: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-light);
    transition: all var(--transition-fast);
    position: relative;
    padding-left: 4.5rem;
}

.conference-list li:hover {
    border-color: var(--border-medium);
    box-shadow: var(--shadow-sm);
}

.conference-list li:last-child {
    margin-bottom: 0;
}

.conf-year {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    padding: 0.25rem 0.5rem;
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--primary-700);
    background-color: var(--bg-tertiary);
    border-radius: 4px;
    border: 1px solid var(--border-light);
}

/* Conference Toggle Button */
.conferences-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--accent-500);
    border-radius: 20px;
    color: var(--accent-600);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.conferences-toggle:hover {
    background-color: var(--accent-500);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.conferences-toggle.active {
    background-color: var(--accent-500);
    color: white;
}

.conferences-toggle.active .toggle-icon {
    transform: rotate(180deg);
}

/* Conference Hidden Items */
.conference-list li.hidden-conf {
    display: none;
    opacity: 0;
    max-height: 0;
    margin-bottom: 0;
    padding: 0;
    overflow: hidden;
}

#conferences-section.conferences-expanded .conference-list li.hidden-conf {
    display: block;
    opacity: 1;
    max-height: 500px;
    margin-bottom: 0.875rem;
    padding: 0.875rem 1.25rem 0.875rem 4.5rem;
    animation: fadeInSlide 0.3s ease forwards;
}

/* ========================================
   Books
   ======================================== */

/* Featured Book (Latest/Highlighted) */
.featured-book {
    display: flex;
    gap: 1.75rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.featured-book::before {
    content: "NEW";
    position: absolute;
    top: 12px;
    right: -28px;
    background: linear-gradient(135deg, var(--accent-500) 0%, var(--accent-600) 100%);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.25rem 2rem;
    transform: rotate(45deg);
    letter-spacing: 0.05em;
}

.featured-book-cover {
    flex-shrink: 0;
    width: 120px;
}

.featured-book-cover img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.featured-book-cover img:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.featured-book-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-book-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.featured-book-meta {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.featured-book-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.featured-book-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.4rem 0.875rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    border: 1px solid var(--border-medium);
    border-radius: 6px;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.featured-book-links a:hover {
    background-color: var(--accent-500);
    border-color: var(--accent-500);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.book-list {
    list-style: none;
}

.book-list li {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    padding: 1rem 1.25rem 1rem 1.5rem;
    position: relative;
    background-color: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-light);
    transition: all var(--transition-fast);
}

.book-list li:hover {
    border-color: var(--border-medium);
    box-shadow: var(--shadow-sm);
}

.book-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--accent-500) 0%, var(--accent-400) 100%);
    border-radius: 8px 0 0 8px;
}

.book-list li:last-child {
    margin-bottom: 0;
}

.book-list a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.book-list a:hover {
    color: var(--accent-600);
}

/* ========================================
   Awards
   ======================================== */
.awards-list {
    list-style: none;
}

.awards-list li {
    margin-bottom: 0.875rem;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background-color: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-light);
    transition: all var(--transition-fast);
}

.awards-list li:hover {
    border-color: var(--border-medium);
    box-shadow: var(--shadow-sm);
}

.awards-list li:last-child {
    margin-bottom: 0;
}

.award-year {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    padding: 0.25rem 0.5rem;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--accent-600);
    background-color: var(--accent-100);
    border-radius: 4px;
    flex-shrink: 0;
}

/* ========================================
   Professional Service
   ======================================== */
.service-category {
    margin-bottom: 2rem;
}

.service-category:last-child {
    margin-bottom: 0;
}

.service-list {
    list-style: none;
    padding-left: 0;
}

.service-list li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.service-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.9rem;
    width: 6px;
    height: 6px;
    background-color: var(--accent-500);
    border-radius: 50%;
}

.service-list a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.service-list a:hover {
    color: var(--accent-600);
}

.service-list.inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-list.inline li {
    padding: 0.5rem 1rem;
    background-color: var(--bg-tertiary);
    border-radius: 6px;
    border: 1px solid var(--border-light);
    margin-bottom: 0;
}

.service-list.inline li::before {
    display: none;
}

/* Reviewer Subheadings */
.reviewer-subhead {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 1rem 0 0.5rem 0;
    padding-left: 0.25rem;
}

.reviewer-subhead:first-of-type {
    margin-top: 0.5rem;
}

/* Reviewer Tags (Compact Layout) */
.reviewer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.reviewer-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.reviewer-tag:hover {
    border-color: var(--accent-500);
    background-color: var(--accent-50);
    color: var(--accent-700);
}

.reviewer-tag span {
    color: var(--text-tertiary);
    font-size: 0.7rem;
}

/* Membership Buttons */
.membership-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.membership-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-medium);
    border-radius: 6px;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.membership-btn:hover {
    background-color: var(--accent-500);
    border-color: var(--accent-500);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.membership-btn:active {
    transform: translateY(0);
}

/* ========================================
   Media Appearances
   ======================================== */
.media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.media-card {
    display: block;
    background-color: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.media-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-400);
}

.media-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    background-color: var(--primary-800);
}

.media-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.media-card:hover .media-thumbnail img {
    transform: scale(1.05);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    padding-left: 4px;
    transition: all var(--transition-fast);
    backdrop-filter: blur(4px);
}

.media-card:hover .play-icon {
    background-color: #ff0000;
    transform: translate(-50%, -50%) scale(1.1);
}

.media-info {
    padding: 1rem 1.25rem;
}

.media-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.375rem;
    line-height: 1.4;
}

.media-channel {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

/* Video Iframe (when playing) */
.media-thumbnail.playing {
    padding-top: 56.25%;
}

.video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px 12px 0 0;
}

.media-card[data-video-id] {
    cursor: pointer;
}

/* News Cards */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.news-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-fast);
}

.news-card:hover {
    border-color: var(--accent-400);
    background-color: var(--bg-tertiary);
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.news-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.news-content {
    flex: 1;
    min-width: 0;
}

.news-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.375rem 0;
    line-height: 1.4;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.news-source {
    font-weight: 500;
    color: var(--accent-600);
}

.news-date {
    color: var(--text-muted);
}

.news-arrow {
    font-size: 1.25rem;
    color: var(--text-muted);
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.news-card:hover .news-arrow {
    color: var(--accent-500);
    transform: translateX(4px);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: linear-gradient(180deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    padding: 2rem 3rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid var(--border-light);
}

/* ========================================
   Links (General)
   ======================================== */
a {
    transition: color var(--transition-fast);
}

/* ========================================
   Responsive Design - Tablet
   ======================================== */
@media (max-width: 768px) {
    .container {
        margin: 0;
        border-radius: 0;
    }

    .header {
        padding: 2.5rem 1.75rem;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .profile-image {
        width: 140px;
        height: 175px;
    }

    .header-text {
        width: 100%;
    }

    .name {
        font-size: 2.25rem;
    }

    .name-kr {
        font-size: 1.25rem;
    }

    .titles p {
        font-size: 0.95rem;
    }

    .contact-info {
        display: flex;
        flex-direction: column;
        gap: 0.375rem;
    }

    .separator {
        display: none;
    }

    .identifiers {
        justify-content: center;
    }

    .section {
        padding: 2rem 1.75rem;
    }

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

    .education-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .edu-year {
        padding-top: 0;
    }

    .edu-content {
        padding-left: 1rem;
    }

    .interests-list {
        gap: 0.5rem;
    }

    .interests-list li {
        font-size: 0.85rem;
        padding: 0.4rem 0.9rem;
    }

    .pub-dashboard {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .pub-stats-summary {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .stat-card {
        padding: 0.5rem 1rem;
        min-width: 70px;
    }

    .stat-number {
        font-size: 1.25rem;
    }

    .footer {
        padding: 1.5rem 1.75rem;
    }

    .featured-book {
        gap: 1.25rem;
        padding: 1.25rem;
    }

    .featured-book-cover {
        width: 100px;
    }

    .featured-book-title {
        font-size: 1rem;
    }

    .media-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .play-icon {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }
}

/* ========================================
   Responsive Design - Mobile
   ======================================== */
@media (max-width: 480px) {
    .tab-nav {
        padding: 0.75rem 0.5rem;
        gap: 0.35rem;
        flex-wrap: wrap;
    }

    .tab-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
        gap: 0.25rem;
        flex: 1;
        justify-content: center;
        min-width: 0;
    }

    .tab-btn .tab-icon {
        font-size: 0.85rem;
    }

    .header {
        padding: 2rem 1.25rem;
    }

    .profile-image {
        width: 120px;
        height: 150px;
    }

    .name {
        font-size: 1.875rem;
    }

    .name-kr {
        font-size: 1.125rem;
    }

    .titles p {
        font-size: 0.85rem;
        line-height: 1.5;
        word-break: keep-all;
    }

    .contact-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
    }

    .contact-info a {
        font-size: 0.85rem;
    }

    .identifiers {
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
    }

    .identifiers a {
        font-size: 0.8rem;
    }

    .identifiers .separator {
        display: none;
    }

    .section {
        padding: 1.5rem 1.25rem;
    }

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

    .subsubsection-title {
        font-size: 1rem;
    }

    .publication-list li {
        padding: 0.875rem 1rem;
        font-size: 0.85rem;
    }

    .pub-badge {
        font-size: 0.6rem;
        padding: 0.15rem 0.5rem;
    }

    .pub-dashboard {
        padding: 1rem;
    }

    .pub-stats-summary {
        gap: 0.4rem;
    }

    .stat-card {
        padding: 0.4rem 0.75rem;
        min-width: 60px;
    }

    .stat-number {
        font-size: 1.1rem;
    }

    .stat-label {
        font-size: 0.6rem;
    }

    .chart-title {
        font-size: 0.75rem;
    }

    .chart-row {
        gap: 0.35rem;
    }

    .chart-year {
        font-size: 0.65rem;
        width: 35px;
    }

    .chart-bar-container {
        height: 14px;
    }

    .chart-count {
        font-size: 0.65rem;
        width: 16px;
    }

    .awards-list li {
        flex-direction: column;
        gap: 0.5rem;
    }

    .award-year {
        align-self: flex-start;
    }

    .featured-book {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
        padding: 1.25rem 1rem;
    }

    .featured-book::before {
        top: 8px;
        right: -32px;
        font-size: 0.6rem;
    }

    .featured-book-cover {
        width: 100px;
    }

    .featured-book-info {
        align-items: center;
    }

    .featured-book-links {
        justify-content: center;
    }

    .featured-book-links a {
        font-size: 0.75rem;
        padding: 0.35rem 0.75rem;
    }

    .media-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .media-card {
        display: flex;
        flex-direction: row;
        align-items: stretch;
    }

    .media-card:has(.media-thumbnail.playing) {
        flex-direction: column;
    }

    .media-thumbnail {
        width: 140px;
        min-width: 140px;
        padding-top: 0;
        height: 80px;
    }

    .media-thumbnail.playing {
        width: 100%;
        min-width: 100%;
        height: auto;
        padding-top: 56.25%;
    }

    .video-iframe {
        border-radius: 12px 12px 0 0;
    }

    .play-icon {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }

    .media-info {
        padding: 0.75rem 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .media-title {
        font-size: 0.85rem;
    }

    .media-channel {
        font-size: 0.7rem;
    }

    .news-card {
        padding: 0.875rem 1rem;
    }

    .news-icon {
        font-size: 1.25rem;
    }

    .news-title {
        font-size: 0.85rem;
    }

    .news-meta {
        font-size: 0.7rem;
    }

    .news-arrow {
        font-size: 1rem;
    }

    .footer {
        padding: 1.25rem;
    }

    .tab-nav {
        padding: 0 1rem;
        gap: 0.5rem;
    }

    .tab-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }

    .course-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .course-code {
        position: static;
    }

    .course-term {
        align-self: flex-start;
    }

    .mentoring-stats {
        flex-direction: row;
    }

    .mentor-card {
        flex: 1;
    }
}

/* ========================================
   Tab Navigation
   ======================================== */
.tab-nav {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 2rem;
    background: linear-gradient(180deg, var(--bg-tertiary) 0%, var(--bg-primary) 100%);
    border-bottom: 1px solid var(--border-light);
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background-color: var(--bg-primary);
    border: 2px solid var(--border-light);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.tab-btn:hover {
    border-color: var(--accent-400);
    color: var(--accent-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--accent-500) 0%, var(--accent-600) 100%);
    border-color: var(--accent-500);
    color: white;
    box-shadow: var(--shadow-md);
}

.tab-icon {
    font-size: 1.1rem;
}

/* Tab Panels */
.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========================================
   Teaching Tab Styles
   ======================================== */

/* Philosophy */
.philosophy-content {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    border-radius: 12px;
    border-left: 4px solid var(--accent-500);
}

.philosophy-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
}

/* University Legend */
.university-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background-color: var(--bg-secondary);
    border-radius: 10px;
    margin-bottom: 2rem;
    border: 1px solid var(--border-light);
}

.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

/* University Colors */
.legend-dot.jnue, .univ-badge.jnue { background-color: #3b82f6; }
.legend-dot.jnu, .univ-badge.jnu { background-color: #10b981; }
.legend-dot.gnue, .univ-badge.gnue { background-color: #f59e0b; }
.legend-dot.hyu, .univ-badge.hyu { background-color: #8b5cf6; }
.legend-dot.gwu, .univ-badge.gwu { background-color: #ec4899; }
.legend-dot.fsu, .univ-badge.fsu { background-color: #782F40; }
.legend-dot.knu, .univ-badge.knu { background-color: #06b6d4; }

/* Year Section Timeline */
.year-section {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 2rem;
    border-left: 3px solid var(--border-medium);
}

.year-section:last-child {
    margin-bottom: 0;
}

.year-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    margin-left: -1.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.year-header::before {
    content: '';
    position: absolute;
    left: -9px;
    width: 16px;
    height: 16px;
    background-color: var(--accent-500);
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 0 2px var(--accent-500);
}

.year-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--accent-500) 0%, var(--accent-600) 100%);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.year-stats {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Semester Title */
.semester-title {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 0 0 0.75rem 0;
    padding: 0.375rem 0.75rem;
    background-color: var(--bg-tertiary);
    border-radius: 6px;
}

.courses-grid + .semester-title {
    margin-top: 1.25rem;
}

/* Courses Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

/* Course Card */
.course-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1rem;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.course-card.jnue::before { background-color: #3b82f6; }
.course-card.jnu::before { background-color: #10b981; }
.course-card.gnue::before { background-color: #f59e0b; }
.course-card.hyu::before { background-color: #8b5cf6; }
.course-card.gwu::before { background-color: #ec4899; }
.course-card.fsu::before { background-color: #782F40; }
.course-card.knu::before { background-color: #06b6d4; }

.course-card:hover {
    border-color: var(--accent-400);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.course-card.perfect-rating {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, var(--bg-secondary) 100%);
}

.course-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.univ-badge {
    padding: 0.25rem 0.5rem;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 4px;
}

.level-badge {
    padding: 0.2rem 0.4rem;
    font-size: 0.65rem;
    font-weight: 600;
    border-radius: 3px;
    background-color: var(--bg-tertiary);
    color: var(--text-muted);
}

.level-badge.grad {
    background-color: var(--accent-100);
    color: var(--accent-600);
}

.course-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

.course-card-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0 0 0.5rem 0;
}

.course-card-rating {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-top: auto;
}

.rating-score {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.rating-score.perfect {
    color: #10b981;
}

.rating-max {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.rating-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: 0.25rem;
}

/* Responsive for Timeline */
@media (max-width: 768px) {
    .university-legend {
        gap: 0.75rem;
        padding: 0.875rem 1rem;
    }

    .legend-item {
        font-size: 0.75rem;
    }

    .year-section {
        padding-left: 1rem;
    }

    .year-header {
        margin-left: -1rem;
        padding-left: 1rem;
        flex-wrap: wrap;
    }

    .year-header::before {
        left: -7px;
        width: 12px;
        height: 12px;
    }

    .year-badge {
        font-size: 1rem;
        padding: 0.375rem 0.75rem;
    }

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

@media (max-width: 480px) {
    .university-legend {
        gap: 0.5rem;
    }

    .legend-item {
        font-size: 0.7rem;
    }

    .course-card {
        padding: 0.875rem;
    }

    .course-card-title {
        font-size: 0.85rem;
    }
}

/* Course List (legacy) */
.course-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.course-item:hover {
    border-color: var(--accent-400);
    box-shadow: var(--shadow-sm);
}

.course-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    padding: 0.375rem 0.75rem;
    background-color: var(--accent-100);
    color: var(--accent-600);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 6px;
    flex-shrink: 0;
}

.course-info {
    flex: 1;
}

.course-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
}

.course-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.course-term {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    background-color: var(--bg-tertiary);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    flex-shrink: 0;
}

/* Course Ratings */
.course-ratings {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-top: 0.5rem;
}

.course-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    transition: all var(--transition-fast);
    position: relative;
}

.rating-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    border-radius: 4px;
}

.rating-badge.perfect {
    background-color: var(--kci-bg);
    color: var(--kci-text);
    border-color: var(--kci-border);
}

.course-placeholder {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 1rem;
    padding-left: 0.5rem;
}

/* Lecture List */
.lecture-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.lecture-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    transition: all var(--transition-fast);
}

.lecture-item:hover {
    border-color: var(--accent-400);
    box-shadow: var(--shadow-sm);
}

.lecture-year {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    padding: 0.25rem 0.5rem;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--accent-600);
    background-color: var(--accent-100);
    border-radius: 4px;
    flex-shrink: 0;
}

.lecture-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
}

.lecture-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

/* Full-width Section */
.section-fullwidth {
    max-width: none;
    margin-left: calc(-3rem);
    margin-right: calc(-3rem);
    padding-left: 3rem;
    padding-right: 3rem;
}

/* Lecture Map Embed */
.lecture-map-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    background-color: var(--bg-secondary);
    box-shadow: var(--shadow-md);
    position: relative;
}

.lecture-map-iframe {
    width: 100%;
    height: 75vh;
    min-height: 500px;
    max-height: 800px;
    border: none;
    display: block;
}

/* Fullscreen Button */
.fullscreen-btn {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-medium);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(4px);
    z-index: 10;
}

.fullscreen-btn:hover {
    background-color: var(--accent-500);
    border-color: var(--accent-500);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.fullscreen-icon {
    font-size: 1.1rem;
}

/* Fullscreen Mode Styles */
.lecture-map-container:fullscreen {
    border-radius: 0;
    background-color: white;
}

.lecture-map-container:fullscreen .lecture-map-iframe {
    height: 100vh;
    max-height: none;
}

.lecture-map-container:fullscreen .fullscreen-btn {
    bottom: 2rem;
    right: 2rem;
}

@media (max-width: 768px) {
    .section-fullwidth {
        margin-left: calc(-2rem);
        margin-right: calc(-2rem);
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .lecture-map-iframe {
        height: 60vh;
        min-height: 400px;
    }

    .fullscreen-btn {
        padding: 0.625rem 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .section-fullwidth {
        margin-left: calc(-1.25rem);
        margin-right: calc(-1.25rem);
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .lecture-map-iframe {
        height: 50vh;
        min-height: 350px;
    }

    .fullscreen-btn {
        bottom: 0.75rem;
        right: 0.75rem;
        padding: 0.5rem 0.875rem;
        font-size: 0.75rem;
    }
}

/* Mentoring Stats */
.mentoring-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.mentor-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 2rem;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    min-width: 140px;
    transition: all var(--transition-fast);
}

.mentor-card:hover {
    border-color: var(--accent-400);
    box-shadow: var(--shadow-sm);
}

.mentor-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-600);
    line-height: 1;
}

.mentor-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Graduate Mentor Card */
.mentor-card-grad {
    padding: 1.25rem 1.5rem;
    min-width: 160px;
}

.mentor-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.mentor-card-rows {
    width: 100%;
}

.mentor-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--border-light);
    flex-wrap: wrap;
}

.mentor-row .mentee-toggle-mini {
    margin-top: 0;
    font-size: 0.65rem;
    padding: 0.2rem 0.4rem;
}

.mentor-row:last-child {
    border-bottom: none;
}

.mentor-row-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.mentor-row-number {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-600);
}

/* Mentee Toggle Button */
.mentee-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.75rem 1.25rem;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-medium);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.mentee-toggle:hover {
    background-color: var(--accent-100);
    border-color: var(--accent-400);
    color: var(--accent-600);
}

.mentee-toggle.active {
    background-color: var(--accent-500);
    border-color: var(--accent-500);
    color: white;
}

.toggle-arrow {
    font-size: 0.75rem;
    transition: transform var(--transition-fast);
}

/* Mini Toggle Button */
.mentee-toggle-mini {
    display: block;
    margin-top: 0.5rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
    color: var(--accent-600);
    background: transparent;
    border: 1px solid var(--accent-400);
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.mentee-toggle-mini:hover {
    background-color: var(--accent-50);
    border-color: var(--accent-500);
}

.mentee-toggle-mini.active {
    background-color: var(--accent-500);
    color: white;
    border-color: var(--accent-500);
}

/* Mentee List Container */
.mentee-list-container {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
    margin-top: 0;
}

.mentee-list-container.expanded {
    max-height: 500px;
    opacity: 1;
    margin-top: 1.5rem;
}

.mentee-list-container .subsection-title {
    margin-bottom: 1rem;
}

.mentee-subhead {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

/* Mentee List */
.mentee-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.mentee-item {
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1rem;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.mentee-item:hover {
    border-color: var(--accent-400);
    box-shadow: var(--shadow-sm);
}

.mentee-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    html {
        font-size: 11pt;
    }

    body {
        background-color: white;
        color: black;
        line-height: 1.5;
    }

    .container {
        box-shadow: none;
        max-width: 100%;
        margin: 0;
        border-radius: 0;
    }

    .header {
        background: var(--primary-900) !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        padding: 1.5rem;
    }

    .header-content {
        gap: 1.5rem;
    }

    .profile-image {
        width: 100px;
        height: 125px;
        box-shadow: none;
    }

    .name {
        font-size: 1.75rem;
    }

    .name-kr {
        font-size: 1rem;
    }

    .section {
        padding: 1rem 1.5rem;
        break-inside: avoid;
    }

    .section-title {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .publication-list li,
    .book-list li,
    .awards-list li {
        background-color: transparent;
        border: none;
        padding: 0.25rem 0;
        margin-bottom: 0.5rem;
        box-shadow: none;
    }

    .publication-list li:hover,
    .book-list li:hover,
    .awards-list li:hover {
        box-shadow: none;
        border-color: transparent;
    }

    .book-list li::before {
        display: none;
    }

    .position-item {
        background-color: transparent;
        border-left: 2px solid var(--accent-500);
        padding: 0.25rem 0.75rem;
    }

    .pub-badge {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        border: 1px solid currentColor;
    }

    .footer {
        background: transparent;
        padding: 0.75rem;
        border-top: 1px solid #ddd;
    }

    a {
        text-decoration: none !important;
        color: inherit !important;
    }

    a[href]::after {
        content: none !important;
    }
}

/* ========================================
   Accessibility & Enhancements
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus States for Accessibility */
a:focus-visible {
    outline: 2px solid var(--accent-500);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Selection Colors */
::selection {
    background-color: var(--accent-100);
    color: var(--primary-900);
}

/* ========================================
   Scroll to Top Button
   ======================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem 1rem;
    background-color: var(--accent-600);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background-color: var(--accent-700);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.scroll-top-arrow {
    font-size: 1.25rem;
    line-height: 1;
}

.scroll-top-text {
    font-size: 0.7rem;
    font-weight: 600;
}

@media (max-width: 480px) {
    .scroll-top-btn {
        bottom: 1rem;
        right: 1rem;
        padding: 0.6rem 0.8rem;
    }

    .scroll-top-arrow {
        font-size: 1rem;
    }

    .scroll-top-text {
        font-size: 0.6rem;
    }
}
