/*
Theme Name: DeveloperBD XDA Style
Theme URI: https://developerbd.bond
Author: DeveloperBD
Author URI: https://developerbd.bond
Description: A dark editorial tech-news theme with card grid, category sections, and compact list rows. Content Space.
Version: 11.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: developerbd
Tags: dark, grid-layout, custom-menu, featured-images, translation-ready, blog
*/

:root{
  --bg:#0f1115; --surface:#171a21; --surface-hover:#1e222b;
  --border:#23262e; --text:#e8eaed; --muted:#9aa0a6;
  --accent:#ff5c35; --accent-hover:#ff7a58;
  --radius:12px; --max:1200px;
  --font: system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,"Noto Sans Bengali",sans-serif;
  --font-display: "Inter",system-ui,-apple-system,sans-serif;
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer;border:none;background:none;color:inherit}
body{background:var(--bg);color:var(--text);font-family:var(--font);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}
::selection{background:var(--accent);color:#fff}
.skip-link{position:absolute;left:-9999px;top:0;background:var(--accent);color:#fff;padding:10px 16px;z-index:1000;border-radius:0 0 6px 0}
.skip-link:focus{left:0}

.header-inner{max-width:var(--max);margin:0 auto;padding:14px 24px;display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.site-branding{display:flex;flex-direction:column;gap:2px;flex-shrink:0}
.site-logo{font-family:var(--font-display);font-weight:800;font-size:22px;letter-spacing:-.02em;line-height:1}
.site-logo span{color:var(--accent)}
.site-tagline{font-size:11px;color:var(--muted);letter-spacing:.05em;text-transform:uppercase}
.site-nav{margin-left:auto}
.site-nav ul{display:flex;list-style:none;gap:22px;flex-wrap:wrap}
.site-nav a{position:relative;color:var(--muted);font-size:14px;font-weight:500;padding:4px 0;transition:color .15s}
.site-nav a:hover,.site-nav a:focus-visible,.site-nav .current-menu-item>a{color:var(--text)}
.site-nav a::after{content:"";position:absolute;left:0;bottom:-2px;width:100%;height:2px;background:var(--accent);transform:scaleX(0);transform-origin:left;transition:transform .2s}
.site-nav a:hover::after,.site-nav .current-menu-item>a::after{transform:scaleX(1)}
.menu-toggle{display:none;font-size:24px;line-height:1;color:var(--text);margin-left:auto;padding:4px 8px}
.site-main{max-width:var(--max);margin:0 auto;padding:32px 24px 48px}
section+section{margin-top:48px}
.section-head{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:24px;padding-bottom:12px;border-bottom:1px solid var(--border)}
.section-head h2{font-family:var(--font-display);font-size:22px;font-weight:700;letter-spacing:-.01em}
.section-head a{color:var(--accent);font-size:13px;font-weight:600;transition:color .15s}
.section-head a:hover{color:var(--accent-hover)}
.hero{display:grid;grid-template-columns:1.15fr 1fr;gap:24px;align-items:center;background:var(--surface);border-radius:var(--radius);overflow:hidden;margin-bottom:40px}
.hero-thumb{aspect-ratio:4/3;background:linear-gradient(135deg,#2a2f3a,#1b1f27);overflow:hidden}
.hero-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.hero:hover .hero-thumb img{transform:scale(1.03)}
.hero-body{padding:36px;display:flex;flex-direction:column;gap:14px}
.hero-body h1{font-family:var(--font-display);font-size:clamp(24px,3vw,34px);font-weight:800;line-height:1.18;letter-spacing:-.02em}
.hero-body h1 a:hover{color:var(--accent)}
.hero-body p{color:var(--muted);font-size:15px;line-height:1.6}
@media(max-width:820px){.hero{grid-template-columns:1fr}}
.card-grid{display:grid;gap:24px;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}
.card{display:flex;flex-direction:column;background:var(--surface);border:1px solid transparent;border-radius:var(--radius);overflow:hidden;transition:transform .2s,border-color .2s,background .2s}
.card:hover{transform:translateY(-4px);background:var(--surface-hover);border-color:var(--border)}
.card-thumb{display:block;aspect-ratio:16/9;background:linear-gradient(135deg,#2a2f3a,#1b1f27);overflow:hidden}
.card-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.card:hover .card-thumb img{transform:scale(1.05)}
.card-body{display:flex;flex-direction:column;gap:8px;padding:16px 16px 20px;flex:1}
.card-tag{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--accent)}
.card-title{font-size:16px;font-weight:600;line-height:1.35;letter-spacing:-.005em;display:-webkit-box;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.card-title a:hover{color:var(--accent)}
.card-excerpt{font-size:13px;color:var(--muted);line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card-meta{margin-top:auto;padding-top:8px;font-size:12px;color:var(--muted)}
.story-list{display:flex;flex-direction:column}
.story-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid var(--border);transition:padding-left .15s}
.story-row:last-child{border-bottom:none}
.story-row:hover{padding-left:8px}
.story-row h3{font-size:15px;font-weight:600;line-height:1.4;transition:color .15s}
.story-row:hover h3{color:var(--accent)}
.story-count{flex-shrink:0;font-size:12px;font-variant-numeric:tabular-nums;color:var(--muted);background:var(--surface);padding:2px 10px;border-radius:999px}
.article{max-width:760px;margin:0 auto}
.article-header{margin-bottom:28px}
.article-header h1{font-family:var(--font-display);font-size:clamp(26px,4vw,40px);font-weight:800;line-height:1.18;letter-spacing:-.02em;margin:10px 0}
.article-meta{color:var(--muted);font-size:14px}
.article-hero{aspect-ratio:16/9;background:#1b1f27;border-radius:var(--radius);overflow:hidden;margin:24px 0}
.article-hero img{width:100%;height:100%;object-fit:cover}
.article-body{font-size:17px;line-height:1.75}
.article-body p{margin-bottom:1.4em}
.article-body h2{font-family:var(--font-display);font-size:24px;font-weight:700;margin:2em 0 .6em}
.article-body h3{font-family:var(--font-display);font-size:20px;font-weight:700;margin:1.6em 0 .5em}
.article-body a{color:var(--accent);text-decoration:underline;text-underline-offset:2px}
.article-body a:hover{color:var(--accent-hover)}
.article-body ul,.article-body ol{margin:0 0 1.4em 1.4em}
.article-body li{margin-bottom:.4em}
.article-body img{border-radius:var(--radius);margin:1.5em 0}
.article-body blockquote{border-left:3px solid var(--accent);padding:8px 20px;margin:1.5em 0;color:var(--muted);font-style:italic}
.article-body code{background:var(--surface);padding:2px 6px;border-radius:4px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.92em;color:var(--accent)}
.article-body pre{background:var(--surface);padding:16px;border-radius:var(--radius);overflow-x:auto;margin:1.5em 0}
.article-body pre code{background:none;padding:0;color:var(--text)}
.article-body table{width:100%;border-collapse:collapse;margin:1.5em 0}
.article-body th,.article-body td{padding:10px;border-bottom:1px solid var(--border);text-align:left}
.article-body th{background:var(--surface);font-weight:700}
.article-tags{margin-top:28px;display:flex;flex-wrap:wrap;gap:8px}
.article-tags a{font-size:12px;padding:4px 12px;border-radius:999px;background:var(--surface);color:var(--muted);transition:background .15s,color .15s}
.article-tags a:hover{background:var(--accent);color:#fff}
.pagination{margin-top:40px;text-align:center}
.pagination .page-numbers{display:inline-block;padding:8px 14px;margin:0 3px;background:var(--surface);border-radius:8px;font-size:14px;transition:background .15s,color .15s}
.pagination .page-numbers:hover,.pagination .page-numbers.current{background:var(--accent);color:#fff}
.widget{margin-bottom:32px;background:var(--surface);padding:20px;border-radius:var(--radius)}
.widget-title{font-family:var(--font-display);font-size:16px;font-weight:700;margin-bottom:14px}
.widget ul{list-style:none}
.widget li{padding:6px 0;border-bottom:1px solid var(--border);font-size:14px}
.widget li:last-child{border-bottom:none}
.widget a:hover{color:var(--accent)}
.layout-with-sidebar{display:grid;grid-template-columns:1fr 300px;gap:40px}
@media(max-width:900px){.layout-with-sidebar{grid-template-columns:1fr}}
.site-footer{border-top:1px solid var(--border);margin-top:64px;padding:36px 24px 28px;color:var(--muted);font-size:13px}
.footer-inner{max-width:var(--max);margin:0 auto;display:flex;justify-content:space-between;flex-wrap:wrap;gap:16px}
.footer-nav{display:flex;gap:20px;flex-wrap:wrap;list-style:none}
.footer-nav a:hover{color:var(--accent)}
.search-form{display:flex;gap:8px;max-width:400px;margin-bottom:32px}
.search-form input[type=search]{flex:1;padding:10px 14px;background:var(--surface);border:1px solid var(--border);border-radius:8px;color:var(--text);font-size:14px}
.search-form input[type=search]:focus{outline:none;border-color:var(--accent)}
.search-form button{padding:10px 18px;background:var(--accent);color:#fff;border-radius:8px;font-weight:600;font-size:14px}
.search-form button:hover{background:var(--accent-hover)}
.comments-area{margin-top:48px;padding-top:32px;border-top:1px solid var(--border)}
.comments-title{font-family:var(--font-display);font-size:20px;font-weight:700;margin-bottom:20px}
.comment-list{list-style:none}
.comment-list li{padding:16px;background:var(--surface);border-radius:var(--radius);margin-bottom:12px}
.comment-author{font-weight:700;color:var(--text);font-size:14px}
.comment-meta{font-size:12px;color:var(--muted);margin-bottom:8px}
.comment-content{font-size:14px;line-height:1.6}
.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.alignleft{float:left;margin:0 20px 20px 0}
.alignright{float:right;margin:0 0 20px 20px}
.aligncenter{margin:0 auto 20px}
@media(max-width:900px){.card-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}}
@media(max-width:700px){
  .menu-toggle{display:block}
  .site-nav{display:none;width:100%;margin-left:0;padding-top:16px;border-top:1px solid var(--border)}
  .site-nav.is-open{display:block}
  .site-nav ul{flex-direction:column;gap:0}
  .site-nav li{border-bottom:1px solid var(--border)}
  .site-nav a{display:block;padding:12px 0;font-size:15px}
}
@media(max-width:600px){
  .header-inner{padding:12px 16px;gap:12px}
  .site-logo{font-size:19px}
  .site-main{padding:24px 16px 40px}
  .card-grid{grid-template-columns:1fr;gap:16px}
  .section-head h2{font-size:18px}
  section+section{margin-top:32px}
  .hero-body{padding:24px}
  .article-body{font-size:16px}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer{
  border-top:1px solid var(--border);
  background:var(--bg);
  margin-top:64px;
  padding:56px 24px 24px;
  font-size:14px;
  color:var(--muted);
}
.footer-inner{
  max-width:var(--max);
  margin:0 auto;
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr 1fr;
  gap:40px;
}
.footer-brand{max-width:340px}
.footer-logo{
  display:inline-block;
  font-family:var(--font-display);
  font-weight:800;
  font-size:22px;
  letter-spacing:-.02em;
  color:var(--text);
  margin-bottom:6px;
}
.footer-logo span{color:var(--accent)}
.footer-tagline{
  font-size:12px;
  color:var(--muted);
  margin-bottom:24px;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.footer-heading{
  font-family:var(--font-display);
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--text);
  margin-bottom:12px;
  margin-top:20px;
}
.footer-brand .footer-heading:first-of-type{margin-top:0}
.footer-note{font-size:13px;margin-bottom:12px;line-height:1.5}

/* Subscribe form */
.footer-subscribe{
  display:flex;
  gap:6px;
  margin-bottom:8px;
  max-width:340px;
}
.footer-subscribe input{
  flex:1;
  padding:10px 12px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:8px;
  color:var(--text);
  font-size:13px;
  min-width:0;
}
.footer-subscribe input:focus{
  outline:none;
  border-color:var(--accent);
}
.footer-subscribe button{
  padding:0 16px;
  background:var(--accent);
  color:#fff;
  border-radius:8px;
  font-size:16px;
  font-weight:600;
  transition:background .15s;
}
.footer-subscribe button:hover{background:var(--accent-hover)}

/* Social buttons */
.footer-social{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.footer-social a{
  width:36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--surface);
  border-radius:50%;
  color:var(--muted);
  font-size:14px;
  font-weight:700;
  transition:background .15s,color .15s,transform .15s;
}
.footer-social a:hover{
  background:var(--accent);
  color:#fff;
  transform:translateY(-2px);
}

/* Link columns */
.footer-col{padding-top:4px}
.footer-links{list-style:none}
.footer-links li{margin-bottom:10px}
.footer-links a{
  color:var(--muted);
  font-size:14px;
  transition:color .15s;
}
.footer-links a:hover{color:var(--accent)}

/* Bottom bar */
.footer-bottom{
  max-width:var(--max);
  margin:48px auto 0;
  padding-top:20px;
  border-top:1px solid var(--border);
  font-size:12px;
  color:var(--muted);
  text-align:left;
}

/* Responsive */
@media(max-width:900px){
  .footer-inner{grid-template-columns:1fr 1fr;gap:32px}
  .footer-brand{grid-column:1 / -1;max-width:none}
}
@media(max-width:560px){
  .footer-inner{grid-template-columns:1fr;gap:28px}
  .site-footer{padding:40px 16px 20px}
  .footer-bottom{text-align:center}
}

/* ============================================
   HEADER — two-row magazine style
   ============================================ */


/* Row 1: hamburger + logo + sign in */
.header-top{
  max-width:var(--max);
  margin:0 auto;
  padding:14px 24px;
  display:flex;
  align-items:center;
  gap:20px;
}

/* Hamburger button */
.menu-toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:32px;
  height:32px;
  padding:4px;
  flex-shrink:0;
}
.menu-toggle span{
  display:block;
  height:2px;
  background:#fff;
  border-radius:2px;
  transition:transform .2s,opacity .2s;
}

/* Logo */
.site-logo{
  font-family:var(--font-display);
  font-weight:800;
  font-size:24px;
  letter-spacing:-.02em;
  color:#fff;
  line-height:1;
  text-shadow:0 1px 3px rgba(0,0,0,.25);
}
.site-logo span{color:#ffd8c4}

/* Sign in pill */
.signin-btn{
  margin-left:auto;
  display:inline-flex;
  align-items:center;
  padding:8px 20px;
  background:#fff;
  color:#c0392b;
  border-radius:999px;
  font-size:14px;
  font-weight:700;
  letter-spacing:.02em;
  transition:transform .15s,box-shadow .15s,background .15s;
  box-shadow:0 2px 8px rgba(0,0,0,.15);
}
.signin-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 4px 12px rgba(0,0,0,.25);
  background:#fff5f0;
}

/* Row 2: category nav */
.header-nav{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:14px;
  padding:12px 24px;
  border-top:1px solid rgba(255,255,255,.18);
  flex-wrap:wrap;
}
.header-nav a{
  color:#fff;
  font-size:14px;
  font-weight:600;
  letter-spacing:.01em;
  padding:4px 2px;
  opacity:.92;
  transition:opacity .15s;
}
.header-nav a:hover{opacity:1;text-decoration:underline;text-underline-offset:4px}
.nav-dot{
  color:rgba(255,255,255,.55);
  font-size:14px;
  user-select:none;
}

/* ============================================
   MOBILE DRAWER
   ============================================ */
.drawer-backdrop{
  
  inset:0;
  background:rgba(0,0,0,.55);
  opacity:0;
  visibility:hidden;
  z-index:200;
  transition:opacity .2s,visibility .2s;
}
.drawer-backdrop.is-open{opacity:1;visibility:visible}

.mobile-drawer{
  
  top:0;
  left:0;
  bottom:0;
  width:280px;
  max-width:85vw;
  background:#171a21;
  z-index:300;
  transform:translateX(-100%);
  transition:transform .25s ease;
  padding:24px 20px;
  overflow-y:auto;
}
.mobile-drawer.is-open{transform:translateX(0)}
.mobile-drawer nav{
  display:flex;
  flex-direction:column;
  gap:4px;
  margin-top:24px;
}
.mobile-drawer a{
  color:#e8eaed;
  font-size:16px;
  font-weight:600;
  padding:14px 12px;
  border-radius:8px;
  transition:background .15s,color .15s;
}
.mobile-drawer a:hover{background:#23262e;color:#ff5c35}

.drawer-close{
  position:absolute;
  top:16px;
  right:16px;
  width:36px;
  height:36px;
  font-size:24px;
  line-height:1;
  color:#9aa0a6;
  border-radius:50%;
  transition:background .15s,color .15s;
}
.drawer-close:hover{background:#23262e;color:#fff}

/* Responsive: show hamburger, hide full nav on mobile */
@media(max-width:820px){
  .menu-toggle{display:flex}
  .header-nav{
    display:none;
    flex-direction:column;
    gap:0;
    padding:0;
    border-top:1px solid rgba(255,255,255,.18);
  }
  .header-nav.is-open{display:flex}
  .header-nav a{padding:14px 20px;width:100%;text-align:left}
  .nav-dot{display:none}
}
@media(max-width:600px){
  .header-top{padding:12px 16px}
  .site-logo{font-size:20px}
  .signin-btn{padding:6px 14px;font-size:13px}
}

}

@media(max-width:600px){
  .header-top{
    padding:6px 14px;
    min-height:48px;
  }
  .custom-logo,
  .custom-logo-link{
    max-height:34px;
  }
  .signin-btn{
    padding:5px 12px;
    font-size:12px;
  }
}

/* Header — aggressive trim */
.header-top{padding:6px 20px;min-height:50px}
.custom-logo{max-height:36px}
.site-logo{font-size:20px}
.header-nav{padding:8px 20px}
.header-nav a{font-size:13px}



/* Prevent horizontal scroll-jump when sticky engages */
html, body{
  overflow-x: hidden;
}

/* Optional: add a subtle shadow when scrolling */
.site-header{
  transition: box-shadow .2s ease;
}

/* Fallback: fixed header */



.site-header.is-scrolled{
  box-shadow: 0 4px 16px rgba(0,0,0,.35);
}

/* Scrolled state: shadow on header */
.site-header.is-scrolled{
  box-shadow: 0 4px 16px rgba(0,0,0,.35);
}
/* ===== Hide Header on Scroll Down ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    transition: transform 0.35s ease, box-shadow 0.3s ease;
}

/* Hide header when scrolling down */
.site-header.header-hidden {
    transform: translateY(-100%);
}

/* Keep is-scrolled for the shadow effect */
.site-header.is-scrolled {
    box-shadow: 0 4px 16px rgba(0,0,0,.35);
}

/* Add padding to body so content doesn't hide under fixed header */
body {
    padding-top: 110px;
}

@media (max-width: 768px) {
    body {
        padding-top: 90px;
    }
}




/* Push content down so it doesn't hide under the fixed header */


@media(max-width:820px){
  
}

@media(max-width:600px){
  
}



/* Push page content down so it isn't hidden under the header */


@media(max-width: 820px){
  
}

@media(max-width: 600px){
  
}



/* Neutralize Elementor wrappers that break fixed */
html body,
html body .site,
html body #page,
html body #content,
html body .elementor{
  transform: none !important;
  filter: none !important;
  perspective: none !important;
  overflow-x: clip !important;
  overflow-y: visible !important;
}

/* Push content down so it isn't hidden under the header */

@media(max-width:820px){  }
@media(max-width:600px){  }


/* ============================================
   Remove empty gap above content
   ============================================ */
html body main#content.site-main,
html body .site-main,
body.home .site-main{
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* First child inside main — zero top spacing */
html body main#content.site-main > *:first-child,
html body main#content.site-main > .hero:first-child,
html body main#content.site-main > article:first-child{
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Kill Gutentor wrappers */
html body .gutentor-section,
html body .gutentor-container,
html body [class*="gutentor"]{
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Kill Elementor's content wrapper spacing */
html body .elementor,
html body .elementor-section,
html body .elementor-container,
html body .e-con,
html body .e-con-inner{
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Hero article itself */
.hero{
  margin-top: 0 !important;
}

/* ============================================
   HARD FIX — kill all space around content
   ============================================ */
html body{
  padding-top: 0 !important;
  margin-top: 0 !important;
}
html body > header.site-header{
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
html body > main#content.site-main,
html body > .site-main,
main#content.site-main{
  padding-top: 0 !important;
  margin-top: 0 !important;
}
html body > main#content.site-main > *:first-child{
  margin-top: 0 !important;
  padding-top: 0 !important;
}
html body > aside.mobile-drawer,
html body > .mobile-drawer{
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 280px !important;
  height: 100vh !important;
  max-height: 100vh !important;
  transform: translateX(-100%) !important;
  z-index: 300 !important;
  overflow-y: auto !important;
  pointer-events: none;
}
html body > aside.mobile-drawer.is-open{
  transform: translateX(0) !important;
  pointer-events: auto;
}
html body > .drawer-backdrop{
  position: fixed !important;
  inset: 0 !important;
  height: 100vh !important;
  pointer-events: none;
}
html body > .drawer-backdrop.is-open{
  pointer-events: auto;
}
/* LIGHT THEME START */
html, body, #page, #content, .site-main, .site-footer {
  background: #ffffff !important;
  color: #111111 !important;
}
h1, h2, h3, h4, h5, h6 { color: #000000 !important; }
p, li, span, div, article, section, aside { color: #111111; }
a { color: #c0392b; }
a:hover { color: #a93226; }

.site-header, .header-top {
  background: #ffffff !important;
  border-bottom: 1px solid #e5e5e5 !important;
  box-shadow: none !important;
}
.site-logo, .site-logo span, .header-nav a, .nav-dot { color: #111111 !important; }
.header-nav a:hover { color: #c0392b !important; }
.menu-toggle span { background: #111111 !important; }
.signin-btn { background: #c0392b !important; color: #ffffff !important; }

.card, .hero {
  background: #ffffff !important;
  border: 1px solid #e5e5e5 !important;
}
.card-title, .card-title a, .hero-body h1, .hero-body h1 a { color: #000000 !important; }
.card-excerpt, .card-meta, .hero-body p { color: #555555 !important; }
.card-tag { color: #c0392b !important; }

.section-head { border-bottom: 1px solid #e5e5e5 !important; }
.section-head h2 { color: #000000 !important; }
.section-head a { color: #c0392b !important; }

.story-row { border-bottom: 1px solid #e5e5e5 !important; }
.story-row h3 { color: #111111 !important; }
.story-count { background: #f0f0f0 !important; color: #555555 !important; }

.mobile-drawer { background: #ffffff !important; }
.mobile-drawer a { color: #111111 !important; }
.drawer-close { color: #555555 !important; }

.site-footer {
  background: #f9f9f9 !important;
  border-top: 1px solid #e5e5e5 !important;
}
.footer-logo, .footer-heading { color: #000000 !important; }
.footer-tagline, .footer-note, .footer-links a, .footer-bottom { color: #555555 !important; }
.footer-social a { background: #eeeeee !important; color: #555555 !important; }
.footer-subscribe input { background: #ffffff !important; border: 1px solid #d0d0d0 !important; color: #111111 !important; }
.footer-subscribe button { background: #c0392b !important; color: #ffffff !important; }
/* LIGHT THEME END */

/* ============================================
   DEEP BLACK TEXT
   ============================================ */
html, body,
.site-main, #page, #content,
.site-footer,
.card, .hero,
.article, .article-body,
.mobile-drawer,
.story-list{

  color: #000000 !important;
}

/* All headings */
h1, h2, h3, h4, h5, h6,
.card-title, .card-title a,
.hero-body h1, .hero-body h1 a,
.section-head h2,
.story-row h3,
.article-header h1,
.footer-heading,
.footer-logo{

  color: #000000 !important;
}

/* All body text and paragraphs */
p, li, span, div, article, section,
.card-excerpt,
.card-meta,
.hero-body p,
.article-body p,
.article-body li,
.article-meta,
.footer-tagline,
.footer-note,
.footer-links a,
.footer-bottom,
.comment-content,
.comment-author{

  color: #000000 !important;
}

/* Slightly softer black for very small text is optional — remove if you want fully black meta too */
.card-meta,
.story-count,
.article-meta{
  color: #000000 !important;
}

/* Links: keep red for clickable text */
a{
  color: #c0392b;
}
a:hover{
  color: #a93226;
}

/* But don't override already-red accents */
.card-tag,
.section-head a,
.article-body a{
  color: #c0392b !important;
}

/* ============================================
   LIGHT THEME — polish pass
   ============================================ */

/* Base */
html, body{
  background: #ffffff !important;
  color: #111111 !important;
}
h1, h2, h3, h4, h5, h6{
  color: #0a0a0a !important;
}
p, li, span, div, article, section{
  color: #111111 !important;
}
a{ color: #c0392b !important; }
a:hover{ color: #a93226 !important; }

/* ============================================
   SIDEBAR — light grey, dark text
   ============================================ */
.sidebar,
.widget,
aside.widget{
  background: #f9f9f9 !important;
  border: 1px solid #ececec !important;
  border-radius: 8px !important;
  padding: 20px !important;
  color: #111111 !important;
}
.widget-title,
.sidebar h3,
.sidebar h2{
  color: #0a0a0a !important;
  font-weight: 700 !important;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 8px;
  margin-bottom: 12px;
}
.widget ul li,
.sidebar ul li{
  border-bottom: 1px solid #e9e9e9;
}
.widget a,
.sidebar a{
  color: #c0392b !important;
}
.widget a:hover,
.sidebar a:hover{
  color: #a93226 !important;
}

/* Search form */
.search-form input[type=search],
.widget input[type=search]{
  background: #ffffff !important;
  border: 1px solid #dcdcdc !important;
  color: #111111 !important;
  border-radius: 6px;
}
.search-form input:focus,
.widget input:focus{
  border-color: #c0392b !important;
  outline: none;
}
.search-form button,
.widget button{
  background: #c0392b !important;
  color: #ffffff !important;
  border-radius: 6px;
}
.search-form button:hover,
.widget button:hover{
  background: #a93226 !important;
}

/* ============================================
   CARDS — subtle shadow
   ============================================ */
.card{
  background: #ffffff !important;
  border: 1px solid #e8e8e8 !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.card:hover{
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  border-color: #d8d8d8 !important;
  transform: translateY(-2px);
}
.card-title,
.card-title a{
  color: #0a0a0a !important;
}
.card-title a:hover{
  color: #c0392b !important;
}
.card-excerpt{
  color: #333333 !important;
}
.card-meta{
  color: #666666 !important;
}
.card-tag{
  color: #c0392b !important;
  font-weight: 700;
}

/* Hero */
.hero{
  background: #ffffff !important;
  border: 1px solid #e8e8e8 !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.hero-body h1,
.hero-body h1 a{
  color: #0a0a0a !important;
}
.hero-body p{
  color: #444444 !important;
}

/* ============================================
   SECTIONS
   ============================================ */
.section-head{
  border-bottom: 2px solid #111111 !important;
  padding-bottom: 12px;
}
.section-head h2{
  color: #0a0a0a !important;
  letter-spacing: -.02em;
}
.section-head a{
  color: #c0392b !important;
  font-weight: 700;
}
.section-head a:hover{
  color: #a93226 !important;
}

/* Story list */
.story-row{
  border-bottom: 1px solid #ececec !important;
}
.story-row h3{
  color: #111111 !important;
}
.story-row h3:hover{
  color: #c0392b !important;
}
.story-count{
  background: #f2f2f2 !important;
  color: #555555 !important;
  font-weight: 600;
}

/* ============================================
   ARTICLE PAGE
   ============================================ */
.article-header h1{
  color: #0a0a0a !important;
}
.article-meta{
  color: #666666 !important;
}
.article-body,
.article-body p,
.article-body li{
  color: #111111 !important;
}
.article-body h2,
.article-body h3,
.article-body h4{
  color: #0a0a0a !important;
}
.article-body a{
  color: #c0392b !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-body code{
  background: #f4f4f4 !important;
  color: #c0392b !important;
}
.article-body pre{
  background: #f4f4f4 !important;
  color: #111111 !important;
}
.article-body blockquote{
  border-left: 4px solid #c0392b !important;
  background: #fafafa;
  padding: 12px 20px;
  color: #333333 !important;
}

/* ============================================
   HEADER
   ============================================ */
.site-header,
.header-top{
  background: #ffffff !important;
  border-bottom: 1px solid #e8e8e8 !important;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}
.site-logo,
.site-logo span{
  color: #0a0a0a !important;
}
.header-nav{
  border-top: 1px solid #f0f0f0 !important;
}
.header-nav a{
  color: #111111 !important;
}
.header-nav a:hover{
  color: #c0392b !important;
}
.nav-dot{
  color: #bbbbbb !important;
}
.menu-toggle span{
  background: #111111 !important;
}
.signin-btn{
  background: #c0392b !important;
  color: #ffffff !important;
}
.signin-btn:hover{
  background: #a93226 !important;
  color: #ffffff !important;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer{
  background: #f5f5f5 !important;
  border-top: 1px solid #e5e5e5 !important;
  color: #111111 !important;
}
.footer-logo,
.footer-logo span{
  color: #0a0a0a !important;
}
.footer-heading{
  color: #0a0a0a !important;
}
.footer-tagline,
.footer-note{
  color: #666666 !important;
}
.footer-links a{
  color: #333333 !important;
}
.footer-links a:hover{
  color: #c0392b !important;
}
.footer-social a{
  background: #e5e5e5 !important;
  color: #333333 !important;
}
.footer-social a:hover{
  background: #c0392b !important;
  color: #ffffff !important;
}
.footer-subscribe input{
  background: #ffffff !important;
  border: 1px solid #d5d5d5 !important;
  color: #111111 !important;
  border-radius: 6px;
}
.footer-subscribe input:focus{
  border-color: #c0392b !important;
  outline: none;
}
.footer-subscribe button{
  background: #c0392b !important;
  color: #ffffff !important;
  border-radius: 6px;
}
.footer-subscribe button:hover{
  background: #a93226 !important;
}
.footer-bottom{
  color: #777777 !important;
  border-top: 1px solid #e5e5e5 !important;
}

/* ============================================
   MOBILE DRAWER
   ============================================ */
.mobile-drawer{
  background: #ffffff !important;
}
.mobile-drawer a{
  color: #111111 !important;
}
.mobile-drawer a:hover{
  background: #f2f2f2 !important;
  color: #c0392b !important;
}
.drawer-close{
  color: #555555 !important;
}
.drawer-close:hover{
  background: #f0f0f0 !important;
  color: #111111 !important;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination .page-numbers{
  background: #f4f4f4 !important;
  color: #111111 !important;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current{
  background: #c0392b !important;
  color: #ffffff !important;
}

/* ============================================
   COMMENTS
   ============================================ */
.comment-list li{
  background: #fafafa !important;
  border: 1px solid #ececec !important;
}
.comment-author{
  color: #0a0a0a !important;
}
.comment-meta{
  color: #777777 !important;
}
.comment-content{
  color: #222222 !important;
}

/* Reading progress bar */
#reading-progress{
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: #c0392b;
  z-index: 999999;
  transition: width .08s linear;
  box-shadow: 0 0 6px rgba(192,57,43,.6);
}

/* Author box */
.author-box{
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #f9f9f9;
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 24px;
  margin-top: 40px;
}
.author-avatar img{
  border-radius: 50%;
  width: 96px;
  height: 96px;
  object-fit: cover;
  display: block;
}
.author-info{ flex: 1; }
.author-name{
  font-size: 18px;
  font-weight: 700;
  color: #0a0a0a;
  margin-bottom: 6px;
}
.author-name a{ color: #0a0a0a; text-decoration: none; }
.author-name a:hover{ color: #c0392b; }
.author-bio{
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 10px;
}
.author-link{
  color: #c0392b;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.author-link:hover{ color: #a93226; }

@media(max-width: 600px){
  .author-box{ flex-direction: column; text-align: center; align-items: center; }
  .author-avatar img{ margin: 0 auto; }
}

/* Share buttons */
.share-buttons{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #ececec;
  flex-wrap: wrap;
}
.share-label{
  font-size: 13px;
  font-weight: 700;
  color: #555;
  margin-right: 6px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.share-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f2f2f2;
  color: #333;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .15s, color .15s, transform .15s;
}
.share-btn:hover{
  background: #c0392b;
  color: #fff;
  transform: translateY(-2px);
}
.share-x:hover   { background: #000; }
.share-fb:hover  { background: #1877f2; }
.share-li:hover  { background: #0a66c2; }
.share-wa:hover  { background: #25d366; }
.share-copy:hover{ background: #c0392b; }

/* Reading progress bar */
#reading-progress{
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: #c0392b;
  z-index: 999999;
  transition: width .08s linear;
  box-shadow: 0 0 6px rgba(192,57,43,.6);
}

/* ============================================
   PURPLE / MAGENTA HEADER THEME
   ============================================ */
:root{
  --hdr-grad-start: #3a0f5c;
  --hdr-grad-mid:   #7c2382;
  --hdr-grad-end:   #c2185b;
  --accent:         #c2185b;
  --accent-hover:   #a01549;
}

/* Header — gradient background */
.site-header{
  background: linear-gradient(90deg,
    var(--hdr-grad-start) 0%,
    var(--hdr-grad-mid)   50%,
    var(--hdr-grad-end)   100%) !important;
  border-bottom: none !important;
  box-shadow: 0 2px 12px rgba(58,15,92,.25) !important;
}
.header-top{
  background: transparent !important;
}

/* Header text — white */
.site-logo,
.site-logo span{
  color: #ffffff !important;
}
.header-nav{
  border-top: 1px solid rgba(255,255,255,.18) !important;
}
.header-nav a{
  color: #ffffff !important;
  opacity: .94;
}
.header-nav a:hover{
  color: #ffffff !important;
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.nav-dot{
  color: rgba(255,255,255,.55) !important;
}

/* Hamburger — white */
.menu-toggle span{
  background: #ffffff !important;
}

/* Sign In button — white pill, purple text */
.signin-btn{
  background: #ffffff !important;
  color: #3a0f5c !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.18) !important;
}
.signin-btn:hover{
  background: #f5eef9 !important;
  color: #3a0f5c !important;
}

/* Header search — matches theme */
.header-search{
  background: rgba(255,255,255,.15) !important;
  border: 1px solid rgba(255,255,255,.25) !important;
}
.header-search input{
  color: #ffffff !important;
}
.header-search input::placeholder{
  color: rgba(255,255,255,.7) !important;
}
.header-search button{
  background: #ffffff !important;
  color: #3a0f5c !important;
}
.header-search button:hover{
  background: #f5eef9 !important;
}

/* Accent — magenta */
.card-tag{
  color: var(--accent) !important;
}
.section-head a{
  color: var(--accent) !important;
}
.section-head a:hover{
  color: var(--accent-hover) !important;
}
.section-head{
  border-bottom: 2px solid #111 !important;
}
.article-body a,
.widget a,
.sidebar a{
  color: var(--accent) !important;
}
.article-body a:hover,
.widget a:hover,
.sidebar a:hover{
  color: var(--accent-hover) !important;
}

/* Reading progress bar — magenta */
#reading-progress{
  background: var(--accent) !important;
}

/* Links on white page */
a{
  color: var(--accent);
}
a:hover{
  color: var(--accent-hover);
}

/* Search button in sidebar */
.search-form button,
.widget button{
  background: var(--accent) !important;
}
.search-form button:hover,
.widget button:hover{
  background: var(--accent-hover) !important;
}
.search-form input:focus,
.widget input:focus{
  border-color: var(--accent) !important;
}

/* Footer — dark purple */
.site-footer{
  background: #25063d !important;
  color: #e8d9f2 !important;
  border-top: 1px solid #3a0f5c !important;
}
.footer-logo,
.footer-logo span,
.footer-heading{
  color: #ffffff !important;
}
.footer-tagline,
.footer-note,
.footer-bottom{
  color: #c9aedb !important;
}
.footer-links a{
  color: #e8d9f2 !important;
}
.footer-links a:hover{
  color: #ffffff !important;
}
.footer-social a{
  background: rgba(255,255,255,.12) !important;
  color: #ffffff !important;
}
.footer-social a:hover{
  background: var(--accent) !important;
  color: #ffffff !important;
}
.footer-subscribe input{
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  color: #ffffff !important;
}
.footer-subscribe input::placeholder{
  color: #c9aedb !important;
}
.footer-subscribe input:focus{
  border-color: var(--accent) !important;
}
.footer-subscribe button{
  background: var(--accent) !important;
  color: #ffffff !important;
}
.footer-subscribe button:hover{
  background: var(--accent-hover) !important;
}
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.12) !important;
}

/* Reading progress bar */
#reading-progress{
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: #c2185b;
  z-index: 999999;
  transition: width .08s linear;
}

/* Related posts spacing */
.related-posts{
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid #ececec;
}
.related-posts .section-head{
  margin-bottom: 20px;
}
.related-posts .card-grid{
  margin-top: 0;
}

/* Author box */
.author-box{
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #f9f9f9;
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 24px;
  margin-top: 40px;
}
.author-avatar img{
  border-radius: 50%;
  width: 96px;
  height: 96px;
  object-fit: cover;
  display: block;
}
.author-info{ flex: 1; min-width: 0; }
.author-name{
  font-size: 18px;
  font-weight: 700;
  color: #0a0a0a;
  margin: 0 0 8px;
}
.author-name a{ color: #0a0a0a; text-decoration: none; }
.author-name a:hover{ color: #c2185b; }
.author-bio{
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  margin: 0 0 10px;
}
.author-link{
  color: #c2185b;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.author-link:hover{ color: #a01549; }

@media(max-width: 600px){
  .author-box{
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .author-avatar img{ margin: 0 auto; }
}

/* Share buttons */
.share-buttons{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #ececec;
  flex-wrap: wrap;
}
.share-label{
  font-size: 13px;
  font-weight: 700;
  color: #555;
  margin-right: 4px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.share-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f2f2f2;
  color: #333;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .15s, color .15s, transform .15s;
}
.share-btn:hover{
  background: #c2185b;
  color: #fff;
  transform: translateY(-2px);
}
.share-x:hover   { background: #000000; }
.share-fb:hover  { background: #1877f2; }
.share-li:hover  { background: #0a66c2; }
.share-wa:hover  { background: #25d366; }
.share-copy:hover{ background: #c2185b; }

/* Footer newsletter form */
.footer-newsletter{
  margin-top: 4px;
  margin-bottom: 20px;
  max-width: 340px;
}
.footer-newsletter input[type="email"],
.footer-newsletter input[type="text"]{
  width: 100%;
  padding: 10px 14px;
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  color: #ffffff !important;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 8px;
}
.footer-newsletter input::placeholder{
  color: #c9aedb !important;
}
.footer-newsletter input:focus{
  outline: none;
  border-color: #c2185b !important;
}
.footer-newsletter button,
.footer-newsletter input[type="submit"]{
  background: #c2185b !important;
  color: #ffffff !important;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
}
.footer-newsletter button:hover,
.footer-newsletter input[type="submit"]:hover{
  background: #a01549 !important;
}
.footer-newsletter label{
  color: #c9aedb !important;
  font-size: 13px;
  display: block;
  margin-bottom: 4px;
}

/* ============================================
   TVS Newsletter form — compact footer version
   ============================================ */
.footer-newsletter{
  max-width: 100% !important;
  margin: 8px 0 20px !important;
}

/* The form container (whatever class TVS uses) */
.footer-newsletter form,
.footer-newsletter > div,
.footer-newsletter .tvs-block-newsletter,
.footer-newsletter [class*="newsletter"]{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}

/* Title and description — hide or shrink */
.footer-newsletter h2,
.footer-newsletter h3,
.footer-newsletter h4,
.footer-newsletter .tvs-block-newsletter__title,
.footer-newsletter [class*="title"]{
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 0 4px !important;
  padding: 0 !important;
  line-height: 1.3 !important;
}

.footer-newsletter p,
.footer-newsletter .tvs-block-newsletter__description,
.footer-newsletter [class*="description"]{
  font-size: 12px !important;
  color: #c9aedb !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  line-height: 1.4 !important;
}

/* Inputs — smaller */
.footer-newsletter input[type="email"],
.footer-newsletter input[type="text"]{
  width: 100% !important;
  padding: 8px 12px !important;
  font-size: 13px !important;
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  color: #ffffff !important;
  border-radius: 6px !important;
  margin-bottom: 8px !important;
  box-sizing: border-box !important;
  height: auto !important;
}

.footer-newsletter input::placeholder{
  color: #c9aedb !important;
  font-size: 12px !important;
}

.footer-newsletter input:focus{
  outline: none !important;
  border-color: #c2185b !important;
}

/* Labels — hide or shrink */
.footer-newsletter label{
  font-size: 12px !important;
  color: #c9aedb !important;
  margin-bottom: 4px !important;
  display: block !important;
}

/* Submit button — smaller */
.footer-newsletter button,
.footer-newsletter input[type="submit"]{
  width: 100% !important;
  padding: 9px 16px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  background: #c2185b !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: background .15s !important;
  height: auto !important;
  margin-top: 2px !important;
}

.footer-newsletter button:hover,
.footer-newsletter input[type="submit"]:hover{
  background: #a01549 !important;
}

/* Hide any success/error messages that take huge space */
.footer-newsletter .tvs-block-newsletter__message,
.footer-newsletter [class*="message"]{
  font-size: 12px !important;
  margin-top: 8px !important;
}

/* Hide TVS duplicate title + description inside footer */
.footer-newsletter h2,
.footer-newsletter h3,
.footer-newsletter h4{
  display: none !important;
}
.footer-newsletter p:first-of-type{
  display: none !important;
}

/* Hide "Your Name (Optional)" field if empty */
.footer-newsletter input[type="text"]{
  display: none !important;
}

/* ============================================
   Sidebar — LATEST list
   ============================================ */
.widget-latest .widget-title{
  font-size: 22px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: #0a0a0a !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin-bottom: 20px !important;
}

.latest-list{
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid #e5e5e5;
}

.latest-item{
  padding: 0 0 20px 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid #ececec;
  position: relative;
}
.latest-item:last-child{
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* small tick on the left edge */
.latest-item::before{
  content: "";
  position: absolute;
  left: -1px;
  top: 6px;
  width: 2px;
  height: 14px;
  background: #c2185b;
}

.latest-time{
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #c2185b;
  margin-bottom: 6px;
}

.latest-title{
  display: block;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: #0a0a0a;
  text-decoration: none;
  transition: color .15s;
}
.latest-title:hover{
  color: #c2185b;
}

@media(max-width: 900px){
  .latest-list{ border-left: none; }
  .latest-item{ padding-left: 0; }
  .latest-item::before{ display: none; }
}

/* Force hero visible */
article.hero,
body .site-main > article.hero{
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
}
article.hero .hero-thumb{
  display: block !important;
  min-height: 250px !important;
  background: linear-gradient(135deg,#2a2f3a,#1b1f27) !important;
}
article.hero .hero-body{
  display: flex !important;
  visibility: visible !important;
}

/* ============================================
   SIDEBAR — clean editorial layout
   ============================================ */
.sidebar{
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sidebar .widget{
  background: #fafafa;
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 24px 22px;
}

.sidebar .widget-title{
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: #0a0a0a;
  margin: 0 0 20px;
  padding: 0 0 12px;
  border-bottom: 2px solid #0a0a0a;
}

/* ---------- LATEST widget ---------- */
.latest-list{ list-style: none; margin: 0; padding: 0; }
.latest-item{
  padding: 0 0 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid #e8e8e8;
}
.latest-item:last-child{ border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.latest-time{
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #c2185b;
  margin-bottom: 6px;
}
.latest-title{
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: #0a0a0a;
  text-decoration: none;
  transition: color .15s;
}
.latest-title:hover{ color: #c2185b; }

/* ---------- CATEGORIES widget ---------- */
.cats-list{ list-style: none; margin: 0; padding: 0; }
.cat-item{ border-bottom: 1px solid #ececec; }
.cat-item:last-child{ border-bottom: none; }
.cat-item a{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  color: #111111;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: color .15s;
}
.cat-item a:hover{ color: #c2185b; }
.cat-name{ flex: 1; }
.cat-count{
  font-size: 12px;
  font-weight: 700;
  color: #888;
  background: #f0f0f0;
  padding: 3px 10px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}

/* ---------- TRENDING widget ---------- */
.trending-list{ list-style: none; margin: 0; padding: 0; counter-reset: trend; }
.trending-item{
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 0 0 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #e8e8e8;
}
.trending-item:last-child{ border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.trending-num{
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #c2185b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}
.trending-title{
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: #0a0a0a;
  text-decoration: none;
  transition: color .15s;
}
.trending-title:hover{ color: #c2185b; }

/* ---------- Mobile ---------- */
@media(max-width: 900px){
  .sidebar{ margin-top: 40px; gap: 24px; }
  .sidebar .widget{ padding: 20px 18px; }
  .sidebar .widget-title{ font-size: 18px; }
  .latest-title, .trending-title{ font-size: 15px; }
}

/* ---------- Search widget ---------- */
.sidebar-search{
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.sidebar-search input[type="search"]{
  flex: 1;
  padding: 11px 14px;
  background: #ffffff;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  color: #111;
  font-size: 14px;
  min-width: 0;
  transition: border-color .15s;
}
.sidebar-search input[type="search"]:focus{
  outline: none;
  border-color: #c2185b;
}
.sidebar-search input::placeholder{
  color: #999;
}
.sidebar-search button{
  padding: 0 18px;
  background: #c2185b;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
}
.sidebar-search button:hover{
  background: #a01549;
}
.site-logo {
    display: inline-flex;
    align-items: center;
    margin-left: 15px;
    padding: 5px 0;
}
.site-logo img {
    max-height: 36px;
    width: auto;
}
/* ===== Sticky Header (Always Visible Menu) ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
    background: linear-gradient(90deg, #4a148c 0%, #c2185b 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* Desktop Menu Always Visible */
.site-header .main-navigation,
.site-header .primary-menu {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Mobile Menu Toggle Always Visible */
.menu-toggle {
    display: block;
    visibility: visible;
}

/* Menu Links Style */
.site-header nav a {
    color: #ffffff;
    font-weight: 500;
    text-decoration: none;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.site-header nav a:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

/* Mobile Drawer Menu */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 280px;
    background-color: #0d1b3e;
    z-index: 99999;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-drawer.is-open {
    transform: translateX(0);
}

/* Mobile Menu Items */
.mobile-drawer a {
    color: #ffffff;
    font-size: 18px;
    padding: 14px 20px;
    display: block;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-drawer a:hover {
    background-color: #2196f3;
}
/* ===== Hide Header on Scroll Down ===== */
.site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
    transition: transform 0.35s ease, box-shadow 0.3s ease !important;
}

/* Hide header when scrolling down */
.site-header.header-hidden {
    transform: translateY(-100%) !important;
}

/* Body padding so content doesn't hide under fixed header */
body {
    padding-top: 110px !important;
}

@media (max-width: 768px) {
    body {
        padding-top: 90px !important;
    }
}
/* ===== Mobile Drawer Redesign ===== */
.mobile-drawer {
    background: #1a1a1a !important;
    color: #ffffff;
    padding: 30px 20px;
}

.mobile-drawer .drawer-close {
    color: #ffffff;
    background: transparent;
    border: none;
    font-size: 32px;
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
}

/* Top Links (Sign In / Newsletter) */
.mobile-drawer .drawer-top-links {
    margin: 40px 0 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-drawer .drawer-top-links a {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    padding: 12px 0;
    transition: color 0.3s ease;
}

.mobile-drawer .drawer-top-links a:hover {
    color: #2196f3;
}

/* Main Menu */
.mobile-drawer nav a {
    display: block;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    padding: 14px 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-drawer nav a:hover {
    color: #2196f3;
    padding-left: 8px;
    transition: all 0.3s ease;
}

/* Social Icons */
.mobile-drawer .drawer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-drawer .drawer-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-drawer .drawer-social a:hover {
    background: #2196f3;
    border-color: #2196f3;
    transform: translateY(-3px);
}

.mobile-drawer .drawer-social a svg {
    width: 20px;
    height: 20px;
}
/* ===== Mobile Drawer Menu - Force Visible Text ===== */
.mobile-drawer,
.mobile-drawer * {
    color: #ffffff !important;
}

.mobile-drawer {
    background: #1a1a1a !important;
    background-color: #1a1a1a !important;
    padding: 30px 20px !important;
}

.mobile-drawer .drawer-close {
    color: #ffffff !important;
    background: transparent !important;
    border: none !important;
    font-size: 32px !important;
    position: absolute !important;
    top: 15px !important;
    right: 20px !important;
    cursor: pointer !important;
}

.mobile-drawer nav a,
.mobile-drawer nav a:link,
.mobile-drawer nav a:visited {
    color: #ffffff !important;
    display: block !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    padding: 16px 10px !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: transparent !important;
    transition: all 0.3s ease !important;
}

.mobile-drawer nav a:hover,
.mobile-drawer nav a:focus {
    color: #2196f3 !important;
    background: rgba(33, 150, 243, 0.1) !important;
    padding-left: 20px !important;
}

/* Top Links (Sign In / Newsletter) */
.mobile-drawer .drawer-top-links {
    margin: 40px 0 20px !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.mobile-drawer .drawer-top-links a,
.mobile-drawer .drawer-top-links a:link,
.mobile-drawer .drawer-top-links a:visited {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    padding: 12px 0 !important;
    background: transparent !important;
    transition: color 0.3s ease !important;
}

.mobile-drawer .drawer-top-links a:hover {
    color: #2196f3 !important;
}

/* Social Icons */
.mobile-drawer .drawer-social {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin-top: 30px !important;
    padding-top: 25px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.mobile-drawer .drawer-social a,
.mobile-drawer .drawer-social a:link,
.mobile-drawer .drawer-social a:visited {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    border: 1.5px solid rgba(255, 255, 255, 0.5) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    text-decoration: none !important;
    background: transparent !important;
    transition: all 0.3s ease !important;
}

.mobile-drawer .drawer-social a:hover {
    background: #2196f3 !important;
    border-color: #2196f3 !important;
    transform: translateY(-3px) !important;
}

.mobile-drawer .drawer-social a svg {
    width: 20px !important;
    height: 20px !important;
    fill: #ffffff !important;
}
/* ===== Force Social Icons Visible ===== */
.mobile-drawer .drawer-social a svg {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 20px !important;
    height: 20px !important;
    fill: #ffffff !important;
    stroke: none !important;
}

.mobile-drawer .drawer-social a svg path,
.mobile-drawer .drawer-social a svg circle {
    fill: #ffffff !important;
    stroke: none !important;
    display: inline !important;
}

.mobile-drawer .drawer-social a:hover svg,
.mobile-drawer .drawer-social a:hover svg path,
.mobile-drawer .drawer-social a:hover svg circle {
    fill: #ffffff !important;
}
/* ===== Mobile Drawer - Theme Matched Colors ===== */
.mobile-drawer {
    background: linear-gradient(180deg, #4a148c 0%, #6a1b9a 50%, #c2185b 100%) !important;
    color: #ffffff !important;
    padding: 25px 20px !important;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.4) !important;
}

/* Close Button */
.mobile-drawer .drawer-close {
    color: #ffffff !important;
    font-size: 32px !important;
    background: transparent !important;
    border: none !important;
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    cursor: pointer !important;
    transition: transform 0.3s ease !important;
}

.mobile-drawer .drawer-close:hover {
    transform: rotate(90deg) !important;
    color: #ff4081 !important;
}

/* Top Links (Sign In / Newsletter) */
.mobile-drawer .drawer-top-links {
    margin: 60px 0 25px 0 !important;
    padding-bottom: 25px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25) !important;
}

.mobile-drawer .drawer-top-links a {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    padding: 14px 10px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
}

.mobile-drawer .drawer-top-links a:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffeb3b !important;
    transform: translateX(5px) !important;
}

.mobile-drawer .drawer-top-links a svg {
    width: 22px !important;
    height: 22px !important;
    fill: currentColor !important;
}

/* Main Menu Items */
.mobile-drawer nav a {
    display: block !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    padding: 16px 12px !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 6px !important;
    margin: 4px 0 !important;
    transition: all 0.3s ease !important;
}

.mobile-drawer nav a:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    color: #ffeb3b !important;
    padding-left: 22px !important;
    border-bottom-color: #ffeb3b !important;
}

/* Social Icons */
.mobile-drawer .drawer-social {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
    margin-top: 35px !important;
    padding-top: 25px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.25) !important;
}

.mobile-drawer .drawer-social a {
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    text-decoration: none !important;
    background: rgba(255, 255, 255, 0.08) !important;
    transition: all 0.3s ease !important;
}

.mobile-drawer .drawer-social a:hover {
    background: #ffffff !important;
    border-color: #ffeb3b !important;
    transform: translateY(-4px) scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
}

.mobile-drawer .drawer-social a:hover svg,
.mobile-drawer .drawer-social a:hover svg path,
.mobile-drawer .drawer-social a:hover svg circle {
    fill: #4a148c !important;
}

.mobile-drawer .drawer-social a svg {
    width: 20px !important;
    height: 20px !important;
    fill: #ffffff !important;
    display: inline-block !important;
}

.mobile-drawer .drawer-social a svg path,
.mobile-drawer .drawer-social a svg circle {
    fill: #ffffff !important;
}

/* Backdrop overlay - soft glow */
.drawer-backdrop.is-open {
    background: rgba(74, 20, 140, 0.6) !important;
    backdrop-filter: blur(3px) !important;
}
/* ===== FORCE Social Icons White ===== */
.mobile-drawer .drawer-social a {
    color: #ffffff !important;
}

.mobile-drawer .drawer-social a svg {
    color: #ffffff !important;
    fill: #ffffff !important;
    stroke: #ffffff !important;
    width: 22px !important;
    height: 22px !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.mobile-drawer .drawer-social a svg path,
.mobile-drawer .drawer-social a svg circle,
.mobile-drawer .drawer-social a svg rect,
.mobile-drawer .drawer-social a svg polygon,
.mobile-drawer .drawer-social a svg g {
    fill: #ffffff !important;
    color: #ffffff !important;
    stroke: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Hover effect - icons turn dark purple on white background */
.mobile-drawer .drawer-social a:hover {
    background: #ffffff !important;
    border-color: #ffffff !important;
}

.mobile-drawer .drawer-social a:hover svg,
.mobile-drawer .drawer-social a:hover svg path,
.mobile-drawer .drawer-social a:hover svg circle,
.mobile-drawer .drawer-social a:hover svg rect,
.mobile-drawer .drawer-social a:hover svg polygon,
.mobile-drawer .drawer-social a:hover svg g {
    fill: #4a148c !important;
    color: #4a148c !important;
}
