/* ============================================================
   BANGLADESHI NEWS PORTAL - STYLE.CSS
   Color Palette: Primary #c40000 | Dark #222 | Light #f5f5f5
   Font: Noto Serif Bengali
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Bengali:wght@300;400;500;600;700;900&display=swap');

/* ── CSS Variables ── */
:root {
  --primary: #c40000;
  --primary-dk: #9a0000;
  --dark: #222222;
  --mid: #444444;
  --muted: #777777;
  --border: #e0e0e0;
  --light-bg: #f5f5f5;
  --white: #ffffff;
  --card-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --hover-shadow: 0 6px 24px rgba(0, 0, 0, 0.14);
  --font: 'Noto Serif Bengali', serif;
}

/* ── Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  background: var(--light-bg);
  color: var(--dark);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color .2s;
}

a:hover {
  color: var(--primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   TOP HEADER
   ============================================================ */
#top-header {
  background: var(--white);
  border-bottom: 3px solid var(--primary);
  padding: 10px 0;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  line-height: 1;
}

.site-logo-img {
  display: block;
  height: auto;
  width: auto;
  max-height: 64px;
  max-width: 260px;
  object-fit: contain;
}

@media (min-width: 576px) {
  .site-logo-img {
    max-height: 78px;
    max-width: 340px;
  }
}

@media (min-width: 992px) {
  .site-logo-img {
    max-height: 90px;
    max-width: 460px;
  }
}

.logo-icon {
  width: 52px;
  height: 52px;
  background: var(--primary);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  font-weight: 900;
  letter-spacing: -1px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text .name {
  font-size: 28px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.logo-text .tagline {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.5px;
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}

.date-badge {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 13px;
  color: var(--mid);
  font-weight: 500;
  white-space: nowrap;
}

.social-links {
  display: flex;
  gap: 8px;
}

.social-links a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--white);
  transition: opacity .2s, transform .2s;
}

.social-links a:hover {
  opacity: .85;
  transform: translateY(-2px);
}

.social-links .fb {
  background: #1877f2;
}

.social-links .yt {
  background: #ff0000;
}

.social-links .tw {
  background: #1da1f2;
}

.search-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid);
  cursor: pointer;
  transition: all .2s;
}

.search-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Header Ad Banner */
.header-ad {
  background: #eee;
  border: 1px dashed #ccc;
  text-align: center;
  padding: 12px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
  margin-top: 10px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#main-nav {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}

#main-nav .navbar-nav .nav-link {
  font-family: var(--font);
  font-size: 17px;
  font-weight: 600;
  color: #ddd !important;
  padding: 12px 13px !important;
  position: relative;
  transition: color .2s;
}

#main-nav .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--primary);
  transition: left .2s, right .2s;
}

#main-nav .navbar-nav .nav-link:hover,
#main-nav .navbar-nav .nav-link.active {
  color: #fff !important;
}

#main-nav .navbar-nav .nav-link:hover::after,
#main-nav .navbar-nav .nav-link.active::after {
  left: 0;
  right: 0;
}

/* Dropdown */
#main-nav .dropdown-menu {
  background: var(--white);
  border: none;
  border-top: 3px solid var(--primary);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
  min-width: 180px;
  padding: 6px 0;
}

#main-nav .dropdown-item {
  font-family: var(--font);
  font-size: 16px;
  color: var(--dark);
  padding: 8px 18px;
  transition: background .15s;
}

#main-nav .dropdown-item:hover {
  background: var(--light-bg);
  color: var(--primary);
}

#main-nav .navbar-toggler {
  border-color: rgba(255, 255, 255, .3);
}

#main-nav .navbar-toggler-icon {
  filter: invert(1);
}

/* ============================================================
   BREAKING NEWS TICKER
   ============================================================ */
#breaking-news {
  background: var(--primary);
  color: #fff;
  padding: 8px 0;
  overflow: hidden;
  position: relative;
}

.breaking-label {
  background: var(--dark);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 2px 14px;
  border-radius: 3px;
  white-space: nowrap;
  letter-spacing: 0.5px;
  margin-right: 14px;
  flex-shrink: 0;
}

.ticker-wrap {
  overflow: hidden;
  flex: 1;
}

.ticker-content {
  display: inline-block;
  white-space: nowrap;
  animation: ticker-scroll 60s linear infinite;
  font-size: 16px;
  font-weight: 500;
  will-change: transform;
}

.ticker-content span {
  margin-right: 60px;
}

.ticker-content span::before {
  content: '⬤ ';
  font-size: 9px;
  opacity: .7;
  margin-right: 6px;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}

.section-header h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-header h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 20px;
  background: var(--primary);
  border-radius: 2px;
}

.more-btn {
  font-size: 13px;
  font-family: var(--font);
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 4px 14px;
  border-radius: 3px;
  font-weight: 600;
  transition: all .2s;
  white-space: nowrap;
}

.more-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* ============================================================
   NEWS CARDS
   ============================================================ */
.news-card {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: box-shadow .25s, transform .25s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  box-shadow: var(--hover-shadow);
  transform: translateY(-3px);
}

.news-card .card-img-wrap {
  position: relative;
  overflow: hidden;
  background: #ddd;
}

.news-card .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}

.news-card:hover .card-img-wrap img {
  transform: scale(1.04);
}

.news-card .card-body {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cat-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: var(--primary);
  color: #fff;
  padding: 2px 8px;
  border-radius: 2px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--dark);
  margin-bottom: 8px;
  flex: 1;
}

.card-title a:hover {
  color: var(--primary);
}

.card-meta {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.card-meta i {
  font-size: 11px;
}

/* ── Hero Card (large) ── */
.hero-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: box-shadow .25s;
  height: 100%;
}

.hero-card:hover {
  box-shadow: var(--hover-shadow);
}

.hero-card .hero-img-wrap {
  position: relative;
  overflow: hidden;
  height: 320px;
  background: #ccc;
}

.hero-card .hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.hero-card:hover .hero-img-wrap img {
  transform: scale(1.03);
}

.hero-card .hero-body {
  padding: 20px;
}

.hero-card .hero-title {
  font-size: 23px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--dark);
}

.hero-card .hero-title a:hover {
  color: var(--primary);
}

.hero-card .hero-excerpt {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-card .hero-meta {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Small horizontal card ── */
.small-card {
  background: var(--white);
  border-radius: 5px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  display: flex;
  gap: 0;
  transition: box-shadow .2s, transform .2s;
  margin-bottom: 12px;
}

.small-card:last-child {
  margin-bottom: 0;
}

.small-card:hover {
  box-shadow: var(--hover-shadow);
  transform: translateY(-2px);
}

.small-card .sc-img {
  width: 100px;
  min-width: 100px;
  height: 80px;
  overflow: hidden;
  background: #ddd;
  flex-shrink: 0;
}

.small-card .sc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.small-card:hover .sc-img img {
  transform: scale(1.05);
}

.small-card .sc-body {
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.small-card .sc-title {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--dark);
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.small-card .sc-title a:hover {
  color: var(--primary);
}

.small-card .sc-meta {
  font-size: 12px;
  color: var(--muted);
}

/* ============================================================
   FEATURED / HERO SECTION
   ============================================================ */
#featured-section {
  padding: 28px 0 18px;
}

/* ============================================================
   CATEGORY SECTIONS
   ============================================================ */
.category-section {
  padding: 22px 0;
}

.category-section+.category-section {
  border-top: 1px solid var(--border);
}

/* ── Ad divider between sections ── */
.ad-divider {
  background: #eee;
  border: 1px dashed #ccc;
  text-align: center;
  padding: 16px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 1px;
  margin: 10px 0;
  border-radius: 4px;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar-widget {
  background: var(--white);
  border-radius: 6px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  margin-bottom: 24px;
}

.widget-header {
  background: var(--dark);
  color: #fff;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget-header i {
  color: var(--primary);
}

.widget-body {
  padding: 14px 16px;
}

/* Popular news */
.popular-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: opacity .2s;
}

.popular-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.popular-item:hover {
  opacity: .8;
}

.pop-rank {
  font-size: 24px;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  min-width: 28px;
  text-align: center;
  flex-shrink: 0;
}

.popular-item:nth-child(1) .pop-rank {
  color: var(--primary);
}

.popular-item:nth-child(2) .pop-rank {
  color: #e06010;
}

.popular-item:nth-child(3) .pop-rank {
  color: #c09000;
}

.pop-img {
  width: 70px;
  height: 55px;
  border-radius: 4px;
  overflow: hidden;
  background: #ddd;
  flex-shrink: 0;
}

.pop-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pop-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--dark);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pop-title a:hover {
  color: var(--primary);
}

.pop-date {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* Sidebar Ad */
.sidebar-ad {
  background: #eee;
  border: 1px dashed #ccc;
  text-align: center;
  padding: 30px 10px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 1px;
  border-radius: 6px;
  margin-bottom: 24px;
}

/* Facebook widget */
.fb-widget-placeholder {
  background: #e7f0fd;
  border-radius: 6px;
  padding: 20px;
  text-align: center;
  font-size: 14px;
  color: #1877f2;
  font-weight: 600;
}

.fb-widget-placeholder i {
  font-size: 42px;
  display: block;
  margin-bottom: 10px;
}

.fb-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1877f2;
  color: #fff;
  font-size: 13px;
  font-family: var(--font);
  font-weight: 700;
  border: none;
  padding: 7px 18px;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 10px;
  transition: opacity .2s;
}

.fb-like-btn:hover {
  opacity: .9;
}

/* Newsletter */
.newsletter-widget .widget-body {
  padding: 16px;
}

/* Widget description text */
.nl-widget-desc {
  font-size: 12.5px;
  color: #666;
  margin-bottom: 12px;
  line-height: 1.55;
}

/* Feedback message */
.nl-widget-msg {
  font-size: 13px;
  border-radius: 5px;
  padding: 8px 12px;
  margin-bottom: 10px;
  font-weight: 500;
}

.nl-widget-msg--success {
  background: #e6f9ee;
  color: #1a7a3a;
  border: 1px solid #a3d9b8;
}

.nl-widget-msg--warning {
  background: #fff8e1;
  color: #8a6000;
  border: 1px solid #ffe082;
}

.nl-widget-msg--error {
  background: #fdecea;
  color: #b71c1c;
  border: 1px solid #f5c6c6;
}

/* Form */
.nl-widget-form {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Input wrap with icon */
.nl-field-wrap {
  position: relative;
  margin-bottom: 2px;
}

.nl-field-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 13px;
  pointer-events: none;
}

.nl-field-input {
  font-family: var(--font);
  font-size: 13.5px;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 8px 10px 8px 32px;
  width: 100%;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  background: #fafafa;
}

.nl-field-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(196, 0, 0, .08);
  background: #fff;
}

.nl-field-input.nl-field-invalid {
  border-color: #e53935;
  box-shadow: 0 0 0 3px rgba(229, 57, 53, .1);
}

/* Inline field errors */
.nl-field-error {
  display: none;
  font-size: 11.5px;
  color: #e53935;
  padding-left: 2px;
  margin-bottom: 4px;
}

/* OR divider between email and phone */
.nl-or-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
}

.nl-or-divider::before,
.nl-or-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Old generic input kept for backwards compat */
.newsletter-input {
  font-family: var(--font);
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 8px 12px;
  width: 100%;
  margin-bottom: 8px;
  outline: none;
  transition: border-color .2s;
}

.newsletter-input:focus {
  border-color: var(--primary);
}

.subscribe-btn {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 9px 20px;
  width: 100%;
  cursor: pointer;
  transition: background .2s;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.subscribe-btn:hover {
  background: var(--primary-dk);
}

.subscribe-btn:disabled {
  opacity: .7;
  cursor: not-allowed;
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--dark);
  color: #bbb;
  padding: 40px 0 0;
  margin-top: 36px;
}

.footer-logo-text {
  font-size: 30px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 10px;
}

.footer-desc {
  font-size: 15.5px;
  line-height: 1.75;
  color: #bbb;
  margin-bottom: 16px;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #aaa;
  transition: all .2s;
}

.footer-social a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.footer-heading {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links li a {
  font-size: 15.5px;
  color: #ccc;
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links li a::before {
  content: '›';
  color: var(--primary);
  font-weight: 700;
}

.footer-links li a:hover {
  color: #fff;
}

.footer-contact p {
  font-size: 15.5px;
  color: #ccc;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-contact i {
  color: var(--primary);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding: 14px 0;
  margin-top: 30px;
  text-align: center;
  font-size: 14.5px;
  color: #aaa;
}

/* ============================================================
   NEWS DETAILS PAGE
   ============================================================ */
.news-detail-wrap {
  padding: 28px 0;
}

.detail-category-tag {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 14px;
}

.detail-title {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.38;
  color: var(--dark);
  margin-bottom: 16px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13.5px;
  color: var(--muted);
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.detail-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.detail-meta i {
  color: var(--primary);
}

.detail-featured-img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
  box-shadow: var(--card-shadow);
}

.img-caption {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin-top: -14px;
  margin-bottom: 20px;
  font-style: italic;
}

.detail-body {
  font-size: 17px;
  line-height: 1.95;
  color: #333;
}

.detail-body p {
  margin-bottom: 18px;
}

/* Share buttons */
.share-section {
  margin: 24px 0;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.share-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.share-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 4px;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: opacity .2s;
}

.share-btn:hover {
  opacity: .85;
}

.share-btn.fb {
  background: #1877f2;
}

.share-btn.tw {
  background: #1da1f2;
}

.share-btn.wa {
  background: #25d366;
}

/* Related news */
.related-section {
  padding: 28px 0;
}

/* ============================================================
   UTILITIES & HELPERS
   ============================================================ */
.section-wrap {
  padding: 20px 0;
}

.mb-section {
  margin-bottom: 28px;
}

.placeholder-img {
  background: linear-gradient(135deg, #ddd 25%, #ccc 50%, #ddd 75%);
  background-size: 200% 200%;
  animation: shimmer 1.8s infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* Heights for placeholder images */
.h-hero {
  height: 320px;
}

.h-card {
  height: 190px;
}

.h-sm {
  height: 80px;
}

.h-pop {
  height: 55px;
}

.h-detail {
  height: 440px;
}

/* ============================================================
   RESPONSIVE OVERRIDES
   ============================================================ */
@media (max-width: 991px) {
  .hero-card .hero-img-wrap {
    height: 240px;
  }

  .hero-card .hero-title {
    font-size: 19px;
  }

  .detail-title {
    font-size: 24px;
  }

  #main-nav .navbar-collapse {
    background: #1a1a1a;
    padding: 10px 0;
  }

  #main-nav .navbar-nav .nav-link::after {
    display: none;
  }
}

@media (max-width: 767px) {
  .logo-text .name {
    font-size: 22px;
  }

  .header-meta {
    gap: 8px;
  }

  .date-badge {
    display: none;
  }

  .detail-title {
    font-size: 22px;
  }

  .h-hero {
    height: 220px;
  }

  .h-card {
    height: 160px;
  }

  .hero-card .hero-img-wrap {
    height: 200px;
  }
}

@media (max-width: 575px) {
  .section-header h2 {
    font-size: 17px;
  }

  .small-card .sc-img {
    width: 80px;
    min-width: 80px;
  }
}

/* ============================================================
   POLL SECTION
   ============================================================ */
.poll-widget .widget-body {
  padding: 16px;
}

.poll-question {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.55;
}

.poll-option {
  margin-bottom: 10px;
}

.poll-option label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--mid);
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 5px;
  border: 1.5px solid var(--border);
  transition: border-color .2s, background .2s;
  user-select: none;
}

.poll-option label:hover {
  border-color: var(--primary);
  background: #fff5f5;
}

.poll-option input[type="radio"] {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.poll-vote-btn {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 9px 0;
  width: 100%;
  cursor: pointer;
  transition: background .2s;
  margin-top: 4px;
}

.poll-vote-btn:hover {
  background: var(--primary-dk);
}

/* Result bars (shown after voting) */
.poll-results {
  display: none;
}

.poll-result-item {
  margin-bottom: 10px;
}

.poll-result-label {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}

.poll-bar-track {
  height: 10px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
}

.poll-bar-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 99px;
  transition: width 1s ease;
}

.poll-bar-fill.alt {
  background: #e06010;
}

.poll-bar-fill.alt2 {
  background: #1877f2;
}

.poll-bar-fill.alt3 {
  background: #25a244;
}

.poll-total {
  font-size: 12px;
  color: var(--muted);
  text-align: right;
  margin-top: 8px;
}

/* Section poll (inline, wider) */
.poll-section-wrap {
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--card-shadow);
  padding: 24px 28px;
  margin: 10px 0;
}

.poll-section-wrap .poll-question {
  font-size: 17px;
}

.poll-section-wrap .poll-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
#hero-slider {
  position: relative;
  background: #111;
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform .6s cubic-bezier(.77, 0, .18, 1);
}

.slide {
  min-width: 100%;
  position: relative;
  overflow: hidden;
}

.slide img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  filter: brightness(.7);
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, .85));
  color: #fff;
  padding: 40px 36px 28px;
}

.slide-caption .s-cat {
  display: inline-block;
  background: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 2px 9px;
  border-radius: 2px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.slide-caption h2 {
  font-size: 27px;
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .4);
}

.slide-caption h2 a {
  color: #fff;
}

.slide-caption h2 a:hover {
  color: #ffd0d0;
}

.slide-caption .s-meta {
  font-size: 13px;
  color: rgba(255, 255, 255, .75);
  display: flex;
  gap: 14px;
}

/* Slider controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, .45);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  transition: background .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background: var(--primary);
}

.slider-btn.prev {
  left: 14px;
}

.slider-btn.next {
  right: 14px;
}

/* Slider dots */
.slider-dots {
  position: absolute;
  bottom: 12px;
  right: 16px;
  display: flex;
  gap: 6px;
  z-index: 10;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .4);
  cursor: pointer;
  transition: background .2s, transform .2s;
}

.dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

@media (max-width: 767px) {
  .slide img {
    height: 260px;
  }

  .slide-caption {
    padding: 24px 16px 16px;
  }

  .slide-caption h2 {
    font-size: 18px;
  }
}

/* ============================================================
   FEATURED / RECOMMENDED TABS SECTION
   ============================================================ */
.tab-section {
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  margin-bottom: 24px;
}

.tab-nav {
  display: flex;
  border-bottom: 2px solid var(--border);
  background: var(--light-bg);
}

.tab-btn {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  background: none;
  border: none;
  padding: 12px 20px;
  cursor: pointer;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}

.tab-btn.active,
.tab-btn:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tab-pane {
  display: none;
  padding: 18px;
}

.tab-pane.active {
  display: block;
}

.tab-news-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
  transition: opacity .2s;
}

.tab-news-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.tab-news-item:hover {
  opacity: .8;
}

.tab-news-num {
  font-size: 22px;
  font-weight: 900;
  color: var(--border);
  min-width: 26px;
  text-align: center;
  line-height: 1;
}

.tab-news-item:nth-child(1) .tab-news-num {
  color: var(--primary);
}

.tab-news-item:nth-child(2) .tab-news-num {
  color: #e06010;
}

.tab-news-item:nth-child(3) .tab-news-num {
  color: #c09000;
}

.tab-news-img {
  width: 80px;
  min-width: 80px;
  height: 62px;
  border-radius: 4px;
  overflow: hidden;
  background: #ddd;
}

.tab-news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tab-news-title {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--dark);
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tab-news-title a:hover {
  color: var(--primary);
}

.tab-news-meta {
  font-size: 12px;
  color: var(--muted);
}

/* ============================================================
   COMMENTS SECTION
   ============================================================ */
.comments-section {
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--card-shadow);
  padding: 28px;
  margin-top: 24px;
}

.comments-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.comments-title i {
  color: var(--primary);
}

/* Comment form */
.comment-form-wrap {
  background: var(--light-bg);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 28px;
}

.comment-form-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
}

.comment-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.cf-input {
  font-family: var(--font);
  font-size: 14px;
  border: 1.5px solid var(--border);
  border-radius: 5px;
  padding: 9px 13px;
  width: 100%;
  outline: none;
  background: #fff;
  transition: border-color .2s;
  color: var(--dark);
}

.cf-input:focus {
  border-color: var(--primary);
}

textarea.cf-input {
  resize: vertical;
  min-height: 100px;
  margin-bottom: 12px;
}

.cf-submit {
  font-family: var(--font);
  font-size: 14.5px;
  font-weight: 700;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 28px;
  cursor: pointer;
  transition: background .2s;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.cf-submit:hover {
  background: var(--primary-dk);
}

/* Individual comment */
.comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comment-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.comment-item:last-child {
  border-bottom: none;
}

/* Nested reply */
.comment-item.reply {
  margin-left: 52px;
  padding-top: 14px;
  border-left: 3px solid var(--border);
  padding-left: 14px;
  margin-top: 0;
}

.comment-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
}

.comment-avatar.av2 {
  background: #1877f2;
}

.comment-avatar.av3 {
  background: #25a244;
}

.comment-avatar.av4 {
  background: #e06010;
}

.comment-avatar.av5 {
  background: #8e44ad;
}

.comment-body {
  flex: 1;
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
  flex-wrap: wrap;
}

.comment-author {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--dark);
}

.comment-date {
  font-size: 12px;
  color: var(--muted);
}

.comment-badge {
  font-size: 11px;
  background: var(--primary);
  color: #fff;
  padding: 1px 7px;
  border-radius: 99px;
  font-weight: 700;
}

.comment-badge.mod {
  background: #1877f2;
}

.comment-text {
  font-size: 14.5px;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 8px;
}

.comment-actions {
  display: flex;
  gap: 14px;
}

.comment-action-btn {
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  transition: color .2s;
}

.comment-action-btn:hover {
  color: var(--primary);
}

.comment-action-btn.liked {
  color: var(--primary);
}

@media (max-width: 575px) {
  .comment-form-grid {
    grid-template-columns: 1fr;
  }

  .comment-item.reply {
    margin-left: 20px;
  }

  .comments-section {
    padding: 16px;
  }
}

/* ============================================================
   STATIC PAGES (about, terms, privacy, etc.)
   ============================================================ */
.static-page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #3a0000 100%);
  color: #fff;
  padding: 50px 0 40px;
  margin-bottom: 0;
}

.static-page-hero h1 {
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 8px;
}

.static-page-hero p {
  color: rgba(255, 255, 255, .7);
  font-size: 15px;
  margin: 0;
}

.static-breadcrumb {
  background: var(--white);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

.static-content-wrap {
  padding: 36px 0 48px;
}

.static-sidebar-nav .list-group-item {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-left: 3px solid transparent;
  transition: all .18s;
  cursor: pointer;
}

.static-sidebar-nav .list-group-item:hover,
.static-sidebar-nav .list-group-item.active {
  background: #fff5f5;
  border-left-color: var(--primary);
  color: var(--primary);
}

.static-sidebar-nav .list-group-item i {
  width: 16px;
  text-align: center;
  color: var(--primary);
}

.static-article {
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--card-shadow);
  padding: 32px 36px;
}

.static-article h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.static-article h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin: 22px 0 10px;
}

.static-article p {
  font-size: 15.5px;
  color: var(--mid);
  line-height: 1.9;
  margin-bottom: 14px;
}

.static-article ul,
.static-article ol {
  padding-left: 20px;
  margin-bottom: 14px;
}

.static-article li {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 6px;
}

.static-article .highlight-box {
  background: #fff5f5;
  border-left: 4px solid var(--primary);
  padding: 14px 18px;
  border-radius: 0 6px 6px 0;
  margin: 18px 0;
  font-size: 15px;
  color: var(--dark);
  font-weight: 500;
}

.last-updated {
  font-size: 13px;
  color: var(--muted);
  background: var(--light-bg);
  border-radius: 4px;
  padding: 6px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
}

.last-updated i {
  color: var(--primary);
}

/* Contact form */
.contact-form-wrap {
  margin-top: 20px;
}

.cf-row {
  margin-bottom: 14px;
}

.cf-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 5px;
}

@media (max-width: 767px) {
  .static-article {
    padding: 18px 16px;
  }

  .static-page-hero h1 {
    font-size: 25px;
  }
}

/* ============================================================
   NEWSLETTER PAGE
   ============================================================ */
.newsletter-page-box {
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--card-shadow);
  padding: 36px;
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
}

.newsletter-page-icon {
  width: 72px;
  height: 72px;
  background: #fff5f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--primary);
  margin: 0 auto 18px;
}

.newsletter-page-box h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.newsletter-page-box p {
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 20px;
}

.nl-feature-list {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-bottom: 22px;
}

.nl-feature-list li {
  font-size: 14px;
  color: var(--mid);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}

.nl-feature-list li:last-child {
  border-bottom: none;
}

.nl-feature-list i {
  color: var(--primary);
  width: 16px;
}
}

/* ================================================================
   NEWS LISTING PAGE (news/index.blade.php)
   All classes prefixed with .nl- to avoid collision
================================================================ */

/* ── Top Banner ── */
.nl-top-banner {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

/* ── Ad Banners ── */
.nl-ad-banner {
  background: #f0f0f0;
  border: 1px dashed #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 1px;
  border-radius: 4px;
  text-transform: uppercase;
  overflow: hidden;
}

.nl-ad-728 {
  width: 100%;
  min-height: 90px;
}

.nl-ad-300 {
  width: 100%;
  min-height: 250px;
}

/* ── Breadcrumb bar ── */
.nl-breadcrumb-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
}

.nl-breadcrumb-bar .breadcrumb {
  font-size: 12px;
  margin: 0;
}

.nl-breadcrumb-bar .breadcrumb-item a {
  color: var(--primary);
}

.nl-breadcrumb-bar .breadcrumb-item.active {
  color: var(--muted);
}

/* ── Filter Bar ── */
.nl-filter-bar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  box-shadow: var(--card-shadow);
}

.nl-filter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Search row: input + submit side by side */
.nl-search-row {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
}

/* Search input */
.nl-search-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}

.nl-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 13px;
  pointer-events: none;
}

.nl-search-input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 7px 32px 7px 30px;
  font-size: 14px;
  font-family: var(--font);
  color: var(--dark);
  background: var(--light-bg);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.nl-search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(196, 0, 0, .1);
  background: var(--white);
}

.nl-search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 2px 4px;
  font-size: 13px;
  line-height: 1;
}

.nl-search-clear:hover {
  color: var(--primary);
}

/* Category chips */
.nl-cat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.nl-chip {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mid);
  background: var(--white);
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
  text-decoration: none;
}

.nl-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(196, 0, 0, .05);
}

.nl-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* Submit button */
.nl-search-submit {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 8px 18px;
  font-size: 13px;
  font-family: var(--font);
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
  flex-shrink: 0;
  height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nl-search-submit:hover {
  background: var(--primary-dk);
}

/* ── Results count ── */
.nl-results-count {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}

/* ── News Card (listing) ── */
.nl-news-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s, transform .25s;
}

.nl-news-card:hover {
  box-shadow: var(--hover-shadow);
  transform: translateY(-3px);
}

/* Thumbnail area */
.nl-thumb-wrap {
  position: relative;
  overflow: hidden;
  background: #ddd;
}

.nl-thumb-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}

.nl-news-card:hover .nl-thumb-img {
  transform: scale(1.03);
}

/* YouTube embed */
.nl-yt-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 */
  height: 0;
  overflow: hidden;
  background: #000;
}

.nl-yt-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* No image placeholder */
.nl-no-img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eee;
  color: #ccc;
  font-size: 2rem;
  min-height: 180px;
}

/* Category tag on image */
.nl-cat-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 2;
}

/* Card body */
.nl-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.nl-card-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--dark);
  margin: 0;
}

.nl-card-title a {
  color: inherit;
}

.nl-card-title a:hover {
  color: var(--primary);
}

.nl-card-summary {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.65;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nl-card-meta {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: auto;
}

.nl-card-meta i {
  font-size: 11px;
  margin-right: 3px;
}

.nl-video-badge {
  background: #ff0000;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
}

/* ── Empty state ── */
.nl-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}

.nl-empty-state a {
  color: var(--primary);
  font-weight: 600;
}

/* ── Pagination ── */
.nl-pagination {
  margin-top: 8px;
}

.nl-pagination .pagination {
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nl-pagination .page-link {
  color: var(--primary);
  border-radius: 4px !important;
  border: 1px solid var(--border);
  font-size: 14px;
  padding: 6px 13px;
  font-family: var(--font);
  transition: all .2s;
}

.nl-pagination .page-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.nl-pagination .page-item.active .page-link {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.nl-pagination .page-item.disabled .page-link {
  color: #ccc;
}

/* ── Sidebar rank badge ── */
.nl-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 4px;
  flex-shrink: 0;
}

/* ── Category list in sidebar ── */
.nl-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nl-cat-list li a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--mid);
  border-bottom: 1px solid var(--border);
  transition: color .2s, background .2s;
}

.nl-cat-list li:last-child a {
  border-bottom: none;
}

.nl-cat-list li a:hover,
.nl-cat-list li a.active {
  color: var(--primary);
  background: rgba(196, 0, 0, .04);
  padding-left: 20px;
}

/* ================================================================
   RESPONSIVE — News Listing Page
================================================================ */
@media (max-width: 991.98px) {
  .nl-thumb-img {
    height: 200px;
  }

  .nl-ad-728 {
    min-height: 60px;
  }
}

@media (max-width: 767.98px) {
  .nl-search-wrap {
    min-width: 0;
  }

  .nl-thumb-img {
    height: 180px;
  }

  .nl-card-title {
    font-size: 15px;
  }
}

@media (max-width: 575.98px) {
  .nl-thumb-img {
    height: 160px;
  }

  .nl-ad-728 {
    min-height: 50px;
    font-size: 10px;
  }

  .nl-card-body {
    padding: 12px 14px 14px;
  }

  .nl-chip {
    font-size: 11.5px;
    padding: 4px 10px;
  }

  .nl-filter-bar {
    padding: 10px 12px;
  }
}

/* ═══════════════════════════════════════════════════════
   NEWS LISTING — TAG PILLS
   ═══════════════════════════════════════════════════════ */

/* Tag strip inside each news card */
.nl-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid #f0eeee;
}

.nl-tag {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--primary);
  background: rgba(196, 0, 0, 0.07);
  border: 1px solid rgba(196, 0, 0, 0.22);
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
  line-height: 1.5;
  white-space: nowrap;
}

.nl-tag:hover {
  background: var(--tag-color, var(--primary));
  color: #fff;
  border-color: var(--tag-color, var(--primary));
  transform: translateY(-1px);
  text-decoration: none;
}

.nl-tag.active {
  background: var(--tag-color, var(--primary));
  color: #fff;
  border-color: var(--tag-color, var(--primary));
  font-weight: 700;
}

/* Active tag indicator strip (shown when tag filter is active) */
.nl-active-tag-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0 2px;
  flex-wrap: wrap;
}

.nl-active-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px 4px 10px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  background: var(--tag-color, var(--primary));
  border: 1.5px solid var(--tag-color, var(--primary));
  user-select: none;
}

.nl-active-tag-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 10px;
  text-decoration: none;
  transition: background 0.15s;
  margin-left: 2px;
  flex-shrink: 0;
}

.nl-active-tag-remove:hover {
  background: rgba(255, 255, 255, 0.5);
  color: #fff;
}

/* Responsive */
@media (max-width: 575.98px) {
  .nl-tag {
    font-size: 10.5px;
    padding: 2px 8px;
  }

  .nl-card-tags {
    gap: 4px;
    margin-top: 7px;
    padding-top: 7px;
  }
}