/* ============================================
   inner-pages.css — 内页通用样式
   ============================================ */

/* ---------- Archive Header ---------- */
.archive-header {
    background: #f5f8fc;
    border-bottom: 1px solid #e8ecf1;
    padding: 45px 0 35px;
    text-align: center;
}

.archive-header h1 {
    font-size: 32px;
    color: #0b1f3a;
    margin-bottom: 8px;
}

.archive-header p {
    color: #5a6879;
    font-size: 15px;
}

/* ---------- Archive Grid ---------- */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
    padding: 50px 0;
}

.archive-card {
    border: 1px solid #e8ecf1;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.archive-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
    transform: translateY(-3px);
}

.archive-card .ac-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #dde3ec;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0aec0;
    font-size: 14px;
}

.archive-card .ac-body {
    padding: 20px;
}

.archive-card .ac-meta {
    font-size: 12px;
    color: #8897aa;
    margin-bottom: 8px;
}

.archive-card h3 {
    font-size: 17px;
    color: #0b1f3a;
    margin-bottom: 8px;
    line-height: 1.35;
}

.archive-card h3 a {
    color: #0b1f3a;
    text-decoration: none;
}

.archive-card h3 a:hover {
    color: #0077be;
}

.archive-card p {
    font-size: 14px;
    color: #5a6879;
    line-height: 1.5;
}

/* ---------- Pagination ---------- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 20px 0 50px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #dce2e9;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination a:hover,
.pagination .current {
    background: #0077be;
    color: #fff;
    border-color: #0077be;
}

/* ---------- Sidebar ---------- */
.sidebar {
    padding: 50px 0;
}

.sidebar-widget {
    margin-bottom: 30px;
    padding: 22px;
    background: #f5f8fc;
    border-radius: 8px;
}

.sidebar-widget h3 {
    font-size: 16px;
    color: #0b1f3a;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0077be;
}

.sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget ul li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e6ed;
}

.sidebar-widget ul li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-widget ul li a {
    color: #444;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}

.sidebar-widget ul li a:hover {
    color: #0077be;
}

/* ---------- Search Form (top of search page) ---------- */
.search-form-top {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto 40px;
}

.search-form-top input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #dce2e9;
    border-radius: 5px;
    font-size: 15px;
    transition: border-color 0.2s;
}

.search-form-top input:focus {
    outline: none;
    border-color: #0077be;
    box-shadow: 0 0 0 3px rgba(0,119,190,0.1);
}

.search-form-top button {
    padding: 12px 24px;
    background: #0077be;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.search-form-top button:hover {
    background: #005a8e;
}

/* ---------- Search Results ---------- */
.search-result-item {
    padding: 20px 0;
    border-bottom: 1px solid #e8ecf1;
}

.search-result-item h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.search-result-item h3 a {
    color: #0b1f3a;
    text-decoration: none;
}

.search-result-item h3 a:hover {
    color: #0077be;
}

.search-result-item .sr-excerpt {
    font-size: 14px;
    color: #5a6879;
}

/* ---------- 404 Page ---------- */
.error-404 {
    text-align: center;
    padding: 100px 15px;
}

.error-404 .error-code {
    font-size: 120px;
    font-weight: 700;
    color: #0077be;
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0,119,190,0.2);
}

.error-404 h2 {
    font-size: 28px;
    color: #0b1f3a;
    margin-bottom: 15px;
}

.error-404 p {
    font-size: 16px;
    color: #5a6879;
    max-width: 500px;
    margin: 0 auto 30px;
}

/* ---------- Single Post ---------- */
.single-post {
    max-width: 820px;
    margin: 50px auto;
    padding: 0 15px;
}

.single-post .post-header {
    text-align: center;
    margin-bottom: 35px;
}

.single-post .post-meta {
    font-size: 13px;
    color: #8897aa;
    margin-bottom: 12px;
}

.single-post h1 {
    font-size: 32px;
    color: #0b1f3a;
    line-height: 1.3;
    margin-bottom: 20px;
}

.single-post .post-content {
    font-size: 16px;
    line-height: 1.75;
    color: #333;
}

.single-post .post-content p {
    margin-bottom: 18px;
}

.single-post .post-content h2 {
    font-size: 24px;
    color: #0b1f3a;
    margin: 35px 0 15px;
}

.single-post .post-content h3 {
    font-size: 20px;
    color: #0b1f3a;
    margin: 28px 0 12px;
}

.single-post .post-content ul,
.single-post .post-content ol {
    margin-bottom: 18px;
    padding-left: 22px;
}

.single-post .post-content li {
    margin-bottom: 8px;
}

/* ---------- Post Share ---------- */
.post-share {
    display: flex;
    gap: 10px;
    margin: 35px 0;
    padding: 20px 0;
    border-top: 1px solid #e8ecf1;
    border-bottom: 1px solid #e8ecf1;
    align-items: center;
    flex-wrap: wrap;
}

.post-share span {
    font-weight: 600;
    color: #0b1f3a;
    margin-right: 10px;
}

.post-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f5f8fc;
    color: #5a6879;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 600;
}

.post-share a:hover {
    background: #0077be;
    color: #fff;
}

/* ---------- Contact Page ---------- */
.contact-info-section {
    padding: 50px 0;
    background: #f5f8fc;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-details h2 {
    font-size: 26px;
    color: #0b1f3a;
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    gap: 14px;
    margin-bottom: 22px;
    align-items: flex-start;
}

.contact-item .ci-icon {
    width: 42px;
    height: 42px;
    background: #0077be;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.contact-item .ci-content h4 {
    font-size: 14px;
    color: #0b1f3a;
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item .ci-content p {
    font-size: 14px;
    color: #5a6879;
    line-height: 1.5;
}

/* ---------- FAQ ---------- */
.faq-section {
    padding: 60px 0;
}

.faq-item {
    border: 1px solid #e8ecf1;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-item.open {
    border-color: #0077be;
}

.faq-question {
    padding: 16px 22px;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-weight: 500;
    color: #0b1f3a;
    transition: background 0.2s ease;
    user-select: none;
}

.faq-question:hover {
    background: #f5f8fc;
}

.faq-question .faq-toggle {
    font-size: 20px;
    color: #0077be;
    transition: transform 0.3s ease;
    font-weight: 300;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 0 22px 18px;
    font-size: 14px;
    color: #5a6879;
    line-height: 1.6;
    background: #fff;
}

.faq-item.open .faq-answer {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ---------- Video Center ---------- */
.video-section {
    padding: 50px 0;
}

.video-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.video-filter-btn {
    padding: 8px 22px;
    border: 1px solid #dce2e9;
    border-radius: 50px;
    background: #fff;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
}

.video-filter-btn.active,
.video-filter-btn:hover {
    background: #0077be;
    color: #fff;
    border-color: #0077be;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.video-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    background: #fff;
}

.video-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.video-card.hidden {
    display: none;
}

.video-thumb {
    position: relative;
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #0b1f3a 0%, #1a4a80 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
}

.video-thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.2);
    transition: background 0.3s;
}

.video-card:hover .video-thumb::after {
    background: rgba(0,0,0,0.1);
}

.video-thumb .play-btn {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #0077be;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.video-card:hover .play-btn {
    background: #0077be;
    color: #fff;
    transform: scale(1.15);
}

.video-info {
    padding: 18px 20px;
    background: #fff;
}

.video-info h3 {
    font-size: 16px;
    color: #0b1f3a;
    margin-bottom: 5px;
}

.video-info span {
    font-size: 12px;
    color: #8897aa;
}

/* ---------- About Page ---------- */
.about-section {
    padding: 60px 0;
}

.about-intro {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 45px;
    align-items: center;
    margin: 0 0 50px;
}

.about-intro-text h2 {
    font-size: 30px;
    color: #0b1f3a;
    margin-bottom: 18px;
}

.about-intro-text p {
    font-size: 16px;
    color: #5a6879;
    line-height: 1.7;
    margin-bottom: 15px;
}

.about-intro-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(11, 31, 58, 0.12);
}

.about-intro-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

/* ---------- Timeline (Horizontal) ---------- */
.timeline {
    margin: 30px 0 10px;
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    padding: 40px 0 10px;
    overflow-x: auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 52px;
    height: 2px;
    background: linear-gradient(to right, #0077be, #00a3ff);
}

.timeline-item {
    position: relative;
    flex: 1 0 200px;
    padding: 0 14px;
    text-align: center;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 44px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 18px;
    background: #0077be;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #0077be;
    z-index: 1;
}

.timeline-year {
    font-size: 22px;
    font-weight: 700;
    color: #0077be;
    margin-bottom: 34px;
}

.timeline-content {
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 10px;
    padding: 16px 14px;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    border-color: #0077be;
    box-shadow: 0 6px 20px rgba(0, 119, 190, 0.08);
    transform: translateY(-3px);
}

.timeline-content h4 {
    font-size: 16px;
    color: #0b1f3a;
    margin-bottom: 6px;
}

.timeline-content p {
    font-size: 13px;
    color: #5a6879;
    line-height: 1.55;
}

/* ---------- Certificate of Honor ---------- */
.honor-section {
    margin: 60px 0 50px;
}

.honor-section .section-header h2 {
    font-size: 24px;
    color: #0b1f3a;
    margin-bottom: 0;
}

.honor-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.honor-item {
    display: block;
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(11, 31, 58, 0.06);
    transition: all 0.3s ease;
}

.honor-item:hover {
    transform: translateY(-4px);
    border-color: #0077be;
    box-shadow: 0 10px 25px rgba(11, 31, 58, 0.1);
}

.honor-item img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .honor-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .archive-grid {
        grid-template-columns: 1fr;
        padding: 30px 0;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .honor-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

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

    .about-intro-image {
        order: -1;
    }

    .single-post h1 {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .honor-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .video-filters {
        gap: 6px;
    }

    .video-filter-btn {
        padding: 6px 14px;
        font-size: 13px;
    }
}
