/* ===================== */
/* RENUNGAN CARD STYLING */
/* ===================== */

.container-renungan {
  margin-top: 30px;
  padding: 0 15px;
  max-width: 100%;
}

.card-header-Renungan {
  background-color: #d3d3d3;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  padding: 15px;
  border-radius: 8px;
}

.card-renungan {
  border-radius: 12px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  overflow: hidden;
  background-color: #ffffff;
  margin-bottom: 30px;
}

.card-body-renungan {
  text-align: center;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-tema-Renungan {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  padding: 15px;
}

.text-muted {
  color: #6c757d;
  font-size: 14px;
}

.card-text {
  margin: 15px 0;
  text-align: center;
}

/* ===================== */
/* BUTTON STYLING */
/* ===================== */

.btn-primary {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  background-color: #007bff;
  color: white;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #0056b3;
}

.btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 15px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  background-color: #dc3545;
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  margin: 20px auto 0;
}

.btn-secondary:hover {
  background-color: #c82333; 
  transform: scale(1.05);
}

/* ===================== */
/* DETAIL SECTION */
/* ===================== */

#detailSection {
  display: none;
  padding: 20px;
  background-color: #ffffff;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
}

#detailSection h2 {
  text-align: center;
  padding: 15px;
  font-weight: bold;
  border-radius: 8px;
  margin-bottom: 10px;
}

#detailSection p,
#detailSection span {
  text-align: justify;
  justify-content: center;
}

#detailSection p {
  margin: 10px 0;
  padding: 5px;
  line-height: 1.6;
}

/* ===================== */
/* RESPONSIVE VIDEO WRAPPER */
/* ===================== */

.video-wrapper {
  position: relative;
  width: 50%;
  padding-bottom: 28.125%; /* 50% x 9/16 */
  height: 0;
  margin: 20px auto;
  border-radius: 12px;
  overflow: hidden;
  background-color: #000;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===================== */
/* RESPONSIVE MEDIA QUERY */
/* ===================== */

@media (max-width: 768px) {
  .video-wrapper {
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 ratio (besar dan penuh lebar) */
  }

  .btn-primary,
  .btn-secondary {
    font-size: 14px;
  }

  .card-text {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .video-wrapper {
    width: 100%;
    padding-bottom: 65%; /* Lebih tinggi dari 16:9 untuk HP agar makin besar */
  }
}

