/* ============================= */
/*         SEJARAH SECTION       */
/* ============================= */

.sejarah-section {
  background-color: #fefefe;
}

.sejarah-section img {
  border-radius: 1rem;
  object-fit: cover;
  max-height: 480px;
  width: 100%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
}

.sejarah-section .badge {
  font-size: 0.75rem;
  padding: 0.4rem 0.7rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Judul dan isi konten */
.sejarah-section h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0b132b;
}

.sejarah-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
}

/* ============================= */
/*      SIDEBAR HALAMAN LAINNYA */
/* ============================= */

.halaman-list {
  margin-top: 1rem;
}

.halaman-list li {
  background: #ffffff;
  border-left: 4px solid #27ae60;
  border-radius: 0.6rem;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: all 0.2s ease-in-out;
}

.halaman-list li:hover {
  background-color: #f8f9fa;
  transform: translateX(4px);
}

.halaman-link {
  color: #212529;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.halaman-link:hover {
  color: #138f75;
}

.halaman-link i {
  color: #1abc9c;
  font-size: 1.2rem;
}


/* Breadcrumb container styling */
.breadcrumb-container {
  background: #f8f9fa;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

/* Breadcrumb list styling */
.custom-breadcrumb {
  margin: 0;
  padding: 0;
  background: transparent;
  font-size: 0.95rem;
}

/* Link item style */
.custom-breadcrumb .breadcrumb-item a {
  color: #1abc9c;
  text-decoration: none;
  transition: color 0.2s ease;
}

.custom-breadcrumb .breadcrumb-item a:hover {
  color: #138f75;
  text-decoration: underline;
}

/* Active item style */
.custom-breadcrumb .breadcrumb-item.active {
  color: #333;
  font-weight: 600;
}

/* public/css/profil.css */
/* profil.css */

/* Batasi lebar konten kiri */
.content-inner {
  max-width: 720px;    /* sesuaikan nilai maksimal yang diinginkan */
  padding-right: 1rem; /* jarak ke sidebar */
  padding-left: 1rem;  /* jarak ke pinggir container */
}

/* Batasi lebar sidebar agar tidak terlalu sempit atau lebar */
.sidebar-inner {
  max-width: 360px;     /* setengahnya dari content-inner */
  margin: 0 auto;       /* center di mobile */
}

/* Pastikan media di dalam deskripsi responsif */
.profil-desc img,
.profil-desc iframe,
.profil-desc table {
  max-width: 90%; /* responsif mengikuti lebar container */
  height: auto;
  display: block;
  margin: 0 auto; /* posisi gambar di tengah */
  object-fit: contain; /* memastikan gambar tetap proporsional */
}

.profil-desc img {
  max-height: 600px; /* atur tinggi maksimal sesuai kebutuhan */
}

/* Teks panjang ter-wrap */
.profil-desc {
  word-wrap: break-word;
}

/* Breadcrumb horizontal scroll jika terlalu panjang */
.breadcrumb-container {
  overflow-x: auto;
}
.custom-breadcrumb {
  white-space: nowrap;
}

/* Responsive tweaks */
@media (max-width: 992px) {
  .content-inner,
  .sidebar-inner {
    max-width: 100%;
    padding: 0 1rem;
  }

  .profil-desc img {
    max-height: 200px; /* lebih kecil lagi di tampilan mobile jika dibutuhkan */
  }
}

.profil-desc figure,
.profil-desc figure img {

  height: auto !important;
  max-width: 100% !important;
  max-height: 600px !important; /* Sesuaikan tinggi maksimal */
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
}