/* ============================================
   响应式适配 - 陕西单招网
   断点：1024 / 768 / 480
   ============================================ */

/* ---- Tablet (<= 1024px) ---- */
@media (max-width: 1024px) {
    .container { max-width: 100%; }

    /* Header */
    .header-inner { flex-direction: column; gap: 16px; text-align: center; }
    .header-right { width: 100%; justify-content: center; flex-wrap: wrap; }
    .hotline { text-align: center; }

    /* Quick Access */
    .quick-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }

    /* Card Grids */
    .card-grid { grid-template-columns: repeat(3, 1fr); }
    .card-grid-6 { grid-template-columns: repeat(4, 1fr); }

    /* Two Column */
    .two-col { grid-template-columns: 1fr; }

    /* List/Content Layout */
    .list-layout, .content-layout { grid-template-columns: 1fr; }
    .sidebar { order: 2; }

    /* Path Selector */
    .path-selector { grid-template-columns: 1fr; }

    /* Footer */
    .footer-top { grid-template-columns: 1fr 1fr; }
}

/* ---- Mobile (<= 768px) ---- */
@media (max-width: 768px) {
    body { font-size: 15px; }

    /* Top Bar */
    .top-bar .container { flex-direction: column; gap: 4px; }
    .welcome-text { font-size: 12px; }
    .top-bar-right { font-size: 12px; gap: 10px; }

    /* Header */
    .header-main { padding: 14px 0; }
    .site-logo { height: 44px; }
    .site-title { font-size: 22px; }
    .site-subtitle { font-size: 11px; }
    .hotline-number { font-size: 20px; }
    .search-input { width: 160px; }

    /* Mobile Search Show */
    .mobile-search { display: block; }
    .header-right .search-box { display: none; }

    /* Navigation - Mobile */
    .nav-mobile-toggle { display: block; }
    .nav-list {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #0d3b6f;
        flex-direction: column;
        max-height: 70vh;
        overflow-y: auto;
        box-shadow: 0 4px 16px rgba(0,0,0,.2);
    }
    .nav-list.show { display: flex; }
    .nav-item { width: 100%; }
    .nav-item > a { padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
    .nav-item > a::after { display: none; }
    .nav-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0,0,0,.2);
        border-radius: 0;
    }
    .nav-dropdown li a { color: #b3d4f5; padding: 10px 36px; border-bottom: none; font-size: 13px; }
    .nav-dropdown li a:hover { background: rgba(255,255,255,.05); padding-left: 40px; }

    /* Path Selector */
    .path-card { padding: 20px; gap: 14px; }
    .path-card-icon { width: 50px; height: 50px; font-size: 24px; }
    .path-card-title { font-size: 18px; }
    .path-card-sub { font-size: 12px; }
    .path-card-links { gap: 8px; }
    .path-card-links a { font-size: 12px; padding: 2px 10px; }

    /* Banner */
    .banner-slider { height: 220px; }
    .banner-overlay { padding: 20px 0 16px; }
    .banner-overlay h2 { font-size: 18px; }
    .banner-overlay p { font-size: 12px; }

    /* Quick Access */
    .quick-access { margin-top: -30px; padding: 20px 0; }
    .quick-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
    .quick-icon { width: 48px; height: 48px; font-size: 20px; }
    .quick-item p { font-size: 12px; }

    /* Section */
    .section { padding: 20px 0; }
    .section-title { font-size: 18px; }
    .section-header { margin-bottom: 14px; }

    /* News Cards */
    .news-card-body { padding: 6px 14px 12px; }
    .news-card-body li a { font-size: 13px; }
    .news-featured { flex-direction: column; gap: 10px; }
    .news-featured-img { width: 100%; height: 140px; }

    /* Card Grids */
    .card-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .card-grid-6 { grid-template-columns: repeat(3, 1fr); }
    .info-card-img { height: 120px; }
    .info-card-body { padding: 10px; }
    .info-card-body h3 { font-size: 14px; }

    /* Timeline */
    .timeline-list { padding: 14px; }
    .timeline-date { width: 60px; }
    .timeline-date .day { font-size: 16px; }
    .timeline-content a { font-size: 13px; }

    /* Tab */
    .tab-header { padding: 10px 18px; font-size: 14px; }

    /* Page Banner */
    .page-banner { height: 140px; }
    .page-banner h2 { font-size: 24px; }

    /* Article List */
    .article-item { flex-direction: column; gap: 10px; }
    .article-item-img { width: 100%; height: 160px; }
    .article-item-content h3 { font-size: 15px; }

    /* Content */
    .content-main { padding: 18px; }
    .content-header h1 { font-size: 20px; }
    .content-meta { flex-wrap: wrap; gap: 10px; }
    .content-body { font-size: 14px; }
    .content-footer { flex-direction: column; gap: 10px; }
    .content-next { text-align: left; }

    /* Pagination */
    .pagination a, .pagination span { min-width: 34px; height: 34px; font-size: 13px; }

    /* Footer */
    .footer-top { grid-template-columns: 1fr; gap: 20px; text-align: center; }
    .footer-contact { text-align: left; }
    .footer-nav { text-align: left; }
    .footer-bottom { font-size: 12px; }

    /* Float */
    .back-to-top { bottom: 70px; right: 15px; width: 40px; height: 40px; }
    .float-consult { right: 15px; bottom: 15px; }
    .float-consult-btn { padding: 10px 14px; }
    .float-consult-btn span { font-size: 11px; }
}

/* ---- Small Mobile (<= 480px) ---- */
@media (max-width: 480px) {
    .site-logo { height: 36px; }
    .site-title { font-size: 18px; letter-spacing: 1px; }
    .site-subtitle { display: none; }
    .path-card-arrow { display: none; }
    .quick-grid { grid-template-columns: repeat(2, 1fr); }
    .card-grid { grid-template-columns: 1fr; }
    .card-grid-6 { grid-template-columns: repeat(2, 1fr); }
    .banner-overlay h2 { font-size: 15px; }
    .banner-overlay p { display: none; }
    .section-title { font-size: 16px; }
    .section-title .sub { display: none; }
    .hotline { display: none; }
    /* Document List */
    .doc-col-date, .doc-item-date { display: none; }
    .doc-col-views, .doc-item-views { display: none; }
    .doc-list-header { padding: 10px 12px; }
    .doc-list-item { padding: 12px; }
    .doc-toolbar { flex-wrap: wrap; gap: 8px; }
    .doc-btn-print, .doc-btn-share, .doc-btn-font { font-size: 12px; padding: 5px 10px; }
}
