/* ---------- SERIES content type ---------- */
/* ALL
.node--comic-series {}
.series-feature-image {}
.series-meta {}
.series-publication-status { }
.series-status { font-size: 22px; }
.series-description { font-size: 22px; color:red; }
.series-gallery {}
*/

/* =========================
   COMIC SERIES – GLOBAL
========================= */

.node--comic-series {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 6rem;
  color: #222;
  line-height: 1.75;
}

/* =========================
   SERIES HEADER
========================= */

.series-header {
  text-align: center;
  margin-bottom: 2rem;
}

.series-header h1 {
  font-size: clamp(2.6rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
}
/* =========================
   FEATURE IMAGE
========================= */

.series-feature-image {
  margin: 2.5rem auto 1.5rem;
  max-width: 520px;
}

.series-feature-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1.5rem;
}

/* =========================
   SERIES META
========================= */

.series-meta {
  display: flex;
  /* justify-content: center; */
  margin: 1.5rem 0 3rem;
}

.series-status,
.series-field-genre {
  display: inline-block;
  background: #f2f2f2;
  padding: 0.35rem 1.1rem 0.45rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: #555;
}

.series-status > div, 
.series-field-genre > div,
.series-field-creator > div {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
}

.series-status > div > div:first-child,
.series-field-genre > div > div:first-child,
.series-field-creator > div > div:first-child {
  font-weight: 600;
  opacity: 0.6;
}


/* =========================
   SERIES DESCRIPTION
========================= 

.series-description {
  max-width: 720px;
  margin: 0 auto 4.5rem;
  font-size: 1.05rem;
}

.series-description p {
  margin-bottom: 1.25rem;
}
*/

/* =========================
   SERIES GALLERY
========================= */

.series-gallery {
  margin-top: 4rem;
}

.series-gallery > div {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

/* Gallery images */
.series-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover polish */
.series-gallery img:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}


.node--comic-series::after {
  content: "";
  display: block;
  width: 120px;
  height: 4px;
  background: #eee;
  margin: 5rem auto 0;
  border-radius: 999px;
}

/* ---------- EPISDOE content type ---------- */
/* ALL
.episode-header {}
.episode-feature-image {}
.series-meta {}
.episode-meta {}
.episode-media {}
.episode-tags {}

.series-status {
  display: inline-block;
  padding: 0.25rem 1rem 0.35rem;
  background: #111;
  color: #fff;
  border-radius: 999px;
}
.series-status > div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  line-height: 1.4rem;
}

.series-status > div > div:first-child {
  font-weight: 600;
  opacity: 0.7;
}

.series-status > div > div:last-child {
  font-weight: 500;
}
*/
/* =========================
   COMIC EPISODE – GLOBAL
========================= */

.node--comic-episode {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.25rem 5rem;
  color: #222;
  line-height: 1.7;
}

/* =========================
   EPISODE HEADER
========================= */

.episode-header {
  /* margin: 2.5rem 0 1.5rem;*/
  text-align: center;
}

.episode-header h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
}


/* =========================
   FEATURE IMAGE
========================= */

.episode-feature-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1.25rem;
  object-fit: cover;
}

/* =========================
   EPISODE MEDIA
========================= */

.episode-media {
  margin: 4rem 0;
}

.episode-media > div {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}

/* Individual comic panels */
.episode-media img {
  width: 100%;
  max-width: 720px;
  height: auto;
  display: block;
}
/* =========================
   EPISODE TAGS
========================= */

.episode-tags {
  margin-top: 4rem;
  text-align: center;
}

.episode-tags > div {
  display: inline-flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Label */
.episode-tags > div > div:first-child {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.6;
}

/* Tags list */
.episode-tags a {
  display: inline-block;
  margin: 0.25rem;
  padding: 0.3rem 0.85rem;
  background: #eee;
  border-radius: 999px;
  font-size: 0.8rem;
  color: #444;
  text-decoration: none;
}

.episode-tags a:hover {
  background: #ddd;
}

.node--comic-episode::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #eee;
  margin: 4rem auto 0;
  border-radius: 999px;
}



/* ---------- STUDIO POST content type ---------- */

/*
.node--studio-post {}
.studio-post-feature-image {}
.studio-post-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}
.studio-post-episode,
.studio-post-series {
  display: inline-flex;
  padding: 0.25rem 1rem 0.35rem;
  background: #eee;
  color: #555;
  border-radius: 4px;
}
.studio-post-episode > div,
.studio-post-series > div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  line-height: 1.4rem;
}
.studio-post-episode {}
.studio-post-series > div > div:first-child,
.studio-post-episode > div > div:first-child {
  font-weight: 600;
  opacity: 0.8;
}
.studio-post-body {}
.studio-post-gallery {}

*/

/* =========================
   STUDIO POST – GLOBAL
========================= */

.node--studio-post {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 1.25rem 5rem;
}

/* Improve default typography */
.node--studio-post {
  font-size: 1rem;
  line-height: 1.75;
  color: #222;
}

/* =========================
   HEADER / TITLE
========================= */

.studio-post-header {
  margin: 2rem 0 1rem;
  text-align: center;
}

.studio-post-header h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.2;
  font-weight: 700;
  margin: 0;
}

/* =========================
   FEATURE IMAGE
========================= */

.studio-post-feature-image {
  margin: 0 auto;
}

.studio-post-feature-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1rem;
  object-fit: cover;
}
/* =========================
   META (SERIES / EPISODE)
========================= */

.studio-post-meta {
  margin: 1.5rem 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

/* Each pill */
.studio-post-series,
.studio-post-episode {
  display: inline-block;
  background: #f1f1f1;
  color: #555;
  border-radius: 999px;
  padding: 0.35rem 1rem 0.45rem;
}

/* Inner layout */
.studio-post-series > div,
.studio-post-episode > div {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  line-height: 1.2;
}

/* Label */
.studio-post-series > div > div:first-child,
.studio-post-episode > div > div:first-child {
  font-weight: 600;
  opacity: 0.6;
}

/* Links */
.studio-post-meta a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

.studio-post-meta a:hover {
  text-decoration: underline;
}
/* =========================
   BODY CONTENT
========================= */

.studio-post-body {
  margin: 0 auto 3rem;
  font-size: 1.05rem;
}

.studio-post-body p {
  margin: 0 0 1.5rem;
}

.studio-post-body p:last-child {
  margin-bottom: 0;
}

/* Optional: nicer links inside body */
.studio-post-body a {
  color: #000;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
/* =========================
   GALLERY
========================= */

.studio-post-gallery {
  margin-top: 4rem;
}

.studio-post-gallery > div {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.studio-post-gallery img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.75rem;
}
/* Optional soft divider */
.node--studio-post::after {
  content: "";
  display: block;
  margin: 4rem auto 0;
  width: 60px;
  height: 4px;
  background: #eee;
  border-radius: 999px;
}
