/* Isolated presentation layer; original H1, lead text, banners and desktop typography remain. */
.ip-hero-responsive .ip-mobile-intro { display: contents; }
.ip-hero-responsive .ip-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.ip-hero-responsive :is(.ip-hero-court,.ip-hero-explore) { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 12px 18px; border: 1px solid rgba(255,255,255,.55); color: #fff !important; background: transparent; font: 650 12px/1.4 Arial,sans-serif; letter-spacing: 0; text-align: center; text-transform: none !important; text-decoration: none !important; }
.ip-hero-responsive :is(.ip-hero-court,.ip-hero-explore):hover { border-color: #d8c399; background: rgba(255,255,255,.08); }
.ip-hero-responsive :is(.ip-hero-court,.ip-hero-explore):focus-visible { outline: 2px solid #d8c399; outline-offset: 4px; }
.ip-hero-responsive .ip-hero-court--mobile { display: none; }
.ip-hero-has-breadcrumb .site-header-item[data-section="kadence_customizer_header_html"],
.ip-hero-has-breadcrumb .site-header-item[data-section="kadence_customizer_mobile_html"] { display: none; }
.video-stage [hidden], .dl-video-stage [hidden], .ip-video-status [hidden] { display: none !important; }
.ip-video-status { padding: 12px 0; color: #03333c; font: 14px/1.5 Arial,sans-serif; }
.ip-video-status a { display: inline-block; padding: 8px 0; text-decoration: underline; }

@media (max-width: 767px) {
  /* A further 14% reduction on mobile; no change to desktop or heading text. */
  .investipole-lyon-kadence .hero.ip-hero-responsive,
  .investipole-local-city .lc-hero.ip-hero-responsive,
  .ip-prest-body .ip-prest-hero.ip-hero-responsive { min-height: 0 !important; height: auto !important; overflow: hidden; }
  .investipole-lyon-kadence .ip-hero-responsive .hero-inner,
  .investipole-local-city .ip-hero-responsive .lc-hero-inner,
  .ip-prest-body .ip-hero-responsive .ip-prest-hero__content { width: calc(100% - 36px) !important; max-width: none !important; min-height: 0 !important; height: auto !important; margin-inline: auto !important; padding-top: var(--ip-hero-title-top,162px) !important; padding-bottom: 0 !important; display: flex !important; flex-direction: column; align-items: stretch; justify-content: flex-start !important; }
  .ip-hero-responsive .breadcrumbs,
  .ip-hero-responsive .lc-breadcrumbs,
  .ip-hero-responsive .ip-ca-breadcrumb,
  .ip-hero-responsive .ip-territory-breadcrumb { position: absolute !important; top: 100px !important; left: 0; right: 0; max-width: 100%; margin: 0 !important; font: 400 11px/1.5 Arial,sans-serif !important; }
  .investipole-lyon-kadence .ip-hero-responsive .hero-title-wrap { display: contents; }
  .investipole-lyon-kadence .ip-hero-responsive h1,
  .investipole-local-city .ip-hero-responsive h1 { order: 1; font-size: clamp(25.8px,7.138vw,38.7px) !important; line-height: 1.1 !important; margin: 0 !important; }
  .ip-prest-body .ip-hero-responsive h1 { order: 1; font-size: clamp(38.7px,12.126vw,53.32px) !important; line-height: 1.02 !important; margin: 0 !important; }
  .ip-prest-infiltration .ip-hero-responsive h1 { font-size: clamp(34.4px,10.5092vw,54.18px) !important; }
  .ip-prest-international .ip-hero-responsive h1 { font-size: clamp(38.7px,11.3176vw,56.76px) !important; }
  .ip-prest-france-proximite .ip-hero-responsive h1 { font-size: clamp(36.12px,10.5092vw,55.04px) !important; }
  .ip-hero-responsive .hero h1 em { margin-top: 12px; }
  .ip-hero-responsive .ip-hero-actions { order: 2; display: flex !important; justify-content: center; margin: max(var(--ip-hero-mobile-gap-floor,60px),var(--ip-hero-mobile-space,30px)) 0 24px !important; gap: 0 !important; }
  .ip-hero-responsive .ip-hero-actions > :not(.ip-hero-court,.ip-hero-explore) { display: none !important; }
  .ip-hero-responsive .ip-hero-primary { display: none !important; }
  .ip-hero-responsive :is(.ip-hero-court,.ip-hero-explore) { min-height: 44px; max-width: 100%; padding: 8px 10px; border: 0; border-bottom: 1px solid rgba(216,195,153,.7); background: transparent; color: #fff !important; font-size: 12px; font-weight: 600; }
  .ip-hero-responsive .ip-hero-court--mobile { display: inline-flex; align-self: center; margin: 0 !important; }
  .ip-hero-responsive .ip-mobile-intro { order: 3; display: block; width: calc(100% + 36px); max-width: none; margin: 0 -18px; padding: 18px; box-sizing: border-box; background: #f8f6f0; color: #193b42; }
  .ip-hero-responsive:not(.ip-hero-has-link) .ip-mobile-intro { margin-top: var(--ip-hero-mobile-space,30px); }
  /* Crop the photograph to its own area, rather than to the pale introduction panel. */
  .investipole-lyon-kadence .ip-hero-responsive > .hero-media,
  .investipole-lyon-kadence .ip-hero-responsive > .hero-overlay,
  .investipole-local-city .lc-hero.ip-hero-responsive > picture,
  .investipole-local-city .lc-hero.ip-hero-responsive > .lc-hero-overlay,
  .ip-prest-body .ip-hero-responsive > .ip-prest-hero__media,
  .ip-prest-body .ip-hero-responsive > .ip-prest-hero__veil { height: var(--ip-hero-mobile-photo-height,100%) !important; bottom: auto !important; }
  /* This existing prestation uses a CSS background instead of a picture element. */
  .ip-prest-infiltration .ip-prest-hero.ip-hero-responsive { background-image: none !important; }
  .ip-prest-infiltration .ip-prest-hero.ip-hero-responsive::before { content: ""; position: absolute; z-index: 0; top: 0; left: 0; right: 0; height: var(--ip-hero-mobile-photo-height,100%); background-image: linear-gradient(180deg,rgba(0,42,47,.56),rgba(0,42,47,.96) 58%),var(--ip-hero-mobile); background-size: cover; background-position: center top; }
  .ip-prest-infiltration .ip-hero-responsive > .ip-prest-hero__veil { z-index: 1; }
  .investipole-lyon-kadence .ip-hero-responsive .hero-lead,
  .investipole-local-city .ip-hero-responsive .lc-hero-lead,
  .ip-prest-body .ip-hero-responsive .ip-prest-hero__lead { max-width: 100% !important; width: auto !important; margin: 0 !important; padding: 0 !important; color: #193b42 !important; font-size: 14px !important; line-height: 1.65 !important; text-align: left !important; text-shadow: none !important; }
  .ip-prest-body .ip-hero-responsive .ip-actions:not(.ip-hero-actions),
  .ip-prest-body .ip-hero-responsive .ip-prest-hero__note,
  .ip-prest-body .ip-hero-responsive .ip-prest-hero__rail,
  .ip-prest-body .ip-hero-responsive .ip-icon-rail,
  .ip-prest-body .ip-hero-responsive .ip-kicker,
  .ip-prest-body .ip-hero-responsive .ip-eyebrow { display: none !important; }
  /* Override theme/block styles too: each anchor has a real gap and touch target. */
  .investipole-lyon-kadence .agency-jump .shell,
  .ip-prest-body .ip-jump.ip-jump--standalone > .ip-shell,
  .investipole-local-city .lc-jump > .lc-shell { display: flex !important; flex-wrap: wrap !important; justify-content: flex-start !important; align-items: center; gap: 8px 12px !important; overflow: visible !important; min-height: 0 !important; padding: 12px 0 !important; }
  .investipole-lyon-kadence .agency-jump a,
  .ip-prest-body .ip-jump.ip-jump--standalone a,
  .investipole-local-city .lc-jump a { display: inline-flex !important; flex: 0 1 auto !important; align-items: center; gap: 6px; min-height: 44px; max-width: 100%; margin: 0 !important; padding: 8px 11px !important; border: 1px solid rgba(3,51,60,.14) !important; border-radius: 3px; background: rgba(255,255,255,.6); color: #03333c !important; font: 750 12px/1.35 Arial,sans-serif !important; white-space: normal !important; text-transform: none !important; text-decoration: none !important; }
  .investipole-lyon-kadence .agency-jump a::after,
  .ip-prest-body .ip-jump.ip-jump--standalone a::after { margin-left: 2px; }
}
