/* ============================================================================
   Cascais Routes — Team Building (42). Phase 3c-7 standalone (corporate register).
   Scoped body.cr-team + _element_id hooks. Brand yellow/ink/warm + dark-texture
   bands (Kit body image, see memory dark-bg-image). Highlights nested-carousel +
   card CTAs (Elementor popups) and the contact form stay native/editable.
   Hooks: #cr-team-hero #cr-team-highlights #cr-team-why #cr-team-props
          #cr-team-gallery #cr-team-reviews #form
   ============================================================================ */
body.cr-team {
  --cr-yellow:#ffde01; --cr-ink:#0a0a0a; --cr-warm:#faf7f2; --cr-soft:#404040; --cr-soft2:#6b6b6b;
  --cr-line:#e7e3dc; --cr-maxw:1240px; --cr-pad:clamp(1.25rem,4vw,2.5rem);
  --cr-darktex:linear-gradient(rgba(10,10,10,.5),rgba(10,10,10,.66)),url('https://www.cascaisroutes.pt/wp-content/uploads/2024/01/Background-Site-Cascais-Routes.png');
  --fh:var(--font-heading); --fb:var(--font-body);
  background-color: var(--cr-warm) !important; background-image: none !important;
}
/* neutralise legacy section backgrounds, keep hero + dark bands + the 4 alternating
   light sections (those get an explicit beige/white bg below — 2C) */
body.cr-team .elementor:not(.elementor-144):not(.elementor-189) > .e-con.e-parent:not(#cr-team-hero):not(#cr-team-why):not(#cr-team-props):not(#form):not(#cr-team-intro):not(#cr-team-highlights):not(#cr-team-gallery):not(#cr-team-reviews) {
  background-color: transparent !important; background-image: none !important;
}
body.cr-team .elementor:not(.elementor-144):not(.elementor-189) .e-con:not(#cr-team-hero) > .elementor-background-overlay { opacity: 0 !important; }

/* 2C — alternating light-section bg (shared #f4ecdd beige with tours), woven between
   the dark-texture bands: intro beige · highlights white · gallery beige · reviews white.
   Reviews stays white so its warm review cards keep popping. */
body.cr-team #cr-team-intro      { background-color: #f4ecdd !important; background-image: none !important; }
body.cr-team #cr-team-highlights { background-color: #ffffff !important; background-image: none !important; }
body.cr-team #cr-team-gallery    { background-color: #f4ecdd !important; background-image: none !important; }
body.cr-team #cr-team-reviews    { background-color: #ffffff !important; background-image: none !important; }

/* generic section heading + yellow keyline */
body.cr-team .elementor-widget-heading .elementor-heading-title {
  font-family: var(--fh) !important; font-weight: 800 !important; text-transform: uppercase;
  letter-spacing: -.02em; line-height: 1.04; color: var(--cr-ink) !important;
  font-size: clamp(1.8rem,3.8vw,2.7rem) !important; text-align: center;
}
body.cr-team .elementor-widget-heading .elementor-heading-title::after {
  content: ""; display: block; width: clamp(56px,7vw,80px); height: 5px; border-radius: 2px;
  background: var(--cr-yellow); margin: .9rem auto 0;
}
/* generic CTA button → yellow pill */
body.cr-team .elementor-widget-button .elementor-button {
  background: var(--cr-yellow) !important; color: var(--cr-ink) !important; border: none !important;
  font-family: var(--fh) !important; font-weight: 800 !important; text-transform: uppercase; letter-spacing: .04em;
  border-radius: 999px !important; padding: .95rem 1.8rem !important; box-shadow: none !important;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), background .25s;
}
body.cr-team .elementor-widget-button .elementor-button:hover { background: #ffe838 !important; transform: translateY(-2px); }

/* ════════════════════════ HERO (mirrors the gold-standard activity hero) ════════════════════════ */
body.cr-team #cr-team-hero {
  position: relative; overflow: hidden; padding: 0 !important;
  /* fill the viewport below the 80px sticky header (header + hero = 100vh) */
  min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: flex-end;
  background-size: cover !important; background-position: center !important; background-repeat: no-repeat !important;
}
body.cr-team #cr-team-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(12,12,13,.15) 0%, rgba(12,12,13,.38) 45%, rgba(12,12,13,.72) 100%);
}
body.cr-team #cr-team-hero > .e-con-inner {
  position: relative; z-index: 2; width: 100%; max-width: var(--cr-maxw); margin-inline: auto;
  padding: 0 var(--cr-pad) clamp(2.5rem,5vw,4.5rem);
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  min-height: 100vh; min-height: 100dvh;
  row-gap: 0 !important; /* kill Elementor gap */
}
body.cr-team #cr-team-hero .elementor-widget { width: 100%; margin-bottom: 0 !important; }
body.cr-team #cr-team-hero .elementor-heading-title {
  color: #fff !important; text-align: left !important; font-weight: 800 !important; letter-spacing: -.02em;
  line-height: .98; text-transform: uppercase; font-size: clamp(2.6rem,6.5vw,6rem) !important; max-width: 16ch;
  text-shadow: 0 2px 10px rgba(0,0,0,.7); text-wrap: balance; margin: 0;
}
/* Gold Standard: yellow underline on hero H1, pinned left */
body.cr-team #cr-team-hero .elementor-heading-title::after {
  content: ""; display: block; width: clamp(60px, 9vw, 100px); height: 5px; border-radius: 2px;
  background: var(--cr-yellow); margin: clamp(.8rem, 1.5vw, 1.2rem) auto 0 0;
}
body.cr-team #cr-team-hero .elementor-widget-text-editor,
body.cr-team #cr-team-hero .elementor-widget-text-editor p {
  color: #fff !important; font-family: var(--fb); text-align: left !important;
  font-size: clamp(1.05rem,1.5vw,1.25rem); line-height: 1.6; max-width: 52ch; margin-top: 1rem;
  text-shadow: 0 1px 12px rgba(0,0,0,.55); text-transform: none !important;
}
/* the lead carries Elementor's inline-width setting (__width-initial) which also
   self-centres the widget — flush it left so it lines up with the h1, buttons and
   stat band (all start-aligned in the flex-column inner) */
body.cr-team #cr-team-hero .elementor-widget-text-editor { align-self: flex-start !important; }
body.cr-team #cr-team-hero .elementor-widget-text-editor * { text-transform: none !important; }
body.cr-team #cr-team-hero .elementor-widget-html { width: 100%; }
/* ported buttons + hero cta/meta (from activity.css, re-scoped to cr-team) */
body.cr-team .btn {
  font-family: var(--fh); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .95rem;
  display: inline-flex; align-items: center; gap: .6em; padding: .95em 1.6em; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .25s cubic-bezier(.22,1,.36,1), background .25s, color .25s, box-shadow .25s;
}
body.cr-team .btn--primary { background: var(--cr-yellow); color: var(--cr-ink); }
body.cr-team .btn--primary:hover { background: var(--cr-ink); color: var(--cr-yellow); transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(0,0,0,.4); }
body.cr-team .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
body.cr-team .btn--ghost:hover { background: #fff; color: var(--cr-ink); }
body.cr-team .btn .arr { transition: transform .25s; }
body.cr-team .btn:hover .arr { transform: translateX(4px); }
body.cr-team #cr-team-hero .hero__cta { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }
body.cr-team #cr-team-hero .hero__meta { display: flex; gap: 2rem; margin-top: 2.5rem; flex-wrap: wrap; font-family: var(--fh); text-transform: uppercase; color: #fff; }
body.cr-team #cr-team-hero .hero__meta div { border-left: 3px solid var(--cr-yellow); padding-left: .8rem; }
body.cr-team #cr-team-hero .hero__meta b { display: block; font-size: 1.5rem; font-weight: 800; line-height: 1.1; }
body.cr-team #cr-team-hero .hero__meta span { font-size: .75rem; letter-spacing: .1em; opacity: .85; }

/* ════════════════════════ INTRO (moved hero copy, editorial asymmetric band) ════════════════════════ */
body.cr-team #cr-team-intro { padding-block: clamp(3.5rem,8vw,7rem); }
body.cr-team #cr-team-intro .intro-grid {
  max-width: var(--cr-maxw); margin-inline: auto; padding-inline: var(--cr-pad);
  display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem,6vw,5rem); align-items: start;
}
body.cr-team #cr-team-intro .eyebrow {
  font-family: var(--fh); font-weight: 700; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cr-soft); display: inline-block;
}
body.cr-team #cr-team-intro h2 {
  font-family: var(--fh); font-weight: 800; text-transform: uppercase; letter-spacing: -.015em; line-height: .98;
  font-size: clamp(1.9rem,3.6vw,3rem); margin: .7rem 0 0; color: var(--cr-ink); text-wrap: balance;
}
body.cr-team #cr-team-intro h2 .hl { background: none; }
body.cr-team #cr-team-intro h2::after { content: ""; display: block; width: 64px; height: 5px; border-radius: 2px; background: var(--cr-yellow); margin-top: 1.1rem; }
body.cr-team #cr-team-intro .intro-body { max-width: 62ch; }
body.cr-team #cr-team-intro .intro-body p {
  font-family: var(--fb); font-size: clamp(1.05rem,1.3vw,1.18rem); line-height: 1.7; color: #33312e; margin-bottom: 1.1rem;
}
body.cr-team #cr-team-intro .intro-body p:last-child { margin-bottom: 0; }
body.cr-team #cr-team-intro .intro-body p strong { color: var(--cr-ink); font-weight: 700; }
@media (max-width:760px){ body.cr-team #cr-team-intro .intro-grid { grid-template-columns: 1fr; gap: 1.6rem; } body.cr-team #cr-team-intro .intro-body { max-width: none; } }

/* ════════════════════════ HIGHLIGHTS (editorial zigzag rows — Direction C) ════════════════════════ */
body.cr-team #cr-team-highlights { padding-block: clamp(3rem,7vw,5rem); }
body.cr-team #cr-team-highlights > .e-con-inner { max-width: var(--cr-maxw); margin-inline: auto; padding-inline: var(--cr-pad); }
/* section heading: left-aligned with a left keyline */
body.cr-team #cr-team-highlights > .e-con-inner > .elementor-widget-heading .elementor-heading-title { text-align: left !important; font-size: clamp(1.9rem,4vw,3rem) !important; }
body.cr-team #cr-team-highlights > .e-con-inner > .elementor-widget-heading .elementor-heading-title::after { margin-left: 0; margin-right: auto; }

/* rows stack vertically */
body.cr-team #cr-team-cards { counter-reset: exp; display: flex; flex-direction: column; gap: clamp(2.4rem,5vw,4.5rem); width: 100%; margin-top: clamp(1.6rem,3vw,2.4rem); }
body.cr-team #cr-team-cards > .e-con { counter-increment: exp; }
/* each cell becomes a 2-col row on its inner */
body.cr-team #cr-team-cards > .e-con > .e-con-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: center; max-width: none; padding: 0;
}
/* alternate sides: photo right on even rows */
body.cr-team #cr-team-cards > .e-con:nth-child(even) > .e-con-inner > .elementor-widget-call-to-action { order: 2; }

/* photo block = the CTA (cover photo, whole block clickable → popup) */
body.cr-team #cr-team-cards .elementor-widget-call-to-action,
body.cr-team #cr-team-cards .elementor-widget-call-to-action > .elementor-widget-container { position: static !important; inset: auto !important; margin: 0 !important; height: auto !important; width: 100%; }
body.cr-team #cr-team-cards .elementor-cta {
  position: relative !important; inset: auto !important; margin: 0 !important; width: 100%; height: auto !important;
  aspect-ratio: 16/9; min-height: 0 !important; border-radius: 18px; overflow: hidden; box-shadow: 0 18px 44px -18px rgba(10,10,10,.4);
}
body.cr-team #cr-team-cards .elementor-cta__bg-wrapper { position: absolute !important; inset: 0 !important; }
body.cr-team #cr-team-cards .elementor-cta__bg { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
body.cr-team #cr-team-cards > .e-con:hover .elementor-cta__bg { transform: scale(1.04); }
/* hide the CTA's overlaid content — the text lives in the text column */
body.cr-team #cr-team-cards .elementor-cta__content { display: none !important; }

/* text column = the new full-width container (block flow so the number stacks above) */
body.cr-team #cr-team-cards > .e-con > .e-con-inner > .e-con { display: block !important; padding: 0 !important; }
body.cr-team #cr-team-cards > .e-con > .e-con-inner > .e-con::before {
  content: counter(exp, decimal-leading-zero) " · Experience"; display: block; position: static !important;
  font-family: var(--fh); font-weight: 800; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cr-soft2); margin-bottom: .5rem;
}
body.cr-team #cr-team-cards .elementor-widget-heading { margin: 0; }
body.cr-team #cr-team-cards .elementor-heading-title {
  font-family: var(--fh) !important; font-weight: 800 !important; text-transform: uppercase; color: var(--cr-ink) !important; text-align: left !important;
  font-size: clamp(1.5rem,2.6vw,2.15rem) !important; line-height: 1; letter-spacing: -.01em; margin: 0;
}
body.cr-team #cr-team-cards .elementor-heading-title::after { display: none !important; }
body.cr-team #cr-team-cards .elementor-heading-title div { display: block; }
body.cr-team #cr-team-cards .elementor-widget-text-editor,
body.cr-team #cr-team-cards .elementor-widget-text-editor p {
  font-family: var(--fb) !important; font-size: 1.05rem !important; line-height: 1.6 !important; color: #33312e !important;
  margin: .9rem 0 1.4rem !important; max-width: 46ch; text-transform: none !important; text-align: left !important;
}
body.cr-team #cr-team-cards .elementor-widget-button .elementor-button {
  background: var(--cr-ink) !important; color: #fff !important; font-family: var(--fh) !important; font-weight: 800 !important;
  text-transform: uppercase; letter-spacing: .04em; border-radius: 999px !important; padding: .85rem 1.6rem !important;
  display: inline-flex; box-shadow: none !important; border: none !important; transition: background .2s, transform .2s;
}
body.cr-team #cr-team-cards .elementor-widget-button .elementor-button:hover { background: #000 !important; transform: translateY(-2px); }
@media (max-width:760px){
  body.cr-team #cr-team-cards > .e-con > .e-con-inner { grid-template-columns: 1fr; gap: 1.2rem; }
  body.cr-team #cr-team-cards > .e-con:nth-child(even) > .e-con-inner > .elementor-widget-call-to-action { order: 0; }
  body.cr-team #cr-team-cards .elementor-cta { aspect-ratio: 4/3; }
}

/* ════════════════════════ WHY CHOOSE + PROPS (one dark-texture band, aligned) ════════════════════════ */
body.cr-team #cr-team-why, body.cr-team #cr-team-props {
  background-color: #14130f !important;
  background-image: var(--cr-darktex) !important; background-size: cover !important; background-position: center !important;
}
body.cr-team #cr-team-why { padding-block: clamp(3.5rem,7vw,6rem) clamp(1rem,2vw,1.5rem); margin-bottom: 0 !important; }
body.cr-team #cr-team-props { padding-block: clamp(1.5rem,3vw,2.5rem) clamp(3.5rem,7vw,6rem); margin-top: 0 !important; }
body.cr-team #cr-team-why > .e-con-inner, body.cr-team #cr-team-props > .e-con-inner { max-width: var(--cr-maxw); margin-inline: auto; padding-inline: var(--cr-pad); }
/* 2-col header: heading left (with eyebrow), copy right, baseline-aligned */
body.cr-team #cr-team-why > .e-con-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.5rem,5vw,4rem); align-items: end; }
body.cr-team #cr-team-why .elementor-widget-heading::before {
  content: "Why us"; display: block; font-family: var(--fh); font-weight: 700; font-size: .8rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--cr-yellow); margin-bottom: .5rem;
}
body.cr-team #cr-team-why .elementor-heading-title {
  color: #fff !important; text-align: left !important; font-family: var(--fh) !important; font-weight: 800 !important;
  text-transform: uppercase; letter-spacing: -.02em; line-height: .98; font-size: clamp(2rem,4.2vw,3.2rem) !important; margin: 0;
}
body.cr-team #cr-team-why .elementor-heading-title::after { display: none !important; }
body.cr-team #cr-team-why .elementor-widget-text-editor,
body.cr-team #cr-team-why .elementor-widget-text-editor p {
  color: #dcd9d3 !important; font-family: var(--fb); font-size: clamp(1.05rem,1.4vw,1.18rem); line-height: 1.65;
  max-width: 60ch; margin: 0 0 1rem; text-align: left !important; text-transform: none !important;
}
body.cr-team #cr-team-why .elementor-widget-text-editor p:last-child { margin-bottom: 0; }
body.cr-team #cr-team-why .elementor-widget-text-editor strong { color: #fff; }
/* 3 aligned props: top hairline + icon tile + yellow label + desc, left-aligned */
body.cr-team #cr-team-props > .e-con-inner { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(1.5rem,3vw,2.5rem); }
body.cr-team #cr-team-props .e-con:has(.elementor-widget-image) { text-align: left; padding: 1.3rem 0 0 !important; border-top: 2px solid rgba(255,255,255,.16); width: 100%; min-width: 0; align-items: flex-start; justify-content: flex-start !important; }
body.cr-team #cr-team-props .elementor-widget-image { width: 52px; height: 52px; margin: 0 0 1rem; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: rgba(255,255,255,.05); }
body.cr-team #cr-team-props .elementor-widget-image img { width: 26px; height: 26px; filter: brightness(0) invert(1); display: block; margin-top: 10px; }
body.cr-team #cr-team-props .elementor-widget-text-editor { text-align: left; color: #cfccc6 !important; font-family: var(--fb);
  font-size: .98rem; line-height: 1.55; margin-top: 0; text-transform: none !important; }
body.cr-team #cr-team-props .elementor-widget-text-editor strong {
  display: block; font-family: var(--fh); font-weight: 800; text-transform: uppercase; letter-spacing: .02em;
  font-size: 1.1rem; color: var(--cr-yellow); margin-bottom: .4rem;
}
body.cr-team #cr-team-props .elementor-widget-text-editor p { margin: 0; max-width: 32ch; }

@media (max-width:760px){
  body.cr-team #cr-team-why > .e-con-inner { grid-template-columns: 1fr; gap: 1rem; align-items: start; }
  body.cr-team #cr-team-props > .e-con-inner { grid-template-columns: 1fr; gap: 1.6rem; }
}

/* ════════════════════════ GALLERY (heading + editable-image mosaic) ════════════════════════ */
body.cr-team #cr-team-gallery { padding-block: clamp(3rem,6vw,5rem); }
body.cr-team #cr-team-gallery > .e-con-inner { max-width: var(--cr-maxw); margin-inline: auto; padding-inline: var(--cr-pad); }
body.cr-team #cr-gal-head { margin-bottom: clamp(1.6rem,3vw,2.4rem); }
body.cr-team #cr-gal-head .elementor-heading-title { text-align: left !important; font-size: clamp(1.8rem,3.6vw,2.8rem) !important; }
body.cr-team #cr-gal-head .elementor-heading-title::before {
  content: "A day with us"; display: block; font-family: var(--fh); font-weight: 700; font-size: .8rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--cr-soft); margin-bottom: .4rem;
}
body.cr-team #cr-gal-head .elementor-heading-title::after { margin-left: 0; margin-right: auto; }
/* mosaic of 4 editable image widgets */
body.cr-team #cr-gal-grid { display: grid; grid-template-columns: repeat(4,1fr); grid-auto-rows: 148px; gap: .7rem; width: 100%; }
body.cr-team #cr-gal-grid .elementor-widget-image,
body.cr-team #cr-gal-grid .elementor-widget-image > .elementor-widget-container,
body.cr-team #cr-gal-grid .elementor-widget-image figure,
body.cr-team #cr-gal-grid .elementor-widget-image a { height: 100%; margin: 0; }
body.cr-team #cr-gal-grid .elementor-widget-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; display: block; }
body.cr-team #cr-gal-grid > .elementor-widget-image:nth-child(1) { grid-column: 1/3; grid-row: 1/3; }
body.cr-team #cr-gal-grid > .elementor-widget-image:nth-child(2) { grid-column: 3/4; grid-row: 1/2; }
body.cr-team #cr-gal-grid > .elementor-widget-image:nth-child(3) { grid-column: 4/5; grid-row: 1/2; }
body.cr-team #cr-gal-grid > .elementor-widget-image:nth-child(4) { grid-column: 3/5; grid-row: 2/3; }
@media (max-width:760px){
  body.cr-team #cr-gal-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
  body.cr-team #cr-gal-grid > .elementor-widget-image:nth-child(1){ grid-column: 1/3; grid-row: 1/2; }
  body.cr-team #cr-gal-grid > .elementor-widget-image:nth-child(2){ grid-column: 1/2; grid-row: 2/3; }
  body.cr-team #cr-gal-grid > .elementor-widget-image:nth-child(3){ grid-column: 2/3; grid-row: 2/3; }
  body.cr-team #cr-gal-grid > .elementor-widget-image:nth-child(4){ grid-column: 1/3; grid-row: 3/4; }
}

/* ════════════════════════ REVIEWS (canonical literal-HTML card grid — matches activity/club) ════════════════════════ */
body.cr-team #cr-team-reviews { padding-block: clamp(3rem,7vw,5rem); background: #fff; }
body.cr-team #cr-team-reviews > .e-con-inner { max-width: var(--cr-maxw); margin-inline: auto; padding-inline: var(--cr-pad); }
body.cr-team #cr-team-reviews .elementor-widget-html .elementor-widget-container { margin-top: clamp(1.6rem,3vw,2.4rem); }
body.cr-team .reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px,1fr)); gap: 1.3rem; }
body.cr-team .review {
  display: flex; flex-direction: column; background: var(--cr-warm);
  border: 1px solid var(--cr-line); border-radius: 20px; padding: 1.8rem; margin: 0;
}
body.cr-team .review .stars { color: var(--cr-yellow); font-size: 1rem; letter-spacing: 2px; margin-bottom: .8rem; }
body.cr-team .review p {
  font-family: var(--fb); font-size: .97rem; line-height: 1.6; color: var(--cr-ink); flex: 1; font-style: italic; margin: 0;
}
body.cr-team .review figcaption {
  margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--cr-line);
}
body.cr-team .review figcaption b {
  display: block; font-family: var(--fh); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em;
  font-size: .92rem; color: var(--cr-ink); line-height: 1.2;
}
body.cr-team .review figcaption span {
  display: block; font-family: var(--fb); font-size: .74rem; color: var(--cr-soft2); margin-top: .2rem; font-style: normal;
}

/* ════ REVIEWS CAROUSEL ════ */
body.cr-team .cr-carousel { position: relative; }
body.cr-team .cr-carousel__wrap { overflow: hidden; }
body.cr-team .cr-carousel__track {
  display: flex; gap: 1.3rem; flex-wrap: nowrap;
  transition: transform .45s cubic-bezier(.25,.46,.45,.94); will-change: transform;
}
body.cr-team .cr-carousel__slide { flex: 0 0 auto; min-width: 0; }
body.cr-team .cr-carousel__slide .review { height: 100%; margin: 0; }
body.cr-team .cr-carousel__nav {
  display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: 1.8rem;
}
body.cr-team .cr-carousel__btn {
  background: none; border: 2px solid var(--cr-yellow); color: var(--cr-yellow);
  width: 42px; height: 42px; border-radius: 50%; font-size: 1.8rem; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s; flex-shrink: 0;
}
body.cr-team .cr-carousel__btn:hover:not(:disabled) { background: var(--cr-yellow); color: #14130f; }
body.cr-team .cr-carousel__btn:disabled { opacity: .3; cursor: default; }
body.cr-team .cr-carousel__dots { display: flex; gap: .5rem; align-items: center; }
body.cr-team .cr-carousel__dot {
  width: 8px; height: 8px; border-radius: 50%; background: #ccc; border: none; cursor: pointer;
  transition: background .2s, transform .2s; padding: 0;
}
body.cr-team .cr-carousel__dot.is-active { background: var(--cr-yellow); transform: scale(1.3); }

/* ════════════════════════ CONTACT (#form) — dark-texture band + form card ════════════════════════ */
body.cr-team #cr-team-reviews { margin-bottom: 0 !important; }
body.cr-team #form {
  margin-top: 0 !important;   /* kill cream gap above the dark band */
  background-color: #14130f !important;
  background-image: var(--cr-darktex) !important; background-size: cover !important; background-position: center !important;
  padding-block: clamp(3.4rem,7vw,5rem);
}
body.cr-team #form > .e-con-inner {
  max-width: var(--cr-maxw); margin-inline: auto; padding-inline: var(--cr-pad);
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: center;
}
/* grid children must fill their tracks (Elementor flex containers shrink to content otherwise) */
body.cr-team #form > .e-con-inner > .e-con { width: 100% !important; min-width: 0; justify-self: stretch; }
/* lead column */
body.cr-team #form > .e-con-inner > .e-con:first-child { color: #dcd9d3; align-items: flex-start; }
body.cr-team #form > .e-con-inner > .e-con:first-child > .elementor-widget-heading { width: 100%; }
body.cr-team #form > .e-con-inner > .e-con:first-child .elementor-heading-title {
  color: #fff !important; text-align: left !important; width: 100%;
  font-size: clamp(1.9rem,3.2vw,2.6rem) !important; line-height: 1.02; text-wrap: balance;
}
body.cr-team #form > .e-con-inner > .e-con:first-child .elementor-heading-title::after { margin-left: 0; margin-right: auto; }
/* the form card */
body.cr-team #form > .e-con-inner > .e-con:last-child {
  background: #fff !important; border-radius: 18px; padding: clamp(1.5rem,3vw,2.2rem) !important;
  min-width: 0; overflow: hidden;
}
body.cr-team #form > .e-con-inner > .e-con:last-child .elementor-heading-title {
  color: var(--cr-ink) !important; text-align: left !important; font-size: 1.2rem !important;
}
body.cr-team #form > .e-con-inner > .e-con:last-child .elementor-heading-title::after { display: none; }
/* flex-shrink 0 → authored widths wrap instead of squeezing (prefix 33 + phone 67 row) */
body.cr-team #form .elementor-field-group { margin-bottom: .95rem; flex-shrink: 0; }
/* field labels — un-hide Elementor's screen-only class + style */
body.cr-team #form .elementor-field-group > label,
body.cr-team #form .elementor-field-label {
  display: block !important; position: static !important; width: auto !important; height: auto !important;
  clip: auto !important; clip-path: none !important; overflow: visible !important; white-space: normal !important;
  font-family: var(--fh) !important; font-weight: 700 !important; text-transform: uppercase;
  letter-spacing: .04em; font-size: .72rem !important; color: var(--cr-soft) !important; margin: 0 0 .35rem !important; padding: 0;
}
body.cr-team #form .elementor-field {
  font-family: var(--fb) !important; border: 1px solid var(--cr-line) !important; border-radius: 10px !important;
  background: var(--cr-warm) !important; padding: .8rem .9rem !important; width: 100%; max-width: 100%; color: var(--cr-ink) !important;
}
body.cr-team #form .elementor-field::placeholder { color: var(--cr-soft2) !important; opacity: 1; }
/* keep the reCAPTCHA inside the white card */
body.cr-team #form .elementor-field-type-recaptcha,
body.cr-team #form .elementor-g-recaptcha { max-width: 100%; overflow: hidden; }
body.cr-team #form .elementor-button[type="submit"], body.cr-team #form .e-form__buttons button {
  background: var(--cr-ink) !important; color: #fff !important; font-family: var(--fh) !important; font-weight: 800 !important;
  text-transform: uppercase; letter-spacing: .04em; border-radius: 999px !important; padding: .95rem 1.6rem !important; width: 100%;
  transition: background .2s, transform .2s;
}
body.cr-team #form .elementor-button[type="submit"]:hover, body.cr-team #form .e-form__buttons button:hover { background: #000 !important; transform: translateY(-2px); }
@media (max-width:760px){ body.cr-team #form > .e-con-inner { grid-template-columns: 1fr; align-items: start; } }

@media (prefers-reduced-motion:reduce){
  body.cr-team #cr-team-cards .elementor-cta__bg, body.cr-team .elementor-button,
  body.cr-team #cr-team-cards > .e-con::after, body.cr-team #cr-team-cards .elementor-cta__button { transition: none; }
}

/* ════════════ "Learn more" POPUPS (5260/61/65/70/73/76/79) ════════════
   Popup templates kept legacy white text from the old dark design, but the
   popup content background is white → body copy was invisible. Force ink. */
body.cr-team .elementor-popup-modal .elementor-widget-text-editor,
body.cr-team .elementor-popup-modal .elementor-widget-text-editor p,
body.cr-team .elementor-popup-modal .elementor-widget-text-editor li {
  color: var(--cr-ink) !important;
}
body.cr-team .elementor-popup-modal .elementor-widget-text-editor a { color: inherit; }

/* ════════════ VIDEO MODAL ════════════ */
body.cr-team #cr-video-modal {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.82); align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}
body.cr-team #cr-video-modal.is-open { display: flex; }
body.cr-team #cr-video-modal__inner {
  position: relative; width: min(90vw, 960px); aspect-ratio: 16/9;
}
body.cr-team #cr-video-modal iframe {
  width: 100%; height: 100%; border: none; border-radius: 8px;
}
body.cr-team #cr-video-modal__close {
  position: absolute; top: -2.4rem; right: 0; background: none; border: none;
  color: #fff; font-size: 2rem; cursor: pointer; line-height: 1; opacity: .8;
}
body.cr-team #cr-video-modal__close:hover { opacity: 1; }
