@charset "UTF-8";
/* ============================================================
   ky005 Sports Enterprise Template (kaiyu-portal style)
   Color: Indigo #4f46e5 + Violet #7c3aed + Gold #fbbf24 + Deep #1e1b4b
   ============================================================ */
:root {
    --ky-primary: #4f46e5;
    --ky-primary-dark: #4338ca;
    --ky-violet: #7c3aed;
    --ky-accent: #fbbf24;
    --ky-navy: #1e1b4b;
    --ky-ink: #23204a;
    --ky-muted: #6b7191;
    --ky-glass: rgba(255,255,255,.08);
    --ky-grad: linear-gradient(135deg,#4338ca 0%, #7c3aed 100%);
    --ky-grad-dark: linear-gradient(135deg,#1e1b4b 0%, #4338ca 60%, #7c3aed 100%);
}
html, body { scroll-behavior: smooth; }
body { font-family: "PingFang SC","Microsoft YaHei","Hiragino Sans GB",system-ui,-apple-system,sans-serif; color: var(--ky-ink); background: #fff; font-size: 15px; line-height: 1.7; }
a { color: var(--ky-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ky-violet); }
img { max-width: 100%; height: auto; }

/* ============= Header ============= */
.ky-navbar { background: #fff; border-bottom: 1px solid #eef0f6; box-shadow: 0 2px 12px rgba(30,27,75,.06); }
.ky-navbar .navbar { padding: 6px 0; }
.ky-navbar .navbar-brand.brand-logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 16px; color: var(--ky-navy); text-decoration: none; }
.ky-navbar .logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--ky-grad); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: 18px; box-shadow: 0 4px 12px rgba(79,70,229,.35); flex-shrink: 0; line-height: 1; }
.ky-navbar .navbar-nav .nav-link { color: #3c4257; font-weight: 600; font-size: 14px; padding: 5px 12px; border-radius: 8px; transition: all .2s; }
.ky-navbar .navbar-nav .nav-link:hover { color: var(--ky-primary); background: #f1f0ff; }
.ky-navbar .navbar-nav .nav-item.active .nav-link { color: var(--ky-primary); background: linear-gradient(135deg,#f1f0ff,#fff7e0); }
.ky-navbar .nav-cta .nav-link { color: #fff; background: var(--ky-grad); border-radius: 999px; padding: 6px 18px; }
.ky-navbar .nav-cta .nav-link:hover { color: #fff; background: var(--ky-primary-dark); }
.ky-navbar .navbar-toggler { border: 1px solid #e6e8f0; padding: 4px 8px; }
@media (min-width: 992px) { .ky-navbar .navbar-nav { flex-direction: row; } .ky-navbar .nav-item + .nav-item { margin-left: 4px; } }

/* ============= Announcement ============= */
.ky-announce { background: linear-gradient(90deg,#4338ca,#7c3aed); color: #fff; padding: 9px 0; font-size: 13.5px; font-weight: 600; text-align: center; }
.ky-announce .container { gap: 14px; }
.ky-ann-close { background: none; border: none; color: #fff; font-size: 20px; cursor: pointer; opacity: .7; padding: 0 4px; line-height: 1; }
.ky-ann-close:hover { opacity: 1; }

/* ============= Hero ============= */
.ky-hero { position: relative; overflow: hidden; padding: 90px 0 80px; background: var(--ky-grad-dark); color: #fff; }
.ky-hero::before { content: ''; position: absolute; inset: 0; background: url('../images/hero_bg.png') center/cover no-repeat; opacity: .22; }
.ky-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30,27,75,.92) 0%, rgba(30,27,75,.55) 55%, rgba(30,27,75,.15) 100%); }
.ky-hero > .container { position: relative; z-index: 2; }
.hero-badge { display: inline-block; font-size: 12px; letter-spacing: 2px; font-weight: 700; color: var(--ky-accent); background: rgba(251,191,36,.14); border: 1px solid rgba(251,191,36,.4); padding: 4px 16px; border-radius: 999px; margin-bottom: 18px; }
.ky-hero h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: 1px; margin-bottom: 14px; text-shadow: 0 4px 20px rgba(0,0,0,.3); }
.ky-hero h2 { font-size: clamp(16px, 2vw, 21px); font-weight: 400; color: #fde68a; margin-bottom: 16px; }
.ky-hero p { color: #d9ddf5; max-width: 640px; margin: 0; font-size: 15px; }
.hero-buttons .btn { padding: 12px 34px; border-radius: 999px; font-weight: 600; margin: 6px 8px 6px 0; min-width: 158px; }
.btn-ky-primary { background: var(--ky-accent); color: var(--ky-navy); border: none; box-shadow: 0 8px 24px rgba(251,191,36,.35); font-weight: 700; }
.btn-ky-primary:hover { background: #f59e0b; color: var(--ky-navy); transform: translateY(-2px); }
.btn-ky-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.btn-ky-ghost:hover { background: rgba(255,255,255,.24); color: #fff; }
.btn-ky-violet { background: linear-gradient(135deg,#7c3aed,#9333ea); color: #fff; border: none; box-shadow: 0 8px 24px rgba(147,51,234,.4); font-weight: 700; }
.btn-ky-violet:hover { color: #fff; transform: translateY(-2px); }
.hero-side-img { max-width: 420px; width: 100%; border-radius: 20px; box-shadow: 0 24px 60px rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.15); }

/* ============= Stats ============= */
.ky-stats { background: #fff; border-bottom: 1px solid #eef0f6; }
.stats-row .hm-item { background: #f8f8ff; border: 1px solid #eef0f6; border-radius: 14px; padding: 18px 12px; transition: all .25s; height: 100%; }
.stats-row .hm-item:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(79,70,229,.12); border-color: #d6d4ff; }
.stats-row .num { font-size: 28px; font-weight: 800; background: var(--ky-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stats-row .label { color: var(--ky-muted); font-size: 13px; margin-top: 4px; }

/* ============= Section heading ============= */
.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 { font-size: 28px; font-weight: 800; color: var(--ky-ink); margin: 0 0 8px; }
.section-head p { color: var(--ky-muted); margin: 0; }
.sec-tag { display: inline-block; font-size: 14px; font-weight: 700; color: var(--ky-primary); margin-bottom: 10px; letter-spacing: 1px; }
.h-title { font-size: 28px; font-weight: 800; color: var(--ky-navy); margin: 0 0 8px; display: inline-flex; align-items: center; gap: 10px; }
.h-title .h-emoji { font-size: 26px; }
.h-sub { color: #6b7191; font-size: 15px; margin: 0; }

/* ============= Why us / Features ============= */
.ky-whyus { background: #f7f8fc; }
.feat-card { background: #fff; border-radius: 16px; padding: 24px 22px; border: 1px solid #eef0f6; transition: all .25s; height: 100%; }
.feat-card:hover { box-shadow: 0 12px 26px rgba(79,70,229,.12); transform: translateY(-3px); }
.feat-card .icon-circle { width: 52px; height: 52px; border-radius: 14px; background: var(--ky-grad); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 14px; box-shadow: 0 6px 16px rgba(79,70,229,.3); }
.feat-card h4 { font-size: 16px; font-weight: 700; margin: 0 0 6px; color: var(--ky-navy); }
.feat-card p { color: var(--ky-muted); font-size: 13px; margin: 0; line-height: 1.7; }

/* ============= About ============= */
.ky-about { background: linear-gradient(135deg, rgb(30,27,75) 0%, rgb(67,56,202) 100%); color: #fff; }
.ky-about .section-head h2 { color: #fff; }
.ky-about .section-head p { color: #b8bce8; }
.about-lead { color: #d5d8f5; line-height: 2; font-size: 14.5px; }
.about-foot { color: #a5aae0; font-size: 13px; margin-top: 18px; }
.about-feat-row { margin-top: 22px; }
.about-feat-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: 20px 18px; 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(251,191,36,.4); transform: translateY(-3px); }
.bg-glass h5 { color: var(--ky-accent); font-weight: 700; margin-bottom: 6px; font-size: 16px; }
.bg-glass .icon-wrap { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(124,58,237,.4), rgba(251,191,36,.35)); display: inline-flex; align-items: center; justify-content: center; font-size: 21px; margin-bottom: 12px; }
.bg-glass p { color: #d5d8ee; font-size: 13px; line-height: 1.8; margin: 0; }
.about-media { position: relative; border-radius: 18px; overflow: hidden; background: #14113a; box-shadow: 0 12px 32px rgba(0,0,0,.35); }
.about-media > img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; display: block; }
.about-mini-stats { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; padding: 14px 12px; background: rgba(30,27,75,.78); backdrop-filter: blur(10px); border-top: 1px solid rgba(255,255,255,.12); }
.about-mini-stats > div { text-align: center; color: #fff; }
.about-mini-stats b { display: block; font-size: 20px; font-weight: 800; background: linear-gradient(135deg,#a5b4fc,#fbbf24); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-mini-stats span { display: block; font-size: 11px; color: #b8bce0; letter-spacing: 1px; margin-top: 2px; }

/* ============= Honor ============= */
.ky-honor { background: #f7f8fc; }
.honor-row > .col { display: flex; }
.honor-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 20px rgba(30,27,75,.08); display: flex; flex-direction: column; width: 100%; transition: all .3s; }
.honor-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(30,27,75,.15); }
.honor-card .hc-img { aspect-ratio: 4/3; overflow: hidden; background: #f0f1fa; }
.honor-card .hc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.honor-card:hover .hc-img img { transform: scale(1.06); }
.honor-card .hc-body { padding: 16px 16px 20px; }
.honor-card .hc-body h4 { font-size: 17px; font-weight: 800; margin: 0 0 10px; }
.honor-card .hc-body p { font-size: 13px; line-height: 1.8; color: #4b5074; margin: 0; }
.c-blue { color: var(--ky-primary); } .c-green { color: #16a34a; } .c-orange { color: #ea8a00; } .c-cyan { color: #0891b2; } .c-pink { color: #db2777; }

/* ============= Departments ============= */
.ky-departments { background: var(--ky-grad); color: #fff; }
.dep-title { font-size: 30px; font-weight: 800; color: #fff; margin: 0 0 12px; line-height: 1.4; }
.dep-lead { font-size: 15px; color: rgba(255,255,255,.85); margin: 0; }
.dep-side-img { width: 100%; max-width: 250px; border-radius: 16px; box-shadow: 0 12px 32px rgba(0,0,0,.3); border: 2px solid rgba(255,255,255,.2); }
.dep-row > .col { display: flex; }
.depart-card { flex: 1; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.15); border-radius: 14px; padding: 22px 18px; backdrop-filter: blur(6px); transition: all .3s; display: flex; flex-direction: column; }
.depart-card:hover { background: rgba(255,255,255,.16); transform: translateY(-4px); border-color: rgba(251,191,36,.4); }
.depart-card .dep-num { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 26px; padding: 0 10px; background: var(--ky-accent); color: var(--ky-navy); font-weight: 800; font-size: 13px; letter-spacing: 1px; border-radius: 6px; margin-bottom: 14px; }
.depart-card h4 { color: #fff; font-size: 17px; font-weight: 800; margin: 0 0 10px; }
.depart-card p { color: rgba(255,255,255,.85); font-size: 13px; line-height: 1.8; margin: 0; }

/* ============= Partners ============= */
.ky-partners { background: #fff; }
.partner-row > .col { display: flex; }
.partner-card { flex: 1; background: #f8f8ff; border: 1px solid #eef0f6; border-radius: 14px; padding: 22px 16px; text-align: center; transition: all .25s; height: 100%; }
.partner-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(79,70,229,.1); border-color: #d6d4ff; }
.pk-ico { font-size: 30px; margin-bottom: 10px; }
.partner-card h5 { font-size: 14.5px; font-weight: 700; margin: 0 0 6px; color: var(--ky-navy); }
.partner-card p { font-size: 12px; color: var(--ky-muted); margin: 0; }

/* ============= Security ============= */
.ky-sec { background: linear-gradient(135deg,#23204a,#14113a); }
.sec-head h2 { color: #fff; }
.sec-head p { color: #b6c2d9; }
.sec-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 26px 20px; text-align: center; height: 100%; transition: all .25s; }
.sec-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.1); }
.sec-ico { font-size: 28px; margin-bottom: 10px; }
.sec-card h5 { color: #fff; font-weight: 700; margin-bottom: 8px; font-size: 16px; }
.sec-card p { color: #b6c2d9; font-size: 13px; margin: 0; }
.sec-tags { color: #8f96c2; font-size: 12.5px; text-align: center; margin: 24px 0 0; }

/* ============= FAQ ============= */
.ky-faq { background: linear-gradient(135deg, #f1f0ff 0%, #fff7e0 100%); }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border-radius: 12px; border: 1px solid #eef0f6; overflow: hidden; transition: box-shadow .25s; }
.faq-item:hover { box-shadow: 0 6px 18px rgba(79,70,229,.08); }
.faq-q { font-size: 15px; font-weight: 700; color: var(--ky-navy); margin: 0; padding: 18px 22px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: color .2s; }
.faq-q:hover { color: var(--ky-primary); }
.faq-toggle { font-size: 20px; font-weight: 400; color: var(--ky-primary); transition: transform .3s; }
.faq-q[aria-expanded="true"] .faq-toggle { transform: rotate(45deg); }
.faq-a { padding: 0 22px 18px; }
.faq-a p { color: #4b5074; font-size: 13.5px; line-height: 1.85; margin: 0; }

/* ============= Mission ============= */
.ky-mission { background: linear-gradient(135deg, rgb(49,46,129) 0%, rgb(124,58,237) 100%); color: #fff; }
.mission-head h2 { font-size: 28px; font-weight: 800; color: #fff; margin: 0 0 8px; }
.mission-head p { color: #d5d8f5; font-size: 14.5px; margin: 0; }
.mem-img { width: 100%; border-radius: 18px; box-shadow: 0 16px 40px rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.15); }
.mem-card { display: flex; gap: 16px; align-items: flex-start; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 20px; backdrop-filter: blur(6px); transition: all .25s; }
.mem-card:hover { background: rgba(255,255,255,.13); transform: translateY(-3px); border-color: rgba(251,191,36,.4); }
.mc-ico { font-size: 22px; flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, rgba(251,191,36,.28), rgba(255,255,255,.12)); display: flex; align-items: center; justify-content: center; }
.mem-card h5 { font-size: 16px; font-weight: 700; margin: 0 0 6px; color: #fde68a; }
.mem-card p { color: #d5d8ee; font-size: 13.5px; line-height: 1.8; margin: 0; }

/* ============= Testimonials ============= */
.ky-testimonials { background: #f7f8fc; }
.testi-row > .col { display: flex; }
.testimonial-card { flex: 1; display: flex; flex-direction: column; background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 6px 20px rgba(79,70,229,.08); border: 1px solid rgba(79,70,229,.06); transition: all .35s; position: relative; overflow: hidden; }
.testimonial-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(79,70,229,.16); }
.tc-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.tc-avatar { width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 18px; flex-shrink: 0; }
.av-grad-1 { background: linear-gradient(135deg, #4f46e5, #7c3aed); }
.av-grad-2 { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.av-grad-3 { background: linear-gradient(135deg, #16a34a, #4ade80); }
.tc-meta b { color: var(--ky-navy); font-size: 15px; font-weight: 800; }
.tc-meta span { color: #6b7191; font-size: 12px; }
.rating { color: var(--ky-accent); font-size: 15px; letter-spacing: 2px; margin-bottom: 10px; }
.testimonial-card .quote { color: #4b5074; font-size: 13.5px; line-height: 1.9; margin: 0 0 14px; flex: 1; }
.tc-tag { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 12px; border-top: 1px dashed #eef0f6; }
.tc-tag span { font-size: 11px; color: var(--ky-primary); background: rgba(79,70,229,.08); border: 1px solid rgba(79,70,229,.15); padding: 2px 10px; border-radius: 999px; }

/* ============= News ============= */
.ky-news { background: #fff; border-top: 1px solid #eef0f6; }
.news-card { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid #eef0f6; transition: all .25s; height: 100%; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(79,70,229,.14); }
.news-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: #f0f1fa; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .thumb img { transform: scale(1.06); }
.news-card .body { padding: 16px 18px; flex: 1; display: flex; flex-direction: column; }
.news-card h4 { font-size: 16px; font-weight: 700; margin: 0 0 8px; line-height: 1.45; }
.news-card h4 a { color: var(--ky-ink); }
.news-card h4 a:hover { color: var(--ky-primary); }
.news-card .excerpt { color: var(--ky-muted); font-size: 13px; margin: 0 0 12px; line-height: 1.7; flex: 1; }
.news-card .meta { color: #97a0b8; font-size: 12px; }
.news-card .read-link { color: var(--ky-primary); font-weight: 600; font-size: 13px; margin-top: 6px; }

/* ============= CTA ============= */
.ky-cta { background: var(--ky-navy) !important; color: #fff; text-align: center; padding: 64px 0 !important; position: relative; overflow: hidden; }
.ky-cta::before { content: ''; position: absolute; inset: 0; background: url('../images/cta_bg.png') center/cover no-repeat; opacity: .14; }
.ky-cta > .container { position: relative; z-index: 1; }
.cta-badge { display: inline-block; font-size: 12px; letter-spacing: 2px; font-weight: 700; color: var(--ky-accent); background: rgba(251,191,36,.14); border: 1px solid rgba(251,191,36,.4); padding: 4px 16px; border-radius: 999px; margin-bottom: 16px; }
.ky-cta h2 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.ky-cta p { color: rgba(255,255,255,.9); margin-bottom: 20px; font-size: 15px; }

/* ============= Footer ============= */
.ky-footer { position: relative; background: #12102e; color: #9aa3c0; padding: 56px 0 24px; overflow: hidden; }
.ky-footer-bg { position: absolute; inset: 0; z-index: 0; background: url('../images/banner_strip.png') center/cover no-repeat; opacity: .08; }
.ky-footer .container { position: relative; z-index: 1; }
.foot-grid { padding-top: 6px; }
.foot-logo-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.foot-grid .logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--ky-grad); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: 18px; flex-shrink: 0; }
.foot-site-name { color: #fff; font-weight: 800; font-size: 17px; }
.foot-desc { color: #a7aecb; font-size: 13.5px; line-height: 2; margin: 0; }
.foot-title { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 16px; position: relative; padding-bottom: 8px; }
.foot-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 24px; height: 2px; background: var(--ky-accent); }
.foot-list { list-style: none; padding: 0; margin: 0; }
.foot-list li { margin-bottom: 9px; color: #a9b4cc; font-size: 13.5px; }
.foot-list a { color: #a9b4cc; font-size: 13.5px; text-decoration: none; transition: color .2s; }
.foot-list a:hover { color: var(--ky-accent); }
.foot-contact-list li { display: flex; align-items: center; gap: 8px; }
.foot-contact-list span { width: 20px; text-align: center; }
.foot-links { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.06); display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: 12.5px; }
.foot-links .fl-label { color: #6b7291; }
.foot-links a { color: #8b90b8; text-decoration: none; }
.foot-links a:hover { color: var(--ky-accent); }
.foot-divider { width: 60px; height: 1px; margin: 26px auto; background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent); }
.foot-bottom { margin-top: 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); text-align: center; color: #7c83a3; font-size: 12.5px; }
.foot-bottom a { color: #a7aecb; text-decoration: none; }

/* ============= Breadcrumb / Inner pages ============= */
.st-crumb { background: #f7f8fc; padding: 16px 0; color: #6b7390; font-size: 13px; }
.st-crumb a { color: #4a5170; }
.st-crumb a:hover { color: var(--ky-primary); }
.st-crumb .sep { margin: 0 6px; color: #c2c9dd; }
.page-hero-sm { background: var(--ky-grad); color: #fff; padding: 42px 0 38px; text-align: center; }
.page-hero-sm h1 { font-size: 28px; font-weight: 800; margin: 0 0 8px; letter-spacing: 1px; }
.page-hero-sm p { color: rgba(255,255,255,.85); font-size: 14px; margin: 0; }
.detail-box { background: #fff; border-radius: 16px; padding: 32px; box-shadow: 0 4px 18px rgba(30,27,75,.05); border: 1px solid #eef0f6; }
.detail-title { font-size: 26px; font-weight: 800; color: var(--ky-ink); line-height: 1.4; margin-bottom: 12px; }
.detail-meta { color: #97a0b8; font-size: 13px; padding-bottom: 14px; border-bottom: 1px solid #eef0f6; margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 14px; }
.detail-meta b { color: #4a5170; font-weight: 500; }
.detail-body { color: #3a415e; line-height: 1.9; font-size: 15.5px; }
.detail-body p { margin: 0 0 14px; }
.detail-body img { border-radius: 10px; margin: 12px auto; }
.detail-tags { margin-top: 24px; }
.detail-tags a { display: inline-block; padding: 5px 14px; margin: 0 6px 6px 0; background: #f1f0ff; color: var(--ky-primary); border-radius: 999px; font-size: 12px; }
.detail-tags a:hover { background: var(--ky-primary); color: #fff; }
.prev-next { display: flex; gap: 12px; margin: 24px 0; padding-top: 20px; border-top: 1px solid #eef0f6; }
.prev-next .pn { flex: 1; padding: 12px 16px; background: #f7f8fc; border-radius: 10px; min-width: 0; }
.prev-next .pn p { margin: 0 0 4px; color: #97a0b8; font-size: 12px; }
.prev-next .pn a { color: var(--ky-ink); font-size: 14px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prev-next .pn.next { text-align: right; }

/* ============= Sidebar ============= */
.side-box { background: #fff; border-radius: 14px; padding: 20px; border: 1px solid #eef0f6; margin-bottom: 18px; }
.side-box h5 { font-size: 15px; font-weight: 700; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid #eef0f6; color: var(--ky-ink); position: relative; }
.side-box h5::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 30px; height: 2px; background: var(--ky-grad); }
.side-box img { border-radius: 10px; }
.side-list { list-style: none; padding: 0; margin: 0; }
.side-list li { display: flex; padding: 8px 0; border-bottom: 1px dashed #eef0f6; align-items: baseline; gap: 10px; }
.side-list li:last-child { border-bottom: 0; }
.side-list .idx { display: inline-block; min-width: 22px; text-align: center; background: #f1f0ff; color: var(--ky-primary); font-weight: 700; font-size: 12px; border-radius: 4px; flex-shrink: 0; }
.side-list .idx.top1 { background: var(--ky-primary); color: #fff; }
.side-list .idx.top2 { background: var(--ky-accent); color: #fff; }
.side-list .idx.top3 { background: var(--ky-accent); color: #fff; }
.side-list .tt { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-cloud a { display: inline-block; padding: 4px 12px; background: #f1f0ff; color: var(--ky-primary); border-radius: 999px; font-size: 12px; }
.tag-cloud a:hover { background: var(--ky-primary); color: #fff; }

/* ============= List pages ============= */
.list-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px dashed #eef0f6; }
.list-item:last-child { border-bottom: 0; }
.list-item .thumb { width: 190px; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; background: #f0f1fa; flex-shrink: 0; }
.list-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.list-item h4 { font-size: 16px; font-weight: 700; margin: 4px 0 8px; line-height: 1.45; }
.list-item .excerpt { color: var(--ky-muted); font-size: 13px; margin: 0 0 8px; line-height: 1.7; }
.list-item .meta { color: #97a0b8; font-size: 12px; }
@media (max-width: 640px) { .list-item { flex-direction: column; } .list-item .thumb { width: 100%; } }

/* ============= Pagination ============= */
.pagination .page-link { color: var(--ky-primary); border-radius: 8px !important; margin: 0 3px; border: 1px solid #eef0f6; }
.pagination .page-item.active .page-link { background: var(--ky-grad); border-color: transparent; color: #fff; }

/* ============= DIY pages ============= */
.page-banner { position: relative; overflow: hidden; background: linear-gradient(135deg, #1e1b4b 0%, #4f46e5 60%, #7c3aed 100%); color: #fff; padding: 64px 0 56px; text-align: center; }
.page-banner::before { content: ''; position: absolute; inset: 0; background: url('../images/banner_strip.png') center/cover no-repeat; opacity: .12; }
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { font-size: 34px; font-weight: 800; margin: 0 0 12px; letter-spacing: 1px; }
.page-banner .pb-sub { font-size: 15px; color: rgba(255,255,255,.82); margin: 0 0 18px; }
.page-banner .crumb { font-size: 13px; color: rgba(255,255,255,.7); }
.page-banner .crumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.page-banner .crumb .sep { margin: 0 8px; opacity: .6; }
.diy-main { padding: 56px 0 20px; }
.diy-section { margin-bottom: 44px; }
.diy-section > h2 { font-size: 22px; font-weight: 800; color: var(--ky-navy); padding-left: 14px; border-left: 4px solid var(--ky-primary); margin: 0 0 20px; line-height: 1.4; }
.diy-section p { color: #4b5074; font-size: 14.5px; line-height: 2; margin: 0 0 14px; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-card { background: #fff; border-radius: 14px; padding: 26px 22px; box-shadow: 0 6px 20px rgba(30,27,75,.07); border: 1px solid #f0f1f7; transition: all .3s; text-align: center; }
.info-card:hover { transform: translateY(-5px); box-shadow: 0 14px 32px rgba(79,70,229,.14); }
.info-card .ic-ico { font-size: 32px; margin-bottom: 12px; }
.info-card h4 { font-size: 17px; font-weight: 800; color: var(--ky-navy); margin: 0 0 10px; }
.info-card p { font-size: 13.5px; color: #6b7191; line-height: 1.85; margin: 0; }
.diy-update { text-align: center; color: #a0a6c0; font-size: 13px; padding: 20px 0 10px; border-top: 1px dashed #e6e8f0; margin-top: 10px; }
.app-side-img { max-width: 320px; width: 100%; border-radius: 18px; box-shadow: 0 16px 40px rgba(30,27,75,.18); }

/* Contact */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: stretch; }
.contact-info-list { display: flex; flex-direction: column; gap: 16px; }
.ci-item { display: flex; gap: 14px; align-items: flex-start; background: #fff; border-radius: 12px; padding: 18px 20px; box-shadow: 0 4px 14px rgba(30,27,75,.05); border: 1px solid #f0f1f7; }
.ci-item .ci-ico { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--ky-grad); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 19px; }
.ci-item b { display: block; color: var(--ky-navy); font-size: 15px; font-weight: 800; margin-bottom: 3px; }
.ci-item span { color: #6b7191; font-size: 13.5px; line-height: 1.7; }
.contact-map { border-radius: 14px; overflow: hidden; background: #eef0f6; min-height: 322px; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(30,27,75,.07); position: relative; }
.contact-map img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.contact-map .map-tip { position: relative; z-index: 1; background: rgba(255,255,255,.92); padding: 14px 22px; border-radius: 10px; font-weight: 700; color: var(--ky-navy); box-shadow: 0 4px 14px rgba(0,0,0,.12); }

/* Timeline */
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 4px; bottom: 4px; width: 2px; background: var(--ky-grad); }
.tl-item { position: relative; margin-bottom: 26px; }
.tl-item::before { content: ''; position: absolute; left: -28px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--ky-primary); box-shadow: 0 0 0 4px rgba(79,70,229,.12); }
.tl-item .tl-year { font-size: 15px; font-weight: 800; color: var(--ky-primary-dark); margin-bottom: 4px; }
.tl-item h4 { font-size: 16px; font-weight: 800; color: var(--ky-navy); margin: 0 0 6px; }
.tl-item p { font-size: 13.5px; color: #6b7191; line-height: 1.85; margin: 0; }

/* ============= Responsive ============= */
@media (max-width: 767px) {
    .info-grid { grid-template-columns: 1fr; }
    .contact-wrap { grid-template-columns: 1fr; }
    .page-banner h1 { font-size: 26px; }
    .ky-announce { font-size: 12px; padding: 8px 0; }
    .ky-hero { padding: 60px 0 56px; }
    .dep-row { row-gap: 12px; }
    .hero-side-img { display: none; }
}
