.mra-gallery {
  --mra-red: #e51820;
  --mra-bg: #fff;
  --mra-surface: #fff;
  --mra-soft: #f5f5f5;
  --mra-text: #050505;
  --mra-muted: #707070;
  --mra-border: #e4e4e4;
  --mra-shadow: 0 18px 60px rgba(0, 0, 0, .18);
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 100dvh;
  overflow: clip;
  color: var(--mra-text);
  background: var(--mra-bg);
  font-family: "MRA Montserrat", Montserrat, Arial, sans-serif;
  line-height: 1.5;
  isolation: isolate;
}

body.page-id-25177 .title-module-wrap.page-title-module-custom,
body.page-id-23681 .title-module-wrap.page-title-module-custom {
  display: none !important;
}

body.page-id-25177 #content,
body.page-id-23681 #content {
  margin: 0 !important;
  padding: 0 !important;
  background: #050505 !important;
}

body.page-id-25177 #content-wrap,
body.page-id-25177 #content-wrap.be-wrap,
body.page-id-25177 #page-content,
body.page-id-25177 #page-content > .clearfix,
body.page-id-23681 #content-wrap,
body.page-id-23681 #content-wrap.be-wrap,
body.page-id-23681 #page-content,
body.page-id-23681 #page-content > .clearfix {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.page-id-25177 .mra-gallery-page-fullscreen,
body.page-id-25177 .mra-gallery-page-fullscreen .tatsu-section-pad,
body.page-id-25177 .mra-gallery-page-fullscreen .tatsu-row-wrap,
body.page-id-25177 .mra-gallery-page-fullscreen .tatsu-row,
body.page-id-25177 .mra-gallery-page-fullscreen .tatsu-column,
body.page-id-25177 .mra-gallery-page-fullscreen .tatsu-column-inner,
body.page-id-25177 .mra-gallery-page-fullscreen .tatsu-column-pad-wrap,
body.page-id-25177 .mra-gallery-page-fullscreen .tatsu-column-pad,
body.page-id-25177 .mra-gallery-page-fullscreen .tatsu-text-inner,
body.page-id-23681 .mra-gallery-page-fullscreen,
body.page-id-23681 .mra-gallery-page-fullscreen .tatsu-section-pad,
body.page-id-23681 .mra-gallery-page-fullscreen .tatsu-row-wrap,
body.page-id-23681 .mra-gallery-page-fullscreen .tatsu-row,
body.page-id-23681 .mra-gallery-page-fullscreen .tatsu-column,
body.page-id-23681 .mra-gallery-page-fullscreen .tatsu-column-inner,
body.page-id-23681 .mra-gallery-page-fullscreen .tatsu-column-pad-wrap,
body.page-id-23681 .mra-gallery-page-fullscreen .tatsu-column-pad,
body.page-id-23681 .mra-gallery-page-fullscreen .tatsu-text-inner {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.mra-gallery--full-bleed {
  left: 50%;
  right: 50%;
  width: 100vw;
  max-width: 100vw;
  margin-right: -50vw;
  margin-left: -50vw;
}

.mra-gallery--dark {
  --mra-bg: #050505;
  --mra-surface: #0d0d0d;
  --mra-soft: #151515;
  --mra-text: #fff;
  --mra-muted: #9b9b9b;
  --mra-border: #242424;
  --mra-shadow: 0 20px 70px rgba(0, 0, 0, .7);
}

.mra-gallery *,
.mra-gallery *::before,
.mra-gallery *::after {
  box-sizing: border-box;
}

.mra-gallery button,
.mra-gallery a {
  font: inherit;
}

.mra-gallery__header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--mra-border);
  background: var(--mra-bg);
  background: color-mix(in srgb, var(--mra-bg) 92%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.mra-gallery__brand {
  display: flex;
  align-items: center;
  min-width: 0;
  white-space: nowrap;
}

.mra-gallery__brand-mark {
  width: 12px;
}

.mra-gallery__brand-name,
.mra-gallery__brand-accent {
  overflow: hidden;
  font-size: clamp(16px, 2vw, 25px);
  line-height: 1;
  letter-spacing: -.055em;
  text-transform: uppercase;
}

.mra-gallery__brand-name {
  font-weight: 300;
}

.mra-gallery__brand-accent {
  margin-left: .35em;
  color: var(--mra-red);
  font-weight: 800;
}

.mra-gallery__header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.mra-gallery__backend-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: none;
  min-width: 104px;
  padding: 8px 12px;
  border: 1px solid color-mix(in srgb, var(--mra-red) 50%, var(--mra-border));
  border-radius: 999px;
  color: #fff;
  background: var(--mra-red);
  text-decoration: none;
  cursor: pointer;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(229, 24, 32, .22);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.mra-gallery__backend-link:hover,
.mra-gallery__backend-link:focus {
  color: #fff;
  background: #bd1016;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(229, 24, 32, .3);
}

.mra-gallery__theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  padding: 8px 12px;
  border: 1px solid var(--mra-border);
  border-radius: 999px;
  color: var(--mra-muted);
  background: var(--mra-soft);
  cursor: pointer;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.mra-gallery__theme-toggle:focus-visible,
.mra-gallery__backend-link:focus-visible,
.mra-gallery__card:focus-visible,
.mra-artwork button:focus-visible,
.mra-artwork a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--mra-red) 70%, transparent);
  outline-offset: 3px;
}

.mra-gallery__switch {
  position: relative;
  display: block;
  width: 32px;
  height: 16px;
  border-radius: 999px;
  background: #d0d0d0;
}

.mra-gallery__switch span {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mra-red);
  transition: transform .25s ease, background .25s ease;
}

.mra-gallery--dark .mra-gallery__switch {
  background: #424242;
}

.mra-gallery--dark .mra-gallery__switch span {
  transform: translateX(16px);
  background: #fff;
}

.mra-gallery__grid {
  column-count: 2;
  column-gap: 5px;
  width: 100%;
  padding: 30px 0 0;
}

.mra-gallery--full-bleed .mra-gallery__grid {
  padding-top: 0;
}

.mra-gallery__card {
  display: inline-block;
  width: 100%;
  margin: 0 0 5px;
  padding: 0;
  overflow: hidden;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  border: 1px solid var(--mra-border);
  color: inherit;
  background: var(--mra-soft);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--mra-text) 8%, transparent);
  cursor: pointer;
  text-align: left;
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.mra-gallery__card:hover {
  z-index: 2;
  border-color: var(--mra-red);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .25);
}

.mra-gallery__image-wrap {
  position: relative;
  display: block;
  min-height: 130px;
  overflow: hidden;
}

.mra-gallery__image {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
  transform: scale(1.001);
  transition: transform .7s cubic-bezier(.2, .7, .2, 1), filter .4s ease;
}

.mra-gallery__card:hover .mra-gallery__image {
  transform: scale(1.045);
}

.mra-gallery__card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: var(--mra-text);
  background: linear-gradient(to top, color-mix(in srgb, var(--mra-bg) 96%, transparent), transparent 65%);
  opacity: 0;
  transition: opacity .35s ease;
}

.mra-gallery--dark .mra-gallery__card-overlay {
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, .92), transparent 65%);
}

.mra-gallery__card:hover .mra-gallery__card-overlay,
.mra-gallery__card:focus-visible .mra-gallery__card-overlay {
  opacity: 1;
}

.mra-gallery__card-overlay strong {
  display: block;
  font-family: "MRA Oswald", Impact, sans-serif;
  font-size: clamp(17px, 1.8vw, 26px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  text-transform: uppercase;
  transform: translateY(12px);
  transition: transform .4s ease;
}

.mra-gallery__card-overlay small {
  align-self: flex-end;
  margin-top: 8px;
  color: var(--mra-red);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
  transform: translateY(12px);
  transition: transform .4s ease;
}

.mra-gallery__card:hover .mra-gallery__card-overlay strong,
.mra-gallery__card:hover .mra-gallery__card-overlay small,
.mra-gallery__card:focus-visible .mra-gallery__card-overlay strong,
.mra-gallery__card:focus-visible .mra-gallery__card-overlay small {
  transform: translateY(0);
}

.mra-gallery__accent-line {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  height: 4px;
  background: var(--mra-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s ease;
}

.mra-gallery__card:hover .mra-gallery__accent-line,
.mra-gallery__card:focus-visible .mra-gallery__accent-line {
  transform: scaleX(1);
}

.mra-gallery__empty {
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 60px 20px;
  text-align: center;
}

.mra-gallery__empty h3 {
  margin: 0 0 8px;
  font-family: "MRA Oswald", Impact, sans-serif;
  font-size: 24px;
  text-transform: uppercase;
}

.mra-gallery__empty p {
  max-width: 460px;
  margin: 0;
  color: var(--mra-muted);
}

.mra-gallery__dialog {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: clamp(18px, 5vw, 80px);
  border: 0;
  color: var(--mra-text);
  background: rgba(0, 0, 0, .9);
  overflow: auto;
}

.mra-gallery__dialog::backdrop {
  background: rgba(0, 0, 0, .88);
  backdrop-filter: blur(8px);
}

.mra-gallery__dialog[open] {
  display: grid;
  place-items: center;
}

.mra-gallery__dialog-shell {
  width: min(1280px, 100%);
  height: min(90dvh, 900px);
  min-height: 0;
  border: 1px solid var(--mra-border);
  border-radius: 13px;
  overflow: hidden;
  background: var(--mra-surface);
  box-shadow: var(--mra-shadow);
}

.mra-artwork {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 38%);
  width: 100%;
  height: 100%;
  min-height: 0;
  color: var(--mra-text);
  background: var(--mra-surface);
}

.mra-artwork__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--mra-red);
  box-shadow: 0 8px 24px rgba(229, 24, 32, .3);
  cursor: pointer;
  transition: transform .25s ease, background .2s ease;
}

.mra-artwork__close:hover {
  background: #bc1017;
  transform: rotate(90deg);
}

.mra-artwork__close svg,
.mra-artwork__nav svg,
.mra-artwork__buy svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.mra-artwork__media {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background: #d8d8d8;
}

.mra-gallery--dark .mra-artwork__media {
  background: #080808;
}

.mra-artwork__stage {
  position: relative;
  display: grid;
  place-items: center;
  flex: 1;
  min-height: 0;
  padding: 30px;
  overflow: hidden;
}

.mra-artwork__image {
  display: none;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .22));
}

.mra-artwork__image.is-active {
  display: block;
  animation: mra-reveal .35s ease both;
}

@keyframes mra-reveal {
  from { opacity: 0; transform: scale(.98); }
  to { opacity: 1; transform: scale(1); }
}

.mra-artwork__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, .48);
  cursor: pointer;
  transform: translateY(-50%);
}

.mra-artwork__nav:hover {
  color: var(--mra-red);
}

.mra-artwork__nav--prev { left: 16px; }
.mra-artwork__nav--next { right: 16px; }

.mra-artwork__thumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex: none;
  padding: 13px;
  overflow-x: auto;
  border-top: 1px solid rgba(0, 0, 0, .12);
  background: var(--mra-soft);
  background: color-mix(in srgb, var(--mra-soft) 90%, transparent);
}

.mra-artwork__thumbs button {
  flex: none;
  width: 64px;
  height: 64px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 5px;
  opacity: .55;
  background: transparent;
  cursor: pointer;
}

.mra-artwork__thumbs button.is-active {
  border-color: var(--mra-red);
  opacity: 1;
}

.mra-artwork__thumbs img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mra-artwork__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: clamp(28px, 4vw, 48px);
  overflow-y: auto;
  border-left: 1px solid var(--mra-border);
}

.mra-artwork__eyebrow,
.mra-artwork__description h4 {
  margin: 0 0 10px;
  color: var(--mra-red);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.mra-artwork h3 {
  margin: 0;
  padding-right: 46px;
  color: inherit;
  font-family: "MRA Oswald", Impact, sans-serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.045em;
  text-transform: uppercase;
}

.mra-artwork__price {
  margin: 10px 0 0;
  color: var(--mra-red);
  font-family: "MRA Oswald", Impact, sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.mra-artwork__description {
  flex: 1;
  margin-top: 28px;
}

.mra-artwork__description h4 {
  color: var(--mra-muted);
  letter-spacing: .2em;
}

.mra-artwork__description p {
  margin: 0 0 1.25em;
  color: color-mix(in srgb, var(--mra-text) 72%, transparent);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
}

.mra-artwork__authenticity {
  margin: 12px 0 0;
  padding: 15px;
  border: 1px solid var(--mra-border);
  color: var(--mra-muted);
  background: var(--mra-soft);
  font-size: 9px;
  line-height: 1.6;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mra-artwork__actions {
  margin-top: 24px;
}

.mra-artwork__buy,
.mra-artwork__sold {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 15px 20px;
  border: 0;
  color: #fff;
  background: var(--mra-red);
  text-decoration: none;
  font-family: "MRA Oswald", Impact, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .025em;
  text-transform: uppercase;
  transition: background .2s ease;
}

.mra-artwork__buy:hover {
  color: #fff;
  background: #bc1017;
}

.mra-artwork__buy svg {
  width: 20px;
  transition: transform .2s ease;
}

.mra-artwork__buy:hover svg {
  transform: translateX(4px);
}

.mra-artwork__sold {
  color: #777;
  background: #242424;
}

.mra-artwork__secondary-close {
  width: 100%;
  margin-top: 8px;
  padding: 10px;
  border: 1px solid transparent;
  color: var(--mra-muted);
  background: transparent;
  cursor: pointer;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .25em;
  text-transform: uppercase;
}

.mra-artwork__secondary-close:hover {
  border-color: var(--mra-border);
  color: var(--mra-text);
}

body.mra-gallery-modal-open {
  overflow: hidden !important;
}

@media (min-width: 640px) {
  .mra-gallery__grid { column-count: 3; column-gap: 7px; }
  .mra-gallery__card { margin-bottom: 7px; }
}

@media (min-width: 768px) {
  .mra-gallery__grid { column-count: 4; }
}

@media (min-width: 1024px) {
  .mra-gallery__grid { column-count: 6; column-gap: 8px; }
  .mra-gallery__card { margin-bottom: 8px; }
}

@media (min-width: 1280px) {
  .mra-gallery__grid { column-count: 8; }
}

@media (min-width: 1680px) {
  .mra-gallery__grid { column-count: 10; }
}

@media (max-width: 700px) {
  .mra-gallery__header {
    min-height: 68px;
    padding: 10px 16px;
  }

  .mra-gallery__header-actions {
    gap: 6px;
  }

  .mra-gallery__backend-link {
    min-width: 0;
    width: 38px;
    height: 38px;
    justify-content: center;
    padding: 0;
  }

  .mra-gallery__backend-link span:last-child {
    display: none;
  }

  .mra-gallery__theme-toggle > span:first-child {
    display: none;
  }

  .mra-gallery__grid {
    padding-top: 14px;
  }

  .mra-gallery__card-overlay {
    display: none;
  }

  .mra-gallery__dialog {
    padding: 16px;
  }

  .mra-gallery__dialog-shell {
    width: 100%;
    height: calc(100dvh - 32px);
    overflow-y: auto;
    border-radius: 11px;
  }

  .mra-artwork {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 100%;
  }

  .mra-artwork__media {
    flex: none;
    height: min(58dvh, 620px);
  }

  .mra-artwork__stage {
    padding: 16px;
  }

  .mra-artwork__info {
    flex: none;
    overflow: visible;
    padding: 28px 24px 34px;
    border-top: 1px solid var(--mra-border);
    border-left: 0;
  }

  .mra-artwork h3 {
    padding-right: 36px;
    font-size: 34px;
  }

  .mra-artwork__close {
    position: fixed;
    top: 26px;
    right: 26px;
  }
}

@media (hover: none) {
  .mra-gallery__card:hover {
    border-color: var(--mra-border);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--mra-text) 8%, transparent);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mra-gallery *,
  .mra-gallery *::before,
  .mra-gallery *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .mra-gallery {
    display: none !important;
  }
}
