/* Local overrides — mobile menu + slider helpers for Tse Design clone */

img.tse-lazy-pending:not([src]) {
  opacity: 0;
}

/* YouTube preview loader reuses shared .tse-preloader__* from preloader-critical.css */

/* TseDesign click-to-call buttons are hidden until runtime hydrates (stripped in local clone) */
a[href^="tel:"].hidden_3w8 {
  visibility: visible !important;
  opacity: 1 !important;
}

/* Contact section phone button — match homepage layout */
.w-section__header .w-btns-group {
  justify-content: center;
}

/* Services page — mobile header bar matches desktop menu color */
@media (max-width: 991px) {
  #page-services [data-block-name="wireframe-series-1-header"] > .w-block-background {
    opacity: 0;
  }

  #page-services [data-block-name="wireframe-series-1-header"] .header.w-section--header > .w-section__inner > [class*="header__topper"] {
    background: #bc896e;
    margin-left: calc(-1 * var(--w-content-gutter, 24px));
    margin-right: calc(-1 * var(--w-content-gutter, 24px));
    padding-left: var(--w-content-gutter, 24px);
    padding-right: var(--w-content-gutter, 24px);
  }
}

/* Services page — card layout and buttons */
@media (min-width: 992px) {
  #page-services [class*="collection__item-inner__"] {
    align-items: stretch;
  }

  #page-services [class*="collection__item-inner-content__"] {
    flex: 1 1 auto;
    min-height: 100%;
  }
}

#page-services [class*="collection__item-inner-content__"] > .w-btns-group {
  margin-top: auto;
  padding-top: calc(var(--w-btns-group-offset, 40px) + 24px);
}

/* Services page — portrait image fits content on mobile (no fixed aspect box) */
@media (max-width: 991px) {
  #page-services [class*="collection__item-inner__"] [class*="picture-wrapper"] {
    flex: 0 0 auto;
    height: auto !important;
    overflow: visible;
  }

  #page-services [class*="collection__item-inner__"] [class*="picture__"] {
    padding-top: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible;
  }

  #page-services [class*="collection__item-inner__"] [class*="picture__"] img[class*="ui-image"] {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
    object-fit: contain !important;
  }

  #page-services [class*="collection__item-inner-content__"] {
    flex: 0 1 auto;
    min-height: 0;
  }
}

/* Services page — spacing between bullet list rows */
#page-services [class*="collection__item-inner-content__"] .ui-text.w-body .w-text-block:has(.text-ui-dark-accent-color) {
  margin-top: 12px;
}

#page-services [class*="collection__item-inner-content__"] .ui-text.w-body > .w-text-block:first-child {
  margin-top: 0;
}

/* TseDesign ui-image elements render via src + object-fit (see img:not([src]) rule in site CSS) */
[class*="ui-image"] {
  object-fit: cover;
}

[class*="ui-image--loaded"],
img[data-fallback-url] {
  opacity: 1 !important;
  visibility: visible !important;
  object-fit: cover;
}

/* TseDesign ui-image uses absolute fill inside w-picture */
img[data-fallback-url][class*="ui-image"] {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
  object-position: center center;
}

img[data-src] {
  opacity: 1;
}

.background_2xT {
  background-size: cover;
  background-repeat: no-repeat;
}

[class*="background-parallax"] .parallax-inner {
  width: 100%;
  height: 100%;
}

[class*="background-parallax"] .parallax-inner > .background_2xT {
  background-repeat: no-repeat;
  background-size: cover;
}

/* Homepage hero — lowest background fill */
#blockId-64821c3bcbe529000f4c12f0 > .w-block-background .background_2xT,
#blockId-64832950d20dd8000e4a8ad2 > .w-block-background .background_2xT {
  background-color: var(--ui-light-shade-color, #eae2dd) !important;
}

/* Homepage Anna cover — layer 1: bg + text, 2: portrait, 3: brown divider */
#blockId-64821c3bcbe529000f4c12f0 .w-block-background {
  z-index: 1;
}

#blockId-64821c3bcbe529000f4c12f0 > section {
  z-index: 1;
}

#blockId-64821c3bcbe529000f4c12f0 .w-grid__item--top {
  position: relative;
  z-index: 2;
}

#blockId-64821c3bcbe529000f4c12f0 .shape-divider {
  z-index: 3;
}

/* Homepage header — above cover layers (shape divider is z-index 3) */
#page-home [data-transparent-header-wrapper] [data-block-name="wireframe-series-1-header"] {
  position: relative;
  z-index: 4 !important;
}

/* Homepage mobile cover — same layer stack as desktop */
@media (max-width: 767px) {
  #blockId-64832950d20dd8000e4a8ad2 .w-block-background {
    z-index: 1;
  }

  #blockId-64832950d20dd8000e4a8ad2 > section {
    z-index: 1;
  }

  #blockId-64832950d20dd8000e4a8ad2 .w-grid__item--top {
    position: relative;
    z-index: 2;
  }

  #blockId-64832950d20dd8000e4a8ad2 .shape-divider {
    z-index: 3;
  }

  /* Space between mobile hero portrait and services heading */
  #page-home #blockId-5ca77d58082f6d0025da6520 > section,
  #page-home #blockId-5ca77d58082f6d0025da6520 .w-apply-section-paddings {
    padding-top: var(--w-section-header-offset, 45px) !important;
  }
}

@media (max-width: 479px) and (orientation: portrait) {
  /* Project grids — match intra-column gap between stacked portfolio cards */
  #page-home #blockId-5eb13a89a4af6c00214b48b8 .w-5651970a11d4bcee2a14e16a229252b5:not(.w-grid--slider) > .w-grid__inner > .w-grid__item:not(:first-child),
  #page-cases #blockId-6482d867ac6b52000e16e7ee .w-5651970a11d4bcee2a14e16a229252b5:not(.w-grid--slider) > .w-grid__inner > .w-grid__item:not(:first-child) {
    margin-top: var(--w-image-with-hover-offset, 20px) !important;
  }
}

@media (max-width: 991px) {
  /* Closed: desktop bar burger; open: overlay topper burger (same spot, X icon) */
  body.menu-open .header.w-section--header:not([class*="header--mobile"]) .tse-header-portrait-controls {
    visibility: hidden;
    pointer-events: none;
  }

  body.menu-open .header.w-section--header:not([class*="header--mobile"]) .w-burger {
    display: none;
  }

  body.menu-open [class*="header--mobile"][class*="header--opened"] [class*="header__topper"] .w-burger {
    display: inline-flex !important;
  }

  [class*="header--mobile"] {
    z-index: 999;
  }

  [class*="header--mobile"][class*="header--opened"] {
    display: block;
  }

  [class*="header--mobile"] {
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--tse-scrollbar-thumb) var(--tse-scrollbar-track);
  }

  [class*="header--mobile"]::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }

  [class*="header--mobile"]::-webkit-scrollbar-track {
    background: var(--tse-scrollbar-track);
  }

  [class*="header--mobile"]::-webkit-scrollbar-thumb {
    background-color: var(--tse-scrollbar-thumb);
    border-radius: 999px;
    border: 1px solid var(--tse-scrollbar-thumb-border);
  }

  [class*="header--mobile"] [class*="header__topper"] {
    position: relative;
    z-index: 1001;
    flex-shrink: 0;
  }

  .header--mobile_3ne,
  [class*="header--mobile"] {
    display: none;
    position: fixed;
    inset: 0;
    overflow-y: auto;
  }

  .w-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
    z-index: 1002;
    color: inherit;
  }

  .w-burger__inner {
    display: block;
    position: relative;
    width: var(--w-burger-width, 24px);
    height: var(--w-burger-height, 16px);
  }

  .w-burger__line {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: var(--w-burger-line-size, 2px);
    background: currentColor;
    transform-origin: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .w-burger__inner .w-burger__line:nth-child(1) {
    top: 0;
  }

  .w-burger__inner .w-burger__line:nth-child(2) {
    top: 7px;
  }

  .w-burger__inner .w-burger__line:nth-child(3) {
    top: 14px;
  }

  .w-burger--active .w-burger__inner .w-burger__line:nth-child(1) {
    transform: var(--w-burger-line-pos-transform, translateY(7px) rotate(45deg));
  }

  .w-burger--active .w-burger__inner .w-burger__line:nth-child(2) {
    opacity: 0;
  }

  .w-burger--active .w-burger__inner .w-burger__line:nth-child(3) {
    transform: var(--w-burger-line-neg-transform, translateY(-7px) rotate(-45deg));
  }
}

.tse-slider-dots {
  display: flex !important;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  gap: 4px;
}

.tse-slider-dots li button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: currentColor;
  opacity: 0.35;
  cursor: pointer;
  padding: 0;
}

.tse-slider-dots li button[aria-current="true"] {
  opacity: 1;
}

/* Gallery sliders — live site has no dot navigation */
[class*="gallery-slider"] .tse-slider-dots,
[class*="gallery-slider"] [class*="slider__dots"] {
  display: none !important;
}

/* Gallery thumbnail strips — equal square cells in each row */
[class*="gallery-thumbnails"] picture[class*="picture_2qs"] {
  padding-top: 100% !important;
  --w-resize-size: 100% !important;
}

[class*="server-render__collection"] {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

[class*="server-render__collection"]::-webkit-scrollbar {
  display: none;
}

[class*="server-render__collection-item-wrapper"] {
  scroll-snap-align: start;
}

/* Before/after comparison slider — stacked layers, mask reveals (no per-side scaling) */
[class*="img-slider_1Ip"] {
  touch-action: none;
}

[class*="img-slider_1Ip"] [data-component-item="media-after"] {
  position: relative;
  width: 100%;
  line-height: 0;
}

[class*="img-slider_1Ip"] [class*="before-wrp"] {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 2;
}

[class*="img-slider--horizontal"] [class*="before-wrp"] {
  width: 100%;
  right: 0;
  bottom: auto;
  height: 50%;
}

[class*="img-slider_1Ip"] [class*="hand-wrapper"] {
  z-index: 3;
}

/* Vertical divider line spans full image height */
[class*="img-slider_1Ip"] [class*="hand-wrapper"]:not([class*="horizontal"]) {
  top: 0 !important;
  bottom: 0;
  height: auto;
}

[class*="img-slider_1Ip"] [class*="hand-line"] {
  width: 4px;
}

[class*="img-slider_1Ip"] [class*="hand-line--before"] {
  top: 0;
  height: calc(50% + 22px);
}

[class*="img-slider_1Ip"] [class*="hand-line--after"] {
  bottom: 0;
  height: calc(50% + 22px);
}

[class*="img-slider_1Ip"] [class*="before-wrp"] > div {
  height: 100%;
  overflow: hidden;
}

/* After image sets slider height (in document flow) */
[class*="img-slider_1Ip"] [data-component-item="media-after"] [class*="img-wrapper"],
[class*="img-slider_1Ip"] [data-component-item="media-after"] [class*="img_vDh"],
[class*="img-slider_1Ip"] [data-component-item="media-after"] .ui-picture_2i5 {
  padding-top: 0 !important;
  position: relative;
  display: block;
  width: 100%;
  height: auto;
}

[class*="img-slider_1Ip"] [data-component-item="media-after"] img[class*="ui-image"] {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  vertical-align: top;
}

/* Before image stacked on top — same size, revealed via overflow mask */
[class*="img-slider_1Ip"] [class*="before-wrp"] [class*="img-wrapper"] {
  position: relative;
  width: 100%;
  height: 100%;
}

[class*="img-slider_1Ip"] [class*="before-wrp"] [class*="img_vDh"],
[class*="img-slider_1Ip"] [class*="before-wrp"] .ui-picture_2i5 {
  padding-top: 0 !important;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}

[class*="img-slider_1Ip"] [class*="before-wrp"] img[class*="ui-image"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}

/* Portfolio pages — no thumbnail dimming / hover highlight */
.page[id^="page-"]:not(#page-home) [class*="gallery-thumbnails"] [class*="slick-slide"] {
  opacity: 1 !important;
  transition: none !important;
}

/* Clickable project gallery images */
.w-gallery [class*="scale-wrapper"].tse-gallery-clickable,
.w-gallery [class*="btn_openLightbox"],
.page .w-picture-wrapper.tse-gallery-clickable {
  cursor: zoom-in;
}

/* No lightbox cursor on slider / compare components */
[class*="gallery-slider"] .tse-gallery-clickable,
[class*="gallery-slider"] [class*="btn_openLightbox"],
[class*="gallery-thumbnails"] .w-picture-wrapper,
[class*="img-slider"] .w-picture-wrapper,
[data-component="beforeafter"] .w-picture-wrapper {
  cursor: default;
}

[class*="gallery-thumbnails--gap"] [class*="slick-slide"] {
  cursor: pointer;
}

/* Homepage — no lightbox */
#page-home .w-picture-wrapper {
  cursor: default;
}

/* Fullscreen gallery lightbox */
body.tse-lightbox-open {
  overflow: hidden;
}

.tse-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  --tse-lightbox-base-zoom: 1.2;
  --tse-lightbox-slide-gap: 16px;
}

.tse-lightbox[hidden] {
  display: none !important;
}

.tse-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(2px);
}

.tse-lightbox__stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.tse-lightbox__toolbar,
.tse-lightbox__nav,
.tse-lightbox__main-wrap {
  pointer-events: auto;
}

.tse-lightbox__toolbar {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  display: flex;
  gap: 10px;
}

.tse-lightbox__tool,
.tse-lightbox__nav {
  border: 0;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  cursor: pointer;
  line-height: 0;
  opacity: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  backdrop-filter: blur(4px);
  transition: background 0.15s ease, transform 0.15s ease;
}

.tse-lightbox__tool {
  width: 44px;
  height: 44px;
  padding: 0;
}

.tse-lightbox__tool:hover,
.tse-lightbox__nav:hover {
  background: rgba(0, 0, 0, 0.65);
}

.tse-lightbox__tool:active,
.tse-lightbox__nav:active {
  transform: scale(0.94);
}

.tse-lightbox__tool:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  background: rgba(0, 0, 0, 0.25);
}

.tse-lightbox__tool svg {
  width: 22px;
  height: 22px;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.tse-lightbox__main-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 52px 88px 40px;
  overflow: hidden;
}

.tse-lightbox__viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
  touch-action: none;
}

.tse-lightbox__track {
  display: flex;
  height: 100%;
  gap: var(--tse-lightbox-slide-gap);
  will-change: transform;
}

.tse-lightbox__track--animate {
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.tse-lightbox__slide {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.tse-lightbox__main {
  display: block;
  position: static !important;
  width: auto !important;
  height: auto !important;
  max-width: min(calc(100% / var(--tse-lightbox-base-zoom)), 1500px);
  max-height: calc(100% / var(--tse-lightbox-base-zoom));
  object-fit: contain;
  transform-origin: center center;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  transition: transform 0.2s ease;
}

.tse-lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 52px;
  height: 52px;
  margin-top: -26px;
  padding: 0;
}

.tse-lightbox__nav svg {
  width: 30px;
  height: 30px;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.tse-lightbox__nav--prev {
  left: 16px;
}

.tse-lightbox__nav--next {
  right: 16px;
}

.tse-lightbox--single .tse-lightbox__nav {
  display: none;
}

@media (max-width: 767px) {
  .tse-lightbox {
    --tse-lightbox-base-zoom: 1;
    --tse-lightbox-slide-gap: 32px;
  }

  .tse-lightbox__main-wrap {
    padding: 44px 16px 32px;
  }

  .tse-lightbox__nav {
    width: 44px;
    height: 44px;
    margin-top: -22px;
  }

  .tse-lightbox__nav svg {
    width: 24px;
    height: 24px;
  }

  .tse-lightbox__nav--prev {
    left: 8px;
  }

  .tse-lightbox__nav--next {
    right: 8px;
  }

  .tse-lightbox__tool {
    width: 40px;
    height: 40px;
  }
}

/* Homepage — YouTube gallery (main player + thumbnails) */
#page-home #blockId-5d510a946f7cba0023194665 .tse-youtube-gallery-section {
  width: 100%;
  max-width: var(--w-content-container-size, 1200px);
  margin: calc(var(--w-grid-gap, 24px) * 1.5) auto 0;
  padding: 0 var(--w-content-gutter, 24px);
  box-sizing: border-box;
}

#page-home .tse-youtube-gallery {
  display: flex;
  flex-direction: column;
  gap: calc(var(--w-grid-gap, 24px) * 1.25);
  width: 100%;
}

#page-home .tse-youtube-gallery__player {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 6px;
  overflow: hidden;
}

#page-home .tse-youtube-gallery__player iframe,
#page-home .tse-youtube-gallery__player-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

#page-home .tse-youtube-gallery__player-poster {
  padding: 0;
  cursor: pointer;
  background: none;
}

#page-home .tse-youtube-gallery__player-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#page-home .tse-youtube-gallery__player-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 56px;
  background: rgba(188, 137, 110, 0.95);
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

#page-home .tse-youtube-gallery__player-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 12px 0 12px 22px;
  border-color: transparent transparent transparent #fff;
}

#page-home .tse-youtube-gallery__loader {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

#page-home .tse-youtube-gallery__loader[hidden] {
  display: none;
}

#page-home .tse-youtube-gallery--loading .tse-youtube-gallery__player {
  background: rgba(0, 0, 0, 0.65);
}

#page-home .tse-youtube-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: calc(var(--w-grid-gap, 24px) * 0.85);
  width: 100%;
}

#page-home .tse-youtube-gallery__thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  padding-left: 0;
  padding-right: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#page-home .tse-youtube-gallery__thumb--active {
  border-color: #bc896e;
  box-shadow: 0 0 0 1px rgba(188, 137, 110, 0.35);
}

#page-home .tse-youtube-gallery__thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#page-home .tse-youtube-gallery__thumb-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 30px;
  background: rgba(188, 137, 110, 0.95);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

#page-home .tse-youtube-gallery__thumb-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent #fff;
}

@media (orientation: portrait), (max-width: 767px) {
  #page-home .tse-youtube-gallery__thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: calc(var(--w-grid-gap, 24px) * 0.65);
  }

  #page-home .tse-youtube-gallery__player-play {
    width: 64px;
    height: 44px;
    border-radius: 10px;
  }

  #page-home .tse-youtube-gallery__player-play::after {
    border-width: 9px 0 9px 16px;
  }

  #page-home .tse-youtube-gallery__thumb-play {
    width: 32px;
    height: 22px;
    border-radius: 6px;
  }

  #page-home .tse-youtube-gallery__thumb-play::after {
    border-width: 5px 0 5px 9px;
  }
}

/* Footer social icon hover */
.tse-social--filled .social-icons__icon_3m8:hover{color:#bc896e}

/* Scroll to top */
.tse-scroll-top {
  position: fixed;
  right: max(20px, env(safe-area-inset-right, 0px));
  bottom: max(24px, env(safe-area-inset-bottom, 0px));
  z-index: 999;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease,
    background-color 0.2s ease,
    color 0.2s ease;
  pointer-events: none;
}

.tse-scroll-top--on-light {
  background: #bc896e;
  color: #fff;
}

.tse-scroll-top--on-light:hover {
  background: #a8775f;
}

.tse-scroll-top--on-dark {
  background: rgba(255, 255, 255, 0.95);
  color: #212736;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.tse-scroll-top--on-dark:hover {
  background: #fff;
}

.tse-scroll-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.tse-scroll-top:active {
  transform: translateY(0) scale(0.94);
}

.tse-scroll-top:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

body.tse-lightbox-open .tse-scroll-top {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

