/* ==============================================
   NotiRaiz – Portal de Noticias
   Custom Portal Styles
   ============================================== */

/* ── 1. CSS Custom Properties ── */
:root {
  --np-blue:       #097bed;
  --np-blue-dark:  #0563c4;
  --np-navy:       #201654;
  --np-red:        #e63946;
  --np-orange:     #f4a261;
  --np-green:      #2a9d8f;
  --np-text:       #565872;
  --np-border:     #e8eaf0;
  --np-bg:         #f4f6fb;
  --np-card:       #ffffff;
  --np-header:     #ffffff;
  --np-ticker-bg:  #0f1c3f;
  --np-shadow:     0 2px 16px rgba(9,123,237,.10);
  --np-radius:     8px;
  --np-transition: .3s ease;
  --np-font:       "Rubik", sans-serif;
  --np-serif:      Georgia, "Times New Roman", serif;
}

[data-theme="dark"] {
  --np-blue:       #3b9eff;
  --np-blue-dark:  #1a8fff;
  --np-navy:       #c8d0f0;
  --np-red:        #ff6b7a;
  --np-text:       #b0b8d0;
  --np-border:     #1e2a40;
  --np-bg:         #0a0e1a;
  --np-card:       #111828;
  --np-header:     #0d1425;
  --np-ticker-bg:  #050a14;
  --np-shadow:     0 2px 20px rgba(0,0,0,.4);
}

/* ── 2. Global Resets ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--np-bg);
  color: var(--np-text);
  font-family: var(--np-font);
  font-size: 16px;
  line-height: 1.7;
  transition: background var(--np-transition), color var(--np-transition);
}
a { color: inherit; text-decoration: none; transition: color var(--np-transition); }
a:hover { color: var(--np-blue); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; padding: 0; margin: 0; }

/* ── 3. Utilities ── */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.section-gap { padding: 48px 0; }
.section-gap-sm { padding: 28px 0; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.text-red { color: var(--np-red); }
.text-blue { color: var(--np-blue); }
.text-navy { color: var(--np-navy); }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fs-12 { font-size: 12px; }
.fs-13 { font-size: 13px; }
.fs-14 { font-size: 14px; }
.uppercase { text-transform: uppercase; letter-spacing: .6px; }
.hidden { display: none; }
.card-hover { transition: transform var(--np-transition), box-shadow var(--np-transition); }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--np-shadow); }

/* Section Title */
.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--np-border);
}
.section-title h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--np-navy);
  margin: 0;
}
.section-title .title-bar {
  width: 4px;
  height: 24px;
  background: var(--np-blue);
  border-radius: 2px;
}
.section-title .view-all {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--np-blue);
  text-transform: uppercase;
  letter-spacing: .5px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.section-title .view-all:hover { color: var(--np-blue-dark); }

/* Category Badge */
.cat-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  padding: 3px 10px;
  border-radius: 3px;
  background: var(--np-blue);
  color: #fff;
  line-height: 1.4;
}
.cat-badge.red   { background: var(--np-red); }
.cat-badge.green { background: var(--np-green); }
.cat-badge.orange{ background: var(--np-orange); color: #1a1a1a; }
.cat-badge.navy  { background: var(--np-navy); }
.cat-badge.dark  { background: #333; }

/* Read More btn */
.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--np-blue);
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: gap var(--np-transition);
}
.btn-read-more:hover { gap: 10px; color: var(--np-blue-dark); }

/* ── 4. TOP BAR ── */
.np-topbar {
  background: var(--np-ticker-bg);
  color: #ccd6f6;
  font-size: 12.5px;
  padding: 7px 0;
}
.np-topbar a { color: #ccd6f6; }
.np-topbar a:hover { color: #fff; }
.topbar-date { display: flex; align-items: center; gap: 6px; }
.topbar-date i { color: var(--np-blue); }
.topbar-social { display: flex; align-items: center; gap: 14px; }
.topbar-social a { font-size: 13px; transition: color var(--np-transition); }
.topbar-social a:hover { color: var(--np-blue); }

/* ── 5. HEADER / NAV ── */
.np-header {
  background: var(--np-header);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background var(--np-transition), box-shadow var(--np-transition);
}
.np-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,.15);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 16px;
}
.np-logo img { height: 44px; width: auto; }
.np-logo .logo-dark { display: none; }
[data-theme="dark"] .np-logo .logo-light { display: none; }
[data-theme="dark"] .np-logo .logo-dark  { display: block; }

/* Main Nav */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > li { position: relative; }
.main-nav > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--np-navy);
  border-radius: 6px;
  transition: background var(--np-transition), color var(--np-transition);
}
.main-nav > li > a:hover,
.main-nav > li.active > a {
  background: rgba(9,123,237,.08);
  color: var(--np-blue);
}
.main-nav > li > a i { font-size: 11px; transition: transform var(--np-transition); }
.main-nav > li:hover > a i { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: var(--np-card);
  border: 1px solid var(--np-border);
  border-radius: var(--np-radius);
  box-shadow: var(--np-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--np-transition);
  z-index: 100;
}
.main-nav > li:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 10px 18px;
  font-size: 13.5px;
  color: var(--np-text);
  border-bottom: 1px solid var(--np-border);
}
.nav-dropdown a:last-child { border-bottom: none; }
.nav-dropdown a:hover { background: rgba(9,123,237,.06); color: var(--np-blue); padding-left: 24px; }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 10px; }
.btn-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  border: 2px solid var(--np-blue);
  cursor: pointer;
  transition: all var(--np-transition);
}
.btn-header.outline { background: transparent; color: var(--np-blue); }
.btn-header.outline:hover { background: var(--np-blue); color: #fff; }
.btn-header.filled  { background: var(--np-blue); color: #fff; border-color: var(--np-blue); }
.btn-header.filled:hover  { background: var(--np-blue-dark); border-color: var(--np-blue-dark); }
.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--np-bg);
  border: 1px solid var(--np-border);
  cursor: pointer;
  font-size: 16px;
  color: var(--np-navy);
  transition: all var(--np-transition);
}
.btn-icon:hover { background: var(--np-blue); color: #fff; border-color: var(--np-blue); }

/* Dark Mode Toggle */
.dark-toggle { cursor: pointer; }
.dark-toggle .icon-moon { display: inline-block; }
.dark-toggle .icon-sun  { display: none; }
[data-theme="dark"] .dark-toggle .icon-moon { display: none; }
[data-theme="dark"] .dark-toggle .icon-sun  { display: inline-block; }

/* Search Popup */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,14,26,.92);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
  opacity: 0;
  visibility: hidden;
  transition: all .4s ease;
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-box {
  width: 100%;
  max-width: 680px;
  padding: 0 16px;
  animation: slideDown .4s ease;
}
.search-box form {
  display: flex;
  align-items: center;
  background: var(--np-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.search-box input {
  flex: 1;
  padding: 18px 24px;
  border: none;
  background: transparent;
  font-size: 20px;
  color: var(--np-navy);
  font-family: var(--np-font);
}
.search-box input:focus { outline: none; }
.search-box button {
  padding: 18px 24px;
  background: var(--np-blue);
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}
.search-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.1);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--np-navy);
  border-radius: 2px;
  transition: all var(--np-transition);
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100vh;
  background: var(--np-card);
  z-index: 3000;
  box-shadow: 4px 0 30px rgba(0,0,0,.2);
  transition: left .35s ease;
  overflow-y: auto;
  padding: 24px 0;
}
.mobile-drawer.open { left: 0; }
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 2999;
  opacity: 0;
  visibility: hidden;
  transition: all .35s ease;
}
.drawer-overlay.open { opacity: 1; visibility: visible; }
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 20px;
  border-bottom: 1px solid var(--np-border);
  margin-bottom: 16px;
}
.drawer-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--np-bg);
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  color: var(--np-text);
}
.drawer-nav li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--np-navy);
  border-bottom: 1px solid var(--np-border);
}
.drawer-nav li a:hover { color: var(--np-blue); background: rgba(9,123,237,.05); }
.drawer-nav li a i { font-size: 12px; }

/* ── 6. BREAKING NEWS TICKER ── */
.np-ticker {
  background: var(--np-ticker-bg);
  color: #fff;
  padding: 10px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.ticker-label {
  flex-shrink: 0;
  background: var(--np-red);
  padding: 6px 18px;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  display: flex;
  align-items: center;
  gap: 6px;
  clip-path: polygon(0 0, 100% 0, calc(100% + 12px) 50%, 100% 100%, 0 100%);
  padding-right: 28px;
  z-index: 2;
}
.ticker-label .dot {
  width: 7px;
  height: 7px;
  background: #fff;
  border-radius: 50%;
  animation: blink 1.2s ease infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.ticker-track {
  flex: 1;
  overflow: hidden;
  position: relative;
  margin-left: 16px;
}
.ticker-inner {
  display: flex;
  gap: 0;
  animation: tickerScroll 40s linear infinite;
  white-space: nowrap;
}
.ticker-inner:hover { animation-play-state: paused; }
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 32px 0 0;
  font-size: 13.5px;
  color: #e0e8ff;
  cursor: pointer;
  transition: color var(--np-transition);
}
.ticker-item:hover { color: #fff; }
.ticker-item .sep {
  color: var(--np-blue);
  font-size: 18px;
  line-height: 1;
}
.ticker-item .time {
  font-size: 11px;
  color: #8899cc;
  font-weight: 600;
}
.ticker-close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #8899cc;
  font-size: 18px;
  transition: color var(--np-transition);
}
.ticker-close:hover { color: #fff; }

/* ── 7. HERO SECTION ── */
.np-hero { position: relative; background: #0a0e1a; overflow: hidden; }
.hero-slide { position: relative; height: 560px; overflow: hidden; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.65);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,14,26,.92) 0%, rgba(10,14,26,.3) 60%, transparent 100%);
}
.hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px;
  z-index: 2;
}
.hero-content .cat-badge { margin-bottom: 14px; }
.hero-content h1 {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.hero-content .hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,.8);
  margin-bottom: 20px;
  max-width: 680px;
  line-height: 1.6;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-meta .author-info { display: flex; align-items: center; gap: 8px; }
.hero-meta .author-info img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4);
  object-fit: cover;
}
.hero-meta .author-name {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.9);
}
.hero-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  color: rgba(255,255,255,.6);
}
.hero-meta .meta-item i { font-size: 13px; }
.hero-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 12px 28px;
  background: var(--np-blue);
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: all var(--np-transition);
}
.hero-read-btn:hover { background: var(--np-blue-dark); color: #fff; transform: translateX(4px); }

/* Owl Hero Controls */
.np-hero .owl-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 100%; }
.np-hero .owl-prev,
.np-hero .owl-next {
  position: absolute;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,.15) !important;
  backdrop-filter: blur(8px);
  border-radius: 50% !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  font-size: 18px !important;
  border: 1px solid rgba(255,255,255,.2) !important;
  transition: all var(--np-transition) !important;
}
.np-hero .owl-prev { left: 24px; }
.np-hero .owl-next { right: 24px; }
.np-hero .owl-prev:hover,
.np-hero .owl-next:hover { background: var(--np-blue) !important; }
.np-hero .owl-dots {
  position: absolute;
  bottom: 20px;
  right: 48px;
  display: flex;
  gap: 8px;
}
.np-hero .owl-dot span {
  width: 8px !important;
  height: 8px !important;
  background: rgba(255,255,255,.4) !important;
  border-radius: 50% !important;
  transition: all var(--np-transition) !important;
}
.np-hero .owl-dot.active span {
  width: 24px !important;
  border-radius: 4px !important;
  background: var(--np-blue) !important;
}

/* ── 8. FEATURED NEWS GRID ── */
.featured-grid {
  display: grid;
  gap: 20px;
}
.featured-grid.layout-f {
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
}
.featured-card {
  background: var(--np-card);
  border-radius: var(--np-radius);
  overflow: hidden;
  box-shadow: var(--np-shadow);
  transition: transform var(--np-transition), box-shadow var(--np-transition);
}
.featured-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(9,123,237,.15); }
.featured-card.card-main { grid-column: 1 / 3; }
.featured-card.card-tall { grid-row: 1 / 3; grid-column: 3; }

.featured-card .card-img {
  position: relative;
  overflow: hidden;
}
.featured-card .card-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform .6s ease;
}
.featured-card:hover .card-img img { transform: scale(1.05); }
.featured-card.card-main .card-img img { height: 320px; }
.featured-card.card-tall .card-img img { height: 300px; }

.featured-card .card-body { padding: 18px 20px; }
.featured-card .card-cat { margin-bottom: 10px; }
.featured-card .card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--np-navy);
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--np-transition);
}
.featured-card.card-main .card-title { font-size: 22px; -webkit-line-clamp: 2; }
.featured-card .card-title:hover { color: var(--np-blue); }
.featured-card .card-excerpt {
  font-size: 14px;
  color: var(--np-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
}
.featured-card .card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: #9fa0b2;
  border-top: 1px solid var(--np-border);
  padding-top: 12px;
  margin-top: 4px;
}
.featured-card .card-meta i { color: var(--np-blue); }

/* ── 9. MAIN LAYOUT ── */
.np-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}
.np-layout .np-main { min-width: 0; }
.np-sidebar { position: sticky; top: 86px; }

/* ── 10. TRENDING SECTION ── */
.trending-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.trending-card {
  background: var(--np-card);
  border-radius: var(--np-radius);
  overflow: hidden;
  box-shadow: var(--np-shadow);
  display: flex;
  flex-direction: column;
  transition: transform var(--np-transition);
}
.trending-card:hover { transform: translateY(-4px); }
.trending-card .card-img { position: relative; }
.trending-card .card-img img { width: 100%; height: 200px; object-fit: cover; }
.trending-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #ff6b00, #ff4d00);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.trend-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #9fa0b2;
}
.trend-growth {
  color: var(--np-green);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
}
.trending-card .card-body { padding: 16px 18px; flex: 1; }
.trending-card .card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--np-navy);
  line-height: 1.4;
  margin: 8px 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--np-transition);
}
.trending-card .card-title:hover { color: var(--np-blue); }

/* ── 11. MOST READ ── */
.most-read-list { display: flex; flex-direction: column; gap: 0; }
.most-read-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--np-border);
  transition: background var(--np-transition);
}
.most-read-item:last-child { border-bottom: none; }
.most-read-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--np-border);
  font-style: italic;
}
.most-read-item:nth-child(1) .most-read-num { color: var(--np-blue); font-size: 22px; }
.most-read-item:nth-child(2) .most-read-num { color: #555; }
.most-read-item:nth-child(3) .most-read-num { color: #c0392b; }
.most-read-img {
  flex-shrink: 0;
  width: 80px;
  height: 70px;
  border-radius: 6px;
  overflow: hidden;
}
.most-read-img img { width: 100%; height: 100%; object-fit: cover; }
.most-read-body { flex: 1; min-width: 0; }
.most-read-body .cat-badge { margin-bottom: 6px; }
.most-read-body h6 {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--np-navy);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--np-transition);
}
.most-read-body h6:hover { color: var(--np-blue); }
.most-read-body .views {
  font-size: 12px;
  color: #9fa0b2;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── 12. CATEGORY SECTIONS ── */
.cat-section { margin-bottom: 48px; }
.cat-section-header { margin-bottom: 0; }
.cat-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; margin-top: 20px; }
.cat-main-card { background: var(--np-card); border-radius: var(--np-radius); overflow: hidden; box-shadow: var(--np-shadow); }
.cat-main-card .card-img img { width: 100%; height: 280px; object-fit: cover; transition: transform .6s ease; }
.cat-main-card:hover .card-img img { transform: scale(1.04); }
.cat-main-card .card-body { padding: 20px 22px; }
.cat-main-card .card-title { font-size: 20px; font-weight: 700; color: var(--np-navy); line-height: 1.3; margin: 10px 0 10px; }
.cat-main-card .card-title:hover { color: var(--np-blue); }
.cat-main-card .card-excerpt { font-size: 14px; color: var(--np-text); margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.cat-side-list { display: flex; flex-direction: column; gap: 16px; }
.cat-side-card {
  display: flex;
  gap: 12px;
  background: var(--np-card);
  border-radius: var(--np-radius);
  overflow: hidden;
  box-shadow: var(--np-shadow);
  transition: transform var(--np-transition);
}
.cat-side-card:hover { transform: translateX(4px); }
.cat-side-card .thumb { flex-shrink: 0; width: 100px; overflow: hidden; }
.cat-side-card .thumb img { width: 100%; height: 90px; object-fit: cover; }
.cat-side-card .body { padding: 10px 14px 10px 4px; flex: 1; min-width: 0; }
.cat-side-card .body h6 { font-size: 14px; font-weight: 600; color: var(--np-navy); line-height: 1.4; margin: 6px 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color var(--np-transition); }
.cat-side-card .body h6:hover { color: var(--np-blue); }
.cat-side-card .body .meta { font-size: 11.5px; color: #9fa0b2; display: flex; align-items: center; gap: 6px; }
.cat-side-card .body .meta i { color: var(--np-blue); }

/* ── 13. MULTIMEDIA SECTION ── */
.multimedia-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.video-card {
  background: var(--np-card);
  border-radius: var(--np-radius);
  overflow: hidden;
  box-shadow: var(--np-shadow);
  transition: transform var(--np-transition);
}
.video-card:hover { transform: translateY(-4px); }
.video-thumb {
  position: relative;
  overflow: hidden;
}
.video-thumb img { width: 100%; height: 180px; object-fit: cover; transition: transform .6s ease; }
.video-card:hover .video-thumb img { transform: scale(1.05); }
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  background: rgba(9,123,237,.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  transition: all var(--np-transition);
  padding-left: 4px;
}
.video-card:hover .play-btn { transform: translate(-50%, -50%) scale(1.1); background: var(--np-blue); }
.video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,.75);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}
.video-card .card-body { padding: 14px 16px; }
.video-card .card-title { font-size: 15px; font-weight: 600; color: var(--np-navy); line-height: 1.4; margin: 6px 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color var(--np-transition); }
.video-card .card-title:hover { color: var(--np-blue); }

/* Podcast Row */
.podcast-list { display: flex; flex-direction: column; gap: 12px; }
.podcast-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--np-card);
  border-radius: var(--np-radius);
  padding: 14px 16px;
  box-shadow: var(--np-shadow);
  transition: transform var(--np-transition);
}
.podcast-item:hover { transform: translateX(6px); }
.podcast-item .pod-thumb { flex-shrink: 0; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; }
.podcast-item .pod-thumb img { width: 100%; height: 100%; object-fit: cover; }
.podcast-item .pod-body { flex: 1; min-width: 0; }
.podcast-item .pod-body h6 { font-size: 14.5px; font-weight: 600; color: var(--np-navy); margin-bottom: 4px; }
.podcast-item .pod-meta { font-size: 12px; color: #9fa0b2; display: flex; align-items: center; gap: 10px; }
.podcast-item .pod-meta i { color: var(--np-blue); }
.pod-play-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--np-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: all var(--np-transition);
  padding-left: 3px;
}
.pod-play-btn:hover { background: var(--np-blue-dark); transform: scale(1.1); }

/* Gallery Slider */
.gallery-slider .owl-item img { height: 260px; object-fit: cover; border-radius: var(--np-radius); }
.gallery-caption { padding: 12px 0 0; font-size: 13px; color: var(--np-text); }

/* ── 14. NEWSLETTER SECTION ── */
.np-newsletter {
  background: linear-gradient(135deg, #0f1c3f 0%, #097bed 100%);
  border-radius: 16px;
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.np-newsletter::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
}
.np-newsletter::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
}
.np-newsletter .nl-icon {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}
.np-newsletter h3 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.np-newsletter p {
  font-size: 16px;
  color: rgba(255,255,255,.75);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}
.nl-form { display: flex; gap: 12px; max-width: 560px; margin: 0 auto; position: relative; z-index: 1; }
.nl-form input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 15px;
  font-family: var(--np-font);
  backdrop-filter: blur(10px);
  transition: border-color var(--np-transition);
}
.nl-form input::placeholder { color: rgba(255,255,255,.5); }
.nl-form input:focus { outline: none; border-color: rgba(255,255,255,.6); }
.nl-form .btn-subscribe {
  padding: 14px 28px;
  background: #fff;
  color: var(--np-blue);
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--np-transition);
}
.nl-form .btn-subscribe:hover { background: var(--np-blue-dark); color: #fff; transform: translateY(-2px); }
.nl-privacy {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  margin-top: 16px;
  position: relative;
  z-index: 1;
}
.nl-privacy a { color: rgba(255,255,255,.7); text-decoration: underline; }

/* ── 15. RECOMMENDED SECTION ── */
.recommended-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rec-card {
  background: var(--np-card);
  border-radius: var(--np-radius);
  overflow: hidden;
  box-shadow: var(--np-shadow);
  transition: transform var(--np-transition), box-shadow var(--np-transition);
}
.rec-card:hover { transform: translateY(-5px); box-shadow: 0 10px 36px rgba(9,123,237,.15); }
.rec-card .card-img img { width: 100%; height: 180px; object-fit: cover; transition: transform .6s ease; }
.rec-card:hover .card-img img { transform: scale(1.06); }
.rec-card .card-body { padding: 16px 18px; }
.rec-card .card-title { font-size: 15.5px; font-weight: 700; color: var(--np-navy); line-height: 1.4; margin: 8px 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color var(--np-transition); }
.rec-card .card-title:hover { color: var(--np-blue); }
.rec-card .card-meta { font-size: 12px; color: #9fa0b2; display: flex; align-items: center; gap: 10px; }
.rec-card .card-meta i { color: var(--np-blue); font-size: 11px; }
.rec-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,.6);
  color: #fff;
  font-size: 10.5px;
  padding: 3px 9px;
  border-radius: 20px;
  font-weight: 600;
}

/* ── 16. SIDEBAR WIDGETS ── */
.widget {
  background: var(--np-card);
  border-radius: var(--np-radius);
  padding: 20px;
  box-shadow: var(--np-shadow);
  margin-bottom: 24px;
}
.widget-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--np-navy);
  text-transform: uppercase;
  letter-spacing: .8px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--np-blue);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.widget-title i { color: var(--np-blue); }

/* Sidebar Most Read */
.sw-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--np-border);
}
.sw-item:last-child { border-bottom: none; padding-bottom: 0; }
.sw-num { flex-shrink: 0; width: 28px; font-size: 18px; font-weight: 800; color: var(--np-border); font-style: italic; text-align: center; }
.sw-item:nth-child(1) .sw-num { color: var(--np-blue); }
.sw-item:nth-child(2) .sw-num { color: #aaa; }
.sw-item:nth-child(3) .sw-num { color: #c0392b; }
.sw-thumb { flex-shrink: 0; width: 68px; height: 60px; border-radius: 6px; overflow: hidden; }
.sw-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sw-body { flex: 1; min-width: 0; }
.sw-body h6 { font-size: 13px; font-weight: 600; color: var(--np-navy); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color var(--np-transition); }
.sw-body h6:hover { color: var(--np-blue); }
.sw-body .views { font-size: 11.5px; color: #9fa0b2; margin-top: 4px; }

/* Sidebar Trending */
.sw-trend-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--np-border);
}
.sw-trend-item:last-child { border-bottom: none; }
.sw-trend-icon { color: var(--np-orange); font-size: 16px; margin-top: 2px; flex-shrink: 0; }
.sw-trend-body h6 { font-size: 13px; font-weight: 600; color: var(--np-navy); line-height: 1.4; margin-bottom: 4px; transition: color var(--np-transition); }
.sw-trend-body h6:hover { color: var(--np-blue); }
.sw-trend-body .meta { font-size: 11px; color: #9fa0b2; display: flex; gap: 8px; }

/* Sidebar Ad */
.widget-ad { padding: 0; background: transparent; box-shadow: none; }
.widget-ad img { width: 100%; border-radius: var(--np-radius); }
.ad-label { text-align: center; font-size: 10px; color: #9fa0b2; text-transform: uppercase; letter-spacing: .5px; margin-top: 4px; }

/* Sidebar Newsletter */
.widget-nl { background: linear-gradient(135deg, #0f1c3f, #097bed); }
.widget-nl .widget-title { color: #fff; border-color: rgba(255,255,255,.3); }
.widget-nl p { font-size: 13px; color: rgba(255,255,255,.75); margin-bottom: 14px; }
.widget-nl input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 13px;
  margin-bottom: 8px;
  font-family: var(--np-font);
}
.widget-nl input::placeholder { color: rgba(255,255,255,.5); }
.widget-nl input:focus { outline: none; border-color: rgba(255,255,255,.5); }
.widget-nl .btn-sub {
  width: 100%;
  padding: 10px;
  background: #fff;
  color: var(--np-blue);
  font-weight: 700;
  font-size: 13px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--np-transition);
}
.widget-nl .btn-sub:hover { background: var(--np-blue-dark); color: #fff; }

/* Sidebar Tags */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
  display: inline-block;
  padding: 5px 14px;
  background: var(--np-bg);
  border: 1px solid var(--np-border);
  border-radius: 20px;
  font-size: 12.5px;
  color: var(--np-text);
  transition: all var(--np-transition);
}
.tag-cloud a:hover { background: var(--np-blue); color: #fff; border-color: var(--np-blue); }

/* Social Follow Widget */
.social-follow { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.social-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: transform var(--np-transition);
}
.social-btn:hover { transform: translateY(-2px); color: #fff; }
.social-btn.fb    { background: #1877f2; }
.social-btn.tw    { background: #1da1f2; }
.social-btn.yt    { background: #ff0000; }
.social-btn.ig    { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.social-btn .count { font-size: 11px; opacity: .8; }

/* ── 17. FOOTER ── */
.np-footer {
  background: #0a0e1a;
  color: #8899cc;
  padding: 56px 0 0;
  margin-top: 64px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #1a2444;
}
.footer-brand .footer-logo img { height: 40px; margin-bottom: 18px; }
.footer-brand p { font-size: 14px; line-height: 1.8; margin-bottom: 20px; max-width: 280px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #141d33;
  border-radius: 8px;
  color: #8899cc;
  font-size: 15px;
  transition: all var(--np-transition);
  border: 1px solid #1a2444;
}
.footer-social a:hover { background: var(--np-blue); color: #fff; border-color: var(--np-blue); }
.footer-col h5 { font-size: 14px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13.5px; color: #8899cc; display: flex; align-items: center; gap: 6px; transition: color var(--np-transition); }
.footer-col ul li a::before { content: '›'; color: var(--np-blue); font-size: 16px; font-weight: 700; }
.footer-col ul li a:hover { color: #fff; padding-left: 4px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 13.5px; }
.footer-contact li i { color: var(--np-blue); margin-top: 3px; }

/* Footer Newsletter */
.footer-nl {
  background: #0f1525;
  padding: 32px;
  border-radius: 12px;
  margin-bottom: 40px;
}
.footer-nl h4 { color: #fff; font-size: 18px; margin-bottom: 6px; }
.footer-nl p { font-size: 13.5px; margin-bottom: 16px; }
.footer-nl-form { display: flex; gap: 10px; }
.footer-nl-form input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 6px;
  border: 1px solid #1a2444;
  background: #141d33;
  color: #fff;
  font-size: 14px;
  font-family: var(--np-font);
}
.footer-nl-form input:focus { outline: none; border-color: var(--np-blue); }
.footer-nl-form button {
  padding: 12px 24px;
  background: var(--np-blue);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background var(--np-transition);
}
.footer-nl-form button:hover { background: var(--np-blue-dark); }

.footer-bottom {
  background: #050810;
  text-align: center;
  padding: 20px 16px;
  font-size: 13px;
  color: #5566aa;
}
.footer-bottom-links { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.footer-bottom-links a { font-size: 12.5px; color: #5566aa; transition: color var(--np-transition); }
.footer-bottom-links a:hover { color: #fff; }

/* ── 18. BACK TO TOP ── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--np-blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 16px rgba(9,123,237,.4);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all var(--np-transition);
  z-index: 999;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--np-blue-dark); transform: translateY(-4px); }

/* ── 19. ARTICLE PAGE ── */
.article-header { padding: 40px 0 0; }
.article-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #9fa0b2; margin-bottom: 20px; }
.article-breadcrumb a { color: var(--np-blue); }
.article-breadcrumb i { font-size: 11px; }
.article-header h1 { font-size: 36px; font-weight: 700; color: var(--np-navy); line-height: 1.25; margin-bottom: 16px; }
.article-subtitle { font-size: 18px; color: var(--np-text); line-height: 1.6; margin-bottom: 24px; font-weight: 400; }
.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 18px 0;
  border-top: 1px solid var(--np-border);
  border-bottom: 1px solid var(--np-border);
  margin-bottom: 28px;
}
.article-author { display: flex; align-items: center; gap: 10px; }
.article-author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.author-details .name { font-size: 15px; font-weight: 700; color: var(--np-navy); }
.author-details .role { font-size: 12px; color: #9fa0b2; }
.article-info { display: flex; gap: 18px; flex-wrap: wrap; }
.article-info .item { display: flex; align-items: center; gap: 5px; font-size: 13px; color: #9fa0b2; }
.article-info .item i { color: var(--np-blue); }

/* Share Bar */
.share-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-left: auto; }
.share-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: opacity var(--np-transition);
}
.share-btn:hover { opacity: .85; color: #fff; }
.share-btn.fb  { background: #1877f2; }
.share-btn.tw  { background: #1da1f2; }
.share-btn.wa  { background: #25d366; }
.share-btn.lk  { background: #0077b5; }

/* Article Body */
.article-body { font-size: 17px; line-height: 1.85; color: var(--np-text); font-family: var(--np-serif); }
.article-body p { margin-bottom: 22px; }
.article-body h2 { font-family: var(--np-font); font-size: 26px; color: var(--np-navy); margin: 36px 0 16px; }
.article-body h3 { font-family: var(--np-font); font-size: 22px; color: var(--np-navy); margin: 28px 0 12px; }
.article-body img { width: 100%; border-radius: var(--np-radius); margin: 28px 0; }
.article-body .img-caption { text-align: center; font-size: 13px; color: #9fa0b2; font-style: italic; margin-top: -20px; margin-bottom: 28px; font-family: var(--np-font); }
.article-body a { color: var(--np-blue); text-decoration: underline; }
.article-body ul { padding-left: 24px; margin-bottom: 22px; }
.article-body ul li { margin-bottom: 8px; }

/* Pull Quote */
.pull-quote {
  border-left: 4px solid var(--np-blue);
  background: rgba(9,123,237,.06);
  padding: 24px 28px;
  border-radius: 0 var(--np-radius) var(--np-radius) 0;
  margin: 32px 0;
}
.pull-quote blockquote {
  font-size: 21px;
  font-style: italic;
  color: var(--np-navy);
  line-height: 1.6;
  font-family: var(--np-font);
  margin: 0 0 10px;
}
.pull-quote cite { font-size: 13px; color: #9fa0b2; font-style: normal; }

/* Stat Box */
.stat-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: var(--np-card);
  border-radius: var(--np-radius);
  padding: 24px;
  box-shadow: var(--np-shadow);
  margin: 32px 0;
}
.stat-item { text-align: center; }
.stat-item .num { font-size: 32px; font-weight: 800; color: var(--np-blue); font-family: var(--np-font); line-height: 1; margin-bottom: 6px; }
.stat-item .label { font-size: 13px; color: #9fa0b2; font-family: var(--np-font); }

/* Tags Bar */
.article-tags { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--np-border); }
.article-tags .tags-label { font-size: 13px; font-weight: 700; color: var(--np-navy); }
.article-tag {
  padding: 5px 14px;
  background: var(--np-bg);
  border: 1px solid var(--np-border);
  border-radius: 20px;
  font-size: 12.5px;
  color: var(--np-text);
  transition: all var(--np-transition);
}
.article-tag:hover { background: var(--np-blue); color: #fff; border-color: var(--np-blue); }

/* Author Box */
.author-box {
  display: flex;
  gap: 20px;
  background: var(--np-card);
  border-radius: var(--np-radius);
  padding: 28px;
  box-shadow: var(--np-shadow);
  margin: 40px 0;
}
.author-box .avatar { flex-shrink: 0; width: 90px; height: 90px; border-radius: 50%; overflow: hidden; }
.author-box .avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-box .bio h5 { font-size: 18px; color: var(--np-navy); margin-bottom: 6px; }
.author-box .bio .role { font-size: 12px; color: var(--np-blue); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 10px; }
.author-box .bio p { font-size: 14px; color: var(--np-text); font-family: var(--np-font); line-height: 1.7; margin-bottom: 14px; }
.author-box .bio .social { display: flex; gap: 8px; }
.author-box .bio .social a { color: var(--np-text); font-size: 15px; }
.author-box .bio .social a:hover { color: var(--np-blue); }

/* Comments Section */
.comments-section { margin: 40px 0; }
.comments-section h3 { font-size: 22px; color: var(--np-navy); margin-bottom: 24px; padding-bottom: 14px; border-bottom: 2px solid var(--np-border); }
.comment {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
}
.comment .avatar { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; overflow: hidden; background: var(--np-blue); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 16px; }
.comment .avatar img { width: 100%; height: 100%; object-fit: cover; }
.comment-body { flex: 1; }
.comment-header { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.comment-header .name { font-size: 14.5px; font-weight: 700; color: var(--np-navy); }
.comment-header .date { font-size: 12px; color: #9fa0b2; }
.comment-text { font-size: 14px; color: var(--np-text); line-height: 1.7; }
.comment-actions { display: flex; gap: 14px; margin-top: 8px; }
.comment-actions button { background: none; border: none; font-size: 12.5px; color: #9fa0b2; cursor: pointer; display: flex; align-items: center; gap: 4px; font-family: var(--np-font); }
.comment-actions button:hover { color: var(--np-blue); }
.comment-form { background: var(--np-card); border-radius: var(--np-radius); padding: 24px; box-shadow: var(--np-shadow); margin-top: 24px; }
.comment-form h4 { font-size: 18px; color: var(--np-navy); margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--np-navy); }
.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--np-border);
  border-radius: 6px;
  font-size: 14px;
  font-family: var(--np-font);
  color: var(--np-navy);
  background: var(--np-bg);
  transition: border-color var(--np-transition);
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--np-blue); }
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit {
  padding: 12px 32px;
  background: var(--np-blue);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--np-transition);
  font-family: var(--np-font);
}
.btn-submit:hover { background: var(--np-blue-dark); transform: translateY(-2px); }

/* Next Article Bar */
.next-article {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--np-card);
  border-radius: var(--np-radius);
  padding: 20px;
  box-shadow: var(--np-shadow);
  margin-top: 40px;
  border: 1px solid var(--np-border);
}
.next-article .thumb { flex-shrink: 0; width: 100px; height: 80px; border-radius: 6px; overflow: hidden; }
.next-article .thumb img { width: 100%; height: 100%; object-fit: cover; }
.next-article .label { font-size: 11px; text-transform: uppercase; letter-spacing: .8px; color: var(--np-blue); font-weight: 700; margin-bottom: 6px; }
.next-article h6 { font-size: 16px; font-weight: 700; color: var(--np-navy); line-height: 1.4; transition: color var(--np-transition); }
.next-article h6:hover { color: var(--np-blue); }
.next-arrow { margin-left: auto; color: var(--np-blue); font-size: 24px; flex-shrink: 0; }

/* ── 20. ANIMATIONS ── */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ── 21. RESPONSIVE ── */
@media (max-width: 1200px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .recommended-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
  .np-layout { grid-template-columns: 1fr; }
  .np-sidebar { position: static; }
  .hero-content h1 { font-size: 30px; }
  .hero-content { padding: 28px; }
  .hero-slide { height: 420px; }
  .featured-grid.layout-f { grid-template-columns: 1fr 1fr; }
  .featured-card.card-main { grid-column: 1 / -1; }
  .featured-card.card-tall { grid-row: auto; grid-column: auto; }
  .cat-grid { grid-template-columns: 1fr; }
  .multimedia-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .mobile-toggle { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .recommended-grid { grid-template-columns: 1fr 1fr; }
  .trending-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .hero-slide { height: 340px; }
  .hero-content h1 { font-size: 22px; }
  .hero-content { padding: 20px; }
  .hero-meta .meta-item { display: none; }
  .featured-grid.layout-f { grid-template-columns: 1fr; }
  .featured-card.card-main,
  .featured-card.card-tall { grid-column: auto; }
  .multimedia-grid { grid-template-columns: 1fr; }
  .recommended-grid { grid-template-columns: 1fr; }
  .np-newsletter { padding: 36px 24px; }
  .nl-form { flex-direction: column; }
  .share-bar { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .topbar-date { display: none; }
  .btn-header { display: none; }
  .article-header h1 { font-size: 26px; }
  .stat-box { grid-template-columns: repeat(3, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-nl-form { flex-direction: column; }
  .article-meta-bar { gap: 12px; }
  .share-bar { display: flex; justify-content: flex-start; width: 100%; }
  .btn-header.filled { display: flex; }
}
@media (max-width: 480px) {
  .container { padding: 0 12px; }
  .hero-slide { height: 280px; }
  .hero-content h1 { font-size: 18px; }
  .hero-read-btn { padding: 10px 18px; font-size: 13px; }
  .section-gap { padding: 32px 0; }
  .most-read-item { flex-wrap: wrap; }
  .cat-side-card { flex-direction: column; }
  .cat-side-card .thumb { width: 100%; }
  .cat-side-card .thumb img { height: 160px; width: 100%; }
  .np-newsletter h3 { font-size: 22px; }
  .social-follow { grid-template-columns: 1fr; }
  .footer-social a { width: 32px; height: 32px; font-size: 13px; }
}
