/* global styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: #f4f4f4;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}


/* hero section */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 80px 60px;
  background: linear-gradient(to bottom, #fff 0%, #fafafa 100%);
  min-height: 500px;
  gap: 40px;
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-text {
  flex: 1;
  max-width: 45%;
  animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-text h1 {
  font-size: clamp(28px, 4vw, 33px);
  line-height: 1.3;
  margin-bottom: 20px;
  color: #2c3e50;
  font-weight: 700;
}

.hero-text h1 span {
  color: #c9a34a;
  display: block;
  margin-top: 10px;
}

.hero-text p {
  font-size: clamp(14px, 2vw, 18px);
  color: #666;
  line-height: 1.8;
  margin-top: 15px;
}

.hero-slider {
  flex: 1;
  max-width: 50%;
  animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-slider img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  transition: opacity 1s ease, transform 0.3s ease;
}

.hero-slider img:hover {
  transform: scale(1.02);
}


/* section dan berita */
.section {
  padding: 60px clamp(20px, 5vw, 60px);
  background: #fff;
  margin-top: 20px;
}

.section h2 {
  font-size: clamp(24px, 3vw, 32px);
  color: #2c3e50;
  margin-bottom: 10px;
  font-weight: 700;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
}

.section-header a {
  color: #c9a34a;
  font-weight: 600;
  font-size: clamp(14px, 2vw, 16px);
  transition: all 0.3s ease;
}

.section-header a:hover {
  color: #b8923d;
  transform: translateX(5px);
}

.berita-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 30px;
}

@media (max-width: 992px) {
  .berita-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .berita-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #f0f0f0;
  height: 100%;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  border-color: #c9a34a;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover img {
  transform: scale(1.1);
}

.card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  min-height: 180px;
}

.card-content h4 {
  margin: 0 0 10px;
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.5;
  color: #2c3e50;
  font-weight: 600;
}

.card-content p {
  font-size: 13px;
  color: #666;
  margin: 8px 0;
  line-height: 1.6;
}

.card-content a {
  font-size: 14px;
  color: #c9a34a;
  font-weight: 600;
  align-self: flex-start;
  margin-top: 10px;
}

.card-content a:hover {
  color: #b8923d;
}


/* ======================
   BERITA TERPOPULER
===berita terpopulerradient(135deg, #f6e7c1 0%, #fdf3d8 100%);
  padding: 60px clamp(20px, 5vw, 60px);
  margin-top: 20px;
}

.popular h2 {
  font-size: clamp(24px, 3vw, 32px);
  color: #2c3e50;
  margin-bottom: 30px;
  font-weight: 700;
  text-align: center;
}

.popular-list {
  max-width: 900px;
  margin: 0 auto;
}

.popular-list p {
  margin-bottom: 20px;
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.8;
  padding: 15px 20px;
  background: rgba(255,255,255,0.6);
  border-radius: 10px;
  border-left: 4px solid #c9a34a;
  transition: all 0.3s ease;
}

.popular-list p:hover {
  background: rgba(255,255,255,0.9);
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.popular-list a {
  margin-left: 10px;
  font-size: 14px;
  color: #c9a34a;
  font-weight: 600;
  transition: color 0.3s ease;
}

.popular-list a:hover {
  color: #b8923d;
}

/* Popular Featured Card */
.popular-featured {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid #c9a34a;
}

.popular-featured:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 50px rgba(0,0,0,0.2);
}

.popular-image {
  width: 100%;
  height: 400px;
  overflow: hidden;
  position: relative;
}

.popular-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.popular-featured:hover .popular-image img {
  transform: scale(1.05);
}

.popular-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(201, 163, 74, 0.95);
  color: #fff;
  padding: 8px 20px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.popular-content {
  padding: 30px;
}

.popular-content h3 {
  font-size: clamp(22px, 3vw, 28px);
  color: #2c3e50;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.popular-content p {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
}

.popular-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #999;
}

.popular-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.popular-meta i {
  font-size: 16px;
}

.btn-read {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #c9a34a;
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(201, 163, 74, 0.3);
}

.btn-read:hover {
  background: #b8923d;
  color: #fff;
  transform: translateX(5px);
  box-shadow: 0 6px 20px rgba(201, 163, 74, 0.4);
}

.btn-read i {
  transition: transform 0.3s ease;
}

.btn-read:hover i {
  transform: translateX(5px);
}


/* partners section */
.partners-section {
  background: url('/public/assets/bck.jpeg') center center no-repeat;
  background-size: cover;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
}

.partners-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.7);
  z-index: 1;
}

.partners-decoration-top,
.partners-decoration-bottom {
  position: relative;
  z-index: 2;
  height: 4px;
  background: linear-gradient(90deg, transparent, #c9a34a 20%, #d4af37 50%, #c9a34a 80%, transparent);
  box-shadow: 0 2px 8px rgba(201, 163, 74, 0.3);
}

.partners-decoration-top {
  margin-bottom: 40px;
}

.partners-decoration-bottom {
  margin-top: 40px;
}

.partners-content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(20px, 5vw, 60px);
}

.partners-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}

.partners-title h2 {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: #2c3e50;
  letter-spacing: 2px;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.title-ornament {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #c9a34a, transparent);
  position: relative;
}

.title-ornament::before,
.title-ornament::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: #c9a34a;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.title-ornament::before {
  left: 0;
}

.title-ornament::after {
  right: 0;
}

.partners-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 0;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.9;
  position: relative;
  padding: 20px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(201, 163, 74, 0.2);
  width: 240px;
  height: 140px;
}

.partner-logo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, transparent, rgba(201, 163, 74, 0.3), transparent);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.partner-logo:ho{
    padding: 15px;
  }
  
  .partner-logo img {
    height: 60px;
  }
  
  .partners-title h2 {
    font-size: 18px;
  }
  
  .title-ornament {
    width: 40px;
  }
  
  .partners-decoration-top,
  .partners-decoration-bottom {
    height: 3ranslateY(-8px) scale(1.05);
  opacity: 1;
  border-color: rgba(201, 163, 74, 0.5);
  box-shadow: 0 12px 30px rgba(201, 163, 74, 0.3);
}

.partner-logo:hover::before {
  opacity: 1;
}

.partner-logo img {
  max-height: 80px;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(0%) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
  transition: filter 0.3s ease;
}

.partner-logo:hover img {
  filter: grayscale(0%) brightness(1.1) drop-shadow(0 8px 20px rgba(0, 0, 0, 0.25));
}

@media (max-width: 768px) {
  .partners-container {
    gap: 40px;
  }
  
  .partner-logo {
    padding: 15px;
    width: 200px;
    height: 120px;
  }
  
  .partner-logo img {
    max-height: 60px;
    max-width: 150px;
  }
  
  .partners-title h2 {
    font-size: 18px;
  }
  
  .title-ornament {
    width: 40px;
  }
  
  .partners-decoration-top,
  .partners-decoration-bottom {
    height: 3px;
  }
}

/* live record section */
.live {
  text-align: center;
}

.live iframe {
  width: 100%;
  height: clamp(300px, 50vw, 500px);
  max-width: 1000px;
  border-radius: 20px;
  margin: 30px auto;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  border: none;
  transition: transform 0.3s ease;
}

.live iframe:hover {
  transform: scale(1.02);
}

.stats {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 4vw, 40px);
  margin-top: 30px;
  flex-wrap: wrap;
}

.social-icon {
  font-size: clamp(32px, 5vw, 40px);
  color: #333;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.social-icon.youtube:hover { 
  color: #ff0000;
  background: #ffe5e5;
}

.social-icon.instagram:hover { 
  color: #c13584;
  background: #ffe5f5;
}

.social-icon.facebook:hover { 
  color: #1877f2;
  background: #e5f1ff;
}


/* ======================
   BERITA VIDEO (IG REELS)
====================== */
.subtitle {
  color: #666;
  font-size: clamp(13px, 2vw, 15px);
  margin-top: 8px;
  text-align: center;
}

.video-scroll {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  margin-top: 30px;
  padding: 10px 0 20px 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.video-scroll::-webkit-scrollbar {
  height: 8px;
}

.video-scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.video-scroll::-webkit-scrollbar-thumb {
  background: #c9a34a;
  border-radius: 10px;
  transition: background 0.3s ease;
}

.video-scroll::-webkit-scrollbar-thumb:hover {
  background: #b8923d;
}

.video-card {
  min-width: clamp(240px, 30vw, 280px);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(to bottom, #000, #1a1a1a);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.video-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.video-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-card:hover img {
  transform: scale(1.1);
}

.video-caption {
  padding: 15px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,0,0,0.8);
}

.video-caption i {
  color: #c13584;
  font-size: 18px;
}


/* ======================
   FOOTER
====================== */
.footer {
  background: #fdf7e8;
  border-top: 3px solid #c9a34a;
  margin-top: 60px;
}

.footer {
  width: 100%;
}


.footer-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  padding: 50px 60px;
  align-items: center;
}

.footer-logo {
  height: 70px;
  margin-bottom: 10px;
}

.footer-info h3 {
  margin: 10px 0;
  color: #222;
}

.footer-info p {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}

.footer-social {
  margin-top: 15px;
  display: flex;
  gap: 15px;
}

.footer-social a {
  font-size: 26px;
  color: #333;
  transition: 0.3s;
}

.footer-social a.youtube:hover { color: #ff0000; }
.footer-social a.instagram:hover { color: #c13584; }
.footer-social a.facebook:hover { color: #1877f2; }

.footer-map iframe {
  width: 100%;
  height: 280px;
  border: none;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.footer-bottom {
  text-align: center;
  padding: 15px;
  background: #fff;
  font-size: 13px;
  color: #666;
}



:root {
  --emas-dull: #b89b4a; /* emas lembut & elegan */
}


.visi-misi {
  max-width: 820px;
  margin: 70px auto;
  padding: 40px 20px 40px;
  background: #ffffff;
}

/*LOGO*/
.vm-image {
  display: flex;
  justify-content: center;
  margin-top: 30px;     /* RUANG PUTIH ATAS */
  margin-bottom: 50px;
}

/* BOX LOGO DENGAN GARIS EMAS */
.logo-box {
  padding: 25px;
  border: 2px solid var(--emas-dull);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}


/* LOGO ASLI */
.logo-box img {
  width: 180px;
  height: auto;
  display: block;
}

/*SECTION*/
.vm-section {
  margin-bottom: 55px;
  text-align: center;
}

.vm-section h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #111;
}

/*GARIS EMAS*/
.divider {
  width: 90px;
  height: 2px;
  background: var(--emas-dull);
  margin: 18px auto 28px;
}

/* VISI TEXT*/
.vm-text {
  font-size: 16px;
  line-height: 1.9;
  color: #333;
  max-width: 720px;
  margin: auto;
}

/* MISI LIST */
.vm-list {
  max-width: 720px;
  margin: auto;
  text-align: left;
  line-height: 1.9;
  color: #333;
  padding-left: 20px;
}

.vm-list li {
  margin-bottom: 14px;
}


/* sejarah */
:root {
  --emas-dull: #b89b4a;
}

/* FULL WIDTH WRAPPER */
.sejarah-wrapper {
  width: 100%;
  background: #fff;
  padding: 40px 0 80px;
}

/* CONTAINER DALAM */
.sejarah-container {
  max-width: 1200px;      /* LEBAR BESAR */
  margin: auto;
  padding: 0 40px;
}

/* LOGO */
.vm-image {
  display: flex;
  justify-content: center;
  margin: 30px 0 50px;
}

.logo-box {
  padding: 26px;
  border: 2px solid var(--emas-dull);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.logo-box img {
  width: 180px;
}

/* JUDUL */
.vm-section {
  text-align: center;
  margin-bottom: 50px;
}

.vm-section h2 {
  font-size: 24px;
  letter-spacing: 1px;
}

.divider {
  width: 90px;
  height: 2px;
  background: var(--emas-dull);
  margin: 18px auto;
}

/* GALERI FULL */
.sejarah-galeri {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* LEBIH LEBAR */
  gap: 20px;
  margin-bottom: 50px;
}

.sejarah-galeri img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

/* TEKS */
.sejarah-konten {
  max-width: 900px;   /* Biar teks tetap nyaman */
  margin: auto;
}

.sejarah-konten p {
  font-size: 16px;
  line-height: 1.9;
  color: #333;
  margin-bottom: 18px;
  text-align: justify;
}

/* ===================================
   RESPONSIVE DESIGN - MOBILE FIRST
=================================== */

/* Tablet Landscape & Small Desktop (max 1200px) */
@media (max-width: 1200px) {
  .hero {
    padding: 60px 40px;
  }
  
  .section {
    padding: 50px 30px;
  }
}

/* Tablet Portrait (max 992px) */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 50px 30px;
  }
  
  .hero-text,
  .hero-slider {
    max-width: 100%;
    width: 100%;
  }
  
  .hero-text {
    margin-bottom: 30px;
  }
  
  .berita-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .sejarah-galeri {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pimpinan-wakil {
    flex-direction: column;
    align-items: center;
  }
}

/* Mobile Landscape & Tablet Portrait (max 768px) */
@media (max-width: 768px) {
  .hero {
    padding: 40px 20px;
    min-height: auto;
  }
  
  .section {
    padding: 40px 20px;
    margin-top: 15px;
  }
  
  .popular {
    padding: 40px 20px;
  }
  
  .card {
    flex-direction: column;
  }
  
  .card img {
    width: 100%;
    height: 200px;
    min-width: 100%;
  }
  
  .card-content {
    padding: 15px;
  }
  
  .live iframe {
    height: 250px;
    border-radius: 15px;
  }
  
  .stats {
    gap: 20px;
  }
  
  .social-icon {
    width: 50px;
    height: 50px;
  }
  
  .video-card {
    min-width: 220px;
  }
  
  .video-card img {
    height: 180px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    padding: 40px 20px;
    gap: 30px;
  }
  
  .footer-map iframe {
    height: 250px;
  }
}

/* Mobile Portrait (max 576px) */
@media (max-width: 576px) {
  .hero {
    padding: 30px 15px;
  }
  
  .hero-text h1 {
    font-size: 24px;
  }
  
  .hero-text p {
    font-size: 14px;
  }
  
  .section {
    padding: 30px 15px;
  }
  
  .section h2 {
    font-size: 22px;
  }
  
  .popular {
    padding: 30px 15px;
  }
  
  .popular h2 {
    font-size: 22px;
  }
  
  .berita-grid {
    gap: 15px;
  }
  
  .card {
    border-radius: 12px;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .video-scroll {
    gap: 15px;
  }
  
  .video-card {
    min-width: 200px;
  }
  
  .video-card img {
    height: 160px;
  }
  
  .social-icon {
    width: 45px;
    height: 45px;
    font-size: 24px;
  }
  
  .sejarah-galeri {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .sejarah-container {
    padding: 0 15px;
  }
  
  .pimpinan-card,
  .pimpinan-card.besar {
    width: 100%;
    max-width: 100%;
  }
}

/* Small Mobile (max 375px) */
@media (max-width: 375px) {
  .hero-text h1 {
    font-size: 22px;
  }
  
  .section h2 {
    font-size: 20px;
  }
  
  .card-content h4 {
    font-size: 14px;
  }
  
  .video-card {
    min-width: 180px;
  }
}




/* PIMPINAN */
:root {
  --emas-dull: #b89b4a;
}

/* WRAPPER */
.pimpinan-wrapper {
  width: 100%;
  background: #ffffff;
  padding: 40px 0 80px;
}

.pimpinan-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 40px;
}

/* SECTION */
.pimpinan-utama {
  display: flex;
  justify-content: center;
  margin-bottom: 70px;
}

.pimpinan-wakil {
  display: flex;
  justify-content: center;
  gap: 40px;
}

/* CARD */
.pimpinan-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 28px;
  text-align: center;
  width: 320px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

.pimpinan-card.besar {
  width: 360px;
}

/* ===== FOTO (INI KUNCI) ===== */
.foto-pimpinan {
  padding: 12px;
  border: 2px solid var(--emas-dull);   /* BINGKAI EMAS */
  border-radius: 18px;
  background: #ffffff;
  margin-bottom: 18px;
}

.foto-pimpinan img {
  width: 100%;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  display: block;
  border-radius: 12px;
  background: #ffffff;
}

/* NAMA & JABATAN */
.pimpinan-card h3 {
  margin: 10px 0 4px;
  font-size: 18px;
  font-weight: 600;
}

.pimpinan-card span {
  display: block;
  color: var(--emas-dull);
  font-weight: 600;
  margin-bottom: 16px;
}

/* DATA DIRI */
.pimpinan-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  text-align: left;
}

.pimpinan-card ul li {
  margin-bottom: 8px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .pimpinan-wakil {
    flex-direction: column;
    align-items: center;
  }

  .pimpinan-card,
  .pimpinan-card.besar {
    width: 100%;
    max-width: 360px;
  }
}
/* error state dan skeleton loader untuk homepage */
#beritaTerbaru .error-state,
#beritaTerbaru .empty-state,
#beritaVideo .error-state,
#beritaVideo .empty-state {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

#beritaTerbaru .skeleton-card,
#beritaVideo .skeleton-card {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s ease-in-out infinite;
}

/* pastikan grid tetap rapi saat skeleton loader */
.cards-grid:has(.skeleton-card) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.video-scroll:has(.skeleton-card) {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}