/*
Theme Name: AI Team Theme
Description: Custom theme for AI Intelligence & Data Science Team
Author: Trae
Version: 1.0
*/

body {
    margin: 0;
    padding: 0;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background-color: #050a18;
    color: #fff;
    overflow-x: hidden;
}

/* Background Effect - Tech/Grid */
/* 引入本地 Google Fonts 中文字体 */
@font-face {
    font-family: 'Noto Sans SC';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/NotoSansSC-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'Noto Sans SC';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('assets/fonts/NotoSansSC-Medium.ttf') format('truetype');
}
@font-face {
    font-family: 'Noto Sans SC';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('assets/fonts/NotoSansSC-Bold.ttf') format('truetype');
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background-color: #050a18;
    color: #fff;
    overflow-x: hidden;
    /* 1. 添加科技感芯片背景图 (本地文件) */
    background-image: url('assets/images/bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    z-index: 1;
}

/* 2. 增强蓝色遮罩层，让文字更清晰，同时保留背景纹理 */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(5, 10, 24, 0.9) 0%, rgba(5, 10, 30, 0.7) 100%);
    z-index: -1;
    pointer-events: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

/* Header & Navigation (Generic) */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(5, 10, 24, 0.9); /* 内页导航背景色 */
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
    width: 100%; /* 确保占据全宽 */
    box-sizing: border-box; /* 包含 padding 在宽度内 */
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold; /* 加粗 */
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: #00ffff;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.6);
}

/* Page Banner Section */
.page-banner {
    padding: 60px 40px 60px; /* Adjusted padding as header is sticky */
    background: linear-gradient(to right, rgba(5, 10, 24, 0.95), rgba(5, 10, 24, 0.8));
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
    margin-bottom: 40px;
}

.banner-content {
    max-width: 1400px;
    margin: 0 auto;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 15px;
    letter-spacing: 1px;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.breadcrumbs {
    font-size: 14px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.breadcrumbs a {
    color: #00ffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumbs a:hover {
    text-decoration: underline;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.breadcrumbs .separator {
    margin: 0 10px;
    color: #444;
}

.breadcrumbs .current {
    color: #aaa;
}

/* Page Layout Container (Grid System) */
.page-layout-container {
    display: grid;
    grid-template-columns: 280px 1fr; /* Sidebar fixed width, content flexible */
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto 80px;
    padding: 0 40px;
    align-items: start; /* Align items to top */
}

/* Sidebar Styling */
.page-sidebar {
    position: sticky;
    top: 100px; /* Sticky when scrolling */
}

.sidebar-widget {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-widget h3 {
    font-size: 16px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    border-left: 3px solid #00ffff;
    padding-left: 15px;
}

.sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget ul li {
    margin-bottom: 15px;
}

.sidebar-widget ul li a {
    color: #aaa;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: block;
    padding: 5px 0;
}

.sidebar-widget ul li a:hover {
    color: #00ffff;
    padding-left: 5px;
}

.sidebar-widget p {
    color: #888;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Main Content Area */
.page-main-content {
    min-height: 50vh;
}

.entry-content {
    font-size: 18px;
    line-height: 1.8;
    color: #e0e0e0;
}

.entry-content p {
    margin-bottom: 25px;
}

.entry-content h2 {
    font-size: 32px;
    color: #fff;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.entry-content h3 {
    font-size: 24px;
    color: #fff;
    margin: 30px 0 15px;
}

/* Responsive Design for Inner Pages */
@media (max-width: 900px) {
    .page-layout-container {
        grid-template-columns: 1fr; /* Stack sidebar and content */
        gap: 40px;
    }
    
    .page-sidebar {
        position: static; /* Remove sticky on mobile */
        order: 2; /* Move sidebar to bottom on mobile */
    }
    
    .page-main-content {
        order: 1;
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: #888;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Hero Section (Homepage Only overrides) */
/* 专门针对首页 (.home 或 .front-page) 的样式覆盖 */
.home header {
    background: transparent;
    backdrop-filter: none;
    position: absolute;
    top: 0;
    left: 0; /* 确保从左边开始 */
    width: 100%; /* 确保占据全宽 */
    box-sizing: border-box; /* 包含 padding */
    border-bottom: none;
    padding: 40px 50px; /* 恢复原有的 padding */
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 180px 20px 60px; /* Top padding for fixed header */
    position: relative;
}

.hero h1 {
    font-size: 64px;
    font-weight: bold;
    margin: 0 0 20px;
    color: #ffffff; /* 纯白色 */
    /* 移除之前的渐变文字效果 */
    /* background: linear-gradient(to right, #fff, #00ffff); */
    /* -webkit-background-clip: text; */
    /* -webkit-text-fill-color: transparent; */
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.3); /* 添加轻微发光增加可读性 */
    letter-spacing: 4px; /* 增加字间距 */
}

.hero p {
    font-size: 20px;
    color: #aaa;
    margin-bottom: 80px;
    letter-spacing: 1px;
}

/* Features Section */
.features-section {
    text-align: center;
    padding: 0 20px 100px;
}

.section-title {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 40px;
    margin-bottom: 60px;
    font-size: 24px;
    color: #fff;
    border-top: 2px solid #00ffff;
    border-bottom: 2px solid #00ffff;
    position: relative;
}

/* Grid Layout */
.features-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    max-width: 1400px; /* 增加宽度，给三个卡片足够空间 */
    margin: 0 auto 80px;
    flex-wrap: nowrap; /* 强制不换行 (桌面端) */
}

/* 移动端适配 */
@media (max-width: 900px) {
    .features-grid {
        flex-wrap: wrap; /* 小屏幕允许换行 */
    }
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 12px;
    padding: 60px 20px;
    flex: 1; /* 自适应宽度，确保三等分 */
    min-width: 280px; /* 最小宽度 */
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.feature-card:hover {
    background: rgba(0, 255, 255, 0.05);
    border-color: #00ffff;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
    transform: translateY(-5px);
}

.feature-icon {
    margin-bottom: 30px;
    color: #00ffff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-icon {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.6));
    transition: all 0.4s ease;
}

/* 专门放大 server 图标 */
.tech-icon[src*="server.png"] {
    width: 135px;
    height: 130px;
}

.feature-card:hover .tech-icon {
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 1));
    transform: scale(1.1) translateY(-5px);
}

.feature-card h3 {
    font-size: 24px;
    font-weight: bold; /* 加粗 */
    margin: 15px 0 10px;
    color: #fff;
    letter-spacing: 1px;
}

/* Buttons */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.btn {
    padding: 15px 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    font-size: 18px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    font-size: 14px;
    color: #555;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* 
 * =========================================
 * TEAM / PEOPLE PAGE STYLES (CSAIL Inspired)
 * =========================================
 */

/* Banner */
.page-banner.team-banner {
    background: #fff; /* White background like CSAIL */
    border-bottom: 1px solid #ddd;
    padding: 60px 40px;
    margin-bottom: 0;
}

.team-banner .page-title {
    color: #000;
    text-shadow: none;
    font-size: 42px;
    margin-bottom: 10px;
}

.team-banner .breadcrumbs {
    color: #666;
}
.team-banner .breadcrumbs a {
    color: #000;
}
.team-banner .breadcrumbs a:hover {
    color: #d41b2c; /* CSAIL Red/Orange */
    text-decoration: none;
    text-shadow: none;
}

/* Layout Container */
.page-layout-container.team-layout {
    background: #f5f5f5; /* Light grey background for the content area */
    margin: 0;
    max-width: 100%;
    padding: 40px;
    grid-template-columns: 250px 1fr;
    min-height: 80vh;
}

/* Sidebar */
.team-sidebar .sidebar-widget h3 {
    color: #000;
    font-size: 14px;
    font-weight: 700;
    border-left: none;
    padding-left: 0;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.team-sidebar .filter-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.team-sidebar .filter-list li {
    margin-bottom: 8px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background 0.2s;
}

.team-sidebar .filter-list li:hover {
    background: #e0e0e0;
}

.team-sidebar .filter-list li.active {
    background: #dceefb; /* Light blue selection */
    font-weight: 600;
}

.team-sidebar .filter-list li a {
    color: #333;
    font-size: 15px;
    display: block;
}

.team-sidebar .filter-list li.active a {
    color: #000;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* Team Card */
.team-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px; /* Slight round */
    overflow: hidden;
    position: relative;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.team-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    transform: translateY(-2px);
    border-color: #ccc;
}

/* Top Orange Border */
.team-card-top-border {
    height: 4px;
    background-color: #f35d21; /* CSAIL Orange */
    width: 100%;
}

/* 1. Header Section (Role, Name, Title, Avatar) */
.team-card-header-section {
    padding: 20px 20px 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.team-info-left {
    flex: 1;
    padding-right: 15px;
}

.team-role-label {
    font-size: 11px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.team-name {
    font-size: 22px;
    margin: 0 0 5px;
    color: #000;
    font-weight: 800;
    line-height: 1.1;
}

.team-name a {
    color: #000;
    text-decoration: none;
}

.team-name a:hover {
    color: #f35d21;
}

.team-title {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.team-avatar-right {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
}

.avatar-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    background: #f5f5f5;
    border: 1px solid #eee;
}

/* 2. Contact Section */
.team-card-contact-section {
    padding: 10px 20px;
    background: #fff;
}

.contact-row {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    font-size: 13px;
    color: #555;
    background: #f8f9fa; /* Light grey background for each row */
    padding: 8px 12px;
    border-radius: 4px;
    border-left: 3px solid #003366; /* Deep blue accent */
}

.contact-row:last-child {
    margin-bottom: 0;
}

.contact-label {
    font-weight: 800;
    color: #333;
    width: 20px;
    flex-shrink: 0;
}

.contact-value {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact-value a {
    color: #0056b3;
    text-decoration: none;
}

.contact-value a:hover {
    text-decoration: underline;
}

/* 3. Interests Section */
.team-card-interests-section {
    padding: 15px 20px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
    margin-top: auto; /* Push to bottom */
}

.team-interests {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.team-interests strong {
    color: #444;
    font-weight: 700;
}

/* Card Footer */
.team-card-footer {
    margin-top: auto; /* Push to bottom */
    padding: 15px 20px;
    border-top: 1px solid #eee;
    background: #fcfcfc;
}

.team-interests {
    font-size: 12px;
    color: #777;
    margin: 0;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Pagination */
.pagination .page-numbers {
    color: #333;
    border: 1px solid #ddd;
    padding: 5px 10px;
    margin: 0 2px;
}

.pagination .page-numbers.current {
    background: #f35d21;
    color: #fff;
    border-color: #f35d21;
}


/* =========================================
   INNER PAGE LAYOUTS (CSAIL Style)
   ========================================= */
.page-container {
    padding-top: 0; /* Header is relative on inner pages */
    background: #f8f9fa;
    min-height: 100vh;
    color: #333; /* Dark text for light background pages */
}

/* Banner */
.page-banner {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 60px 40px;
    margin-bottom: 0;
}

.page-banner.research-banner {
    background: #f8f9fa; /* Light grey/white */
}

.page-title {
    color: #003366; /* Deep Blue */
    text-shadow: none;
    font-size: 42px;
    margin-bottom: 10px;
    font-weight: 700;
}

.breadcrumbs {
    color: #666;
    font-size: 14px;
}
.breadcrumbs a {
    color: #003366;
    font-weight: 600;
}

/* Layout Container */
.page-layout-container {
    background: #fff;       
    margin: 0 auto;
    max-width: 1400px;
    padding: 40px;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    min-height: 80vh;
}

/* Sidebar */
.page-sidebar .sidebar-widget h3 {
    color: #003366;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #003366;
}

.page-sidebar .filter-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.page-sidebar .filter-list li {
    margin-bottom: 5px;
}

.page-sidebar .filter-list li a {
    display: block;
    padding: 10px 15px;
    color: #555;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
    font-size: 15px;
    border-left: 3px solid transparent;
}

.page-sidebar .filter-list li:hover a {
    background: #f0f4f8;
    color: #003366;
    border-left-color: #003366;
}

.page-sidebar .filter-list li.active a {
    background: #003366;
    color: #fff;
    font-weight: 600;
    border-left-color: #003366;
}

/* Research Header Intro */
.research-header-intro {
    font-size: 18px;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.6;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

/* Research Grid */
.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

/* Research Card */
.research-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.research-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
    border-color: #003366;
}

/* Card Image */
.research-card-image {
    height: 200px;
    background: #f4f4f4;
    position: relative;
    overflow: hidden;
}

.research-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.research-card:hover .research-card-image img {
    transform: scale(1.05);
}

.research-category-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 51, 102, 0.9);
    color: #fff;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Card Content */
.research-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.research-title {
    font-size: 20px;
    margin: 0 0 10px;
    line-height: 1.4;
    font-weight: 700;
    color: #222;
}

.research-title a {
    color: #222;
    text-decoration: none;
    transition: color 0.2s;
}

.research-title a:hover {
    color: #003366;
}

.research-pi {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.research-pi strong {
    color: #333;
}

.research-excerpt {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.read-more-link {
    display: inline-block;
    color: #003366;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.read-more-link:hover {
    text-decoration: underline;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
    .page-layout-container {
        grid-template-columns: 1fr;
    }
    
    .page-sidebar {
        margin-bottom: 30px;
    }
    
    .hero h1 {
        font-size: 40px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   PROJECT ARCHIVE STYLES
   ========================================= */

/* Project List Container */
.project-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Project Item Card */
.project-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    display: flex;
    gap: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-item:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transform: translateY(-3px);
    border-color: #003366;
}

/* Project Year Badge (Left Side) */
.project-meta-badge {
    flex-shrink: 0;
    width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 5px;
    border-right: 1px solid #eee;
    padding-right: 20px;
}

.project-year {
    font-size: 24px;
    font-weight: 700;
    color: #003366;
    line-height: 1;
}

/* Content Wrapper */
.project-content-wrapper {
    flex-grow: 1;
}

/* Header & Tags */
.project-header {
    margin-bottom: 15px;
}

/* =========================================
   FIX: Frontend Content Visibility on Light Backgrounds
   ========================================= */
.page-layout-container .entry-content,
.page-layout-container .entry-content p,
.page-layout-container .entry-content li,
.page-layout-container .entry-content span {
    color: #333 !important;
}

.page-layout-container .entry-content h1,
.page-layout-container .entry-content h2,
.page-layout-container .entry-content h3,
.page-layout-container .entry-content h4,
.page-layout-container .entry-content h5,
.page-layout-container .entry-content h6 {
    color: #111 !important;
    border-bottom-color: #eee !important;
}

.page-layout-container .entry-content a {
    color: #0056b3;
}

.page-layout-container .entry-content a:hover {
    color: #003366;
    text-decoration: underline;
}


.project-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.project-tag, .project-status {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
}

.project-tag {
    background: #e3f2fd;
    color: #1565c0;
}

.project-status {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
}

/* Status specific colors */
.status-published { background: #e8f5e9; color: #2e7d32; border-color: #c8e6c9; }
.status-ongoing { background: #fff3e0; color: #ef6c00; border-color: #ffe0b2; }
.status-completed { background: #e0f7fa; color: #006064; border-color: #b2ebf2; }
.status-granted { background: #f3e5f5; color: #7b1fa2; border-color: #e1bee7; }
.status-awarded { background: #fff8e1; color: #ff8f00; border-color: #ffecb3; }

/* Title */
.project-title {
    font-size: 22px;
    margin: 0;
    font-weight: 700;
    line-height: 1.3;
}

.project-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.project-title a:hover {
    color: #003366;
}

.external-link-icon {
    font-size: 16px;
    color: #999;
    margin-left: 5px;
    vertical-align: middle;
}

/* Excerpt */
.project-excerpt {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 15px;
}

/* Actions */
.project-actions {
    display: flex;
    gap: 15px;
}

.project-btn {
    display: inline-block;
    padding: 8px 20px;
    background: transparent;
    border: 1px solid #003366;
    color: #003366;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.project-btn:hover {
    background: #003366;
    color: #fff;
}

/* Responsive Project Item */
@media (max-width: 768px) {
    .project-item {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    
    .project-meta-badge {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-right: 0;
        padding-bottom: 10px;
        align-items: flex-start;
        flex-direction: row;
        gap: 10px;
    }
    
    .project-year {
        font-size: 18px;
    }
}

/* =========================================
   CONTACT & ADMISSION PAGES
   ========================================= */

/* Contact Page */
.contact-info-section,
.contact-map-section,
.contact-form-section {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    margin-bottom: 30px;
}

.contact-info-section h2,
.contact-map-section h2,
.contact-form-section h2 {
    color: #003366;
    margin-top: 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    font-size: 22px;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.contact-item {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #003366;
}

.contact-item strong {
    display: block;
    color: #333;
    margin-bottom: 10px;
    font-size: 16px;
}

.contact-item a {
    color: #003366;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Admission Page */
.admission-section {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.admission-intro .lead {
    font-size: 18px;
    color: #333;
    line-height: 1.6;
}

.admission-requirements h2,
.admission-process h2 {
    color: #003366;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.admission-requirements ul,
.admission-process ol {
    padding-left: 20px;
}

.admission-requirements li,
.admission-process li {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
}

.admission-requirements li strong,
.admission-process li strong {
    color: #333;
}

.internship-opportunities {
    margin-top: 30px;
    padding: 25px;
    background: #f0f7ff;
    border-left: 5px solid #003366;
    border-radius: 4px;
}

.internship-opportunities h3 {
    margin-top: 0;
    color: #003366;
}
