/*
Theme Name: temaW
Theme URI: https://github.com/firdausekabkl/
Author: Your Name
Author URI: https://github.com/firdausekabkl/
Description: Tema dikembangkan untuk kalangan khusus
Version: 1.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: temaw
Tags: news
*/



/* === 1. Kontainer Utama === */
.content-body {
  font-family: system-ui, sans-serif;
  color: rgb(14, 15, 15); 
  line-height: 1.75;
  font-size: 1.1rem;
}

.content-body .isi-artikel {
  text-align: justify;
}


/* === 2. Teks Dasar dan Paragraf === */
.content-body .isi-artikel p {
  margin-bottom: 1rem;
  color: rgb(19, 19, 19); /* gray-700 */
}


/* === 3. Heading === */
.content-body .isi-artikel h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2rem 0 1rem;
  color: #111827;
}

.content-body .isi-artikel h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem;
  color: #1f2937;
}

.content-body .isi-artikel h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 1.25rem 0 0.5rem;
  color: #1f2937;
}


/* === 4. Daftar (List) === */
.content-body .isi-artikel ul,
.content-body .isi-artikel ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  padding-left: 1rem;
}

.content-body .isi-artikel ul {
  list-style-type: disc;
}

.content-body .isi-artikel ol {
  list-style-type: decimal;
}

.content-body .isi-artikel li {
  margin-bottom: 0.5rem;
}


/* === 5. Kutipan (Blockquote) === */
.content-body .isi-artikel blockquote {
  border-left: 4px solid #60a5fa;
  padding-left: 1rem;
  font-style: italic;
  color: #6b7280;
  margin: 1.5rem 0;
}


/* === 6. Tautan === */
.content-body .isi-artikel a {
  color: #2563eb;
  text-decoration: underline;
}

.content-body .isi-artikel a:hover {
  color: #1d4ed8;
}


/* === 7. Gambar (Image) === */
.content-body .isi-artikel img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.25rem auto;
  border-radius: 0.5rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

/* Tangani jika pengguna menyisipkan gambar kecil dengan atribut width/height */
.content-body .isi-artikel img[width][height] {
  height: auto !important;
  width: auto !important;
  max-width: 100% !important;
}


/* === 8. Gambar dengan Caption (WordPress) === */
.content-body .isi-artikel .wp-caption {
  max-width: 100% !important;
  height: auto;
  text-align: center;
  margin: 1.5rem auto;
  font-size: 0.875rem;
  color: #6b7280;
}

.content-body .isi-artikel .wp-caption img {
  height: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

.content-body .isi-artikel .wp-caption .wp-caption-text {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.4;
  text-align: left;
  margin-top: 0.5rem;
}


/* === 9. Video YouTube (Embed) === */
.content-body .isi-artikel iframe[src*="youtube.com"],
.content-body .isi-artikel iframe[src*="youtu.be"] {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: none;
  margin: 1.5rem 0;
  display: block;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Jika WordPress menggunakan Gutenberg block wrapper */
.content-body .isi-artikel figure.wp-block-embed-youtube {
  margin: 1.5rem 0;
}

.content-body .isi-artikel figure.wp-block-embed-youtube iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 0.5rem;
}

















/* Gaya Umum Pagination */
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

/* Tombol atau Link Pagination */
.pagination a,
.pagination span {
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  background-color: #f3f4f6; /* gray-100 */
  color: #1f2937; /* gray-800 */
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}

/* Hover Style */
.pagination a:hover {
  background-color: #e5e7eb; /* gray-200 */
  color: #111827; /* gray-900 */
}

/* Aktif (current page) */
.pagination .current {
  background-color: #2563eb; /* blue-600 */
  color: white;
  cursor: default;
}

/* Disabled prev/next (opsional) */
.pagination .disabled {
  opacity: 0.4;
  pointer-events: none;
}
