.yxt-gallery-page,
.yxt-gallery-page-body {
  --yxt-gallery-blue: #0e3acc;
  --yxt-gallery-blue-dark: #092a8f;
  --yxt-gallery-ink: #20242c;
  --yxt-gallery-muted: #626a78;
  --yxt-gallery-line: #dfe4ec;
  --yxt-gallery-soft: #f4f6f9;
  --yxt-gallery-soft-blue: #eef3ff;
  --yxt-gallery-white: #ffffff;
  color: var(--yxt-gallery-ink);
}

.yxt-gallery-lightbox-open {
  overflow: hidden;
}

.yxt-gallery-page-body main {
  overflow: clip;
}

.yxt-gallery-page.brxe-section {
  width: 100%;
  padding: 104px 24px;
  overflow: clip;
}

.yxt-gallery-page h1,
.yxt-gallery-page h2,
.yxt-gallery-page h3,
.yxt-gallery-page p,
.yxt-gallery-page a,
.yxt-gallery-page button {
  letter-spacing: 0;
}

.yxt-gallery-page h1,
.yxt-gallery-page h2,
.yxt-gallery-page h3 {
  color: var(--yxt-gallery-ink);
}

.yxt-gallery-page p {
  color: var(--yxt-gallery-muted);
}

.yxt-gallery-wrap.brxe-container {
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
}

.yxt-gallery-eyebrow {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 12px;
  border: 1px solid rgba(14, 58, 204, .18);
  border-radius: 5px;
  background: var(--yxt-gallery-soft-blue);
  color: var(--yxt-gallery-blue);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 800;
  text-transform: uppercase;
}

.yxt-gallery-hero.brxe-section {
  min-height: 560px;
  padding-top: 62px;
  padding-bottom: 56px;
  background: #f8f9fb;
}

.yxt-gallery-hero__inner.brxe-container {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(520px, 1.12fr);
  gap: 56px;
  align-items: center;
}

.yxt-gallery-hero__content {
  max-width: 550px;
  align-items: flex-start;
}

.yxt-gallery-hero__content h1 {
  max-width: 520px;
  margin: 0;
  font-size: 64px;
  line-height: 1.02;
  font-weight: 850;
}

.yxt-gallery-hero__lead {
  max-width: 540px;
  margin: 24px 0 0;
  font-size: 18px;
  line-height: 1.7;
}

.yxt-gallery-hero__summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
  width: 100%;
  margin-top: 24px;
}

.yxt-gallery-hero__summary p {
  position: relative;
  width: 100% !important;
  min-width: 0;
  margin: 0;
  padding-left: 16px;
  color: #3f4652;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
}

.yxt-gallery-hero__summary p::before {
  position: absolute;
  top: .58em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yxt-gallery-blue);
  content: "";
}

.yxt-gallery-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  margin-top: 30px;
}

.yxt-gallery-button.brxe-button {
  display: inline-flex;
  min-width: 148px;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.yxt-gallery-button.brxe-button:hover {
  transform: translateY(-2px);
}

.yxt-gallery-button.brxe-button:active {
  transform: translateY(1px);
}

.yxt-gallery-button--primary.brxe-button {
  background: var(--yxt-gallery-blue);
  color: var(--yxt-gallery-white);
  box-shadow: 0 12px 28px rgba(14, 58, 204, .18);
}

.yxt-gallery-button--primary.brxe-button:hover {
  background: var(--yxt-gallery-blue-dark);
  color: var(--yxt-gallery-white);
}

.yxt-gallery-button--secondary.brxe-button {
  border-color: #cfd5df;
  background: var(--yxt-gallery-white);
  color: var(--yxt-gallery-ink);
}

.yxt-gallery-button--secondary.brxe-button:hover {
  border-color: var(--yxt-gallery-blue);
  color: var(--yxt-gallery-blue);
}

.yxt-gallery-hero__visual {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(190px, .72fr);
  gap: 14px;
  height: 438px;
  min-width: 0;
}

.yxt-gallery-hero__stack {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}

.yxt-gallery-hero__image.brxe-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 1px solid rgba(32, 36, 44, .09);
  border-radius: 8px;
  background: var(--yxt-gallery-white);
  object-fit: cover;
}

.yxt-gallery-hero__image--main.brxe-image {
  object-fit: contain;
  padding: 28px;
}

.yxt-gallery-hero__image--surface.brxe-image {
  object-fit: contain;
  padding: 18px;
}

body.page-id-1408 .yxt-gallery-hero.brxe-section {
  background: #f7f8fb;
}

body.page-id-1408 .yxt-gallery-hero__visual {
  height: 392px;
}

body.page-id-1408 .yxt-gallery-hero__image.brxe-image {
  border-color: #e1e5ec;
  box-shadow: 0 14px 34px rgba(31, 40, 58, .08);
}

body.page-id-1408 .yxt-gallery-hero__image--main.brxe-image {
  padding: 34px;
}

body.page-id-1647 .yxt-gallery-hero.brxe-section {
  background: #f2f4f8;
}

body.page-id-1647 .yxt-gallery-hero__inner.brxe-container {
  grid-template-columns: minmax(0, .82fr) minmax(560px, 1.18fr);
  gap: 48px;
}

body.page-id-1647 .yxt-gallery-hero__visual {
  position: relative;
  height: 392px;
  gap: 10px;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(16, 24, 40, .12);
  border-radius: 8px;
  background: #0b1019;
  box-shadow: 0 24px 58px rgba(20, 28, 43, .18);
}

body.page-id-1647 .yxt-gallery-hero__stack {
  gap: 10px;
}

body.page-id-1647 .yxt-gallery-hero__image.brxe-image,
body.page-id-1647 .yxt-gallery-hero__image--main.brxe-image,
body.page-id-1647 .yxt-gallery-hero__image--surface.brxe-image {
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: #080c13;
  object-fit: cover;
}

body.page-id-1647 .yxt-gallery-hero__image--main.brxe-image {
  object-position: center;
}

.yxt-gallery-nav-section.brxe-section {
  padding-top: 0;
  padding-bottom: 0;
  border-top: 1px solid var(--yxt-gallery-line);
  border-bottom: 1px solid var(--yxt-gallery-line);
  background: var(--yxt-gallery-white);
}

.yxt-gallery-nav.brxe-container {
  display: flex;
  min-height: 78px;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.yxt-gallery-nav__label {
  flex: 0 0 auto;
  width: auto;
  margin: 0 14px 0 0;
  color: #7a828f;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
}

.yxt-gallery-nav__link.brxe-button {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid #d7dce5;
  border-radius: 6px;
  background: var(--yxt-gallery-white);
  color: #3e4551;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.yxt-gallery-nav__link.brxe-button:hover {
  border-color: rgba(14, 58, 204, .32);
  background: var(--yxt-gallery-soft-blue);
  color: var(--yxt-gallery-blue);
  transform: translateY(-1px);
}

.yxt-gallery-video-nav[hidden] {
  display: none !important;
}

.yxt-gallery-section {
  scroll-margin-top: 24px;
}

.yxt-gallery-section--soft.brxe-section {
  background: var(--yxt-gallery-soft);
}

.yxt-gallery-section-head {
  width: 100%;
  max-width: 820px;
  margin: 0 auto 54px;
  align-items: center;
  text-align: center;
}

.yxt-gallery-section-head__number {
  width: auto;
  margin: 0 0 16px;
  color: var(--yxt-gallery-blue);
  font-size: 12px;
  line-height: 1;
  font-weight: 850;
}

.yxt-gallery-section-head h2 {
  max-width: 760px;
  margin: 0;
  font-size: 44px;
  line-height: 1.12;
  font-weight: 850;
}

.yxt-gallery-section-head p {
  max-width: 720px;
  margin: 18px 0 0;
  font-size: 17px;
  line-height: 1.72;
}

.yxt-gallery-subsection {
  width: 100%;
}

.yxt-gallery-subsection + .yxt-gallery-subsection {
  margin-top: 84px;
  padding-top: 72px;
  border-top: 1px solid var(--yxt-gallery-line);
}

.yxt-gallery-subsection__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: 36px;
  align-items: end;
  width: 100%;
  margin-bottom: 34px;
}

.yxt-gallery-subsection__title {
  align-items: flex-start;
}

.yxt-gallery-subsection__index {
  width: auto;
  margin: 0 0 10px;
  color: var(--yxt-gallery-blue);
  font-size: 12px;
  line-height: 1;
  font-weight: 850;
  text-transform: uppercase;
}

.yxt-gallery-subsection__title h3 {
  margin: 0;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 820;
}

.yxt-gallery-subsection__copy {
  align-items: flex-start;
}

.yxt-gallery-subsection__copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.68;
}

.yxt-gallery-service-link.brxe-button {
  display: inline-flex;
  width: auto;
  min-height: 38px;
  align-items: center;
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--yxt-gallery-blue);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 800;
  text-decoration: none;
}

.yxt-gallery-service-link.brxe-button:hover {
  color: var(--yxt-gallery-blue-dark);
}

.yxt-gallery-grid {
  width: 100%;
}

.yxt-gallery-grid__items {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
}

.yxt-gallery-card {
  display: flex;
  grid-column: auto / span 2;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--yxt-gallery-line);
  border-radius: 8px;
  background: var(--yxt-gallery-white);
  box-shadow: 0 8px 24px rgba(37, 48, 68, .055);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.yxt-gallery-card[hidden] {
  display: none;
}

.yxt-gallery-card:hover {
  border-color: rgba(14, 58, 204, .28);
  box-shadow: 0 16px 36px rgba(37, 48, 68, .1);
  transform: translateY(-3px);
}

.yxt-gallery-card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid #edf0f4;
  background: #f8f9fb;
  color: inherit;
  cursor: zoom-in;
}

.yxt-gallery-card__image {
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 360ms cubic-bezier(.2, .7, .2, 1);
}

.yxt-gallery-card--contain .yxt-gallery-card__image {
  padding: 20px;
  object-fit: contain;
}

.yxt-gallery-card--cover .yxt-gallery-card__image {
  object-fit: cover;
}

.yxt-gallery-card:hover .yxt-gallery-card__image {
  transform: scale(1.025);
}

.yxt-gallery-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: #eef1f5;
}

.yxt-gallery-card__view {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  min-width: 54px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 8px 11px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .94);
  color: var(--yxt-gallery-ink);
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  opacity: 0;
  box-shadow: 0 8px 20px rgba(23, 31, 44, .12);
  transform: translateY(-4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.yxt-gallery-card:hover .yxt-gallery-card__view,
.yxt-gallery-card__media:focus-visible .yxt-gallery-card__view {
  opacity: 1;
  transform: translateY(0);
}

.yxt-gallery-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  background: rgba(14, 58, 204, .94);
  box-shadow: 0 12px 28px rgba(14, 58, 204, .26);
  transform: translate(-50%, -50%);
}

.yxt-gallery-card__play span {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #fff;
}

.yxt-gallery-card__body {
  display: flex;
  height: 194px;
  min-height: 194px;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.yxt-gallery-card__category {
  display: block;
  margin: 0 0 8px;
  color: var(--yxt-gallery-blue);
  font-size: 10px;
  line-height: 1.35;
  font-weight: 850;
  text-transform: uppercase;
}

.yxt-gallery-card__body h3 {
  display: -webkit-box;
  margin: 0;
  color: var(--yxt-gallery-ink);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 800;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.yxt-gallery-card__meta {
  display: flex;
  flex-wrap: nowrap;
  gap: 7px 0;
  margin-top: 12px;
  overflow: hidden;
  padding-top: 16px;
  white-space: nowrap;
}

.yxt-gallery-whatsapp {
  display: inline-flex;
  min-width: 0;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid #a9d9ba;
  border-radius: 6px;
  background: #edf8f1;
  color: #0d6a3b;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.yxt-gallery-whatsapp__icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: currentColor;
}

.yxt-gallery-whatsapp:hover {
  border-color: #128c4e;
  background: #128c4e;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.yxt-gallery-whatsapp:active {
  transform: translateY(0);
}

.yxt-gallery-whatsapp:focus-visible {
  outline: 3px solid rgba(18, 140, 78, .28);
  outline-offset: 2px;
}

.yxt-gallery-card__whatsapp {
  width: 100%;
  margin-top: auto;
  padding: 9px 12px;
}

.yxt-gallery-card__meta span {
  position: relative;
  min-width: 0;
  overflow: hidden;
  color: #747c88;
  font-size: 11px;
  line-height: 1.35;
  text-overflow: ellipsis;
}

.yxt-gallery-grid__items[data-yxt-gallery-remainder="1"] > .yxt-gallery-card--last-row-1 {
  grid-column-start: 4;
}

.yxt-gallery-grid__items[data-yxt-gallery-remainder="2"] > .yxt-gallery-card--last-row-1 {
  grid-column-start: 3;
}

.yxt-gallery-grid__items[data-yxt-gallery-remainder="2"] > .yxt-gallery-card--last-row-2 {
  grid-column-start: 5;
}

.yxt-gallery-grid__items[data-yxt-gallery-remainder="3"] > .yxt-gallery-card--last-row-1 {
  grid-column-start: 2;
}

.yxt-gallery-grid__items[data-yxt-gallery-remainder="3"] > .yxt-gallery-card--last-row-2 {
  grid-column-start: 4;
}

.yxt-gallery-grid__items[data-yxt-gallery-remainder="3"] > .yxt-gallery-card--last-row-3 {
  grid-column-start: 6;
}

.yxt-gallery-card__meta span + span {
  margin-left: 8px;
  padding-left: 9px;
}

.yxt-gallery-card__meta span + span::before {
  position: absolute;
  top: .16em;
  bottom: .16em;
  left: 0;
  width: 1px;
  background: #cfd5dd;
  content: "";
}

.yxt-gallery-grid__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--yxt-gallery-line);
}

.yxt-gallery-grid__status {
  width: auto;
  margin: 0;
  color: #7a828e;
  font-size: 13px;
  line-height: 1.4;
}

.yxt-gallery-pagination {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.yxt-gallery-pagination__pages {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.yxt-gallery-pagination button {
  display: inline-grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  padding: 0 12px;
  border: 1px solid #cdd3dd;
  border-radius: 6px;
  background: var(--yxt-gallery-white);
  color: var(--yxt-gallery-ink);
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.yxt-gallery-pagination__direction {
  min-width: 88px !important;
}

.yxt-gallery-pagination button:hover:not(:disabled),
.yxt-gallery-pagination button[aria-current="page"] {
  border-color: var(--yxt-gallery-blue);
  color: var(--yxt-gallery-blue);
  transform: translateY(-1px);
}

.yxt-gallery-pagination button[aria-current="page"] {
  background: rgba(14, 58, 204, .07);
}

.yxt-gallery-pagination button:active:not(:disabled) {
  transform: translateY(1px);
}

.yxt-gallery-pagination button:disabled {
  border-color: #e3e7ed;
  background: #f5f6f8;
  color: #adb3bd;
  cursor: not-allowed;
}

.yxt-gallery-grid__builder-empty {
  width: 100%;
  margin: 0;
  padding: 22px;
  border: 1px dashed #b8c0cb;
  border-radius: 6px;
  background: #f8f9fb;
  color: #555e6b;
  text-align: center;
}

.yxt-gallery-surface-section.brxe-section {
  background: #11151d;
}

.yxt-gallery-surface-section .yxt-gallery-section-head h2,
.yxt-gallery-surface-section .yxt-gallery-section-head__number {
  color: var(--yxt-gallery-white);
}

.yxt-gallery-surface-section .yxt-gallery-section-head__number {
  color: #8da3ff;
}

.yxt-gallery-surface-section .yxt-gallery-section-head p {
  color: #aeb6c4;
}

.yxt-gallery-surface-section .yxt-gallery-grid__footer {
  border-color: rgba(255, 255, 255, .16);
}

.yxt-gallery-surface-section .yxt-gallery-grid__status {
  color: #aeb6c4;
}

.yxt-gallery-cta.brxe-section {
  padding-top: 78px;
  padding-bottom: 78px;
  background: var(--yxt-gallery-blue);
}

.yxt-gallery-cta__inner.brxe-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
}

.yxt-gallery-cta__copy {
  align-items: flex-start;
}

.yxt-gallery-cta__copy h2 {
  max-width: 760px;
  margin: 0;
  color: var(--yxt-gallery-white);
  font-size: 40px;
  line-height: 1.15;
  font-weight: 850;
}

.yxt-gallery-cta__copy p {
  max-width: 700px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: 16px;
  line-height: 1.65;
}

.yxt-gallery-cta .yxt-gallery-button--secondary.brxe-button {
  min-width: 168px;
  border-color: var(--yxt-gallery-white);
  background: var(--yxt-gallery-white);
  color: var(--yxt-gallery-blue-dark);
}

.yxt-gallery-motion-ready .yxt-gallery-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 480ms ease, transform 480ms cubic-bezier(.2, .7, .2, 1);
}

.yxt-gallery-motion-ready .yxt-gallery-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.yxt-gallery-lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 24px;
  overflow: hidden;
  border: 0;
  background: rgba(10, 13, 19, .94);
  color: #fff;
}

.yxt-gallery-lightbox::backdrop {
  background: rgba(10, 13, 19, .82);
  backdrop-filter: blur(5px);
}

.yxt-gallery-lightbox__shell {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  gap: 16px;
  width: 100%;
  max-width: 1280px;
  height: 100%;
  align-items: center;
  margin: 0 auto;
}

.yxt-gallery-lightbox__figure {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, .55fr);
  width: 100%;
  height: min(760px, calc(100dvh - 72px));
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: #0b0e14;
  box-shadow: 0 28px 72px rgba(0, 0, 0, .4);
}

.yxt-gallery-lightbox__media {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 0;
  place-items: center;
  overflow: hidden;
  background: #080a0e;
  touch-action: pan-y;
  user-select: none;
}

.yxt-gallery-lightbox__media.is-loading::before {
  width: min(68%, 520px);
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 6px;
  background: #10141c;
  content: "";
  animation: yxt-gallery-loading-pulse 1.2s ease-in-out infinite alternate;
}

.yxt-gallery-lightbox__media.is-loading::after {
  position: absolute;
  top: 50%;
  left: 50%;
  color: #8993a2;
  content: "Loading media...";
  font-size: 12px;
  line-height: 1;
  font-weight: 750;
  transform: translate(-50%, -50%);
}

.yxt-gallery-lightbox__media.is-error::after {
  color: #c8ced8;
  content: "This media could not be loaded.";
}

.yxt-gallery-lightbox__media img,
.yxt-gallery-lightbox__media video,
.yxt-gallery-lightbox__media iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
}

.yxt-gallery-player {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  background: #080a0e;
}

.yxt-gallery-player__stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
  place-items: center;
  overflow: hidden;
  background: #080a0e;
}

.yxt-gallery-player__stage video,
.yxt-gallery-player__stage iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  border: 0;
  object-fit: contain;
  object-position: center;
}

.yxt-gallery-player__controls {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 62px minmax(120px, 1fr) 94px 56px;
  gap: 10px;
  align-items: center;
  min-height: 66px;
  padding: 10px 12px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  background: #111722;
  color: #fff;
}

.yxt-gallery-player__button {
  min-width: 0;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 5px;
  background: #1b2330;
  color: #fff;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.yxt-gallery-player__button:hover,
.yxt-gallery-player__button[aria-pressed="true"] {
  border-color: rgba(255, 255, 255, .68);
  background: var(--yxt-gallery-blue);
}

.yxt-gallery-player__button:active {
  transform: translateY(1px);
}

.yxt-gallery-player__button:focus-visible,
.yxt-gallery-player__progress:focus-visible {
  outline: 3px solid rgba(145, 166, 255, .72);
  outline-offset: 2px;
}

.yxt-gallery-player__timeline {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.yxt-gallery-player__time {
  color: #aeb7c5;
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

.yxt-gallery-player__progress {
  width: 100%;
  min-width: 0;
  height: 18px;
  margin: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
}

.yxt-gallery-player__progress:disabled {
  cursor: wait;
  opacity: .62;
}

.yxt-gallery-player__progress::-webkit-slider-runnable-track {
  width: 100%;
  height: 5px;
  border-radius: 3px;
  background:
    linear-gradient(
      to right,
      var(--yxt-gallery-blue) 0,
      var(--yxt-gallery-blue) var(--yxt-player-progress, 0%),
      #3a4351 var(--yxt-player-progress, 0%),
      #3a4351 100%
    );
}

.yxt-gallery-player__progress::-webkit-slider-thumb {
  width: 16px;
  height: 16px;
  margin-top: -5.5px;
  border: 2px solid #fff;
  border-radius: 50%;
  appearance: none;
  -webkit-appearance: none;
  background: var(--yxt-gallery-blue);
  box-shadow: 0 2px 7px rgba(0, 0, 0, .36);
}

.yxt-gallery-player__progress::-moz-range-track {
  width: 100%;
  height: 5px;
  border-radius: 3px;
  background: #3a4351;
}

.yxt-gallery-player__progress::-moz-range-progress {
  height: 5px;
  border-radius: 3px;
  background: var(--yxt-gallery-blue);
}

.yxt-gallery-player__progress::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--yxt-gallery-blue);
  box-shadow: 0 2px 7px rgba(0, 0, 0, .36);
}

.yxt-gallery-lightbox__sound {
  position: absolute;
  z-index: 4;
  top: 18px;
  left: 18px;
  min-width: 104px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 6px;
  background: rgba(9, 13, 20, .82);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.yxt-gallery-lightbox__sound:hover,
.yxt-gallery-lightbox__sound[aria-pressed="true"] {
  border-color: rgba(255, 255, 255, .72);
  background: var(--yxt-gallery-blue);
}

.yxt-gallery-lightbox__sound:active {
  transform: translateY(1px);
}

.yxt-gallery-lightbox__sound:focus-visible {
  outline: 3px solid rgba(145, 166, 255, .7);
  outline-offset: 2px;
}

.yxt-gallery-lightbox__caption {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 42px 34px;
  background: #151a24;
  text-align: left;
}

.yxt-gallery-lightbox__caption > span {
  color: #91a6ff;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 850;
  text-transform: uppercase;
}

.yxt-gallery-lightbox__caption h2 {
  margin: 14px 0 0;
  color: #fff;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 820;
  overflow-wrap: anywhere;
}

.yxt-gallery-lightbox__caption p {
  margin: 18px 0 0;
  color: #aeb6c4;
  font-size: 14px;
  line-height: 1.7;
}

.yxt-gallery-lightbox__caption p:empty {
  display: none;
}

.yxt-gallery-lightbox__caption dl {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
}

.yxt-gallery-lightbox__caption dl:empty {
  display: none;
}

.yxt-gallery-lightbox__caption dl div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.yxt-gallery-lightbox__caption dt {
  color: #7f8998;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 800;
  text-transform: uppercase;
}

.yxt-gallery-lightbox__caption dd {
  margin: 0;
  color: #e8ebf0;
  font-size: 13px;
  line-height: 1.4;
}

.yxt-gallery-lightbox__whatsapp {
  width: 100%;
  min-height: 48px;
  margin-top: 28px;
  padding: 12px 16px;
  border-color: #25d366;
  background: #25d366;
  color: #071b10;
  font-size: 13px;
}

.yxt-gallery-lightbox__whatsapp:hover {
  border-color: #49df7e;
  background: #49df7e;
  color: #071b10;
}

.yxt-gallery-lightbox__close,
.yxt-gallery-lightbox__nav {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  background: rgba(20, 25, 34, .82);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.yxt-gallery-lightbox__close:hover,
.yxt-gallery-lightbox__nav:hover {
  border-color: rgba(255, 255, 255, .55);
  background: var(--yxt-gallery-blue);
}

.yxt-gallery-lightbox__close:active,
.yxt-gallery-lightbox__nav:active {
  transform: scale(.96);
}

.yxt-gallery-lightbox__close {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
}

@keyframes yxt-gallery-loading-pulse {
  from {
    opacity: .55;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 1024px) {
  .yxt-gallery-page.brxe-section {
    padding: 88px 22px;
  }

  .yxt-gallery-hero.brxe-section {
    padding-top: 52px;
    padding-bottom: 50px;
  }

  .yxt-gallery-hero__inner.brxe-container {
    grid-template-columns: minmax(0, .9fr) minmax(430px, 1.1fr);
    gap: 36px;
  }

  .yxt-gallery-hero__content h1 {
    font-size: 52px;
  }

  .yxt-gallery-hero__visual {
    grid-template-columns: minmax(0, 1.45fr) minmax(150px, .7fr);
    height: 380px;
  }

  body.page-id-1647 .yxt-gallery-hero__inner.brxe-container {
    grid-template-columns: minmax(0, .88fr) minmax(480px, 1.12fr);
    gap: 32px;
  }

  body.page-id-1647 .yxt-gallery-hero__visual {
    height: 352px;
  }

  .yxt-gallery-grid__items {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .yxt-gallery-grid__items[data-yxt-gallery-remainder="1"] > .yxt-gallery-card--last-row-1 {
    grid-column-start: 3;
  }

  .yxt-gallery-grid__items[data-yxt-gallery-remainder="2"] > .yxt-gallery-card--last-row-1 {
    grid-column-start: 2;
  }

  .yxt-gallery-grid__items[data-yxt-gallery-remainder="2"] > .yxt-gallery-card--last-row-2 {
    grid-column-start: 4;
  }

  .yxt-gallery-grid__items[data-yxt-gallery-remainder="3"] > .yxt-gallery-card--last-row-1,
  .yxt-gallery-grid__items[data-yxt-gallery-remainder="3"] > .yxt-gallery-card--last-row-2,
  .yxt-gallery-grid__items[data-yxt-gallery-remainder="3"] > .yxt-gallery-card--last-row-3 {
    grid-column-start: auto;
  }

  .yxt-gallery-subsection__head {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
  }

  .yxt-gallery-lightbox__figure {
    grid-template-columns: minmax(0, 1.45fr) minmax(250px, .55fr);
  }
}

@media (max-width: 780px) {
  .yxt-gallery-page.brxe-section {
    padding: 72px 18px;
  }

  .yxt-gallery-hero.brxe-section {
    min-height: 0;
    padding-top: 46px;
    padding-bottom: 44px;
  }

  .yxt-gallery-hero__inner.brxe-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .yxt-gallery-hero__content {
    max-width: 620px;
  }

  .yxt-gallery-hero__content h1 {
    max-width: 600px;
    font-size: 48px;
  }

  .yxt-gallery-hero__lead {
    font-size: 16px;
  }

  .yxt-gallery-hero__visual {
    grid-template-columns: minmax(0, 1.45fr) minmax(160px, .65fr);
    height: 390px;
  }

  body.page-id-1647 .yxt-gallery-hero__inner.brxe-container {
    grid-template-columns: 1fr;
  }

  body.page-id-1647 .yxt-gallery-hero__visual {
    height: 320px;
  }

  .yxt-gallery-nav-section.brxe-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .yxt-gallery-nav.brxe-container {
    min-height: 70px;
  }

  .yxt-gallery-nav__label {
    display: none;
  }

  .yxt-gallery-section-head h2 {
    font-size: 38px;
  }

  .yxt-gallery-subsection__head {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
  }

  .yxt-gallery-grid__items {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  .yxt-gallery-card__body {
    height: 164px;
    min-height: 164px;
    padding: 16px;
  }

  .yxt-gallery-grid__items[data-yxt-gallery-remainder="1"] > .yxt-gallery-card--last-row-1 {
    grid-column-start: 2;
  }

  .yxt-gallery-grid__items[data-yxt-gallery-remainder="2"] > .yxt-gallery-card--last-row-1,
  .yxt-gallery-grid__items[data-yxt-gallery-remainder="2"] > .yxt-gallery-card--last-row-2,
  .yxt-gallery-grid__items[data-yxt-gallery-remainder="3"] > .yxt-gallery-card--last-row-1,
  .yxt-gallery-grid__items[data-yxt-gallery-remainder="3"] > .yxt-gallery-card--last-row-2,
  .yxt-gallery-grid__items[data-yxt-gallery-remainder="3"] > .yxt-gallery-card--last-row-3 {
    grid-column-start: auto;
  }

  .yxt-gallery-card--contain .yxt-gallery-card__image {
    padding: 15px;
  }

  .yxt-gallery-card__view {
    opacity: 1;
    transform: none;
  }

  .yxt-gallery-cta__inner.brxe-container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .yxt-gallery-lightbox {
    padding: 12px 12px max(12px, env(safe-area-inset-bottom));
  }

  .yxt-gallery-lightbox__shell {
    display: block;
    max-width: 720px;
  }

  .yxt-gallery-lightbox__figure {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1.35fr) auto;
    height: calc(100dvh - 24px - env(safe-area-inset-bottom));
  }

  .yxt-gallery-player__controls {
    grid-template-columns: 56px minmax(96px, 1fr) 88px 50px;
    gap: 7px;
    min-height: 64px;
    padding: 8px;
  }

  .yxt-gallery-player__button {
    min-height: 42px;
    padding: 8px 7px;
  }

  .yxt-gallery-lightbox__caption {
    max-height: 42dvh;
    justify-content: flex-start;
    overflow-y: auto;
    padding: 24px 22px;
    text-align: left;
  }

  .yxt-gallery-lightbox__caption h2 {
    font-size: 23px;
  }

  .yxt-gallery-lightbox__caption > span {
    order: 1;
  }

  .yxt-gallery-lightbox__caption h2 {
    order: 2;
  }

  .yxt-gallery-lightbox__whatsapp {
    order: 3;
    flex: 0 0 auto;
    margin-top: 20px;
  }

  .yxt-gallery-lightbox__caption p {
    order: 4;
  }

  .yxt-gallery-lightbox__caption dl {
    order: 5;
  }

  .yxt-gallery-lightbox__close {
    top: 10px;
    right: 10px;
  }

  .yxt-gallery-lightbox__sound {
    top: 10px;
    left: 10px;
    min-width: 96px;
    min-height: 42px;
    padding: 9px 13px;
  }

  .yxt-gallery-lightbox__nav {
    position: absolute;
    z-index: 3;
    top: 38%;
  }

  .yxt-gallery-lightbox__nav--previous {
    left: 10px;
  }

  .yxt-gallery-lightbox__nav--next {
    right: 10px;
  }
}

@media (max-width: 520px) {
  .yxt-gallery-page.brxe-section {
    padding: 64px 16px;
  }

  .yxt-gallery-hero.brxe-section {
    padding-top: 28px;
    padding-bottom: 26px;
  }

  .yxt-gallery-hero__inner.brxe-container {
    gap: 24px;
  }

  .yxt-gallery-player__controls {
    grid-template-columns: 50px minmax(82px, 1fr) 78px 44px;
    gap: 4px;
    min-height: 62px;
    padding: 7px 6px calc(7px + env(safe-area-inset-bottom));
  }

  .yxt-gallery-player__button {
    min-height: 40px;
    padding: 7px 5px;
    font-size: 10px;
  }

  .yxt-gallery-player__timeline {
    gap: 3px;
  }

  .yxt-gallery-player__time {
    font-size: 9px;
  }

  .yxt-gallery-hero__content h1 {
    font-size: 36px;
    line-height: 1.06;
  }

  .yxt-gallery-hero__lead {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.62;
  }

  .yxt-gallery-hero__summary {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 18px;
  }

  .yxt-gallery-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 22px;
  }

  .yxt-gallery-button.brxe-button {
    min-width: 0;
    min-height: 48px;
    padding: 12px 14px;
    font-size: 13px;
  }

  .yxt-gallery-hero__visual {
    grid-template-columns: minmax(0, 1.4fr) minmax(110px, .65fr);
    gap: 8px;
    height: 280px;
  }

  body.page-id-1408 .yxt-gallery-hero__visual,
  body.page-id-1647 .yxt-gallery-hero__visual {
    height: 214px;
  }

  body.page-id-1647 .yxt-gallery-hero__visual,
  body.page-id-1647 .yxt-gallery-hero__stack {
    gap: 7px;
  }

  body.page-id-1647 .yxt-gallery-hero__visual {
    padding: 7px;
  }

  .yxt-gallery-hero__stack {
    gap: 8px;
  }

  .yxt-gallery-hero__image--main.brxe-image {
    padding: 18px;
  }

  .yxt-gallery-hero__image--surface.brxe-image {
    padding: 10px;
  }

  .yxt-gallery-nav-section.brxe-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .yxt-gallery-nav.brxe-container {
    gap: 8px;
  }

  .yxt-gallery-nav__link.brxe-button {
    min-height: 38px;
    padding: 9px 12px;
    font-size: 12px;
  }

  .yxt-gallery-section-head {
    margin-bottom: 42px;
  }

  .yxt-gallery-section-head h2 {
    font-size: 32px;
    line-height: 1.16;
  }

  .yxt-gallery-section-head p {
    font-size: 15px;
  }

  .yxt-gallery-subsection + .yxt-gallery-subsection {
    margin-top: 64px;
    padding-top: 56px;
  }

  .yxt-gallery-subsection__title h3 {
    font-size: 26px;
  }

  .yxt-gallery-grid__items {
    gap: 10px;
  }

  .yxt-gallery-card {
    border-radius: 6px;
  }

  .yxt-gallery-card__body {
    height: 154px;
    min-height: 154px;
    padding: 13px;
  }

  .yxt-gallery-card__category {
    margin-bottom: 6px;
    font-size: 9px;
  }

  .yxt-gallery-card__body h3 {
    font-size: 14px;
    line-height: 1.34;
  }

  .yxt-gallery-card__meta {
    display: none;
  }

  .yxt-gallery-card__whatsapp {
    min-height: 36px;
    gap: 6px;
    padding: 8px 7px;
    font-size: 11px;
  }

  .yxt-gallery-card__whatsapp .yxt-gallery-whatsapp__icon {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }

  .yxt-gallery-card__view {
    top: 8px;
    right: 8px;
    min-width: 44px;
    min-height: 28px;
    padding: 6px 8px;
    font-size: 10px;
  }

  .yxt-gallery-grid__footer {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 22px;
  }

  .yxt-gallery-pagination {
    width: 100%;
    justify-content: space-between;
  }

  .yxt-gallery-pagination__pages {
    flex: 1;
    justify-content: center;
  }

  .yxt-gallery-pagination button {
    min-width: 36px;
    height: 40px;
    padding: 0 7px;
  }

  .yxt-gallery-pagination__direction {
    min-width: 70px !important;
  }

  .yxt-gallery-cta__copy h2 {
    font-size: 31px;
  }
}

@media (max-width: 400px) {
  .yxt-gallery-pagination__direction {
    min-width: 40px !important;
    padding: 0 !important;
    font-size: 0 !important;
  }

  .yxt-gallery-pagination__direction::before {
    font-size: 17px;
  }

  .yxt-gallery-pagination__direction[data-yxt-gallery-previous-page]::before {
    content: "←";
  }

  .yxt-gallery-pagination__direction[data-yxt-gallery-next-page]::before {
    content: "→";
  }
}

@media (max-width: 340px) {
  .yxt-gallery-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .yxt-gallery-motion-ready .yxt-gallery-reveal,
  .yxt-gallery-card,
  .yxt-gallery-card__image,
  .yxt-gallery-card__view,
  .yxt-gallery-whatsapp,
  .yxt-gallery-button.brxe-button,
  .yxt-gallery-nav__link.brxe-button,
  .yxt-gallery-pagination button {
    transition: none;
    transform: none;
  }
}
