@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&display=swap');

body {
  font-family: 'Merriweather', serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.7;
}

/* ===== GAYA ARTIKEL iOS ===== */
.ios-container {
  max-width: 800px;
  margin: 40px auto;
  background: #fff;
  padding: 30px 24px;
  border-radius: 22px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.ios-thumbnail {
  text-align: center;
}

.ios-thumbnail-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}

.ios-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.ios-meta {
  font-size: 0.9rem;
  color: #777;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.ios-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ios-body {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* Like Button */
.ios-like {
  margin-bottom: 2rem;
}

.btn-like {
  font-size: 1rem;
  border-radius: 12px;
  padding: 6px 14px;
  transition: all 0.2s ease-in-out;
  background-color: #fff;
  border: 1px solid #dc3545;
  color: #dc3545;
  cursor: pointer;
}

.btn-like:hover {
  transform: scale(1.05);
  background: #f8d7da;
}

/* Komentar Section */
.ios-comments {
  margin-top: 3rem;
}

.ios-comments h5 {
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* Nama input */
#inputNamaWrapper input {
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 1rem;
  border: 1px solid #ccc;
  width: 100%;
}

/* Form komentar */
.ios-comment-form {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
}

.ios-textarea {
  border-radius: 16px;
  padding: 10px 15px;
  font-size: 1rem;
  resize: none;
  width: 100%;
  min-height: 44px;
  border: 1px solid #ccc;
}

/* Tombol kirim komentar */
.ios-send-btn {
  border-radius: 50%;
  height: 42px;
  width: 42px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2ecc71;
  color: #fff;
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: background 0.2s ease;
}

.ios-send-btn:hover {
  background: #27ae60;
  cursor: pointer;
}

/* Komentar bubble ala WhatsApp/iOS */
#listKomentar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

#listKomentar .bubble {
  background: #f2f2f7;
  padding: 14px 16px;
  border-radius: 18px;
  max-width: 85%;
  position: relative;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  color: #333;
  word-wrap: break-word;
}

#listKomentar .bubble-right {
  background: #dcf8c6;
  align-self: flex-end;
  margin-left: auto;
  text-align: right;
}

#listKomentar .bubble-left {
  background: #f2f2f7;
  align-self: flex-start;
}

.bubble-nama {
  font-weight: 600;
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 4px;
}

.bubble-isi {
  font-size: 1rem;
  line-height: 1.6;
  white-space: pre-line;
}

.bubble-meta {
  margin-top: 6px;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #888;
}

/* Konten paragraf artikel */
.prose {
  font-size: 1rem;
}

.prose p {
  margin-bottom: 1em;
}

/* Tambahkan di global CSS atau tailwind config jika perlu */
::-webkit-scrollbar {
  height: 6px;
}
::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.prose img {
  border-radius: 12px;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.prose p {
  margin-bottom: 1.25em;
  line-height: 1.75;
}

.prose blockquote {
  border-left: 4px solid #ccc;
  padding-left: 1rem;
  color: #555;
  font-style: italic;
}

.prose-custom p {
font-size: 19px;
line-height: 1.9;
margin-bottom: 1.25rem;
}
.prose-custom h1, 
.prose-custom h2,
.prose-custom h3 {
text-shadow: none !important; /* menghapus efek bayangan jika ada */
}

.komentar-item {
    padding-left: 0;
}

.replies-toggle {
    margin-top: 8px;
    padding-left: 20px;
    border-left: 2px solid #eee;
}
