/* ===== 北京科技大学校史档案 ===== */
:root {
    --bg-dark: #0d1117;
    --bg-card: #161b22;
    --bg-hover: #1c2333;
    --text: #e6edf3;
    --text-dim: #8b949e;
    --gold: #d4a853;
    --gold-light: #e6c87a;
    --gold-dark: #9a7830;
    --accent: #1a3a5c;
    --border: #30363d;
    --radius: 10px;
    --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

/* ===== 导航栏 ===== */
.navbar {
    background: rgba(13, 17, 23, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0 64px;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}
.nav-logo { font-size: 22px; }
.nav-logo span { font-size: 15px; }
.nav-links a { font-size: 17px; }
.nav-search input { font-size: 17px; padding: 12px 24px; width: 300px; }
.nav-search input:focus { width: 380px; }

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 1px;
}
.nav-logo span { color: var(--text-dim); font-weight: 400; font-size: 13px; }

.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
    color: var(--text-dim);
    font-size: 14px;
    transition: color 0.2s;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}
/* 导航栏搜索 */
.nav-search input {
    padding: 7px 14px;
    font-size: 13px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--bg-dark);
    color: var(--text);
    outline: none;
    width: 180px;
    transition: border-color 0.3s;
}
.nav-search input:focus { border-color: var(--gold); width: 240px; }
.nav-search input::placeholder { color: var(--text-dim); }

.nav-links a:hover,
.nav-links a.active { color: var(--gold); border-bottom-color: var(--gold); }

/* ===== Hero Split ===== */
.hero-split {
    padding: 60px 64px 50px;
    max-width: 1300px;
    margin: 0 auto;
    border-bottom: 1px solid var(--border);
    text-align: center;
}
.hero-split h1 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text);
    margin-bottom: 8px;
    text-align: center;
    line-height: 1.2;
}
.hero-split::before { display: none; }
.hero-left { text-align: center; }
.hero-eyebrow {
    font-size: 12px;
    color: var(--text-dim);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.hero-split .subtitle {
    font-size: 14px;
    color: var(--text-dim);
    font-weight: 300;
    margin-bottom: 12px;
    text-align: center;
}
.hero-split .search-box { margin: 0 auto; max-width: 460px; }
.hero-split .search-box input { background: var(--bg-dark); }
.hero-split .era-nav { justify-content: center; margin-top: 24px; }

.hero-right { flex-shrink: 0; width: 340px; }
.hero-book-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}
.hero-book-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.5); }
.hero-book-card img { width: 100%; display: block; }
.hero-book-label {
    text-align: center;
    padding: 14px 0 8px;
    font-size: 14px;
    color: var(--gold);
    letter-spacing: 1px;
}
.hero-book-title {
    padding: 0 14px 16px;
    text-align: center;
    font-size: 15px;
    color: var(--text);
    font-weight: 600;
    line-height: 1.4;
}

/* ===== Hero ===== */
.hero {
    background: linear-gradient(170deg, #080c12 0%, #0d1525 30%, #0f1a1f 60%, #0d1117 100%);
    text-align: center;
    padding: 120px 24px 90px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 120px;
    background: linear-gradient(0deg, var(--bg-dark), transparent);
    pointer-events: none;
}
.hero h1 {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: 6px;
    color: var(--gold);
    margin-bottom: 14px;
}
.hero .subtitle {
    font-size: 18px;
    color: var(--text-dim);
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 42px;
}

/* Search */
.search-box {
    max-width: 580px;
    margin: 0 auto;
    display: flex;
    position: relative;
}
.search-box input {
    flex: 1;
    padding: 15px 24px;
    font-size: 15px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: var(--bg-card);
    color: var(--text);
    outline: none;
    transition: border-color 0.3s;
}
.search-box input:focus { border-color: var(--gold); }
.search-box input::placeholder { color: var(--text-dim); }
.search-box button {
    position: absolute;
    right: 4px;
    top: 4px;
    padding: 11px 28px;
    background: var(--gold);
    color: var(--bg-dark);
    border: none;
    border-radius: 26px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.search-box button:hover { background: var(--gold-light); }

/* Era nav */
.era-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 40px;
}
.era-btn {
    padding: 8px 22px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    color: var(--text-dim);
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}
.era-btn:hover,
.era-btn.active { border-color: var(--gold); color: var(--gold); background: rgba(212,168,83,0.08); }

/* ===== Stats Row ===== */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 800px;
    margin: -40px auto 60px;
    position: relative;
    z-index: 2;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.stats-row .stat-item {
    text-align: center;
    padding: 28px 20px;
    border-right: 1px solid var(--border);
}
.stats-row .stat-item:last-child { border-right: none; }
.stat-item .stat-num {
    font-size: 32px;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 4px;
}
.stat-item .stat-label {
    font-size: 12px;
    color: var(--text-dim);
    letter-spacing: 1px;
}

/* ===== Container ===== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ===== Section Header ===== */
.section-header {
    padding: 0 0 32px;
    text-align: center;
}
.section-header h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 2px;
}
.section-header p {
    font-size: 14px;
    color: var(--text-dim);
    margin-top: 8px;
}
.section-header .divider {
    width: 40px;
    height: 3px;
    background: var(--gold);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ===== Featured Grid ===== */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-bottom: 60px;
}

/* ===== Card ===== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    cursor: pointer;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
}
.card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.card .card-era {
    font-size: 11px;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.card .card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.4;
}
.card .card-summary {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card .card-year {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 28px;
    font-weight: 800;
    color: rgba(212,168,83,0.08);
    letter-spacing: 2px;
}
.card .card-tag {
    display: inline-block;
    font-size: 11px;
    padding: 3px 10px;
    background: rgba(212,168,83,0.1);
    color: var(--gold);
    border-radius: 4px;
    margin-right: 6px;
    margin-top: 12px;
    letter-spacing: 0.5px;
}


/* Home Timeline */
.home-timeline-era { margin-bottom: 24px; padding: 0 16px; }
.home-timeline-era h3 { font-size: 16px; color: var(--gold); padding: 6px 0 8px; margin-bottom: 8px; border-bottom: 1px solid var(--border); letter-spacing: 1px; }
.home-timeline-item { padding: 8px 0; font-size: 14px; color: var(--text-dim); cursor: pointer; transition: all 0.2s; border-left: 2px solid transparent; padding-left: 12px; }
.home-timeline-item:hover { color: var(--text); border-left-color: var(--gold); }
.ht-year { display: inline-block; font-weight: 700; color: var(--gold); font-size: 13px; min-width: 48px; margin-right: 8px; }
/* ===== Timeline page ===== */
.timeline-container { padding: 20px 0 80px; }
.timeline-era { margin-bottom: 40px; }
.timeline-era h3 {
    font-size: 22px;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 20px;
    padding-left: 16px;
    border-left: 4px solid var(--gold);
}
.timeline-list {
    position: relative;
    padding-left: 32px;
    border-left: 1px solid var(--border);
    margin-left: 16px;
}
.timeline-item {
    position: relative;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.2s;
}
.timeline-item:hover { border-color: var(--gold); }
.timeline-item::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 28px;
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
    border: 2px solid var(--bg-dark);
}
.timeline-item .timeline-year {
    font-size: 13px;
    color: var(--gold);
    letter-spacing: 2px;
    font-weight: 600;
}
.timeline-item .timeline-title {
    font-size: 17px;
    font-weight: 700;
    margin: 4px 0 6px;
}
.timeline-item .timeline-summary {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.7;
}

/* ===== Search page ===== */
.search-page { padding-bottom: 80px; }
.search-filter {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 20px 0;
    align-items: center;
}
.search-filter label {
    font-size: 13px;
    color: var(--text-dim);
    letter-spacing: 1px;
}
.search-filter select {
    padding: 8px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 6px;
    font-size: 13px;
    outline: none;
    cursor: pointer;
}
.search-filter select:focus { border-color: var(--gold); }
.search-count { font-size: 13px; color: var(--text-dim); margin-bottom: 20px; }
.search-results { display: flex; flex-direction: column; gap: 14px; }

/* ===== Detail page ===== */
.detail-page { padding-bottom: 80px; }
.detail-header { padding: 48px 0 28px; border-bottom: 1px solid var(--border); margin-bottom: 36px; }
.detail-breadcrumb { font-size: 13px; color: var(--text-dim); margin-bottom: 20px; letter-spacing: 1px; }
.detail-breadcrumb a { color: var(--text-dim); }
.detail-breadcrumb a:hover { color: var(--gold); }
.detail-header h1 { font-size: 32px; font-weight: 800; color: var(--gold); line-height: 1.3; }
.detail-meta {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-dim);
    flex-wrap: wrap;
}
.detail-meta span {
    padding: 4px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
}
.detail-content { max-width: 760px; margin: 0 auto; }
.detail-content p { margin-bottom: 16px; font-size: 15px; line-height: 2; }
.detail-content .detail-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
    margin: 24px 0;
}
.detail-source {
    margin-top: 40px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
    color: var(--text-dim);
}
.related-section { margin-top: 40px; }
.related-section h3 {
    font-size: 18px;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
}

/* ===== Footer ===== */
.footer {
    text-align: center;
    padding: 48px 24px;
    color: #555;
    font-size: 12px;
    letter-spacing: 1px;
    border-top: 1px solid var(--border);
}

/* ===== 校史书架 ===== */
.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    padding-bottom: 60px;
}
.book-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.25s;
}
.book-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.book-cover-wrap {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--bg-hover);
    display: flex;
    align-items: center;
    justify-content: center;
}
.book-cover-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.book-info { padding: 14px 16px; }
.book-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}
.book-author { font-size: 11px; color: var(--gold); }
.book-summary {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Book modal */
.book-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.75);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.book-modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}
.book-modal-close {
    position: absolute;
    top: 14px; right: 14px;
    background: var(--bg-hover);
    border: 1px solid var(--border);
    color: var(--text-dim);
    width: 32px; height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.book-modal-cover {
    width: 100%;
    max-height: 350px;
    overflow: hidden;
}
.book-modal-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.book-modal-body { padding: 28px; }
.book-modal-body h2 { font-size: 22px; color: var(--text); margin-bottom: 6px; }
.book-modal-meta { font-size: 13px; color: var(--gold); margin-bottom: 14px; }
.book-modal-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.book-tag {
    font-size: 11px;
    padding: 4px 12px;
    background: rgba(212,168,83,0.1);
    color: var(--gold);
    border-radius: 14px;
}
.book-modal-desc {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.9;
    margin-bottom: 24px;
}
.book-modal-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-online, .btn-download {
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}
.btn-online { background: var(--gold); color: var(--bg-dark); border: none; }
.btn-online:hover { background: var(--gold-light); color: var(--bg-dark); transform: scale(1.03); }
.btn-download { background: rgba(212,168,83,0.08); color: var(--gold); border: 2px solid var(--gold); }
.btn-download:hover { background: rgba(212,168,83,0.2); transform: scale(1.03); }

@media (max-width: 768px) {
    .books-grid { grid-template-columns: 1fr; }
    .book-modal { margin: 12px; max-height: 85vh; }
    .book-modal-cover { max-height: 220px; }
    .book-modal-body h2 { font-size: 18px; }
}

/* ===== Empty state ===== */
.empty-state {
    text-align: center;
    padding: 80px 24px;
    color: var(--text-dim);
}
.empty-state h3 { font-size: 20px; margin-bottom: 8px; }
.empty-state p { font-size: 14px; }

/* ===== 汉堡菜单按钮 ===== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dim);
    transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hamburger { display: flex; z-index: 101; }

    .navbar { padding: 0 20px; }

    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(13, 17, 23, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        gap: 0;
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
        transform: translateY(-120%);
        transition: transform 0.3s;
        z-index: 99;
    }
    .nav-links.open { transform: translateY(0); }
    .nav-links a {
        display: block;
        padding: 12px 24px;
        border-bottom: none;
        font-size: 15px;
    }

    .hero { padding: 80px 20px 60px; }
    .hero-split { padding: 40px 20px 40px; }
    .hero-split h1 { font-size: 26px; }
    .hero h1 { font-size: 28px; letter-spacing: 3px; }
    .hero .subtitle { font-size: 14px; letter-spacing: 1px; }

    .search-box { max-width: 100%; }
    .search-box input { font-size: 13px; padding: 12px 16px; }
    .search-box button { padding: 8px 18px; font-size: 12px; }

    .era-nav { gap: 8px; }
    .era-btn { padding: 6px 16px; font-size: 12px; }

    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .stat-item { padding: 20px 12px; }
    .stat-item .stat-num { font-size: 24px; }

    .featured-grid,
    .related-grid { grid-template-columns: 1fr; }

    .section-header h2 { font-size: 22px; }

    .detail-header h1 { font-size: 22px; }

    .timeline-container { padding: 20px 12px; }
    .timeline-list { padding-left: 20px; margin-left: 8px; }
    .timeline-item { padding: 14px 16px; }
    .timeline-item::before { left: -28px; top: 22px; width: 8px; height: 8px; }

    .search-filter { gap: 8px; }
    .search-filter select { font-size: 12px; padding: 6px 10px; }

    .card .card-year { font-size: 22px; top: 12px; right: 14px; }
    .card .card-title { font-size: 15px; }

    /* Chat page */
    .chat-container { margin-top: 60px; padding: 0 12px; }
    .chat-box { height: 70vh; }
    .msg { max-width: 90%; font-size: 13px; }
    .quick-qs button { font-size: 11px; padding: 5px 10px; }
}

/* ===== 口述历史 ===== */
.professors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-bottom: 60px;
}
.professor-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.25s;
    text-align: center;
}
.professor-card:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.prof-card-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--bg-hover);
}
.prof-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.professor-card:hover .prof-card-photo img { transform: scale(1.05); }
.prof-card-info { padding: 16px 14px; }
.prof-card-info .prof-card-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}
.prof-card-info .prof-card-title {
    font-size: 12px;
    color: var(--gold);
    letter-spacing: 1px;
    margin-bottom: 6px;
}
.prof-card-info .prof-card-summary {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Professor detail page */
.professor-detail-page { padding: 40px 0 80px; }
.prof-hero {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 48px;
}
.prof-hero-photo {
    flex-shrink: 0;
    width: 360px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.prof-hero-photo img {
    width: 100%;
    display: block;
}
.prof-hero-info { flex: 1; }
.prof-hero-info h1 {
    font-size: 30px;
    color: var(--text);
    margin-bottom: 4px;
    line-height: 1.3;
}
.prof-hero-title {
    font-size: 16px;
    color: var(--gold);
    margin-bottom: 4px;
    letter-spacing: 1px;
}
.prof-hero-years {
    font-size: 14px;
    color: var(--text-dim);
    margin-bottom: 12px;
}
.prof-hero-summary {
    font-size: 15px;
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 8px;
}
.prof-hero-date {
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 16px;
}
.prof-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.prof-tag {
    padding: 6px 16px;
    background: rgba(212,168,83,0.1);
    color: var(--gold);
    border-radius: 16px;
    font-size: 12px;
}
.prof-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Professor content */
.prof-content-section { margin-top: 48px; }
.prof-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 40px;
}
.prof-content p {
    font-size: 15px;
    color: var(--text-dim);
    line-height: 2.1;
    margin-bottom: 16px;
    text-indent: 2em;
}
.prof-section-title {
    font-size: 18px;
    color: var(--gold);
    margin: 28px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .professors-grid { grid-template-columns: repeat(2, 1fr); }
    .prof-hero { flex-direction: column; align-items: center; }
    .prof-hero-photo { width: 80%; max-width: 360px; }
    .prof-hero-info h1 { font-size: 24px; text-align: center; }
    .prof-hero-title, .prof-hero-years, .prof-hero-date { text-align: center; }
    .prof-hero-tags { justify-content: center; }
    .prof-hero-actions { justify-content: center; }
    .prof-content { padding: 24px 20px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 24px; letter-spacing: 2px; }
    .hero .subtitle { font-size: 12px; }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .stat-item .stat-num { font-size: 20px; }
    .stat-item .stat-label { font-size: 11px; }
    .professors-grid { grid-template-columns: 1fr; }
    .prof-hero-photo { width: 100%; }
    .prof-hero-info h1 { font-size: 22px; }
}
