/* Preserve CCHORECA art direction over Elementor Kit global defaults. */
.cch-join-page .elementor-widget-text-editor,
.cch-join-page .elementor-widget-button,
.cch-join-page .elementor-widget-icon-list,
.cch-join-page .elementor-widget-accordion {
  font-family: 'DM Sans', sans-serif !important;
}

.cch-el-h1 .elementor-heading-title,
.cch-el-h2 .elementor-heading-title,
.cch-el-h3 .elementor-heading-title {
  font-family: 'Fraunces', serif !important;
  font-weight: 600 !important;
  letter-spacing: -.025em !important;
}

.cch-el-h1 .elementor-heading-title {
  color: #fff !important;
  font-size: clamp(3.25rem, 7.5vw, 7.2rem) !important;
  line-height: .95 !important;
}

.cch-el-h2 .elementor-heading-title {
  color: var(--cch-navy) !important;
  font-size: clamp(2.35rem, 4.5vw, 4.6rem) !important;
  line-height: 1.02 !important;
}

.cch-el-h3 .elementor-heading-title {
  color: var(--cch-navy) !important;
  font-size: 1.55rem !important;
  line-height: 1.15 !important;
}

.cch-el-light .elementor-heading-title { color: #fff !important; }

.cch-el-eyebrow .elementor-heading-title {
  color: var(--cch-magenta) !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: .78rem !important;
  font-weight: 700 !important;
  letter-spacing: .18em !important;
  text-transform: uppercase;
}

.cch-el-eyebrow-light .elementor-heading-title { color: #f1c7e9 !important; }
.cch-el-light-text,
.cch-el-light-text a { color: #fff !important; }

.cch-el-lead {
  max-width: 720px !important;
  color: #fff !important;
  font-size: clamp(1.15rem, 2vw, 1.4rem) !important;
  line-height: 1.65 !important;
}

.cch-el-button .elementor-button {
  border-radius: 999px !important;
  background: var(--cch-magenta) !important;
  color: #fff !important;
  padding: 16px 28px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 700 !important;
}

.cch-el-button-light .elementor-button {
  background: #fff !important;
  color: var(--cch-navy) !important;
}

@media (max-width: 620px) {
  .cch-el-h1 .elementor-heading-title { font-size: 3rem !important; }
}

.cch-el-application { position: relative !important; }
.cch-el-anchor { position: absolute !important; inset: 0 auto auto 0; width: 1px !important; height: 1px !important; }
.cch-el-band-manufacturer { background: #a73f91; }
.cch-manufacturer-page .cch-el-hero::after {
  background: linear-gradient(90deg, rgba(42, 19, 47, .91) 0%, rgba(64, 27, 66, .69) 43%, rgba(64, 27, 66, .1) 78%), linear-gradient(0deg, rgba(42, 19, 47, .5), transparent 55%);
}

@media (max-width: 900px) {
  .cch-manufacturer-page .cch-el-hero::after {
    background: linear-gradient(0deg, rgba(42, 19, 47, .94) 0%, rgba(64, 27, 66, .5) 75%, rgba(64, 27, 66, .16) 100%);
  }
}

/* Refined partner/manufacturer landing pages (v4). */
.cch-join-v4-hero {
  position: relative !important;
  isolation: isolate;
  width: 100% !important;
  min-height: 560px;
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr) !important;
  gap: clamp(42px, 6vw, 90px) !important;
  align-items: center !important;
  overflow: hidden;
  padding: clamp(58px, 7vw, 94px) max(24px, calc((100vw - 1240px) / 2)) !important;
  background: linear-gradient(120deg, #173b65 0%, #214b87 56%, #52609a 100%);
}

.cch-join-v4-hero::after {
  content: '';
  position: absolute;
  top: 30px;
  right: max(18px, calc((100vw - 1370px) / 2));
  width: 225px;
  height: 155px;
  z-index: -1;
  opacity: .22;
  background-image: radial-gradient(rgba(255,255,255,.85) 1.5px, transparent 1.5px);
  background-size: 17px 17px;
}

.cch-join-v4-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

.cch-join-v4-title .elementor-heading-title {
  max-width: none !important;
  margin: 0 !important;
  color: #fff !important;
  font-size: clamp(3.1rem, 4.45vw, 5.15rem) !important;
  line-height: 1.01 !important;
}

.cch-join-v4-lead {
  max-width: 650px !important;
  margin-top: 7px;
  font-size: clamp(1.08rem, 1.45vw, 1.28rem) !important;
  line-height: 1.58 !important;
}

.cch-join-v4-hero-media {
  position: relative;
  min-width: 0;
  padding: 12px 0 12px 12px;
}

.cch-join-v4-hero-media::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 12px;
  border-radius: 9px 0 0 9px;
  background: linear-gradient(to bottom, #b2449f 0 25%, #65bd42 25% 50%, #18afd0 50% 75%, #214b87 75% 100%);
}

.cch-join-v4-hero-image,
.cch-join-v4-hero-image .elementor-widget-container,
.cch-join-v4-hero-image img {
  width: 100% !important;
  height: 430px !important;
}

.cch-join-v4-hero-image {
  overflow: hidden;
  border-radius: 4px 22px 22px 4px;
  clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%, 0 11%);
  box-shadow: 0 24px 54px rgba(6, 25, 46, .3);
}

.cch-join-v4-hero-image img {
  display: block;
  object-fit: cover !important;
  object-position: center !important;
}

.cch-join-v4-hero-manufacturer .cch-join-v4-hero-image img { object-position: center 48% !important; }

.cch-join-v4-section.cch-el-section,
.cch-join-v4-section.cch-el-band {
  padding-top: clamp(52px, 5.3vw, 72px) !important;
  padding-bottom: clamp(52px, 5.3vw, 72px) !important;
}

.cch-join-v4-section .cch-el-h2 .elementor-heading-title {
  font-size: clamp(2.25rem, 3.5vw, 3.65rem) !important;
  line-height: 1.06 !important;
}

.cch-join-v4-benefits > .cch-el-eyebrow,
.cch-join-v4-benefits > .cch-el-h2,
.cch-join-v4-benefits > .cch-el-intro,
.cch-join-v4-process .cch-el-inner > .cch-el-eyebrow,
.cch-join-v4-process .cch-el-inner > .cch-el-h2,
.cch-join-v4-faq > .cch-el-eyebrow,
.cch-join-v4-faq > .cch-el-h2 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.cch-join-v4-benefits > .cch-el-intro {
  max-width: 890px !important;
}

.cch-join-v4-card-grid {
  margin-top: 28px !important;
}

.cch-join-v4-card-grid .cch-el-benefit-card {
  position: relative;
  overflow: hidden;
  min-height: 245px;
  padding: 31px !important;
  border-radius: 16px;
  box-shadow: 0 15px 38px rgba(23, 50, 77, .075);
}

.cch-join-v4-card-grid .cch-el-benefit-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: #18afd0;
}

.cch-join-v4-card-grid .cch-el-benefit-card:nth-child(2)::before { background: #b2449f; }
.cch-join-v4-card-grid .cch-el-benefit-card:nth-child(3)::before { background: #65bd42; }
.cch-join-v4-card-grid .cch-el-number .elementor-heading-title { font-size: 1rem !important; }

.cch-join-v4-fit-band {
  background: #f7f2e8 !important;
}

.cch-join-v4-fit-band .cch-el-two-col {
  gap: clamp(35px, 6vw, 82px) !important;
}

.cch-join-v4-fit-band .cch-el-checklist {
  padding: 17px 28px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(23, 50, 77, .07);
}

.cch-join-v4-fit-band .cch-el-checklist .elementor-icon-list-item {
  padding: 15px 0;
}

.cch-join-v4-process {
  background: #fff;
}

.cch-join-v4-process .cch-el-steps {
  margin-top: 27px;
}

.cch-join-v4-process .cch-el-step {
  min-height: 220px;
  border: 1px solid #e1e6ea;
  border-radius: 16px;
  box-shadow: 0 13px 34px rgba(23, 50, 77, .06);
}

.cch-join-v4-process .cch-el-step:nth-child(1) { border-top: 5px solid #18afd0; }
.cch-join-v4-process .cch-el-step:nth-child(2) { border-top: 5px solid #b2449f; }
.cch-join-v4-process .cch-el-step:nth-child(3) { border-top: 5px solid #65bd42; }
.cch-join-v4-process .cch-el-number .elementor-heading-title { font-size: 1rem !important; }

.cch-join-v4-application .cch-el-application {
  gap: clamp(35px, 5.5vw, 75px) !important;
}

.cch-join-v4-application .cch-el-h2 .elementor-heading-title {
  font-size: clamp(2.35rem, 3.8vw, 3.9rem) !important;
}

.cch-join-v4-faq {
  padding-bottom: clamp(60px, 6vw, 85px) !important;
}

.cch-join-v4-faq .cch-el-accordion {
  margin-top: 22px;
}

.cch-join-v4-faq .elementor-accordion-item {
  margin-bottom: 10px;
  overflow: hidden;
  border: 1px solid #dfe5e9 !important;
  border-radius: 11px;
  background: #fff;
}

.cch-join-v4-faq .elementor-tab-title {
  padding: 20px 22px !important;
}

.cch-field-label {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: baseline;
  gap: 4px;
  color: var(--cch-ink) !important;
}

.cch-field-label strong {
  color: #9c277f;
}

@media (max-width: 980px) {
  .cch-join-v4-hero {
    min-height: 0;
    grid-template-columns: 1fr !important;
    gap: 35px !important;
    padding: 55px 28px 48px !important;
  }

  .cch-join-v4-hero-copy { max-width: 780px; }
  .cch-join-v4-title .elementor-heading-title { font-size: clamp(3rem, 7.5vw, 4.7rem) !important; }
  .cch-join-v4-hero-media { width: min(100%, 760px) !important; }
  .cch-join-v4-hero-image,
  .cch-join-v4-hero-image .elementor-widget-container,
  .cch-join-v4-hero-image img { height: 360px !important; }
}

@media (max-width: 620px) {
  .cch-join-v4-hero {
    padding: 42px 20px 34px !important;
    gap: 28px !important;
  }

  .cch-join-v4-hero::after { display: none; }
  .cch-join-v4-title .elementor-heading-title { font-size: 2.62rem !important; line-height: 1.04 !important; }
  .cch-join-v4-lead { font-size: 1.04rem !important; line-height: 1.55 !important; }
  .cch-join-v4-hero-image,
  .cch-join-v4-hero-image .elementor-widget-container,
  .cch-join-v4-hero-image img { height: 270px !important; }
  .cch-join-v4-section.cch-el-section,
  .cch-join-v4-section.cch-el-band { padding: 46px 20px !important; }
  .cch-join-v4-section .cch-el-h2 .elementor-heading-title { font-size: 2.18rem !important; }
  .cch-join-v4-card-grid .cch-el-benefit-card,
  .cch-join-v4-process .cch-el-step { min-height: 0; }
  .cch-join-v4-fit-band .cch-el-checklist { padding: 10px 20px; }
}

/* Simplified conversion pages (v5). */
.cch-join-v5-opportunity {
  padding: clamp(58px, 6vw, 82px) 28px !important;
  background: #f7f2e8 !important;
}

.cch-join-v5-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 26px !important;
  align-items: stretch !important;
}

.cch-join-v5-panel {
  min-width: 0;
  padding: clamp(30px, 4vw, 48px) !important;
  border: 1px solid rgba(23, 50, 77, .09);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(23, 50, 77, .075);
}

.cch-join-v5-panel .cch-el-h2 .elementor-heading-title {
  font-size: clamp(2.25rem, 3.2vw, 3.45rem) !important;
  line-height: 1.06 !important;
}

.cch-join-v5-panel .cch-el-intro {
  max-width: none !important;
  color: #667680;
  font-size: 1.04rem;
  line-height: 1.72;
}

.cch-join-v5-editorial-copy p { margin: 0 0 20px; }
.cch-join-v5-editorial-copy p:last-child { margin-bottom: 0; }
.cch-join-v5-editorial-copy strong { color: var(--cch-navy); }
.cch-join-v5-editorial-copy p:first-child strong { color: var(--cch-magenta); }

.cch-join-v5-checklist {
  margin-top: 16px;
  padding: 7px 22px;
  border-radius: 16px;
  background: #f7faf9;
}

.cch-join-v5-checklist .elementor-icon-list-item {
  padding: 14px 0 !important;
  font-size: 1rem !important;
}

.cch-join-v5-location-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 23px;
}

.cch-join-v5-location-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 35px;
  padding: 7px 13px;
  border: 1px solid rgba(33, 75, 135, .13);
  border-radius: 999px;
  background: linear-gradient(135deg, #fff, #f3f8f8);
  color: var(--cch-blue);
  font-size: .86rem;
  font-weight: 700;
}

.cch-join-v4-application .cch-join-form .cch-button,
.cch-join-v4-application .cch-join-form .cch-button:hover,
.cch-join-v4-application .cch-join-form .cch-button:focus {
  background: var(--cch-navy) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  opacity: 1 !important;
}

.cch-manufacturer-page .cch-join-v4-application .cch-join-form .cch-button,
.cch-manufacturer-page .cch-join-v4-application .cch-join-form .cch-button:hover,
.cch-manufacturer-page .cch-join-v4-application .cch-join-form .cch-button:focus {
  background: #17324d !important;
}

@media (max-width: 900px) {
  .cch-join-v5-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 620px) {
  .cch-join-v5-opportunity { padding: 46px 20px !important; }
  .cch-join-v5-panel { padding: 27px 22px !important; border-radius: 17px; }
  .cch-join-v5-panel .cch-el-h2 .elementor-heading-title { font-size: 2.16rem !important; }
  .cch-join-v5-location-grid { gap: 7px; }
  .cch-join-v5-location-grid span { font-size: .8rem; padding: 6px 10px; }
}
