/* TXSC Project Gallery + service sliders. Tokens from "Texas Structural Concepts, Signal Blue". */

.txsc-gal,
.txsc-sl {
  --t-bg: #F4F7FB;
  --t-surface: #FFFFFF;
  --t-ink: #0B0E14;
  --t-muted: #5A6B85;
  --t-border: #DCE4EF;
  --t-deep: #040407;
  --t-deep-surface: #0B0C12;
  --t-ink-deep: #C7D4E6;
  --t-muted-deep: #93A6C2;
  --t-accent: #0045D9;
  --t-accent-hover: #1E63F7;
  --t-accent-tint: #7FA6FF;
  --t-head: "Black Ops One", Impact, sans-serif;
  --t-body: "Public Sans", system-ui, sans-serif;
  --t-data: "IBM Plex Mono", ui-monospace, monospace;
  --t-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ------------------------------------------------------------ buttons */

.txsc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--t-head);
  font-size: clamp(.78rem, .35vw + .68rem, .9rem);
  letter-spacing: .03em;
  line-height: 1.3;
  padding: 18px 32px;
  border-radius: 6px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .28s var(--t-ease), background-color .28s var(--t-ease),
              border-color .28s var(--t-ease), color .28s var(--t-ease), box-shadow .28s var(--t-ease);
}

.txsc-btn--ghost {
  background: transparent;
  border-color: var(--t-border);
  color: var(--t-ink);
}

.txsc-btn--ghost-deep {
  background: transparent;
  border-color: rgba(147, 166, 194, .34);
  color: #FFFFFF;
}

@media (hover: hover) {
  .txsc-btn--ghost:hover {
    border-color: var(--t-accent);
    color: var(--t-accent);
    transform: translateY(-3px);
    box-shadow: 0 14px 30px -18px rgba(0, 69, 217, .55);
  }
  .txsc-btn--ghost-deep:hover {
    border-color: var(--t-accent);
    background: var(--t-accent);
    transform: translateY(-3px);
    box-shadow: 0 16px 34px -18px rgba(0, 69, 217, .8);
  }
}

.txsc-btn:focus-visible,
.txsc-gal__tab:focus-visible,
.txsc-gal__open:focus-visible,
.txsc-sl__arrow:focus-visible,
.txsc-sl__dot:focus-visible,
.txsc-lb__nav:focus-visible,
.txsc-lb__close:focus-visible {
  outline: 2px solid var(--t-accent);
  outline-offset: 3px;
}

.txsc-sl__arrow:focus-visible,
.txsc-sl__dot:focus-visible,
.txsc-lb__nav:focus-visible,
.txsc-lb__close:focus-visible {
  outline-color: var(--t-accent-tint);
}

/* ------------------------------------------------------------ gallery */

.txsc-gal {
  font-family: var(--t-body);
  color: var(--t-ink);
}

.txsc-gal__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding-bottom: 28px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--t-border);
}

.txsc-gal__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.txsc-gal__tab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--t-body);
  font-weight: 600;
  font-size: .92rem;
  line-height: 1;
  color: var(--t-muted);
  background: var(--t-surface);
  border: 1px solid var(--t-border);
  border-radius: 9999px;
  padding: 12px 20px;
  cursor: pointer;
  transition: color .25s var(--t-ease), border-color .25s var(--t-ease),
              background-color .25s var(--t-ease), transform .25s var(--t-ease),
              box-shadow .25s var(--t-ease);
}

.txsc-gal__n {
  font-family: var(--t-data);
  font-size: .7rem;
  letter-spacing: .04em;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(0, 69, 217, .08);
  color: var(--t-accent);
  transition: background-color .25s var(--t-ease), color .25s var(--t-ease);
}

@media (hover: hover) {
  .txsc-gal__tab:hover {
    color: var(--t-ink);
    border-color: var(--t-accent-tint);
    transform: translateY(-2px);
  }
}

.txsc-gal__tab.is-active {
  background: var(--t-accent);
  border-color: var(--t-accent);
  color: #FFFFFF;
  box-shadow: 0 12px 26px -16px rgba(0, 69, 217, .8);
}

.txsc-gal__tab.is-active .txsc-gal__n {
  background: rgba(255, 255, 255, .18);
  color: #FFFFFF;
}

.txsc-gal__status {
  margin: 0;
  font-family: var(--t-data);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--t-muted);
}

.txsc-gal__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  transition: opacity .2s var(--t-ease);
}

.txsc-gal.is-swapping .txsc-gal__grid { opacity: 0; }

.txsc-gal__item { margin: 0; }
.txsc-gal__item[hidden] { display: none; }

.txsc-gal__open {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  background: var(--t-deep-surface);
  cursor: zoom-in;
  isolation: isolate;
  transition: transform .4s var(--t-ease), box-shadow .4s var(--t-ease);
}

.txsc-gal__open img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  transition: transform .6s var(--t-ease), filter .45s var(--t-ease);
}

.txsc-gal__ov {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 5px;
  padding: 22px;
  text-align: left;
  background: linear-gradient(to top, rgba(4, 4, 7, .88) 0%, rgba(4, 4, 7, .45) 42%, rgba(4, 4, 7, 0) 78%);
  opacity: 0;
  transition: opacity .38s var(--t-ease);
}

.txsc-gal__ovcat {
  font-family: var(--t-head);
  font-size: .95rem;
  line-height: 1.25;
  color: #FFFFFF;
  transform: translateY(9px);
  transition: transform .42s var(--t-ease);
}

.txsc-gal__ovdesc {
  font-family: var(--t-data);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--t-accent-tint);
  transform: translateY(9px);
  transition: transform .42s var(--t-ease) .04s;
}

@media (hover: hover) {
  .txsc-gal__open:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 48px -26px rgba(0, 69, 217, .62);
  }
  .txsc-gal__open:hover img { transform: scale(1.06); }
  .txsc-gal__open:hover .txsc-gal__ov { opacity: 1; }
  .txsc-gal__open:hover .txsc-gal__ovcat,
  .txsc-gal__open:hover .txsc-gal__ovdesc { transform: translateY(0); }
}

.txsc-gal__open:focus-visible .txsc-gal__ov { opacity: 1; }
.txsc-gal__open:focus-visible .txsc-gal__ovcat,
.txsc-gal__open:focus-visible .txsc-gal__ovdesc { transform: translateY(0); }

.txsc-gal__open:active { transform: scale(.985); }

.txsc-gal__more {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

.txsc-gal__more[hidden] { display: none; }

/* ------------------------------------------------------------ lightbox */

.txsc-lb {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  grid-template-rows: 1fr auto;
  background: rgba(4, 4, 7, .95);
  opacity: 0;
  transition: opacity .26s var(--t-ease);
  font-family: "Public Sans", system-ui, sans-serif;
}

.txsc-lb[hidden] { display: none; }
.txsc-lb.is-open { opacity: 1; }

@supports (backdrop-filter: blur(4px)) {
  .txsc-lb { background: rgba(4, 4, 7, .86); backdrop-filter: blur(14px); }
}

.txsc-lb__stage {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 68px 76px 12px;
  min-height: 0;
}

.txsc-lb__stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  opacity: 0;
  transform: scale(.985);
  transition: opacity .3s var(--t-ease), transform .3s var(--t-ease);
}

.txsc-lb.is-ready .txsc-lb__stage img { opacity: 1; transform: none; }

.txsc-lb__cap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 8px 18px;
  padding: 16px 24px 30px;
  text-align: center;
}

.txsc-lb__capcat {
  font-family: "Black Ops One", Impact, sans-serif;
  font-size: 1rem;
  color: #FFFFFF;
}

.txsc-lb__capdesc {
  font-size: .9rem;
  color: #93A6C2;
}

.txsc-lb__count {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: .72rem;
  letter-spacing: .12em;
  color: #7FA6FF;
}

.txsc-lb__close,
.txsc-lb__nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 9999px;
  border: 1px solid rgba(147, 166, 194, .3);
  background: rgba(11, 12, 18, .72);
  color: #FFFFFF;
  cursor: pointer;
  transition: background-color .25s var(--t-ease), border-color .25s var(--t-ease), transform .25s var(--t-ease);
}

.txsc-lb__close svg,
.txsc-lb__nav svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.txsc-lb__close { top: 18px; right: 18px; }
.txsc-lb__nav--prev { left: 18px; top: 50%; margin-top: -25px; }
.txsc-lb__nav--next { right: 18px; top: 50%; margin-top: -25px; }

@media (hover: hover) {
  .txsc-lb__close:hover,
  .txsc-lb__nav:hover {
    background: var(--t-accent, #0045D9);
    border-color: var(--t-accent, #0045D9);
    transform: scale(1.07);
  }
}

.txsc-lb__nav[disabled] { opacity: .28; pointer-events: none; }

body.txsc-lb-open { overflow: hidden; }

/* ------------------------------------------------------------ slider */

.txsc-sl {
  font-family: var(--t-body);
  background: var(--t-deep);
  border-radius: 56px;
  padding: clamp(48px, 6vw, 96px) 0;
  overflow: hidden;
  position: relative;
}

.txsc-sl::before {
  content: "";
  position: absolute;
  top: -22%;
  left: 50%;
  width: min(760px, 88%);
  height: 62%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(0, 69, 217, .3), transparent 68%);
  pointer-events: none;
}

.txsc-sl__inner {
  position: relative;
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
}

.txsc-sl__head {
  max-width: 660px;
  margin-bottom: clamp(28px, 3vw, 44px);
}

.txsc-sl__title {
  font-family: var(--t-head);
  font-weight: 400;
  font-size: clamp(1.55rem, 2.4vw + .8rem, 2.6rem);
  line-height: 1.2;
  color: #FFFFFF;
  margin: 0 0 14px;
}

.txsc-sl__intro {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--t-muted-deep);
}

.txsc-sl__frame {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  background: var(--t-deep-surface);
  border: 1px solid rgba(147, 166, 194, .13);
  box-shadow: 0 40px 90px -50px rgba(0, 69, 217, .75);
}

.txsc-sl__track {
  position: relative;
  aspect-ratio: 16 / 9;
}

.txsc-sl__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s var(--t-ease), visibility 0s linear .7s;
}

.txsc-sl__slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity .7s var(--t-ease), visibility 0s;
}

.txsc-sl__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background-size: cover;
  background-position: center;
  transform: scale(1.001);
}

.txsc-sl__slide.is-active img {
  animation: txsc-kb 3.7s var(--t-ease) forwards;
}

@keyframes txsc-kb {
  from { transform: scale(1.001); }
  to   { transform: scale(1.035); }
}

.txsc-sl__stamp {
  position: absolute;
  left: 22px;
  bottom: 20px;
  font-family: var(--t-data);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: rgba(4, 4, 7, .62);
  border: 1px solid rgba(147, 166, 194, .22);
  border-radius: 8px;
  padding: 7px 12px;
}

@supports (backdrop-filter: blur(4px)) {
  .txsc-sl__stamp { background: rgba(4, 4, 7, .4); backdrop-filter: blur(8px); }
}

.txsc-sl__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 9999px;
  border: 1px solid rgba(147, 166, 194, .34);
  background: rgba(4, 4, 7, .45);
  color: #FFFFFF;
  cursor: pointer;
  opacity: 0;
  transition: opacity .3s var(--t-ease), background-color .25s var(--t-ease),
              border-color .25s var(--t-ease), transform .25s var(--t-ease);
}

@supports (backdrop-filter: blur(4px)) {
  .txsc-sl__arrow { background: rgba(4, 4, 7, .3); backdrop-filter: blur(10px); }
}

.txsc-sl__arrow svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.txsc-sl__arrow--prev { left: 18px; }
.txsc-sl__arrow--next { right: 18px; }

.txsc-sl__frame:hover .txsc-sl__arrow,
.txsc-sl__arrow:focus-visible { opacity: 1; }

@media (hover: none) {
  .txsc-sl__arrow { opacity: 1; }
}

@media (hover: hover) {
  .txsc-sl__arrow:hover {
    background: var(--t-accent);
    border-color: var(--t-accent);
    transform: translateY(-50%) scale(1.07);
  }
}

.txsc-sl__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
}

.txsc-sl__dots {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.txsc-sl__dot {
  width: 26px;
  height: 16px;
  padding: 6px 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.txsc-sl__dot span {
  display: block;
  height: 3px;
  border-radius: 9999px;
  background: rgba(147, 166, 194, .3);
  transition: background-color .3s var(--t-ease), transform .3s var(--t-ease);
}

.txsc-sl__dot.is-active span {
  background: var(--t-accent);
  transform: scaleY(1.6);
}

@media (hover: hover) {
  .txsc-sl__dot:hover span { background: var(--t-accent-tint); }
}

.txsc-sl__count {
  margin: 0;
  font-family: var(--t-data);
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--t-muted-deep);
  white-space: nowrap;
}

.txsc-sl__now { color: #FFFFFF; }

.txsc-sl__link {
  margin: clamp(30px, 3.4vw, 46px) 0 0;
  text-align: center;
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 1279px) {
  .txsc-gal__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .txsc-sl { border-radius: 40px; }
  .txsc-sl__inner { width: min(1180px, 100% - 36px); }
  .txsc-lb__stage { padding: 62px 20px 10px; }
  .txsc-lb__nav--prev { left: 12px; }
  .txsc-lb__nav--next { right: 12px; }
}

@media (max-width: 767px) {
  .txsc-gal__bar { padding-bottom: 20px; margin-bottom: 24px; }
  .txsc-gal__filters { gap: 8px; }
  .txsc-gal__tab { font-size: .82rem; padding: 10px 15px; }
  .txsc-gal__n { font-size: .64rem; padding: 3px 6px; }
  .txsc-gal__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .txsc-gal__open { border-radius: 18px; }
  .txsc-gal__ov { opacity: 1; padding: 16px; }
  .txsc-gal__ovcat, .txsc-gal__ovdesc { transform: none; }

  .txsc-sl { border-radius: 28px; padding: 44px 0; }
  .txsc-sl__frame { border-radius: 22px; }
  .txsc-sl__arrow { width: 42px; height: 42px; }
  .txsc-sl__arrow--prev { left: 10px; }
  .txsc-sl__arrow--next { right: 10px; }
  .txsc-sl__stamp { left: 12px; bottom: 12px; font-size: .62rem; padding: 6px 10px; }
  .txsc-sl__foot { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 18px; }
  .txsc-sl__dots { gap: 5px; }
  .txsc-sl__dot { width: 20px; }

  .txsc-lb__close { top: 10px; right: 10px; width: 42px; height: 42px; }
  .txsc-lb__nav { width: 42px; height: 42px; }
  .txsc-lb__cap { padding: 12px 16px 22px; gap: 4px 12px; }
  .txsc-lb__capcat { font-size: .88rem; }
  .txsc-lb__capdesc { font-size: .8rem; }
}

/* Touch and small screens carry the entrance work, per the motion direction. */
@media (max-width: 1024px) {
  .txsc-gal__item.txsc-rise {
    opacity: 0;
    transform: translateY(22px);
  }
  .txsc-gal__item.txsc-rise.is-in {
    opacity: 1;
    transform: none;
    transition: opacity .6s var(--t-ease), transform .6s var(--t-ease);
  }
  .txsc-sl__frame.txsc-rise,
  .txsc-sl__head.txsc-rise {
    opacity: 0;
    transform: translateY(26px);
  }
  .txsc-sl__frame.txsc-rise.is-in,
  .txsc-sl__head.txsc-rise.is-in {
    opacity: 1;
    transform: none;
    transition: opacity .7s var(--t-ease), transform .7s var(--t-ease);
  }
  .txsc-gal__open:active { transform: scale(.97); }
}

@media (prefers-reduced-motion: reduce) {
  .txsc-gal *,
  .txsc-sl *,
  .txsc-lb * {
    animation: none !important;
    transition-duration: .01ms !important;
  }
  .txsc-gal__item.txsc-rise,
  .txsc-sl__frame.txsc-rise,
  .txsc-sl__head.txsc-rise { opacity: 1 !important; transform: none !important; }
  .txsc-sl__slide.is-active img { animation: none !important; transform: none !important; }
}

/* ---------------------------------------------------------------------
   Astra and Elementor both style bare <button> elements, and their rules
   land later in the cascade than this file. Everything below re-asserts
   the component styling so the controls do not inherit theme buttons.
   --------------------------------------------------------------------- */

.txsc-gal .txsc-gal__tab,
.txsc-gal .txsc-gal__open,
.txsc-gal .txsc-btn,
.txsc-sl .txsc-sl__arrow,
.txsc-sl .txsc-sl__dot,
.txsc-sl .txsc-btn,
.txsc-lb .txsc-lb__nav,
.txsc-lb .txsc-lb__close {
  box-shadow: none;
  text-shadow: none;
  text-transform: none;
  letter-spacing: normal;
  min-height: 0;
  width: auto;
}

.txsc-gal .txsc-gal__tab {
  font-family: var(--t-body) !important;
  font-weight: 600 !important;
  font-size: .92rem !important;
  line-height: 1 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: var(--t-muted) !important;
  background: var(--t-surface) !important;
  background-image: none !important;
  border: 1px solid var(--t-border) !important;
  border-radius: 9999px !important;
  padding: 12px 20px !important;
  box-shadow: none !important;
}

@media (hover: hover) {
  .txsc-gal .txsc-gal__tab:hover {
    color: var(--t-ink) !important;
    background: var(--t-surface) !important;
    border-color: var(--t-accent-tint) !important;
  }
}

.txsc-gal .txsc-gal__tab.is-active {
  color: #FFFFFF !important;
  background: var(--t-accent) !important;
  border-color: var(--t-accent) !important;
  box-shadow: 0 12px 26px -16px rgba(0, 69, 217, .8) !important;
}

.txsc-gal .txsc-gal__tab .txsc-gal__n {
  font-family: var(--t-data) !important;
  font-size: .7rem !important;
  font-weight: 500 !important;
  letter-spacing: .04em !important;
  padding: 4px 8px !important;
  border-radius: 8px !important;
  background: rgba(0, 69, 217, .08) !important;
  color: var(--t-accent) !important;
}

.txsc-gal .txsc-gal__tab.is-active .txsc-gal__n {
  background: rgba(255, 255, 255, .18) !important;
  color: #FFFFFF !important;
}

.txsc-gal .txsc-gal__open {
  background: var(--t-deep-surface) !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 24px !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.txsc-gal .txsc-btn--ghost {
  font-family: var(--t-head) !important;
  background: transparent !important;
  background-image: none !important;
  color: var(--t-ink) !important;
  border: 1px solid var(--t-border) !important;
  border-radius: 6px !important;
  padding: 18px 32px !important;
  font-size: 15px !important;
  letter-spacing: .4px !important;
  text-transform: uppercase !important;
}

.txsc-sl .txsc-btn--ghost-deep {
  font-family: var(--t-head) !important;
  background: transparent !important;
  background-image: none !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(147, 166, 194, .34) !important;
  border-radius: 6px !important;
  padding: 18px 32px !important;
  font-size: 15px !important;
  letter-spacing: .4px !important;
  text-transform: uppercase !important;
}

@media (hover: hover) {
  .txsc-gal .txsc-btn--ghost:hover {
    color: var(--t-accent) !important;
    border-color: var(--t-accent) !important;
    background: transparent !important;
  }
  .txsc-sl .txsc-btn--ghost-deep:hover {
    background: var(--t-accent) !important;
    border-color: var(--t-accent) !important;
    color: #FFFFFF !important;
  }
}

.txsc-sl .txsc-sl__arrow,
.txsc-lb .txsc-lb__nav,
.txsc-lb .txsc-lb__close {
  background-image: none !important;
  border-radius: 9999px !important;
  padding: 0 !important;
  color: #FFFFFF !important;
}

.txsc-sl .txsc-sl__dot {
  background: none !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 6px 0 !important;
  width: 26px !important;
  min-width: 0 !important;
}

.txsc-sl .txsc-sl__title,
.txsc-sl .txsc-sl__intro,
.txsc-sl .txsc-sl__count,
.txsc-gal .txsc-gal__status {
  text-transform: none;
}

.txsc-gal .txsc-gal__status { text-transform: uppercase; }

/* Elementor wraps shortcodes in a div that can clip the rounded dark band. */
.elementor-widget-shortcode .elementor-shortcode { overflow: visible; }
/* Theme button fills were still winning on the glass controls. */
.txsc-lb .txsc-lb__close,
.txsc-lb .txsc-lb__nav {
  background-color: rgba(11, 12, 18, .72) !important;
  border: 1px solid rgba(147, 166, 194, .3) !important;
}

.txsc-sl .txsc-sl__arrow {
  background-color: rgba(4, 4, 7, .38) !important;
  border: 1px solid rgba(147, 166, 194, .34) !important;
}

@supports (backdrop-filter: blur(4px)) {
  .txsc-lb .txsc-lb__close,
  .txsc-lb .txsc-lb__nav { background-color: rgba(11, 12, 18, .5) !important; backdrop-filter: blur(10px); }
  .txsc-sl .txsc-sl__arrow { background-color: rgba(4, 4, 7, .3) !important; }
}

@media (hover: hover) {
  .txsc-lb .txsc-lb__close:hover,
  .txsc-lb .txsc-lb__nav:hover,
  .txsc-sl .txsc-sl__arrow:hover {
    background-color: #0045D9 !important;
    border-color: #0045D9 !important;
  }
}

.txsc-lb { background: rgba(4, 4, 7, .93); }

@supports (backdrop-filter: blur(4px)) {
  .txsc-lb { background: rgba(4, 4, 7, .9); backdrop-filter: blur(16px); }
}

.txsc-lb .txsc-lb__cap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 8px 18px;
}
/* Astra sets heading and paragraph colors after this file loads. */
.txsc-sl .txsc-sl__title {
  font-family: var(--t-head) !important;
  font-weight: 400 !important;
  color: #FFFFFF !important;
  text-transform: none !important;
}

.txsc-sl .txsc-sl__intro { color: var(--t-muted-deep) !important; }
.txsc-sl .txsc-sl__count { color: var(--t-muted-deep) !important; }
.txsc-sl .txsc-sl__now { color: #FFFFFF !important; }
.txsc-sl .txsc-sl__stamp { color: #FFFFFF !important; }
.txsc-gal .txsc-gal__ovcat { color: #FFFFFF !important; }
.txsc-gal .txsc-gal__ovdesc { color: var(--t-accent-tint) !important; }
.txsc-lb .txsc-lb__capcat { color: #FFFFFF !important; }
.txsc-lb .txsc-lb__capdesc { color: #93A6C2 !important; }
.txsc-lb .txsc-lb__count { color: #7FA6FF !important; }

/* A 55 dot rail is noise, so long sequences get a progress bar instead. */
.txsc-sl__rail { display: none; }

.txsc-sl.is-many .txsc-sl__dots { display: none; }

.txsc-sl.is-many .txsc-sl__rail {
  display: block;
  position: relative;
  flex: 1 1 auto;
  max-width: 420px;
  height: 3px;
  border-radius: 9999px;
  background: rgba(147, 166, 194, .22);
  overflow: hidden;
}

.txsc-sl.is-many .txsc-sl__railfill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 9999px;
  background: var(--t-accent);
  transition: width .5s var(--t-ease);
}

@media (max-width: 767px) {
  .txsc-sl.is-many .txsc-sl__rail { max-width: none; width: 100%; }
  .txsc-sl__foot { flex-direction: row; align-items: center; gap: 16px; }
}

/* The bloom was competing with the headline; pull it back. */
.txsc-sl::before {
  background: radial-gradient(ellipse at center, rgba(0, 69, 217, .2), transparent 70%);
  top: -26%;
}
/* ---------------------------------------------------------------------
   Service pages get a compact, centred player rather than a wide band,
   so the slider reads like an embedded video instead of a photo wall.
   --------------------------------------------------------------------- */

.txsc-sl { padding: clamp(40px, 4.4vw, 72px) 0; }

.txsc-sl__head {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(22px, 2.4vw, 34px);
  text-align: center;
}

.txsc-sl__title { font-size: clamp(1.4rem, 1.5vw + .95rem, 2.05rem); }

.txsc-sl__intro { font-size: .95rem; }

.txsc-sl__frame {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 24px;
}

.txsc-sl__foot {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 18px;
}

.txsc-sl__link { margin-top: clamp(24px, 2.6vw, 36px); }

.txsc-sl__arrow { width: 44px; height: 44px; }
.txsc-sl__arrow svg { width: 17px; height: 17px; }
.txsc-sl__arrow--prev { left: 14px; }
.txsc-sl__arrow--next { right: 14px; }

.txsc-sl__stamp { left: 16px; bottom: 14px; font-size: .64rem; padding: 6px 10px; }

@media (max-width: 900px) {
  .txsc-sl__frame,
  .txsc-sl__foot { max-width: none; }
}

@media (max-width: 767px) {
  .txsc-sl__frame { border-radius: 18px; }
  .txsc-sl__arrow { width: 38px; height: 38px; }
}
/* Progress fill runs on a transform, not width: cheaper, and it matches the
   motion rule that only transform and opacity animate. */
.txsc-sl.is-many .txsc-sl__railfill {
  width: 100% !important;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .5s var(--t-ease);
}
/* ---------------------------------------------------------------------
   Mobile refinements
   --------------------------------------------------------------------- */

/* Arrows are hover-revealed on desktop. Below 1024 assume touch, where there
   is no hover to reveal them, and show them outright. */
@media (max-width: 1024px) {
  .txsc-sl .txsc-sl__arrow { opacity: 1; }
}

@media (max-width: 767px) {
  /* Seven stacked filter chips pushed the first photo most of a screen down.
     One swipeable row instead. */
  .txsc-gal__bar {
    display: block;
    margin-left: -18px;
    margin-right: -18px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .txsc-gal__filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
    margin-bottom: 14px;
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 26px), transparent 100%);
  }

  .txsc-gal__filters::-webkit-scrollbar { display: none; }

  .txsc-gal .txsc-gal__tab {
    flex: 0 0 auto;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  .txsc-gal__status { display: block; }

  /* Give the player back the gutter it was spending on nested padding. */
  .txsc-sl__inner { width: min(1180px, 100% - 20px); }
  .txsc-sl { padding: 34px 0; }
  .txsc-sl__head { margin-bottom: 18px; }
}