/* Additions share the current site's palette, fonts and components. */
.cast-photo-link { display: block; height: 100%; }
.cast-profile-link { display: inline-flex; margin-top: 16px; color: #92395e; font-size: .8rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.cast-body h3 a:hover, .cast-profile-link:hover { color: #a7436a; }
.hero-actions { flex-wrap: wrap; }
.profile-main { padding-top: var(--header-height); }
.profile-breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; padding-block: 22px; color: var(--muted); font-size: .75rem; }
.profile-breadcrumb a { text-decoration: underline; text-underline-offset: 4px; }
.profile-hero { padding: 24px 0 76px; background: #f2edf5; }
.profile-layout { display: grid; gap: 32px; align-items: start; }
.profile-photo { position: relative; margin: 0; overflow: hidden; background: #e8e0e9; box-shadow: var(--shadow); }
.profile-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 18%; }
.profile-photo figcaption { position: absolute; bottom: 20px; right: 20px; padding: 5px 16px; border-radius: 999px; background: var(--night); color: var(--pink-pale); font-size: .75rem; }
.profile-copy { min-width: 0; }
.profile-copy .section-kicker { margin: 0 0 16px; }
.profile-copy h1 { margin: 0; font-size: clamp(2.8rem, 8vw, 4.5rem); font-weight: 800; }
.profile-roman { margin: 0 0 20px; color: var(--profile-accent, #a7436a); font-family: var(--font-heading); font-weight: 800; letter-spacing: .2em; }
.profile-intro { color: var(--muted); }
.profile-message { margin: 24px 0; padding: 16px 20px; border-left: 3px solid var(--profile-accent, #a7436a); background: var(--white); font-family: var(--font-heading); font-weight: 700; }
.profile-facts { display: grid; margin: 24px 0; border-top: 1px solid var(--border); }
.profile-facts > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.profile-facts dt { color: var(--profile-accent, #a7436a); font-size: .8rem; font-weight: 700; }
.profile-facts dd { margin: 0; font-size: .88rem; overflow-wrap: anywhere; }
.profile-social-links, .profile-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; }
.profile-social-links a { padding: 8px 16px; border: 1px solid var(--border); border-radius: 999px; background: var(--white); font-size: .8rem; font-weight: 700; }
.profile-social-links a:hover { border-color: var(--pink-strong); color: #92395e; }
.profile-actions .button { min-height: 46px; padding: 11px 20px; font-size: .85rem; }
.button-profile-outline { border: 1px solid #b78a9c; color: #74334e; background: transparent; }
.profile-subsection { padding: 70px 0; background: var(--paper); }
.profile-subsection .section-heading h2 { font-size: clamp(1.7rem, 5vw, 2.5rem); }
.profile-cast-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 24px 0; }
.profile-cast-nav a { padding: 8px 20px; border: 1px solid var(--border); border-radius: 999px; background: var(--white); font-weight: 700; font-size: .85rem; }
.profile-cast-nav a[aria-current="page"] { background: var(--night); color: var(--pink-pale); }
.profile-back { text-align: center; }
.profile-back a { font-size: .85rem; text-decoration: underline; text-underline-offset: 5px; }
.cast-sns-intro { padding: 30px 0 48px; text-align: center; background: #f2edf5; }
.cast-sns-intro h1 { margin-bottom: 12px; font-size: clamp(2rem, 6vw, 3rem); }
.cast-sns-intro .profile-social-links { justify-content: center; }
.cast-sns-section { padding: 54px 0 72px; background: #eee9f3; }
.cast-social-grid { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 24px; }
.cast-social-grid .social-embed-panel { padding: 18px; }
.cast-social-grid .embed-panel-heading { align-items: flex-start; }
.cast-social-grid .embed-panel-heading p { overflow-wrap: anywhere; }
.cast-social-grid .embed-panel-heading a { text-decoration: underline; text-underline-offset: 4px; }
.cast-social-grid .embed-panel-heading h2 { margin: 0 0 4px; font-size: 1.1rem; }
.cast-embed-content { min-width: 0; min-height: 180px; overflow: hidden; }
.cast-embed-content > .twitter-timeline { display: block; padding: 32px 12px; color: #92395e; text-decoration: underline; }
.cast-embed-content .instagram-media { min-width: 0 !important; max-width: 100% !important; width: 100% !important; margin: 0 !important; }
.cast-embed-content .tiktok-embed { min-width: 0 !important; width: 100% !important; margin: 0 !important; }
.cast-embed-content iframe { max-width: 100%; }
.cast-embed-fallback { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--border); font-size: .78rem; color: var(--muted); }
.cast-embed-fallback a { color: #92395e; text-decoration: underline; text-underline-offset: 4px; }
.cast-embed-note { margin: 24px 0 0; color: var(--muted); font-size: .78rem; text-align: center; }
@media (min-width: 700px) {
  .profile-layout { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; }
  .cast-social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cast-social-grid[data-platform-count="1"] { max-width: 620px; margin-inline: auto; grid-template-columns: minmax(0, 1fr); }
  .cast-social-grid[data-platform-count="3"] > :last-child { grid-column: 1 / -1; max-width: 720px; width: 100%; justify-self: center; }
}
@media (min-width: 1000px) {
  .profile-hero { padding-bottom: 100px; }
  .profile-layout { gap: 64px; }
  .profile-photo { max-width: 470px; }
}
