@font-face {
  font-family: "Fixture Condensed SemiBold";
  src: url("https://beinthescene.com/wp-content/themes/Fixture-CondensedSemiBold.ttf")
    format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Fixture Condensed Regular";
  src: url("https://beinthescene.com/wp-content/themes/Fixture-CondensedRegular.ttf")
    format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Typewriter";
  src: url("https://beinthescene.com/wp-content/themes/typewriter.ttf")
    format("truetype");
  font-weight: normal;
  font-style: normal;
}

:root {
  --bits-pop: #fc3b3b;
}

html {
  font-size: 16px;
}

@media (max-width: 768px) {
  html {
    font-size: 18px;
  }
}
body {
  margin: 0;
  padding: 0;
}
#map {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  font: 1rem "Fixture Condensed SemiBold", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
#map:after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(9, 24, 33, 1);
  pointer-events: none;
  mix-blend-mode: soft-light;
}
#map h2,
#map h4,
#map h6 {
  font-weight: inherit;
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
}
.map-pop-inner {
  background: #091821;
  padding: 0rem;
  border-radius: 1rem;
  color: #fff;
  overflow: hidden;
}
.map-overlay {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  overflow: auto;
  gap: 0.5rem;
}
.map-overlay .section {
  background-color: #091821;
  border-radius: 1rem;
  overflow: hidden;
}
#search-listing {
  border: 2px solid #fff;
  padding: 0;
  margin: 0.5rem;
  border-radius: 1rem;
}
input#feature-filter {
  display: block;
  width: 100%;
  padding: 5px 0px 10px 10px;
  margin: 0;
  box-sizing: border-box;
  background-color: transparent;
  color: #fff;
  font-family: "Fixture Condensed SemiBold", sans-serif;
  border: none;
  font-size: 1rem;
  text-transform: uppercase;
  line-height: 0;
}
.map-overlay .listing {
  overflow: auto;
  max-height: 100%;
}
.rounded-rect {
  overflow: hidden;
}
.flex-center-stretch {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: stretch;
  top: 0;
}
.sidebar {
  transition: transform 2s;
  z-index: 1;
  overflow: hidden;
  top: 0;
  padding: 0.5rem;
}
.sidebar.left {
  width: 20vw;
  height: calc(100dvh - 3.5rem);
  display: flex;
  flex-direction: column;
  left: 0;
  top: 2.5rem;
}
.sidebar.right {
  width: 40vw;
  flex-direction: column;
  justify-content: space-between;
  height: calc(100dvh - 3.5rem);
  right: 0;
  gap: 0.5rem;
  top: 2.5rem;
}
.sidebar-footer {
  display: none;
}
.sidebar-video .bits-image {
  display: none !important;
}
@media (max-width: 768px) {
  .sidebar {
    transition: transform 0.5s;
    padding: 0;
  }
  .left .sidebar-content {
    display: block !important;
    overflow-y: scroll !important;
  }
  .sidebar.left,
  .sidebar.right {
    width: 100vw;
    height: 100dvh;
    z-index: 8;
    gap: 0;
    justify-content: end !important;
    flex-direction: column-reverse !important;
    top: 0;
  }
  .right .sidebar-content {
    max-height: 50dvh;
    gap: 0;
  }
  .right .sidebar-content.expanded {
    max-height: 100dvh;
  }
  .sidebar-footer {
    display: block;
  }
  .sidebar-footer .buttons {
    display: flex;
    width: 100%;
    justify-content: space-between;
    background: #091821;
    padding: 0.5rem;
    box-sizing: border-box;
  }
  .buttons {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    opacity: 0;
  }
  #right .buttons button {
    border-radius: 0 !important;
  }
  .buttons button {
    flex-grow: 1;
  }
  .buttons button.prev {
    text-align: left;
  }
  .buttons button.next {
    text-align: right;
  }
  .left.collapsed {
    transform: translateX(-100vw) !important;
  }

  .right.collapsed {
    transform: translateY(200vw) !important;
  }

  .map-pop-inner {
    border-radius: 1rem 1rem 0 0 !important;
  }

  .sidebar-bottom {
    display: none;
  }

  .fade-in {
    opacity: 1 !important;
    animation: fadeIn 0s ease-in-out 1s forwards !important;
  }
  .map-overlay {
    background: #091821;
    justify-content: center;
    flex-direction: column-reverse;
    padding-top: 3rem;
  }
  fieldset#search-listing {
    display: none !important;
  }
  div#properties {
    display: flex !important;
    flex-direction: row-reverse;
    gap: 0.25rem;
    flex-grow: 1;
  }
  .bits-image,
  .bits-body {
    flex: 1;
  }
  .bits-body {
    overflow-y: auto;
  }
  .bits-copy {
    font-size: 0.8rem !important;
  }
  .hide-mobile {
    display: none;
  }
  .mobile-only {
    display: flex !important;
  }
  #feature-listing {
    overflow-y: unset !important;
  }
  .cluster-filters {
    max-width: none !important;
  }
}
.sidebar-bottom {
  color: #fff;
  flex-grow: 1;
}
.sidebar-bottom .buttons {
  display: flex;
  justify-content: start;
  align-items: start;
  width: 100%;
  gap: 0.5rem;
}
.keyart {
  width: 100%;
  height: auto;
}
.buttons button {
  cursor: pointer;
  pointer-events: visible !important;
}
.nav-btn {
  font-size: 1rem;
  background: none;
  border: none;
  color: #fff;
  padding: 0;
}
.nav-btn:hover {
  color: var(--bits-pop);
}
.fa-stack {
  width: 2rem !important;
  flex-grow: 0;
  flex-shrink: 0;
  background-color: #252c2f;
  border-radius: 100%;
}
#sidebar-title {
  flex-grow: 1;
  line-height: 1;
  text-transform: uppercase;
  font-size: 1.5rem;
  text-align: left;
  font-family: "Fixture Condensed SemiBold", sans-serif;
}
#right {
  pointer-events: none;
}
#right [class^="sidebar-"] > * {
  pointer-events: auto;
}
#sidebar-next {
  display: flex;
  gap: 0.5rem;
}
.sidebar-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  overflow: hidden;
  position: relative;
  gap: 0.5rem;
}
.bits-copy {
  font-family: "Typewriter";
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0.05rem;
}
.bits-copy a {
  background: var(--bits-pop);
  color: #091821;
  text-decoration: none;
  padding: 2px 2px 0;
}
.bits-copy a:hover {
  background: #fff;
}
.bits-body {
  padding: 1rem;
}
.sidebar-toggle {
  position: absolute;
  max-width: 100%;
  height: 2rem;
  overflow: visible;
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  z-index: 2;
  top: 0.5rem;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.5rem;
}
.sidebar-toggle.left {
  left: 0.5rem;
  position: fixed;
  z-index: 9;
  width: calc(100vw - 1rem);
  justify-content: space-between;
}
.sidebar-toggle.expand {
  left: 0.5rem;
}
.sidebar-toggle.right {
  right: 0.5rem;
}
.sidebar-toggle:hover {
  cursor: pointer;
}
.left.collapsed {
  transform: translateX(-22vw);
}
.right.collapsed {
  transform: translateX(32vw);
}
.cluster-filters {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  gap: 0.25rem;
  padding: 0;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
  scrollbar-width: none; /* Firefox */
  transition: max-width 2.5s ease, opacity 0.5s ease;
  opacity: 1;
  max-width: 40vw;
}

#cluster-filters:empty {
  max-width: 0;
  opacity: 0;
}
/* Hide scrollbar for WebKit browsers */
.cluster-filters::-webkit-scrollbar {
  display: none;
}

.cluster-filter-btn,
.cluster-reset-btn {
  padding: 3px 10px 6px;
  background: #252c2f;
  border: 2px solid #fff;
  cursor: pointer;
  border-radius: 1rem;
  font: 1rem "Fixture Condensed Regular";
  color: #fff;
  text-transform: uppercase;
}

.cluster-filter-btn:hover,
.cluster-reset-btn:hover {
  color: var(--bits-pop);
  border-color: var(--bits-pop);
}
.cluster-filter-btn.active {
  border-color: var(--bits-pop);
  color: var(--bits-pop);
}
#reset-listings {
  background-color: transparent;
  border: none;
  font-size: 1rem;
  width: 2.5rem;
  padding: 0;
  position: absolute;
  right: 5px;
}
#feature-listing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 0.5rem;
  grid-row-gap: 0.5rem;
  flex-grow: 1;
  overflow-y: auto;
  padding-bottom: 1rem;
  overflow-x: hidden;
  padding: 0 0.5rem;
}
#feature-listing a.active {
  background: var(--bits-pop);
}
.scrollbar::-webkit-scrollbar {
  width: 12px;
}

.scrollbar::-webkit-scrollbar-track {
  background: #1e1e1e;
  border-radius: 8px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.scrollbar::-webkit-scrollbar-thumb {
  background-color: var(--bits-pop) !important;
  border-radius: 8px;
  border: 2px solid #1e1e1e;
  background-clip: content-box;
}

.scrollbar::-webkit-scrollbar-thumb:hover {
  background-color: var(--bits-pop) c0 !important;
}

.scrollbar::-webkit-scrollbar-thumb:active {
  background-color: var(--bits-pop) a0 !important;
}
#feature-listing:after {
  content: "";
  display: block;
  width: 100%;
  height: 10rem;
}
.mapboxgl-ctrl-bottom-left {
  display: flex;
  flex-direction: row-reverse;
}
.mapboxgl-ctrl.mapboxgl-ctrl-attrib {
  background-color: transparent;
}
.mapboxgl-ctrl.mapboxgl-ctrl-attrib a {
  color: white;
}
.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease-in-out forwards; /* 1s delay, 1s duration */
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
.grey {
  color: #999;
}
.container {
  position: relative;
  width: 100%;
  background-color: #091821;
}

.image {
  display: block;
  width: 100%;
  height: auto;
}

#video.trailer {
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: black;
  z-index: 1;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: 0.5s ease;
  background-color: #fc3b3be0;
  text-transform: uppercase;
}

.container:hover .overlay {
  opacity: 1;
}

.text {
  color: white;
  line-height: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}
.overlay.flex {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: space-around; /* keeps even spacing between items */
  align-items: stretch; /* keeps full width for each item */
  align-content: stretch;
}

.overlay.flex a {
  display: flex; /* enables flex centring within the <a> */
  justify-content: center; /* horizontal centring of text */
  align-items: center; /* vertical centring of text */
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: auto;
  background-color: #091821;
  text-align: center; /* good for multiline content */
  height: 100px; /* set a height to enable vertical centring */
  text-decoration: none; /* optional: remove underline */
  color: white; /* optional: ensure text is readable */
  flex-direction: column;
  gap: 0.5rem;
}

.overlay.flex a:hover {
  background-color: #e75a36;
}
.video {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  border-radius: 1rem;
}
#video:empty {
  display: none;
}
.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#cinemas {
  overflow-y: auto;
  max-height: calc(100vh - 7.5rem);
  padding-right: 0.5rem;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

.bits-title-popup .mapboxgl-popup-content {
  padding: 0px;
  text-transform: uppercase;
  pointer-events: none !important;
  background: none;
  color: #fff;
  font-size: 1rem;
}
.mapboxgl-popup {
  font-weight: normal;
  text-transform: uppercase;
}
.bits-title-popup .mapboxgl-popup-tip {
  display: none;
}
.duotone-thumb {
  filter: grayscale(100%) brightness(1.1) /* lifts the darks a bit */
    contrast(1.2) hue-rotate(190deg) /* rotate toward blue/cyan */ saturate(1.5); /* intensifies the blue */
  mix-blend-mode: screen;
}
.mapbox-improve-map {
  display: none;
}
.bits-image {
  position: relative;
  width: 100%;
  aspect-ratio: 2.35 / 1; /* or use 1 / 1 for square, 16 / 9 for widescreen */
  overflow: hidden;
}
.bits-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* fills container, crops excess */
}
.bits-image .credit {
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  background-color: #091821cf;
  color: #fff;
  padding: 0rem 0.5rem 0.25rem 0.5rem;
  text-transform: uppercase;
  border-radius: 1rem;
  font-size: 0.75rem;
}
.bits-row.flex {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.bits-button {
  background: transparent;
  border: 2px solid;
  color: #fff;
  font: 1rem "Fixture Condensed SemiBold", sans-serif;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem 0.4rem 0.7rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 3rem;
  text-decoration: none;
}
.bits-button-circle:hover * {
  color: var(--bits-pop);
}
.flex-shrink-0 {
  flex-shrink: 0;
}
.flex-shrink-1 {
  flex-shrink: 1;
}
.flex-grow-0 {
  flex-grow: 0;
}
.flex-grow-1 {
  flex-grow: 1;
}
.mobile-only {
  display: none;
}
.bits-title-popup {
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  padding: 6px 12px;
  font-size: 1rem;
  background: transparent;
  transition: transform 0.2s ease, font-size 0.2s ease;
  display: inline-block;
}

.bits-title-popup:hover {
  transform: scale(1.5);
}
.bits-title-pop .mapboxgl-popup-content {
  padding: 0;
  background: transparent;
  box-shadow: none;
}
.mapboxgl-popup.bits-title-popup {
  opacity: 0;
  transition: opacity 1s ease;
}
.mapboxgl-ctrl-bottom-right {
  display: flex;
  align-items: center;
  background-color: #12171a;
  margin: 0.5rem;
  gap: 0.5rem;
}
.mapboxgl-ctrl-bottom-right .mapboxgl-ctrl {
  margin: 0;
}
.mapboxgl-popup.bits-title-popup.fade-in {
  opacity: 1;
}
#upsell {
  background: var(--bits-pop);
  width: 100%;
  padding: 0.5rem 0;
  display: flex;
  justify-content: center;
  flex-direction: row;
  border-radius: 0.5rem;
  color: #fff;
  text-align: center;
  text-decoration: none;
  align-items: center;
  gap: 0.5rem;
}
.tempo {
  display: none;
}
#map.bits-zoom-in .bits-title-pop {
  opacity: 0 !important;
}
.cinema-listing .flex {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: space-between;
}