/* Capri Studio Films v50 — uniform public-page banners
   Desktop dimensions intentionally match the About Us hero: 690px high and full viewport width.
   The Home page is intentionally excluded. */

:root {
  --csf-uniform-banner-height: 690px;
  --csf-uniform-banner-pad-top: 135px;
  --csf-uniform-banner-pad-bottom: 105px;
}

/* Services, Distribution, Contact, AI Production, and Line Production */
body.services-v45 .csf-hero-services,
body.distribution-v41 .csf-hero-distribution,
body.contact-page-v45 .csf-hero-contact,
body.ai-page-v41 .csf-hero-ai,
body.line-page-v41 .csf-hero-line {
  box-sizing: border-box;
  width: 100%;
  height: var(--csf-uniform-banner-height) !important;
  min-height: var(--csf-uniform-banner-height) !important;
  max-height: var(--csf-uniform-banner-height) !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden;
  padding: 0 !important;
}

body.services-v45 .csf-hero-services .csf-hero-media,
body.distribution-v41 .csf-hero-distribution .csf-hero-media,
body.contact-page-v45 .csf-hero-contact .csf-hero-media,
body.ai-page-v41 .csf-hero-ai .csf-hero-media,
body.line-page-v41 .csf-hero-line .csf-hero-media {
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover !important;
  transform: none !important;
}

body.services-v45 .csf-hero-services .csf-hero-media { background-position: 58% center !important; }
body.distribution-v41 .csf-hero-distribution .csf-hero-media { background-position: 55% center !important; }
body.contact-page-v45 .csf-hero-contact .csf-hero-media { background-position: 60% center !important; }
body.ai-page-v41 .csf-hero-ai .csf-hero-media { background-position: 64% center !important; }
body.line-page-v41 .csf-hero-line .csf-hero-media { background-position: 64% center !important; }

body.services-v45 .csf-hero-services .csf-hero-content,
body.distribution-v41 .csf-hero-distribution .csf-hero-content,
body.contact-page-v45 .csf-hero-contact .csf-hero-content,
body.ai-page-v41 .csf-hero-ai .csf-hero-content,
body.line-page-v41 .csf-hero-line .csf-hero-content {
  box-sizing: border-box;
  width: min(1480px, calc(100% - clamp(2rem, 7vw, 8rem))) !important;
  max-width: none !important;
  margin-inline: auto !important;
  padding: var(--csf-uniform-banner-pad-top) 0 var(--csf-uniform-banner-pad-bottom) !important;
}

body.services-v45 .csf-hero-services h1,
body.distribution-v41 .csf-hero-distribution h1,
body.contact-page-v45 .csf-hero-contact h1,
body.ai-page-v41 .csf-hero-ai h1,
body.line-page-v41 .csf-hero-line h1 {
  max-width: 860px !important;
  margin: .85rem 0 1.25rem !important;
  font-size: clamp(3.15rem, 5.5vw, 5.75rem) !important;
  line-height: .91 !important;
  letter-spacing: -.06em !important;
  text-wrap: balance;
}

body.services-v45 .csf-hero-services p,
body.distribution-v41 .csf-hero-distribution p,
body.contact-page-v45 .csf-hero-contact p,
body.ai-page-v41 .csf-hero-ai p,
body.line-page-v41 .csf-hero-line p {
  max-width: 650px !important;
  margin: 0 !important;
  font-size: clamp(1rem, 1.35vw, 1.2rem) !important;
  line-height: 1.75 !important;
}

body.services-v45 .csf-hero-services .csf-actions,
body.distribution-v41 .csf-hero-distribution .csf-actions,
body.ai-page-v41 .csf-hero-ai .csf-actions,
body.line-page-v41 .csf-hero-line .csf-actions {
  margin-top: 2rem !important;
}

/* Creator Content */
body.creator-content-page .creator-content-hero {
  box-sizing: border-box;
  width: 100%;
  height: var(--csf-uniform-banner-height) !important;
  min-height: var(--csf-uniform-banner-height) !important;
  max-height: var(--csf-uniform-banner-height) !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden;
}

body.creator-content-page .creator-content-hero::before {
  background-size: cover !important;
  background-position: 58% center !important;
  transform: none !important;
}

body.creator-content-page .creator-content-hero-inner {
  box-sizing: border-box;
  width: min(1480px, calc(100% - clamp(2rem, 7vw, 8rem))) !important;
  max-width: none !important;
  margin-inline: auto !important;
  padding: var(--csf-uniform-banner-pad-top) 0 var(--csf-uniform-banner-pad-bottom) !important;
}

body.creator-content-page .creator-content-hero h1 {
  max-width: 860px !important;
  margin: .85rem 0 1.25rem !important;
  font-size: clamp(3.15rem, 5.5vw, 5.75rem) !important;
  line-height: .91 !important;
  letter-spacing: -.06em !important;
  text-wrap: balance;
}

body.creator-content-page .creator-content-hero p {
  max-width: 650px !important;
  margin: 0 !important;
  font-size: clamp(1rem, 1.35vw, 1.2rem) !important;
  line-height: 1.75 !important;
}

body.creator-content-page .creator-content-actions { margin-top: 2rem !important; }

/* Vertical Drama */
body.vertical-catalog-v45 .vd-catalog-hero {
  box-sizing: border-box;
  width: 100%;
  height: var(--csf-uniform-banner-height) !important;
  min-height: var(--csf-uniform-banner-height) !important;
  max-height: var(--csf-uniform-banner-height) !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden;
  padding: 0 !important;
}

body.vertical-catalog-v45 .vd-catalog-hero-media {
  background-size: cover !important;
  background-position: 58% center !important;
  transform: none !important;
}

body.vertical-catalog-v45 .vd-catalog-hero .vd-catalog-wrap {
  box-sizing: border-box;
  width: min(1480px, calc(100% - clamp(2rem, 7vw, 8rem))) !important;
  margin-inline: auto !important;
  padding: var(--csf-uniform-banner-pad-top) 0 var(--csf-uniform-banner-pad-bottom) !important;
}

body.vertical-catalog-v45 .vd-catalog-hero h1 {
  max-width: 860px !important;
  margin: 1rem 0 .75rem !important;
  font-size: clamp(3.15rem, 5.5vw, 5.75rem) !important;
  line-height: .91 !important;
  letter-spacing: -.06em !important;
}

body.vertical-catalog-v45 .vd-catalog-hero p {
  max-width: 760px;
  font-size: clamp(1rem, 1.35vw, 1.2rem) !important;
  line-height: 1.65 !important;
}

/* AI Film Marketplace */
body.marketplace-public-v41 .market-hero {
  box-sizing: border-box;
  width: 100%;
  height: var(--csf-uniform-banner-height) !important;
  min-height: var(--csf-uniform-banner-height) !important;
  max-height: var(--csf-uniform-banner-height) !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden;
  padding: 0 !important;
  background-size: cover !important;
  background-position: 58% center !important;
}

body.marketplace-public-v41 .market-hero-inner {
  box-sizing: border-box;
  width: min(1400px, calc(100% - clamp(2rem, 7vw, 8rem))) !important;
  max-width: none !important;
  margin-inline: auto !important;
  padding: var(--csf-uniform-banner-pad-top) 0 var(--csf-uniform-banner-pad-bottom) !important;
  align-items: center !important;
  gap: clamp(2rem, 5vw, 5rem) !important;
}

body.marketplace-public-v41 .market-hero h1 {
  max-width: 860px !important;
  margin: .85rem 0 1.25rem !important;
  font-size: clamp(3.15rem, 5.5vw, 5.75rem) !important;
  line-height: .91 !important;
  letter-spacing: -.06em !important;
}

body.marketplace-public-v41 .market-hero p {
  max-width: 650px !important;
  margin: 0 !important;
  font-size: clamp(1rem, 1.35vw, 1.2rem) !important;
  line-height: 1.75 !important;
}

body.marketplace-public-v41 .market-hero .auth-actions { margin-top: 2rem !important; }

/* Tablet dimensions follow the About Us page's own responsive height. */
@media (max-width: 900px) {
  body.services-v45 .csf-hero-services,
  body.distribution-v41 .csf-hero-distribution,
  body.contact-page-v45 .csf-hero-contact,
  body.ai-page-v41 .csf-hero-ai,
  body.line-page-v41 .csf-hero-line,
  body.creator-content-page .creator-content-hero,
  body.vertical-catalog-v45 .vd-catalog-hero,
  body.marketplace-public-v41 .market-hero {
    height: auto !important;
    min-height: 610px !important;
    max-height: none !important;
  }

  body.marketplace-public-v41 .market-hero-inner {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  body.marketplace-public-v41 .market-hero-panel {
    display: none !important;
  }
}

@media (max-width: 560px) {
  :root {
    --csf-uniform-banner-pad-top: 120px;
    --csf-uniform-banner-pad-bottom: 82px;
  }

  body.services-v45 .csf-hero-services h1,
  body.distribution-v41 .csf-hero-distribution h1,
  body.contact-page-v45 .csf-hero-contact h1,
  body.ai-page-v41 .csf-hero-ai h1,
  body.line-page-v41 .csf-hero-line h1,
  body.creator-content-page .creator-content-hero h1,
  body.vertical-catalog-v45 .vd-catalog-hero h1,
  body.marketplace-public-v41 .market-hero h1 {
    font-size: clamp(2.8rem, 14vw, 4rem) !important;
  }
}

/* Keep all banner typography readable against the retained page-specific artwork. */
body.services-v45 .csf-hero-services h1,
body.distribution-v41 .csf-hero-distribution h1,
body.contact-page-v45 .csf-hero-contact h1,
body.ai-page-v41 .csf-hero-ai h1,
body.line-page-v41 .csf-hero-line h1,
body.creator-content-page .creator-content-hero h1,
body.vertical-catalog-v45 .vd-catalog-hero h1,
body.marketplace-public-v41 .market-hero h1 {
  color: #fff !important;
  text-shadow: 0 10px 34px rgba(0,0,0,.28);
}

body.services-v45 .csf-hero-services h1 em,
body.distribution-v41 .csf-hero-distribution h1 em,
body.contact-page-v45 .csf-hero-contact h1 em,
body.ai-page-v41 .csf-hero-ai h1 em,
body.line-page-v41 .csf-hero-line h1 em,
body.creator-content-page .creator-content-hero h1 em,
body.vertical-catalog-v45 .vd-catalog-hero h1 em,
body.marketplace-public-v41 .market-hero h1 em {
  color: #dda632 !important;
}

body.creator-content-page .creator-content-kicker,
body.vertical-catalog-v45 .vd-eyebrow,
body.marketplace-public-v41 .auth-kicker {
  color: #dda632 !important;
}
