/*
Theme Name: Magazine XZ
Theme URI: https://magazine-xz.local
Author: Paul Peter
Author URI: https://magazine-xz.local
Description: Modern Magazine XZ Theme
Version: 1.1.2
License: GPLv2 or later
Text Domain: magazine-xz
*/

/* ================= ROOT ================= */
:root{
  --ne-primary:#18a957;
  --ne-primary-2:#0ea35a;
  --ne-text:#101316;
  --ne-muted:#6b7280;
  --ne-border:#e6e9ee;
  --ne-bg:#f6f7fb;
  --ne-card:#ffffff;

  /* ✅ Footer now light (matches any logo colors) */
  --ne-footer-bg:#ffffff;
  --ne-footer-text:#111827;
  --ne-footer-muted:#6b7280;
  --ne-footer-border:#e6e9ee;

  --ne-radius:18px;
  --ne-radius-sm:14px;
  --ne-shadow: 0 14px 40px rgba(15, 23, 42, .08);
  --ne-shadow-soft: 0 10px 28px rgba(15, 23, 42, .06);
}

/* ================= BASE ================= */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:var(--ne-bg);
  color:var(--ne-text);
  line-height:1.65;
}
a{color:inherit;text-decoration:none}
a:hover{color:var(--ne-primary);text-decoration:none}
img{max-width:100%;height:auto}
.custom-logo{max-height:52px;width:auto}
ul,ol{margin:0;padding:0}
li{list-style:none}
::selection{background:rgba(24,169,87,.18)}

/* ================= LAYOUT ================= */
.ne-container{width:min(1200px, calc(100% - 34px));margin:auto;}
.ne-main{padding:22px 0 34px}
.ne-layout{display:grid;gap:22px;align-items:start;}
.ne-layout--with-sidebar{grid-template-columns: 1fr 340px;}
.ne-layout--full,.ne-layout--full .ne-content{grid-template-columns: 1fr;}
.ne-content{min-width:0}
.ne-layout > aside{min-width:0}

/* ================= CONTENT LISTS FIX ================= */
.ne-content--single ul,
.ne-content--single ol,
.ne-content--page ul,
.ne-content--page ol,
.ne-content ul,
.ne-content ol{
  margin:0 0 16px 22px;
  padding:0;
}

.ne-content--single ul,
.ne-content--page ul,
.ne-content ul{
  list-style:disc;
}

.ne-content--single ol,
.ne-content--page ol,
.ne-content ol{
  list-style:decimal;
}

.ne-content--single li,
.ne-content--page li,
.ne-content li{
  list-style:inherit;
  margin:0 0 8px;
  padding-left:2px;
}

.ne-content--single ul ul,
.ne-content--single ol ol,
.ne-content--single ul ol,
.ne-content--single ol ul,
.ne-content--page ul ul,
.ne-content--page ol ol,
.ne-content--page ul ol,
.ne-content--page ol ul,
.ne-content ul ul,
.ne-content ol ol,
.ne-content ul ol,
.ne-content ol ul{
  margin-top:8px;
  margin-bottom:8px;
}

.ne-content--single ul ul,
.ne-content--page ul ul,
.ne-content ul ul{
  list-style:circle;
}

.ne-content--single ul ul ul,
.ne-content--page ul ul ul,
.ne-content ul ul ul{
  list-style:square;
}
.ne-content--single li::marker,
.ne-content--page li::marker,
.ne-content li::marker{
  color:var(--ne-primary);
  font-weight:700;
}

/* ================= HEADER ================= */
.ne-header--magazine{
  position:sticky;
  top:0;
  z-index:9990;
  background:rgba(246,247,251,.90);
  backdrop-filter:saturate(160%) blur(10px);
  border-bottom:1px solid rgba(230,233,238,.9);
}
.ne-header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 0;
}
.ne-logo-wrap{display:flex;align-items:center;gap:12px}
.ne-logo{display:flex;align-items:center;gap:10px}
.ne-site-title{
  font-size:24px;
  font-weight:1000;
  letter-spacing:-.3px;
  color:var(--ne-primary);
}

/* Desktop nav */
.ne-nav--desktop{display:flex;align-items:center}
.ne-menu{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  font-weight:900;
}
.ne-menu a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:999px;
  color:#111827;
  border:1px solid transparent;
  background:transparent;
}
.ne-menu a:hover{
  background:#ffffff;
  border-color:rgba(230,233,238,.9);
  box-shadow:0 8px 24px rgba(15,23,42,.06);
}

/* Right actions */
.ne-header-actions{display:flex;align-items:center;gap:10px}
.ne-icon-btn{
  width:44px;height:44px;
  border-radius:14px;
  border:1px solid rgba(230,233,238,.9);
  background:#fff;
  box-shadow:0 8px 22px rgba(15,23,42,.06);
  font-size:18px;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.ne-icon-btn:hover{border-color:rgba(24,169,87,.35)}
.ne-mobile-toggle{display:none}

/* ================= MOBILE DRAWER (FIXED) ================= */
body.ne-lock{overflow:hidden}
.ne-mobile-drawer{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(15,23,42,.55);
  z-index:100000; /* above everything */
}
.ne-mobile-drawer.is-open{display:block}
.ne-mobile-drawer-inner{
  position:absolute;
  right:0;top:0;
  height:100%;
  width:min(360px, 86vw);
  background:#fff;
  border-left:1px solid rgba(230,233,238,.9);
  box-shadow:-18px 0 50px rgba(15,23,42,.18);
  padding:14px;
  overflow:auto;
}
.ne-mobile-drawer-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:8px 6px 12px;
  border-bottom:1px solid rgba(230,233,238,.9);
  margin-bottom:10px;
}
.ne-mobile-drawer-title{font-weight:1000;letter-spacing:-.3px}
.ne-menu--mobile{display:flex;flex-direction:column;gap:8px}
.ne-menu--mobile li {margin:10px;}
.ne-menu--mobile a{
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(230,233,238,.9);
  background:#f8fafc;
  font-weight:900;
}
.ne-menu--mobile a:hover{background:#fff}

/* ================= SECTION HEAD ================= */
.ne-section-head{margin:0 0 14px}
.ne-section-title{margin:0;font-size:22px;font-weight:1000;letter-spacing:-.4px}

/* ================= ADS ================= */
.ne-ad{margin:16px 0}
.ne-ad iframe,.ne-ad img{max-width:100% !important;height:auto}

/* ================= CATEGORY PILL ================= */
.ne-cat-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 12px;
  border-radius:999px;
  background: rgba(24,169,87,.10);
  border:1px solid rgba(24,169,87,.18);
  color: var(--ne-primary);
  font-size:12px;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.35px;
}
.ne-cat-pill--link:hover{background: rgba(24,169,87,.14)}

/* ================= HOME HERO 16:9 ================= */
.ne-hero16{
  display:grid;
  grid-template-columns: 1.35fr 1fr;
  gap:16px;
  margin-bottom:18px;
}
.ne-hero16-big,.ne-hero16-mini{
  background:#fff;
  border:1px solid rgba(230,233,238,.9);
  border-radius: var(--ne-radius);
  overflow:hidden;
  box-shadow: var(--ne-shadow-soft);
}
.ne-hero16-media{
  display:block;
  aspect-ratio:16/9;
  background:#e5e7eb;
  overflow:hidden;
}
.ne-hero16-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}
.ne-hero16-body{
  padding:12px 14px 14px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.ne-hero16-title{
  margin:0;
  font-size:20px;
  line-height:1.25;
  font-weight:1100;
  letter-spacing:-.3px;
}
.ne-hero16-meta{color:var(--ne-muted);font-weight:850;font-size:13px}
.ne-hero16-side{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.ne-hero16-body--mini{padding:10px 12px 12px}
.ne-hero16-title--mini{
  font-size:14px;
  line-height:1.22;
  letter-spacing:-.2px;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* ================= POST LIST CARDS ================= */
.ne-post-list--cards{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:18px;
}
.ne-card-post{
  background:var(--ne-card);
  border:1px solid rgba(230,233,238,.9);
  border-radius:var(--ne-radius);
  overflow:hidden;
  box-shadow: var(--ne-shadow-soft);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.ne-card-post:hover{
  transform: translateY(-2px);
  box-shadow: var(--ne-shadow);
  border-color: rgba(24,169,87,.22);
}
.ne-card-thumb{display:block;background:#e5e7eb;aspect-ratio:16/9;overflow:hidden}
.ne-card-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.ne-card-body{padding:14px 14px 16px}
.ne-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.ne-card-date{font-size:13px;color:var(--ne-muted);font-weight:800;white-space:nowrap}
.ne-card-title{margin:0 0 8px;font-size:18px;line-height:1.25;font-weight:1000;letter-spacing:-.2px}
.ne-card-title a:hover{color:var(--ne-primary)}
.ne-card-excerpt{margin:0;color:#374151;font-weight:650;font-size:14px;line-height:1.6}

/* ================= WIDGET BASE ================= */
.ne-widget{
  background:var(--ne-card);
  border:1px solid rgba(230,233,238,.9);
  border-radius:var(--ne-radius);
  box-shadow: var(--ne-shadow-soft);
  overflow:hidden;
  margin-bottom:16px;
}
.ne-widget-inner{padding:14px}
.ne-widget-head{
  padding:14px 14px 10px;
  border-bottom:1px solid rgba(230,233,238,.9);
  background:linear-gradient(180deg, #ffffff, #fbfcff);
}
.ne-widget-title{font-size:16px;font-weight:1000;margin:0;letter-spacing:-.2px}
.ne-widget-body{padding:12px 14px 14px}

/* ================= SIDEBAR: Recent Posts (NO IMAGE) ================= */
.ne-recent-list{display:flex;flex-direction:column;gap:12px}
.ne-recent-item{
  display:block;
  padding:14px 14px 12px;
  border-radius:16px;
  background:#f8fafc;
  border:1px solid rgba(230,233,238,.9);
  transition:transform .12s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease;
}
.ne-recent-item:hover{
  background:#fff;
  border-color:rgba(24,169,87,.18);
  box-shadow:0 12px 28px rgba(15,23,42,.08);
  transform:translateY(-1px);
}
.ne-recent-pill{
  display:inline-flex;
  width:max-content;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(24,169,87,.10);
  border:1px solid rgba(24,169,87,.18);
  color: var(--ne-primary);
  font-size:11px;
  font-weight:1000;
  letter-spacing:.25px;
  text-transform:uppercase;
  margin-bottom:10px;
}
.ne-recent-title{
  margin:0 0 8px;
  font-weight:1100;
  font-size:16px;
  line-height:1.22;
  letter-spacing:-.2px;
}
.ne-recent-meta{font-size:13px;color:var(--ne-muted);font-weight:850}

/* ================= TAGS ================= */
.ne-tags--pills{display:flex;flex-wrap:wrap;gap:10px}
.ne-tag{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(230,233,238,.9);
  background:#fff;
  font-size:13px;
  font-weight:900;
}
.ne-tag:hover{border-color:rgba(24,169,87,.25);color:var(--ne-primary)}

/* ================= SINGLE POST ================= */
.ne-single-article{
  background:var(--ne-card);
  border:1px solid rgba(230,233,238,.9);
  border-radius:var(--ne-radius);
  box-shadow: var(--ne-shadow-soft);
  padding:18px;
}
.ne-single-header{padding-bottom:12px;border-bottom:1px solid rgba(230,233,238,.9)}
.ne-single-title{
  margin:10px 0 10px;
  font-size:34px;
  line-height:1.15;
  font-weight:1100;
  letter-spacing:-.6px;
}
.ne-single-meta-row{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}

/* Byline */
.ne-single-byline{display:flex;align-items:center;gap:10px;min-width:0}
.ne-author-avatar{
  width:44px;height:44px;
  border-radius:50%;
  overflow:hidden;
  border:2px solid rgba(24,169,87,.35);
  background:#fff;
  flex:0 0 auto;
}
.ne-author-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.ne-byline-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.ne-byline-author{font-weight:1000;font-size:14px}
.ne-byline-author a{color:var(--ne-primary);font-weight:1100}
.ne-byline-date{font-size:13px;color:var(--ne-muted);font-weight:850}

/* Share */
.ne-share--compact{display:flex;gap:10px;align-items:center}
.ne-share-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:14px;
  font-weight:1000;
  font-size:13px;
  border:1px solid rgba(230,233,238,.9);
  background:#fff;
}
.ne-share-wa{border-color:rgba(37,211,102,.25)}
.ne-share-fb{border-color:rgba(24,119,242,.25)}
.ne-share-btn:hover{box-shadow:0 10px 22px rgba(15,23,42,.08)}
.ne-share-wa:hover{color:#1fbf60}
.ne-share-fb:hover{color:#1877f2}

/* Featured */
.ne-single-featured{margin:16px 0 0}
.ne-single-featured-inner{
  border-radius:var(--ne-radius);
  overflow:hidden;
  background:#e5e7eb;
  aspect-ratio:16/9;
}
.ne-single-featured-inner img{width:100%;height:100%;object-fit:cover;display:block}

/* Content */
.ne-content--single{margin-top:16px;font-size:18px}
.ne-content--single p{margin:0 0 14px}
.ne-content--single h2,.ne-content--single h3,.ne-content--single h4{
  margin:22px 0 10px;
  line-height:1.25;
  font-weight:1100;
  letter-spacing:-.3px;
}
.ne-content--single h2{font-size:24px}
.ne-content--single h3{font-size:20px}
.ne-content--single h4{font-size:18px}
.ne-content--single img{border-radius:var(--ne-radius-sm)}
.ne-content--single a{color:var(--ne-primary);font-weight:900}
.ne-content--single a:hover{text-decoration:underline}

/* Author card */
.ne-author-card{
  display:flex;
  gap:14px;
  align-items:flex-start;
  margin-top:20px;
  padding:16px;
  border-radius:var(--ne-radius);
  background:#f8fafc;
  border:1px solid rgba(230,233,238,.9);
}
.ne-author-card-avatar{
  width:96px;height:96px;
  border-radius:20px;
  overflow:hidden;
  border:2px solid rgba(24,169,87,.25);
  background:#fff;
  flex:0 0 auto;
}
.ne-author-card-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.ne-author-card-name{margin:0 0 6px;font-size:18px;font-weight:1100}
.ne-author-card-bio{margin:0;color:var(--ne-muted);font-weight:750}

/* ================= RELATED POSTS (3 per row + 16:9) ================= */
.ne-related-wrap{margin-top:22px}
.ne-related-title{margin:0 0 12px;font-size:18px;font-weight:1100;letter-spacing:-.2px}
.ne-related-grid--3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.ne-related-card--v2{
  background:#fff;
  border:1px solid rgba(230,233,238,.9);
  border-radius:18px;
  overflow:hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
  transition:transform .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.ne-related-card--v2:hover{
  transform:translateY(-2px);
  border-color:rgba(24,169,87,.22);
  box-shadow: var(--ne-shadow);
}
.ne-related-link{display:block}
.ne-related-media{display:block;aspect-ratio:16/9;background:#e5e7eb;overflow:hidden}
.ne-related-media img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.ne-related-body{display:flex;flex-direction:column;gap:8px;padding:12px 14px 14px}
.ne-related-ttl{
  font-weight:1100;
  line-height:1.25;
  font-size:15px;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.ne-related-meta{color:var(--ne-muted);font-weight:850;font-size:12.5px}

/* ================= INTERLINK MINI CARDS + HEADING ================= */
.ne-il-wrap{margin:16px 0}
.ne-il-head{
  font-size:12px;
  font-weight:1000;
  letter-spacing:.35px;
  text-transform:uppercase;
  color:var(--ne-muted);
  margin:0 0 8px;
}
.ne-il-card{
  display:grid;
  grid-template-columns:92px 1fr;
  gap:12px;
  align-items:center;
  padding:12px;
  border-radius:var(--ne-radius);
  background:#fff;
  border:1px solid rgba(230,233,238,.9);
  box-shadow: var(--ne-shadow-soft);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.ne-il-card:hover{
  transform: translateY(-1px);
  box-shadow: var(--ne-shadow);
  border-color: rgba(24,169,87,.22);
}
.ne-il-img{
  width:92px;height:66px;
  border-radius:var(--ne-radius-sm);
  overflow:hidden;
  background:#e5e7eb;
}
.ne-il-img img{width:100%;height:100%;object-fit:cover;display:block}
.ne-il-title{
  font-size:14px;
  font-weight:1000;
  line-height:1.25;
  color:#111827;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.ne-il-card:hover .ne-il-title{color:var(--ne-primary)}

/* ================= FOOTER (LIGHT) ================= */
.ne-footer--magazine{
  background:var(--ne-footer-bg);
  color:var(--ne-footer-text);
  padding:34px 0;
  margin-top:18px;
  border-top:1px solid var(--ne-footer-border);
}
.ne-footer-top{
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap:20px;
  padding-bottom:18px;
  border-bottom:1px solid var(--ne-footer-border);
}
.ne-footer-logo .custom-logo-link{display:inline-block}
.ne-footer-logo .custom-logo{max-width:220px;height:auto}
.ne-footer-description{margin:10px 0 0;color:var(--ne-footer-muted);font-weight:750;line-height:1.7}
.ne-footer-heading{margin:0 0 10px;font-size:16px;font-weight:1100}

.ne-footer-links{display:flex;flex-wrap:wrap;gap:10px 12px}
.ne-footer-links a{
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--ne-footer-border);
  color:var(--ne-footer-text);
  font-weight:900;
  background:#fff;
}
.ne-footer-links a:hover{border-color:rgba(24,169,87,.25);color:var(--ne-primary)}

.ne-footer-latest-list{display:flex;flex-direction:column;gap:10px}
.ne-footer-latest-list a{color:var(--ne-footer-text);font-weight:850;opacity:.95}
.ne-footer-latest-list a:hover{opacity:1;color:var(--ne-primary)}

.ne-footer-bottom{
  text-align:center;
  justify-content:space-between;
  gap:12px;
  padding-top:14px;
  font-size:13px;
  color:var(--ne-footer-muted);
  font-weight:800;
}

/* ================= FLOATING BUTTONS ================= */
.ne-float-modern{
  position:fixed;
  display:flex;
  flex-direction:column;
  gap:10px;
  z-index:9999;
  right:16px;
  bottom:16px;
}
.ne-float-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:999px;
  font-weight:1100;
  box-shadow:0 14px 40px rgba(15,23,42,.18);
  border:1px solid rgba(255,255,255,.18);
  backdrop-filter:saturate(180%) blur(10px);
  transition:transform .12s ease;
}
.ne-float-wa{background:#25D366;color:#fff}
.ne-float-latest{background:#111827;color:#fff}
.ne-float-btn:hover{transform:translateY(-1px)}

/* ✅ Theme setting controls via body_class (already in your functions.php) */
body.ne-float-pos-left .ne-float-modern{left:16px;right:auto}
body.ne-float-pos-split .ne-float-modern{right:16px;left:auto} /* WhatsApp right, Latest can be placed left from HTML if needed */
body.ne-float-center .ne-float-modern{top:50%;bottom:auto;transform:translateY(-50%)}

/* Ensure drawer above floating on mobile */
@media(max-width:768px){
  .ne-float-modern{
    transform:none !important;
    right:14px !important;
    left:auto !important;
    z-index:9999;
  }
  body.ne-float-pos-left .ne-float-modern{left:14px !important; right:auto !important;}
  .ne-mobile-drawer{z-index:100000;}
}

/* ================= PAGINATION ================= */
.ne-pagination--modern,
.navigation.pagination{
  margin:22px 0 10px;
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:8px;
}
.ne-pagination--modern .page-numbers,
.navigation.pagination .page-numbers{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:42px;
  height:42px;
  padding:0 14px;
  border-radius:14px;
  border:1px solid rgba(230,233,238,.9);
  background:#fff;
  font-weight:1000;
  text-decoration:none !important;
  color:var(--ne-text);
  transition:all .12s ease;
  box-shadow:0 10px 22px rgba(15,23,42,.05);
}
.ne-pagination--modern .page-numbers:hover,
.navigation.pagination .page-numbers:hover{
  border-color:rgba(24,169,87,.25);
  color:var(--ne-primary);
}
.ne-pagination--modern .page-numbers.current,
.navigation.pagination .page-numbers.current{
  background:var(--ne-primary);
  border-color:rgba(24,169,87,.30);
  color:#fff;
}

/* ================= TABLES + SCROLL ================= */
.ne-content figure.wp-block-table,
.ne-content .wp-block-table{margin:16px 0}
.ne-content table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  background:#fff;
  border:1px solid rgba(230,233,238,.9);
  border-radius:var(--ne-radius-sm);
  overflow:hidden;
}
.ne-content table th,
.ne-content table td{
  padding:12px 14px;
  border-bottom:1px solid rgba(230,233,238,.9);
  border-right:1px solid rgba(230,233,238,.9);
  text-align:left;
  vertical-align:middle;
  font-size:14px;
  line-height:1.35;
}
.ne-content table th:last-child,
.ne-content table td:last-child{border-right:none}
.ne-content table th{
  background:var(--ne-primary);
  color:#fff;
  font-weight:1100;
  font-size:13px;
  letter-spacing:.2px;
}
.ne-content table tbody tr:nth-child(even){background:#f7f9fb}
.ne-content table tbody tr:hover{background:#eefaf3}
.ne-content table tbody tr:last-child td{border-bottom:none}

@media (max-width: 768px){
  .wp-block-table{overflow-x:auto;-webkit-overflow-scrolling:touch;}
  .wp-block-table table{min-width:720px;}
}

/* ================= RESPONSIVE ================= */
@media(max-width: 1100px){
  .ne-layout--with-sidebar{grid-template-columns: 1fr 320px;}
  .ne-post-list--cards{grid-template-columns:1fr 1fr}
}
@media(max-width: 980px){
  .ne-layout--with-sidebar{grid-template-columns:1fr;}
  .ne-post-list--cards{grid-template-columns:1fr;}
  .ne-related-grid--3{grid-template-columns:repeat(2,1fr)}
  .ne-single-title{font-size:26px}
}
@media(max-width: 768px){
  .ne-nav--desktop{display:none}
  .ne-mobile-toggle{display:inline-flex}
  .ne-footer-top{grid-template-columns:1fr; text-align:center}
  .ne-footer-links{justify-content:center}
  .ne-footer-bottom{flex-direction:column; text-align:center}
  .ne-author-card{flex-direction:column; align-items:flex-start}
  .ne-single-article{padding:16px}
  .ne-share--compact{width:100%; justify-content:flex-start; flex-wrap:wrap}
  .ne-related-grid--3{grid-template-columns:1fr}
  .ne-hero16{grid-template-columns:1fr}
  .ne-hero16-side{grid-template-columns:1fr}
}
