@charset "UTF-8";
/* ============================================================
   xk001 Starry Sky Sports Enterprise Template
   Color: Deep Navy #1a3a6c + Amber Gold #d4a24a
   ============================================================ */
:root {
    --xk-primary: #1a3a6c;
    --xk-primary-dark: #0f2847;
    --xk-accent: #d4a24a;
    --xk-accent-light: #f0c878;
    --xk-navy: #0a1628;
    --xk-ink: #1e293b;
    --xk-muted: #64748b;
    --xk-glass: rgba(255,255,255,.08);
    --xk-grad: linear-gradient(135deg, #1a3a6c 0%, #d4a24a 100%);
    --xk-grad-dark: linear-gradient(135deg, #0a1628 0%, #1a3a6c 60%, #2563eb 100%);
}
html, body { scroll-behavior: smooth; }
body { font-family: "PingFang SC","Microsoft YaHei","Hiragino Sans GB",system-ui,-apple-system,sans-serif; color: var(--xk-ink); background: #fff; font-size: 15px; line-height: 1.7; }
a { color: var(--xk-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--xk-accent); }
img { max-width: 100%; height: auto; }

/* ============= Main offset ============= */
.xk-main { margin-top: 0; }

/* ============= Header / Navbar ============= */
.xk-navbar { background: #fff; border-bottom: 1px solid #e2e8f0; box-shadow: 0 2px 12px rgba(26,58,108,.05); }
.xk-navbar .navbar { padding: 6px 0; }
.xk-navbar .navbar-brand.brand-logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 16px; color: #0a1628; text-decoration: none; }
.xk-navbar .logo-star { width: 34px; height: 34px; border-radius: 10px; background: var(--xk-grad); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: 0 4px 12px rgba(26,58,108,.35); flex-shrink: 0; line-height: 1; }
.xk-navbar .navbar-nav .nav-link { color: #334155; font-weight: 600; font-size: 14px; padding: 5px 12px; border-radius: 8px; transition: all .2s; }
.xk-navbar .navbar-nav .nav-link:hover { color: var(--xk-primary); background: #eff6ff; }
.xk-navbar .navbar-nav .nav-item.active .nav-link { color: var(--xk-primary); background: linear-gradient(135deg,#eff6ff,#fef9ee); }
.xk-navbar .navbar-toggler { border: 1px solid #cbd5e1; padding: 4px 8px; }
@media (min-width: 992px) { .xk-navbar .navbar-nav { flex-direction: row; } .xk-navbar .nav-item + .nav-item { margin-left: 4px; } }

/* ============= Hero ============= */
.xk-hero { background: var(--xk-grad-dark); color: #fff; position: relative; overflow: hidden; padding: 100px 0 90px !important; }
.xk-hero::before { content:''; position:absolute; inset:0; background: url('../images/hero_bg.png') center/cover no-repeat; opacity: .18; }
.xk-hero > * { position: relative; z-index: 1; }
.stars-layer { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.stars-layer span { position: absolute; width: 3px; height: 3px; background: #fff; border-radius: 50%; animation: twinkle 3s infinite ease-in-out; }
.stars-layer span:nth-child(1) { top:10%; left:15%; animation-delay:0s; }
.stars-layer span:nth-child(2) { top:20%; left:75%; animation-delay:.5s; }
.stars-layer span:nth-child(3) { top:40%; left:35%; animation-delay:1s; }
.stars-layer span:nth-child(4) { top:60%; left:85%; animation-delay:1.5s; }
.stars-layer span:nth-child(5) { top:70%; left:25%; animation-delay:2s; }
.stars-layer span:nth-child(6) { top:30%; left:55%; animation-delay:.3s; }
.stars-layer span:nth-child(7) { top:80%; left:65%; animation-delay:.8s; }
.stars-layer span:nth-child(8) { top:50%; left:45%; animation-delay:1.3s; }
@keyframes twinkle { 0%,100%{opacity:.2;transform:scale(1)} 50%{opacity:1;transform:scale(1.8)} }
.hero-badge { display: inline-block; padding: 6px 24px; border: 1px solid rgba(212,162,74,.5); border-radius: 999px; color: var(--xk-accent-light); font-size: 14px; font-weight: 600; letter-spacing: 2px; margin-bottom: 20px; background: rgba(212,162,74,.08); }
.xk-hero h1 { font-size: clamp(28px, 4vw, 46px); font-weight: 800; letter-spacing: 1px; margin-bottom: 14px; text-shadow: 0 4px 20px rgba(0,0,0,.25); }
.xk-hero h2 { font-size: clamp(16px, 2vw, 22px); font-weight: 400; color: #93c5fd; margin-bottom: 20px; }
.xk-hero p { color: #bfdbfe; max-width: 720px; margin: 0 auto 8px; }
.hero-buttons .btn { padding: 12px 34px; border-radius: 999px; font-weight: 600; margin: 6px 8px; min-width: 160px; }
.btn-xk-primary { background: var(--xk-accent); color: #fff; border: none; box-shadow: 0 8px 24px rgba(212,162,74,.35); font-weight: 700; }
.btn-xk-primary:hover { background: var(--xk-accent-light); color: #fff; transform: translateY(-2px); }
.btn-xk-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.btn-xk-ghost:hover { background: rgba(255,255,255,.24); color: #fff; }
.btn-xk-ghost-dark { background: rgba(26,58,108,.1); color: var(--xk-primary); border: 1px solid rgba(26,58,108,.25); }
.btn-xk-ghost-dark:hover { background: var(--xk-primary); color: #fff; }

/* ============= Section heading ============= */
.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 { font-size: 28px; font-weight: 800; color: var(--xk-ink); margin: 0 0 8px; }
.section-head p { color: var(--xk-muted); margin: 0; }
.h-title { font-size: 30px; font-weight: 800; color: #0a1628; margin: 0 0 8px; display: inline-flex; align-items: center; gap: 10px; }
.h-title .h-emoji { font-size: 30px; }
.h-sub { color: #64748b; font-size: 15px; margin: 0; }

/* ============= Stats ============= */
.xk-stats { background: #fff !important; }
.stats-card { background: linear-gradient(180deg,#eff6ff,#dbeafe); border: 1px solid #bfdbfe; border-radius: 18px; padding: 26px 20px; text-align: center; transition: all .25s; height: 100%; }
.stats-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(26,58,108,.12); border-color:#93c5fd; }
.stats-card .num { font-size: 34px; font-weight: 800; background: var(--xk-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stats-card .label { color: var(--xk-muted); margin-top: 6px; font-size: 14px; }
.stats-card .desc { color: #94a3b8; font-size: 12px; margin-top: 4px; }

/* ============= Features ============= */
.xk-features { background: #f8fafc !important; }
.feat-card { background: #fff; border-radius: 16px; padding: 22px; border: 1px solid #e2e8f0; transition: all .25s; height: 100%; }
.feat-card:hover { box-shadow: 0 12px 26px rgba(26,58,108,.1); transform: translateY(-3px); }
.feat-card .icon-circle { width: 52px; height: 52px; border-radius: 50%; background: var(--xk-grad); color: #fff; display:flex; align-items:center; justify-content:center; font-size: 22px; flex-shrink: 0; margin-right: 14px; box-shadow: 0 6px 16px rgba(26,58,108,.3); }
.feat-card h4 { font-size: 16px; font-weight: 700; margin: 0 0 6px; }
.feat-card p { color: var(--xk-muted); font-size: 13px; margin: 0; line-height: 1.65; }

/* ============= Gallery ============= */
.xk-gallery { background: linear-gradient(135deg, #eff6ff 0%, #fef9ee 100%); }
.gallery-row { display: flex; flex-wrap: wrap; }
.gallery-row > [class*="col-"] { display: flex; }
.gallery-card { position: relative; overflow: hidden; border-radius: 14px; width: 100%; height: 280px; box-shadow: 0 6px 18px rgba(26,58,108,.12); transition: all .3s; }
.gallery-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .5s; }
.gallery-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(26,58,108,.24); }
.gallery-card:hover img { transform: scale(1.06); }
.gallery-card .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 14px; background: linear-gradient(180deg, transparent, rgba(10,22,40,.88)); color: #fff; z-index: 2; }
.gallery-card .cap b { display: block; font-size: 16px; font-weight: 800; letter-spacing: 1px; }

/* ============= About ============= */
.xk-about { background: var(--xk-navy); color: #fff; }
.xk-about .section-head h2 { color: #fff; }
.xk-about .section-head p { color: #cbd5e1; }
.about-lead { color: #e2e8f0; line-height: 1.9; font-size: 14px; }
.about-row { align-items: stretch; }
.about-card-row { align-items: stretch; }
.about-card-row > [class*="col-"] { display: flex; }
.bg-glass { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 22px 20px; backdrop-filter: blur(8px); transition: all .3s; display: flex; flex-direction: column; height: 100%; }
.bg-glass:hover { background: rgba(255,255,255,.10); border-color: rgba(212,162,74,.4); transform: translateY(-3px); }
.bg-glass h5 { color: var(--xk-accent); font-weight: 700; margin-bottom: 6px; font-size: 17px; }
.bg-glass .icon-wrap { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(26,58,108,.35), rgba(212,162,74,.35)); display: inline-flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 12px; }
.bg-glass p { color: #e2e8f0; font-size: 13.5px; line-height: 1.85; margin: 0; }
.about-media { position: relative; height: 100%; border-radius: 16px; overflow: hidden; background: #020617; box-shadow: 0 12px 32px rgba(0,0,0,.35); }
.about-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-media-overlay { position: relative; z-index: 2; padding: 26px 22px 130px; color: #fff; background: linear-gradient(180deg, rgba(10,22,40,.15) 0%, rgba(10,22,40,.55) 55%, rgba(10,22,40,.92) 100%); height: 100%; display: flex; flex-direction: column; }
.about-media-overlay h4 { font-weight: 700; margin-bottom: 8px; }
.about-media-overlay p { color: #cbd5e1; font-size: 13px; line-height: 1.7; margin: 0; }
.badge-glass { display: inline-block; padding: 4px 14px; border: 1px solid rgba(212,162,74,.5); border-radius: 999px; font-size: 12px; color: var(--xk-accent-light); margin-bottom: 12px; width: fit-content; }
.about-mini-stats { position: absolute; bottom: 0; left: 0; right: 0; z-index: 3; display: flex; background: rgba(10,22,40,.7); backdrop-filter: blur(8px); border-top: 1px solid rgba(255,255,255,.1); }
.about-mini-stats > div { flex: 1; text-align: center; padding: 12px 8px; }
.about-mini-stats b { display: block; font-size: 22px; font-weight: 800; color: var(--xk-accent); }
.about-mini-stats span { font-size: 12px; color: #94a3b8; }

/* ============= Honor ============= */
.xk-honor { background: #f8fafc !important; }
.honor-row > [class*="col-"] { display: flex; }
.honor-card { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid #e2e8f0; transition: all .25s; height: 100%; }
.honor-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(26,58,108,.12); }
.hc-img { height: 140px; overflow: hidden; }
.hc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.honor-card:hover .hc-img img { transform: scale(1.05); }
.hc-body { padding: 16px; }
.hc-body h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.hc-body p { font-size: 13px; color: var(--xk-muted); margin: 0; line-height: 1.6; }
.c-blue { color: #2563eb; }
.c-gold { color: #d4a24a; }
.c-green { color: #10b981; }
.c-cyan { color: #06b6d4; }
.c-rose { color: #f43f5e; }

/* ============= Departments ============= */
.xk-departments { background: #fff; }
.dep-title { font-size: 26px; font-weight: 800; color: #0a1628; margin-bottom: 8px; }
.dep-lead { color: var(--xk-muted); font-size: 15px; margin-bottom: 4px; }
.dep-sub { color: #94a3b8; font-size: 13px; }
.dep-side-img { max-height: 260px; object-fit: contain; border-radius: 16px; }
.dep-row > [class*="col-"] { display: flex; }
.depart-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 14px; padding: 22px 18px; transition: all .25s; height: 100%; position: relative; }
.depart-card:hover { background: var(--xk-primary); color: #fff; transform: translateY(-3px); box-shadow: 0 10px 24px rgba(26,58,108,.2); }
.depart-card:hover h4, .depart-card:hover p { color: #fff; }
.dep-num { position: absolute; top: 12px; right: 16px; font-size: 28px; font-weight: 900; color: rgba(26,58,108,.08); }
.depart-card:hover .dep-num { color: rgba(255,255,255,.15); }
.depart-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; transition: color .2s; }
.depart-card p { font-size: 13px; color: var(--xk-muted); margin: 0; line-height: 1.6; transition: color .2s; }

/* ============= Knowledge ============= */
.xk-knowledge { background: #f8fafc !important; }
.know-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 24px; display: flex; gap: 18px; transition: all .25s; height: 100%; }
.know-card:hover { box-shadow: 0 8px 20px rgba(26,58,108,.08); transform: translateY(-2px); }
.know-num { font-size: 36px; font-weight: 900; color: var(--xk-accent); opacity: .6; flex-shrink: 0; width: 48px; line-height: 1; }
.know-body h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.know-body p { font-size: 13.5px; color: var(--xk-muted); margin: 0; line-height: 1.75; }
.know-list { list-style: none; padding: 0; margin: 0; }
.know-list li { padding: 4px 0; font-size: 13.5px; color: var(--xk-ink); }

/* ============= Partners ============= */
.xk-partners { background: #fff; }
.partner-card { text-align: center; padding: 20px 12px; border: 1px solid #e2e8f0; border-radius: 12px; transition: all .2s; height: 100%; }
.partner-card:hover { box-shadow: 0 6px 16px rgba(26,58,108,.08); transform: translateY(-2px); }
.pk-ico { font-size: 28px; margin-bottom: 8px; }
.partner-card h5 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.partner-card p { font-size: 12px; color: var(--xk-muted); margin: 0; }

/* ============= FAQ ============= */
.xk-faq { background: #f8fafc !important; }
.faq-list { }
.faq-item { border: 1px solid #e2e8f0; border-radius: 12px; margin-bottom: 10px; background: #fff; overflow: hidden; }
.faq-q { margin: 0; padding: 16px 20px; font-size: 15px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background .2s; }
.faq-q:hover { background: #f1f5f9; }
.faq-q .faq-toggle { font-size: 20px; color: var(--xk-accent); font-weight: 300; transition: transform .2s; }
.faq-q[aria-expanded="true"] .faq-toggle { transform: rotate(45deg); }
.faq-a { padding: 0 20px 16px; }
.faq-a p { color: var(--xk-muted); font-size: 14px; margin: 0; line-height: 1.7; }

/* ============= Testimonials ============= */
.xk-testimonials { background: #fff; }
.testi-row > [class*="col-"] { display: flex; }
.testimonial-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 14px; padding: 22px; transition: all .25s; height: 100%; }
.testimonial-card:hover { box-shadow: 0 8px 20px rgba(26,58,108,.08); transform: translateY(-2px); }
.tc-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.tc-avatar { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 16px; flex-shrink: 0; }
.av-grad-1 { background: linear-gradient(135deg, #1a3a6c, #2563eb); }
.av-grad-2 { background: linear-gradient(135deg, #d4a24a, #f0c878); }
.av-grad-3 { background: linear-gradient(135deg, #10b981, #34d399); }
.tc-meta b { display: block; font-size: 14px; }
.tc-meta span { font-size: 12px; color: var(--xk-muted); }
.rating { color: #d4a24a; margin-bottom: 8px; font-size: 16px; letter-spacing: 2px; }
.quote { font-size: 14px; color: #475569; line-height: 1.7; margin-bottom: 12px; }
.tc-tag { display: flex; gap: 8px; }
.tc-tag span { font-size: 12px; color: var(--xk-primary); background: #eff6ff; padding: 2px 10px; border-radius: 999px; }

/* ============= News ============= */
.xk-news { background: #f8fafc !important; }
.news-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; overflow: hidden; transition: all .25s; height: 100%; }
.news-card:hover { box-shadow: 0 10px 24px rgba(26,58,108,.1); transform: translateY(-3px); }
.news-card .thumb { height: 180px; overflow: hidden; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .thumb img { transform: scale(1.05); }
.news-card .body { padding: 18px; }
.news-card .body h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.news-card .body h4 a { color: var(--xk-ink); }
.news-card .body h4 a:hover { color: var(--xk-primary); }
.news-card .excerpt { font-size: 13px; color: var(--xk-muted); line-height: 1.65; margin-bottom: 10px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.news-card .meta { font-size: 12px; color: #94a3b8; margin-bottom: 8px; }
.read-link { font-size: 13px; color: var(--xk-primary); font-weight: 600; }
.read-link:hover { color: var(--xk-accent); }

/* ============= CTA ============= */
.xk-cta { background: var(--xk-grad-dark); color: #fff; text-align: center; }
.xk-cta::before { content:''; position:absolute; inset:0; background: url('../images/cta_bg.png') center/cover no-repeat; opacity: .15; }
.xk-cta > * { position: relative; z-index: 1; }
.xk-cta h2 { font-size: 30px; font-weight: 800; margin-bottom: 10px; }
.xk-cta p { color: #bfdbfe; margin-bottom: 20px; }

/* ============= Page Banner ============= */
.page-banner { background: linear-gradient(135deg, #0a1628 0%, #1a3a6c 100%); color: #fff; padding: 48px 0 36px; margin-bottom: 30px; }
.page-banner h1 { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.pb-sub { color: #93c5fd; font-size: 14px; margin-bottom: 12px; }
.crumb { font-size: 13px; color: #94a3b8; }
.crumb a { color: #bfdbfe; }
.crumb a:hover { color: var(--xk-accent); }
.crumb .sep { margin: 0 8px; color: #64748b; }
.detail-banner { padding: 20px 0 24px; margin-bottom: 20px; }
.detail-banner .crumb { margin: 0; }

/* ============= List / Article ============= */
.xk-list-main { padding-bottom: 40px; }
.xk-box { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 24px; margin-bottom: 20px; }
.xk-list-wrap { }
.xk-list-item { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid #f1f5f9; }
.xk-list-item:last-child { border-bottom: none; }
.xk-list-item .item-media { flex-shrink: 0; width: 200px; height: 130px; border-radius: 10px; overflow: hidden; background: #f1f5f9; }
.xk-list-item .item-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.xk-list-item:hover .item-media img { transform: scale(1.05); }
.xk-list-item .item-content { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.xk-list-item h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; line-height: 1.5; }
.xk-list-item h3 a { color: var(--xk-ink); }
.xk-list-item h3 a:hover { color: var(--xk-primary); }
.xk-list-item .excerpt { font-size: 13.5px; color: var(--xk-muted); line-height: 1.65; margin-bottom: 8px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.item-meta { font-size: 12px; color: #94a3b8; display: flex; gap: 16px; }
.no-data { text-align: center; padding: 60px 20px; color: var(--xk-muted); }

/* ============= Detail ============= */
.xk-detail-main { padding-bottom: 40px; }
.detail-box { padding: 30px; }
.detail-title { font-size: 26px; font-weight: 800; line-height: 1.4; margin-bottom: 16px; color: #0a1628; }
.detail-meta { display: flex; gap: 20px; font-size: 13px; color: #94a3b8; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid #f1f5f9; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.detail-tags a { display: inline-block; padding: 3px 12px; background: #eff6ff; color: var(--xk-primary); border-radius: 999px; font-size: 12px; }
.detail-tags a:hover { background: var(--xk-primary); color: #fff; }
.detail-body { font-size: 16px; line-height: 1.8; color: #334155; }
.detail-body p { margin-bottom: 16px; }
.detail-body img { max-width: 100%; border-radius: 8px; margin: 16px 0; }
.detail-body h2, .detail-body h3, .detail-body h4 { margin: 24px 0 12px; font-weight: 700; color: #0a1628; }
.detail-pagination { margin: 20px 0; }
.detail-pagination .pagination { display: inline-flex; gap: 6px; list-style: none; padding: 0; }
.detail-pagination .pagination li a { padding: 6px 14px; border: 1px solid #e2e8f0; border-radius: 6px; color: var(--xk-primary); font-size: 13px; }
.detail-pagination .pagination li.active a { background: var(--xk-primary); color: #fff; border-color: var(--xk-primary); }
.detail-updown { display: flex; justify-content: space-between; padding: 20px 0; margin-top: 20px; border-top: 1px solid #f1f5f9; }
.detail-updown .up-page, .detail-updown .down-page { max-width: 45%; }
.detail-updown span { display: block; font-size: 12px; color: #94a3b8; margin-bottom: 4px; }
.detail-updown a { font-size: 14px; color: var(--xk-primary); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.detail-updown a:hover { color: var(--xk-accent); }
.gallery-main-img { width: 100%; border-radius: 10px; margin: 16px 0; }
.gallery-pagination { margin: 16px 0; }
.related-box { margin-top: 20px; }
.related-card { border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; transition: all .2s; height: 100%; }
.related-card:hover { box-shadow: 0 6px 16px rgba(26,58,108,.08); }
.related-card img { width: 100%; height: 140px; object-fit: cover; }
.related-card h5 { padding: 12px; font-size: 14px; font-weight: 600; margin: 0; }
.related-card h5 a { color: var(--xk-ink); }
.related-card h5 a:hover { color: var(--xk-primary); }

/* ============= Sidebar ============= */
.sidebar-box { padding: 20px !important; }
.side-title { font-size: 17px; font-weight: 700; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--xk-primary); color: #0a1628; }
.side-list { list-style: none; padding: 0; margin: 0; }
.side-list li { padding: 8px 0; border-bottom: 1px solid #f1f5f9; display: flex; justify-content: space-between; align-items: center; }
.side-list li:last-child { border-bottom: none; }
.side-list li a { flex: 1; font-size: 14px; color: #475569; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 12px; }
.side-list li a:hover { color: var(--xk-primary); }
.side-list li time { font-size: 12px; color: #94a3b8; flex-shrink: 0; }
.side-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.side-tags a { display: inline-block; padding: 4px 14px; background: #f1f5f9; color: #475569; border-radius: 999px; font-size: 13px; transition: all .2s; }
.side-tags a:hover { background: var(--xk-primary); color: #fff; }

/* ============= Tag Cloud ============= */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; padding: 10px 0; }
.tag-cloud .tag-item { display: inline-block; padding: 8px 20px; background: #eff6ff; color: var(--xk-primary); border-radius: 999px; font-size: 14px; font-weight: 500; transition: all .2s; }
.tag-cloud .tag-item:hover { background: var(--xk-primary); color: #fff; transform: translateY(-2px); }
.tag-header-info { display: flex; align-items: center; gap: 16px; }
.tag-icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; font-size: 28px; flex-shrink: 0; }

/* ============= Footer ============= */
.xk-footer { background: #0a1628; color: #cbd5e1; padding: 50px 0 24px; position: relative; }
.xk-footer-bg { position: absolute; inset: 0; background: linear-gradient(180deg, #0a1628 0%, #0f2847 100%); }
.foot-brand { margin-bottom: 20px; }
.foot-site-name { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.foot-desc { font-size: 13px; color: #94a3b8; max-width: 680px; margin: 0 auto; line-height: 1.7; }
.foot-divider { height: 1px; background: rgba(255,255,255,.08); margin: 20px 0; }
.foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; }
.foot-nav a { color: #94a3b8; font-size: 13px; }
.foot-nav a:hover { color: var(--xk-accent); }
.foot-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; margin: 20px 0; }
.fc-item { font-size: 13px; color: #94a3b8; display: flex; align-items: center; gap: 6px; }
.fc-ico { font-size: 16px; }
.foot-links { text-align: center; margin-bottom: 16px; }
.fl-label { color: #64748b; font-size: 12px; margin-right: 8px; }
.foot-links a { color: #64748b; font-size: 12px; margin: 0 6px; }
.foot-links a:hover { color: var(--xk-accent); }
.foot-bottom { text-align: center; font-size: 12px; color: #64748b; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.06); }
.foot-bottom a { color: #94a3b8; }
.foot-bottom a:hover { color: var(--xk-accent); }

/* ============= DIY Pages ============= */
.diy-main { padding-bottom: 50px; }
.diy-section { margin-bottom: 30px; }
.diy-section h2 { font-size: 22px; font-weight: 700; color: #0a1628; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--xk-accent); display: inline-block; }
.diy-section p { font-size: 15px; color: #475569; line-height: 1.85; margin-bottom: 12px; }
.diy-update { font-size: 13px; color: #94a3b8; padding-top: 20px; border-top: 1px solid #e2e8f0; }
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--xk-primary), var(--xk-accent)); }
.tl-item { position: relative; margin-bottom: 28px; padding-left: 20px; }
.tl-item::before { content: ''; position: absolute; left: -26px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--xk-accent); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--xk-primary); }
.tl-year { display: inline-block; padding: 2px 14px; background: var(--xk-primary); color: #fff; border-radius: 999px; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.tl-item h4 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.tl-item p { font-size: 14px; color: var(--xk-muted); margin: 0; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.info-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 14px; padding: 24px; text-align: center; transition: all .2s; }
.info-card:hover { box-shadow: 0 8px 20px rgba(26,58,108,.08); transform: translateY(-2px); }
.ic-ico { font-size: 32px; margin-bottom: 10px; }
.info-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.info-card p { font-size: 14px; color: var(--xk-muted); margin: 0; }
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-info-list { display: flex; flex-direction: column; gap: 16px; }
.ci-item { display: flex; align-items: center; gap: 14px; padding: 16px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; }
.ci-ico { font-size: 24px; width: 44px; height: 44px; border-radius: 12px; background: #eff6ff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ci-item b { display: block; font-size: 14px; margin-bottom: 2px; }
.ci-item span { font-size: 13px; color: var(--xk-muted); }
.contact-map { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 14px; display: flex; align-items: center; justify-content: center; min-height: 200px; }
.map-tip { font-size: 16px; color: var(--xk-muted); }
.ab-badge { display: inline-block; padding: 6px 20px; border: 1px solid rgba(212,162,74,.5); border-radius: 999px; color: var(--xk-accent-light); font-size: 13px; font-weight: 600; letter-spacing: 2px; margin-bottom: 14px; background: rgba(212,162,74,.08); }
.app-banner { text-align: center; }

/* ============= Pagination ============= */
.pagination { display: inline-flex; gap: 6px; list-style: none; padding: 0; margin: 20px 0; }
.pagination li a, .pagination li span { display: inline-block; padding: 6px 14px; border: 1px solid #e2e8f0; border-radius: 6px; color: var(--xk-primary); font-size: 13px; transition: all .2s; }
.pagination li a:hover { background: var(--xk-primary); color: #fff; border-color: var(--xk-primary); }
.pagination li.active a, .pagination li.active span { background: var(--xk-primary); color: #fff; border-color: var(--xk-primary); }

/* ============= Responsive ============= */
@media (max-width: 991px) {
    .xk-hero { padding: 70px 0 60px !important; }
    .xk-hero h1 { font-size: 26px; }
}
@media (max-width: 767px) {
    .xk-list-item { flex-direction: column; }
    .xk-list-item .item-media { width: 100%; height: 180px; }
    .detail-title { font-size: 20px; }
    .detail-meta { flex-wrap: wrap; gap: 10px; }
    .detail-updown { flex-direction: column; gap: 12px; }
    .detail-updown .up-page, .detail-updown .down-page { max-width: 100%; }
    .contact-wrap { grid-template-columns: 1fr; }
    .about-mini-stats > div { padding: 8px 4px; }
    .about-mini-stats b { font-size: 18px; }
    .gallery-card { height: 200px; }
    .dep-side-img { max-height: 180px; margin-bottom: 16px; }
    .foot-contact { flex-direction: column; align-items: center; }
}
