/* 
   WDSL (풍수해시스템연구실) 프리미엄 디자인 시스템 및 스타일시트
   기본 테마: Deep Blue & Neon Teal (물과 자연재해 방재를 상징)
*/

/* 1. 디자인 시스템 토큰 정의 (CSS Variables) */
:root {
    /* 폰트 패밀리 */
    --font-heading: 'Outfit', 'Noto Sans KR', sans-serif;
    --font-body: 'Inter', 'Noto Sans KR', sans-serif;

    /* HSL 컬러 팔레트 - 라이트 프리미엄 테마 */
    --bg-dark: hsl(210, 30%, 98%);
    --bg-dark-alt: hsl(210, 30%, 94%);
    --bg-glass: rgba(255, 255, 255, 0.75);
    --border-glass: rgba(0, 0, 0, 0.06);

    /* 브랜드 강조 컬러 (밝은 배경에 맞춰 가독성 개선) */
    --primary: hsl(195, 90%, 35%);
    /* Deep Teal (청록색) */
    --primary-rgb: 9, 137, 160;
    --secondary: hsl(215, 76%, 33%);
    /* Royal Blue (파란색) */
    --accent: hsl(345, 80%, 48%);
    /* Deep Coral (방재/경고 산호색) */

    /* 텍스트 컬러 */
    --text-primary: hsl(222, 47%, 12%);
    /* 짙은 남색 텍스트 */
    --text-secondary: hsl(220, 20%, 35%);
    /* 본문용 텍스트 */
    --text-muted: hsl(220, 15%, 55%);
    /* 설명/비활성 텍스트 */

    /* 애니메이션 트랜지션 */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);

    /* 레이아웃 규격 */
    --header-height: 120px;
    --max-width: 1200px;
}

/* 2. 전역 스타일 초기화 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
}

ul {
    list-style: none;
}

/* 3. 공통 레이아웃 & 유틸리티 클래스 */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.section-alt {
    background-color: var(--bg-dark-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* 글래스모피즘 기본 스타일 */
.glass {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    transition: var(--transition-normal);
}

.glass:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(var(--primary-rgb), 0.05);
    transform: translateY(-5px);
}

/* 그라디언트 텍스트 */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 프리미엄 버튼 스타일 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-normal);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(9, 137, 160, 0.25);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(0, 229, 255, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

/* 4. 네비게이션 헤더 (Header & Nav) */
#global-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 100;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition-normal);
}

/* 스크롤 시 축소 및 강화 효과 */
#global-header.scrolled {
    height: 100px;
    background: rgba(255, 255, 255, 0.9);
}

.header-container {
    height: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#brand-logo {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-img {
    height: 100px;
    width: auto;
    mix-blend-mode: multiply;
    /* 로고 배경의 흰색 제거 */
    transition: var(--transition-normal);
}

#global-header.scrolled .logo-img {
    height: 80px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: var(--transition-normal);
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    line-height: 1.0;
    transition: var(--transition-normal);
}

.logo-eng-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    line-height: 1.1;
    margin: 2px 0;
    transition: var(--transition-normal);
}

.logo-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    letter-spacing: -0.01em;
    line-height: 1.1;
    transition: var(--transition-normal);
}

/* 스크롤 시 헤더 로고 텍스트 크기 미세 조정 */
#global-header.scrolled .logo-title {
    font-size: 2rem;
}

#global-header.scrolled .logo-eng-title {
    font-size: 1.25rem;
    margin: 1px 0;
}

#global-header.scrolled .logo-subtitle {
    font-size: 1rem;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-item {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition-normal);
}

.nav-item:hover,
.nav-item.active {
    color: var(--text-primary);
}

.nav-item:hover::after,
.nav-item.active::after {
    width: 100%;
}

/* 드롭다운 컨테이너 및 서브메뉴 */
.nav-item-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 180px;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 8px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    z-index: 1000;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-subitem {
    display: block;
    padding: 10px 18px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
    transition: var(--transition-fast);
}

.dropdown-subitem:hover {
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.08);
}

/* 모바일 메뉴 토글 */
#mobile-menu-toggle {
    display: none;
    color: var(--text-primary);
    font-size: 1.8rem;
}

/* 5. 모바일 드로어 (Drawer Menu) */
.drawer {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: var(--bg-dark);
    z-index: 200;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    transition: var(--transition-normal);
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 40px;
}

#mobile-menu-close {
    font-size: 1.8rem;
    color: var(--text-primary);
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-nav-item {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.mobile-nav-item:hover {
    color: var(--primary);
    padding-left: 8px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
}

.overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* 6. 히어로 섹션 스타일 (Hero Section) */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.hero-university {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: hsl(150, 83%, 23%);
    /* 서경대학교 상징 초록색 계열 */
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    padding: 0 24px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-content p {
    font-size: 1.7rem;
    color: var(--text-secondary);
    max-width: 100%;
    margin: 0 auto 40px auto;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

#btn-learn-more {
    padding: 16px 36px;
    font-size: 1.15rem;
    gap: 10px;
}


/* 7. 소개 섹션 스타일 (About Section) */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 20px;
}

.about-card {
    padding: 48px;
}

.card-icon {
    color: var(--primary);
    margin-bottom: 24px;
}

.card-icon svg {
    width: 40px;
    height: 40px;
}

.about-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.about-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

.research-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.research-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
}

.list-bullet {
    color: var(--primary);
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

/* 8. 구성원 섹션 스타일 (Members Section) */
.group-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 60px 0 24px 0;
    position: relative;
    padding-left: 16px;
    scroll-margin-top: 100px;
    /* 헤더에 가려지지 않도록 오프셋 제공 */
}

#professor-title {
    margin-top: 20px;
    /* 교수 섹션은 Members 섹션 타이틀 바로 아래이므로 위쪽 마진을 좁게 조절 */
}

.group-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.member-group {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* 교수 카드 스타일 (가로 배치 레이아웃) */
.professor-card {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 40px;
    padding: 40px;
}

.professor-image {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--border-glass);
}

.professor-info h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.professor-info .eng-name {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.professor-info .position {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.professor-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.meta-item svg {
    color: var(--primary);
    width: 18px;
    height: 18px;
}

.professor-research h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 30px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* 연구원 카드 그리드 */
.member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.member-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.member-avatar {
    width: 150px;
    aspect-ratio: 3/4; /* 교수 프로필 사진 비율과 일치 */
    border-radius: 12px; /* 교수 프로필 둥글기 12px과 일치 */
    object-fit: cover;
    margin-bottom: 20px;
    border: 1px solid var(--border-glass);
    transition: var(--transition-normal);
}

.member-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
}

.member-card .eng-name {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.member-card .position {
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 500;
}

.member-card .company {
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.member-card .email {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.member-card .interests {
    border-top: 1px solid var(--border-glass);
    padding-top: 16px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

/* 9. 연구 실적 섹션 스타일 (Publications Section) */
.pub-filter {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 14px 32px;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-glass);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.filter-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: var(--text-secondary);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
    border-color: transparent;
    font-weight: 600;
}

.pub-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pub-item {
    padding: 24px 32px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.pub-badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.pub-badge.journal {
    background: rgba(0, 229, 255, 0.15);
    color: var(--primary);
    border: 1px solid rgba(0, 229, 255, 0.3);
}

.pub-badge.conference {
    background: rgba(100, 150, 255, 0.15);
    color: var(--secondary);
    border: 1px solid rgba(100, 150, 255, 0.3);
}

.pub-badge.book {
    background: rgba(255, 100, 150, 0.15);
    color: var(--accent);
    border: 1px solid rgba(255, 100, 150, 0.3);
}

.pub-details {
    flex-grow: 1;
}

.pub-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.4;
}

.pub-authors {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.pub-journal {
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pub-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
}

.pub-link:hover {
    text-decoration: underline;
}

/* 10. 소식 및 공지사항 스타일 (News Section) */
.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.news-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.news-category {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.news-category.notice {
    background: rgba(255, 100, 150, 0.15);
    color: var(--accent);
    border: 1px solid rgba(255, 100, 150, 0.3);
}

.news-category.achievement {
    background: rgba(0, 229, 255, 0.15);
    color: var(--primary);
    border: 1px solid rgba(0, 229, 255, 0.3);
}

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

.news-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

/* 11. 하단 푸터 스타일 (Footer) */
#global-footer {
    background-color: var(--bg-dark-alt);
    border-top: 1px solid var(--border-glass);
    padding: 60px 0 20px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 50px;
    flex-wrap: wrap;
    width: 100%;
}

.footer-brand-logo {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-logo-wdsl {
    height: 100px;
    /* 로고 크기 추가 확대 */
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    /* 로고 배경의 흰색 제거 */
}


.footer-logo-sku {
    height: 140px;
    /* SKU 로고 크기 추가 확대 */
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    /* 로고 배경의 흰색 제거 */
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
}

.footer-info p {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-info svg {
    color: var(--primary);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* 로딩 스피너 */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    border-top-color: var(--primary);
    margin: 40px auto;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 11-2. 졸업생 스타일 (Alumni Section) */
.alumni-list-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.alumni-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    border-left: 3px solid var(--primary);
}

.alumni-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.alumni-card .eng-name {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.alumni-card .position {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.alumni-card .company {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.alumni-card .email {
    font-size: 0.8rem;
    color: var(--text-muted);
    word-break: break-all;
}

/* 11-3. 주요 운영실적 스타일 (Projects Section) */
.project-table-container {
    width: 100%;
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--border-glass);
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin-top: 20px;
}

.project-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    min-width: 850px;
}

.project-table th {
    background: rgba(0, 0, 0, 0.02);
    padding: 16px 20px;
    font-weight: 600;
    color: var(--primary);
    border-bottom: 2px solid var(--border-glass);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
}

.project-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-glass);
    color: var(--text-secondary);
    line-height: 1.6;
    vertical-align: middle;
    text-align: center;
}

.project-table tr:last-child td {
    border-bottom: none;
}

.project-table tr:hover td {
    background: rgba(0, 0, 0, 0.015);
    color: var(--text-primary);
}

.project-table td.project-title {
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
}

.project-role-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
}

.project-role-badge.lead {
    background: rgba(255, 100, 150, 0.15);
    color: var(--accent);
    border: 1px solid rgba(255, 100, 150, 0.3);
}

.project-role-badge.member {
    background: rgba(100, 150, 255, 0.15);
    color: var(--secondary);
    border: 1px solid rgba(100, 150, 255, 0.3);
}

/* 12. 미디어 쿼리 (반응형 대응) */

/* 태블릿 해상도 대응 (최대 992px) */
@media (max-width: 992px) {
    .section-padding {
        padding: 80px 0;
    }

    #desktop-nav {
        display: none;
    }

    #mobile-menu-toggle {
        display: block;
    }

    /* 태블릿 로고 텍스트 및 이미지 축소 (겹침 및 오버플로우 방지) */
    .logo-img {
        height: 70px;
    }
    #global-header.scrolled .logo-img {
        height: 60px;
    }

    .logo-title {
        font-size: 1.8rem;
    }
    #global-header.scrolled .logo-title {
        font-size: 1.6rem;
    }

    .logo-eng-title {
        font-size: 1.1rem;
        margin: 1px 0;
    }
    #global-header.scrolled .logo-eng-title {
        font-size: 0.95rem;
    }

    .logo-subtitle {
        font-size: 0.95rem;
    }
    #global-header.scrolled .logo-subtitle {
        font-size: 0.85rem;
    }

    #brand-logo {
        gap: 12px;
    }

    .hero-university {
        font-size: 1.8rem;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-content p {
        font-size: 1.3rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .professor-card {
        grid-template-columns: 180px 1fr;
        gap: 30px;
        padding: 30px;
    }

    .filter-btn {
        padding: 12px 24px;
        font-size: 1rem;
        border-radius: 40px;
    }
    .pub-filter {
        gap: 12px;
    }

    .footer-brand {
        gap: 24px;
    }

    .footer-logo-wdsl {
        height: 75px;
    }

    .footer-logo-sku {
        height: 95px;
    }
}

/* 모바일 모드 대응 (최대 768px) */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    /* 모바일 로고 텍스트 및 이미지 더 축소 (가로 스크롤 100% 방지) */
    .logo-img {
        height: 50px;
    }
    #global-header.scrolled .logo-img {
        height: 45px;
    }

    .logo-title {
        font-size: 1.3rem;
    }
    #global-header.scrolled .logo-title {
        font-size: 1.2rem;
    }

    .logo-eng-title {
        font-size: 0.75rem;
        margin: 0;
    }
    #global-header.scrolled .logo-eng-title {
        font-size: 0.7rem;
    }

    .logo-subtitle {
        font-size: 0.7rem;
        display: block;
    }
    #global-header.scrolled .logo-subtitle {
        font-size: 0.65rem;
    }

    #brand-logo {
        gap: 8px;
    }

    #desktop-nav {
        display: none;
    }

    #mobile-menu-toggle {
        display: block;
    }

    .hero-university {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }

    .hero-content h1 {
        font-size: 2.3rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    #btn-learn-more {
        padding: 12px 28px;
        font-size: 1rem;
    }

    .pub-filter {
        gap: 8px;
        flex-wrap: wrap;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
        border-radius: 30px;
    }

    .professor-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 24px;
    }

    .professor-image {
        max-width: 200px;
        margin: 0 auto;
    }

    .professor-meta {
        align-items: center;
    }

    .tag-container {
        justify-content: center;
    }

    .pub-item {
        flex-direction: column;
        gap: 12px;
        padding: 20px;
    }

    .pub-badge {
        align-self: flex-start;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}