/* Remove Wix freemium top banner only. */
#WIX_ADS,
[id*="WIX_ADS"],
.MyEGHM,
.ytGGBw,
.freemium,
[data-testid="freemium-banner"],
a[href*="wix.com/lpviral"],
a[href*="wix.com/lp"] {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
}

/* Remove offsets introduced by the banner. */
:root {
  --wix-ads-height: 0px !important;
  --wix-ads-top-height: 0px !important;
  --sticky-offset: 0px !important;
}

html,
body {
  padding-top: 0 !important;
  margin-top: 0 !important;
  overflow-x: hidden !important;
}

/* Ensure projects repeater is visible in the static/local port. */
#comp-l9z2deaw1_wrapper fluid-columns-repeater {
  visibility: visible !important;
}

/* Wix repeaters can stay hidden without runtime JS; force visible in static mode. */
fluid-columns-repeater[style*="visibility:hidden"] {
  visibility: visible !important;
}

/* Match original Projects page spacing around the three cards. */
#j5r6e #comp-l9z2deaw1_wrapper {
  padding: 0 28px 20px !important;
  box-sizing: border-box;
}

#j5r6e #comp-l9z2deaw1_wrapper .GPmm8Z {
  justify-content: center !important;
}

/* Restore visible frame around each project card. */
#j5r6e .comp-l9z2deb0.wixui-repeater__item {
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-sizing: border-box;
  padding: 10px;
  background: rgba(0, 0, 0, 0.18);
}

/* Re-enable Projects dropdown menu without Wix runtime JS. */
#comp-l721wec03 {
  position: relative;
}

/* Hover bridge so menu doesn't close while moving into dropdown panel. */
#comp-l721wec03::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 8px;
}

#comp-l721wec03 > ul {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 0;
  width: max-content;
  min-width: 0;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.16);
  z-index: 10002;
}

#comp-l721wec03:hover > ul,
#comp-l721wec03:focus-within > ul {
  display: block !important;
}

#comp-l721wec03 > ul a {
  display: block;
  padding: 10px 14px;
  white-space: nowrap;
  color: #fff;
  text-align: left;
}

#comp-l721wec03 > ul a:hover,
#comp-l721wec03 > ul a:focus {
  background: rgba(255, 255, 255, 0.14);
}

/* Tales of the Lost: force first four image blocks visible in static/local mode. */
#comp-lmwkod822,
#comp-lmwkod881,
#comp-lmwkod8d1,
#comp-lmwkod8f3 {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
  animation: none !important;
}

#comp-lmwkod822 > div,
#comp-lmwkod881 > div,
#comp-lmwkod8d1 > div,
#comp-lmwkod8f3 > div {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#img_comp-lmwkod822,
#img_comp-lmwkod881,
#img_comp-lmwkod8d1,
#img_comp-lmwkod8f3 {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Acting page: force gallery widgets visible in static/local mode. */
#comp-lpr9bhjq,
#comp-lpr8er1l,
#comp-lpr9bhjq *,
#comp-lpr8er1l * {
  visibility: visible !important;
  opacity: 1 !important;
}

#comp-lpr9bhjq .acting-fallback-gallery,
#comp-lpr8er1l .acting-fallback-gallery {
  display: grid !important;
}
