@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
:root{--bg:#f4f6f8;--panel:#fff;--text:#1a1d23;--muted:#6b7280;--line:#e5e7eb;--red:#e11d2a;--red2:#b4121d;--navy:#111827;--shadow:0 2px 12px rgba(15,23,42,.07);--radius:12px}
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:Inter,Arial,sans-serif;background:var(--bg);color:var(--text);font-size:14px;line-height:1.5}
a{color:inherit;text-decoration:none}button,input,select,textarea{font-family:inherit}button{cursor:pointer}
.wrap{max-width:1240px;margin:0 auto;padding:0 20px}
/* progress */
.progress-bar{position:fixed;top:0;left:0;height:3px;width:0;background:linear-gradient(90deg,var(--red),#ff7a00);z-index:200;transition:width .1s}
/* topbar */
.topbar{background:var(--navy);color:#cbd5e1;font-size:12px}
.topbar-inner{display:flex;align-items:center;justify-content:space-between;height:34px}
.topbar-left{display:flex;align-items:center;gap:8px}
.live-dot{width:7px;height:7px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.2)}
.topbar-right{display:flex;align-items:center;gap:14px}
.topbar-slogan{letter-spacing:.4px;opacity:.8}
.icon-btn{background:none;border:none;color:#cbd5e1;display:grid;place-items:center;padding:4px}
.icon-btn svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2}
.admin-link{display:flex;align-items:center;gap:5px;color:#fff;font-weight:600}
.admin-link svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2}
/* header */
.site-header{background:#fff;border-bottom:3px solid var(--red);position:sticky;top:0;z-index:100;transition:box-shadow .2s}
.site-header.scrolled{box-shadow:0 4px 16px rgba(0,0,0,.1)}
.header-inner{display:flex;align-items:center;justify-content:space-between;min-height:78px;gap:20px}
.brand img{display:block;height:52px;width:auto;object-fit:contain}
.main-nav{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.main-nav a{padding:9px 13px;font-size:13px;font-weight:700;color:#374151;border-radius:6px;transition:.2s}
.main-nav a:hover,.main-nav a.active{background:var(--red);color:#fff}
.menu-btn{display:none;background:none;border:none;flex-direction:column;gap:4px}
.menu-btn span{display:block;width:22px;height:2px;background:#111}
/* ticker */
.ticker{background:linear-gradient(90deg,#b4121d,#e11d2a);color:#fff;overflow:hidden}
.ticker-inner{display:flex;align-items:center;height:38px;gap:14px}
.ticker-label{display:flex;align-items:center;gap:6px;font-weight:900;font-size:11px;letter-spacing:1px;white-space:nowrap;background:rgba(0,0,0,.2);padding:5px 10px;border-radius:4px}
.pulse{width:7px;height:7px;background:#fff;border-radius:50%;animation:pulse 1.4s infinite}
@keyframes pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(.7)}}
.ticker-track{flex:1;overflow:hidden;white-space:nowrap;position:relative;mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent)}
.ticker-content{display:inline-flex;gap:40px;animation:scroll 55s linear infinite}
.ticker-content span a{font-size:12px;font-weight:500;color:#fff}
@keyframes scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
/* search */
.search-panel{display:none;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 8px 20px rgba(0,0,0,.08);padding:18px 0;position:relative;z-index:90}
.search-panel.show{display:block}
.search-form{display:flex;align-items:center;border:2px solid var(--line);border-radius:10px;padding:4px 6px 4px 14px}
.search-form svg{width:20px;height:20px;fill:none;stroke:var(--muted);stroke-width:2}
.search-form input{flex:1;border:none;outline:none;padding:10px;font-size:15px;background:transparent;color:var(--text)}
.search-form button{border:none;background:var(--red);color:#fff;font-weight:700;padding:10px 22px;border-radius:7px}
.search-close{background:none!important;color:var(--muted)!important;font-size:26px!important;padding:0 10px!important}
.search-results{max-width:700px;margin-top:12px}
.search-item{display:flex;gap:12px;padding:9px;border-radius:8px;align-items:center}
.search-item:hover{background:#f6f7f9}
.search-item img{width:64px;height:44px;object-fit:cover;border-radius:5px}
.search-item h4{font-size:13px;margin-bottom:2px}
.search-item span{font-size:11px;color:var(--muted)}
.search-empty{padding:14px;color:var(--muted)}
/* hero */
.hero{padding-top:28px}
.hero-main{display:grid;grid-template-columns:1.55fr 1fr;gap:22px}
.hero-feature{display:block;position:relative;border-radius:14px;overflow:hidden;min-height:430px;background:#111;color:#fff}
.hero-feature-img{position:absolute;inset:0}
.hero-feature-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.hero-feature:hover img{transform:scale(1.04)}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.92) 0%,rgba(0,0,0,.55) 45%,rgba(0,0,0,.05) 100%)}
.hero-feature-content{position:absolute;bottom:0;padding:28px;z-index:2}
.hero-badge{display:inline-block;background:var(--red);padding:5px 11px;border-radius:4px;font-size:11px;font-weight:800;letter-spacing:.5px;margin-bottom:12px}
.hero-feature-content h1{font-family:'Playfair Display',Georgia,serif;font-size:34px;line-height:1.2;margin-bottom:10px}
.hero-feature-content p{font-size:13px;color:#e5e7eb;margin-bottom:14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hero-read{font-size:13px;font-weight:700;display:inline-flex;align-items:center;gap:7px;color:#fff}
.hero-read svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2}
.hero-side{display:flex;flex-direction:column;gap:12px}
.hero-side-item{display:flex;gap:12px;background:#fff;border:1px solid var(--line);border-radius:11px;padding:12px;flex:1;transition:.2s;overflow:hidden}
.hero-side-item:hover{border-color:var(--red);transform:translateY(-2px);box-shadow:var(--shadow)}
.hero-side-item.first{flex:1.3;flex-direction:column;padding:0}
.hero-side-item.first img{width:100%;height:150px;object-fit:cover}
.hero-side-item.first h3{font-size:16px}
.hero-side-item>div{display:flex;flex-direction:column;justify-content:center}
.card-cat{font-size:10px;font-weight:800;color:var(--red);text-transform:uppercase;letter-spacing:.5px;margin-bottom:4px}
.card-date{font-size:11px;color:var(--muted);margin-top:5px}
.hero-side-item h3{font-size:14px;line-height:1.35;font-weight:700}
/* sections */
.section{margin-top:44px}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;border-bottom:2px solid var(--line);padding-bottom:12px;margin-bottom:22px;flex-wrap:wrap}
.section-kicker{font-size:11px;font-weight:800;color:var(--red);letter-spacing:1.4px;text-transform:uppercase}
.section-title{font-family:'Playfair Display',Georgia,serif;font-size:27px;font-weight:800;margin-top:2px}
.section-title span{color:var(--red)}
.filter-tabs{display:flex;gap:6px;flex-wrap:wrap}
.tab{border:1px solid var(--line);background:#fff;padding:7px 13px;border-radius:20px;font-size:12px;font-weight:600;color:#4b5563;transition:.2s}
.tab:hover,.tab.active{background:var(--red);color:#fff;border-color:var(--red)}
.content-layout{display:grid;grid-template-columns:1fr 310px;gap:26px}
.article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.card{display:block;background:#fff;border-radius:12px;overflow:hidden;border:1px solid var(--line);transition:.22s}
.card:hover{transform:translateY(-4px);box-shadow:0 10px 26px rgba(0,0,0,.11)}
.card-img{position:relative;height:170px;overflow:hidden;background:#e5e7eb}
.card-img img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.card:hover .card-img img{transform:scale(1.06)}
.card-cat-badge{position:absolute;top:10px;left:10px;background:var(--red);color:#fff;font-size:10px;font-weight:800;padding:4px 9px;border-radius:4px}
.card-body{padding:15px}
.card-body h3{font-size:15px;font-weight:800;line-height:1.38;margin-bottom:7px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card-body p{font-size:12px;color:var(--muted);line-height:1.5;margin-bottom:11px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card-meta{display:flex;justify-content:space-between;font-size:10px;color:#9ca3af;border-top:1px solid #f1f2f4;padding-top:9px}
.compact-card{display:flex;gap:11px;padding:11px 0;border-bottom:1px solid var(--line);align-items:flex-start}
.compact-img{width:82px;height:62px;flex-shrink:0;border-radius:7px;overflow:hidden;background:#eee}
.compact-img img{width:100%;height:100%;object-fit:cover}
.compact-body h3{font-size:13px;font-weight:700;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.compact-card:hover h3{color:var(--red)}
/* sidebar */
.sidebar{display:flex;flex-direction:column;gap:20px}
.widget{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px}
.widget-head{border-bottom:3px solid var(--navy);margin-bottom:14px}
.widget-head h3{display:inline-block;font-size:15px;font-weight:900;padding-bottom:9px;position:relative;top:2px}
.widget-head h3::after{content:'';position:absolute;left:0;right:0;bottom:-3px;height:3px;background:var(--red)}
.popular-list{list-style:none;counter-reset:pop}
.popular-list li{display:flex;gap:12px;padding:11px 0;border-bottom:1px solid #f0f1f3}
.popular-list li:last-child{border-bottom:none}
.pop-num{font-family:'Playfair Display',serif;font-size:26px;font-weight:800;color:#dfe2e6;line-height:1;min-width:28px}
.popular-list li:nth-child(-n+3) .pop-num{color:var(--red)}
.popular-list a{font-size:13px;font-weight:700;line-height:1.35;display:block;margin:2px 0 3px}
.popular-list a:hover{color:var(--red)}
.wa-widget{background:linear-gradient(145deg,#0a7c43,#128c4e);color:#fff;border:none;text-align:center;padding:22px 18px}
.wa-widget-icon{width:44px;height:44px;background:rgba(255,255,255,.18);border-radius:50%;display:grid;place-items:center;margin:0 auto 10px}
.wa-widget-icon svg{width:24px;height:24px;fill:#fff}
.wa-widget h3{font-size:17px;font-weight:800;margin-bottom:7px;position:static}
.wa-widget h3::after{display:none}
.wa-widget p{font-size:12px;color:#d6f5e4;margin-bottom:14px;line-height:1.5}
.wa-cta{display:inline-block;background:#fff;color:#0a7c43;font-size:12px;font-weight:800;padding:9px 16px;border-radius:7px;transition:.2s}
.wa-cta:hover{background:#eafff2;transform:translateY(-2px)}
.tag-cloud{display:flex;flex-wrap:wrap;gap:7px}
.tag-cloud a{font-size:11px;font-weight:600;background:#f3f4f6;color:#4b5563;padding:5px 10px;border-radius:20px;transition:.2s}
.tag-cloud a:hover{background:var(--red);color:#fff}
.load-more-wrap{text-align:center;margin-top:30px}
.load-more{border:2px solid var(--red);background:#fff;color:var(--red);font-weight:800;font-size:13px;padding:12px 34px;border-radius:8px;transition:.2s}
.load-more:hover{background:var(--red);color:#fff}
/* gallery */
.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.gallery-card{border-radius:11px;overflow:hidden;background:#fff;border:1px solid var(--line);transition:.2s}
.gallery-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.gallery-card img{width:100%;height:150px;object-fit:cover;display:block}
.gallery-info{padding:12px}
.gallery-info span{font-size:10px;font-weight:800;color:var(--red);text-transform:uppercase}
.gallery-info h4{font-size:13px;font-weight:700;line-height:1.4;margin-top:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
/* footer */
.footer{background:var(--navy);color:#cbd5e1;margin-top:60px;padding:46px 0 0}
.footer-inner{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.2fr;gap:36px;padding-bottom:34px}
.footer-logo{height:48px;margin-bottom:14px;filter:brightness(1.1)}
.footer-brand p{font-size:12px;line-height:1.7;color:#9ca3af;max-width:280px}
.socials{display:flex;gap:9px;margin-top:16px}
.socials a{width:34px;height:34px;background:#25D366;border-radius:7px;display:grid;place-items:center}
.socials svg{width:17px;height:17px;fill:#fff}
.footer-col h4{color:#fff;font-size:13px;font-weight:800;margin-bottom:14px;text-transform:uppercase;letter-spacing:.5px}
.footer-col a,.footer-col p{display:block;font-size:12px;color:#9ca3af;margin-bottom:9px}
.footer-col a:hover{color:#fff}
.footer-wa{color:#25D366!important;font-weight:700}
.footer-bottom{border-top:1px solid #374151;padding-top:18px;padding-bottom:20px;display:flex;justify-content:space-between;font-size:11px;color:#9ca3af;flex-wrap:wrap;gap:8px}
/* floating wa */
.wa-float{position:fixed;right:24px;bottom:26px;width:58px;height:58px;border-radius:50%;background:#25D366;display:grid;place-items:center;box-shadow:0 6px 22px rgba(37,211,102,.45);z-index:150;transition:.25s;animation:float 3s ease-in-out infinite}
.wa-float:hover{transform:scale(1.1);background:#1ebe5d}
.wa-float svg{width:30px;height:30px;fill:#fff}
.wa-tooltip{position:absolute;right:68px;background:#111827;color:#fff;font-size:11px;font-weight:700;padding:7px 11px;border-radius:6px;white-space:nowrap;opacity:0;pointer-events:none;transition:.2s}
.wa-float:hover .wa-tooltip{opacity:1;right:70px}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
/* article page */
.article-page{padding-top:26px;min-height:60vh}
.breadcrumb{font-size:12px;color:var(--muted);margin-bottom:20px;display:flex;gap:8px;flex-wrap:wrap}
.breadcrumb a:hover{color:var(--red)}
.article-layout{display:grid;grid-template-columns:1fr 310px;gap:28px}
.article-main{background:#fff;border:1px solid var(--line);border-radius:14px;padding:32px;max-width:860px}
.article-cat-tag{display:inline-block;background:var(--red);color:#fff;font-size:11px;font-weight:800;padding:5px 12px;border-radius:4px;margin-bottom:14px}
.article-title{font-family:'Playfair Display',Georgia,serif;font-size:36px;line-height:1.25;font-weight:800;margin-bottom:15px}
.article-meta{display:flex;gap:18px;flex-wrap:wrap;font-size:12px;color:var(--muted);border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:22px}
.article-meta b{color:var(--text)}
.article-cover{width:100%;max-height:440px;object-fit:cover;border-radius:10px;margin-bottom:20px}
.article-share{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:24px;font-size:12px;font-weight:700}
.article-share a{padding:7px 12px;border-radius:6px;color:#fff;font-weight:700;font-size:11px}
.share-fb{background:#1877f2}.share-tw{background:#111}.share-wa{background:#25D366}
.article-body{font-size:16px;line-height:1.85;color:#374151}
.article-body p{margin-bottom:20px}
.article-tags{margin-top:30px;padding-top:18px;border-top:1px solid var(--line);font-size:13px;display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.article-tags a{background:#f3f4f6;color:#4b5563;padding:5px 11px;border-radius:20px;font-size:12px;font-weight:600}
.article-tags a:hover{background:var(--red);color:#fff}
.article-author-box{display:flex;gap:14px;background:#f8f9fb;border-radius:10px;padding:18px;margin-top:28px;align-items:center}
.author-avatar{width:48px;height:48px;border-radius:50%;background:var(--red);color:#fff;display:grid;place-items:center;font-weight:900;font-size:16px;flex-shrink:0}
.article-author-box b{font-size:14px}
.article-author-box p{font-size:12px;color:var(--muted);margin-top:3px}
.related-item{display:flex;gap:10px;padding:11px 0;border-bottom:1px solid var(--line)}
.related-item img{width:72px;height:54px;object-fit:cover;border-radius:6px;flex-shrink:0}
.related-item h4{font-size:12px;font-weight:700;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.related-item:hover h4{color:var(--red)}
.related-cat{font-size:10px;color:var(--red);font-weight:800;text-transform:uppercase}
.empty-state{grid-column:1/-1;padding:40px;text-align:center;color:var(--muted)}
/* dark */
html.dark{--bg:#0f1115;--panel:#1a1d23;--text:#e5e7eb;--muted:#9ca3af;--line:#2d3139}
html.dark .site-header,html.dark .card,html.dark .widget,html.dark .hero-side-item,html.dark .gallery-card,html.dark .article-main,html.dark .search-panel{background:var(--panel);color:var(--text);border-color:var(--line)}
html.dark .main-nav a{color:#d1d5db}
html.dark .main-nav a.active,html.dark .main-nav a:hover{color:#fff}
html.dark .topbar,html.dark .footer{background:#0a0c0f}
html.dark .tab,html.dark .load-more,html.dark .search-form{background:var(--panel);color:var(--text);border-color:var(--line)}
html.dark .article-author-box{background:#20242b}
html.dark .card-meta{border-color:var(--line)}
/* responsive */
@media(max-width:1000px){.hero-main,.content-layout,.article-layout{grid-template-columns:1fr}.article-grid{grid-template-columns:repeat(2,1fr)}.gallery-grid{grid-template-columns:repeat(2,1fr)}.sidebar{display:grid;grid-template-columns:repeat(2,1fr)}.main-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;padding:12px 20px;box-shadow:0 8px 20px rgba(0,0,0,.1)}.main-nav.open{display:flex}.menu-btn{display:flex}.footer-inner{grid-template-columns:repeat(2,1fr)}html.dark .main-nav{background:#1a1d23}}
@media(max-width:640px){.article-grid,.gallery-grid{grid-template-columns:1fr}.sidebar{grid-template-columns:1fr}.hero-feature{min-height:340px}.hero-feature-content h1{font-size:25px}.article-main{padding:20px}.article-title{font-size:27px}.topbar-slogan{display:none}.footer-inner{grid-template-columns:1fr}.brand img{height:42px}}
