/*
MAQASHIDUNA Style - Bright Elegant Red-Gold Theme
Color Palette:
  - Merah Marun: #8C1C13
  - Emas Lembut: #F1C27D
  - Krem Cerah: #FDF6EC
  - Putih: #FFFFFF
  - Abu Tekstual: #2E2E2E
*/

body {
  font-family: "Segoe UI", Tahoma, sans-serif !important;
  background: #fdf6ec;
  color: #2e2e2e;
  transition: background 0.3s ease, color 0.3s ease;
}

/* === Struktur Halaman === */
.pkp_structure_page {
  margin: 0 auto;
  max-width: 1180px;
  background: #ffffff;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

/* === Header === */
.pkp_site_name_wrapper {
  background: linear-gradient(90deg, #8c1c13 0%, #b8331a 100%);
  margin-bottom: 0 !important;
  padding: 0 !important;
  border-bottom: 5px solid #f1c27d;
}

.pkp_site_name .is_img img {
  max-height: 250px !important;
  width: 100% !important;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.pkp_site_name .is_img img:hover {
  transform: scale(1.02);
  filter: brightness(1.05);
}

/* === Navigasi Utama === */
.pkp_navigation_primary_row {
  background: #8c1c13;
  font-weight: bold;
  border-top: 2px solid #f1c27d;
  padding-left: 30px;
  padding-right: 30px;
}

.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li a {
  color: #ffffff !important;
  padding: 0 18px !important;
  line-height: 40px !important;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li a:hover {
  background: #f1c27d;
  color: #8c1c13 !important;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* === Sidebar === */
.kepala {
  color: #ffffff;
  background: #8c1c13;
  padding: 10px;
  font-family: arial;
  line-height: 23px;
  border-bottom: 4px solid #f1c27d;
  font-weight: bold;
  text-align: left;
}

.badan {
  margin-top: -10px;
}

.badan a {
  display: block;
  padding: 10px;
  border-bottom: 1px solid #f1c27d;
  background: #fff7e6;
  color: #8c1c13 !important;
  text-align: left;
  transition: all 0.3s ease;
}

.badan a:hover {
  background: #f1c27d;
  color: #ffffff !important;
  font-weight: bold;
  padding-left: 15px;
}

/* === Ringkasan Artikel === */
.obj_article_summary {
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  border-radius: 10px;
  background: #ffffff;
  border-bottom: solid 4px #8c1c13 !important;
  font-size: 13px;
  transition: all 0.3s ease;
}

.obj_article_summary:hover {
  background: #fdebd0;
  transform: translateY(-3px);
}

/* === Heading & Link === */
.pkp_structure_main h1 {
  font-weight: 600;
  font-size: 22px;
  color: #8c1c13;
}

.pkp_structure_main a {
  color: #b8331a !important;
  transition: color 0.3s ease;
}

.pkp_structure_main a:hover {
  color: #f1c27d !important;
}

/* === Tombol Galley === */
.obj_galley_link {
  font-weight: 700;
  text-transform: capitalize !important;
  background: #8c1c13 !important;
  color: #ffffff !important;
  border: 1px solid #f1c27d !important;
  border-radius: 6px;
  padding: 6px 14px;
  transition: all 0.3s ease;
}

.obj_galley_link:hover {
  background: #f1c27d !important;
  color: #8c1c13 !important;
  transform: scale(1.05);
}

/* === Footer === */
.pkp_structure_footer_wrapper {
  background: #8c1c13;
  border-top: 4px solid #f1c27d;
  border-bottom: 20px solid #f1c27d;
  color: #fdf6ec;
  text-align: center;
  padding: 20px 0;
  transition: background 0.3s ease;
}

.pkp_structure_footer_wrapper a {
  color: #f1c27d !important;
}

.pkp_structure_footer_wrapper a:hover {
  color: #ffffff !important;
}

/* === Profil & Dropdown === */
.profile a {
  background: #f1c27d;
  color: #8c1c13 !important;
  border-radius: 15px !important;
  padding: 5px 12px;
  transition: all 0.3s ease;
}

.profile a:hover {
  background: #ffffff;
  color: #b8331a !important;
}

.dropdown-menu {
  background: #b8331a !important;
  border-radius: 10px;
  overflow: hidden;
}

.dropdown-menu li a:hover {
  background: #f1c27d !important;
  color: #8c1c13 !important;
}

/* === Responsif === */
@media (max-width: 768px) {
  .pkp_site_name .is_img img {
    max-height: 180px !important;
  }
}
