/* ============================================================
   华体会体育门户模板 htsport
   参照 www.czxmkq.com 深蓝金体育风 · 自适应
   ============================================================ */
:root{
    --navy-900:#0d1b2a;
    --navy-800:#1b263b;
    --navy-700:#1c1f3f;
    --navy-600:#273a5b;
    --purple:#3d0b40;
    --gold:#f5b400;
    --gold-2:#ffc107;
    --orange:#ff7a00;
    --blue:#3b82f6;
    --green:#22c55e;
    --ink:#1f2937;
    --text:#334155;
    --muted:#64748b;
    --line:#e8ecf2;
    --bg-soft:#f5f7fb;
    --card:#ffffff;
    --radius:16px;
    --radius-lg:22px;
    --shadow:0 10px 30px rgba(15,27,45,.08);
    --shadow-sm:0 4px 16px rgba(15,27,45,.06);
    --grad-gold:linear-gradient(135deg,#f5b400,#ff7a00);
    --grad-navy:linear-gradient(135deg,#0d1b2a 0%,#1b263b 55%,#1c1f3f 100%);
    --maxw:1200px;
}

*{margin:0;padding:0;box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;}
body{
    font-family:"PingFang SC","Microsoft YaHei","Hiragino Sans GB",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
    color:var(--text);background:var(--bg-soft);line-height:1.7;font-size:15px;
}
a{color:inherit;text-decoration:none;transition:color .25s ease,transform .25s ease,box-shadow .25s ease;}
ul{list-style:none;}
img{max-width:100%;display:block;height:auto;}
mip-img,img{border-radius:12px;}
.container{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 18px;}
.site-main{display:block;}

/* ============ Header / Navbar ============ */
.site-header{
    position:sticky;top:0;z-index:999;
    background:var(--grad-navy);
    box-shadow:0 4px 20px rgba(0,0,0,.18);
}
.nav-bar{display:flex;align-items:center;height:68px;gap:20px;}
.brand{display:flex;align-items:center;gap:10px;color:#fff;font-weight:800;font-size:20px;}
.brand-logo{border-radius:10px;background:var(--grad-gold);padding:2px;}
.brand-text{white-space:nowrap;letter-spacing:.5px;}
.main-nav{margin-left:auto;}
.main-nav>ul{display:flex;align-items:center;gap:6px;}
.main-nav>ul>li{position:relative;}
.main-nav>ul>li>a{
    display:block;color:rgba(255,255,255,.82);font-size:15px;font-weight:500;
    padding:10px 14px;border-radius:10px;
}
.main-nav>ul>li>a:hover{color:#fff;background:rgba(255,255,255,.10);}
.main-nav>ul>li.active>a{color:var(--gold-2);}
.main-nav .dropdown{
    position:absolute;top:120%;left:0;min-width:180px;background:#fff;border-radius:12px;
    box-shadow:var(--shadow);padding:8px;opacity:0;visibility:hidden;transform:translateY(8px);
    transition:.25s ease;z-index:50;
}
.main-nav>ul>li:hover .dropdown{opacity:1;visibility:visible;transform:translateY(0);}
.main-nav .dropdown li a{display:block;color:var(--text);padding:9px 12px;border-radius:8px;font-size:14px;}
.main-nav .dropdown li a:hover{background:var(--bg-soft);color:var(--orange);}
.nav-cta{margin-left:8px;}
.btn-outline-light{
    display:inline-block;color:#fff;border:1.5px solid rgba(255,255,255,.55);
    padding:8px 18px;border-radius:999px;font-size:14px;font-weight:600;
}
.btn-outline-light:hover{background:#fff;color:var(--navy-800);border-color:#fff;}
.nav-toggle{display:none;flex-direction:column;gap:5px;background:none;border:0;cursor:pointer;padding:8px;margin-left:auto;}
.nav-toggle span{width:24px;height:2px;background:#fff;border-radius:2px;transition:.3s;}
.nav-toggle.active span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.nav-toggle.active span:nth-child(2){opacity:0;}
.nav-toggle.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

/* ============ Hero ============ */
.hero{
    position:relative;color:#fff;text-align:center;overflow:hidden;
    background:var(--grad-navy);padding:90px 0 120px;
}
.hero::before{
    content:"";position:absolute;inset:0;
    background:radial-gradient(600px 300px at 20% 10%,rgba(245,180,0,.18),transparent 60%),
               radial-gradient(500px 260px at 85% 20%,rgba(61,11,64,.45),transparent 60%);
}
.hero-inner{position:relative;z-index:2;}
.hero-badge{
    display:inline-block;font-size:13px;letter-spacing:1px;color:var(--gold-2);
    background:rgba(245,180,0,.12);border:1px solid rgba(245,180,0,.35);
    padding:6px 16px;border-radius:999px;margin-bottom:22px;
}
.hero-title{font-size:40px;line-height:1.35;font-weight:900;letter-spacing:1px;margin:0 auto 18px;max-width:960px;
    background:linear-gradient(90deg,#fff 30%,#ffd766);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;}
.hero-sub{max-width:720px;margin:0 auto 30px;font-size:17px;color:rgba(255,255,255,.82);}
.hero-buttons{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;margin-bottom:38px;}
.btn-hero{display:inline-block;padding:14px 34px;border-radius:999px;font-size:16px;font-weight:700;}
.btn-hero-gold{background:var(--grad-gold);color:#1b263b;box-shadow:0 10px 26px rgba(245,180,0,.35);}
.btn-hero-gold:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(245,180,0,.5);}
.btn-hero-ghost{border:1.5px solid rgba(255,255,255,.6);color:#fff;}
.btn-hero-ghost:hover{background:rgba(255,255,255,.12);}
.hero-stats{display:flex;gap:40px;justify-content:center;flex-wrap:wrap;position:relative;z-index:2;}
.hero-stats li strong{display:block;font-size:30px;color:var(--gold-2);font-weight:900;}
.hero-stats li span{font-size:13px;color:rgba(255,255,255,.7);}
.hero-wave{position:absolute;left:0;right:0;bottom:-1px;height:70px;z-index:1;
    background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70'%3E%3Cpath fill='%23f5f7fb' d='M0,40 C240,80 480,0 720,25 C960,55 1200,10 1440,40 L1440,70 L0,70 Z'/%3E%3C/svg%3E") no-repeat bottom/cover;}

/* ============ Section common ============ */
.section-head{text-align:center;max-width:640px;margin:0 auto 44px;}
.section-title{font-size:32px;font-weight:900;color:var(--navy-800);position:relative;padding-bottom:14px;}
.section-title::after{content:"";position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:56px;height:4px;border-radius:4px;background:var(--grad-gold);}
.section-head p{margin-top:14px;color:var(--muted);}

/* ============ About / Timeline ============ */
.about{background:var(--grad-navy);color:#fff;padding:72px 0;}
.about-grid{display:grid;grid-template-columns:0.9fr 1.1fr;gap:48px;align-items:center;}
.section-title-light{font-size:30px;font-weight:900;margin-bottom:16px;}
.about-intro p{color:rgba(255,255,255,.8);margin-bottom:22px;}
.about-icon-row{display:flex;gap:12px;flex-wrap:wrap;}
.about-chip{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);padding:9px 14px;border-radius:12px;font-size:14px;}
.about-chip span{font-size:18px;}
.timeline{position:relative;padding-left:26px;}
.timeline::before{content:"";position:absolute;left:6px;top:8px;bottom:8px;width:2px;background:rgba(255,255,255,.18);}
.timeline-item{position:relative;margin-bottom:22px;}
.timeline-item:last-child{margin-bottom:0;}
.timeline-dot{position:absolute;left:-26px;top:18px;width:16px;height:16px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 4px rgba(0,0,0,.15);}
.dot-blue{background:var(--blue);}.dot-green{background:var(--green);}.dot-gold{background:var(--gold-2);}
.timeline-card{background:rgba(255,255,255,.92);color:var(--text);border-radius:var(--radius);padding:18px 20px;box-shadow:var(--shadow-sm);}
.timeline-card h4{color:var(--navy-800);font-size:17px;margin-bottom:6px;}
.timeline-card p{font-size:14px;color:var(--muted);margin:0;}

/* ============ Services (image cards, 3+2) ============ */
.services{padding:72px 0;background:var(--bg-soft);}
.service-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:24px;}
.service-card{
    grid-column:span 2;display:flex;flex-direction:column;background:var(--card);
    border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;
    box-shadow:var(--shadow-sm);position:relative;transition:transform .3s ease,box-shadow .3s ease;
}
.service-card:nth-child(n+4){grid-column:span 3;}
.service-card::after{content:"";position:absolute;top:0;left:0;width:100%;height:4px;background:var(--grad-gold);transform:scaleX(0);transform-origin:left;transition:.3s;z-index:2;}
.service-card:hover{transform:translateY(-6px);box-shadow:var(--shadow);border-color:transparent;}
.service-card:hover::after{transform:scaleX(1);}
.service-media{aspect-ratio:16/10;overflow:hidden;}
.service-media img{width:100%;height:100%;object-fit:cover;border-radius:0;transition:transform .5s ease;}
.service-card:hover .service-media img{transform:scale(1.06);}
.service-body{padding:22px 24px 26px;}
.service-title{font-size:20px;color:var(--navy-800);font-weight:900;margin-bottom:10px;}
.service-text{font-size:15px;color:var(--muted);line-height:1.85;margin:0;}

/* ============ Featured ============ */
.featured{padding:72px 0;background:#fff;}
.featured-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.featured-card{display:block;background:var(--card);border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-sm);}
.featured-card:hover{transform:translateY(-6px);box-shadow:var(--shadow);}
.featured-thumb{position:relative;aspect-ratio:16/10;overflow:hidden;}
.featured-thumb img{width:100%;height:100%;object-fit:cover;border-radius:0;transition:transform .5s ease;}
.featured-card:hover .featured-thumb img{transform:scale(1.06);}
.featured-tag{position:absolute;top:12px;left:12px;background:var(--grad-gold);color:#1b263b;font-size:12px;font-weight:800;padding:5px 12px;border-radius:999px;}
.featured-body{padding:18px 20px 22px;}
.featured-body h3{font-size:17px;color:var(--navy-800);font-weight:800;line-height:1.5;margin-bottom:12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.featured-meta{display:flex;justify-content:space-between;color:var(--muted);font-size:13px;}

/* ============ FAQ ============ */
.faq{padding:72px 0;background:var(--bg-soft);}
.section-title-dark{font-size:32px;font-weight:900;color:var(--navy-800);text-align:center;margin-bottom:0;}
.faq-grid{display:grid;grid-template-columns:280px 1fr;gap:44px;align-items:start;}
.faq-nav{display:flex;flex-direction:column;gap:4px;position:sticky;top:88px;}
.faq-navlink{position:relative;display:block;padding:11px 0 11px 16px;font-size:15px;font-weight:700;color:var(--navy-800);border-left:3px solid transparent;line-height:1.5;}
.faq-navlink:hover{color:var(--blue);}
.faq-navlink.active{color:var(--blue);border-left-color:var(--blue);}
.faq-content{display:flex;flex-direction:column;gap:34px;}
.faq-item{scroll-margin-top:90px;}
.faq-q{font-size:20px;font-weight:900;color:var(--navy-800);margin-bottom:12px;}
.faq-a{color:var(--muted);line-height:1.95;font-size:15px;margin:0;}

/* ============ App CTA ============ */
.app-cta{padding:80px 0;background:var(--grad-navy);color:#fff;position:relative;overflow:hidden;}
.app-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center;}
.app-title{font-size:40px;line-height:1.2;font-weight:900;margin-bottom:8px;}
.app-subtitle{font-size:22px;font-weight:800;color:#fff;margin-bottom:22px;}
.app-desc{font-size:15px;line-height:1.9;color:rgba(255,255,255,.62);margin-bottom:14px;}
.app-features{display:flex;flex-direction:column;gap:14px;margin:26px 0 30px;}
.app-features li{display:flex;align-items:center;gap:12px;color:rgba(255,255,255,.88);font-size:15px;}
.app-ico{flex:0 0 24px;width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;font-size:15px;}
.ico-green{color:#22c55e;}.ico-blue{color:#3b82f6;}.ico-gold{color:#f5b400;}.ico-cyan{color:#22d3ee;}.ico-purple{color:#a78bfa;}
.app-actions{display:flex;gap:16px;flex-wrap:wrap;}
.btn-pill{display:inline-block;padding:14px 32px;border-radius:999px;font-weight:700;font-size:15px;}
.btn-pill-blue{background:var(--blue);color:#fff;box-shadow:0 10px 26px rgba(59,130,246,.4);}
.btn-pill-blue:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(59,130,246,.55);}
.btn-pill-gold{background:var(--grad-gold);color:#1b263b;box-shadow:0 10px 26px rgba(245,180,0,.3);}
.btn-pill-gold:hover{transform:translateY(-3px);}
.btn-pill-ghost{border:1.5px solid rgba(255,255,255,.55);color:#fff;}
.btn-pill-ghost:hover{background:rgba(255,255,255,.12);}
.app-visual{display:flex;justify-content:center;}
.app-shot{position:relative;width:100%;max-width:560px;}
.app-shot img{width:100%;height:auto;border-radius:20px;box-shadow:0 20px 50px rgba(0,0,0,.4);}
.rating-badge{position:absolute;top:18px;left:18px;background:#fff;color:var(--navy-800);border-radius:14px;padding:12px 18px;box-shadow:var(--shadow);}
.rating-top{display:flex;align-items:center;gap:8px;}
.rating-stars{color:var(--gold);font-size:15px;letter-spacing:1px;}
.rating-score{font-size:14px;font-weight:800;}
.rating-label{font-size:12px;color:var(--muted);margin-top:4px;}

/* ============ Latest (list + sidebar) ============ */
.latest{padding:72px 0;background:var(--bg-soft);}
.content-wrapper{display:grid;grid-template-columns:1fr 320px;gap:30px;align-items:start;}
.main-content{min-width:0;}
.category-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;}
.category-header h3{font-size:22px;font-weight:900;color:var(--navy-800);position:relative;padding-left:14px;}
.category-header h3::before{content:"";position:absolute;left:0;top:4px;bottom:4px;width:5px;border-radius:4px;background:var(--grad-gold);}
.more-link{font-size:14px;color:var(--orange);font-weight:600;}
.more-link:hover{text-decoration:underline;}

.list-wrap{display:flex;flex-direction:column;gap:16px;}
.list-item{display:grid;grid-template-columns:220px 1fr;gap:18px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:14px;box-shadow:var(--shadow-sm);}
.list-item:hover{box-shadow:var(--shadow);border-color:transparent;}
.list-thumb{overflow:hidden;border-radius:12px;aspect-ratio:16/11;}
.list-thumb img{width:100%;height:100%;object-fit:cover;border-radius:0;transition:transform .5s;}
.list-item:hover .list-thumb img{transform:scale(1.06);}
.list-body{display:flex;flex-direction:column;justify-content:center;min-width:0;}
.list-body h4{font-size:18px;font-weight:800;color:var(--navy-800);line-height:1.5;margin-bottom:8px;}
.list-body h4 a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.list-body h4 a:hover{color:var(--orange);}
.list-desc{font-size:14px;color:var(--muted);margin-bottom:10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.list-meta{display:flex;gap:18px;font-size:13px;color:#94a3b8;}

/* ============ Sidebar / widgets ============ */
.sidebar{display:flex;flex-direction:column;gap:22px;position:sticky;top:88px;}
.widget{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm);overflow:hidden;}
.widget-mt{margin-top:24px;}
.widget-title{font-size:17px;font-weight:800;color:var(--navy-800);padding:16px 20px;border-bottom:1px solid var(--line);position:relative;padding-left:30px;}
.widget-title::before{content:"";position:absolute;left:16px;top:50%;transform:translateY(-50%);width:5px;height:16px;border-radius:4px;background:var(--grad-gold);}
.widget-body{padding:16px 20px;}
.hot-list{display:flex;flex-direction:column;gap:14px;}
.hot-list li{display:flex;gap:12px;}
.hot-num{flex:0 0 24px;height:24px;line-height:24px;text-align:center;border-radius:7px;background:#eef2f7;color:var(--muted);font-weight:800;font-size:13px;}
.hot-list li:nth-child(-n+3) .hot-num{background:var(--grad-gold);color:#1b263b;}
.hot-main{min-width:0;}
.hot-main a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;color:var(--text);line-height:1.5;}
.hot-main a:hover{color:var(--orange);}
.item-date{font-size:12px;color:#94a3b8;margin-top:2px;}
.plain-list li{padding:9px 0;border-bottom:1px dashed var(--line);}
.plain-list li:last-child{border-bottom:0;}
.plain-list a{font-size:14px;color:var(--text);display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;}
.plain-list a:hover{color:var(--orange);}
.tag-cloud{display:flex;flex-wrap:wrap;gap:9px;}
.tag-cloud a{font-size:13px;color:var(--muted);background:var(--bg-soft);border:1px solid var(--line);padding:6px 12px;border-radius:999px;}
.tag-cloud a:hover{background:var(--grad-gold);color:#1b263b;border-color:transparent;}
.tag-cloud.big a{font-size:14px;padding:8px 16px;}

/* ============ 即时动态 资讯卡片 ============ */
.newszone{padding:72px 0;background:var(--bg-soft);}
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.news-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:26px 24px;box-shadow:var(--shadow-sm);transition:transform .25s,box-shadow .25s;}
.news-card:hover{transform:translateY(-6px);box-shadow:var(--shadow);}
.news-thumb{display:block;aspect-ratio:16/10;overflow:hidden;border-radius:12px;margin-bottom:16px;background:var(--bg-soft);}
.news-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s ease;}
.news-card:hover .news-thumb img{transform:scale(1.06);}
.news-title{font-size:18px;font-weight:800;line-height:1.5;margin-bottom:10px;}
.news-title a{color:var(--navy-800);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.news-title a:hover{color:var(--orange);}
.news-desc{flex:1 1 auto;font-size:14px;line-height:1.8;color:var(--muted);margin-bottom:18px;}
.news-foot{display:flex;align-items:center;justify-content:space-between;margin-top:auto;}
.news-date{font-size:13px;color:#94a3b8;}
.news-more{font-size:13px;font-weight:700;color:var(--gold);border:1px solid var(--gold);border-radius:999px;padding:5px 16px;}
.news-more:hover{background:var(--grad-gold);color:#1b263b;border-color:transparent;}

/* ============ Breadcrumb ============ */
.breadcrumb-nav{padding:20px 0 6px;font-size:14px;color:var(--muted);}
.breadcrumb-nav a{color:var(--muted);}
.breadcrumb-nav a:hover{color:var(--orange);}
.breadcrumb-nav li{display:inline;}
.breadcrumb-nav li:not(:last-child)::after{content:"/";margin:0 8px;color:#cbd5e1;}

/* ============ Article detail ============ */
.article-detail{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:34px 36px;box-shadow:var(--shadow-sm);}
.detail-header{text-align:center;padding-bottom:22px;border-bottom:1px solid var(--line);margin-bottom:26px;}
.detail-header h1{font-size:30px;line-height:1.4;font-weight:900;color:var(--navy-800);margin-bottom:16px;}
.detail-meta{display:flex;gap:22px;justify-content:center;flex-wrap:wrap;font-size:13px;color:var(--muted);}
.detail-tags{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:16px;}
.detail-tags a{font-size:13px;color:var(--orange);background:rgba(245,180,0,.1);padding:4px 12px;border-radius:999px;}
.detail-body{font-size:16px;color:#374151;line-height:1.95;word-break:break-word;}
.detail-body p{margin-bottom:16px;}
.detail-body img{margin:18px auto;border-radius:14px;box-shadow:var(--shadow-sm);}
.detail-body h2,.detail-body h3{color:var(--navy-800);margin:26px 0 14px;font-weight:800;}
.detail-body ul,.detail-body ol{margin:0 0 16px 22px;}
.detail-body ul{list-style:disc;}.detail-body ol{list-style:decimal;}
.detail-body blockquote{border-left:4px solid var(--gold);background:var(--bg-soft);padding:14px 18px;margin:18px 0;border-radius:0 12px 12px 0;color:var(--muted);}
.detail-body a{color:var(--blue);}
.detail-body a:hover{text-decoration:underline;}

/* ============ 单页（关于我们/隐私政策等） ============ */
.page-single{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:48px 56px;box-shadow:var(--shadow-sm);max-width:900px;margin:0 auto 60px;}
.page-single-head{text-align:center;margin-bottom:30px;}
.page-single-head h1{font-size:32px;line-height:1.4;font-weight:900;color:var(--navy-800);margin:0 0 14px;}
.page-single-line{display:inline-block;width:56px;height:4px;border-radius:999px;background:var(--grad-gold);}
.page-single .detail-body{font-size:16px;color:#374151;}
@media (max-width:768px){.page-single{padding:26px 18px;margin-bottom:36px;}.page-single-head h1{font-size:24px;}}

.article-nav{display:flex;gap:16px;margin-top:30px;}
.article-nav-item{flex:1;background:var(--bg-soft);border:1px solid var(--line);border-radius:12px;padding:14px 18px;}
.article-nav-item.next{text-align:right;}
.article-nav-item p{font-size:12px;color:#94a3b8;margin-bottom:4px;}
.article-nav-item a{font-size:15px;color:var(--text);font-weight:600;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;}
.article-nav-item a:hover{color:var(--orange);}

.related-section{margin-top:34px;}
.related-section h3{font-size:20px;font-weight:900;color:var(--navy-800);margin-bottom:18px;padding-left:12px;border-left:5px solid var(--gold);}
.related-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;}
.related-card{display:grid;grid-template-columns:120px 1fr;gap:12px;background:var(--bg-soft);border:1px solid var(--line);border-radius:12px;padding:10px;}
.related-card:hover{box-shadow:var(--shadow-sm);}
.related-thumb{border-radius:9px;overflow:hidden;aspect-ratio:4/3;}
.related-thumb img{width:100%;height:100%;object-fit:cover;border-radius:0;}
.related-info{display:flex;flex-direction:column;justify-content:center;min-width:0;}
.related-info h4{font-size:15px;font-weight:700;color:var(--navy-800);line-height:1.45;margin-bottom:8px;}
.related-info h4 a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.related-info h4 a:hover{color:var(--orange);}
.related-info .date{font-size:12px;color:#94a3b8;}

/* ============ Pagination ============ */
.pagination-wrap{margin-top:28px;display:flex;justify-content:center;}
.pagination-wrap .page-link,.pagination-wrap a,.pagination-wrap span{
    display:inline-block;min-width:40px;text-align:center;padding:9px 14px;margin:0 3px;
    border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--text);font-size:14px;
}
.pagination-wrap .active>span,.pagination-wrap a:hover,.pagination-wrap span.current{
    background:var(--grad-navy);color:#fff;border-color:transparent;
}
.pagination-wrap .disabled{opacity:.5;}

/* ============ Search ============ */
.search-section{margin:26px 0;}
.search-title{text-align:center;font-size:22px;font-weight:900;color:var(--navy-800);margin-bottom:18px;}
.search-form{display:flex;max-width:620px;margin:0 auto;gap:10px;}
.search-form input[type=text]{flex:1;height:50px;padding:0 18px;border:1px solid var(--line);border-radius:999px;font-size:15px;background:#fff;color:var(--text);}
.search-form input[type=text]:focus{outline:none;border-color:var(--gold);}
.search-form input[type=submit]{width:110px;height:50px;border:0;border-radius:999px;background:var(--grad-gold);color:#1b263b;font-weight:800;font-size:15px;cursor:pointer;}
.search-form input[type=submit]:hover{filter:brightness(1.05);}
.empty-tip{text-align:center;padding:70px 20px;color:#94a3b8;background:#fff;border:1px solid var(--line);border-radius:var(--radius);}
.empty-emoji{font-size:48px;margin-bottom:12px;}

/* ============ DIY / tag header ============ */
.diy-page{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:34px 36px;box-shadow:var(--shadow-sm);margin:26px 0;}
.diy-page h1{font-size:28px;color:var(--navy-800);font-weight:900;margin-bottom:20px;}
.tag-detail-header{display:flex;align-items:center;gap:16px;background:var(--grad-navy);color:#fff;border-radius:var(--radius);padding:26px 28px;margin-bottom:20px;}
.tag-icon{width:54px;height:54px;flex:0 0 54px;border-radius:14px;background:var(--grad-gold);color:#1b263b;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:900;}
.tag-info h2{font-size:24px;font-weight:900;}
.tag-info p{color:rgba(255,255,255,.75);font-size:14px;margin-top:4px;}

/* ============ Footer ============ */
.site-footer{background:linear-gradient(135deg,#160f2e 0%,#241033 45%,#3d0b40 100%);color:#fff;padding:56px 0 26px;}
.footer-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;padding-bottom:30px;}
.fcard{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.09);border-radius:16px;padding:22px;}
.ftitle{font-size:16px;font-weight:800;margin-bottom:14px;display:flex;align-items:center;gap:8px;}
.t-info{color:#38bdf8;}
.t-warning{color:#fbbf24;}
.t-success{color:#34d399;}
.t-primary{color:#60a5fa;}
.footer-desc{font-size:13px;color:rgba(255,255,255,.6);line-height:1.9;}
.flist{display:flex;flex-direction:column;gap:10px;}
.flist li{font-size:14px;color:rgba(255,255,255,.68);line-height:1.5;}
.flist li a{color:rgba(255,255,255,.68);}
.flist li a:hover{color:var(--gold-2);}
.fi{margin-right:8px;}
.footer-icp{margin-top:12px;font-size:12px;color:rgba(255,255,255,.4);}
.footer-friends{border-top:1px solid rgba(255,255,255,.12);padding-top:18px;margin-top:6px;}
.footer-friends ul{display:flex;flex-wrap:wrap;gap:16px;}
.footer-friends .friends-label{color:rgba(255,255,255,.5);font-size:13px;}
.footer-friends li a{font-size:13px;color:rgba(255,255,255,.6);}
.footer-friends li a:hover{color:var(--gold-2);}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:26px;padding-top:20px;text-align:center;font-size:13px;color:rgba(255,255,255,.55);}
.footer-bottom a{color:rgba(255,255,255,.7);}
.footer-bottom a:hover{color:var(--gold-2);}

/* ============ Back to top ============ */
#backTop{
    position:fixed;right:22px;bottom:28px;width:46px;height:46px;border:0;border-radius:50%;
    background:var(--grad-gold);color:#1b263b;font-size:20px;cursor:pointer;display:none;
    align-items:center;justify-content:center;box-shadow:0 8px 22px rgba(245,180,0,.4);z-index:998;
}
#backTop:hover{transform:translateY(-3px);}

/* ============ Responsive ============ */
@media (max-width:992px){
    .about-grid,.app-grid{grid-template-columns:1fr;gap:34px;}
    .faq-grid{grid-template-columns:1fr;}
    .faq-nav{position:static;flex-direction:row;flex-wrap:wrap;}
    .faq-navlink{flex:1 1 45%;}
    .content-wrapper{grid-template-columns:1fr;}
    .sidebar{position:static;}
    .service-grid,.featured-grid{grid-template-columns:repeat(2,1fr);}
    .news-grid{grid-template-columns:repeat(2,1fr);}
    .service-card,.service-card:nth-child(n+4){grid-column:span 1;}
    .footer-grid{grid-template-columns:1fr 1fr;}
    .hero-title{font-size:40px;}
    .app-text h2{font-size:30px;}
}
@media (max-width:768px){
    .nav-toggle{display:flex;}
    .main-nav{position:fixed;top:68px;left:0;right:0;background:var(--navy-800);margin-left:0;
        max-height:0;overflow:hidden;transition:max-height .35s ease;box-shadow:0 12px 24px rgba(0,0,0,.25);}
    .main-nav.open{max-height:70vh;overflow:auto;}
    .main-nav>ul{flex-direction:column;align-items:stretch;padding:10px 18px 20px;gap:2px;}
    .main-nav>ul>li>a{padding:13px 8px;border-bottom:1px solid rgba(255,255,255,.08);}
    .main-nav .dropdown{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;background:transparent;padding:0 0 0 14px;min-width:0;}
    .main-nav .dropdown li a{color:rgba(255,255,255,.7);padding:9px 8px;}
    .main-nav .dropdown li a:hover{background:transparent;color:var(--gold-2);}
    .nav-cta{display:none;}
    .hero{padding:60px 0 96px;}
    .hero-title{font-size:32px;}
    .hero-sub{font-size:15px;}
    .hero-stats{gap:26px;}
    .list-item{grid-template-columns:120px 1fr;gap:12px;}
    .news-grid{grid-template-columns:1fr;}
    .list-desc{display:none;}
    .related-grid{grid-template-columns:1fr;}
    .service-grid,.featured-grid{grid-template-columns:1fr;}
    .service-card,.service-card:nth-child(n+4){grid-column:span 1;}
    .footer-grid{grid-template-columns:1fr;}
    .article-detail{padding:22px 18px;}
    .detail-header h1{font-size:23px;}
    .section-title,.section-title-dark{font-size:25px;}
    .app-visual{justify-content:flex-start;}
    .app-shot{max-width:100%;}
}
