/* Character single page — image left, letter content right */
.cc-char-hero {
  position: relative;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: var(--cc-cream);
  overflow: hidden;
}

.cc-char-hero--letter {
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.cc-char-hero-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  align-items: start;
}

.cc-char-hero-media {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
}

.cc-char-blob {
  width: min(100%, 400px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--cc-primary);
  background: linear-gradient(160deg, #f3eefc, #fff9e8 55%, #e8f6f6);
  box-shadow: 0 24px 50px rgba(35, 22, 81, 0.16);
}

.cc-char-blob img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.cc-char-side-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

/* Letter panel — sits directly beside the image */
.cc-char-letter-panel {
  background: #fff;
  border-radius: 24px;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  box-shadow: 0 16px 40px rgba(35, 22, 81, 0.08);
  border: 1px solid #f0e8d8;
  max-width: none;
  margin: 0;
}

.cc-char-letter-panel .cc-eyebrow {
  margin-bottom: 0.35rem;
}

.cc-char-cat-label {
  display: inline-block;
  margin: 0 0 0.5rem;
  color: var(--cc-accent);
  font-weight: 700;
  font-size: 0.95rem;
}

.cc-char-letter-name {
  margin: 0 0 0.4rem;
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  line-height: 1.2;
  color: var(--cc-primary);
}

.cc-char-letter-panel .cc-role {
  margin: 0 0 0.35rem;
  font-weight: 700;
  color: var(--cc-primary);
  font-size: 1.1rem;
}

.cc-char-tagline {
  margin: 0 0 1.15rem;
  color: #2aa8a0;
  font-weight: 600;
}

.cc-char-letter-body p {
  margin: 0 0 1rem;
  line-height: 1.75;
  color: #3d3754;
  white-space: pre-line;
}

.cc-char-letter-closing {
  margin: 1.25rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px dashed #ead9a8;
  font-weight: 700;
  color: var(--cc-primary);
  line-height: 1.6;
}

.cc-char-learn,
.cc-char-activities,
.cc-char-why {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.cc-char-learn { background: #fff; }
.cc-char-activities { background: var(--cc-cream); }
.cc-char-why { background: var(--cc-primary); color: #fff; }

.cc-char-why h2,
.cc-char-why h3,
.cc-char-why p,
.cc-char-why .cc-eyebrow { color: #fff; }

.cc-char-why .cc-eyebrow { color: var(--cc-yellow); }

.cc-learn-grid,
.cc-act-grid,
.cc-why-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
  margin-top: 2rem;
}

.cc-learn-item,
.cc-act-item {
  background: var(--cc-cream);
  border-radius: 20px;
  padding: 1.35rem 1.25rem;
  box-shadow: var(--cc-shadow);
  transition: transform 0.3s ease;
}

.cc-char-activities .cc-act-item { background: #fff; }

.cc-learn-item:hover,
.cc-act-item:hover { transform: translateY(-6px); }

.cc-learn-item strong,
.cc-act-item strong {
  display: block;
  color: var(--cc-primary);
  font-family: var(--font-display);
  margin-bottom: 0.35rem;
}

.cc-why-points article {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 1.4rem 1.25rem;
}

.cc-why-points h4 { color: var(--cc-yellow); margin-bottom: 0.4rem; }
.cc-why-points p { color: rgba(255,255,255,0.88); margin: 0; }

.cc-char-quote {
  margin: 1.5rem 0 0;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--cc-accent);
  background: rgba(255,131,96,0.1);
  border-radius: 0 16px 16px 0;
  font-weight: 700;
  color: var(--cc-primary);
}

.cc-related-chars {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--cc-cream);
}

@media (max-width: 900px) {
  .cc-char-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cc-char-hero-media {
    position: static;
  }

  .cc-char-letter-panel {
    text-align: left;
  }

  .cc-char-side-actions {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .cc-learn-grid,
  .cc-act-grid,
  .cc-why-points {
    grid-template-columns: 1fr;
  }
}
