/*
 Theme Name: Bosa Logistics Madika
 Theme URI: https://example.com
 Description: Custom child theme of Bosa Logistics for Madika
 Author: Nama Anda
 Author URI: https://example.com
 Template: bosa-logistics
 Version: 1.0.0
*/

/* Tambahkan CSS custom Anda di bawah ini */

/* Ukuran font heading */
h2 {
  font-size: 20px !important; /* Ganti sesuai kebutuhan */
}

h3 {
  font-size: 17px !important;
}

h4 {
  font-size: 15px !important;
}

.site-branding p {display:none !important;}

#centang-hijau-madika {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}

#centang-hijau-madika li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 8px;
  line-height: 1.1em;
}

#centang-hijau-madika li::before {
  content: "\2714"; /* Unicode checkmark  */
  position: absolute;
  left: 0;
  top: 0;
  font-size: 15px;
  color: #1db954; /* Hijau terang */
}

#bintang-madika {
  list-style: none;
  padding: 0;
  margin: 0;
}

#bintang-madika li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-family: Arial, sans-serif;
  font-size: 16px;
  color: #333;
}

#bintang-madika li::before {
  content: "\2605"; /* Unicode solid star ★ */
  position: absolute;
  left: 0;
  top: 0;
  font-size: 18px;
  color: #f39c12; /* Warna oranye */
}

/* Geser list wp-block-list ke kiri */
.wp-block-list {
 margin-left: 0;/* hapus margin kiri bawaan */
  padding-left: 1.25rem; /* atur jarak bullet ke teks */
  list-style-position: outside; /* bullet tetap di luar teks */
}

.wp-block-separator.has-alpha-channel-opacity {
    border: none;
    height: 2px;
    background-color: #0d1b2a; /* biru gelap elegan */
    margin: 25px auto;
    max-width: 80px; /* garis lebih pendek dari lebar konten */
    border-radius: 2px;
}

/* DESKRIPSI KATEGORI */
.category-description {
  margin: 15px 0 25px;
  padding: 15px;
  background: #f0f8ff;
  border-left: 4px solid #0073aa;
  border-radius: 6px;
  font-size: 16px;
  line-height: 1.6;
  color: #444;
}

/* ==== Blog Categories Grid ==== */
.blog-categories-grid {
  margin: 40px 0;
  text-align: center;
}
.blog-categories-grid h2.blog-cat-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 25px;
  color: #222;
}

.blog-cat-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

.blog-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  padding: 20px 15px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid #eee;
  transition: all 0.3s ease, transform 0.4s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  
  /* Animasi awal */
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}
.blog-cat-card:hover {
  background: #f0f8ff;
  border-color: #0073aa;
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.blog-cat-card .dashicons {
  font-size: 36px;
  color: #0073aa;
  margin-bottom: 12px;
}
.blog-cat-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0 0 6px;
}
.blog-cat-card p {
  font-size: 13px;
  color: #666;
  margin: 0;
}

/* 🔹 Animasi Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 🔹 Tambahkan delay bertingkat biar muncul satu-satu */
.blog-cat-card:nth-child(1) { animation-delay: 0.1s; }
.blog-cat-card:nth-child(2) { animation-delay: 0.2s; }
.blog-cat-card:nth-child(3) { animation-delay: 0.3s; }
.blog-cat-card:nth-child(4) { animation-delay: 0.4s; }
.blog-cat-card:nth-child(5) { animation-delay: 0.5s; }
.blog-cat-card:nth-child(6) { animation-delay: 0.6s; }
/* dst kalau kategori banyak */

/* ==== Responsiveness ==== */
@media (max-width: 992px) {
  .blog-cat-wrapper {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
  }
  .blog-cat-card {
    padding: 18px 12px;
  }
}

@media (max-width: 600px) {
  .blog-cat-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .blog-cat-card h3 {
    font-size: 14px;
  }
  .blog-cat-card p {
    font-size: 12px;
  }
}

@media (max-width: 400px) {
  .blog-cat-wrapper {
    grid-template-columns: 1fr;
  }
}

/* DAFTAR ISI */

summary {
    background: #fff;
    padding: 15px;
    width: max-content;
    font-weight: bold;
    border: 1px solid #dbdbdb;
	max-width: 100%;
}
#rank-math-toc {
    background: #fff;
    padding: 15px;
    width: auto;
    font-weight: bold;
    border: 1px solid #dbdbdb;
    margin-top: 1px;
	float: left;
    max-width: 100%;
}
#rank-math-toc > nav:before {
    content: 'Klik link berikut untuk membaca cepat:';
    font-weight: 400;
    font-style: italic;
    font-size: 0.9em;
}
#rank-math-toc nav ul li {
  list-style: decimal;
  margin-left: -37px;
}
#rank-math-toc nav ul li ul li {
  list-style: none;
}
#rank-math-toc nav ul li ul li::before {
  content: '\f12a';
  font-family: 'dashicons';
  color: #046bd2;
  margin-right: 5px;
  vertical-align: middle;
  margin-left: -20px;
} 
