/* === AKG NEWS PREMIUM CSS === */
:root {
  --primary: #e11d48;
  --primary-dark: #9f1239;
  --accent: #f59e0b;
  --bg: #f1f5f9;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.12);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.16);
  --radius: 12px;
  --font: 'Outfit', sans-serif;
  --transition: all .28s cubic-bezier(.4,0,.2,1);
}
[data-theme="dark"] {
  --bg: #0a0f1e;
  --surface: #111827;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --border: #1e293b;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.4);
  --shadow-md: 0 4px 16px rgba(0,0,0,.5);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.6);
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:var(--font);background:var(--bg);color:var(--text);line-height:1.6;transition:background .3s,color .3s}
a{text-decoration:none;color:inherit;transition:var(--transition)}
img{max-width:100%;height:auto;display:block}
.container{max-width:1280px;margin:0 auto;padding:0 1.25rem}

/* === TOP BAR === */
.top-bar{background:#0f172a;color:#94a3b8;font-size:.8rem;padding:.4rem 0;border-bottom:1px solid #1e293b}
.top-bar .container{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}
.top-bar-date{font-weight:500;color:#cbd5e1}
.top-bar-links{display:flex;gap:1.25rem}
.top-bar-links a{color:#94a3b8;transition:color .2s}
.top-bar-links a:hover{color:#e11d48}

/* === NAVBAR === */
.navbar{background:var(--surface);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:200;box-shadow:var(--shadow-sm);transition:background .3s,border-color .3s}
.nav-container{display:flex;align-items:center;justify-content:space-between;height:70px}
.logo{font-size:1.7rem;font-weight:800;letter-spacing:-1px;background:linear-gradient(135deg,var(--primary),#f97316);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.nav-links{display:flex;gap:.8rem;align-items:center;flex-wrap:nowrap}
.nav-links a{font-weight:600;font-size:.86rem;text-transform:uppercase;letter-spacing:.3px;padding:.4rem .15rem;position:relative;color:var(--text);white-space:nowrap}
.nav-links a::after{content:'';position:absolute;bottom:0;left:0;width:0;height:2px;background:var(--primary);transition:width .3s}
.nav-links a:hover::after,.nav-links a.active::after{width:100%}
.nav-links a:hover,.nav-links a.active{color:var(--primary)}
.nav-actions{display:flex;align-items:center;gap:.75rem}
.nav-actions button{background:none;border:none;cursor:pointer;color:var(--text);display:flex;align-items:center;justify-content:center;padding:.5rem;border-radius:50%;transition:var(--transition)}
.nav-actions button:hover{background:var(--border);color:var(--primary)}
.menu-toggle{display:none !important}

/* === BREAKING NEWS TICKER === */
.breaking-ticker{background:var(--primary);color:#fff;padding:.5rem 0;overflow:hidden;font-size:.875rem;font-weight:600}
.breaking-ticker .container{display:flex;align-items:center;gap:1rem}
.ticker-badge{background:#fff;color:var(--primary);padding:.2rem .7rem;border-radius:4px;font-weight:800;font-size:.72rem;text-transform:uppercase;letter-spacing:.5px;white-space:nowrap;flex-shrink:0;animation:pulse 2s ease-in-out infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.7}}
.ticker-wrap{overflow:hidden;flex:1;position:relative}
.ticker-text{display:inline-block;white-space:nowrap;animation:ticker 35s linear infinite;padding-left:100%}
@keyframes ticker{0%{transform:translateX(0)}100%{transform:translateX(-100%)}}
.ticker-text a{color:#fff;margin-right:3rem;opacity:.92}
.ticker-text a:hover{opacity:1;text-decoration:underline}

/* === HERO === */
.hero{margin:1.5rem 0 2.5rem}
.hero-article{position:relative;border-radius:var(--radius);overflow:hidden;aspect-ratio:21/9;box-shadow:var(--shadow-lg)}
.hero-img{width:100%;height:100%;object-fit:cover;transition:transform .8s ease}
.hero-article:hover .hero-img{transform:scale(1.04)}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.9) 0%,rgba(0,0,0,.4) 50%,transparent 100%)}
.hero-content{position:absolute;bottom:0;left:0;right:0;padding:2.5rem;color:#fff}
.hero-category{display:inline-block;background:var(--primary);color:#fff;padding:.25rem .8rem;border-radius:4px;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px;margin-bottom:.75rem}
.hero-content h1{font-size:2.6rem;font-weight:800;line-height:1.15;margin-bottom:.75rem;text-shadow:0 2px 8px rgba(0,0,0,.5)}
.hero-meta{font-size:.875rem;opacity:.85;display:flex;align-items:center;gap:1rem}
.hero-meta span{display:flex;align-items:center;gap:.3rem}

/* === SECTION TITLE === */
.section-title{font-size:1.3rem;font-weight:800;text-transform:uppercase;letter-spacing:.5px;color:var(--text);padding-bottom:.6rem;border-bottom:3px solid var(--primary);margin-bottom:1.5rem;display:flex;align-items:center;gap:.5rem}
.section-title::before{content:'';width:8px;height:8px;background:var(--primary);border-radius:50%;display:inline-block}

/* === HOME GRID === */
.main-content{padding:0 1.25rem 3rem}
.featured-layout{display:grid;grid-template-columns:1.8fr 1fr;gap:1.5rem;margin-bottom:2.5rem}
.home-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-bottom:2.5rem}
.four-col-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem;margin-bottom:2.5rem}

/* === CATEGORY SECTION === */
.category-section{background:var(--surface);border-radius:var(--radius);padding:1.25rem;border:1px solid var(--border);box-shadow:var(--shadow-sm)}
.cat-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.25rem;padding-bottom:.75rem;border-bottom:2px solid var(--border)}
.cat-title{display:flex;align-items:center;gap:.5rem;font-size:1.1rem;font-weight:700;color:var(--text)}
.cat-icon{width:20px;height:20px;border-radius:50%;background:var(--primary);display:flex;align-items:center;justify-content:center}
.view-all{font-size:.78rem;font-weight:700;color:var(--primary);text-transform:uppercase;letter-spacing:.5px;display:flex;align-items:center;gap:.25rem;transition:gap .2s}
.view-all:hover{gap:.5rem}

/* === LIST CARD === */
.post-list{display:flex;flex-direction:column;gap:1rem}
.list-card{display:flex;gap:.9rem;align-items:flex-start;padding-bottom:1rem;border-bottom:1px solid var(--border)}
.list-card:last-child{border-bottom:none;padding-bottom:0}
.list-card .card-img{flex:0 0 90px;height:65px;border-radius:8px;overflow:hidden}
.list-card .card-img img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.list-card:hover .card-img img{transform:scale(1.08)}
.list-card .card-body h3{font-size:.9rem;font-weight:600;line-height:1.4;color:var(--text);transition:color .2s}
.list-card:hover .card-body h3{color:var(--primary)}
.list-card .card-meta{font-size:.75rem;color:var(--muted);margin-top:.25rem}
.list-card.featured{flex-direction:column}
.list-card.featured .card-img{flex:none;width:100%;height:170px;border-radius:10px}
.list-card.featured .card-body h3{font-size:1.1rem;margin-top:.6rem}

/* === GRID CARD === */
.related-card{background:var(--surface);border-radius:var(--radius);overflow:hidden;border:1px solid var(--border);box-shadow:var(--shadow-sm);transition:transform .3s,box-shadow .3s;display:flex;flex-direction:column}
.related-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md)}
.related-card .card-thumb{overflow:hidden;position:relative;flex-shrink:0}
.related-card .card-thumb img{width:100%;height:190px;object-fit:cover;transition:transform .4s;display:block}
.related-card:hover .card-thumb img{transform:scale(1.06)}
.related-card .card-thumb::after{content:'';position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.35),transparent 60%);opacity:0;transition:opacity .3s}
.related-card:hover .card-thumb::after{opacity:1}
.related-card .card-content{padding:1rem}
.related-card .card-content h3{font-size:.95rem;font-weight:600;line-height:1.4;transition:color .2s}
.related-card:hover .card-content h3{color:var(--primary)}
.related-card .card-content .meta{font-size:.75rem;color:var(--muted);margin-top:.4rem}

/* === GOVT JOBS SECTION === */
.jobs-section{margin-bottom:2.5rem}
.job-card{background:var(--surface);border-radius:var(--radius);overflow:hidden;border:1px solid var(--border);box-shadow:var(--shadow-sm);transition:transform .3s,box-shadow .3s}
.job-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md)}
.job-card img{width:100%;height:150px;object-fit:cover}
.job-card .card-content{padding:1rem}
.job-card .card-content h3{font-size:.9rem;font-weight:600;line-height:1.4;transition:color .2s}
.job-card:hover .card-content h3{color:var(--primary)}
.job-card .meta{font-size:.75rem;color:var(--muted);margin-top:.4rem}

/* === NEWSLETTER CTA === */
.newsletter-cta{background:linear-gradient(135deg,#0f172a 0%,#1e1b4b 100%);border-radius:var(--radius);padding:3rem 2rem;text-align:center;color:#fff;margin:2rem 0;position:relative;overflow:hidden}
.newsletter-cta::before{content:'';position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:radial-gradient(circle,rgba(225,29,72,.15) 0%,transparent 60%)}
.newsletter-cta h2{font-size:2rem;font-weight:800;margin-bottom:.75rem}
.newsletter-cta p{opacity:.8;margin-bottom:1.75rem;font-size:1.05rem}
.newsletter-form{display:flex;gap:.75rem;max-width:480px;margin:0 auto}
.newsletter-form input{flex:1;padding:.85rem 1.2rem;border-radius:8px;border:none;font-family:var(--font);font-size:.95rem;outline:none}
.newsletter-form button{padding:.85rem 1.6rem;background:var(--primary);color:#fff;border:none;border-radius:8px;font-weight:700;cursor:pointer;font-family:var(--font);transition:background .2s,transform .2s}
.newsletter-form button:hover{background:var(--primary-dark);transform:translateY(-1px)}

/* === FOOTER === */
.site-footer{background:#0f172a;color:#94a3b8;margin-top:1rem}
.footer-top{padding:3rem 0 2rem;border-bottom:1px solid #1e293b}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:2rem}
.footer-logo{font-size:1.6rem;font-weight:800;background:linear-gradient(135deg,var(--primary),#f97316);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;display:inline-block;margin-bottom:1rem}
.footer-about p{font-size:.875rem;line-height:1.7;max-width:280px;color:#94a3b8}
.footer-social{display:flex;gap:.75rem;margin-top:1.25rem}
.social-btn{width:36px;height:36px;border-radius:50%;background:#1e293b;color:#94a3b8;display:flex;align-items:center;justify-content:center;transition:var(--transition)}
.social-btn:hover{background:var(--primary);color:#fff;transform:translateY(-2px)}
.footer-col h4{font-size:.8rem;font-weight:700;color:#e2e8f0;text-transform:uppercase;letter-spacing:.8px;margin-bottom:.9rem;padding-bottom:.4rem;border-bottom:1px solid #1e293b}
.footer-col ul{list-style:none}
.footer-col li{margin-bottom:.55rem}
.footer-col a{font-size:.82rem;color:#94a3b8;transition:color .2s;display:flex;align-items:center;gap:.35rem}
.footer-col a:hover{color:var(--primary);padding-left:2px}
.footer-bottom{padding:1.25rem 0;display:flex;justify-content:space-between;align-items:center;font-size:.8rem;color:#475569;flex-wrap:wrap;gap:.5rem}

/* === FLOATING BUTTONS === */
.floating-buttons{position:fixed;bottom:1.75rem;right:1.75rem;display:flex;flex-direction:column;gap:.75rem;z-index:99}
.float-btn{width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;box-shadow:var(--shadow-md);cursor:pointer;border:none;transition:transform .3s,box-shadow .3s}
.float-btn:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.whatsapp-btn{background:#25D366}
.whatsapp-btn:hover{background:#128C7E}
.btt-btn{background:var(--primary);opacity:0;pointer-events:none;transition:opacity .3s,transform .3s,box-shadow .3s}
.btt-btn.show{opacity:1;pointer-events:auto}
.wa-badge{position:absolute;top:-6px;right:-6px;background:#e11d48;color:#fff;font-size:.55rem;font-weight:800;padding:.15rem .35rem;border-radius:20px;white-space:nowrap;line-height:1.3;border:1.5px solid #fff;pointer-events:none}


/* === SEARCH MODAL === */
.search-modal{position:fixed;inset:0;background:rgba(0,0,0,.8);z-index:1000;display:flex;justify-content:center;align-items:flex-start;padding-top:8vh;opacity:0;pointer-events:none;transition:opacity .25s;backdrop-filter:blur(6px)}
.search-modal.active{opacity:1;pointer-events:auto}
.search-modal-content{background:var(--surface);width:92%;max-width:680px;border-radius:var(--radius);padding:1.75rem;box-shadow:var(--shadow-lg);transform:translateY(-20px);transition:transform .3s}
.search-modal.active .search-modal-content{transform:translateY(0)}
.search-header{display:flex;align-items:center;border-bottom:2px solid var(--primary);padding-bottom:.5rem;margin-bottom:1.25rem}
#search-input{flex:1;border:none;background:transparent;font-size:1.4rem;color:var(--text);outline:none;font-family:var(--font)}
#close-search{background:none;border:none;color:var(--muted);cursor:pointer;transition:color .2s;padding:.25rem}
#close-search:hover{color:var(--primary)}
.search-results{max-height:55vh;overflow-y:auto}
.search-result-item{display:block;padding:.9rem 0;border-bottom:1px solid var(--border);transition:padding-left .2s}
.search-result-item:last-child{border-bottom:none}
.search-result-item:hover{padding-left:8px}
.search-result-item h3{font-size:1.05rem;color:var(--primary);margin-bottom:.2rem}
.search-result-item .meta{font-size:.78rem;color:var(--muted)}

/* === SINGLE POST PAGE === */
.layout-grid{display:grid;grid-template-columns:2.1fr 1fr;gap:3rem}
.progress-bar{position:fixed;top:0;left:0;height:3px;background:linear-gradient(90deg,var(--primary),#f97316);width:0%;z-index:9999;transition:width .1s linear}
.breadcrumb{font-size:.85rem;color:var(--muted);margin-bottom:1.5rem;display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}
.breadcrumb a{color:var(--primary);font-weight:500}
.post-title{font-size:2.6rem;font-weight:800;line-height:1.2;letter-spacing:-.5px;margin:1rem 0}
.post-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem;padding:1rem 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);margin-bottom:2rem}
.author-info{display:flex;align-items:center;gap:.75rem}
.author-avatar{width:42px;height:42px;border-radius:50%;object-fit:cover}
.meta-details{color:var(--muted);font-size:.85rem}
.share-buttons{display:flex;gap:.6rem}
.share-btn{width:38px;height:38px;border-radius:50%;background:var(--bg);border:1px solid var(--border);color:var(--text);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:var(--transition)}
.share-btn:hover{background:var(--primary);color:#fff;border-color:var(--primary);transform:translateY(-2px)}
.post-featured-image{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-md);margin-bottom:2rem}
.post-featured-image img{width:100%;max-height:520px;object-fit:cover}
.post-featured-image figcaption{font-size:.82rem;color:var(--muted);text-align:center;padding:.75rem 1rem}
.post-featured-image.has-gradient{height:380px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#ffffff;padding:2.5rem;text-align:center;position:relative;overflow:hidden}
.post-featured-image.has-gradient .fallback-emoji{font-size:4.5rem;margin-bottom:1rem;line-height:1;animation:floatEmoji 3s ease-in-out infinite}
.post-featured-image.has-gradient .fallback-title{font-size:1.8rem;font-weight:800;line-height:1.3;max-width:700px;text-shadow:0 2px 10px rgba(0,0,0,0.5);color:#ffffff}
@keyframes floatEmoji{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
@media(max-width:768px){
  .post-featured-image.has-gradient{height:280px;padding:1.5rem}
  .post-featured-image.has-gradient .fallback-emoji{font-size:3rem}
  .post-featured-image.has-gradient .fallback-title{font-size:1.3rem}
}
.post-content{font-size:1.1rem;line-height:1.85;color:var(--text)}
.post-content p{margin-bottom:1.6rem}
.post-content .lead{font-size:1.25rem;font-weight:500;color:var(--text);opacity:.9;margin-bottom:2rem;line-height:1.7}
.post-content h2{font-size:1.7rem;margin:2.5rem 0 1rem;position:relative;padding-left:1rem;border-left:4px solid var(--primary)}
.post-content h3{font-size:1.4rem;margin:2.2rem 0 .9rem;position:relative;padding-left:1rem;border-left:4px solid var(--primary)}
.post-content h4{font-size:1.2rem;margin:1.8rem 0 .7rem;position:relative;padding-left:1rem;border-left:3px solid var(--secondary)}
.post-content ul,.post-content ol{margin-bottom:1.75rem;padding-left:1.75rem}
.post-content li{margin-bottom:.6rem}
.post-content blockquote{border-left:4px solid var(--primary);padding:1.5rem 1.75rem;margin:2rem 0;background:rgba(225,29,72,.04);border-radius:0 var(--radius) var(--radius) 0;font-style:italic;font-size:1.15rem;line-height:1.7}
[data-theme="dark"] .post-content blockquote{background:rgba(225,29,72,.08)}
.post-tags{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin:2.5rem 0}
.tag{background:var(--surface);border:1px solid var(--border);padding:.35rem 1rem;border-radius:20px;font-size:.82rem;font-weight:600;transition:var(--transition)}
.tag:hover{background:var(--primary);color:#fff;border-color:var(--primary)}
.author-box{display:flex;gap:1.5rem;padding:2rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);margin:2.5rem 0;box-shadow:var(--shadow-sm)}
.author-box-avatar{width:90px;height:90px;border-radius:50%;object-fit:cover;flex-shrink:0}
.author-box-info h3{font-size:1.1rem;margin-bottom:.3rem}
.author-box-info p{color:var(--muted);font-size:.875rem;line-height:1.6}
.related-posts{padding-top:2rem;border-top:1px solid var(--border);margin-top:2rem}
.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;margin-top:1.25rem}

/* === WIDGET SIDEBAR === */
.widget{background:var(--surface);border-radius:var(--radius);padding:1.5rem;border:1px solid var(--border);box-shadow:var(--shadow-sm);margin-bottom:1.75rem}
.widget-title{font-size:1rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px;padding-bottom:.75rem;border-bottom:2px solid var(--primary);margin-bottom:1.25rem;color:var(--text)}
.trending-list{list-style:none}
.trending-list li{display:flex;align-items:flex-start;gap:1rem;padding:.9rem 0;border-bottom:1px solid var(--border)}
.trending-list li:last-child{border-bottom:none;padding-bottom:0}
.trending-list .number{font-size:1.6rem;font-weight:800;color:var(--primary);opacity:.25;font-family:monospace;line-height:1}
.trending-list a{font-weight:600;font-size:.9rem;line-height:1.4}
.trending-list a:hover{color:var(--primary)}
.newsletter-widget{background:linear-gradient(135deg,var(--primary),#7c3aed);border:none;color:#fff}
.newsletter-widget .widget-title{color:#fff;border-bottom-color:rgba(255,255,255,.3)}
.newsletter-widget p{font-size:.875rem;opacity:.9;margin-bottom:1.25rem;line-height:1.6}
.newsletter-widget .newsletter-form{flex-direction:column}
.newsletter-widget .newsletter-form input{background:rgba(255,255,255,.15);color:#fff;border:1px solid rgba(255,255,255,.3)}
.newsletter-widget .newsletter-form input::placeholder{color:rgba(255,255,255,.6)}
.newsletter-widget .newsletter-form button{background:#0f172a;margin-top:.25rem}

/* === ANIMATIONS === */
@keyframes fadeInUp{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
.fade-in{opacity:0;transform:translateY(20px);transition:opacity .5s ease,transform .5s ease}
.fade-in.visible{opacity:1;transform:translateY(0)}

/* === RESPONSIVE === */
@media(max-width:1024px){
  .home-grid{grid-template-columns:repeat(2,1fr)}
  .four-col-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
  .layout-grid{grid-template-columns:1fr}
  .related-grid{grid-template-columns:repeat(2,1fr)}
  .featured-layout{grid-template-columns:1fr}
}
@media(max-width:900px){
  .nav-links{display:none !important;position:absolute;top:64px;left:0;right:0;background:var(--surface);flex-direction:column;padding:1.5rem;box-shadow:var(--shadow-md);border-bottom:2px solid var(--primary);z-index:999;gap:.25rem}
  .nav-links.show{display:flex !important}
  .nav-links a{font-size:.95rem;padding:.7rem .5rem;border-bottom:1px solid var(--border);width:100%}
  .nav-links a:last-child{border-bottom:none}
  .menu-toggle{display:flex !important;z-index:999}
}
@media(max-width:768px){
  .home-grid{grid-template-columns:1fr}
  .four-col-grid{grid-template-columns:repeat(2,1fr)}
  .related-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
  .hero-content h1{font-size:1.6rem}
  .hero-article{aspect-ratio:4/3}
  .post-title{font-size:1.75rem}
  .newsletter-form{flex-direction:column}
  .author-box{flex-direction:column;align-items:center;text-align:center}
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;text-align:center}
  .top-bar .container{flex-direction:column;gap:.25rem}
}
@media(max-width:480px){
  .four-col-grid{grid-template-columns:1fr}
  .newsletter-cta h2{font-size:1.5rem}
  .hero-content{padding:1.25rem}
}

/* === SMART SIDEBAR === */
.latest-posts-list{list-style:none;padding:0}
.latest-posts-list li{padding:.6rem 0;border-bottom:1px solid var(--border);display:flex;gap:.6rem;align-items:flex-start}
.latest-posts-list li:last-child{border-bottom:none}
.latest-posts-list .lp-num{flex-shrink:0;width:22px;height:22px;background:var(--primary);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.7rem;font-weight:800;margin-top:2px}
.latest-posts-list a{font-size:.82rem;font-weight:600;color:var(--text);line-height:1.5;transition:color .2s}
.latest-posts-list a:hover{color:var(--primary)}
.latest-posts-list .lp-cat{font-size:.7rem;color:var(--muted);display:block;margin-top:.15rem}

.sidebar-cats{display:flex;flex-wrap:wrap;gap:.5rem}
.sidebar-cats a{background:var(--surface);border:1.5px solid var(--border);padding:.3rem .75rem;border-radius:20px;font-size:.78rem;font-weight:600;color:var(--text);transition:all .2s;white-space:nowrap}
.sidebar-cats a:hover{background:var(--primary);color:#fff;border-color:var(--primary)}

.wa-widget{background:linear-gradient(135deg,#075e54,#128c7e)!important;color:#fff;border:none!important}
.wa-widget-inner{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem}
.wa-widget-inner strong{display:block;font-size:.95rem;margin-bottom:.2rem;color:#fff}
.wa-widget-inner p{font-size:.8rem;opacity:.9;margin:0;color:#fff}
.wa-join-btn{display:block;background:#fff;color:#075e54;text-align:center;padding:.65rem;border-radius:8px;font-weight:700;font-size:.88rem;transition:all .2s}
.wa-join-btn:hover{background:#f0fdf4;transform:translateY(-1px)}


/* ================================================================
   PAGE-SPECIFIC STYLES (extracted from inline HTML)
   ================================================================ */

/* ── ABOUT PAGE ─────────────────────────────────────────────── */
.page-hero{background:linear-gradient(135deg,#0f172a 0%,#1e1b4b 60%,#9f1239 100%);padding:5rem 0 4rem;text-align:center;color:#fff;position:relative;overflow:hidden}
.page-hero::before{content:'';position:absolute;inset:0;background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")}
.page-hero h1{font-size:3rem;font-weight:800;margin-bottom:1rem;position:relative}
.page-hero p{font-size:1.2rem;opacity:.85;max-width:600px;margin:0 auto;position:relative}
.breadcrumb-bar{background:var(--surface);border-bottom:1px solid var(--border);padding:.75rem 0}
.breadcrumb-bar .breadcrumb{margin:0}
.page-content{padding:4rem 0}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center;margin-bottom:5rem}
.about-grid.reverse{direction:rtl}
.about-grid.reverse>*{direction:ltr}
.about-img{border-radius:16px;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,.15);position:relative}
.about-img img{width:100%;height:320px;object-fit:cover;display:block}
.about-img::after{content:'';position:absolute;inset:0;background:linear-gradient(135deg,rgba(225,29,72,.1),rgba(30,27,75,.1));border-radius:16px}
.about-text h2{font-size:2rem;font-weight:800;margin-bottom:1rem;color:var(--text)}
.about-text h2 span{color:var(--primary)}
.about-text p{color:var(--muted);line-height:1.8;margin-bottom:1rem;font-size:1.05rem}
.stats-row{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;margin:4rem 0;text-align:center}
.stat-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:2rem 1rem;box-shadow:0 2px 8px rgba(0,0,0,.05);transition:transform .3s,box-shadow .3s}
.stat-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px rgba(0,0,0,.1)}
.stat-num{font-size:2.5rem;font-weight:800;background:linear-gradient(135deg,var(--primary),#f97316);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;display:block}
.stat-label{font-size:.875rem;color:var(--muted);font-weight:600;margin-top:.25rem;text-transform:uppercase;letter-spacing:.5px}
.values-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin:3rem 0}
.value-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:2rem;box-shadow:0 2px 8px rgba(0,0,0,.05)}
.value-icon{width:48px;height:48px;border-radius:12px;background:linear-gradient(135deg,var(--primary),#7c3aed);display:flex;align-items:center;justify-content:center;margin-bottom:1rem;font-size:1.4rem}
.value-card h3{font-size:1.1rem;font-weight:700;margin-bottom:.5rem}
.value-card p{font-size:.9rem;color:var(--muted);line-height:1.7}
.team-section{background:var(--surface);border-radius:16px;padding:3rem;margin:3rem 0;border:1px solid var(--border)}
.team-section h2{font-size:1.8rem;font-weight:800;margin-bottom:.5rem}
.team-section>p{color:var(--muted);margin-bottom:2.5rem}
.team-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.team-card{text-align:center;padding:1.5rem;border-radius:12px;border:1px solid var(--border);transition:transform .3s,box-shadow .3s}
.team-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px rgba(0,0,0,.08)}
.team-avatar{width:80px;height:80px;border-radius:50%;margin:0 auto 1rem;border:3px solid var(--primary);overflow:hidden}
.team-avatar img{width:100%;height:100%;object-fit:cover}
.team-card h4{font-size:1rem;font-weight:700;margin-bottom:.25rem}
.team-card span{font-size:.8rem;color:var(--primary);font-weight:600}
.team-card p{font-size:.82rem;color:var(--muted);margin-top:.5rem;line-height:1.6}
@media(max-width:768px){.about-grid{grid-template-columns:1fr}.stats-row{grid-template-columns:repeat(2,1fr)}.values-grid{grid-template-columns:1fr}.team-grid{grid-template-columns:1fr}.page-hero h1{font-size:2rem}.about-grid.reverse{direction:ltr}}

/* ── CONTACT PAGE ───────────────────────────────────────────── */
.page-hero{background:linear-gradient(135deg,#0f172a 0%,#1e1b4b 50%,#065f46 100%);padding:5rem 0 4rem;text-align:center;color:#fff}
.page-hero h1{font-size:2.8rem;font-weight:800;margin-bottom:1rem}
.page-hero p{font-size:1.1rem;opacity:.85;max-width:580px;margin:0 auto}
.breadcrumb-bar{background:var(--surface);border-bottom:1px solid var(--border);padding:.75rem 0}
.breadcrumb-bar .breadcrumb{margin:0}
.contact-layout{display:grid;grid-template-columns:1fr 1.6fr;gap:3rem;padding:4rem 0}
.contact-info-card{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:2rem;margin-bottom:1.5rem;box-shadow:0 2px 8px rgba(0,0,0,.05)}
.contact-info-card h3{font-size:1rem;font-weight:700;margin-bottom:1.25rem;color:var(--text)}
.info-item{display:flex;align-items:flex-start;gap:1rem;margin-bottom:1.25rem}
.info-item:last-child{margin-bottom:0}
.info-icon{width:42px;height:42px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:1.1rem;flex-shrink:0}
.info-icon.red{background:rgba(225,29,72,.1)}
.info-icon.blue{background:rgba(59,130,246,.1)}
.info-icon.green{background:rgba(16,185,129,.1)}
.info-icon.purple{background:rgba(124,58,237,.1)}
.info-detail strong{display:block;font-size:.875rem;font-weight:700;color:var(--text);margin-bottom:.2rem}
.info-detail span,.info-detail a{font-size:.85rem;color:var(--muted);line-height:1.6}
.info-detail a:hover{color:var(--primary)}
.social-links{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:.5rem}
.social-link{display:flex;align-items:center;gap:.4rem;background:var(--bg);border:1px solid var(--border);padding:.4rem .9rem;border-radius:20px;font-size:.8rem;font-weight:600;color:var(--text);transition:all .2s}
.social-link:hover{background:var(--primary);color:#fff;border-color:var(--primary)}
.contact-form-card{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:2.5rem;box-shadow:0 2px 8px rgba(0,0,0,.05)}
.contact-form-card h2{font-size:1.5rem;font-weight:800;margin-bottom:.4rem}
.contact-form-card>p{color:var(--muted);font-size:.9rem;margin-bottom:2rem}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem}
.form-group{margin-bottom:1.25rem}
.form-group label{display:block;font-size:.85rem;font-weight:600;color:#334155;margin-bottom:.4rem}
.form-group input,.form-group select,.form-group textarea{width:100%;padding:.8rem 1rem;border:1.5px solid var(--border);border-radius:8px;font-family:inherit;font-size:.95rem;outline:none;background:var(--surface);color:var(--text);transition:border-color .2s,box-shadow .2s}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(225,29,72,.1)}
.form-group textarea{min-height:140px;resize:vertical;line-height:1.6}
.submit-btn{width:100%;padding:1rem;background:linear-gradient(135deg,var(--primary),#9f1239);color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:700;cursor:pointer;font-family:inherit;transition:opacity .2s,transform .2s;display:flex;align-items:center;justify-content:center;gap:.5rem}
.submit-btn:hover{opacity:.92;transform:translateY(-1px)}
.success-msg{display:none;background:#f0fdf4;border:1.5px solid #86efac;border-radius:8px;padding:1.25rem;text-align:center;color:#15803d;margin-top:1.25rem;font-weight:600}
.faq-section{padding:3rem 0 4rem}
.faq-section h2{font-size:1.8rem;font-weight:800;text-align:center;margin-bottom:.5rem}
.faq-section>p{text-align:center;color:var(--muted);margin-bottom:2.5rem}
.faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem}
.faq-item{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:1.5rem;cursor:pointer;transition:border-color .2s,box-shadow .2s}
.faq-item:hover{border-color:var(--primary);box-shadow:0 4px 16px rgba(225,29,72,.08)}
.faq-item h4{font-size:.95rem;font-weight:700;margin-bottom:.5rem;display:flex;justify-content:space-between;align-items:center;gap:.5rem}
.faq-item h4::after{content:'+';font-size:1.2rem;color:var(--primary);flex-shrink:0}
.faq-item p{font-size:.875rem;color:var(--muted);line-height:1.7}
@media(max-width:900px){.contact-layout{grid-template-columns:1fr}.form-row{grid-template-columns:1fr}.faq-grid{grid-template-columns:1fr}.page-hero h1{font-size:2rem}}

/* ── PRIVACY PAGE ───────────────────────────────────────────── */
.page-hero{background:linear-gradient(135deg,#0f172a 0%,#1e293b 60%,#0369a1 100%);padding:5rem 0 4rem;text-align:center;color:#fff;position:relative;overflow:hidden}
.page-hero h1{font-size:2.8rem;font-weight:800;margin-bottom:1rem}
.page-hero p{font-size:1.1rem;opacity:.85;max-width:600px;margin:0 auto}
.breadcrumb-bar{background:var(--surface);border-bottom:1px solid var(--border);padding:.75rem 0}
.breadcrumb-bar .breadcrumb{margin:0}
.policy-layout{display:grid;grid-template-columns:260px 1fr;gap:3rem;padding:4rem 0;align-items:start}
.policy-toc{position:sticky;top:90px;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:1.5rem}
.policy-toc h3{font-size:.85rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:var(--muted);margin-bottom:1rem}
.policy-toc a{display:block;font-size:.88rem;color:var(--muted);padding:.4rem .6rem;border-radius:6px;transition:all .2s;font-weight:500;margin-bottom:.2rem}
.policy-toc a:hover,.policy-toc a.active{background:rgba(225,29,72,.08);color:var(--primary);padding-left:1rem}
.policy-body{max-width:800px}
.policy-body .last-updated{background:rgba(59,130,246,.06);border:1px solid rgba(59,130,246,.2);border-radius:8px;padding:.75rem 1rem;font-size:.85rem;color:#0369a1;margin-bottom:2.5rem;display:flex;align-items:center;gap:.5rem}
.policy-section{margin-bottom:3rem;padding-bottom:3rem;border-bottom:1px solid var(--border)}
.policy-section:last-child{border-bottom:none}
.policy-section h2{font-size:1.5rem;font-weight:700;color:var(--text);margin-bottom:1rem;display:flex;align-items:center;gap:.75rem}
.policy-section h2 .sec-icon{width:36px;height:36px;background:linear-gradient(135deg,var(--primary),#7c3aed);border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:1rem;flex-shrink:0}
.policy-section p{color:var(--muted);line-height:1.85;margin-bottom:1rem;font-size:.975rem}
.policy-section ul{list-style:none;padding:0;margin:1rem 0}
.policy-section ul li{color:var(--muted);font-size:.975rem;padding:.4rem 0 .4rem 1.5rem;position:relative;line-height:1.7}
.policy-section ul li::before{content:'▸';color:var(--primary);position:absolute;left:0;font-size:.9rem}
.policy-section h3{font-size:1.1rem;font-weight:700;color:var(--text);margin:1.5rem 0 .6rem}
.highlight-box{background:rgba(225,29,72,.04);border-left:4px solid var(--primary);border-radius:0 8px 8px 0;padding:1.25rem 1.5rem;margin:1.5rem 0}
.highlight-box p{margin:0;color:var(--text);font-weight:500}
@media(max-width:900px){.policy-layout{grid-template-columns:1fr}.policy-toc{position:static;margin-bottom:2rem}.page-hero h1{font-size:2rem}}

/* ── TERMS PAGE ─────────────────────────────────────────────── */
.page-hero{background:linear-gradient(135deg,#0f172a 0%,#1e293b 50%,#4c1d95 100%);padding:5rem 0 4rem;text-align:center;color:#fff}
.page-hero h1{font-size:2.8rem;font-weight:800;margin-bottom:1rem}
.page-hero p{font-size:1.1rem;opacity:.85;max-width:580px;margin:0 auto}
.breadcrumb-bar{background:var(--surface);border-bottom:1px solid var(--border);padding:.75rem 0}
.breadcrumb-bar .breadcrumb{margin:0}
.terms-layout{display:grid;grid-template-columns:250px 1fr;gap:3rem;padding:4rem 0;align-items:start}
.terms-toc{position:sticky;top:90px;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:1.5rem}
.terms-toc h3{font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:var(--muted);margin-bottom:1rem}
.terms-toc a{display:block;font-size:.85rem;color:var(--muted);padding:.35rem .6rem;border-radius:6px;transition:all .2s;font-weight:500;margin-bottom:.15rem}
.terms-toc a:hover{background:rgba(124,58,237,.08);color:#7c3aed;padding-left:1rem}
.terms-body{max-width:800px}
.terms-body .last-updated{background:rgba(124,58,237,.06);border:1px solid rgba(124,58,237,.2);border-radius:8px;padding:.75rem 1rem;font-size:.85rem;color:#6d28d9;margin-bottom:2.5rem}
.terms-section{margin-bottom:2.75rem;padding-bottom:2.75rem;border-bottom:1px solid var(--border)}
.terms-section:last-child{border-bottom:none}
.terms-section h2{font-size:1.4rem;font-weight:700;color:var(--text);margin-bottom:.9rem;display:flex;align-items:center;gap:.6rem}
.terms-section h2 .num{width:32px;height:32px;background:linear-gradient(135deg,#7c3aed,#4c1d95);border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:.85rem;color:#fff;font-weight:800;flex-shrink:0}
.terms-section p{color:var(--muted);line-height:1.85;margin-bottom:.9rem;font-size:.97rem}
.terms-section ul{list-style:none;padding:0;margin:.75rem 0}
.terms-section ul li{color:var(--muted);font-size:.97rem;padding:.35rem 0 .35rem 1.4rem;position:relative;line-height:1.7}
.terms-section ul li::before{content:'▸';color:#7c3aed;position:absolute;left:0}
.terms-section h3{font-size:1.05rem;font-weight:700;color:var(--text);margin:1.25rem 0 .5rem}
.warn-box{background:rgba(245,158,11,.06);border-left:4px solid #f59e0b;border-radius:0 8px 8px 0;padding:1rem 1.25rem;margin:1.25rem 0}
.warn-box p{margin:0;color:#92400e;font-weight:500;font-size:.92rem}
@media(max-width:900px){.terms-layout{grid-template-columns:1fr}.terms-toc{position:static;margin-bottom:2rem}.page-hero h1{font-size:2rem}}

/* ── ADVERTISE PAGE ─────────────────────────────────────────── */
.page-hero{background:linear-gradient(135deg,#0f172a 0%,#1e293b 50%,#065f46 100%);padding:5rem 0 4rem;text-align:center;color:#fff}
.page-hero h1{font-size:2.8rem;font-weight:800;margin-bottom:1rem}
.page-hero p{font-size:1.1rem;opacity:.85;max-width:580px;margin:0 auto}
.breadcrumb-bar{background:var(--surface);border-bottom:1px solid var(--border);padding:.75rem 0}
.breadcrumb-bar .breadcrumb{margin:0}
.terms-layout{display:grid;grid-template-columns:250px 1fr;gap:3rem;padding:4rem 0;align-items:start}
.terms-toc{position:sticky;top:90px;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:1.5rem}
.terms-toc h3{font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:var(--muted);margin-bottom:1rem}
.terms-toc a{display:block;font-size:.85rem;color:var(--muted);padding:.35rem .6rem;border-radius:6px;transition:all .2s;font-weight:500;margin-bottom:.15rem}
.terms-toc a:hover{background:rgba(124,58,237,.08);color:#7c3aed;padding-left:1rem}
.terms-body{max-width:800px}
.terms-body .last-updated{background:rgba(124,58,237,.06);border:1px solid rgba(124,58,237,.2);border-radius:8px;padding:.75rem 1rem;font-size:.85rem;color:#6d28d9;margin-bottom:2.5rem}
.terms-section{margin-bottom:2.75rem;padding-bottom:2.75rem;border-bottom:1px solid var(--border)}
.terms-section:last-child{border-bottom:none}
.terms-section h2{font-size:1.4rem;font-weight:700;color:var(--text);margin-bottom:.9rem;display:flex;align-items:center;gap:.6rem}
.terms-section h2 .num{width:32px;height:32px;background:linear-gradient(135deg,#7c3aed,#4c1d95);border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:.85rem;color:#fff;font-weight:800;flex-shrink:0}
.terms-section p{color:var(--muted);line-height:1.85;margin-bottom:.9rem;font-size:.97rem}
.terms-section ul{list-style:none;padding:0;margin:.75rem 0}
.terms-section ul li{color:var(--muted);font-size:.97rem;padding:.35rem 0 .35rem 1.4rem;position:relative;line-height:1.7}
.terms-section ul li::before{content:'▸';color:#7c3aed;position:absolute;left:0}
.terms-section h3{font-size:1.05rem;font-weight:700;color:var(--text);margin:1.25rem 0 .5rem}
.warn-box{background:rgba(245,158,11,.06);border-left:4px solid #f59e0b;border-radius:0 8px 8px 0;padding:1rem 1.25rem;margin:1.25rem 0}
.warn-box p{margin:0;color:#92400e;font-weight:500;font-size:.92rem}
@media(max-width:900px){.terms-layout{grid-template-columns:1fr}.terms-toc{position:static;margin-bottom:2rem}.page-hero h1{font-size:2rem}}

/* ── MAIN CATEGORY PAGES ─────────────────────────────────────── */
.cat-hero{background:linear-gradient(135deg,#0f172a,#0c4a6e);padding:4rem 0 3rem;color:#fff;text-align:center;position:relative;overflow:hidden}
.cat-hero::before{content:'';position:absolute;inset:0;background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4z'/%3E%3C/g%3E%3C/svg%3E")}
.cat-hero-icon{font-size:3.5rem;margin-bottom:.75rem;display:block;position:relative}
.cat-hero h1{font-size:2.5rem;font-weight:800;margin-bottom:.75rem;position:relative}
.cat-hero p{font-size:1rem;opacity:.85;max-width:600px;margin:0 auto;position:relative;line-height:1.7}
.breadcrumb-bar{background:var(--surface);border-bottom:1px solid var(--border);padding:.65rem 0}
.breadcrumb-bar .breadcrumb{margin:0}
.subcats-bar{display:flex;flex-wrap:wrap;gap:.6rem;margin:2rem 0 2.5rem}
.subcat-chip{background:var(--surface);border:1.5px solid var(--border);padding:.4rem 1rem;border-radius:20px;font-size:.82rem;font-weight:600;color:var(--text);transition:all .2s;white-space:nowrap}
.subcat-chip:hover{background:#0369a1;color:#fff;border-color:#0369a1}
.cat-section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.5rem}
.cat-section-header h2{font-size:1.5rem;font-weight:800}
.cat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-bottom:3rem}
.cat-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;overflow:hidden;transition:transform .3s,box-shadow .3s}
.cat-card:hover{transform:translateY(-4px);box-shadow:0 12px 32px rgba(0,0,0,.1)}
.cat-card-img{position:relative;overflow:hidden;height:180px}
.cat-placeholder-img{height:180px;display:flex;align-items:center;justify-content:center;font-size:3rem}
.cat-card-body{padding:1.1rem}
.cat-badge{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:#0369a1;background:rgba(0,0,0,.04);padding:.2rem .6rem;border-radius:4px;display:inline-block;margin-bottom:.5rem}
.cat-card-body h3{font-size:.95rem;font-weight:700;line-height:1.5;margin-bottom:.5rem}
.cat-card-body h3 a{color:var(--text);transition:color .2s}
.cat-card:hover .cat-card-body h3 a{color:#0369a1}
.cat-card-meta{font-size:.76rem;color:var(--muted)}
.empty-notice{background:var(--surface);border:2px dashed var(--border);border-radius:12px;padding:4rem 2rem;text-align:center;margin-bottom:2rem}
.empty-notice .empty-icon{font-size:3rem;display:block;margin-bottom:1rem}
.empty-notice h3{font-size:1.2rem;font-weight:700;margin-bottom:.5rem}
.empty-notice p{color:var(--muted);font-size:.9rem}
.newsletter-cta{background:linear-gradient(135deg,#0f172a,#0c4a6e);border-radius:16px;padding:3rem 2rem;text-align:center;color:#fff;margin:2rem 0 3rem}
.newsletter-cta h3{font-size:1.5rem;font-weight:800;margin-bottom:.5rem}
.newsletter-cta p{opacity:.85;margin-bottom:1.5rem;font-size:.95rem}
.newsletter-cta form{display:flex;gap:.75rem;max-width:440px;margin:0 auto;flex-wrap:wrap}
.newsletter-cta input{flex:1;min-width:200px;padding:.75rem 1rem;border:none;border-radius:8px;font-family:inherit;font-size:.9rem;outline:none}
.newsletter-cta button{background:#fff;color:#0369a1;border:none;padding:.75rem 1.5rem;border-radius:8px;font-weight:700;cursor:pointer;font-family:inherit;font-size:.9rem}
@media(max-width:768px){.cat-grid{grid-template-columns:1fr}.cat-hero h1{font-size:1.8rem}}

/* ── SUB-CATEGORY PAGES ──────────────────────────────────────── */
.cat-hero{background:linear-gradient(135deg,#0f172a,#0c4a6e);padding:3.5rem 0 2.5rem;color:#fff;text-align:center}
.cat-hero h1{font-size:2.2rem;font-weight:800;margin-bottom:.6rem}
.cat-hero p{opacity:.85;max-width:580px;margin:0 auto;font-size:.95rem;line-height:1.7}
.cat-hero .parent-link{display:inline-block;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.3);color:#fff;padding:.3rem .9rem;border-radius:20px;font-size:.78rem;font-weight:600;margin-bottom:1rem;backdrop-filter:blur(4px)}
.breadcrumb-bar{background:var(--surface);border-bottom:1px solid var(--border);padding:.65rem 0}
.articles-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin:2.5rem 0}
.article-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;overflow:hidden;transition:transform .3s,box-shadow .3s}
.article-card:hover{transform:translateY(-4px);box-shadow:0 12px 32px rgba(0,0,0,.1)}
.card-img{height:160px;background:linear-gradient(135deg,#0f172a,#0c4a6e);display:flex;align-items:center;justify-content:center;font-size:2.5rem}
.card-body{padding:1rem}
.card-cat{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:#0369a1;margin-bottom:.4rem;display:block}
.card-body h3{font-size:.9rem;font-weight:700;line-height:1.5;margin-bottom:.4rem}
.card-body h3 a{color:var(--text)}
.card-body h3 a:hover{color:#0369a1}
.card-meta{font-size:.74rem;color:var(--muted)}
.empty-box{background:var(--surface);border:2px dashed var(--border);border-radius:12px;padding:4rem 2rem;text-align:center;grid-column:1/-1}
.empty-box h3{font-size:1.1rem;font-weight:700;margin:.75rem 0 .4rem}
.empty-box p{color:var(--muted);font-size:.88rem}
.nl-cta{background:linear-gradient(135deg,#0f172a,#0c4a6e);border-radius:14px;padding:2.5rem;text-align:center;color:#fff;margin:1.5rem 0 3rem}
.nl-cta h3{font-size:1.3rem;font-weight:800;margin-bottom:.4rem}
.nl-cta p{opacity:.85;margin-bottom:1.25rem;font-size:.9rem}
.nl-cta form{display:flex;gap:.6rem;max-width:400px;margin:0 auto;flex-wrap:wrap}
.nl-cta input{flex:1;min-width:180px;padding:.7rem 1rem;border:none;border-radius:8px;font-family:inherit;font-size:.9rem;outline:none}
.nl-cta button{background:#fff;color:#0369a1;border:none;padding:.7rem 1.25rem;border-radius:8px;font-weight:700;cursor:pointer;font-family:inherit}
@media(max-width:768px){.articles-grid{grid-template-columns:1fr}.cat-hero h1{font-size:1.7rem}}

/* === BLOCKQUOTE COPY BUTTON === */
blockquote {
  position: relative;
  padding-right: 3rem !important;
}
.quote-copy-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
  font-family: inherit;
}
.quote-copy-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.quote-copy-btn.copied {
  background: #10b981 !important;
  color: #fff !important;
  border-color: #10b981 !important;
}
[data-theme="dark"] .quote-copy-btn {
  background: rgba(255, 255, 255, 0.08);
}

/* === PREMIUM TABLE STYLING === */
.post-content table,
.table_design {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 2rem 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  font-size: 0.95rem;
}

.post-content th,
.table_design th {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff !important;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.8px;
  padding: 1.1rem 1.25rem;
  text-align: left;
  border-bottom: 1.5px solid var(--border);
}

.post-content td,
.table_design td {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  background: var(--surface);
  transition: background-color 0.2s ease;
}

.post-content tr:last-child td,
.table_design tr:last-child td {
  border-bottom: none;
}

.post-content tr:nth-child(even) td,
.table_design tr:nth-child(even) td {
  background: rgba(0, 0, 0, 0.015);
}

[data-theme="dark"] .post-content tr:nth-child(even) td,
[data-theme="dark"] .table_design tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.015);
}

.post-content tr:hover td,
.table_design tr:hover td {
  background: rgba(225, 29, 72, 0.04);
}

[data-theme="dark"] .post-content tr:hover td,
[data-theme="dark"] .table_design tr:hover td {
  background: rgba(255, 255, 255, 0.04);
}

/* Responsive tables for mobile */
@media (max-width: 600px) {
  .post-content table,
  .table_design {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }
}

/* Responsive Video Embeds */
.embed-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  border-radius: var(--radius, 12px);
  box-shadow: var(--shadow-md);
  margin: 1.5rem 0;
}
.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Responsive overrides for post content figures and iframes */
.post-content figure {
  margin: 1.5rem 0;
  max-width: 100%;
}
.post-content iframe {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius, 12px);
  margin: 1.5rem 0;
  border: 0;
}
