/* Component layout for both Elementor DOM formats, including optimized markup. */
body.lasa-site .e-con,
body.lasa-site .elementor-widget { min-width: 0; }
body.lasa-site .elementor-widget-text-editor p:first-child { margin-top: 0; }
body.lasa-site .elementor-widget-text-editor p:last-child { margin-bottom: 0; }
body.lasa-site .elementor-widget-text-editor p + p { margin-top: .75em; }
body.lasa-site .elementor-heading-title { overflow-wrap: break-word; }
body.lasa-site .elementor-button-content-wrapper { align-items: center; }
body.lasa-site .elementor-button-icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; line-height: 0; }
body.lasa-site .elementor-button-icon svg { display: block; }
body.lasa-site .lasa-footer-link .elementor-button-icon { display: none; }
body.lasa-site .lasa-pill .elementor-button-icon { display: grid; width: 38px; height: 38px; flex: 0 0 38px; }
body.lasa-site .lasa-hero-copy .lasa-hero-description.elementor-widget { max-width: 410px; }

/* The image widget itself must clip the enlarged photo: its inner wrapper is optional. */
body.lasa-site .lasa-modality-image.elementor-widget { position: relative; overflow: hidden; }
body.lasa-site .lasa-modality-image:after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg, #002c4c99, transparent 55%); }
body.lasa-site .lasa-modality-tagline { z-index: 2; bottom: 97px; }
body.lasa-site .lasa-modality-label.e-con { flex-direction: row; align-items: center; gap: 10px; padding: 12px 20px; min-height: 88px; transform: skewX(7deg); }
body.lasa-site .lasa-modality-label .lasa-modality-icon.elementor-widget { width: max-content; flex: 0 0 auto; }
body.lasa-site .lasa-modality-icon .elementor-icon { display: flex; }
body.lasa-site .lasa-modality-icon svg { width: 1em; height: 1em; }
body.lasa-site .lasa-modality-icon svg[viewBox="0 0 36 36"] path,
body.lasa-site .lasa-modality-icon svg[viewBox="0 0 36 36"] circle { fill: none; }
body.lasa-site .lasa-modality-label .lasa-modality-link.elementor-widget { width: auto; flex: 1 1 0; min-width: 0; }
body.lasa-site .lasa-modality-label .lasa-modality-link .elementor-button { transform: none; min-height: 0; }
body.lasa-site .lasa-modality-label .lasa-modality-link .elementor-button-text { flex-grow: 1; line-height: 1.45; }
body.lasa-site .lasa-modalities-bottom.e-con { align-items: center; justify-content: space-between; }
body.lasa-site .lasa-modalities-bottom > .elementor-widget { width: auto; }

/* Stable columns; percentages plus gaps previously squeezed the action labels. */
body.lasa-site .lasa-event-row.e-con { display: grid; grid-template-columns: 155px minmax(0, 1fr) 135px; gap: 24px; padding-block: 24px; align-items: center; height: auto; }
body.lasa-site .lasa-document-row.e-con { display: grid; grid-template-columns: 60px minmax(0, 1fr) 135px; gap: 24px; padding-block: 24px; align-items: center; height: auto; }
body.lasa-site .lasa-event-row.e-con > .e-con,
body.lasa-site .lasa-document-row.e-con > .e-con { width: 100%; }
body.lasa-site .lasa-row-action .elementor-button { white-space: nowrap; }
body.lasa-site .lasa-query-grid .lasa-content-card .lasa-text-link.elementor-widget { margin-top: auto; }
body.lasa-site .lasa-home-news .lasa-query-item:first-child .lasa-card-photo img { height: 420px; }

/* Native carousel controls keep their color configurable in Elementor. */
body.lasa-site .lasa-partners .elementor-image-carousel-wrapper { padding-inline: 50px; }
body.lasa-site .lasa-partners .elementor-swiper-button { min-width: 44px; min-height: 44px; display: grid; place-items: center; border: 1px solid var(--lasa-line); border-radius: 50%; background: var(--lasa-paper); }
body.lasa-site .lasa-partners .elementor-swiper-button-prev { left: 0; }
body.lasa-site .lasa-partners .elementor-swiper-button-next { right: 0; }
body.lasa-site .lasa-hero-controls .elementor-button { min-height: 44px; }
body.lasa-site .lasa-hero-prev .elementor-button-content-wrapper { flex-direction: row; }
body.lasa-site .lasa-hero-controls .elementor-button-content-wrapper { gap: 9px; }
body.lasa-site .lasa-hero-controls .elementor-button-icon { transform: none; }

/* A stable tabular counter shares the controls' exact vertical center. */
body.lasa-site .lasa-hero-controls > .e-con { width: auto; flex: 0 0 auto; flex-wrap: nowrap; gap: 14px; align-items: center; }
body.lasa-site .lasa-hero-controls .lasa-hero-counter.elementor-widget { width: 64px; min-width: 64px; flex: 0 0 64px; min-height: 44px; display: flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; white-space: nowrap; }
body.lasa-site .lasa-hero-counter p { margin: 0; line-height: 1; font-size: 12px; letter-spacing: .06em; }
body.lasa-site .lasa-hero-controls .elementor-button { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0; }
body.lasa-site .lasa-hero-controls .elementor-button-content-wrapper { align-items: center; }
body.lasa-site .lasa-hero-pause.elementor-widget { min-width: 76px; text-align: right; }

@media (hover: hover) and (pointer: fine) {
  body.lasa-site .lasa-text-link a:hover .elementor-button-icon,
  body.lasa-site .lasa-footer-map a:hover .elementor-button-icon,
  body.lasa-site .lasa-channel-link a:hover .elementor-button-icon { transform: translate(2px, -2px); }
}

/* Collapse navigation before it reaches the institutional signature. */
@media (max-width: 1100px) {
  body.lasa-site .lasa-header-inner.e-con { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  body.lasa-site .lasa-header-inner .lasa-brand.e-con { width: calc(100% - 104px); flex: 0 1 calc(100% - 104px); }
  body.lasa-site .lasa-header-inner .lasa-menu-toggle.elementor-widget { display: block; width: auto; flex: 0 0 auto; }
  body.lasa-site .lasa-menu-toggle .elementor-button-icon { display: none; }
  body.lasa-site .lasa-nav.e-con { display: none; width: 100%; flex: 0 0 100%; flex-direction: column; align-items: stretch; gap: 4px; }
  body.lasa-site .lasa-nav.e-con.is-open { display: flex; }
  body.lasa-site .lasa-nav-link .elementor-button,
  body.lasa-site .lasa-nav-contact .elementor-button { display: block; text-align: left; padding: 13px 0; font-size: 13px; }
  body.lasa-site .lasa-nav-contact .elementor-button { padding-inline: 15px; }
  body.lasa-site .lasa-menu-toggle .elementor-button,
  body.lasa-site .lasa-nav-link .elementor-button { min-height: 44px; }
  body.lasa-site .lasa-modalities-grid.e-con { flex-wrap: wrap; gap: 20px 16px; }
  body.lasa-site .lasa-modalities-grid.e-con > .lasa-modality-card.e-con { width: calc(50% - 8px); }
  body.lasa-site .lasa-event-row.e-con { grid-template-columns: 125px minmax(0, 1fr) 135px; gap: 18px; }
}

@media (max-width: 767px) {
  body.lasa-site .lasa-hero-controls > .e-con { width: 100%; justify-content: flex-start; gap: 10px; }
  body.lasa-site .lasa-hero-prev .elementor-button, body.lasa-site .lasa-hero-next .elementor-button { width: 44px; justify-content: center; padding: 0; }
  body.lasa-site .lasa-hero-prev .elementor-button-text, body.lasa-site .lasa-hero-next .elementor-button-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  body.lasa-site .lasa-hero-pause .elementor-button { padding: 0; }
  body.lasa-site .lasa-hero-copy .lasa-hero-description.elementor-widget { max-width: 330px; }
  body.lasa-site .lasa-modalities-bottom.e-con { align-items: flex-start; }
  body.lasa-site .lasa-modality-label.e-con { min-height: 88px; padding: 10px 12px; gap: 8px; }
  body.lasa-site .lasa-modality-tagline { bottom: 97px; left: 15px; width: calc(100% - 30px) !important; }
  body.lasa-site .lasa-event-row.e-con { grid-template-columns: 90px minmax(0, 1fr) 44px; gap: 12px; padding-block: 24px; }
  body.lasa-site .lasa-document-row.e-con { grid-template-columns: 30px minmax(0, 1fr) 44px; gap: 12px; padding-block: 24px; }
  body.lasa-site .lasa-row-action .elementor-widget-button { width: 44px; }
  body.lasa-site .lasa-row-action .elementor-button { display: grid; place-items: center; width: 44px; min-height: 44px; padding: 0; }
  body.lasa-site .lasa-row-action .elementor-button-content-wrapper { gap: 0; }
  body.lasa-site .lasa-row-action .elementor-button-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  body.lasa-site .lasa-home-news .lasa-query-item:first-child .lasa-card-photo img { height: 320px; }
  body.lasa-site .lasa-partners .elementor-image-carousel-wrapper { padding-inline: 42px; }
}

@media (max-width: 360px) {
  body.lasa-site .lasa-modality-label .lasa-modality-icon.elementor-widget { display: none; }
}
