/* Creators index page */
.cpv-page-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 12px 10px;
  box-sizing: border-box;
}

.cpv-creators-page {
  font-family: Georgia, "Times New Roman", serif;
  color: #241b0c;
}

.cpv-creators-hero {
  max-width: 1000px;
  margin: 0 auto 20px;
  padding: 24px 26px;
  background: #fffff9;
  border: 1px solid #e5d9a6;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.cpv-creators-hero h1 {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.15;
  color: #111;
}

.cpv-creators-hero p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.5;
}

.cpv-creators-note {
  color: #5f4b18;
  font-size: 13px !important;
  font-style: italic;
}

.cpv-creator-jumpnav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.cpv-creator-jumpnav a,
.cpv-creator-jumpnav a:visited {
  display: inline-flex;
  padding: 8px 13px;
  border: 1px solid #7b2024;
  border-radius: 999px;
  background: #fffff9;
  color: #7b2024;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}

.cpv-creator-jumpnav a:hover,
.cpv-creator-jumpnav a:focus {
  background: #7b2024;
  color: #fff4dc;
}

.cpv-creator-controls {
  margin-top: 16px;
  padding: 12px;
  background: #fff8d8;
  border: 1px solid #decf91;
  border-radius: 10px;
}

.cpv-creator-view-buttons {
  display:inline-flex;
/*  flex-wrap: wrap;*/
  gap: 4px;
}

.cpv-creator-view-button {
  border: 1px solid #7b2024;
  border-radius: 999px;
  padding: 8px 12px;
  background: #fffff9;
  color: #7b2024;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.00em;
  text-transform: uppercase;
  cursor: pointer;
}

.cpv-creator-view-button:hover,
.cpv-creator-view-button:focus,
.cpv-creator-view-active {
  background: #7b2024;
  color: #fff4dc;
}

.cpv-creator-age-section {
  max-width: 1000px;
  margin: 0 auto 26px;
  scroll-margin-top: 14px;
}

.cpv-creator-age-section > h2 {
  margin: 20px 0 10px;
  padding: 10px 13px;
  background: #7b2024;
  background: linear-gradient(#7b2024, #60191C);
  color: #fff4dc;
  border: 2px solid #111;
  border-radius: 8px;
  font-size: 22px;
  line-height: 1.2;
}

.cpv-creator-section-note {
  margin: 0 0 12px;
  padding: 0 4px;
  color: #5f4b18;
  font-size: 13px;
  line-height: 1.4;
}

.cpv-creator-type-section {
  margin: 0 0 20px;
}

.cpv-creator-type-section h3 {
  margin: 14px 0 10px;
  padding: 8px 11px;
  background: #fff8d8;
  border: 1px solid #decf91;
  border-left: 6px solid #7b2024;
  border-radius: 8px;
  color: #111;
  font-size: 18px;
  line-height: 1.2;
}

.cpv-creator-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.cpv-character-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.cpv-creator-card {
  background: #fffff9;
  border: 1px solid #decf91;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,.10);
  overflow: hidden;
}

.cpv-creator-card:hover {
  border-color: #7b2024;
  box-shadow: 0 3px 9px rgba(0,0,0,.16);
}

.cpv-creator-img-link {
  display: block;
  background: #f4e7b5;
  line-height: 0;
}

.cpv-creator-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.cpv-creator-card-body {
  padding: 10px;
}

.cpv-char-card-body {
  padding: 10px;
}

.cpv-char-card-body h4 {
  padding: 10px;
  display: inline;
}

.cpv-creator-name {
  margin: 0 0 7px;
  font-size: 17px;
  line-height: 1.15;
}

.cpv-char-name {
  display: inline;
  margin: 0 0 7px;
  font-size: 16px;
  line-height: 1.15;
}

.cpv-creator-name a,
.cpv-creator-name a:visited {
  color: #111;
  text-decoration: none;
}

.cpv-creator-name a:hover,
.cpv-creator-name a:focus {
  color: #7b2024;
  text-decoration: underline;
  text-underline-offset: 2px;
}


.cpv-char-name a,
.cpv-char-name a:visited {
  color: #111;
  text-decoration: none;
}

.cpv-char-name a:hover,
.cpv-char-name a:focus {
  color: #7b2024;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cpv-creator-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}

.cpv-char-badges {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 5px;
}

.cpv-char-badge {
  display: inline;
  padding: 3px 7px;
  border-radius: 999px;
  background: #f4e7b5;
  color: #4a3a15;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.cpv-creator-badge {
  display: inline;
  padding: 3px 6px;
  border-radius: 999px;
  background: #f4e7b5;
  color: #4a3a15;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.cpv-writer-artist {
  text-transform: none;
}
.cpv-creator-badge-cpv {
  background: #7b2024;
  color: #fff4dc;
  text-transform: none;
}

@media screen and (max-width: 940px) {
  .cpv-creator-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 680px) {
  .cpv-creator-jumpnav { gap: 5px; }
  .cpv-page-main {
    padding: 18px 10px 4px;
  }

  .cpv-creators-hero {
    padding: 18px 15px;
  }

  .cpv-creators-hero h1 {
    font-size: 24px;
  }

  .cpv-creator-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cpv-creator-name { font-size: 13px; }
  .cpv-char-name { font-size: 12px; }

}

@media screen and (max-width: 420px) {
  .cpv-creator-jumpnav a,
  .cpv-creator-jumpnav a:visited { font-size: 11px; }
  .cpv-creator-jumpnav { gap: 4px; }
  .cpv-creator-badge { font-size: 9.7px; letter-spacing: -0.02em; }
  .cpv-creator-badge-cpv { letter-spacing: -0.03em; font-size: 9.6px; }
  .cpv-creator-badges {  gap: 2px; }
  .cpv-creator-grid {
/*    grid-template-columns: 1fr;*/
  }
}



/* Creator badge refinements */
.cpv-creator-badge {
  white-space: nowrap;
}

