/* SMAEL Hero & submenus 1.1.0 – uses the original 1.1 hero sizing and a subtle diagonal translucent photo overlay. */
.smael-hn-stage{position:relative;isolation:isolate;display:block;width:100%;height:100%;overflow:hidden;background:#182024}
.smael-hn-stage>.smael-hn-current{display:block;width:100%;height:100%;max-width:100%;object-fit:cover;object-position:center center}
.smael-hn-stage>.smael-hn-overlay{display:block!important;position:absolute!important;inset:0;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;object-position:center center!important;z-index:1;opacity:0;transition:opacity .5s ease;pointer-events:none}
.smael-hn-stage>.smael-hn-overlay-visible{opacity:1}
.smael-hn-controls{display:flex;align-items:center;justify-content:center;gap:6px;position:absolute;z-index:3;bottom:18px;right:20px;padding:6px 9px;border:1px solid rgba(255,255,255,.28);border-radius:100px;background:rgba(16,23,27,.76);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 8px 24px rgba(0,0,0,.15)}
.smael-hn-controls button{display:grid!important;place-items:center!important;flex:0 0 auto;width:40px;min-height:44px!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;color:#fff!important;font:600 24px/1 Arial,sans-serif!important;cursor:pointer;border-radius:24px!important;box-shadow:none!important;text-decoration:none!important}
.smael-hn-controls button:hover{background:rgba(255,255,255,.16)!important}
.smael-hn-controls button:focus-visible{outline:3px solid #ff8500!important;outline-offset:1px}
.smael-hn-controls .smael-hn-dot{width:28px}
.smael-hn-dot:before{content:'';width:9px;height:9px;border:1px solid white;border-radius:50%;background:transparent;transition:background-color .16s ease}
.smael-hn-dot[aria-current="true"]:before{background:#ff6500;border-color:#ff6500}
.smael-hn-controls .smael-hn-toggle{font-size:18px!important;border-left:1px solid rgba(255,255,255,.3)!important;border-radius:0!important;padding-left:6px!important}
.smael-hn-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
/* The existing v6 hero keeps the page's existing layout and image treatment. */
.v6-hero .v6-mood figure .smael-hn-stage{height:100%}
.v6-hero .v6-mood figure .smael-hn-stage>.smael-hn-current{height:100%;object-fit:cover!important}
/* Optional [smael_hero] shortcode layout for regular Elementor homepages. */
.smael-hn-shortcode{box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;width:100%;min-height:440px;overflow:hidden;border-radius:12px;background:#1b2225;color:#fff}
.smael-hn-shortcode *{box-sizing:border-box}
.smael-hn-shortcode-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:22px;padding:clamp(28px,5vw,70px);background:transparent}
.smael-hn-shortcode .smael-hn-title{margin:0;color:#fff;font-size:clamp(28px,3.7vw,54px);font-weight:750;line-height:1.13;letter-spacing:-.035em}
.smael-hn-shortcode .smael-hn-lead{margin:0;color:#e5ecec;font-size:clamp(16px,1.45vw,19px);line-height:1.65;max-width:56ch}
.smael-hn-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:4px}
.smael-hn-shortcode .smael-hn-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 22px;border-radius:7px;font-weight:650;font-size:15px;text-decoration:none!important;transition:background-color .2s ease,transform .2s ease}
.smael-hn-shortcode .smael-hn-button:hover{transform:translateY(-1px)}
.smael-hn-shortcode .smael-hn-button-primary{background:#e97527;color:#172025!important}
.smael-hn-shortcode .smael-hn-button-primary:hover{background:#f28a3d}
.smael-hn-shortcode .smael-hn-button-secondary{border:1px solid rgba(255,255,255,.57);color:#fff!important;background:transparent}
.smael-hn-shortcode .smael-hn-button-secondary:hover{background:rgba(255,255,255,.12)}
.smael-hn-shortcode-figure{position:relative;min-width:0;min-height:440px;margin:0!important;overflow:hidden;background:#1b2225}
.smael-hn-shortcode-figure>.smael-hn-stage{position:absolute;inset:0;width:100%;height:100%}
.smael-hn-shortcode-figure .smael-hn-current{width:100%;height:100%!important;object-fit:cover!important}
@media(max-width:900px){.smael-hn-controls{right:12px;bottom:12px}.smael-hn-shortcode{grid-template-columns:1fr}.smael-hn-shortcode-copy{padding:32px}.smael-hn-shortcode-figure{min-height:340px;height:340px}}
@media(max-width:600px){.smael-hn-controls{right:8px;bottom:8px;padding:4px 6px;gap:2px}.smael-hn-controls button{width:38px;min-height:44px}.v6-hero .v6-mood figure .smael-hn-current{aspect-ratio:4/3;object-fit:cover!important}.smael-hn-shortcode-copy{gap:16px;padding:26px 20px}.smael-hn-shortcode-figure{min-height:280px;height:280px}}
@media(prefers-reduced-motion:reduce){.smael-hn-stage>.smael-hn-overlay{transition:none}.smael-hn-dot:before,.smael-hn-shortcode .smael-hn-button{transition:none}}

/* SMAEL 1.3: keep the original 1.1 carousel's columns, typography and crop.
 * Render a dim copy of the CURRENT photo behind the text and add a
 * semi-transparent, diagonally cut overlay above it. The image on the right
 * remains in its original figure: its proportions, cropping and placement
 * are intentionally unchanged. */
.smael-hn-diagonal{position:relative;isolation:isolate;overflow:hidden;background:#1b2225}
.smael-hn-diagonal>.smael-hn-photo-echo{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden;background:#1b2225;opacity:.75}
.smael-hn-diagonal>.smael-hn-photo-echo>img{position:absolute;inset:0;display:block!important;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;object-position:66% center;filter:brightness(.83) saturate(.83);pointer-events:none}
.smael-hn-diagonal>.smael-hn-photo-echo>.smael-hn-echo-next{opacity:0;transition:opacity .5s ease}
.smael-hn-diagonal>.smael-hn-photo-echo>.smael-hn-echo-next.smael-hn-echo-visible{opacity:1}
/* Standalone shortcode: retain the compact 50/50 layout of version 1.1. */
.smael-hn-shortcode.smael-hn-diagonal>.smael-hn-shortcode-copy{position:relative;z-index:2;isolation:isolate;background:transparent!important}
.smael-hn-shortcode.smael-hn-diagonal>.smael-hn-shortcode-figure{position:relative;z-index:1}
.smael-hn-shortcode.smael-hn-diagonal>.smael-hn-shortcode-copy::before,
.v6-hero.smael-hn-diagonal>.v6-hero-panel::before{
  content:"";position:absolute;top:0;bottom:0;left:0;right:-19%;z-index:-1;pointer-events:none;
  background:linear-gradient(100deg,rgba(23,29,32,.91) 0%,rgba(23,29,32,.87) 55%,rgba(23,29,32,.66) 83%,rgba(23,29,32,.34) 100%);
  clip-path:polygon(0 0,100% 0,85% 100%,0 100%);
}
/* Native v6 hero: only layer a tinted photo behind its original panel.
 * DO NOT change grid widths, font sizes, spacing or page positioning. */
.v6-hero.smael-hn-diagonal>.v6-hero-panel{position:relative;z-index:2;isolation:isolate;background:transparent!important}
.v6-hero.smael-hn-diagonal>.v6-mood{position:relative;z-index:1}
/* If the user embeds [smael_hero], show that carousel rather than a duplicate native hero. */
.v6-hero.smael-hn-replaced-native{display:none!important}
@media (max-width:900px){
  .smael-hn-shortcode.smael-hn-diagonal>.smael-hn-shortcode-copy::before,
  .v6-hero.smael-hn-diagonal>.v6-hero-panel::before{
    right:0;clip-path:none;
    background:linear-gradient(95deg,rgba(23,29,32,.93),rgba(23,29,32,.80));
  }
}
@media (prefers-reduced-motion:reduce){
  .smael-hn-diagonal>.smael-hn-photo-echo>.smael-hn-echo-next{transition:none}
}
