/* =================================
  Kegiatan Humas
  ================================= */
.humas {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 8% 20px 8%;
}

/* Responsive humas untuk layar besar */
@media (min-width: 1400px) {
  .humas {
    max-width: 1400px;
  }
}

@media (min-width: 1600px) {
  .humas {
    max-width: 1600px;
  }
}

@media (min-width: 1920px) {
  .humas {
    max-width: 1800px;
  }
}

.humas h1 {
  font-size: clamp(1.8rem, 2.3vw, 2.5rem);
  color: #003366;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
}

.activity-container {
  margin-bottom: 10px;
}

.row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  background-color: #fff;
  border-radius: 20px;
}

.col {
  flex: 1;
  min-width: 300px;
}

.image-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-col img {
  width: 70%;
  max-width: 500px;
  height: auto;
  border-radius: 15px;
}

.content-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.activity-container h2 {
  font-size: clamp(1.3rem, 1.7vw, 1.9rem);
  color: #003366;
  font-weight: 700;
  text-align: left;
  margin-bottom: 15px;
}

.activity-container p {
  font-size: clamp(0.8rem, 1.1vw, 1.1rem);
  color: #555;
  line-height: 1.7;
  text-align: justify;
  margin: 10px 0;
}

.see-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  background: linear-gradient(90deg, #007bff, #0056b3);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.2);
}

.see-more-btn:hover {
  background: linear-gradient(90deg, #0073e6, #00aaff);
  color: #fff;
  border: none;
}

.arrow {
  transition: transform 0.3s ease;
}

.see-more-btn:hover .arrow {
  transform: translateX(5px);
}

/* Responsive Kegiatan */
/* Untuk iPad dan tablet - tetap horizontal layout */
@media (min-width: 768px) and (max-width: 1024px) {
  .humas {
    padding: 40px 5% 20px 5%;
  }

  .row {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 20px;
  }

  .col {
    flex: 1;
    min-width: 250px;
  }

  .image-col img {
    width: 80%;
    max-width: 350px;
  }

  .activity-container h2 {
    font-size: 1.4rem;
    text-align: left;
  }

  .activity-container p {
    font-size: 0.85rem;
    text-align: justify;
  }

  .see-more-btn {
    font-size: 0.85rem;
    padding: 10px 18px;
  }
}

/* Untuk mobile - layout vertical */
@media (max-width: 767px) {
  .row {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .activity-container h2 {
    text-align: center;
    font-size: 1.4rem;
  }

  .activity-container p {
    font-size: 0.9rem;
  }

  .see-more-btn {
    margin: 0 auto;
    font-size: 0.85rem;
    padding: 10px 18px;
  }

  .image-col img {
    max-width: 90%;
  }
}

@media (max-width: 576px) {
  .activity-container h2 {
    font-size: 1.3rem;
  }

  .activity-container p {
    font-size: 0.85rem;
  }

  .see-more-btn {
    font-size: 0.8rem;
    padding: 8px 16px;
  }
}

/* =================================
  Dokumentasi Humas
  ================================= */
.arsip-section {
  width: 100%;
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.7), rgba(255, 102, 0, 0.5)), url("https://picsum.photos/1920/1080?blur=3");
  padding: 10px 20px;
  background-size: cover;
  background-position: center;
}
.header-container {
  text-align: center;
  margin-bottom: 20px;
}
.main-title {
  font-size: 2rem;
  font-weight: bold;
  color: white;
  margin: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
}
.content-container {
  background: #dbeafe, 0.6;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.grid-container {
  display: grid;
  /* MODIFIKASI: Lebar minimum kolom dinaikkan menjadi 320px */
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  justify-items: center; /* biar isi rata tengah */
}
.arsip-card {
  background: white;
  border-radius: 20px;
  padding: 15px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  /* MODIFIKASI: Lebar maksimum kartu dinaikkan menjadi 400px */
  width: 100%;
  max-width: 600px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.arsip-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.year-title {
  background: #0a2a66;
  color: white;
  font-weight: bold;
  padding: 12px;
  border-radius: 12px 12px 0 0;
}
.album-body {
  padding: 10px;
  background: #f2f3f7;
  border-radius: 0 0 12px 12px;
  position: relative;
}
/* Gaya untuk widget Google Photos */
.pa-gallery-player-widget {
  width: 100%;
  height: 220px;
  display: block !important;
  max-width: 100%;
  overflow: hidden;
  border-radius: 10px;
}

/* Sembunyikan gaya slider lama */
.album-slider {
  display: none;
}
.album-slides {
  display: none;
}

.album-btn {
  background: #0a2a66;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  margin-top: 15px;
  font-weight: bold;
  cursor: pointer;
}
.button-container {
  padding: 10px;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
}
.view-button {
  background: #1e3a8a;
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.view-button:hover {
  background: #ff5e00;
  transform: scale(1.05);
}
.view-button:active {
  transform: scale(0.98);
}

/* =================================
  RESPONSIVE DESIGN UNTUK LAYAR BESAR
================================= */

/* Layar Desktop Besar (1400px - 1599px) */
@media (min-width: 1400px) {
  .humas {
    max-width: 1400px;
  }

  .humas h1 {
    font-size: clamp(2rem, 2.5vw, 2.5rem);
  }

  .activity-container h2 {
    font-size: clamp(1.5rem, 1.9vw, 1.9rem);
  }

  .activity-container p {
    font-size: clamp(0.8rem, 1.1vw, 1.1rem);
  }

  .see-more-btn {
    font-size: clamp(0.9rem, 1.1vw, 1.1rem);
    padding: clamp(10px, 0.8vw, 12px) clamp(20px, 1.8vw, 25px);
  }

  .image-col img {
    max-width: clamp(500px, 35vw, 600px);
  }

  .main-title {
    font-size: clamp(2rem, 2.5vw, 2.5rem);
  }

  .subtitle {
    font-size: clamp(1.1rem, 1.3vw, 1.3rem);
  }

  .content-container {
    max-width: 1400px;
    padding: clamp(30px, 2.5vw, 40px);
  }

  .arsip-card {
    max-width: clamp(600px, 42vw, 700px);
  }
}

/* Layar Desktop Sangat Besar (1600px - 1919px) */
@media (min-width: 1600px) {
  .humas {
    max-width: 1600px;
  }

  .humas h1 {
    font-size: clamp(2.5rem, 3vw, 3rem);
  }

  .activity-container h2 {
    font-size: clamp(1.9rem, 2.2vw, 2.2rem);
  }

  .image-col img {
    max-width: clamp(600px, 40vw, 700px);
  }

  .content-container {
    max-width: 1600px;
  }

  .arsip-card {
    max-width: clamp(700px, 45vw, 800px);
  }
}

/* Layar Ultra Wide (1920px+) */
@media (min-width: 1920px) {
  .humas {
    max-width: 1800px;
  }

  .humas h1 {
    font-size: clamp(3rem, 3.5vw, 3.5rem);
  }

  .activity-container h2 {
    font-size: clamp(2.2rem, 2.5vw, 2.5rem);
  }

  .image-col img {
    max-width: clamp(700px, 45vw, 800px);
  }

  .content-container {
    max-width: 1800px;
  }

  .arsip-card {
    max-width: clamp(800px, 50vw, 900px);
  }
}