/* ==================================
   EPISODE READER
================================== */

body {
  background: #f7efe4;
  margin: 0;
  padding: 0;
}

/* Header */

.episode-reader-header {
  text-align: center !important;
  padding: 60px 20px 40px;
  background: #fff8ee;
}

.episode-reader-header h1 {
  font-size: 52px;
  margin-bottom: 15px;
  color: #2b2118;
}

.episode-reader-header p {
  font-size: 20px;
  color: #6b5a49;
  max-width: 700px;
  margin: 0 auto;
}

.back-link {
  display: inline-block;
  margin-bottom: 25px;
  text-decoration: none;
  color: #2b2118;
  font-weight: bold;
}

/* ==================================
   WEBTOON READER
================================== */

.webtoon-reader {
  width: 100%;
  display: flex;
  justify-content: center !important;
  align-items: center;
  padding: 40px 20px 80px;
}

.webtoon-content {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}

/* Images */

.webtoon-content img {
  display: block;
  width: 100%;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.webtoon-content img:first-child {
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(43, 33, 24, 0.15);
  margin-bottom: 40px;
}

.webtoon-content img:not(:first-child) {
  margin-bottom: 20px;
}

/* ==================================
   NAVIGATION
================================== */

.episode-navigation {
  max-width: 820px;
  margin: 0 auto 80px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
}

.episode-navigation a {
  text-decoration: none;
  background: #2b2118;
  color: #fff8ee;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: bold;
}

/* ==================================
   MOBILE
================================== */

@media (max-width: 768px) {

  .episode-reader-header h1 {
    font-size: 38px;
  }

  .episode-reader-header p {
    font-size: 16px;
  }

  .episode-navigation {
    flex-direction: column;
    gap: 15px;
  }

  .episode-navigation a {
    text-align: center;
  }

}