/* BACKGROUND */
body{
  background-color:  #f4f6f5;
}

/* ========== SLIDESHOW STYLES ========== */
:root {
  --nav-size: clamp(32px, 5vw, 55px);
  --nav-offset: clamp(10px, 3vw, 35px);
  --content-padding-x: clamp(15px, 5vw, 50px);
  --content-padding-top: clamp(50px, 8vw, 90px);
  --safe-space: calc(var(--nav-size) + 10px);
}

.slideshow-section {
  margin-top: 30px;
  margin-bottom: 40px;
  width: 100%;
}

.slideshow-container {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  background-color: #000;
}

@media (max-width: 1024px) {
  .slideshow-container { height: 380px; }
}

@media (max-width: 768px) {
  .slideshow-container { height: 320px; }
}

@media (max-width: 480px) {
  .slideshow-container { height: 380px; }
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== CONTENT ========== */
.slide-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8) 40%, rgba(0, 0, 0, 0.95));
  color: white;
  padding-left: calc(var(--content-padding-x) + var(--safe-space));
  padding-right: calc(var(--content-padding-x) + var(--safe-space));
  padding-bottom: clamp(20px, 4vw, 40px);
  padding-top: var(--content-padding-top);
  z-index: 2;
}

.slide-title {
  font-size: clamp(1.2rem, 4vw, 2.4rem);
  font-weight: bold;
  margin-bottom: 10px;
  max-width: 90%;
  text-decoration: none;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  display: block;
}

.slide-description {
  font-size: clamp(0.85rem, 2.5vw, 1.1rem);
  line-height: 1.5;
  margin-bottom: 15px;
  max-width: 85%;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  opacity: 0.95;
}

/* ========== NAVIGATION ========== */
.slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: var(--nav-size);
  height: var(--nav-size);
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.slide-nav:hover {
  background: rgba(255, 255, 255, 0.4);
}

.slide-prev { left: var(--nav-offset); }
.slide-next { right: var(--nav-offset); }

/* ========== MOBILE OPTIMIZATION (Fix Khusus Layar Kecil) ========== */
@media (max-width: 480px) {
  .slide-content {
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 25px;
    text-align: left;
  }

  .slide-title {
    max-width: 100%;
    font-size: 1.3rem;
  }

  .slide-description {
    max-width: 100%;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .slide-nav {
    top: 40%;
    width: 35px;
    height: 35px;
    background: rgba(0, 0, 0, 0.3); 
  }

  .slide-prev { left: 10px; }
  .slide-next { right: 10px; }
}

/* ========== OPTIMAL WIDTH LAYOUT STYLES ========== */
.content-container {
  max-width: 1600px;
  margin: 0 auto;
  margin-top: 50px;
  padding: 30px 60px;
  min-height: auto;
  box-sizing: border-box;
}

/* ========== NEWS SECTION STYLES ========== */
.news-section {
  margin-bottom: 40px;
  margin-top: 40px;
  width: 100%;
}

.news-header {
  font-size: 2rem; /* Perbesar */
  font-weight: bold;
  margin-bottom: 30px;
  margin-top: 30px;
  color: #42544e;
  border-bottom: 3px solid #e9ecef; /* Pertebal */
  padding-bottom: 15px;
  width: 100%;
}

.news-item {
  margin-bottom: 30px;
  margin-top: 30px;
  padding-bottom: 25px;
  border-bottom: 2px solid #e9ecef; /* Pertebal */
  width: 100%;
}

.news-title {
  font-size: 1.4rem; /* Perbesar */
  font-weight: bold;
  margin-bottom: 8px;
  color: #42544e;
  text-decoration: none;
  display: block;
  width: 100%;
}

.news-title:hover {
  text-decoration: underline;
  cursor: pointer;
  color: #42544e;
}

.news-meta {
  font-size: 1rem; /* Perbesar */
  color: #70757a;
  margin-bottom: 10px;
}

.news-description {
  font-size: 1.05rem; /* Perbesar */
  color: #4d5156;
  margin-bottom: 12px;
  line-height: 1.5;
}

.news-actions {
  display: flex;
  gap: 18px; /* Perbesar gap */
}

.news-action {
  font-size: 0.9rem; /* Perbesar */
  color: #70757a;
  cursor: pointer;
}

.news-action:hover {
  color: #1a0dab;
}

.news-content {
  display: flex;
  gap: 30px; /* Perbesar gap */
  align-items: flex-start;
  width: 100%;
}

.news-image {
  flex-shrink: 0;
  width: 160px; /* Lebarkan gambar */
  height: 100px; /* Tinggikan gambar */
  border-radius: 8px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-image:hover img {
  transform: scale(1.05);
}

.news-text {
  flex: 1;
  min-width: 0;
}

/* ========== RESPONSIVE BERITA & KONTEN ========== */
@media (max-width: 1600px) {
  .news-container {
    max-width: 95%;
    padding: 25px 50px;
  }
}

@media (max-width: 1200px) {
  .news-container {
    max-width: 100%;
    padding: 20px 40px;
  }
}

@media (max-width: 1024px) {
  .news-container {
    padding: 20px 30px;
  }
}

@media (max-width: 768px) {
  .news-container {
    padding: 15px 20px;
  }

  .news-header {
    font-size: 1.7rem;
  }

  .news-title {
    font-size: 1.3rem;
  }

  .news-content {
    flex-direction: column;
    gap: 20px;
  }

  .news-image {
    width: 100%;
    height: 180px;
  }

  .news-actions {
    flex-direction: column;
    gap: 10px;
  }

  .praxis-links {
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .news-container {
    padding: 12px 15px;
  }

  .news-header {
    font-size: 1.5rem;
  }

  .news-title {
    font-size: 1.2rem;
  }

  .news-image {
    height: 160px;
  }

  .praxis-section {
    padding: 20px;
  }
}

/* ========== UTILITY STYLES ========== */
.news-container * {
  max-width: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== PINTAS DATA SECTION ===== */
.pintas-data-wrapper {
  font-family: 'Poppins', sans-serif;
  width: 100%;
  margin-top: 0; 
  position: relative;
  z-index: 10;
}

.title-container {
  background-color: none;
  padding: 15px 40px; /* Jarak untuk judul */
}

.section-title {
  color: #e62b4a; /* Warna hijau gelap keabu-abuan */
  font-size: 28px;
  font-weight: 600;
  margin: 0;
}

.cards-section {
  background-color: #e8eceb; /* Warna latar abu-abu terang */
  padding: 40px;
}

.cards-container {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap; /* Supaya responsif turun ke bawah di layar kecil */
}

.data-card {
  background-color: #fbfcfc; /* Warna putih off-white seperti di gambar */
  border-radius: 20px;
  padding: 35px 20px;
  width: 320px; /* Lebar masing-masing card */
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02); /* Bayangan sangat halus */
}

.card-number {
  color: #e62b4a;
  font-size: 64px; /* Ukuran angka besar */
  font-weight: 700;
  margin: 0;
  line-height: 1.1;
}

.card-label {
  color: #e62b4a;
  font-size: 20px;
  font-weight: 500;
  margin: 5px 0 15px 0;
}

.card-desc {
  color: #202A44; /* Warna hijau mint agak pudar */
  font-size: 15px;
  font-weight: 400;
  margin: 0 0 25px 0;
  line-height: 1.5;
}

.card-link {
    /* Opsional: Memastikan tombol berada di tengah kontainer */
    text-align: center; 
    margin: 20px;
}

.card-link a {
    display: inline-block;
    background-color: #202A44;
    color: #ffffff;
    text-decoration: none;
    padding: 15px 130px; 
    border-radius: 50px; 
    border: 2px solid #202A44; 
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 0 0 2px rgba(128, 128, 128, 0.3); 
    transition: all 0.3s ease-in-out; 
}

.card-link a:hover {
    background-color: transparent;
    color: #202A44;
    border: 2px solid #202A44; 
    box-shadow: none; 
}

/* ===== RESPONSIVE UNTUK HP ===== */
@media (max-width: 768px) {
  .cards-container {
    flex-direction: column;
    align-items: center;
  }
  .data-card {
    width: 100%;
    max-width: 350px;
  }
  .title-container, .cards-section {
    padding: 20px;
  }
}

/* ===== INFO KONTEN SECTION (Kegiatan & Dasawisma) ===== */
.info-section {
  background-color: none; /* Warna abu-abu sangat terang (mirip gambar) */
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
}

.info-container {
  display: flex;
  gap: 30px;
  max-width: 1100px;
  width: 100%;
}

.kegiatan-column {
  flex: 1; /* Porsi kolom lebih kecil */
  max-width: 350px;
}

.dasawisma-column {
  flex: 2; /* Porsi kolom lebih besar */
}

.col-title {
  color: #e62b4a; /* Warna hijau keabu-abuan gelap */
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
}

.info-card {
  background-color: #fcfcfc;
  border: 1px solid #eaeaec; /* Border tipis di sekeliling kotak */
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* --- Kiri: Kegiatan Terbaru --- */
.activity-item {
  display: flex;
  gap: 15px;
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid #eaeaec; /* Garis pemisah antar berita */
}

.activity-item:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.activity-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

.activity-text h4 {
  color: #000;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 5px 0;
  line-height: 1.3;
}

.activity-text a{
  text-decoration: none;
}

.activity-text p {
  color: #000;
  font-size: 12px;
  margin: 0;
}

/* --- Kanan: Dasawisma --- */
.dasawisma-card-content {
  display: flex;
  gap: 25px;
  padding: 25px;
}

.dasawisma-text {
  flex: 1.2;
  color: #202A44;
  font-size: 14px;
  line-height: 1.6;
  text-align: justify;
}

.dasawisma-text p {
  margin: 0;
}

.dasawisma-media {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slideshow-placeholder {
  width: 100%;
}

.slideshow-placeholder img {
  width: 100%;
  border-radius: 6px;
  display: block;
}

.media-caption {
  color: #ef5b43;
  font-size: 13px;
  margin-top: 12px;
  text-align: center;
}

.btn-dasawisma {
  color: #202A44; 
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}

.btn-dasawisma:hover { 
  text-decoration: underline;
}

/* --- Responsive untuk HP --- */
@media (max-width: 850px) { 
  .info-container {
    flex-direction: column; /* Ubah kolom jadi bertumpuk ke bawah */
  }
  .kegiatan-column {
    max-width: 100%;
  }
  .dasawisma-card-content {
    flex-direction: column; /* Teks dan gambar di kanan juga bertumpuk ke bawah */
  }
}

/* SLIDESHOW DASAWISMA */
.unique-mini-slider-container {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  background-color: #000;
  
}

/* Navigasi Tombol */
.unique-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px !important;
  height: 30px !important;
  font-size: 18px;
  background: rgba(255, 255, 255, 0.1);
  opacity: 10;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.unique-nav-btn :hover {
  background: rgba(255, 255, 255, 0.4);
}

.unique-prev-btn { left: 10px; }
.unique-next-btn { right: 10px; }

/* Pengaturan Gambar */
.unique-slide {
  display: none;
  width: 100%;
  height: 100%;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.unique-slide.active {
  display: block;
}

.unique-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 480px) {
  .unique-mini-slider-container {
    height: 200px;
  }
}

/* --- FOOTER UTAMA --- */
.site-footer {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
}

.footer-top {
    background-color: #202A44; /* Warna biru gelap sesuai gambar */
    padding: 60px 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1;
    min-width: 220px;
}

.footer-col h4 {
    color: #e62b4a; /* Warna merah pink sesuai gambar */
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: 600;
}

/* --- LIST & TEKS --- */
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.6;
    color: #e0e0e0;
}

.contact-list i {
    margin-top: 5px;
}

.schedule p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #e0e0e0;
}

.schedule span {
    color: #9ca3af; /* Warna abu-abu untuk hari */
}

.info-text {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #e0e0e0;
}

/* --- SOCIAL LINKS --- */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    align-items: center;
}

.social-links a {
    color: white;
    font-size: 16px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #ccc;
}

.social-links .share-icon {
    color: #e62b4a;
    font-size: 20px;
} 

/* --- PENGATURAN KOLOM LOGO --- */
.logo-col {
    display: flex;
    align-items: center; /* Membuat logo berada di tengah secara vertikal */
    justify-content: flex-end; /* Mendorong posisi logo merapat ke sebelah kanan */
}

.campus-logo {
    max-width: 100%;
    height: auto;
    max-height: 200px; /* Silakan ubah angka ini untuk memperbesar/memperkecil logo */
    object-fit: contain;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .footer-col {
        flex: 1 1 45%; 
    }
    .logo-col {
        justify-content: flex-start; /* Mengembalikan logo ke kiri di layar kecil */
        margin-top: 20px;
    }
}

@media (max-width: 900px) {
    .footer-col {
        flex: 1 1 45%; /* Menjadi 2 kolom pada tablet */
    }
}

@media (max-width: 600px) {
    .footer-col {
        flex: 1 1 100%; /* Menjadi 1 kolom pada layar HP */
    }
    
    .bottom-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}