/*
 * Elaaf Single Post — auto-applied to all post pages
 */

/* ── Featured image full width ── */
.single-post .post-thumbnail,
.single-post .wp-post-image-wrapper,
.single .post-thumbnail {
  width: 100%;
  margin: 0 0 0;
  overflow: hidden;
  max-height: 480px;
}

.single-post .post-thumbnail img,
.single-post .wp-post-image,
.single .wp-post-image {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

/* ── Post wrapper ── */
.single-post .site-main,
.single-post article.post,
.single article.post {
  direction: rtl;
  text-align: right;
}

/* ── Post title ── */
.single-post .entry-title,
.single-post h1.entry-title,
.single h1.entry-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.5;
  margin: 30px 0 16px;
  direction: rtl;
  text-align: right;
}

/* ── Meta: date, author, category ── */
.single-post .entry-meta,
.single .entry-meta,
.single-post .posted-on,
.single-post .byline {
  font-size: 0.85rem;
  color: #999;
  direction: rtl;
  text-align: right;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0e4eb;
}

.single-post .entry-meta a,
.single .entry-meta a,
.single-post .cat-links a {
  color: #c96fa5 !important;
  font-weight: 600;
  text-decoration: none;
}

/* ── Post content ── */
.single-post .entry-content,
.single .entry-content {
  font-size: 1rem;
  line-height: 1.95;
  color: #2d2d2d;
  direction: rtl;
  text-align: right;
  max-width: 820px;
  margin: 0 auto;
}

.single-post .entry-content p {
  margin-bottom: 1.4em;
}

.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4 {
  color: #1a1a1a;
  font-weight: 700;
  margin: 2em 0 0.6em;
  direction: rtl;
  text-align: right;
}

.single-post .entry-content a {
  color: #c96fa5;
}

.single-post .entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

/* ── Hide comments section completely ── */
.single-post #comments,
.single-post .comments-area,
.single #comments,
.single .comments-area,
.comment-respond {
  display: none !important;
}

/* ── Tags ── */
.single-post .tags-links,
.single .tags-links {
  direction: rtl;
  text-align: right;
  margin-top: 30px;
}

.single-post .tags-links a,
.single .tags-links a {
  display: inline-block;
  background: #f5e8f0;
  color: #c96fa5;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  margin: 0 0 6px 6px;
  text-decoration: none;
  transition: background 0.2s;
}

.single-post .tags-links a:hover {
  background: #c96fa5;
  color: #fff;
}

/* ── Mobile ── */
@media (max-width: 767px) {
  .single-post .entry-title,
  .single h1.entry-title {
    font-size: 1.35rem;
    margin: 20px 0 12px;
  }

  .single-post .entry-content {
    font-size: 0.95rem;
  }

  .single-post .post-thumbnail img,
  .single .wp-post-image {
    max-height: 240px;
  }
}
