/* Base Styles */
.post-thumb { object-fit: cover; height: 200px; }
html { scroll-behavior: smooth; }
a { color: #2563eb; }
a:hover { color: #1d4ed8; }
code { background-color: #f3f4f6; padding: 2px 6px; border-radius: 4px; font-family: monospace; font-size: 0.875em; }
figcaption { font-size: 0.875rem; color: #6b7280; text-align: center; margin-top: 0.5rem; }
.post-content h2 { font-size: 1.5rem; font-weight: 600; margin-top: 2rem; margin-bottom: 1rem; color: #1f2937; }
.post-content h3 { font-size: 1.25rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: 0.75rem; color: #1f2937; }
.post-content p { margin-bottom: 1rem; line-height: 1.6; }
.post-content ul, .post-content ol { margin-bottom: 1rem; padding-left: 1.5rem; }
.post-content li { margin-bottom: 0.5rem; }
.post-content img { border-radius: 8px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); margin: 1.5rem 0; }
.post-content figure { margin: 1.5rem 0; }
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; background-color: #2563eb; color: white;
  border-radius: 50%; font-weight: 600; margin-right: 0.5rem;
}
.alert-box {
  padding: 1rem;
  margin: 1.5rem 0;
  border-radius: 6px;
}
.alert-info { background-color: #e0f2fe; border-left: 4px solid #0ea5e9; color: #0c4a6e; }
.alert-warning { background-color: #fef9c3; border-left: 4px solid #eab308; color: #713f12; }
.alert-success { background-color: #dcfce7; border-left: 4px solid #22c55e; color: #166534; }
.tip-box {
  background-color: #f0f9ff; border-left: 4px solid #0ea5e9; padding: 1rem; margin: 1.5rem 0;
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.3s ease-in-out;
}

.lightbox-content {
  position: relative;
  margin: auto;
  display: block;
  width: auto;
  max-width: 90%;
  max-height: 90%;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 1rem;
  text-align: center;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  transition: 0.3s;
  background: rgba(0, 0, 0, 0.5);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-lightbox:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

.click-to-zoom {
  cursor: zoom-in;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.click-to-zoom:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 15px -1px rgba(0, 0, 0, 0.2), 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.zoom-hint {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.25rem;
  display: block;
  font-style: italic;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Custom styles untuk halaman kategori */
.category-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.article-card {
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

.article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.pagination-link {
  transition: all 0.2s ease;
}

.pagination-link:hover {
  background-color: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

/* Custom styles untuk Blog Hoster */
.breadcrumb-item::after {
  content: ">";
  margin: 0 8px;
  color: #6b7280;
}

.breadcrumb-item:last-child::after {
  content: "";
}