/* =======================
   Layout
========================== */
.single-comic-section {
  background: linear-gradient(180deg, #F2E8DE 0%, #E8D8C8 100%);
  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(91, 98, 106, 0.06);
}

/* 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 #D0BEA8;
}

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

/* Excerpt */
.comic-excerpt {
  font-size: 0.95rem;
  color: #464C53;
  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: #464C53; 
  line-height: 1.55;
}

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

.comic-btn {
  display: block;
  width: 100%;
  background: linear-gradient(90deg, #C7B29C, #A28970); /* steel gray → leather brown */
  color: #F2E8DE;
  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 6px 18px rgba(91, 98, 106, 0.45);
  transition: all 0.25s ease;
}

/* Hover animation */
.comic-btn:hover {
  opacity: 0.9;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(199, 178, 156, 0.55);
  background: linear-gradient(90deg, #E0C7B0, #A28970); /* reversed for subtle shine */
}

/* =======================
   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: #7A7E85;
  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: #F4ECE3;       /* warm neutral */
  color: #464C53;            /* iron gray */
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: .25s;
}

.chapter-pagination .page-btn:hover {
  background: linear-gradient(90deg, #C7B29C, #A28970);
  color: #F2E8DE;
}

.chapter-pagination .current {
  background: linear-gradient(90deg, #E0C7B0, #A28970);
  color: #F2E8DE;
}

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

