/* =========================================================
   ADATEK DIGITAL — Main Stylesheet
   Bootstrap 5 Design Override + Custom Components
   Upload: /assets/css/style.css
   ========================================================= */

/* ── Bootstrap Variable Overrides ───────────────────── */
:root{
  --bs-primary:#e8622a;
  --bs-primary-rgb:232,98,42;
  --bs-font-sans-serif:'Inter',system-ui,-apple-system,sans-serif;
  --bs-body-font-family:var(--bs-font-sans-serif);
  --bs-body-color:#374151;
  --bs-body-bg:#f8f7f4;
  --bs-border-color:#e5e7eb;
  --bs-border-radius:12px;
  --bs-border-radius-lg:18px;
  --bs-border-radius-sm:8px;
  --bs-card-border-radius:var(--bs-border-radius);
  --bs-link-color:#e8622a;
  --bs-link-hover-color:#c4491a;
}

/* ── Typography ─────────────────────────────────────── */
h1,h2,h3,h4,.h1,.h2,.h3,.h4{font-family:var(--font-head);color:var(--text)}
body{font-size:16px;line-height:1.65}

/* ── Buttons ────────────────────────────────────────── */
.btn{font-weight:600;transition:all .2s;font-family:var(--font-body)}
.btn-primary{background:var(--primary);border-color:var(--primary);color:#fff}
.btn-primary:hover{background:var(--primary-dark);border-color:var(--primary-dark);transform:translateY(-1px);box-shadow:0 4px 12px rgba(232,98,42,.35)}
.btn-primary:focus{box-shadow:0 0 0 3px rgba(232,98,42,.25)}
.btn-outline-primary{color:var(--primary);border-color:var(--primary)}
.btn-outline-primary:hover{background:var(--primary);border-color:var(--primary);transform:translateY(-1px)}
.btn-navy{background:var(--navy);border-color:var(--navy);color:#fff}
.btn-navy:hover{background:var(--navy-light);border-color:var(--navy-light);color:#fff;transform:translateY(-1px)}

/* ── Cards ──────────────────────────────────────────── */
.card{border:1px solid var(--border)!important;box-shadow:var(--shadow-sm);transition:transform .25s,box-shadow .25s;background:var(--card)}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}

/* ── Category Badge ─────────────────────────────────── */
.category-badge{display:inline-block;padding:.18rem .7rem;border-radius:20px;font-size:.67rem;font-weight:700;color:#fff!important;text-transform:uppercase;letter-spacing:.07em;line-height:1.7}

/* ── Cat Dot ────────────────────────────────────────── */
.cat-dot{width:9px;height:9px;border-radius:50%;display:inline-block;flex-shrink:0}

/* ── Section Title ──────────────────────────────────── */
.section-title{font-family:var(--font-head);font-size:1.5rem;font-weight:700;color:var(--navy);display:flex;align-items:center;gap:.75rem}
.section-title::before{content:'';display:block;width:4px;height:1.35rem;background:var(--primary);border-radius:2px;flex-shrink:0}

/* ========================================================
   HOMEPAGE HERO
   ======================================================== */
.hero-section{padding:2rem 0 2.5rem;background:var(--bg)}

/* Main hero card */
.hero-card-main{position:relative;border-radius:var(--radius-lg);overflow:hidden;aspect-ratio:16/9.5;display:block;cursor:pointer}
.hero-card-main img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.hero-card-main:hover img{transform:scale(1.03)}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(5,12,30,.88) 0%,rgba(5,12,30,.3) 55%,transparent 100%)}
.hero-card-content{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;padding:2rem}

.hero-main-title{font-family:var(--font-head);font-size:clamp(1.35rem,2.5vw,1.9rem);font-weight:700;color:#fff;line-height:1.25;margin:.5rem 0 .875rem}
.hero-main-title a{color:#fff;transition:opacity .15s}.hero-main-title a:hover{opacity:.85}
.hero-excerpt{font-size:.875rem;color:rgba(255,255,255,.78);line-height:1.6;margin-bottom:.875rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hero-meta{display:flex;align-items:center;gap:.875rem;flex-wrap:wrap}
.hero-meta-item{display:flex;align-items:center;gap:.35rem;color:rgba(255,255,255,.7);font-size:.75rem}
.hero-meta-avatar{width:28px;height:28px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.35);flex-shrink:0}

/* Side hero cards */
.hero-card-side{position:relative;border-radius:var(--radius);overflow:hidden;aspect-ratio:16/8;display:block;cursor:pointer}
.hero-card-side img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.hero-card-side:hover img{transform:scale(1.04)}
.hero-side-title{font-family:var(--font-head);font-size:.95rem;font-weight:700;color:#fff;line-height:1.3;margin:.375rem 0 .375rem}
.hero-side-title a{color:#fff}.hero-side-title a:hover{opacity:.85}

/* ========================================================
   POST CARDS  
   ======================================================== */
.post-card{background:var(--card);border-radius:var(--radius-lg)!important;overflow:hidden;box-shadow:var(--shadow-sm)!important;transition:transform .25s,box-shadow .25s;border:1px solid var(--border)!important;display:flex;flex-direction:column;height:100%}
.post-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-lg)!important}

.post-card .post-img-wrap{position:relative;overflow:hidden;flex-shrink:0}
.post-card .post-img-wrap img{width:100%;aspect-ratio:16/9;object-fit:cover;transition:transform .4s ease}
.post-card:hover .post-img-wrap img{transform:scale(1.04)}
.post-card .post-img-wrap .category-badge{position:absolute;top:.875rem;left:.875rem;z-index:2}

.post-card .card-body{display:flex;flex-direction:column;flex:1;padding:1.25rem 1.375rem 1.375rem}
.post-card .post-title{font-family:var(--font-head);font-size:1.05rem;font-weight:700;line-height:1.3;margin-bottom:.625rem;color:var(--text)}
.post-card .post-title a{color:inherit;transition:color .15s}.post-card .post-title a:hover{color:var(--primary)}
.post-card .post-excerpt{font-size:.83rem;color:var(--text-muted);line-height:1.65;flex:1;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:0}
.post-card .post-footer{display:flex;align-items:center;justify-content:space-between;padding-top:.875rem;margin-top:.875rem;border-top:1px solid var(--border)}
.post-card .post-author-avatar{width:28px;height:28px;border-radius:50%;object-fit:cover;flex-shrink:0}
.post-card .post-author-name{font-size:.74rem;font-weight:500;color:var(--text-muted)}
.post-card .post-read-time{font-size:.73rem;color:var(--text-muted);display:flex;align-items:center;gap:.25rem}

/* ========================================================
   CATEGORIES SECTION
   ======================================================== */
.categories-section{background:#eff3f8;padding:2.5rem 0}
.cat-card{background:var(--card);border-radius:var(--radius-lg);padding:1.375rem 1rem;text-align:center;box-shadow:var(--shadow-sm);border:1px solid var(--border);transition:transform .2s,box-shadow .2s;display:flex;flex-direction:column;align-items:center;gap:.5rem;height:100%}
.cat-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.cat-icon-box{width:50px;height:50px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:1.25rem;margin-bottom:.25rem;flex-shrink:0}
.cat-card-name{font-size:.875rem;font-weight:700;color:var(--text);line-height:1.2}
.cat-card-count{font-size:.72rem;color:var(--text-muted)}

/* ========================================================
   TRENDING
   ======================================================== */
.trending-section{background:#fff;padding:3rem 0}
.trending-item{display:flex;align-items:flex-start;gap:.875rem;padding:1rem 0;border-bottom:1px solid var(--border)}
.trending-item:last-child{border-bottom:none;padding-bottom:0}
.trending-num{font-family:var(--font-head);font-size:2rem;font-weight:700;color:var(--border);line-height:1;min-width:40px;flex-shrink:0;padding-top:2px}
.trending-item:first-child .trending-num{color:var(--primary)}
.trending-item:nth-child(2) .trending-num{color:#f59e0b}
.trending-item:nth-child(3) .trending-num{color:#6b7280}
.trending-thumb{width:80px;min-width:80px;aspect-ratio:1;border-radius:10px;overflow:hidden;background:#e2e8f0;flex-shrink:0}
.trending-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.trending-item:hover .trending-thumb img{transform:scale(1.06)}
.trending-body{flex:1;min-width:0}
.trending-title{font-family:var(--font-head);font-size:.92rem;font-weight:700;color:var(--text);line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:.35rem}
.trending-title a{color:inherit;transition:color .15s}.trending-title a:hover{color:var(--primary)}
.trending-meta{font-size:.72rem;color:var(--text-muted);display:flex;gap:.75rem;flex-wrap:wrap}

/* ========================================================
   ARTICLE PAGE
   ======================================================== */

/* Article header */
.article-page-header{background:var(--card);border-bottom:1px solid var(--border);padding:2.5rem 0 2rem}
.article-breadcrumb{display:flex;align-items:center;gap:.375rem;font-size:.77rem;color:var(--text-muted);margin-bottom:1.25rem;flex-wrap:wrap}
.article-breadcrumb a{color:var(--text-muted);transition:color .15s}.article-breadcrumb a:hover{color:var(--primary)}
.article-breadcrumb .sep{color:var(--border)}
.article-h1{font-family:var(--font-head);font-size:clamp(1.65rem,3.5vw,2.4rem);font-weight:700;color:var(--text);line-height:1.2;margin:.875rem 0 1.375rem;max-width:820px}
.article-meta-bar{display:flex;align-items:center;flex-wrap:wrap;gap:1.25rem}
.art-author-wrap{display:flex;align-items:center;gap:.625rem}
.art-author-wrap img{width:40px;height:40px;border-radius:50%;object-fit:cover;border:2px solid var(--border)}
.art-author-name{font-size:.875rem;font-weight:600;color:var(--text)}
.art-author-role{font-size:.7rem;color:var(--text-muted)}
.art-meta-badge{display:flex;align-items:center;gap:.35rem;font-size:.79rem;color:var(--text-muted);padding:.25rem .625rem;background:#f3f4f6;border-radius:100px}

/* Featured image */
.article-featured-img-wrap{background:var(--card);padding:1.5rem 0 0}
.article-featured-img-wrap img{width:100%;max-height:510px;object-fit:cover;border-radius:var(--radius-lg);box-shadow:var(--shadow)}

/* Article layout */
.article-content-wrap{padding:2.5rem 0 4rem}

/* Sidebar sticky */
@media(min-width:992px){.article-sidebar-sticky{position:sticky;top:80px}}

/* Article body typography */
.article-body{font-size:1.05rem;line-height:1.8;color:#374151}
.article-body>*+*{margin-top:1.4em}
.article-body h2{font-family:var(--font-head);font-size:1.5rem;font-weight:700;color:var(--text);margin-top:2.5em;margin-bottom:.75em;padding-bottom:.5em;border-bottom:2px solid var(--border)}
.article-body h3{font-family:var(--font-head);font-size:1.2rem;font-weight:700;color:var(--text);margin-top:2em;margin-bottom:.625em}
.article-body h4{font-size:1rem;font-weight:700;color:var(--text);margin-top:1.75em;margin-bottom:.5em}
.article-body p{line-height:1.8;color:#374151}
.article-body a{color:var(--primary);text-decoration:underline;text-underline-offset:3px}
.article-body a:hover{color:var(--primary-dark)}
.article-body strong{color:var(--text);font-weight:700}
.article-body ul,.article-body ol{padding-left:1.625rem}
.article-body li{margin-bottom:.4em;color:#374151}
.article-body blockquote{border-left:4px solid var(--primary);padding:1rem 1.5rem;margin:1.75em 0;background:rgba(232,98,42,.05);border-radius:0 var(--radius) var(--radius) 0}
.article-body blockquote p{font-family:var(--font-head);font-size:1.1rem;color:var(--text);font-style:italic;margin:0}
.article-body img{border-radius:var(--radius);margin:1.5em auto;box-shadow:var(--shadow-sm)}
.article-body code{background:#f1f5f9;padding:.1em .4em;border-radius:5px;font-size:.88em;color:#be123c}
.article-body pre{background:#0f172a;color:#e2e8f0;padding:1.25rem 1.5rem;border-radius:var(--radius);overflow-x:auto;font-size:.875rem;line-height:1.65;margin:1.5em 0}
.article-body pre code{background:none;color:inherit;padding:0}

/* Table responsive */
.article-body table{width:100%;border-collapse:collapse;font-size:.9rem;margin:1.5em 0}
.article-body .table-wrap,.article-body .table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:var(--radius);box-shadow:var(--shadow-sm);margin:1.5em 0}
.article-body thead th{background:var(--navy);color:#fff;padding:.625rem 1rem;font-weight:600;font-size:.82rem;text-align:left}
.article-body td{padding:.6rem 1rem;border-bottom:1px solid var(--border);color:#374151}
.article-body tr:nth-child(even) td{background:#f8fafc}
.article-body tr:hover td{background:#eff6ff}

/* Key Takeaway box */
.article-body .key-takeaway,.key-takeaway-box{background:linear-gradient(135deg,#fff7ed,#fffbf5);border:1.5px solid #fed7aa;border-radius:var(--radius-lg);padding:1.25rem 1.5rem;margin:2em 0}
.key-takeaway-box h4{color:#c2410c;margin-bottom:.625rem;font-size:.875rem;text-transform:uppercase;letter-spacing:.08em}
.key-takeaway-box ul{padding-left:1.25rem;margin:0}
.key-takeaway-box li{color:#7c2d12;margin-bottom:.3em;font-size:.9rem}

/* FAQ */
.faq-item{border:1px solid var(--border);border-radius:var(--radius);margin-bottom:.625rem;overflow:hidden}
.faq-question{padding:.875rem 1.125rem;cursor:pointer;display:flex;justify-content:space-between;align-items:center;background:#f9fafb;font-weight:600;font-size:.9rem;user-select:none;transition:background .15s;gap:1rem}
.faq-question:hover{background:#f0f4f8}
.faq-question .faq-icon{color:var(--text-muted);font-weight:400;flex-shrink:0;transition:transform .2s;font-size:1.2rem;line-height:1}
.faq-question.open .faq-icon{transform:rotate(45deg)}
.faq-answer{display:none;padding:.875rem 1.125rem;font-size:.875rem;line-height:1.75;color:var(--text-muted);background:#fff;border-top:1px solid var(--border)}
.faq-answer p{margin:0;font-size:.875rem;color:var(--text-muted)}

/* Tags */
.article-tags-wrap{padding:1.75rem 0;margin-top:2rem;border-top:1px solid var(--border)}
.article-tags-wrap h5{font-size:.85rem;font-weight:700;margin-bottom:.875rem;display:flex;align-items:center;gap:.5rem}
.tag-pill{display:inline-block;padding:.3rem .875rem;border-radius:100px;font-size:.75rem;font-weight:500;background:#f3f4f6;color:var(--text-muted);border:1px solid var(--border);transition:all .15s;margin:.25rem .25rem .25rem 0}
.tag-pill:hover{background:var(--navy);color:#fff;border-color:var(--navy)}

/* Share bar */
.share-bar{background:linear-gradient(135deg,#eff6ff,#fff);border:1px solid #dbeafe;border-radius:var(--radius-lg);padding:1.5rem;margin-top:2rem}
.share-bar h5{font-size:.875rem;font-weight:700;margin-bottom:1rem;display:flex;align-items:center;gap:.5rem}
.share-btn{display:inline-flex;align-items:center;gap:.375rem;padding:.4rem 1rem;border-radius:100px;font-size:.78rem;font-weight:600;border:none;cursor:pointer;transition:all .2s;text-decoration:none;margin:.25rem .25rem 0 0;line-height:1.4}
.share-btn:hover{transform:translateY(-2px);text-decoration:none}
.btn-share-fb{background:#1877f2;color:#fff}.btn-share-fb:hover{background:#1558b0;color:#fff}
.btn-share-tw{background:#000;color:#fff}.btn-share-tw:hover{background:#333;color:#fff}
.btn-share-wa{background:#25d366;color:#fff}.btn-share-wa:hover{background:#1da851;color:#fff}
.btn-share-tg{background:#2aabee;color:#fff}.btn-share-tg:hover{background:#1a8eca;color:#fff}
.btn-share-li{background:#0a66c2;color:#fff}.btn-share-li:hover{background:#084f97;color:#fff}
.btn-share-copy{background:#f3f4f6;color:var(--text);border:1.5px solid var(--border)}.btn-share-copy:hover{background:var(--navy);color:#fff;border-color:var(--navy)}
.btn-share-copy.copied{background:#22c55e;color:#fff;border-color:#22c55e}

/* Author bio */
.author-bio-card{border:1px solid var(--border);border-radius:var(--radius-lg);padding:1.75rem;background:var(--card);box-shadow:var(--shadow-sm);margin-top:2rem}
.author-bio-avatar{width:72px;height:72px;border-radius:50%;object-fit:cover;border:3px solid var(--border);flex-shrink:0}
.author-bio-name{font-family:var(--font-head);font-size:1.1rem;font-weight:700;margin-bottom:.375rem}
.author-bio-text{font-size:.85rem;color:var(--text-muted);line-height:1.7;margin-bottom:.875rem}
.author-social-links a{width:32px;height:32px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;border:1.5px solid var(--border);color:var(--text-muted);font-size:.85rem;transition:all .15s;margin-right:.375rem}
.author-social-links a:hover{background:var(--navy);color:#fff;border-color:var(--navy)}

/* Comment form */
.comment-section{margin-top:3rem;padding-top:2rem;border-top:1px solid var(--border)}
.comment-form-wrap{background:#f8fafc;border-radius:var(--radius-lg);padding:1.5rem;border:1px solid var(--border)}
.comment-form-wrap .form-control{border:1.5px solid var(--border);border-radius:8px;font-family:var(--font-body);font-size:.875rem;transition:border-color .15s,box-shadow .15s}
.comment-form-wrap .form-control:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(232,98,42,.1)}

/* TOC Widget */
.toc-widget{background:linear-gradient(135deg,#eff6ff,#fff);border:1.5px solid #dbeafe;border-radius:var(--radius-lg);padding:1.25rem;margin-bottom:1.5rem}
.toc-widget-title{font-size:.85rem;font-weight:700;color:var(--navy);margin-bottom:.875rem;display:flex;align-items:center;gap:.5rem}
.toc-list{list-style:none;padding:0;margin:0}
.toc-list li{margin-bottom:.25rem}
.toc-list a{font-size:.8rem;color:var(--text-muted);display:block;padding:.3rem .5rem;border-radius:6px;border-left:2px solid transparent;transition:all .15s}
.toc-list a:hover,.toc-list a.toc-active{color:var(--primary);background:rgba(232,98,42,.07);border-left-color:var(--primary);padding-left:.875rem}
.toc-list .toc-h3{padding-left:1.125rem;font-size:.77rem}
.toc-list .toc-h3.toc-active{padding-left:1.5rem}

/* ========================================================
   SIDEBAR
   ======================================================== */
.sidebar-widget{background:var(--card);border-radius:var(--radius-lg);padding:1.375rem;box-shadow:var(--shadow-sm);margin-bottom:1.5rem;border:1px solid var(--border)}
.sidebar-widget-title{font-family:var(--font-head);font-size:1rem;font-weight:700;color:var(--text);margin-bottom:1rem;padding-bottom:.625rem;border-bottom:2px solid var(--primary);display:flex;align-items:center;gap:.5rem}
.recent-post-item{display:flex;gap:.75rem;padding:.75rem 0;border-bottom:1px solid var(--border)}
.recent-post-item:last-child{border-bottom:none;padding-bottom:0}
.recent-thumb{width:68px;min-width:68px;aspect-ratio:1;border-radius:8px;overflow:hidden;background:#e2e8f0;flex-shrink:0}
.recent-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.recent-post-item:hover .recent-thumb img{transform:scale(1.06)}
.recent-post-title{font-size:.82rem;font-weight:600;color:var(--text);line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:.3rem}
.recent-post-title a{color:inherit;transition:color .15s}.recent-post-title a:hover{color:var(--primary)}
.recent-post-date{font-size:.71rem;color:var(--text-muted);display:flex;align-items:center;gap:.25rem}

/* Follow Us social buttons */
.social-follow-btn{width:40px;height:40px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;font-size:.9rem;color:#fff;border:none;transition:transform .15s,opacity .15s}
.social-follow-btn:hover{transform:translateY(-2px);opacity:.88;color:#fff}
.sfb-fb{background:#1877f2}.sfb-tw{background:#000}.sfb-ig{background:radial-gradient(circle at 30% 107%,#fdf497 0%,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285aeb 90%)}.sfb-yt{background:#ff0000}.sfb-li{background:#0a66c2}.sfb-tg{background:#2aabee}

/* ========================================================
   ARTICLE LIST PAGE / CATEGORY PAGE
   ======================================================== */
.page-banner{padding:3rem 0;background:var(--navy);color:#fff}
.page-banner.cat-banner{background:linear-gradient(135deg,rgba(15,32,64,.95),rgba(15,32,64,.85)),var(--cat-bg,#0c1f3f)}
.page-banner-breadcrumb{display:flex;align-items:center;gap:.375rem;font-size:.77rem;color:rgba(255,255,255,.6);flex-wrap:wrap;margin-bottom:1rem}
.page-banner-breadcrumb a{color:rgba(255,255,255,.6)}.page-banner-breadcrumb a:hover{color:#fff}
.page-banner-breadcrumb .sep{color:rgba(255,255,255,.3)}
.page-banner h1{font-family:var(--font-head);font-size:clamp(1.65rem,3vw,2.25rem);font-weight:700;color:#fff;margin-bottom:.5rem}
.page-banner p{color:rgba(255,255,255,.7);font-size:.9rem;margin:0}
.page-banner-stat{display:inline-flex;align-items:center;gap:.375rem;background:rgba(255,255,255,.12);border-radius:100px;padding:.35rem 1rem;font-size:.78rem;color:#fff;margin-top:1rem}

/* Filters bar */
.filters-bar{background:var(--card);border-radius:var(--radius-lg);padding:1rem 1.375rem;margin-bottom:2rem;box-shadow:var(--shadow-sm);border:1px solid var(--border)}
.filter-select{border:1.5px solid var(--border);border-radius:8px;padding:.38rem .75rem;font-size:.82rem;background:#f9fafb;color:var(--text);cursor:pointer;font-family:var(--font-body);transition:border-color .15s;outline:none}
.filter-select:focus{border-color:var(--primary)}
.filter-search-wrap{display:flex;border:1.5px solid var(--border);border-radius:8px;overflow:hidden;background:#f9fafb;transition:border-color .15s}
.filter-search-wrap:focus-within{border-color:var(--primary);background:#fff}
.filter-search-wrap input{border:none;background:transparent;padding:.38rem .875rem;font-size:.82rem;flex:1;font-family:var(--font-body);color:var(--text);outline:none}
.filter-search-wrap button{border:none;background:var(--primary);color:#fff;padding:.38rem .875rem;cursor:pointer;transition:background .15s}
.filter-search-wrap button:hover{background:var(--primary-dark)}

/* Pagination */
.pagination .page-link{border-radius:8px!important;margin:0 2px;border:1.5px solid var(--border);font-size:.85rem;color:var(--text);transition:all .15s;font-weight:500}
.pagination .page-link:hover{background:#f3f4f6;border-color:var(--navy);color:var(--navy)}
.pagination .page-item.active .page-link{background:var(--navy);border-color:var(--navy);color:#fff}
.pagination .page-item.disabled .page-link{opacity:.4}

/* ========================================================
   NEWSLETTER + FOOTER
   ======================================================== */
.newsletter-section{background:linear-gradient(135deg,var(--navy) 0%,#1a3565 100%);padding:4rem 0}
.newsletter-title{font-family:var(--font-head);font-size:1.75rem;color:#fff;margin-bottom:.5rem}
.newsletter-desc{color:rgba(255,255,255,.7);font-size:.9rem;margin:0}
.newsletter-input{background:rgba(255,255,255,.1);border:2px solid rgba(255,255,255,.2);border-radius:8px;padding:.625rem 1rem;font-size:.875rem;color:#fff;width:100%;font-family:var(--font-body);transition:border-color .15s}
.newsletter-input::placeholder{color:rgba(255,255,255,.5)}
.newsletter-input:focus{outline:none;border-color:var(--primary);background:rgba(255,255,255,.15)}

.site-footer{background:#0a1628;padding:3.5rem 0 0}
.footer-brand-name{font-family:var(--font-head);font-size:1.15rem;color:#fff;margin:.75rem 0 .625rem}
.footer-text{font-size:.83rem;color:#6b7280;line-height:1.7;margin-bottom:1.25rem}
.footer-social-btn{width:36px;height:36px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;background:rgba(255,255,255,.06);color:#9ca3af;font-size:.85rem;border:1px solid rgba(255,255,255,.08);transition:all .15s;margin-right:.375rem}
.footer-social-btn:hover{background:var(--primary);color:#fff;border-color:var(--primary)}
.footer-col-title{font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:#fff;margin-bottom:1.125rem}
.footer-links{list-style:none;padding:0;margin:0}
.footer-links li{margin-bottom:.625rem}
.footer-links a{font-size:.83rem;color:#6b7280;display:flex;align-items:center;gap:.375rem;transition:color .15s}
.footer-links a::before{content:'';width:4px;height:4px;border-radius:50%;background:var(--primary);flex-shrink:0}
.footer-links a:hover{color:#fff}
.footer-contact-item{display:flex;align-items:flex-start;gap:.625rem;margin-bottom:.75rem;font-size:.83rem;color:#6b7280}
.footer-contact-item i{color:var(--primary);flex-shrink:0;margin-top:2px}
.footer-contact-item a{color:#6b7280;transition:color .15s}.footer-contact-item a:hover{color:#fff}
.footer-divider{border-color:rgba(255,255,255,.06)!important}
.footer-bottom-text{font-size:.78rem;color:#4b5563}
.footer-bottom-links a{font-size:.75rem;color:#4b5563;transition:color .15s;margin-left:1.25rem}
.footer-bottom-links a:hover{color:#9ca3af}

/* Back to top */
#back-to-top{position:fixed;bottom:1.5rem;right:1.5rem;width:44px;height:44px;background:var(--navy);color:#fff;border-radius:12px;display:none;align-items:center;justify-content:center;cursor:pointer;border:none;box-shadow:0 4px 16px rgba(0,0,0,.25);transition:transform .2s,box-shadow .2s;z-index:500;font-size:1rem}
#back-to-top.show{display:flex}
#back-to-top:hover{transform:translateY(-3px);box-shadow:0 8px 24px rgba(0,0,0,.3)}

/* ========================================================
   ABOUT / CONTACT PAGES
   ======================================================== */
.page-section{padding:4rem 0}
.about-lead{font-size:1.15rem;line-height:1.8;color:var(--text)}
.team-card{border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-sm);border:1px solid var(--border);transition:transform .25s,box-shadow .25s;background:var(--card)}
.team-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.team-card img{width:100%;aspect-ratio:1;object-fit:cover}
.contact-info-card{background:var(--navy);border-radius:var(--radius-lg);padding:2rem;color:#fff;height:100%}
.contact-info-card h4{font-family:var(--font-head);font-size:1.25rem;margin-bottom:1.5rem}
.contact-info-item{display:flex;gap:.875rem;margin-bottom:1.25rem;align-items:flex-start}
.contact-info-icon{width:40px;height:40px;border-radius:10px;background:rgba(255,255,255,.12);display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:1rem;color:#fff}
.contact-form-card{background:var(--card);border-radius:var(--radius-lg);padding:2rem;box-shadow:var(--shadow);border:1px solid var(--border)}
.contact-form-card .form-control{border:1.5px solid var(--border);border-radius:8px;font-family:var(--font-body);transition:border-color .15s,box-shadow .15s}
.contact-form-card .form-control:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(232,98,42,.1)}

/* ========================================================
   AD SLOTS
   ======================================================== */
.ad-container{max-width:100%;overflow:hidden}
.ad-placeholder{background:#f8fafc;border:1.5px dashed var(--border);border-radius:var(--radius);min-height:90px;display:flex;align-items:center;justify-content:center;color:var(--text-muted);font-size:.75rem;text-align:center}

/* ========================================================
   RESPONSIVE
   ======================================================== */
@media(max-width:991.98px){
  .hero-card-main{aspect-ratio:16/9}
  .hero-card-side{aspect-ratio:16/8.5}
}
@media(max-width:767.98px){
  .article-h1{font-size:1.5rem}
  .page-banner h1{font-size:1.5rem}
  .newsletter-section .row{text-align:center}
  .newsletter-section .row>[class*="col-"]:last-child{margin-top:1.5rem}
  .share-btn{padding:.35rem .75rem;font-size:.73rem}
  .author-bio-card .d-flex{flex-direction:column;align-items:center;text-align:center}
  .author-social-links{justify-content:center;display:flex}
  .article-meta-bar{gap:.75rem}
}
@media(max-width:575.98px){
  .hero-card-content{padding:1.25rem}
  .hero-excerpt{display:none}
  .post-card .card-body{padding:1rem}
  .article-body p,.article-body li{font-size:.975rem}
  .filters-bar .d-flex{flex-direction:column;gap:.75rem!important}
  .filter-search-wrap{width:100%}
}

/* ========================================================
   ANIMATIONS
   ======================================================== */
@keyframes fadeUp{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
.fade-up{animation:fadeUp .5s ease forwards}

/* Scrollbar */
::-webkit-scrollbar{width:6px}
::-webkit-scrollbar-track{background:transparent}
::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:3px}
::-webkit-scrollbar-thumb:hover{background:#9ca3af}
