/*
Theme Name: Panda Child Theme
Description: Panda Child Theme adalah anak tema Divi dari Elegant Themes. Tema anak Panda dikembangkan untuk memenuhi kebutuhan gaya web pemberitaan dengan sedikit modifikasi dari tema induk. (https://web.panda.id)
Author: Torikul Fauzi
Author URI: https://www.puskomedia.id
Template: Divi
Version: 0.3.3.9
*/

/* =Theme Customizations
------------------------------------------------------- */

/* ==== LOGO + SITE INFO DI KIRI ATAS ==== */
.site_header_left {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  padding: 10px 15px;
  z-index: 1000;
  background-color: white;
}

.site_header_left .logo_container {
  margin-left: auto;
  max-width: 70px;
  margin-right: 10px;
}

.site_header_left .logo_container img {
  max-height: 60px;
  width: auto;
}

.site_header_left .site_info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.site_header_left .site_info h1.site-title {
  font-size: 22px;
  margin: 0;
  font-weight: bold;
  color: #1f1a17;
}

.site_header_left .site_info span.site-description {
  font-size: 18px;
  font-weight: 700;
  color: #1f1a17;
  margin-top: 0px;
}

/* ==== GLOBAL ==== */
body {
  font-family: Arial, sans-serif;
}

#main-content {
  background-color: #f9f9f9;
}

.entry-content,
.et_post_meta_wrapper {
  background: #fff;
}

/* ==== DESKTOP MENU ==== */
#top-menu > li > a {
  color: #1f1a17 !important;
  font-weight: 700;
  font-size: 17px;
  padding: 20px 15px !important;
  display: inline-block;
}

#top-menu > li.current-menu-item > a,
#top-menu > li.current_page_item > a {
  color: #1f1a17 !important; /* default hitam */
}

#top-menu > li > a:hover {
  color: #279bd5 !important; /* hover biru */
}

/* Dropdown styling */
#top-menu > li .sub-menu {
  display: block;
  width: 260px;
  border-radius: 5px;
  filter: drop-shadow(0 3px 16px rgba(61, 61, 61, 0.3));
  left: 50%;
  top: 30px;
  transform: translateX(-50%);
}

/* ==== MOBILE VIEW: Hanya Hamburger Menu ==== */
@media (max-width: 980px) {
  /* Sembunyikan menu utama */
  #top-menu {
    display: none !important;
  }

  /* Tampilkan hamburger */
  #et_mobile_nav_menu {
    display: block !important;
    margin-left: auto;
    padding: 0;
    padding-right: 15px;
  }

  /* Ukuran hamburger */
  #et_mobile_nav_menu .mobile_menu_bar {
    font-size: 28px;
    padding: 8px 12px;
  }

  /* Header container rapi */
  #main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 15px;
  }

  /* Logo mobile */
  #logo {
    max-height: 45px;
    width: auto;
  }

  /* Menu dropdown mobile */
  .et_mobile_menu {
    background: #fff;
    padding: 10px 0;
    width: 100%;
  }

  .et_mobile_menu li {
    border-bottom: 1px solid #eaeaea;
  }

  .et_mobile_menu li a {
    display: block;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #1f1a17;
  }

  .et_mobile_menu li a:hover {
    background-color: #f5f5f5;
  }

  /* Submenu indent */
  .et_mobile_menu ul.sub-menu li a {
    padding-left: 35px;
    font-size: 15px;
    font-weight: 500;
  }
}

/* ==== PAGINATION ==== */
.pagination {
  clear: both;
  max-width: 400px;
  margin: 0 auto;
  padding: 0 10px 25px;
}

.pagination a {
  padding: 5px 10px;
  background: #ef6730;
  border-radius: 20px;
  color: #fff;
  box-shadow: 0 8px 18px -6px rgba(0, 0, 0, 0.56);
}

/* ==== ARTICLE & CONTENT ==== */
.et_pb_post {
  margin-bottom: 25px;
  border-bottom: 1px solid #e5e5e5;
}

.konten-excerpt {
  display: inline-block;
  width: calc(100% - 270px);
  margin-left: 10px;
  margin-bottom: 30px;
}

.konten-excerpt .entry-title {
  font-size: 20px;
}

.konten-excerpt p.post-meta {
  padding-left: 0 !important;
}

#left-area .post-meta {
  padding: 5px 15px;
  font-size: 12px;
}

#left-area .post-meta a {
  color: #fa6601;
  text-transform: uppercase;
}

.konten-artikel {
  max-width: 500px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
  padding: 5px 10px 40px;
}

/* ==== SIDEBAR ==== */
.et_right_sidebar #left-area {
  padding-right: 0;
  margin-right: 2%;
  width: 68% !important;
}

#sidebar {
  background: #fff;
  padding: 15px;
}

#sidebar .et_pb_widget {
  margin-bottom: 10px;
}

/* ==== RECENT POST LIST ==== */
#recent-posts-2 ul > li {
  counter-increment: step-counter;
  margin-bottom: 10px;
  margin-left: 50px;
  min-height: 50px;
  position: relative;
}

#recent-posts-2 ul > li::before {
  content: counter(step-counter);
  position: absolute;
  right: 24%;
  font-size: 150%;
  background-color: #fa690f;
  color: #fff;
  font-weight: 700;
  text-align: center;
  width: 40px;
  height: 40px;
  border-radius: 100%;
}

/* ==== FOOTER ==== */
#footer-bottom {
  padding: 25px 0 15px;
}

#footer-info a {
  color: inherit;
  font-weight: inherit;
}

#menu-menu-footer {
  float: right;
  padding: 0;
}

.bottom-nav li {
  font-size: 13px;
  font-weight: 400;
  text-align: center;
}

.powered-by-panda {
  display: block;
  font-size: 10px;
  line-height: 1;
  color: #279bdd;
  text-align: right;
}

@media (max-width: 980px) {
  .powered-by-panda {
    text-align: center;
  }
}

/* ==== BUTTON SUBMIT FORM ==== */
#submit.submit.et_pb_button {
  color: #fff !important;
  border-width: 10px !important;
  border-color: #279bd5;
  border-radius: 100px;
  letter-spacing: 1px;
  font-size: 16px;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  padding-left: 0.7em;
  padding-right: 2em;
  background-color: #279bd5;
  box-shadow: 0 3px 10px 1px rgba(39, 155, 213, 0.6);
}

/* ==== MISC ==== */
.nc_socialPanel:not(.nc_floater):not(.nc_socialPanelSide) {
  margin: 0 !important;
}

.gaya-news,
.main_title {
  background: #fff;
}

.main_title {
  margin-bottom: 0;
  padding: 20px 10px;
  border-bottom: 5px solid #379bd5;
}

#main-content .container:before {
  display: none;
}

.et_mobile_menu li a:hover,
.nav ul li a:hover {
  background-color: transparent;
}
