/* ============================================
   EPICMANGA MANGA DETAIL PAGE
   MangaHub-style blurred backdrop hero
   ============================================ */

.em-detail-hero {
  position: relative;
  width: 100%;
  padding: 40px 0 30px;
  background-color: var(--bg-page, #0B0C10);
  background-size: cover;
  background-position: center top;
  border-bottom: 1px solid var(--border-color, #1F232D);
}

.em-detail-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.em-detail-hero__breadcrumb {
  margin-bottom: 20px;
  font-size: 12px;
  color: var(--text-muted, #64748B);
}
.em-detail-hero__breadcrumb a { color: var(--text-secondary, #94A3B8) !important; }

.em-detail-hero__row {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.em-detail-hero__cover {
  flex: 0 0 220px;
  width: 220px;
}
.em-detail-hero__cover a {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
  border: 1px solid var(--border-color, #1F232D);
}
.em-detail-hero__cover img {
  width: 100%;
  height: auto;
  display: block;
}

.em-detail-hero__rating {
  margin-top: 10px;
  color: #FFB800;
  font-size: 14px;
  font-weight: 700;
}
.em-detail-hero__rating-count {
  color: var(--text-muted, #64748B);
  font-weight: 400;
  font-size: 12px;
}

.em-detail-hero__meta { flex: 1; padding-top: 8px; }

.em-detail-hero__title {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  margin: 8px 0 14px;
  line-height: 1.15;
}

.em-detail-hero__genres {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.em-genre-pill {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-color, #1F232D);
  color: var(--accent-blue, #1E6BFA);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 14px;
  border-radius: 20px;
}

.em-detail-hero__status {
  color: var(--text-secondary, #94A3B8);
  font-size: 14px;
  margin-bottom: 16px;
}
.em-detail-hero__status strong { color: #fff; }

.em-detail-hero__extra {
  color: var(--text-secondary, #94A3B8);
  font-size: 13px;
  margin-bottom: 10px;
}
.em-detail-hero__extra .summary-heading h5 {
  display: inline-block;
  color: var(--text-muted, #64748B);
  font-size: 12px;
  text-transform: uppercase;
  margin-right: 6px;
}
.em-detail-hero__extra .summary-content {
  display: inline-block;
  color: var(--text-secondary, #94A3B8) !important;
}
.em-detail-hero__extra a { color: var(--accent-blue, #1E6BFA) !important; }

.em-detail-hero__status-hook { margin-bottom: 18px; }
.em-detail-hero__status-hook .post-status .summary-content { color: var(--text-secondary, #94A3B8) !important; }

.em-detail-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.em-detail-hero__actions .c-btn,
.em-detail-hero__actions a.wp-manga-action-button,
.em-detail-hero__actions button {
  background: var(--accent-blue, #1E6BFA) !important;
  border-color: var(--accent-blue, #1E6BFA) !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 10px 24px !important;
  font-weight: 600 !important;
}
.em-detail-hero__actions .action_detail span { color: var(--text-secondary, #94A3B8) !important; }

@media (max-width: 768px) {
  .em-detail-hero__row { flex-direction: column; align-items: center; text-align: center; }
  .em-detail-hero__genres, .em-detail-hero__actions { justify-content: center; }
  .em-detail-hero__title { font-size: 26px; }
}

/* ============================================
   EPICMANGA CHAPTER LIST (info-chapters.php)
   Dark MangaHub-style list, CSS-only override
   ============================================ */
.c-page-content .page-content-listing {
  background: var(--bg-panel, #12141A);
  border: 1px solid var(--border-color, #1F232D);
  border-radius: 10px;
  padding: 20px 24px;
  margin-top: 8px;
}
.c-page-content .c-blog__heading.style-2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color, #1F232D);
}
.c-page-content .c-blog__heading.style-2 h2.h4 {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}
.c-page-content .c-blog__heading.style-2 h2.h4 i {
  color: var(--accent-blue, #1E6BFA);
  margin-right: 8px;
}
.c-page-content .c-blog__heading.style-2 .btn-reverse-order {
  color: var(--text-secondary, #94A3B8) !important;
  font-size: 16px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid var(--border-color, #1F232D);
  transition: background 0.15s ease, color 0.15s ease;
}
.c-page-content .c-blog__heading.style-2 .btn-reverse-order:hover {
  background: rgba(255,255,255,0.06);
  color: #fff !important;
}

.listing-chapters_wrap ul.main.version-chap {
  list-style: none;
  margin: 0;
  padding: 0;
}

.listing-chapters_wrap ul.main.version-chap > li.wp-manga-chapter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 4px;
  border-bottom: 1px solid var(--border-color, #1F232D);
  transition: background 0.15s ease;
}
.listing-chapters_wrap ul.main.version-chap > li.wp-manga-chapter:last-child {
  border-bottom: none;
}
.listing-chapters_wrap li.wp-manga-chapter:hover {
  background: rgba(255,255,255,0.03);
}
.listing-chapters_wrap li.wp-manga-chapter.reading {
  background: rgba(30,107,250,0.08);
}
.listing-chapters_wrap li.wp-manga-chapter a {
  color: var(--text-secondary, #94A3B8) !important;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.listing-chapters_wrap li.wp-manga-chapter:hover a,
.listing-chapters_wrap li.wp-manga-chapter.reading a {
  color: #fff !important;
}
.listing-chapters_wrap li.wp-manga-chapter.unread a {
  color: #fff !important;
}
.listing-chapters_wrap li.wp-manga-chapter.unread a::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-blue, #1E6BFA);
  margin-right: 8px;
  vertical-align: middle;
}
.listing-chapters_wrap .chapter-release-date {
  color: var(--text-muted, #64748B);
  font-size: 12px;
  white-space: nowrap;
  margin-left: 16px;
}
.listing-chapters_wrap .chapter-release-date i {
  font-style: normal;
}

.listing-chapters_wrap ul.main.version-chap.volumns > li.parent {
  border-bottom: 1px solid var(--border-color, #1F232D);
  padding: 10px 4px;
}
.listing-chapters_wrap ul.main.version-chap.volumns > li.parent > a {
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.listing-chapters_wrap ul.sub-chap-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0 0 0 12px;
  border-left: 2px solid var(--border-color, #1F232D);
}
.listing-chapters_wrap ul.sub-chap-list li.wp-manga-chapter {
  border-bottom: 1px solid var(--border-color, #1F232D);
}

.listing-chapters_wrap .no-chapter {
  display: block;
  text-align: center;
  color: var(--text-muted, #64748B);
  padding: 20px 0;
  font-size: 14px;
}

.c-chapter-readmore {
  text-align: center;
  margin-top: 16px;
}
.c-chapter-readmore .chapter-readmore {
  display: inline-block;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-color, #1F232D);
  color: var(--text-secondary, #94A3B8) !important;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 22px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.c-chapter-readmore .chapter-readmore:hover {
  background: var(--accent-blue, #1E6BFA);
  color: #fff !important;
  border-color: var(--accent-blue, #1E6BFA);
}
