/* =======================
   Layout
========================== */
.single-comic-section {
  background: #f4eaff;
  padding: 40px 20px;
}

.single-comic-wrapper {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 10px;
  max-width: 1200px;
  margin: auto;
}

/* =======================
   COMIC INFO PANEL (RIGHT)
========================== */
.comic-info-column {
  background: #ffffff;
  padding: 20px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

/* Small/Medium square cover image */
.comic-thumbnail img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: 12px;
  margin: 0 auto 15px;
  display: block;
  border: 3px solid #e0e0e0;
}

/* Comic Title */
.comic-title {
  font-size: 1rem;
  font-weight: 500;
  margin-top: 5px;
  margin-bottom: 12px;
  color: #222;
  text-transform: none;
  letter-spacing: 0.5px;
}

/* Excerpt */
.comic-excerpt {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 18px;
  line-height: 1.5;
  text-align: left;
}

/* Full Description */
.comic-full-description {
  margin-top: 12px;
  text-align: left;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.55;
}

/* Buttons */
.comic-buttons {
  margin-top: 20px;
}

.comic-btn {
  display: block;
  width: 100%;
  background: linear-gradient(90deg, #ff00cc, #7b2ff7); /* pink → purple */
  color: #fff;
  text-align: center;
  padding: 14px 20px;
  border-radius: 30px;          /* pill shape */
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.25s ease;
}

/* Hover animation */
.comic-btn:hover {
  opacity: 0.9;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.20);
}

/* =======================
   CHAPTER LIST (LEFT)
========================== */
.comic-chapters-column {
  background: #fff;
  padding: 25px;
  border-radius: 20px;
}

.chapters-title {
  font-size: 1.4rem;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

/* Episode Row */
.chapter-item {
  display: grid;
  grid-template-columns: 50px auto 90px;
  gap: 15px;
  padding: 10px 0;
  align-items: center;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: #222;
}

.chapter-item:hover {
  background: #f3f3f3;
  border-radius: 10px;
}

/* Round small thumbnail */
.chapter-thumb img {
  width: 50px;
  height: 50px;
  border-radius: 100%;
  object-fit: cover;
  border: 2px solid #ddd;
}

/* Chapter text */
.chapter-name {
  font-weight: 600;
}

.chapter-date {
  color: #888;
  font-size: 0.85rem;
  text-align: right;
}


/* ===== Pagination Styling ===== */
.chapter-pagination {
  margin-top: 20px;
  text-align: center;
}

.chapter-pagination .page-btn {
  padding: 8px 14px;
  margin: 0 4px;
  background: #eee;
  color: #444;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: .25s;
}

.chapter-pagination .page-btn:hover {
  background: linear-gradient(90deg, #ff00cc, #7b2ff7);
  color: #fff;
}

.chapter-pagination .current {
  background: linear-gradient(90deg, #ff00cc, #7b2ff7);
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .single-comic-wrapper {
    grid-template-columns: 1fr;
  }
  .comic-chapters-column {
    order: 2;
  }
  .comic-info-column {
    order: 1;
  }
}

