/* PPID PENGUMUMAN PAGE SPECIFIC STYLES */
.ppid-page-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 120px 20px 80px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  margin-top: 60px;
}

.ppid-page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/background-pattern.png') repeat;
  opacity: 0.05;
}

.ppid-page-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ppid-page-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  position: relative;
  z-index: 2;
  font-weight: 300;
}

.ppid-page-content {
  padding: 60px 0;
  background-color: #f5f8fb;
  min-height: 60vh;
}

.breadcrumb {
  margin-bottom: 30px;
  font-size: 14px;
  color: var(--text-color);
}

.breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  color: var(--secondary-color);
  font-weight: bold;
}

.blue-container {
  background-color: var(--primary-color);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.blue-container::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  pointer-events: none;
}

.announcement-content {
  color: white;
  position: relative;
  z-index: 2;
}

.announcement-content h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: var(--accent-color);
  text-align: center;
}

.announcement-content > p {
  font-size: 16px;
  margin-bottom: 30px;
  text-align: center;
  opacity: 0.9;
}

.announcement-list {
  margin-top: 30px;
}

.announcement-card {
  background-color: white;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.announcement-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.close-lightbox {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}

.close-lightbox:hover {
    color: var(--accent-color);
}

.announcement-card.expanded {
  transform: scale(1.02);
  z-index: 100;
}

.announcement-card.expanded .announcement-image {
  width: 180px;
  height: 180px;
}

.announcement-card.expanded .announcement-image img {
  width: 120px;
  height: 120px;
}

.announcement-image {
    width: 150px;
    height: 150px;
    background-color: #e8f3ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    flex-shrink: 0;
    padding: 15px;
    border: 2px solid rgba(0, 43, 91, 0.1);
    overflow: hidden;
}

.announcement-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.announcement-card:hover .announcement-image img {
    transform: scale(1.1);
}

.announcement-details {
  flex: 1;
}

.announcement-details h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--primary-color);
  line-height: 1.3;
}

.announcement-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 12px;
}

.announcement-meta span {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #666;
  background-color: #f5f8fb;
  padding: 5px 10px;
  border-radius: 5px;
}

.announcement-meta i {
  margin-right: 8px;
  color: var(--primary-color);
  font-size: 14px;
}

.announcement-details p {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
  margin: 0;
}

.announcement-text {
  line-height: 1.6;
  color: #444;
}

.announcement-text p {
  margin-bottom: 10px;
}

.announcement-text ul, .announcement-text ol {
  margin-left: 20px;
  margin-bottom: 10px;
}

.announcement-text li {
  margin-bottom: 5px;
}

.no-announcements {
  text-align: center;
  padding: 40px;
  color: #666;
}

.no-announcements i {
  font-size: 48px;
  margin-bottom: 15px;
  display: block;
  color: #ccc;
}

.no-announcements p {
  font-size: 18px;
}

/* RESPONSIVE STYLES - DIPERBARUI */
@media (max-width: 992px) {
  .announcement-image {
    width: 130px;
    height: 130px;
    margin-right: 20px;
  }
  
  .announcement-image img {
    width: 85px;
    height: 85px;
  }
  
  .announcement-details h3 {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .ppid-page-hero {
    padding: 100px 20px 60px;
  }
  
  .ppid-page-hero h1 {
    font-size: 2rem;
  }
  
  .ppid-page-hero p {
    font-size: 1rem;
  }
  
  .blue-container {
    padding: 30px 20px;
  }
  
  .announcement-content h2 {
    font-size: 24px;
  }
  
  .announcement-card {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .announcement-card.expanded .announcement-image {
    width: 140px;
    height: 140px;
    margin-bottom: 25px;
  }
  
  .announcement-card.expanded .announcement-image img {
    width: 100px;
    height: 100px;
  }
  
  .announcement-image {
        width: 120px;
        height: 120px;
        margin-right: 0;
        margin-bottom: 20px;
    }
  
  .announcement-image img {
    width: 80px;
    height: 80px;
  }
  
  .announcement-meta {
    justify-content: center;
    gap: 10px;
  }
  
  .announcement-meta span {
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .ppid-page-hero h1 {
    font-size: 1.8rem;
  }
  
  .blue-container {
    padding: 25px 15px;
    border-radius: 12px;
  }
  
  .announcement-content h2 {
    font-size: 22px;
  }
  
  .announcement-image {
        width: 100px;
        height: 100px;
    }
  
  .announcement-image img {
    width: 70px;
    height: 70px;
  }
  
  .announcement-details h3 {
    font-size: 17px;
  }
  
  .announcement-meta {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }
  
  .announcement-details p {
    font-size: 14px;
  }
}