/* ===========================================================
   PHD 专题样式（复旦蓝红学术风）
   覆盖 GBF index.css 的洋红强调色，统一为复旦蓝(#002c5a)/红(#C8102E)
   =========================================================== */

:root {
    --phd-blue: #002c5a;
    --phd-blue2: #0A2A66;
    --phd-red: #C8102E;
    --phd-bg: #F5F7FA;
    --phd-text: #333333;
    --phd-muted: #666666;
}

/* ---------- 覆盖外壳强调色（nav / footer / fix-right） ---------- */
nav a:hover { background: var(--phd-blue); color: #fff; }
nav .on a { background: var(--phd-blue); color: #fff; border-bottom-color: var(--phd-blue); }
nav .on a::after { border-left-color: var(--phd-blue); }

.fix-right a:hover { background: var(--phd-blue2); }

footer { background: var(--phd-blue); }
footer .contact .left li a,
footer .link-list a:hover { color: #fff; }

/* banner 标题增加投影，提升质感 */
.banner-wrap .banner-title p { text-shadow: 0 2px 14px rgba(0, 0, 0, .4); }

/* 标题条微调 */
.wrap > .title { margin-top: 30px; }
.wrap > .title strong { color: var(--phd-blue); }

/* ---------- 内容容器 ---------- */
.wrap .cont { color: var(--phd-text); }

.phd-section { margin-bottom: 50px; }
.phd-section h2 {
    font-size: 22px;
    color: var(--phd-blue);
    border-left: 4px solid var(--phd-red);
    padding-left: 14px;
    margin-bottom: 20px;
    font-weight: 600;
}
.phd-section h2 .phd-note {
    font-size: 14px;
    color: var(--phd-muted);
    font-weight: 400;
    margin-left: 8px;
}
.phd-section p {
    font-size: 16px;
    line-height: 2;
    color: var(--phd-text);
    margin-bottom: 14px;
    text-align: justify;
}
.phd-section .lead {
    background: linear-gradient(135deg, #fff, #f3f6fc);
    border: 1px solid #e3e9f5;
    border-radius: 12px;
    padding: 22px 26px;
    box-shadow: 0 4px 16px rgba(0, 26, 112, .06);
}

/* ---------- 研究方向卡片（横板） ---------- */
.dir-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 10px;
}
.dir-card {
    background: #fff;
    border-radius: 14px;
    padding: 26px 30px;
    box-shadow: 0 6px 20px rgba(0, 26, 112, .08);
    border-left: 4px solid var(--phd-blue);
    transition: transform .3s, box-shadow .3s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 26px;
    text-align: left;
}
.dir-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 26, 112, .16);
}
.dir-num {
    flex: 0 0 84px;
    font-size: 56px;
    font-weight: 800;
    color: var(--phd-red);
    opacity: .14;
    line-height: 1;
}
.dir-body { flex: 1; min-width: 0; }
.dir-card h3 {
    color: var(--phd-blue);
    font-size: 19px;
    margin: 4px 0 12px;
    font-weight: 600;
}
.dir-card p { font-size: 15px; line-height: 1.95; color: var(--phd-muted); margin: 0; }

/* ---------- 导师团队 ---------- */
.faculty-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 10px;
}
.faculty-card {
    text-align: center;
    background: #fff;
    border-radius: 14px;
    padding: 30px 16px 26px;
    box-shadow: 0 6px 20px rgba(0, 26, 112, .08);
    transition: transform .3s, box-shadow .3s;
    text-decoration: none;
    display: block;
}
.faculty-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 34px rgba(0, 26, 112, .18);
}
.faculty-card .photo {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 10px;
    margin: 0 auto 16px;
    background: #f2f5fa;
    display: flex;
    align-items: center;
    justify-content: center;
}
.faculty-card .photo .photo-initial {
    display: none;
    font-size: 42px;
    font-weight: 600;
    color: var(--phd-blue);
}
.faculty-card .photo.no-img .photo-initial { display: block; }
.faculty-card .photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}
.faculty-card .name {
    font-size: 18px;
    color: var(--phd-blue);
    font-weight: 600;
}
.faculty-card .role {
    font-size: 13px;
    color: var(--phd-muted);
    margin-top: 4px;
}

/* ---------- 时间线（申请流程） ---------- */
.timeline { position: relative; padding-left: 30px; margin-top: 8px; }
.timeline::before {
    content: '';
    position: absolute;
    left: 7px; top: 8px; bottom: 8px;
    width: 2px;
    background: linear-gradient(var(--phd-blue), var(--phd-red));
}
.tl-item { position: relative; margin-bottom: 28px; }
.tl-item::before {
    content: '';
    position: absolute;
    left: -30px; top: 6px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--phd-red);
    box-shadow: 0 0 0 4px rgba(200, 16, 46, .15);
}
.tl-item h3 { color: var(--phd-blue); font-size: 17px; margin-bottom: 6px; font-weight: 600; }
.tl-item p { color: var(--phd-muted); line-height: 1.9; font-size: 15px; margin: 0; }
.tl-item ul { margin: 8px 0 0; padding-left: 18px; }
.tl-item li { color: var(--phd-muted); line-height: 1.9; font-size: 15px; }

/* ---------- 流程轴外的补充说明（参考时间 / 提示） ---------- */
.flow-note {
    background: linear-gradient(135deg, #fff, #f3f6fc);
    border: 1px solid #e3e9f5;
    border-left: 4px solid var(--phd-red);
    border-radius: 12px;
    padding: 16px 22px;
    margin-top: 8px;
    margin-bottom: 22px;
}
.flow-note-bottom { margin-top: 4px; margin-bottom: 0; }
.flow-note h3 { color: var(--phd-blue); font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.flow-note p { color: var(--phd-muted); line-height: 1.9; font-size: 15px; margin: 0; }
/* ---------- 流程轴内/外段落中的文字链接（网上报名系统） ---------- */
.tl-item p a, .flow-note p a {
    color: var(--phd-blue);
    text-decoration: underline;
    text-decoration-color: var(--phd-blue);
    text-underline-offset: 3px;
    text-decoration-thickness: 1.5px;
    transition: color .2s, text-decoration-color .2s;
}
.tl-item p a:hover, .flow-note p a:hover {
    color: var(--phd-red);
    text-decoration-color: var(--phd-red);
}

/* ---------- FAQ ---------- */
.faq-item {
    background: #fff;
    border-radius: 10px;
    padding: 18px 24px;
    margin-bottom: 14px;
    box-shadow: 0 4px 14px rgba(0, 26, 112, .06);
    border-left: 3px solid var(--phd-blue);
    transition: box-shadow .3s;
}
.faq-item:hover { box-shadow: 0 8px 22px rgba(0, 26, 112, .12); }
.faq-item .q { color: var(--phd-blue); font-weight: 600; margin-bottom: 8px; font-size: 16px; }
.faq-item .q b { color: var(--phd-red); margin-right: 6px; }
.faq-item .a { color: var(--phd-muted); line-height: 1.95; font-size: 15px; }

/* ---------- 资料下载 / 空状态 ---------- */
.phd-empty {
    text-align: center;
    padding: 90px 20px;
    color: #9aa3b2;
    font-size: 18px;
    background: #fff;
    border-radius: 14px;
    border: 1px dashed #c7d0e0;
}

/* 学制要求列表 */
.req-list { list-style: none; padding: 0; margin: 6px 0 0; }
.req-list li {
    position: relative;
    padding-left: 26px;
    line-height: 2;
    color: var(--phd-text);
    font-size: 15px;
}
.req-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 14px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--phd-red);
}
/* 二级子列表：缩进 + 空心圆点区分 */
.req-sub-list { list-style: none; padding: 10px 0 0 0; margin: 12px 0 0 0; }
.req-sub-list li {
    position: relative;
    padding-left: 26px;
    line-height: 2;
    color: var(--phd-muted);
    font-size: 15px;
}
.req-sub-list li::before {
    content: '';
    position: absolute;
    left: 2px; top: 14px;
    width: 6px; height: 6px;
    border-radius: 50%;
    border: 1.5px solid var(--phd-blue);
    background: transparent;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
    .faculty-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .wrap .cont { padding-left: 0; }
    .title { padding-left: 0 !important; }
    nav { display: none; position: static; width: 100%; left: 0; margin-top: 0; }
    nav a { padding-left: 20px; }
    .dir-card { flex-direction: column; gap: 10px; }
    .dir-num { flex: none; font-size: 44px; }
    .banner-wrap .banner-title .title1 { font-size: 34px !important; }
    .banner-wrap .banner-title .title2 { font-size: 22px !important; }
}
