﻿.inner-layout {
    padding: var(--sp-4xl) 0;
}

.inner-layout .container {
    display: flex;
    gap: 40px;
}

.content-main {
    flex: 1;
    min-width: 0;
    background: var(--c-white);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--c-border-light);
}

.about-img-placeholder {
    width: 100%;
    height: 380px;
    background: var(--g-academic-img);
    margin-bottom: var(--sp-2xl);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.about-img-placeholder::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(transparent, rgba(0,0,0,0.15));
}

.content-main h3 {
    font-size: 24px;
    color: var(--c-primary);
    margin-bottom: var(--sp-2xl);
    padding-bottom: 16px;
    border-bottom: 2px solid var(--c-primary);
    position: relative;
    letter-spacing: 3px;
    font-weight: 700;
}

.content-main h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 70px;
    height: 2px;
    background: #185A56;
}

.content-main p {
    font-size: 15px;
    line-height: 2.1;
    color: var(--c-text-secondary);
    margin-bottom: var(--sp-lg);
    text-indent: 2em;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-lg);
    margin: var(--sp-3xl) 0;
}

.stat-item {
    text-align: center;
    padding: var(--sp-xl) var(--sp-md);
    background: var(--c-bg-cream);
    border: 1px solid var(--c-border-light);
    transition: all var(--duration) var(--ease);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--g-gold);
    opacity: 0;
    transition: opacity var(--duration) var(--ease);
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(24,90,86,0.2);
}

.stat-item:hover::before { opacity: 1; }

.stat-item .num {
    font-size: 42px;
    font-weight: 800;
    color: var(--c-primary);
    line-height: 1.2;
    letter-spacing: -1px;
}

.stat-item .label {
    font-size: 14px;
    color: var(--c-text-tertiary);
    margin-top: var(--sp-sm);
    letter-spacing: 1px;
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--sp-2xl);
    padding-bottom: 16px;
    border-bottom: 1px solid var(--c-border);
    position: relative;
}

.list-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 70px;
    height: 3px;
    background: var(--g-gold);
}

.list-header h2 {
    font-size: 24px;
    color: var(--c-primary);
    font-weight: 700;
    letter-spacing: 3px;
    padding-left: 20px;
    position: relative;
}

.list-header h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 26px;
    background: var(--g-gold);
}

.filter-bar {
    display: flex;
    gap: 16px;
    margin-bottom: var(--sp-2xl);
    flex-wrap: wrap;
    align-items: center;
    padding: 22px 24px;
    background: var(--c-bg-cream);
    border: 1px solid var(--c-border-light);
}

.filter-bar label {
    font-size: 14px;
    color: var(--c-text-tertiary);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.filter-bar select,
.filter-bar input[type="text"] {
    height: 40px;
    padding: 0 16px;
    border: 1px solid var(--c-border);
    font-size: 14px;
    outline: none;
    min-width: 160px;
    transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
    color: var(--c-text);
    background: var(--c-white);
}

.filter-bar select:focus,
.filter-bar input[type="text"]:focus {
    border-color: var(--c-primary-light);
    box-shadow: 0 0 0 3px rgba(26,65,120,0.08);
}

.filter-btn {
    height: 40px;
    padding: 0 28px;
    background: var(--g-primary);
    color: var(--c-white);
    border: none;
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 500;
    transition: opacity var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.filter-btn:hover {
    opacity: 0.9;
    box-shadow: var(--shadow-sm);
}

.news-items li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px dashed var(--c-border-light);
    gap: 24px;
    transition: all var(--duration) var(--ease);
}

.news-items li:last-child { border-bottom: none; }
.news-items li:hover { padding-left: 8px; }

.news-items li .title-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.news-items li .title-wrap::before {
    content: '';
    width: 7px;
    height: 7px;
    background: #185A56;
    flex-shrink: 0;
    transition: all var(--duration) var(--ease);
}

.news-items li:hover .title-wrap::before {
    background: var(--c-accent);
    box-shadow: 0 0 0 3px rgba(184,32,48,0.1);
}

.news-items li a {
    font-size: 15px;
    color: var(--c-text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color var(--duration) var(--ease);
}

.news-items li a:hover { color: #185A56; }

.news-items li .date {
    font-size: 14px;
    color: var(--c-text-muted);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.5px;
}

.article-title {
    font-size: 28px;
    color: var(--c-text);
    line-height: 1.5;
    margin-bottom: var(--sp-xl);
    text-align: center;
    font-weight: 700;
    letter-spacing: 1px;
}

.article-meta {
    text-align: center;
    padding-bottom: var(--sp-xl);
    margin-bottom: var(--sp-2xl);
    border-bottom: 1px solid var(--c-border);
    font-size: 14px;
    color: var(--c-text-muted);
    letter-spacing: 0.5px;
}

.article-meta span { margin: 0 18px; }

.article-body p {
    font-size: 15px;
    line-height: 2.2;
    color: var(--c-text-secondary);
    margin-bottom: var(--sp-lg);
    text-indent: 2em;
}

.article-body h4 {
    font-size: 18px;
    color: var(--c-text);
    margin: var(--sp-2xl) 0 var(--sp-lg);
    padding-left: 16px;
    border-left: 4px solid #185A56;
    font-weight: 600;
    letter-spacing: 1px;
}

.article-img {
    width: 100%;
    height: 380px;
    margin: var(--sp-2xl) 0;
    background: var(--g-news-img);
    box-shadow: var(--shadow-md);
}

.article-nav {
    margin-top: var(--sp-3xl);
    padding-top: var(--sp-xl);
    border-top: 1px solid var(--c-border);
}

.article-nav a {
    display: block;
    font-size: 14px;
    color: var(--c-text-tertiary);
    padding: 12px 0;
    transition: color var(--duration) var(--ease);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.article-nav a:hover { color: var(--c-primary); }

.attachment-box {
    margin-top: var(--sp-2xl);
    padding: 24px;
    background: var(--c-bg-cream);
    border: 1px solid var(--c-border-light);
}

.attachment-box h4 {
    font-size: 15px;
    color: var(--c-text);
    margin-bottom: var(--sp-md);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.attachment-box a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--c-primary-light);
    padding: 10px 0;
    transition: color var(--duration) var(--ease);
    letter-spacing: 0.5px;
}

.attachment-box a:hover { color: #185A56; }

.teacher-section {
    padding: var(--sp-4xl) 0;
}

.category-tabs {
    display: flex;
    gap: 0;
    margin-bottom: var(--sp-2xl);
    background: var(--c-white);
    overflow: hidden;
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow-xs);
}

.category-tabs a {
    flex: 1;
    text-align: center;
    padding: 16px 0;
    font-size: 14px;
    color: var(--c-text-secondary);
    border-right: 1px solid var(--c-border);
    transition: all var(--duration) var(--ease);
    letter-spacing: 2px;
    font-weight: 500;
}

.category-tabs a:last-child { border-right: none; }

.category-tabs a:hover,
.category-tabs a.active {
    background: var(--g-primary);
    color: var(--c-white);
}

.teacher-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.teacher-card {
    display: block;
    background: transparent;
    transition: all var(--duration) var(--ease);
    cursor: pointer;
    box-shadow: none;
    border: none;
    text-decoration: none;
    color: inherit;
}

.teacher-card:hover {
    transform: translateY(-6px);
    opacity: 0.9;
}

.thumb {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
    position: relative;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration) var(--ease);
}

.teacher-card:hover .thumb img {
    transform: scale(1.05);
}

.text {
    text-align: center;
}

.text h6 {
    font-size: 18px;
    font-weight: 600;
    color: var(--c-text);
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.text p {
    font-size: 14px;
    color: #185A56;
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
}

.teacher-info {
    padding: 20px;
    text-align: center;
}

.teacher-info h3 {
    font-size: 16px;
    color: var(--c-text);
    margin-bottom: 8px;
    transition: color var(--duration) var(--ease);
    font-weight: 600;
    letter-spacing: 2px;
}

.teacher-card:hover .teacher-info h3 { color: var(--c-primary); }

.teacher-info .teacher-title {
    font-size: 13px;
    color: #185A56;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.teacher-info .title {
    font-size: 13px;
    color: #185A56;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.teacher-info .dept {
    font-size: 12px;
    color: var(--c-text-muted);
    letter-spacing: 0.5px;
}

.teacher-header {
    background: var(--c-white);
    padding: var(--sp-2xl);
    display: flex;
    gap: var(--sp-2xl);
    margin-bottom: var(--sp-2xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--c-border-light);
}

.teacher-photo {
    width: 240px;
    height: 300px;
    flex-shrink: 0;
    background: var(--g-topic-1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.35);
    font-size: 80px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.teacher-photo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(transparent, rgba(0,0,0,0.12));
}

.teacher-bio { flex: 1; min-width: 0; }

.teacher-bio h2 {
    font-size: 30px;
    color: var(--c-text);
    margin-bottom: var(--sp-sm);
    letter-spacing: 3px;
    font-weight: 700;
}

.teacher-bio .position {
    font-size: 15px;
    color: #185A56;
    margin-bottom: var(--sp-xl);
    letter-spacing: 1px;
    font-weight: 500;
}

.teacher-bio .info-list { margin-bottom: var(--sp-xl); }

.teacher-bio .info-list li {
    font-size: 14px;
    color: var(--c-text-secondary);
    line-height: 2.4;
    display: flex;
    gap: 10px;
}

.teacher-bio .info-list li .label {
    color: var(--c-text-muted);
    min-width: 85px;
    flex-shrink: 0;
}

.teacher-tags {
    display: flex;
    gap: var(--sp-sm);
    flex-wrap: wrap;
    margin-top: var(--sp-md);
}

.teacher-tags span {
    padding: 6px 16px;
    background: rgba(24,90,86,0.1);
    color: var(--c-primary);
    font-size: 13px;
    border: 1px solid rgba(24,90,86,0.2);
    letter-spacing: 0.5px;
    transition: all var(--duration) var(--ease);
}

.teacher-tags span:hover {
    background: rgba(24,90,86,0.15);
    border-color: #185A56;
}

.detail-section {
    background: var(--c-white);
    padding: var(--sp-2xl);
    margin-bottom: var(--sp-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--c-border-light);
}

.detail-section h3 {
    font-size: 19px;
    color: var(--c-primary);
    margin-bottom: var(--sp-xl);
    padding-bottom: 14px;
    border-bottom: 2px solid var(--c-primary);
    position: relative;
    letter-spacing: 3px;
    font-weight: 700;
}

.detail-section h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 56px;
    height: 2px;
    background: #185A56;
}

.detail-section p {
    font-size: 14px;
    line-height: 2.1;
    color: var(--c-text-secondary);
    margin-bottom: var(--sp-md);
    text-indent: 2em;
}

.detail-section ul { padding-left: 2em; }

.detail-section ul li {
    font-size: 14px;
    line-height: 2.4;
    color: var(--c-text-secondary);
    position: relative;
    padding-left: 20px;
}

.detail-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 13px;
    width: 7px;
    height: 7px;
    background: #185A56;
}

.paper-list li {
    padding: 14px 0;
    border-bottom: 1px dashed var(--c-border-light);
    font-size: 14px;
    color: var(--c-text-secondary);
    line-height: 1.9;
}

.paper-list li:last-child { border-bottom: none; }
.paper-list li strong { color: var(--c-text); }

.project-list li {
    padding: 16px 0;
    border-bottom: 1px dashed var(--c-border-light);
}

.project-list li:last-child { border-bottom: none; }

.project-list li .project-name {
    font-size: 14px;
    color: var(--c-text);
    margin-bottom: 8px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.project-list li .project-info {
    font-size: 13px;
    color: var(--c-text-muted);
    letter-spacing: 0.5px;
}

@media (min-width: 1600px) {
    .about-img-placeholder { height: 420px; }
    .article-img { height: 420px; }
    .teacher-photo { width: 260px; height: 320px; }
}

@media (max-width: 1200px) {
    .teacher-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
    .inner-layout .container { flex-direction: column; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .teacher-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .content-main { padding: 28px; }
    .content-main h3 { font-size: 20px; }
    .article-title { font-size: 22px; }
    .about-stats { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .stat-item .num { font-size: 30px; }
    .stat-item { padding: var(--sp-lg) var(--sp-md); }
    .about-img-placeholder { height: 260px; }
    .article-img { height: 260px; }
    .teacher-header { flex-direction: column; align-items: center; text-align: center; padding: 28px; }
    .teacher-photo { width: 200px; height: 250px; font-size: 60px; }
    .teacher-bio .info-list li { justify-content: center; }
    .teacher-tags { justify-content: center; }
    .teacher-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .filter-bar { gap: 10px; padding: 16px; }
    .filter-bar select,
    .filter-bar input[type="text"] { min-width: 120px; }
    .category-tabs { flex-wrap: wrap; }
    .category-tabs a { flex: unset; padding: 12px 22px; }
    .detail-section { padding: 24px; }
    .inner-layout { padding: var(--sp-3xl) 0; }
    .teacher-section { padding: var(--sp-3xl) 0; }
}

@media (max-width: 480px) {
    .content-main { padding: 18px; }
    .teacher-grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: 1fr 1fr; }
    .teacher-photo { width: 160px; height: 200px; font-size: 50px; }
    .article-title { font-size: 20px; }
    .filter-bar select,
    .filter-bar input[type="text"] { min-width: 100%; }
    .filter-btn { width: 100%; }
}