/* ========== Page Header ========== */
.page-header {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 48px 20px 36px; text-align: center; position: relative; overflow: hidden;
}
.page-header::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 500px 250px at 70% 50%, rgba(194,37,92,0.10) 0%, transparent 70%);
    pointer-events: none;
}
.page-header-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.page-header h1 { font-size: 1.7rem; font-weight: 900; color: #fff; margin-bottom: 10px; }
.page-header h1 span { color: #f472b6; }
.page-header .lead { font-size: 0.92rem; color: #94a3b8; line-height: 1.7; margin-bottom: 0; }
.page-header .count-badge {
    display: inline-block; font-size: 0.78rem; font-weight: 700;
    color: #f472b6; background: rgba(194,37,92,0.15); padding: 4px 14px;
    border-radius: 20px; margin-bottom: 14px;
}

/* ========== Site Filter Chips ========== */
.site-chips {
    background: #f8fafc; border-bottom: 1px solid #e2e8f0;
    padding: 14px 20px;
}
.site-chips-inner {
    max-width: 960px; margin: 0 auto;
    display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
}
.site-chip {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 0.78rem; font-weight: 600; color: #475569;
    background: #fff; padding: 6px 14px; border-radius: 20px;
    text-decoration: none; border: 1px solid #e2e8f0; transition: all 0.2s;
}
.site-chip:hover { color: #c2255c; border-color: #c2255c; background: #fdf2f8; text-decoration: none; }
.site-chip img { width: 18px; height: 18px; border-radius: 4px; object-fit: contain; }

/* ========== Site Quick Nav ========== */
.site-nav-section { margin-bottom: 32px; }
.site-nav-section .section-title {
    font-size: 1.15rem; font-weight: 800; color: #1e293b; margin-bottom: 6px;
}
.site-nav-section .section-desc { font-size: 0.86rem; color: #64748b; line-height: 1.5; margin-bottom: 16px; }
.site-nav-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.site-nav-card {
    display: flex; gap: 14px; align-items: center;
    background: #fff; border-radius: 10px; padding: 16px 18px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05); text-decoration: none; color: inherit;
    transition: all 0.2s; border-left: 3px solid transparent;
}
.site-nav-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08); transform: translateY(-2px);
    text-decoration: none; border-left-color: #c2255c;
}
.site-nav-card .logo { width: 48px; height: 34px; object-fit: contain; flex-shrink: 0; background: #f8fafc; border-radius: 6px; }
.site-nav-card .body { flex: 1; min-width: 0; }
.site-nav-card .body .name { font-size: 0.92rem; font-weight: 700; color: #1e293b; margin-bottom: 2px; }
.site-nav-card .body .type { font-size: 0.7rem; color: #c2255c; font-weight: 600; margin-bottom: 3px; }
.site-nav-card .body .desc {
    font-size: 0.78rem; color: #94a3b8; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.site-nav-card .arrow { color: #cbd5e1; font-size: 0.9rem; flex-shrink: 0; }

/* ========== Video Grid ========== */
.section-head { margin-bottom: 16px; }
.section-head h2 {
    font-size: 1.2rem; color: #1e293b; font-weight: 800;
    padding-bottom: 8px; border-bottom: 2px solid #f1f5f9; margin-bottom: 6px;
}
.section-head .desc { font-size: 0.86rem; color: #64748b; line-height: 1.5; }
.video-grid {
    display: grid; gap: 16px;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}
.video-card {
    display: block; text-decoration: none; color: inherit;
    background: #fff; border-radius: 10px; overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06); transition: all 0.2s;
}
.video-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.10); transform: translateY(-2px); text-decoration: none; }
.video-card .thumb {
    position: relative; width: 100%; aspect-ratio: 16/9; background: #f1f5f9; overflow: hidden;
}
.video-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-card .thumb .duration {
    position: absolute; bottom: 6px; right: 6px;
    font-size: 0.68rem; font-weight: 700; color: #fff;
    background: rgba(0,0,0,0.75); padding: 2px 7px; border-radius: 4px;
}
.video-card .thumb .site-badge {
    position: absolute; top: 6px; left: 6px;
    font-size: 0.62rem; font-weight: 700; color: #fff;
    background: rgba(194,37,92,0.85); padding: 2px 8px; border-radius: 4px;
}
.video-card .info { padding: 10px 12px; }
.video-card .info .title {
    font-size: 0.82rem; color: #1e293b; font-weight: 600; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    margin-bottom: 4px;
}
.video-card .info .desc-text {
    font-size: 0.72rem; color: #94a3b8; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
    margin-bottom: 4px;
}
.video-card .info .meta { font-size: 0.72rem; color: #b0b8c4; }

/* ========== Compare CTA ========== */
.compare-cta {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 14px; padding: 32px 28px; text-align: center; margin-bottom: 36px;
    position: relative; overflow: hidden;
}
.compare-cta::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 400px 200px at 50% 80%, rgba(194,37,92,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.compare-cta-inner { position: relative; z-index: 1; }
.compare-cta h2 { font-size: 1.15rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
.compare-cta p { font-size: 0.86rem; color: #94a3b8; line-height: 1.6; margin-bottom: 16px; }
.compare-cta .btn {
    display: inline-block; font-size: 0.88rem; font-weight: 700; color: #fff;
    background: #c2255c; padding: 10px 28px; border-radius: 8px;
    text-decoration: none; transition: all 0.2s;
}
.compare-cta .btn:hover { background: #a61e4d; text-decoration: none; }

/* ========== Axis Block ========== */
.axis-block {
    background: #fff; border-radius: 12px; padding: 24px 28px; margin-top: 40px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06); border-left: 3px solid #6366f1;
}
.axis-block h2 {
    font-size: 1.05rem; font-weight: 800; color: #1e293b; margin-bottom: 8px;
}
.axis-block .axis-desc {
    font-size: 0.86rem; color: #64748b; line-height: 1.5; margin-bottom: 14px;
}
.axis-block .axis-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.axis-block .axis-link-chip {
    display: inline-block; padding: 8px 18px; border-radius: 8px;
    font-size: 0.85rem; font-weight: 600; text-decoration: none;
    color: #475569; background: #f1f5f9; border: 1px solid #e2e8f0;
    transition: all 0.2s;
}
.axis-block .axis-link-chip:hover { background: #e2e8f0; color: #c2255c; border-color: #fce7f3; text-decoration: none; }
.axis-block .axis-more {
    display: block; text-align: right; font-size: 0.85rem; font-weight: 600; color: #6366f1; text-decoration: none;
}
.axis-block .axis-more:hover { color: #c2255c; text-decoration: underline; }

/* ========== Pagination ========== */
.pagination { display: flex; justify-content: center; gap: 4px; margin-top: 32px; flex-wrap: wrap; }
.pagination a, .pagination span {
    display: inline-block; padding: 8px 14px; border-radius: 6px;
    font-size: 0.85rem; font-weight: 500; text-decoration: none;
}
.pagination a { color: #475569; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.06); }
.pagination a:hover { background: #fdf2f8; color: #c2255c; text-decoration: none; }
.pagination .current { background: #c2255c; color: #fff; }
.pagination .disabled { color: #cbd5e1; background: none; }
.pagination .ellipsis { color: #94a3b8; background: none; padding: 8px 6px; }

/* ========== Responsive ========== */
@media (max-width: 640px) {
    .page-header h1 { font-size: 1.3rem; }
    .video-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
    .site-nav-grid { grid-template-columns: 1fr; }
    .compare-cta { padding: 24px 18px; }
    .compare-cta .cta-buttons-wrap { flex-direction: column; gap: 12px; }
    .compare-cta .cta-buttons-wrap .btn { width: 100%; text-align: center; }
}
