/* === BLOG DETAIL === */
.graphie-blog-detail {
  background-color: #f9fafb;
  margin-top: 60px;
}

.graphie-blog-detail h1 {
  font-size: 36px;
  font-weight: bold;
  color: #1F2A36;
}

.graphie-blog-detail p {
  font-size: 14px;
  color: #1F2A36;
  margin-bottom: 16px;
}

.graphie-blog-detail .main-article-img {
  max-height: 600px;
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.graphie-blog-detail .content-article p {
  margin-bottom: 16px;
  font-size: 16px;
  color: #1F2A36;
  line-height: 28px;
}

.graphie-blog-detail .content-article h2,
.graphie-blog-detail .content-article h3 {
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 16px;
  color: #1F2A36;
}

.graphie-blog-detail .content-article ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.graphie-blog-detail .content-article ul li {
  margin-bottom: 8px;
}

/* === SEARCH BAR === */
.graphie-searchbar {
  position: relative;
  max-width: 540px;
  margin-bottom: 20px;
  margin-top: 0px;
}

.graphie-input {
  width: 100%;
  padding: 14px 52px 14px 24px;
  border-radius: 999px;
  border: 2px solid #1F2A36;
  font-size: 16px;
  color: #1F2A36;
  transition: all 300ms ease;
}

.graphie-input::placeholder {
  color: gray;
  font-weight: 400;
}

.graphie-input:focus {
  outline: none;
}

.graphie-btn {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #000000;
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  transition: 200ms;
}

.graphie-btn:hover {
  color: #1F2A36;
}

/* === SIDEBAR === */
.graphie-blog-detail .form-control {
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 15px;
}

.graphie-blog-detail .list-unstyled {
  padding-left: 0;
  list-style: none;
}

.graphie-blog-detail .list-unstyled li {
  margin-bottom: 12px;
  color: #555555;
}

.graphie-blog-detail .badge {
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  background-color: #f0f0f0;
  color: #333333;
}

.graphie-blog-detail .text-muted {
  font-size: 14px;
}

.graphie-blog-detail .sidebar-post {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.graphie-blog-detail .sidebar-post img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
}

.graphie-blog-detail .sidebar-post strong {
  font-size: 14px;
  color: #1F2A36;
  display: inline-block;
  margin-top: 4px;
}

.graphie-blog-detail .sidebar-post small {
  font-size: 12px;
  color: #888888;
}

/* === BUTTON === */
.btn-custom {
  display: inline-flex;
  align-items: center;
  border: 1px solid #212529;
  border-radius: 999px;
  padding: 10px 24px;
  font-weight: 500;
  font-size: 16px;
  color: #212529;
  background-color: transparent;
  text-decoration: none;
  transition: all 300ms ease;
}

.btn-custom i {
  margin-right: 8px;
}

.btn-custom:hover {
  background-color: #212529;
  color: #fff;
}

/* === KATEGORI === */
.katdetail {
  font-size: 20px;
  font-weight: 600;
  color: #1F2A36;
  font-family: 'Poppins';
}

.sicon {
  font-size: 20px;
  font-weight: 600;
  color: #1F2A36;
  font-family: 'Poppins';
}

.category-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  justify-items: center;
  align-items: center;
  margin-bottom: 20px;
  cursor: default;
}

.category-slider .label {
  font-size: 12px;
  font-weight: 600;
  color: #1F2A36;
  font-family: 'Poppins';
}

.category-slider .category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  cursor: pointer;
  padding: 8px;
  font-size: 14px;
  color: #1F2A36;
  transition: color 0.3s ease;
  border-bottom: 2px solid transparent;
  text-decoration: none;
}

.category-slider .category-item .icon {
  font-size: 18px;
  margin-bottom: 4px;
}

.category-slider .category-item:hover {
  color: #1F2A36;
}

/* === SOCIAL ICONS === */
.graphie-blog-detail .social-icons a {
  color: #1F2A36;
  transition: 200ms;
}

.graphie-blog-detail .social-icons a:hover {
  color: #00b894;
}

#langSwitch {
  color: #1F2A36;
  text-decoration: none;
  font-weight: 600;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .graphie-blog-detail h1 {
    font-size: 28px;
  }

  .graphie-blog-detail .sidebar-post {
    flex-direction: row;
  }

  .graphie-blog-detail .sidebar-post img {
    width: 48px;
    height: 48px;
  }
}

/* === LIGHT/DARK MODE === */
body.dark-mode .graphie-blog-detail {
  background-color: #121212;
}

body.dark-mode .graphie-blog-detail h1, 
body.dark-mode .graphie-blog-detail p {
  color: white;
}

body.dark-mode .graphie-blog-detail .btn-custom{
  background-color: #1e1e1e;
  color: white;
}

body.dark-mode .graphie-blog-detail .btn-custom:hover {
  background-color: white;
  color: #1e1e1e;
}

body.dark-mode .katdetail,
body.dark-mode .sicon {
  color: white;
}

body.dark-mode #langSwitch {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

body.dark-mode .graphie-blog-detail .content-article h3 {
  color: white;
}