@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  /* Colors */
  --primary: #1a3a6b;
  --primary-light: #2c5494;
  --secondary: #c0392b;
  --secondary-hover: #a93226;
  --accent: #f0a500;
  --accent-hover: #d69300;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --text-dark: #333333;
  --text-muted: #666666;
  --border-color: #e0e0e0;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Noto Sans', sans-serif;

  /* Dimensions & Spacing */
  --container-width: 1200px;
  --nav-height: 80px;
  --transition: all 0.3s ease;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-bg {
  background-color: var(--light-gray);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.section-title p {
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  gap: 8px;
}

.btn-primary {
  background-color: var(--secondary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--secondary-hover);
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--primary);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--primary);
}

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

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(26, 58, 107, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.header.scrolled {
  background-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo img {
  height: 50px;
}

.logo-text {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.1;
}

.logo-text span {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 0;
  display: inline-block;
}

.nav-link:hover,
.nav-item.active .nav-link {
  color: var(--accent);
}

.dropdown-icon {
  margin-left: 5px;
  font-size: 0.8rem;
}

/* Mega Menu Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  min-width: 220px;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-sm);
  padding: 15px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 10px 20px;
  color: var(--text-dark);
  font-weight: 500;
}

.dropdown-link:hover {
  background-color: var(--light-gray);
  color: var(--primary);
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
  background: none;
  border: none;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(26, 58, 107, 0.8), rgba(26, 58, 107, 0.8)), url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3DJNhxkOX8nIdXGx-P0XMvKmB4i5lD5BujJ5M9tsO352BWvYB4UmqGaQafbWEnOveipvjNZdtFWg8AfFAgA6zo69EZYnq2o_G99wbaevt8jQTP28J9lSmXVcE6j7t7YqJ_qPsftKj18s/s1600/BANER+KANTOR+LSM+250X100.jpg') center/cover no-repeat;
  color: var(--white);
  padding-top: var(--nav-height);
  text-align: center;
}

/* Page Header Modifiers — Setiap halaman punya foto tematik */
/* Sejarah: Jam/dokumen bersejarah */
.header-sejarah {
  background-image: linear-gradient(rgba(26, 58, 107, 0.82), rgba(26, 58, 107, 0.82)), url('https://images.unsplash.com/photo-1495020689067-958852a7765e?auto=format&fit=crop&q=80&w=1600');
}

/* Visi & Misi: Kaca pembesar / sasaran */
.header-visimisi {
  background-image: linear-gradient(rgba(26, 58, 107, 0.82), rgba(26, 58, 107, 0.82)), url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&q=80&w=1600');
}

/* Organisasi: Tim/orang berkumpul */
.header-organisasi {
  background-image: linear-gradient(rgba(26, 58, 107, 0.82), rgba(26, 58, 107, 0.82)), url('https://images.unsplash.com/photo-1521737852567-6949f3f9f2b5?auto=format&fit=crop&q=80&w=1600');
}

/* Kontak: Telepon/komunikasi */
.header-kontak {
  background-image: linear-gradient(rgba(26, 58, 107, 0.82), rgba(26, 58, 107, 0.82)), url('https://images.unsplash.com/photo-1423666639041-f56000c27a9a?auto=format&fit=crop&q=80&w=1600');
}

/* Siaran Pers: Koran/mesin tik */
.header-siaran-pers {
  background-image: linear-gradient(rgba(26, 58, 107, 0.82), rgba(26, 58, 107, 0.82)), url('https://images.unsplash.com/photo-1504711434969-e33886168f5c?auto=format&fit=crop&q=80&w=1600');
}

/* Berita: Koran/media cetak */
.header-berita {
  background-image: linear-gradient(rgba(26, 58, 107, 0.82), rgba(26, 58, 107, 0.82)), url('https://images.unsplash.com/photo-1495020689067-958852a7765e?auto=format&fit=crop&q=80&w=1600');
}

/* Kegiatan: Komunitas/aktivitas sosial */
.header-kegiatan {
  background-image: linear-gradient(rgba(26, 58, 107, 0.82), rgba(26, 58, 107, 0.82)), url('https://images.unsplash.com/photo-1528605248644-14dd04022da1?auto=format&fit=crop&q=80&w=1600');
}

/* Galeri: Kamera/foto */
.header-galeri {
  background-image: linear-gradient(rgba(26, 58, 107, 0.82), rgba(26, 58, 107, 0.82)), url('https://images.unsplash.com/photo-1452587925148-ce544e77e70d?auto=format&fit=crop&q=80&w=1600');
}

/* Artikel: Pena/menulis */
.header-artikel {
  background-image: linear-gradient(rgba(26, 58, 107, 0.82), rgba(26, 58, 107, 0.82)), url('https://images.unsplash.com/photo-1455390582262-044cdead27d8?auto=format&fit=crop&q=80&w=1600');
}

/* Laporan: Buku-buku/tumpukan laporan */
.header-laporan {
  background-image: linear-gradient(rgba(26, 58, 107, 0.82), rgba(26, 58, 107, 0.82)), url('https://images.unsplash.com/photo-1481627834876-b7833e8f5570?auto=format&fit=crop&q=80&w=1600');
}

/* Jurnal: Buku terbuka/akademis */
.header-jurnal {
  background-image: linear-gradient(rgba(26, 58, 107, 0.82), rgba(26, 58, 107, 0.82)), url('https://images.unsplash.com/photo-1544716278-ca5e3f4abd8c?auto=format&fit=crop&q=80&w=1600');
}

/* Lembar Fakta: Data/statistik/grafik */
.header-lembar-fakta {
  background-image: linear-gradient(rgba(26, 58, 107, 0.82), rgba(26, 58, 107, 0.82)), url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&q=80&w=1600');
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.tagline {
  display: inline-block;
  padding: 8px 16px;
  background-color: rgba(240, 165, 0, 0.2);
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 30px;
  font-weight: 600;
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Marquee / Ticker */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background-color: var(--primary-light);
  color: var(--white);
  padding: 10px 0;
  box-sizing: border-box;
}

.ticker {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 25s linear infinite;
}

.ticker-item {
  display: inline-block;
  padding: 0 2rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.ticker-item i {
  color: var(--accent);
  margin-right: 8px;
}

@keyframes ticker {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Stats Section */
.stats {
  background-color: var(--primary);
  color: var(--white);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item h3 {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 10px;
}

.stat-item p {
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Services / Features */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background-color: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition);
  border-bottom: 4px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  border-bottom-color: var(--secondary);
}

.service-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(192, 57, 43, 0.1);
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 25px;
}

/* Cards / News */
.news-grid,
.divisi-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

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

.card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.card-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--accent);
  color: var(--primary);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 2;
}

.card-body {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-meta {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 15px;
}

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

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

.card-text {
  color: var(--text-muted);
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

/* Divisi & Jaringan */
.divisi-card {
  text-align: center;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.divisi-logo {
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
}

/* CTA Banner */
.cta-banner {
  background-color: var(--primary);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 20px;
}

/* Breadcrumbs */
.page-header {
  background-color: var(--primary);
  padding: 120px 0 60px;
  color: var(--white);
  text-align: center;
}

.page-title {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
  color: var(--white);
}

.breadcrumb a:hover {
  color: var(--accent);
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 4px;
  background-color: var(--primary-light);
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 40px;
}

.timeline-dot {
  position: absolute;
  left: 14px;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--secondary);
  border: 4px solid var(--white);
  box-shadow: 0 0 0 4px var(--primary-light);
}

.timeline-date {
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 10px;
  display: block;
}

.timeline-content {
  background: var(--light-gray);
  padding: 20px;
  border-radius: var(--radius-md);
}

/* Footer */
.footer {
  background-color: #112646;
  color: var(--white);
  padding: 80px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-about .footer-logo {
  margin-bottom: 20px;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 25px;
}

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

.social-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--secondary);
  transform: translateY(-3px);
}

.footer-heading {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background-color: var(--secondary);
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: var(--shadow-md);
  z-index: 100;
  transition: var(--transition);
}

.wa-float:hover {
  transform: scale(1.1);
  color: var(--white);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  background-color: var(--primary);
  color: var(--white);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-sm);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--secondary);
  color: var(--white);
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 58, 107, 0.1);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Responsive */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .stats-grid,
  .services-grid,
  .news-grid,
  .divisi-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background-color: var(--primary);
    flex-direction: column;
    gap: 0;
    transition: var(--transition);
    overflow-y: auto;
    padding: 20px;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-link {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background-color: rgba(0, 0, 0, 0.1);
    display: none;
  }

  .nav-item.active .dropdown-menu {
    display: block;
  }

  .dropdown-link {
    color: var(--white);
    padding: 10px 20px 10px 30px;
  }

  .dropdown-link:hover {
    background-color: transparent;
    color: var(--accent);
  }

  .stats-grid,
  .services-grid,
  .news-grid,
  .divisi-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* News Detail Page Styles */
.news-detail-container {
  max-width: 800px;
  margin: 0 auto;
}

.news-detail-header {
  margin-bottom: 30px;
}

.news-detail-title {
  font-size: 2.5rem;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 15px;
}

.news-detail-meta {
  color: var(--text-muted);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

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

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

.news-detail-image-wrapper {
  margin-bottom: 35px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.news-detail-image {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.news-detail-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.news-detail-content p {
  margin-bottom: 20px;
}

.news-detail-content h3 {
  margin-top: 35px;
  margin-bottom: 15px;
  color: var(--primary);
}

.news-detail-video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-top: 30px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
}

.news-detail-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.news-detail-footer {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Related News / Berita Lainnya */
.related-news {
  background-color: var(--light-gray);
  border-top: 1px solid var(--border-color);
}

.related-news-title {
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 35px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.related-news-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--secondary);
}

/* News Slider Styles */
.news-slider-wrapper {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
  width: 100%;
}

.news-slider-container {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  gap: 30px;
  width: 100%;
}

.news-slider-container .card {
  flex: 0 0 calc((100% - 60px) / 3);
  width: calc((100% - 60px) / 3);
  box-sizing: border-box;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--white);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 10;
  transition: var(--transition);
  opacity: 0.9;
}

.slider-btn:hover {
  background: var(--secondary);
  transform: translateY(-50%) scale(1.05);
}

.slider-btn.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

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

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

@media (max-width: 992px) {
  .news-slider-container .card {
    flex: 0 0 calc((100% - 30px) / 2);
    width: calc((100% - 30px) / 2);
  }
}

@media (max-width: 768px) {
  .news-slider-container {
    gap: 15px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
  }
  
  .news-slider-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari */
  }

  .news-slider-container .card {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: start;
  }
  
  .slider-btn {
    display: none; /* Hide buttons on mobile to rely on swipe */
  }
}