/* Additions on top of the original Avada CSS (avada-raw.css). Keep this file small. */

/* ---- Static hero (replaces Slider Revolution) ---------------------------------------------------------------- */
.np-hero { position: relative; width: 100%; overflow: hidden; background: #000; }
.np-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.np-hero__grid { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); container-type: inline-size; }
.np-hero__layer { position: absolute; color: #fff; white-space: nowrap; font-family: 'Poppins', sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.np-hero__btn { display: inline-block; white-space: normal; text-decoration: none; color: #fff; transition: all .2s; box-sizing: border-box; }
.np-hero__btn:hover { color: var(--hover, #d1008b) !important; background: #fff !important; }

/* One block per RevSlider device range: 0 desktop, 1 notebook, 2 tablet, 3 mobile */
@media (min-width: 1240px) {
  .np-hero { height: var(--maxh0); }
  .np-hero__grid { width: min(100%, calc(var(--maxh0) * var(--ar0))); aspect-ratio: var(--ar0); height: auto; }
  .np-hero__layer { left: var(--l0); top: var(--t0); transform: var(--tf0); font-size: calc(var(--fs0) * 100cqw); line-height: calc(var(--lh0) * 100cqw); font-weight: var(--fw0); text-align: var(--ta0); padding: var(--pad0); text-shadow: var(--tsh0); }
  .np-hide-0 { display: none !important; }
}
@media (min-width: 1024px) and (max-width: 1239px) {
  .np-hero { aspect-ratio: var(--ar1); height: auto; }
  .np-hero__grid { width: 100%; }
  .np-hero__layer { left: var(--l1); top: var(--t1); transform: var(--tf1); font-size: calc(var(--fs1) * 100cqw); line-height: calc(var(--lh1) * 100cqw); font-weight: var(--fw1); text-align: var(--ta1); padding: var(--pad1); text-shadow: var(--tsh1); }
  .np-hide-1 { display: none !important; }
}
@media (min-width: 778px) and (max-width: 1023px) {
  .np-hero { aspect-ratio: var(--ar2); height: auto; }
  .np-hero__grid { width: 100%; }
  .np-hero__layer { left: var(--l2); top: var(--t2); transform: var(--tf2); font-size: calc(var(--fs2) * 100cqw); line-height: calc(var(--lh2) * 100cqw); font-weight: var(--fw2); text-align: var(--ta2); padding: var(--pad2); text-shadow: var(--tsh2); }
  .np-hide-2 { display: none !important; }
}
@media (max-width: 777px) {
  .np-hero { aspect-ratio: var(--ar3); height: auto; }
  .np-hero__grid { width: 100%; }
  .np-hero__layer { left: var(--l3); top: var(--t3); transform: var(--tf3); font-size: calc(var(--fs3) * 100cqw); line-height: calc(var(--lh3) * 100cqw); font-weight: var(--fw3); text-align: var(--ta3); padding: var(--pad3); text-shadow: var(--tsh3); }
  .np-hide-3 { display: none !important; }
}

/* ---- Mobile menu (Avada toggles these classes with jQuery; site.js does the same) --------------------------- */
.fusion-mobile-nav-holder.np-open { display: block; }

/* ---- Instagram feed (rendered by site.js from /api/instagram, same markup as Smash Balloon) ------------------ */
#sb_instagram .sbi_photo { display: block; aspect-ratio: 1 / 1; background-size: cover; background-position: center; }
#sb_instagram .sbi_photo img { width: 100%; height: 100%; object-fit: cover; }
#sb_instagram.np-loading #sbi_images { min-height: 120px; }
/* Smash Balloon starts items at opacity 0 and fades them in with its own JS */
#sb_instagram .sbi_item { opacity: 1 !important; transition: opacity .3s; }

/* ---- Image carousel (Avada/Swiper replacement) ---- */
.np-carousel { overflow: hidden; }
.np-carousel .swiper-wrapper { display: flex; flex-wrap: nowrap; will-change: transform; }
.np-carousel .swiper-slide { flex: 0 0 auto; }
.np-carousel .swiper-slide img { width: 100%; height: auto; }

/* Mobile footer spacing as on the WordPress site (Avada's JS/conditional CSS removed these there) */
@media only screen and (max-width: 800px) {
  .fusion-footer-widget-area .fusion-column.fusion-column-last { margin-bottom: 0; }
  .fusion-copyright-notice { padding-bottom: 0; }
}

/* ==== Main navigation (Nov 2026 redesign, replaces Avada's header) ============================================ */
.np-nav { --np-ink: #24414b; --np-teal: #5f99af; --np-teal-d: #2f6377; --np-pink: #d1008b; --np-tint: #f1f7f9; --np-line: #e3ecef;
  position: sticky; top: 0; z-index: 1000; background: #fff; border-bottom: 1px solid var(--np-line); font-family: Poppins, Arial, Helvetica, sans-serif; }
.np-nav a { text-decoration: none; }
.np-nav ul { list-style: none; margin: 0; padding: 0; }
.np-nav__bar { position: relative; height: 84px; box-sizing: border-box; padding: 0 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.np-nav__logo { display: flex; flex: none; }
.np-nav__logo img { width: 163px; height: auto; display: block; }
.np-nav__list { display: flex; align-items: center; gap: 34px; }
.np-nav__item { position: relative; height: 84px; display: flex; align-items: center; }
.np-nav__item--mega { position: static; }
.np-nav__top { display: flex; align-items: center; gap: 7px; height: 100%; padding: 0; border: 0; background: none; cursor: pointer;
  font: 500 15px/1 Poppins, Arial, sans-serif; letter-spacing: .3px; color: var(--np-teal-d); white-space: nowrap; }
.np-nav__top:hover, .np-nav__item.is-open > .np-nav__top, .np-nav__item.is-current > .np-nav__top { color: var(--np-ink); }
.np-nav__item.is-open > .np-nav__top, .np-nav__item.is-current > .np-nav__top { box-shadow: inset 0 -3px 0 var(--np-teal); }
.np-nav__chev { transition: transform .15s; }
.np-nav__item.is-open .np-nav__chev { transform: rotate(180deg); }
.np-nav__panel { position: absolute; top: 84px; left: -20px; min-width: 290px; box-sizing: border-box; padding: 10px; background: #fff;
  border-radius: 0 0 10px 10px; box-shadow: 0 18px 40px rgba(20,50,60,.16); visibility: hidden; opacity: 0; transform: translateY(-4px);
  transition: opacity .15s, transform .15s, visibility 0s linear .15s; }
.np-nav__item.is-open > .np-nav__panel { visibility: visible; opacity: 1; transform: none; transition: opacity .15s, transform .15s; }
.np-nav__panel a { display: block; padding: 11px 16px; border-radius: 6px; font-size: 15px; line-height: 1.35; color: var(--np-ink); white-space: nowrap; }
.np-nav__panel a:hover, .np-nav__panel a:focus-visible { background: var(--np-tint); color: var(--np-ink); }
.np-nav__panel a[aria-current="page"] { background: var(--np-tint); font-weight: 500; }
.np-nav__panel--mega { left: 50%; transform: translate(-50%, -4px); width: min(1040px, calc(100vw - 48px)); padding: 32px; display: flex; gap: 40px; }
.np-nav__item.is-open > .np-nav__panel--mega { transform: translate(-50%, 0); }
.np-nav__group { flex: 1; min-width: 0; }
.np-nav__group-title { margin: 0 0 8px; padding-bottom: 12px; border-bottom: 1px solid var(--np-line); font-size: 12px; font-weight: 600; letter-spacing: 1.3px; text-transform: uppercase; color: var(--np-teal-d); }
.np-nav__group a { padding: 9px 12px; margin: 0 -12px; white-space: normal; }
.np-nav__side { flex: none; width: 250px; box-sizing: border-box; padding: 26px; background: var(--np-tint); border-radius: 8px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.np-nav__side-title { margin: 0 0 10px; font-size: 20px; font-weight: 500; color: var(--np-ink); }
.np-nav__side .np-nav__side-link { padding: 0; margin: 0; font-size: 15px; font-weight: 500; color: var(--np-teal-d); text-decoration: underline; text-underline-offset: 3px; }
.np-nav__side .np-nav__side-link:hover { background: none; }
.np-nav__tools { display: flex; align-items: center; gap: 22px; flex: none; }
.np-nav__lang { display: flex; border: 1px solid var(--np-line); border-radius: 6px; overflow: hidden; font-size: 13px; font-weight: 500; letter-spacing: .5px; }
.np-nav__lang a { padding: 7px 11px; color: var(--np-teal-d); }
.np-nav__lang a[aria-current] { background: var(--np-tint); color: var(--np-ink); }
.np-nav__lang a:hover { color: var(--np-ink); }
.np-nav__login { display: flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 500; color: var(--np-teal-d); white-space: nowrap; }
.np-nav__login:hover { color: var(--np-ink); }
.np-nav .np-nav__cta { display: inline-block; padding: 12px 22px; background: var(--np-pink); color: #fff; font-size: 15px; font-weight: 500; line-height: 1.2; border-radius: 4px; white-space: nowrap; }
.np-nav .np-nav__cta:hover { background: #b0007a; color: #fff; }
.np-nav .np-nav__cta--small { align-self: flex-start; padding: 11px 18px; font-size: 14px; }
.np-nav__burger { display: none; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; color: var(--np-teal-d); cursor: pointer; align-items: center; justify-content: center; }
.np-nav__burger-close { display: none; }
.np-nav__burger[aria-expanded="true"] .np-nav__burger-open { display: none; }
.np-nav__burger[aria-expanded="true"] .np-nav__burger-close { display: block; }
.np-nav__mobile { border-top: 1px solid var(--np-line); background: #fff; max-height: calc(100vh - 64px); overflow-y: auto; }
.np-nav__mobile[hidden] { display: none; }
.np-nav__mtop { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 56px; box-sizing: border-box; padding: 0 24px; border: 0; border-bottom: 1px solid var(--np-line); background: none; cursor: pointer;
  font: 500 17px/1 Poppins, Arial, sans-serif; color: var(--np-teal-d); text-align: left; }
.np-nav__mtop[aria-expanded="true"], .np-nav__mlist .is-current > .np-nav__mtop { color: var(--np-ink); }
.np-nav__mtop[aria-expanded="true"] .np-nav__chev { transform: rotate(180deg); }
.np-nav__msub { background: var(--np-tint); padding: 6px 0 !important; border-bottom: 1px solid var(--np-line); }
.np-nav__msub[hidden] { display: none; }
.np-nav__msub a { display: flex; align-items: center; min-height: 44px; padding: 0 24px 0 40px; font-size: 15px; color: var(--np-ink); }
.np-nav__msub a[aria-current="page"] { font-weight: 600; }
.np-nav__mfoot { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 18px; }
.np-nav__mrow { display: flex; align-items: center; justify-content: space-between; }
.np-nav__mrow .np-nav__login { height: 44px; font-size: 16px; }
.np-nav__mrow .np-nav__lang { font-size: 14px; }
.np-nav__mrow .np-nav__lang a { padding: 11px 16px; }
.np-nav .np-nav__cta--block { display: block; text-align: center; padding: 15px; font-size: 16px; }
@media (max-width: 1279px) { .np-nav__bar { padding: 0 28px; } .np-nav__list { gap: 24px; } .np-nav__tools { gap: 16px; } }
@media (max-width: 1199px) {
  .np-nav__main, .np-nav__tools { display: none; }
  .np-nav__burger { display: flex; }
  .np-nav__bar { height: 64px; padding: 0 20px 0 24px; }
  .np-nav__logo img { width: 142px; }
}

/* Less empty space under the Instagram feed's buttons (WordPress had 150px section padding) */
.fusion-fullwidth:has(#sb_instagram) { padding-bottom: 30px !important; }
