/* Homepage-only gallery. Scoped to avoid affecting the account panel or other components. */
.fameno-home-gallery{direction:rtl;display:grid;grid-template-columns:minmax(0,2.12fr) minmax(220px,.92fr);column-gap:22px;row-gap:16px;align-items:stretch;width:100%;max-width:1240px;margin:0 auto;padding:30px 42px 18px 52px;box-sizing:border-box}
.fameno-home-gallery *{box-sizing:border-box}
.fameno-home-gallery__main{position:relative;min-width:0;overflow:hidden;border-radius:25px;aspect-ratio:15/8;background:#eaf2f7;isolation:isolate}
.fameno-home-gallery__slides{position:absolute;inset:0}
.fameno-home-gallery__slide{position:absolute;inset:0;display:block;width:100%;height:100%;overflow:hidden;opacity:0;visibility:hidden;transition:opacity .55s ease,visibility .55s ease;pointer-events:none}
.fameno-home-gallery__slide.is-active{opacity:1;visibility:visible;pointer-events:auto;z-index:1}
.fameno-home-gallery__slide img,.fameno-home-gallery__side--top img,.fameno-home-gallery__side--bottom img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.fameno-home-gallery__dots{position:absolute;z-index:4;left:0;right:0;bottom:23px;display:flex;align-items:center;justify-content:center;gap:8px;direction:ltr;pointer-events:auto}
.fameno-home-gallery__dot{display:block;flex:0 0 8px;width:8px;height:8px;min-width:8px;margin:0;padding:0;border:1px solid rgba(255,255,255,.9);border-radius:999px;background:rgba(255,255,255,.58);box-shadow:0 1px 5px rgba(0,25,45,.24);cursor:pointer;transition:width .2s ease,flex-basis .2s ease,background-color .2s ease,transform .2s ease}
.fameno-home-gallery__dot.is-active{flex-basis:22px;width:22px;background:rgba(0,136,151,.78);border-color:rgba(255,255,255,.95)}
.fameno-home-gallery__dot:focus-visible{outline:2px solid #fff;outline-offset:3px}
.fameno-home-gallery__progress{position:absolute;z-index:3;left:5%;right:5%;bottom:13px;height:4px;border-radius:999px;overflow:hidden;background:rgba(255,255,255,.5);pointer-events:none}
.fameno-home-gallery__progress span{display:block;width:100%;height:100%;background:rgba(0,136,151,.5);transform:scaleX(0);transform-origin:right center}
.fameno-home-gallery__progress span.is-running{animation:fameno-home-gallery-progress linear forwards}
@keyframes fameno-home-gallery-progress{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.fameno-home-gallery__side{min-width:0;display:flex;flex-direction:column;gap:16px;align-self:stretch}
.fameno-home-gallery__side--top,.fameno-home-gallery__side--bottom{display:block;position:relative;overflow:hidden;border-radius:24px;background:#eaf2f7;min-width:0;transition:transform .24s ease,box-shadow .24s ease}
.fameno-home-gallery__side--top{aspect-ratio:600/260}
.fameno-home-gallery__side--bottom{aspect-ratio:600/470}
.fameno-home-gallery__side--top img,.fameno-home-gallery__side--bottom img{position:absolute;inset:0;transition:transform .45s ease}
@media(hover:hover) and (pointer:fine){.fameno-home-gallery__side--top:hover,.fameno-home-gallery__side--bottom:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(0,38,75,.13)}.fameno-home-gallery__side--top:hover img,.fameno-home-gallery__side--bottom:hover img{transform:scale(1.025)}}
.fameno-home-gallery-config-note{margin:30px 20px;padding:18px 22px;border:1px dashed #c8d7e3;border-radius:14px;background:#f7fafc;color:#415466;line-height:1.9}
.fameno-home-gallery-config-note a{color:#007e94;font-weight:700;text-decoration:underline}
.fameno-home-gallery:not(.has-main){grid-template-columns:1fr}
.fameno-home-gallery:not(.has-main) .fameno-home-gallery__side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
@media(max-width:900px){.fameno-home-gallery{grid-template-columns:minmax(0,1.65fr) minmax(190px,.9fr);gap:12px;padding:24px 24px 16px 30px}.fameno-home-gallery__main{border-radius:20px}.fameno-home-gallery__side{gap:12px}.fameno-home-gallery__side--top,.fameno-home-gallery__side--bottom{border-radius:18px}}
@media(max-width:680px){.fameno-home-gallery{display:flex;flex-direction:column;gap:12px;padding:18px 14px 12px}.fameno-home-gallery__main{width:100%;aspect-ratio:15/8;border-radius:17px}.fameno-home-gallery__dots{bottom:18px;gap:7px}.fameno-home-gallery__dot{width:7px;height:7px;min-width:7px;flex-basis:7px}.fameno-home-gallery__dot.is-active{width:20px;flex-basis:20px}.fameno-home-gallery__progress{bottom:9px;height:3px}.fameno-home-gallery__side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%}.fameno-home-gallery__side--top,.fameno-home-gallery__side--bottom{border-radius:14px}.fameno-home-gallery:not(.has-main) .fameno-home-gallery__side{grid-template-columns:repeat(2,minmax(0,1fr))}.fameno-home-gallery.hide-side-mobile .fameno-home-gallery__side{display:none !important}}
@media(max-width:420px){.fameno-home-gallery{padding-inline:10px}.fameno-home-gallery__side{grid-template-columns:1fr}.fameno-home-gallery__side--top{aspect-ratio:600/260}.fameno-home-gallery__side--bottom{aspect-ratio:600/390}.fameno-home-gallery:not(.has-main) .fameno-home-gallery__side{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.fameno-home-gallery__slide,.fameno-home-gallery__side--top,.fameno-home-gallery__side--bottom,.fameno-home-gallery__side img{transition:none}.fameno-home-gallery__progress span.is-running{animation:none;transform:scaleX(1)}}

/* Homepage layout: constrain the gallery to the site's content width and increase its physical left gutter. */
body.home .elementor.elementor-36 > .fameno-home-gallery,
body.front-page .elementor.elementor-36 > .fameno-home-gallery{
  width:calc(100% - 48px) !important;
  max-width:1140px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  padding:30px 32px 18px 78px !important;
  column-gap:30px !important;
}
@media (max-width:900px){
  body.home .elementor.elementor-36 > .fameno-home-gallery,
  body.front-page .elementor.elementor-36 > .fameno-home-gallery{
    width:calc(100% - 32px) !important;
    padding:24px 26px 16px 38px !important;
    column-gap:16px !important;
  }
}
@media (max-width:680px){
  body.home .elementor.elementor-36 > .fameno-home-gallery,
  body.front-page .elementor.elementor-36 > .fameno-home-gallery{
    width:calc(100% - 20px) !important;
    padding:18px 12px 12px !important;
    column-gap:12px !important;
  }
}
/* Sticky must be applied to Elementor's OUTER header wrapper. The inner header alone is
   constrained by its short parent and therefore cannot remain fixed during page scrolling. */
body.home header.elementor-location-header,
body.front-page header.elementor-location-header{
  position:sticky !important;
  top:0 !important;
  z-index:10000 !important;
  width:100%;
  max-width:100%;
  margin:0;
  overflow:visible !important;
  background:transparent;
}
/* Keep the inner header in normal flow inside the sticky wrapper to prevent overlap with the gallery. */
body.home header.elementor-location-header > .fameno-header,
body.front-page header.elementor-location-header > .fameno-header{
  position:relative !important;
  top:auto !important;
  z-index:auto;
  width:100%;
  max-width:100%;
}
body.home header.elementor-location-header .fameno-header.is-scrolled,
body.front-page header.elementor-location-header .fameno-header.is-scrolled{
  box-shadow:0 8px 24px rgba(0,30,55,.12);
  backdrop-filter:blur(14px);
}
body.home header.elementor-location-header .fameno-header.is-hidden,
body.front-page header.elementor-location-header .fameno-header.is-hidden{transform:translateY(-110%);}
body.admin-bar.home header.elementor-location-header,
body.admin-bar.front-page header.elementor-location-header{top:32px !important;}
@media(max-width:782px){body.admin-bar.home header.elementor-location-header,body.admin-bar.front-page header.elementor-location-header{top:46px !important;}}
@media(max-width:600px){body.admin-bar.home header.elementor-location-header,body.admin-bar.front-page header.elementor-location-header{top:0 !important;}}
.elementor-36 .elementor-element.elementor-element-7e48325a.fameno-10-items{position:relative;z-index:1;transform:none !important;margin-top:26px !important;clear:both;}
@media(max-width:680px){.elementor-36 .elementor-element.elementor-element-7e48325a.fameno-10-items{margin-top:18px !important;}}
