/* Website247 Core â€” Imaginarium layout system */

:root {
  --w247-black: #0a0a0a;
  --w247-white: #ffffff;
  --w247-accent: #F58821;
  --w247-gray-50: #f7f7f7;
  --w247-gray-100: #efefef;
  --w247-gray-200: #e2e2e2;
  --w247-gray-400: #9a9a9a;
  --w247-gray-600: #5c5c5c;
  --w247-gray-800: #1f1f1f;
  --w247-font-display: "Be Vietnam Pro", "Segoe UI", sans-serif;
  --w247-font-serif: "Be Vietnam Pro", "Segoe UI", sans-serif;
  --w247-font-body: "Be Vietnam Pro", "Segoe UI", sans-serif;
  --w247-max: 1240px;
  --w247-pad: clamp(1.25rem, 4vw, 2.5rem);
  --w247-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset plugin scope */
.w247-site,
.w247-site * {
  box-sizing: border-box;
}

.w247-layout {
  margin: 0;
  background: var(--w247-white);
  color: var(--w247-black);
  font-family: var(--w247-font-body);
  font-weight: 500;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.w247-layout .sq-site,
.w247-layout .sq-header,
.w247-layout .sq-footer,
.w247-layout .sq-main,
.w247-layout .sq-skip-link {
  display: none !important;
}

.w247-skip {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 0.75rem 1rem;
  background: var(--w247-black);
  color: var(--w247-white);
}

.w247-skip:focus {
  left: 1rem;
  top: 1rem;
}

.w247-container {
  width: min(100% - (var(--w247-pad) * 2), var(--w247-max));
  margin-inline: auto;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Typography */
.w247-site h1,
.w247-site h2,
.w247-site h3,
.w247-site h4,
.w247-site h5,
.w247-site h6,
.w247-display,
.w247-serif-display,
.w247-section__title,
.w247-show__title,
.w247-logo__text,
.w247-stats-rail__num,
.w247-stats-bar__num,
.w247-hub-icons__num,
.w247-value h3,
.w247-what__item h3,
.w247-team__member h3,
.w247-space h3,
.w247-coming__label,
.w247-community__grid h3,
.w247-proof__cta h3,
.w247-contact__social h3,
.w247-footer__title,
.w247-quote strong {
  font-weight: 600;
}

.w247-display {
  font-family: var(--w247-font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.w247-display--md { font-size: clamp(1.6rem, 3.2vw, 2.6rem); }
.w247-display--sm { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.w247-display--xs { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.w247-serif-display {
  font-family: var(--w247-font-serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  margin: 0 0 1rem;
}

.w247-serif-display--md { font-size: clamp(1.8rem, 3.5vw, 3rem); }
.w247-serif-display--sm { font-size: clamp(1.5rem, 2.5vw, 2.2rem); }

.w247-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--w247-accent);
  margin: 0 0 0.75rem;
}

.w247-lead {
  font-size: 1.05rem;
  max-width: 36rem;
  color: var(--w247-gray-600);
  margin: 0 0 1.5rem;
}

.w247-section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.w247-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.w247-section__title {
  font-family: var(--w247-font-display);
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
  position: relative;
  padding-left: 0.9rem;
}

.w247-section__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 3px;
  background: var(--w247-accent);
}

.w247-link {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.15rem;
  transition: color 0.25s var(--w247-ease), border-color 0.25s var(--w247-ease), opacity 0.25s var(--w247-ease);
}

.w247-link:hover {
  color: var(--w247-accent);
  border-bottom-color: var(--w247-accent);
}

.w247-breadcrumb {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--w247-gray-400);
  margin: 0 0 1.25rem;
}

.w247-breadcrumb span { margin: 0 0.35rem; }

/* Buttons */
.w247-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.7rem 1.35rem;
  font-family: var(--w247-font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--w247-ease), color 0.25s var(--w247-ease), border-color 0.25s var(--w247-ease), box-shadow 0.25s var(--w247-ease), transform 0.25s var(--w247-ease);
}

.w247-btn--solid {
  background: var(--w247-black);
  color: var(--w247-white);
  border-color: var(--w247-black);
}

.w247-btn--solid:hover {
  background: var(--w247-accent);
  border-color: var(--w247-accent);
  color: var(--w247-white);
}

.w247-btn--light {
  background: var(--w247-white);
  color: var(--w247-black);
  border-color: var(--w247-white);
}

.w247-btn--light:hover {
  background: transparent;
  color: var(--w247-white);
  border-color: var(--w247-accent);
  box-shadow: inset 0 0 0 1px var(--w247-accent);
}

.w247-btn--outline,
.w247-btn--ghost-light {
  background: transparent;
  border-color: var(--w247-black);
  color: var(--w247-black);
}

.w247-btn--ghost-light {
  border-color: var(--w247-white);
  color: var(--w247-white);
}

.w247-btn--outline:hover {
  background: transparent;
  color: var(--w247-accent);
  border-color: var(--w247-accent);
  box-shadow: inset 0 0 0 1px var(--w247-accent);
}

.w247-btn--ghost-light:hover {
  background: transparent;
  color: var(--w247-accent);
  border-color: var(--w247-accent);
  box-shadow: inset 0 0 0 1px var(--w247-accent);
}

.w247-play {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent currentColor;
}

/* Top bar + header */
.w247-topbar {
  background: var(--w247-black);
  color: var(--w247-white);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.w247-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 2rem;
}

.w247-topbar__loc {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  opacity: 0.85;
}

.w247-icon--topbar {
  color: var(--w247-accent);
  flex: 0 0 auto;
}

.w247-topbar__tools {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.w247-topbar__lang,
.w247-topbar__search {
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  padding: 0;
}

.w247-topbar__lang {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
}

.w247-topbar__lang a {
  color: inherit;
  text-decoration: none;
  opacity: 0.45;
  transition: opacity 0.15s ease;
}

.w247-topbar__lang a:hover,
.w247-topbar__lang a:focus-visible,
.w247-topbar__lang a.is-active,
.w247-topbar__lang a.gt-current-lang {
  opacity: 1;
}

.w247-topbar__lang-sep {
  opacity: 0.35;
  font-weight: 400;
  pointer-events: none;
}

.w247-topbar__lang--shortcode .gtranslate_wrapper,
.w247-topbar__lang--shortcode a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: inherit;
  text-decoration: none;
}

/* Hide default GTranslate floating / banner chrome — topbar EN | VI is the control. */
.gt_float_switcher,
.skiptranslate > iframe.skiptranslate,
.goog-te-banner-frame {
  display: none !important;
}

body {
  top: 0 !important;
}

.goog-te-spinner-pos,
#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
}

.w247-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--w247-white);
}

.w247-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.25rem;
}

.w247-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  line-height: 0;
}

.w247-logo__img {
  display: block;
  height: 2rem;
  width: auto;
  max-width: min(220px, 52vw);
  object-fit: contain;
}

.w247-logo--footer .w247-logo__img {
  height: 2.25rem;
  /* Footer is light; invert white logo text + keep orange mark readable via filter mix is imperfect.
     Prefer a dark-bg plate behind logo in footer brand. */
  background: #000;
  padding: 0.45rem 0.65rem;
}

.w247-logo__mark {
  width: 0.85rem;
  height: 0.85rem;
  background: var(--w247-accent);
  clip-path: polygon(50% 18%, 0% 100%, 100% 100%);
  position: relative;
}

.w247-logo__mark::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -0.22rem;
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: var(--w247-accent);
  transform: translateX(-50%);
}

.w247-logo__text {
  font-family: var(--w247-font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--w247-white);
}

.w247-nav {
  display: none;
  justify-content: center;
  gap: clamp(0.75rem, 1.8vw, 1.5rem);
  flex-wrap: wrap;
}

.w247-nav a {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  color: rgba(255, 255, 255, 0.88);
}

.w247-nav a.is-active,
.w247-nav a:hover {
  border-bottom-color: var(--w247-accent);
  color: var(--w247-white);
}

.w247-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.w247-header__actions .w247-btn {
  display: none;
  min-height: 2.4rem;
  padding: 0.55rem 1rem;
}

.w247-header__actions .w247-btn--solid {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.85);
  color: var(--w247-white);
}

.w247-header__actions .w247-btn--solid:hover {
  border-color: var(--w247-accent);
  color: var(--w247-accent);
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--w247-accent);
}

.w247-menu-toggle {
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  color: var(--w247-white);
}

.w247-menu-toggle span {
  display: none;
}

.w247-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem var(--w247-pad) 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #000000;
  color: var(--w247-white);
}

.w247-mobile-nav[hidden] { display: none; }

.w247-mobile-nav a {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.w247-mobile-nav .w247-btn--solid {
  background: transparent;
  border-color: var(--w247-accent);
  color: var(--w247-accent);
  width: fit-content;
}

.w247-mobile-nav .w247-btn--solid:hover {
  background: var(--w247-accent);
  color: var(--w247-white);
}

@media (min-width: 1100px) {
  .w247-nav { display: flex; }
  .w247-header__actions .w247-btn { display: inline-flex; }
  .w247-menu-toggle { display: none; }
  .w247-mobile-nav { display: none !important; }
}

/* Heroes */
.w247-hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: flex-end;
  color: var(--w247-white);
  overflow: hidden;
}

.w247-hero--hub {
  min-height: min(78vh, 680px);
  align-items: center;
  text-align: center;
}

.w247-hero__media {
  position: absolute;
  inset: 0;
}

.w247-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.w247-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.2) 48%, rgba(0, 0, 0, 0.3) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.35), transparent 45%);
  pointer-events: none;
}

/* Home hero: dark by default, reveal color on hover */
.w247-hero--home .w247-hero__media img {
  filter: brightness(0.45) saturate(0.85);
  transition: filter 0.7s var(--w247-ease);
}

.w247-hero--home .w247-hero__veil {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.5) 48%, rgba(0, 0, 0, 0.58) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.6), transparent 45%);
  opacity: 1;
  transition: opacity 0.7s var(--w247-ease), background 0.7s var(--w247-ease);
}

.w247-hero--home:hover .w247-hero__media img {
  filter: brightness(1) saturate(1);
}

.w247-hero--home:hover .w247-hero__veil {
  opacity: 0.28;
}

.w247-hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-block: clamp(4rem, 10vw, 7rem);
  width: min(100% - (var(--w247-pad) * 2), var(--w247-max));
  margin-inline: auto;
}

.w247-hero__content--center {
  justify-items: center;
}

.w247-hero__content--center .w247-lead {
  text-align: center;
  color: rgba(255, 255, 255, 0.82);
}

.w247-hero__copy .w247-eyebrow,
.w247-hero__copy .w247-lead {
  color: rgba(255, 255, 255, 0.82);
}

.w247-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.w247-hero__meta {
  align-self: end;
  text-align: left;
}

@media (min-width: 900px) {
  .w247-hero__content:not(.w247-hero__content--center) {
    grid-template-columns: 1.4fr 0.8fr;
    align-items: end;
  }
  .w247-hero__meta { text-align: right; justify-self: end; }
}

.w247-hero__date {
  font-family: var(--w247-font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 0.5rem;
}

.w247-hero__place {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  justify-content: flex-end;
  font-size: 0.85rem;
  opacity: 0.85;
  margin: 0;
}

/* Shows */
.w247-spaces__grid,
.w247-coming__grid,
.w247-what__grid,
.w247-values__grid,
.w247-team__grid {
  display: grid;
  gap: 1.5rem;
}

.w247-spaces__grid,
.w247-coming__grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.w247-shows__layout {
  display: grid;
  gap: 1.5rem;
}

.w247-shows__layout--cols-1 {
  grid-template-columns: 1fr;
}

.w247-shows__layout--cols-2 {
  grid-template-columns: 1fr;
}

.w247-shows__layout--cols-3 {
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .w247-shows__layout--cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .w247-shows__layout--cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.w247-show {
  position: relative;
  border-bottom: 1px solid var(--w247-gray-200);
  padding-bottom: 1rem;
  min-width: 0;
}

.w247-show__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  margin-bottom: 1rem;
  background: var(--w247-gray-100);
}

.w247-show__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--w247-ease);
}

.w247-show:hover .w247-show__media img {
  transform: scale(1.04);
}

.w247-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--w247-accent);
  color: var(--w247-white);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.55rem;
}

.w247-show__title {
  font-family: var(--w247-font-display);
  font-size: 1rem;
  letter-spacing: 0.06em;
  margin: 0 0 0.35rem;
}

.w247-show__meta,
.w247-show__price,
.w247-show__desc {
  margin: 0 0 0.45rem;
  font-size: 0.85rem;
  color: var(--w247-gray-600);
}

.w247-show__meta,
.w247-show__price {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}

.w247-show__price {
  color: var(--w247-accent);
  font-weight: 700;
}

.w247-show__body {
  position: relative;
}

.w247-show__cta {
  margin-top: 1rem;
}

/* 1 show: left = image, right = content (full section width) */
.w247-shows__layout--cols-1 .w247-show {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "media"
    "body";
  gap: 1.25rem;
  border-bottom: 0;
  padding-bottom: 0;
  width: 100%;
}

.w247-shows__layout--cols-1 .w247-show__media {
  grid-area: media;
}

.w247-shows__layout--cols-1 .w247-show__body {
  grid-area: body;
}

@media (min-width: 768px) {
  .w247-shows__layout--cols-1 .w247-show {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    grid-template-areas: "media body";
    gap: 2rem;
    align-items: center;
  }
  .w247-shows__layout--cols-1 .w247-show__media {
    margin-bottom: 0;
    aspect-ratio: 4 / 3;
  }
  .w247-shows__layout--cols-1 .w247-show__title {
    font-size: 1.35rem;
  }
}

/* Slider (4+ shows) */
.w247-shows__layout--slider {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "prev track next"
    "dots dots dots";
  gap: 0.75rem 0.5rem;
  align-items: center;
}

.w247-shows__track-wrap {
  grid-area: track;
  overflow: hidden;
  min-width: 0;
}

.w247-shows__track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.45s var(--w247-ease);
  will-change: transform;
}

.w247-shows__layout--slider .w247-show,
.w247-shows__layout--slider .w247-ticket {
  flex: 0 0 calc((100% - 2.5rem) / 3);
  border-bottom: 0;
  padding-bottom: 0;
}

@media (max-width: 899px) {
  .w247-shows__layout--slider .w247-show,
  .w247-shows__layout--slider .w247-ticket {
    flex-basis: calc((100% - 1.25rem) / 2);
  }
}

@media (max-width: 599px) {
  .w247-shows__layout--slider .w247-show,
  .w247-shows__layout--slider .w247-ticket {
    flex-basis: 85%;
  }
}

.w247-shows__nav {
  appearance: none;
  border: 1px solid var(--w247-gray-300);
  background: var(--w247-white);
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--w247-black);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.w247-shows__nav:hover,
.w247-shows__nav:focus-visible {
  background: var(--w247-black);
  border-color: var(--w247-black);
  color: var(--w247-white);
  outline: none;
}

.w247-shows__nav:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.w247-shows__nav--prev {
  grid-area: prev;
}

.w247-shows__nav--prev svg {
  transform: rotate(180deg);
}

.w247-shows__nav--next {
  grid-area: next;
}

.w247-shows__dots {
  grid-area: dots;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.25rem;
}

.w247-shows__dot {
  appearance: none;
  border: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--w247-gray-300);
  padding: 0;
  cursor: pointer;
}

.w247-shows__dot.is-active {
  background: var(--w247-accent);
}

/* Conservatory */
.w247-conservatory__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1000px) {
  .w247-conservatory__grid {
    grid-template-columns: 1.1fr 1.1fr 0.55fr;
    align-items: center;
  }
}

.w247-conservatory__media {
  position: relative;
  overflow: hidden;
  background: var(--w247-gray-100);
}

.w247-conservatory__media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.w247-play-btn {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  border: 0;
  background: var(--w247-white);
  color: var(--w247-accent);
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.25s var(--w247-ease), color 0.25s var(--w247-ease);
}

.w247-play-btn:hover {
  background: var(--w247-accent);
  color: var(--w247-white);
}

.w247-play-btn span { display: none; }

.w247-feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem 1rem;
}

.w247-feature-list--rich {
  gap: 1rem;
}

.w247-feature-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.9rem;
}

.w247-feature-list__icon {
  width: 2rem;
  height: 2rem;
  margin-top: 0;
  flex: 0 0 auto;
  background: rgba(245, 136, 33, 0.12);
  color: var(--w247-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.w247-stats-rail {
  border-left: 1px solid var(--w247-gray-200);
  padding-left: 1.5rem;
}

.w247-stats-rail__item {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--w247-gray-200);
}

.w247-stats-rail__item:first-child { padding-top: 0; }
.w247-stats-rail__item:last-child { border-bottom: 0; }

.w247-stats-rail__num {
  display: block;
  font-family: var(--w247-font-display);
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1;
  color: var(--w247-accent);
}

.w247-stats-rail__label {
  font-size: 0.82rem;
  color: var(--w247-gray-600);
}

/* About */
.w247-page-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(3rem, 7vw, 5rem);
  border-bottom: 1px solid var(--w247-gray-200);
}

.w247-page-hero__grid,
.w247-who__grid,
.w247-contact__grid,
.w247-proof__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .w247-page-hero__grid,
  .w247-who__grid,
  .w247-contact__grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.w247-page-hero__media img,
.w247-who__media img,
.w247-hub-overview__media img,
.w247-space__media img,
.w247-what__media img,
.w247-team__photo img,
.w247-featured__media img,
.w247-community__banner img {
  width: 100%;
  object-fit: cover;
}

.w247-page-hero__media {
  position: relative;
  overflow: hidden;
  background: #111;
  aspect-ratio: 1 / 1;
}

.w247-contact-slider__stage {
  position: absolute;
  inset: 0;
}

.w247-contact-slider__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.55s var(--w247-ease);
}

.w247-contact-slider__img.is-active {
  opacity: 1;
  z-index: 1;
}

.w247-contact-slider__nav {
  appearance: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.w247-contact-slider__nav--prev { left: 0.6rem; }
.w247-contact-slider__nav--next { right: 0.6rem; }

.w247-contact-slider__nav:hover,
.w247-contact-slider__nav:focus-visible {
  background: rgba(0, 0, 0, 0.7);
}

.w247-contact-slider__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.85rem;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  z-index: 3;
}

.w247-contact-slider__dots button {
  appearance: none;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.w247-contact-slider__dots button.is-active {
  background: #fff;
}

.w247-contact-slider__empty {
  position: absolute;
  inset: 0;
  background: #1a1a1a;
}

.w247-page-hero__media--stack img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.w247-page-hero__media--stack img:first-child:not([hidden]) {
  position: relative;
}

.w247-page-hero__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.75rem;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  z-index: 2;
}

.w247-page-hero__dots button {
  appearance: none;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.w247-page-hero__dots button.is-active {
  background: #fff;
}

.w247-values__grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.w247-value {
  padding: 1.5rem 0;
  border-top: 1px solid var(--w247-gray-200);
}

.w247-value__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  border: 1.5px solid rgba(245, 136, 33, 0.35);
  background: rgba(245, 136, 33, 0.08);
  color: var(--w247-accent);
}

.w247-value__icon::after { display: none; }

.w247-value h3 {
  font-family: var(--w247-font-display);
  font-size: 1rem;
  letter-spacing: 0.06em;
  margin: 0 0 0.5rem;
}

.w247-value p {
  margin: 0;
  color: var(--w247-gray-600);
  font-size: 0.92rem;
}

.w247-stats-bar {
  background: var(--w247-black);
  color: var(--w247-white);
  padding: 3rem 0;
}

.w247-stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: center;
}

@media (min-width: 800px) {
  .w247-stats-bar__grid { grid-template-columns: repeat(4, 1fr); }
}

.w247-stats-bar__num {
  display: block;
  font-family: var(--w247-font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1;
}

.w247-stats-bar__label {
  font-size: 0.85rem;
  opacity: 0.75;
}

.w247-what__intro { margin-bottom: 2.5rem; max-width: 40rem; }
.w247-what__grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.w247-what__media { margin-bottom: 1rem; overflow: hidden; aspect-ratio: 4 / 3; }
.w247-what__media img { width: 100%; height: 100%; }
.w247-what__item h3 {
  font-family: var(--w247-font-display);
  letter-spacing: 0.06em;
  margin: 0 0 0.5rem;
}

.w247-team__grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.w247-team__photo { margin-bottom: 0.85rem; aspect-ratio: 4 / 5; overflow: hidden; background: var(--w247-gray-100); }
.w247-team__photo img { width: 100%; height: 100%; }
.w247-team__member h3 {
  font-family: var(--w247-font-display);
  font-size: 0.95rem;
  margin: 0 0 0.2rem;
}
.w247-team__member p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--w247-gray-600);
}

/* Hub */
.w247-hub-overview__intro { max-width: 40rem; margin-bottom: 2rem; }
.w247-hub-overview__media { margin-bottom: 2rem; overflow: hidden; }
.w247-hub-overview__media img { aspect-ratio: 21 / 9; }

.w247-hub-icons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  border-top: 1px solid var(--w247-gray-200);
  padding-top: 1.75rem;
}

@media (min-width: 800px) {
  .w247-hub-icons { grid-template-columns: repeat(5, 1fr); }
}

.w247-hub-icons__num {
  display: block;
  font-family: var(--w247-font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--w247-accent);
}

.w247-hub-icons__label {
  font-size: 0.78rem;
  color: var(--w247-gray-600);
  letter-spacing: 0.04em;
}

.w247-space h3,
.w247-coming__label {
  font-family: var(--w247-font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.w247-space__media {
  margin-bottom: 1rem;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.w247-featured__panels {
  display: grid;
  gap: 1.25rem;
}

.w247-featured__panel {
  border: 1px solid var(--w247-gray-200);
  padding: 1.75rem;
}

.w247-featured__panel--alt { background: var(--w247-gray-50); }

.w247-check-list,
.w247-bullet-list {
  margin: 1rem 0 1.5rem;
  padding-left: 1.1rem;
}

.w247-check-list li,
.w247-bullet-list li {
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
}

.w247-coming__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--w247-black);
}

.w247-coming__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72);
  transition: transform 0.7s var(--w247-ease), filter 0.7s var(--w247-ease);
}

.w247-coming__item:hover img {
  transform: scale(1.05);
  filter: brightness(0.9);
}

.w247-coming__label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  color: var(--w247-white);
}

.w247-residence {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  color: var(--w247-white);
  overflow: hidden;
}

.w247-residence__media {
  position: absolute;
  inset: 0;
}

.w247-residence__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.w247-residence__content {
  position: relative;
  z-index: 1;
  padding-block: 5rem;
  max-width: 40rem;
}

.w247-residence .w247-eyebrow,
.w247-residence .w247-lead {
  color: rgba(255, 255, 255, 0.8);
}

.w247-community__banner {
  margin: 2rem 0 2.5rem;
  overflow: hidden;
}

.w247-community__banner img { aspect-ratio: 21 / 7; }

.w247-community__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.w247-community__grid h3 {
  font-family: var(--w247-font-display);
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  margin: 0 0 0.5rem;
}

@media (min-width: 1000px) {
  .w247-proof__grid {
    grid-template-columns: 1fr 1.1fr 0.85fr;
    align-items: stretch;
  }
}

.w247-proof__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 1rem;
}

.w247-proof__photos img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}

.w247-proof__quote blockquote {
  margin: 1rem 0;
  font-family: var(--w247-font-serif);
  font-size: 1.45rem;
  line-height: 1.35;
}

.w247-proof__quote footer {
  font-size: 0.85rem;
  color: var(--w247-gray-600);
}

.w247-stars {
  letter-spacing: 0.15em;
  margin-top: 0.75rem;
}

.w247-proof__cta {
  background: var(--w247-black);
  color: var(--w247-white);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  min-height: 100%;
}

.w247-proof__cta h3 {
  font-family: var(--w247-font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  line-height: 1.15;
  margin: 0;
}

/* Contact */
.w247-form {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .w247-form {
    grid-template-columns: 1fr 1fr;
  }
  .w247-form__full,
  .w247-form__submit,
.w247-form__note,
.w247-form__status {
  grid-column: 1 / -1;
}

.w247-form__captcha {
  margin: 0.25rem 0 0.5rem;
}

.w247-form__status {
  color: var(--w247-accent, #F58821);
  font-weight: 600;
}

.w247-hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
}

.w247-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.w247-form input,
.w247-form textarea {
  border: 1px solid var(--w247-gray-200);
  background: var(--w247-white);
  padding: 0.85rem 0.95rem;
  font: inherit;
  color: inherit;
}

.w247-form input:focus,
.w247-form textarea:focus {
  outline: 1px solid var(--w247-black);
  border-color: var(--w247-black);
}

.w247-form__note,
.w247-form__status {
  margin: 0;
  font-size: 0.85rem;
  color: var(--w247-gray-600);
}

.w247-info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.w247-info-list li {
  display: flex;
  gap: 0.85rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--w247-gray-200);
}

.w247-info-list__icon {
  flex: 0 0 auto;
  margin-top: 0.15rem;
  color: var(--w247-black);
}

.w247-info-list strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.w247-info-list p { margin: 0; }

.w247-contact__social h3 {
  font-family: var(--w247-font-display);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  margin: 0 0 0.85rem;
}

.w247-map__canvas {
  position: relative;
  height: min(52vh, 420px);
  background: var(--w247-gray-100);
}

.w247-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.w247-map__pin {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -100%);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50% 50% 50% 0;
  transform-origin: center;
  rotate: -45deg;
  background: var(--w247-black);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.w247-map__pin .w247-logo__mark {
  rotate: 45deg;
  background: var(--w247-accent);
}

.w247-cta-bar {
  background: var(--w247-gray-100);
  padding: 1.75rem 0;
  border-top: 1px solid var(--w247-gray-200);
}

.w247-cta-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.w247-cta-bar__copy {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  max-width: 46rem;
}

.w247-cta-bar__copy p { margin: 0; }
.w247-cta-bar__copy strong {
  display: block;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}

/* Footer */
.w247-footer {
  background: var(--w247-gray-50);
  border-top: 1px solid var(--w247-gray-200);
  padding: 4rem 0 1.5rem;
}

.w247-footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 2.5rem;
}

.w247-footer__brand p {
  margin: 1rem 0;
  color: var(--w247-gray-600);
  font-size: 0.92rem;
}

.w247-footer__title {
  font-family: var(--w247-font-display);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.w247-footer__links,
.w247-footer__contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.w247-footer__links li,
.w247-footer__contact li {
  margin-bottom: 0.55rem;
  font-size: 0.9rem;
}

.w247-footer__company {
  font-weight: 600;
  color: var(--w247-ink, #111);
}

.w247-footer__bct {
  margin: 1rem 0 0;
}

.w247-footer__bct a {
  display: inline-block;
  line-height: 0;
}

.w247-footer__bct img {
  display: block;
  width: 160px;
  max-width: 100%;
  height: auto;
}

.w247-social {
  display: flex;
  gap: 0.5rem;
}

.w247-social a {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--w247-gray-200);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  transition: background 0.25s var(--w247-ease), border-color 0.25s var(--w247-ease), color 0.25s var(--w247-ease);
}

.w247-social a:hover {
  border-color: var(--w247-accent);
  color: var(--w247-accent);
}

.w247-social--round a {
  border-radius: 50%;
  background: var(--w247-black);
  color: var(--w247-white);
  border-color: var(--w247-black);
}

.w247-social--round a:hover {
  background: var(--w247-accent);
  border-color: var(--w247-accent);
  color: var(--w247-white);
}

.w247-newsletter {
  display: grid;
  gap: 0.55rem;
}

.w247-newsletter input {
  border: 1px solid var(--w247-gray-200);
  padding: 0.8rem 0.9rem;
  font: inherit;
}

.w247-newsletter__captcha {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 58px;
  overflow: hidden;
}

/* Shrink Google widget to fit the narrow footer column. */
.w247-newsletter__captcha .g-recaptcha,
.w247-newsletter__captcha > div {
  transform: scale(0.72);
  transform-origin: 0 0;
}

.w247-newsletter__captcha iframe {
  max-width: none;
}

.w247-newsletter__status {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--w247-accent, #F58821);
}

.w247-footer__bottom {
  border-top: 1px solid var(--w247-gray-200);
  padding-top: 1.25rem;
  font-size: 0.82rem;
  color: var(--w247-gray-600);
}

.w247-footer__bottom p { margin: 0; }

.w247-footer__legalbar {
  border-top: 1px solid var(--w247-gray-200);
  padding: 1.1rem 0 0.85rem;
  margin-top: 0.35rem;
}

.w247-footer__legalbar-label {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--w247-accent, #F58821);
}

.w247-footer__legalbar p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--w247-gray-700, #444);
}

.w247-footer__legalbar a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.w247-footer__legalbar a:hover {
  color: var(--w247-accent, #F58821);
}

/* Icons */
.w247-icon {
  display: inline-block;
  vertical-align: middle;
  flex: 0 0 auto;
}

.w247-icon--btn { margin-left: 0.15rem; }
.w247-icon--inline { color: var(--w247-accent); margin-top: 0.1rem; }
.w247-icon--meta { color: var(--w247-accent); }

.w247-hero__date,
.w247-hero__place {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  justify-content: flex-end;
}

.w247-hero__copy .w247-eyebrow {
  color: var(--w247-accent);
}

.w247-stats-bar__num {
  color: var(--w247-accent);
}

.w247-info-list__icon {
  color: var(--w247-accent);
}

.w247-cta-bar__icon {
  color: var(--w247-accent);
}

/* Testimonials */
.w247-testimonials {
  background: var(--w247-gray-50);
  border-top: 1px solid var(--w247-gray-200);
  border-bottom: 1px solid var(--w247-gray-200);
}

.w247-testimonials__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.w247-quote {
  margin: 0;
  background: var(--w247-white);
  border-top: 3px solid var(--w247-accent);
  padding: 1.35rem 1.25rem 1.25rem;
  height: 100%;
}

.w247-quote__mark {
  display: inline-flex;
  color: var(--w247-accent);
  margin-bottom: 0.65rem;
}

.w247-quote p {
  margin: 0 0 1rem;
  font-family: var(--w247-font-serif);
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--w247-gray-800);
}

.w247-quote footer {
  display: grid;
  gap: 0.15rem;
}

.w247-quote strong {
  font-family: var(--w247-font-display);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.w247-quote span {
  font-size: 0.8rem;
  color: var(--w247-gray-600);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Motion */
.w247-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--w247-ease), transform 0.7s var(--w247-ease);
}

.w247-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Policy pages: never hide body copy behind scroll-reveal */
.w247-legal,
.w247-section.w247-legal {
  opacity: 1 !important;
  transform: none !important;
}

.w247-hero__copy {
  animation: w247-rise 0.9s var(--w247-ease) both;
}

.w247-hero__meta {
  animation: w247-rise 0.9s var(--w247-ease) 0.15s both;
}

@keyframes w247-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .w247-hero--home .w247-hero__media img {
    filter: brightness(0.7) saturate(1);
  }

  .w247-hero--home .w247-hero__veil {
    opacity: 0.45;
  }
}

/* â€”â€” Ticket cards (WooCommerce / Box Office) â€”â€” */
.w247-ticket {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--w247-white);
  height: 100%;
}

.w247-ticket__media {
  display: block;
  overflow: hidden;
  background: var(--w247-gray-100);
  line-height: 0;
}

.w247-ticket__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
}

.w247-ticket:hover .w247-ticket__media img {
  transform: none;
}

.w247-ticket__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem 0 0;
  gap: 0.35rem;
}

.w247-ticket__date {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--w247-gray-500);
}

.w247-ticket__title {
  margin: 0;
  font-family: var(--w247-font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
}

.w247-ticket__title a {
  color: inherit;
  text-decoration: none;
}

.w247-ticket__title a:hover {
  color: var(--w247-accent);
}

.w247-ticket__desc {
  margin: 0;
  font-size: 0.85rem;
  color: var(--w247-gray-600);
  line-height: 1.45;
}

.w247-ticket__loc {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: var(--w247-gray-500);
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
}

.w247-ticket__foot {
  margin-top: auto;
  padding-top: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.w247-ticket__price {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--w247-black);
}

.w247-ticket__price del {
  color: var(--w247-gray-400);
  font-weight: 500;
  text-decoration: line-through;
  margin-right: 0.35rem;
}

.w247-ticket__price ins {
  text-decoration: none;
  font-weight: 700;
}

/* Home list layout (Hình 2) */
.w247-shows__layout--list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.w247-ticket--list {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 1rem 1.25rem;
  align-items: center;
  height: auto;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--w247-gray-200);
}

.w247-ticket--list:first-child {
  border-top: 1px solid var(--w247-gray-200);
}

.w247-ticket--list .w247-ticket__media {
  aspect-ratio: auto;
  width: 100%;
}

.w247-ticket--list:hover .w247-ticket__media img {
  transform: none;
}

.w247-ticket--list .w247-ticket__body {
  padding: 0;
  gap: 0.35rem;
  min-width: 0;
}

.w247-ticket--list .w247-ticket__title {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  letter-spacing: 0.03em;
}

.w247-ticket--list .w247-ticket__desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.88rem;
  color: var(--w247-gray-600);
}

.w247-ticket--list .w247-ticket__price {
  margin-top: 0.35rem;
  font-size: 0.95rem;
}

.w247-ticket--list .w247-ticket__action {
  grid-column: 2;
  justify-self: start;
}

.w247-ticket--list .w247-ticket__cta {
  white-space: nowrap;
}

@media (min-width: 768px) {
  .w247-ticket--list {
    grid-template-columns: 148px minmax(0, 1fr) auto;
    gap: 1.25rem 1.75rem;
    padding: 1.35rem 0;
  }

  .w247-ticket--list .w247-ticket__action {
    grid-column: auto;
    justify-self: end;
    align-self: center;
  }

  .w247-ticket--list .w247-ticket__desc {
    -webkit-line-clamp: 1;
  }
}

@media (min-width: 960px) {
  .w247-ticket--list {
    grid-template-columns: 168px minmax(0, 1fr) auto;
  }
}

.w247-ticket__price .w247-price--soldout {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}

.w247-ticket__price .w247-price--soldout del {
  color: var(--w247-gray-400);
  font-weight: 500;
  text-decoration: line-through;
}

.w247-ticket__price .w247-price__event {
  color: var(--w247-accent);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.w247-ticket__media {
  position: relative;
}

.w247-ticket__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  padding: 0.35rem 0.55rem;
  background: var(--w247-black);
  color: #fff;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.w247-ticket--soldout .w247-ticket__media img {
  filter: grayscale(0.35);
  opacity: 0.88;
}

.w247-ticket__cta--disabled {
  opacity: 0.55;
  pointer-events: none;
  cursor: not-allowed;
}

.w247-ticket__cta {
  font-size: 0.72rem;
  padding: 0.55rem 0.85rem;
}

/* Home: 1 product = split featured */
@media (min-width: 768px) {
  .w247-shows__layout--cols-1 .w247-ticket--featured {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    grid-template-areas: "media body";
    gap: 2rem;
    align-items: center;
  }
  .w247-shows__layout--cols-1 .w247-ticket--featured .w247-ticket__media {
    grid-area: media;
    aspect-ratio: auto;
  }
  .w247-shows__layout--cols-1 .w247-ticket--featured .w247-ticket__body {
    grid-area: body;
    padding-top: 0;
  }
  .w247-shows__layout--cols-1 .w247-ticket--featured .w247-ticket__title {
    font-size: 1.35rem;
  }
}

/* â€”â€” Box Office page â€”â€” */
.w247-bo-hero {
  position: relative;
  min-height: clamp(280px, 42vw, 420px);
  display: grid;
  align-items: end;
  color: var(--w247-white);
  background: #111;
  overflow: hidden;
}

.w247-bo-hero__bg {
  position: absolute;
  inset: 0;
}

.w247-bo-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(0.45);
}

.w247-bo-hero__inner {
  position: relative;
  z-index: 1;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.w247-bo-hero__title {
  margin: 0 0 0.75rem;
  font-family: var(--w247-font-display);
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.w247-bo-hero__title::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 3px;
  margin-top: 0.85rem;
  background: var(--w247-accent);
}

.w247-bo-hero__text {
  margin: 0;
  max-width: 28rem;
  font-size: 1.05rem;
  line-height: 1.5;
  opacity: 0.92;
  white-space: pre-line;
}

.w247-bo-catalog {
  padding-top: 1.5rem;
}

.w247-bo-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--w247-gray-200);
}

.w247-bo-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.w247-bo-tabs__btn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0.35rem 0;
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--w247-gray-500);
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.w247-bo-tabs__btn.is-active,
.w247-bo-tabs__btn:hover {
  color: var(--w247-black);
}

.w247-bo-tabs__btn.is-active {
  border-bottom-color: var(--w247-accent);
  color: var(--w247-accent);
}

.w247-bo-toolbar__right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.w247-bo-cat select {
  appearance: none;
  border: 1px solid var(--w247-gray-300);
  background: var(--w247-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23333' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
  padding: 0.55rem 2rem 0.55rem 0.85rem;
  font: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  cursor: pointer;
}

.w247-bo-views {
  display: inline-flex;
  border: 1px solid var(--w247-gray-300);
}

.w247-bo-views__btn {
  appearance: none;
  border: 0;
  background: transparent;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  color: var(--w247-gray-400);
  cursor: pointer;
}

.w247-bo-views__btn.is-active {
  background: var(--w247-black);
  color: var(--w247-white);
}

.w247-bo-grid {
  display: grid;
  gap: 1.75rem 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .w247-bo-grid[data-view="grid"] {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .w247-bo-grid[data-view="grid"] {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .w247-bo-grid[data-view="grid"] {
    grid-template-columns: repeat(4, 1fr);
  }
}

.w247-bo-grid[data-view="list"] {
  grid-template-columns: 1fr;
}

.w247-bo-grid[data-view="list"] .w247-ticket {
  display: grid;
  grid-template-columns: minmax(140px, 220px) 1fr;
  gap: 1.25rem;
  align-items: stretch;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--w247-gray-200);
}

.w247-bo-grid[data-view="list"] .w247-ticket__media {
  aspect-ratio: auto;
}

.w247-bo-grid[data-view="list"] .w247-ticket__media img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.w247-bo-grid[data-view="list"] .w247-ticket__body {
  padding-top: 0;
}

.w247-ticket.is-hidden {
  display: none !important;
}

.w247-bo-empty {
  margin: 2rem 0;
  color: var(--w247-gray-600);
}

.w247-bo-empty__text {
  margin: 0 0 1rem;
}

.w247-bo-past-cta {
  margin: 0.5rem 0 2rem;
}

.w247-bo-past-cta .w247-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.w247-bo-info {
  border-top: 1px solid var(--w247-gray-200);
  background: var(--w247-gray-50, #f7f7f7);
}

.w247-bo-info__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .w247-bo-info__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .w247-bo-info__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.w247-bo-info__item {
  text-align: center;
}

.w247-bo-info__icon {
  display: inline-flex;
  color: var(--w247-black);
  margin-bottom: 0.75rem;
}

.w247-bo-info__title {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  font-weight: 600;
}

.w247-bo-info__text {
  margin: 0;
  font-size: 0.85rem;
  color: var(--w247-gray-600);
  line-height: 1.5;
  white-space: pre-line;
}

/* â€”â€” Header cart â€”â€” */
.w247-cart-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--w247-white);
  text-decoration: none;
}

.w247-cart-toggle__count {
  position: absolute;
  top: 0.15rem;
  right: 0.1rem;
  min-width: 1.05rem;
  height: 1.05rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: var(--w247-accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.05rem;
  text-align: center;
}

.w247-cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  justify-items: end;
}

.w247-cart-drawer[hidden] { display: none; }

.w247-cart-drawer__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0,0,0,0.45);
  cursor: pointer;
}

.w247-cart-drawer__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 380px);
  height: 100%;
  background: #fff;
  color: var(--w247-black);
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  box-shadow: -12px 0 40px rgba(0,0,0,0.18);
}

.w247-cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.w247-cart-drawer__head h2 {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
}

.w247-cart-drawer__close {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.w247-cart-drawer__body {
  flex: 1;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.w247-cart-drawer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.w247-cart-drawer__item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 0.75rem;
  align-items: start;
}

.w247-cart-drawer__thumb img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  display: block;
}

.w247-cart-drawer__meta {
  display: grid;
  gap: 0.25rem;
  font-size: 0.85rem;
}

.w247-cart-drawer__meta a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.w247-cart-drawer__remove {
  color: var(--w247-gray-500);
  text-decoration: none;
  font-size: 1.25rem;
  line-height: 1;
}

.w247-cart-drawer__total {
  display: flex;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--w247-gray-200);
  font-size: 0.95rem;
}

.w247-cart-drawer__actions {
  display: grid;
  gap: 0.6rem;
}

.w247-btn--accent {
  background: var(--w247-accent);
  border-color: var(--w247-accent);
  color: #fff;
}

.w247-btn--accent:hover {
  filter: brightness(0.95);
  color: #fff;
}

.w247-btn--outline {
  background: #fff;
  border: 1px solid var(--w247-black);
  color: var(--w247-black);
}

.w247-btn--outline:hover {
  background: var(--w247-black);
  color: #fff;
}

/* â€”â€” Product detail â€”â€” */
.w247-commerce-page {
  padding: clamp(1.5rem, 4vw, 2.75rem) 0 clamp(3rem, 7vw, 5rem);
}

.w247-commerce-head {
  margin-bottom: 1.75rem;
}

.w247-commerce-head__title {
  margin: 0 0 0.35rem;
  font-family: var(--w247-font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: 0.06em;
}

.w247-commerce-head__text {
  margin: 0;
  color: var(--w247-gray-600);
}

.w247-product__crumb {
  margin-bottom: 1.5rem;
  font-size: 0.78rem;
  color: var(--w247-gray-500);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.w247-product__crumb a {
  color: inherit;
  text-decoration: none;
}

.w247-product__crumb a:hover { color: var(--w247-accent); }

.w247-product__top {
  display: grid;
  gap: 2rem;
}

@media (min-width: 960px) {
  .w247-product__top {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.5rem;
    align-items: start;
  }
}

.w247-product__gallery-col {
  min-width: 0;
}

.w247-pgallery {
  display: grid;
  gap: 0.75rem;
}

/* Thumb rail only when thumbs exist â€” otherwise main fills the column (was 72px bug). */
@media (min-width: 700px) {
  .w247-pgallery--thumbs,
  .w247-pgallery:has(.w247-pgallery__thumbs) {
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: start;
  }
}

.w247-pgallery__thumbs {
  display: flex;
  gap: 0.5rem;
  overflow: auto;
}

@media (min-width: 700px) {
  .w247-pgallery__thumbs {
    flex-direction: column;
    max-height: 520px;
  }
}

.w247-pgallery__thumb {
  appearance: none;
  border: 1px solid transparent;
  padding: 0;
  background: var(--w247-gray-100);
  cursor: pointer;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  overflow: hidden;
}

.w247-pgallery__thumb.is-active {
  border-color: var(--w247-accent);
}

.w247-pgallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.w247-pgallery__main {
  position: relative;
  background: var(--w247-gray-100);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  width: 100%;
  min-height: 280px;
}

.w247-pgallery__main img,
.w247-pgallery__main .w247-pgallery__img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
}

.w247-pgallery__zoom {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.9);
  color: var(--w247-black);
}

.w247-psummary__label {
  margin: 0 0 0.5rem;
  color: var(--w247-accent);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.w247-psummary__title {
  margin: 0;
  font-family: var(--w247-font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
}

.w247-psummary__subtitle {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--w247-gray-600);
}

.w247-psummary__meta {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--w247-gray-600);
}

.w247-psummary__meta li {
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
}

.w247-psummary__excerpt {
  margin-top: 1rem;
  color: var(--w247-gray-700);
  line-height: 1.6;
  font-size: 0.95rem;
}

.w247-psummary__price-block {
  margin-top: 1.35rem;
}

.w247-psummary__price-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--w247-gray-500);
  margin-bottom: 0.25rem;
}

.w247-psummary__price {
  margin: 0;
  color: var(--w247-accent);
  font-size: 1.6rem;
  font-weight: 700;
}

.w247-psummary__price del,
.w247-psummary__price .w247-price--soldout del {
  color: var(--w247-gray-400);
  font-size: 1rem;
  margin-right: 0.35rem;
  text-decoration: line-through;
  font-weight: 500;
}

.w247-psummary__price .w247-price--soldout {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.w247-psummary__price .w247-price__event {
  color: var(--w247-accent);
  letter-spacing: 0.14em;
  font-size: 1.15rem;
}

.w247-psummary__oos--soldout {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--w247-gray-200);
  background: var(--w247-gray-50);
  color: var(--w247-gray-600);
  font-size: 0.92rem;
}

.w247-addtocart {
  margin-top: 1.25rem;
  display: grid;
  gap: 1rem;
}

.w247-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--w247-gray-300);
  background: #fff;
}

.w247-qty__btn {
  appearance: none;
  border: 0;
  background: transparent;
  width: 2.4rem;
  height: 2.4rem;
  cursor: pointer;
  font-size: 1.1rem;
}

.w247-qty input.qty {
  width: 3rem;
  border: 0;
  text-align: center;
  font: inherit;
  -moz-appearance: textfield;
}

.w247-qty input.qty::-webkit-outer-spin-button,
.w247-qty input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.w247-addtocart__actions {
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 520px) {
  .w247-addtocart__actions {
    grid-template-columns: 1fr 1fr;
  }
}

.w247-addtocart__actions .w247-btn {
  width: 100%;
  justify-content: center;
}

.w247-product__below {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--w247-gray-200);
}

.w247-ptabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  border-bottom: 1px solid var(--w247-gray-200);
  margin-bottom: 1.5rem;
}

.w247-ptabs__btn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0.5rem 0;
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--w247-gray-500);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.w247-ptabs__btn.is-active {
  color: var(--w247-accent);
  border-bottom-color: var(--w247-accent);
}

.w247-ptabs__panel[hidden] { display: none; }

.w247-ptabs__grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 900px) {
  .w247-ptabs__grid {
    grid-template-columns: 1.3fr 0.9fr;
    gap: 2.5rem;
  }
}

.w247-ptabs__copy {
  line-height: 1.65;
  color: var(--w247-gray-700);
}

.w247-ptabs__highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.w247-ptabs__highlights li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  font-size: 0.92rem;
}

.w247-ptabs__check {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--w247-accent);
  color: #fff;
  display: grid;
  place-items: center;
}

.w247-ptabs__check .w247-icon { color: #fff; }


/* —— Cart / Checkout / Account (WooCommerce default markup) —— */
.w247-container--narrow {
  max-width: 1080px;
}

.w247-wc {
  color: var(--w247-black);
  font-family: var(--w247-font-body);
}

.w247-wc a {
  color: var(--w247-black);
}

.w247-wc a:hover {
  color: var(--w247-accent);
}

.w247-wc .woocommerce-notices-wrapper,
.w247-wc .woocommerce-NoticeGroup,
.w247-wc .woocommerce-error,
.w247-wc .woocommerce-info,
.w247-wc .woocommerce-message {
  margin: 0 0 1.25rem;
  list-style: none;
  padding: 0;
}

.w247-wc .woocommerce-error,
.w247-wc .woocommerce-info,
.w247-wc .woocommerce-message {
  padding: 0.9rem 1rem;
  border: 1px solid var(--w247-gray-200);
  border-left: 3px solid var(--w247-accent);
  background: var(--w247-gray-50);
  font-size: 0.92rem;
}

.w247-wc .woocommerce-error {
  border-left-color: #c0392b;
}

.w247-wc table.shop_table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.5rem;
  font-size: 0.92rem;
}

.w247-wc table.shop_table th,
.w247-wc table.shop_table td {
  padding: 0.9rem 0.55rem;
  border-bottom: 1px solid var(--w247-gray-200);
  text-align: left;
  vertical-align: middle;
}

.w247-wc table.shop_table thead th {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--w247-gray-500);
  font-weight: 700;
}

.w247-wc table.shop_table img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  display: block;
}

.w247-wc table.shop_table .product-remove a {
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid var(--w247-gray-300);
  text-decoration: none;
  font-size: 1.1rem;
  line-height: 1;
}

.w247-wc table.shop_table .product-name a {
  text-decoration: none;
  font-weight: 600;
}

.w247-wc .quantity .qty {
  width: 4rem;
  min-height: 2.4rem;
  border: 1px solid var(--w247-gray-300);
  border-radius: 0;
  text-align: center;
  padding: 0.35rem;
}

.w247-wc .woocommerce-cart-form {
  margin-bottom: 2rem;
}

.w247-wc .cart-collaterals {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .w247-wc .cart-collaterals {
    grid-template-columns: 1fr minmax(280px, 380px);
    align-items: start;
  }
  .w247-wc .cart-collaterals .cart_totals {
    justify-self: end;
    width: 100%;
  }
}

.w247-wc .cart_totals,
.w247-wc #order_review,
.w247-wc .woocommerce-checkout-review-order {
  background: var(--w247-gray-50);
  border: 1px solid var(--w247-gray-200);
  padding: 1.25rem 1.35rem;
}

.w247-wc .cart_totals h2,
.w247-wc #order_review_heading,
.w247-wc .woocommerce-billing-fields > h3,
.w247-wc .woocommerce-shipping-fields > h3,
.w247-wc .woocommerce-additional-fields > h3 {
  margin: 0 0 1rem;
  font-family: var(--w247-font-display);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.w247-wc .cart_totals .order-total th,
.w247-wc .cart_totals .order-total td,
.w247-wc .shop_table .order-total th,
.w247-wc .shop_table .order-total td {
  font-size: 1.05rem;
  font-weight: 700;
}

.w247-wc .coupon {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin: 1rem 0;
}

.w247-wc .coupon label {
  width: 100%;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--w247-gray-500);
}

.w247-wc .coupon .input-text {
  flex: 1 1 180px;
}

.w247-wc form.checkout.woocommerce-checkout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 960px) {
  .w247-wc form.checkout.woocommerce-checkout {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    align-items: start;
  }
  .w247-wc #order_review_heading,
  .w247-wc #order_review {
    position: sticky;
    top: 1rem;
  }
}

.w247-wc .col2-set {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .w247-wc .col2-set {
    grid-template-columns: 1fr 1fr;
  }
}

.w247-wc .form-row {
  margin: 0 0 0.9rem;
  padding: 0;
}

.w247-wc .form-row label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.w247-wc .form-row .required {
  color: var(--w247-accent);
  text-decoration: none;
}

.w247-wc .input-text,
.w247-wc select,
.w247-wc textarea,
.w247-wc .select2-container .select2-selection--single {
  width: 100%;
  border: 1px solid var(--w247-gray-300) !important;
  border-radius: 0 !important;
  min-height: 2.65rem;
  padding: 0.55rem 0.75rem;
  background: #fff;
  color: var(--w247-black);
  font: inherit;
  box-shadow: none !important;
}

.w247-wc textarea {
  min-height: 6rem;
  resize: vertical;
}

.w247-wc .select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 2.65rem;
  padding-left: 0.75rem;
}

.w247-wc .select2-container .select2-selection--single .select2-selection__arrow {
  height: 2.65rem;
}

.w247-wc #payment {
  background: transparent;
  border-radius: 0;
}

.w247-wc #payment ul.payment_methods {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  border-bottom: 1px solid var(--w247-gray-200);
}

.w247-wc #payment ul.payment_methods li {
  margin: 0 0 0.75rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--w247-gray-200);
}

.w247-wc #payment ul.payment_methods li:first-child {
  border-top: 0;
}

.w247-wc #payment div.payment_box {
  margin: 0.65rem 0 0;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid var(--w247-gray-200);
  font-size: 0.88rem;
  color: var(--w247-gray-600);
}

.w247-wc #payment div.payment_box::before {
  display: none;
}

.w247-wc .woocommerce-terms-and-conditions-wrapper {
  margin: 1rem 0;
  font-size: 0.88rem;
}

.w247-wc .button,
.w247-wc button.button,
.w247-wc input.button,
.w247-wc a.button,
.w247-wc #place_order,
.w247-wc .checkout-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid var(--w247-black);
  background: var(--w247-black);
  color: #fff !important;
  border-radius: 0 !important;
  font-family: var(--w247-font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none !important;
  padding: 0.85rem 1.2rem !important;
  min-height: 2.75rem;
  cursor: pointer;
  transition: background 0.2s var(--w247-ease), color 0.2s var(--w247-ease), border-color 0.2s var(--w247-ease);
}

.w247-wc .button:hover,
.w247-wc button.button:hover,
.w247-wc input.button:hover,
.w247-wc a.button:hover,
.w247-wc #place_order:hover,
.w247-wc .checkout-button:hover {
  background: var(--w247-accent) !important;
  border-color: var(--w247-accent) !important;
  color: #fff !important;
}

.w247-wc .button.alt,
.w247-wc #place_order,
.w247-wc .checkout-button {
  background: var(--w247-accent) !important;
  border-color: var(--w247-accent) !important;
  width: 100%;
}

.w247-wc button[name="update_cart"],
.w247-wc button[name="apply_coupon"] {
  background: #fff !important;
  color: var(--w247-black) !important;
  border-color: var(--w247-black) !important;
  width: auto;
}

.w247-wc button[name="update_cart"]:hover,
.w247-wc button[name="apply_coupon"]:hover {
  background: var(--w247-black) !important;
  color: #fff !important;
}

.w247-wc .wc-proceed-to-checkout {
  margin-top: 1rem;
}

.w247-wc .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  border-bottom: 1px solid var(--w247-gray-200);
  padding-bottom: 0.85rem;
}

.w247-wc .woocommerce-MyAccount-navigation a {
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.w247-wc .woocommerce-MyAccount-navigation .is-active a {
  color: var(--w247-accent);
}

@media (min-width: 800px) {
  .w247-wc .woocommerce-account .woocommerce-MyAccount-navigation {
    float: left;
    width: 28%;
  }
  .w247-wc .woocommerce-account .woocommerce-MyAccount-content {
    float: right;
    width: 68%;
  }
  .w247-wc .woocommerce-account::after {
    content: "";
    display: table;
    clear: both;
  }
  .w247-wc .woocommerce-MyAccount-navigation ul {
    flex-direction: column;
    border-bottom: 0;
    gap: 0.65rem;
  }
}

.w247-wc .woocommerce-order {
  max-width: 720px;
  margin: 0 auto;
}

.w247-wc .woocommerce-order-overview {
  display: grid;
  gap: 0.75rem;
  list-style: none;
  margin: 1.5rem 0;
  padding: 1.25rem;
  border: 1px solid var(--w247-gray-200);
  background: var(--w247-gray-50);
}

.w247-wc .woocommerce-customer-details,
.w247-wc .woocommerce-order-details {
  margin-top: 2rem;
  text-align: left;
}

.w247-wc .woocommerce-customer-details h2,
.w247-wc .woocommerce-order-details h2 {
  font-family: var(--w247-font-display);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .w247-wc table.shop_table_responsive thead {
    display: none;
  }
  .w247-wc table.shop_table_responsive tr {
    display: block;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--w247-gray-200);
  }
  .w247-wc table.shop_table_responsive td {
    display: block;
    text-align: right !important;
    border: 0;
    padding: 0.45rem 0;
  }
  .w247-wc table.shop_table_responsive td::before {
    content: attr(data-title) ": ";
    float: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: var(--w247-gray-500);
  }
  .w247-wc table.shop_table_responsive td.product-remove {
    text-align: left !important;
  }
}

/* —— Slim checkout redesign —— */
.w247-container--checkout {
  max-width: 1120px;
}

.w247-checkout-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  margin: 0 0 1.25rem;
  font-size: 0.78rem;
  color: var(--w247-gray-500);
}

.w247-checkout-crumb a {
  color: inherit;
  text-decoration: none;
}

.w247-checkout-crumb a:hover {
  color: var(--w247-accent);
}

.w247-checkout-steps {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  align-items: center;
}

.w247-checkout-steps__item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--w247-gray-400);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  position: relative;
}

.w247-checkout-steps__item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(1.55rem + 0.55rem + 4.5rem);
  right: 0.5rem;
  top: 50%;
  height: 1px;
  background: var(--w247-gray-200);
}

.w247-checkout-steps__num {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  border: 1.5px solid var(--w247-gray-300);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  flex: 0 0 auto;
  background: #fff;
  position: relative;
  z-index: 1;
}

.w247-checkout-steps__item.is-active {
  color: var(--w247-black);
}

.w247-checkout-steps__item.is-active .w247-checkout-steps__num {
  background: var(--w247-accent);
  border-color: var(--w247-accent);
  color: #fff;
}

.w247-checkout-steps__item.is-done .w247-checkout-steps__num {
  background: var(--w247-black);
  border-color: var(--w247-black);
  color: #fff;
}

.w247-checkout-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 960px) {
  .w247-checkout-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.9fr);
    align-items: start;
    gap: 2.5rem;
  }
  .w247-checkout-layout__aside {
    position: sticky;
    top: 1rem;
  }
}

.w247-wc--checkout .woocommerce-billing-fields > h3,
.w247-wc--checkout .w247-checkout-notes > h3,
.w247-wc--checkout #order_review_heading {
  margin: 0 0 1rem;
  font-family: var(--w247-font-display);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.w247-wc--checkout .w247-checkout-notes {
  margin-top: 2rem;
}

.w247-wc--checkout .form-row {
  margin: 0 0 1rem;
}

.w247-wc--checkout .form-row label {
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}

.w247-wc--checkout .form-row .optional {
  color: var(--w247-gray-400);
  font-weight: 500;
}

.w247-wc--checkout .input-text,
.w247-wc--checkout textarea {
  border: 1px solid #d8d8d8 !important;
  border-radius: 2px !important;
  min-height: 2.85rem;
  padding: 0.7rem 0.85rem;
  background: #fff;
}

.w247-wc--checkout textarea {
  min-height: 7rem;
}

.w247-checkout-order {
  background: #fff;
  border: 1px solid var(--w247-gray-200);
  padding: 1.15rem 1.2rem 1.35rem;
}

.w247-checkout-lines {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.w247-checkout-line {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: start;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--w247-gray-200);
}

.w247-checkout-line__media {
  width: 64px;
  height: 64px;
  overflow: hidden;
  background: var(--w247-gray-100);
}

.w247-checkout-line__media img,
.w247-checkout-line__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.w247-checkout-line__title {
  margin: 0 0 0.25rem;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
}

.w247-checkout-line__qty {
  font-weight: 600;
  color: var(--w247-gray-500);
}

.w247-checkout-line__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.65rem;
}

.w247-checkout-line__remove {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--w247-gray-500);
  font-size: 0.82rem;
  text-decoration: underline;
  cursor: pointer;
}

.w247-checkout-line__remove:hover,
.w247-checkout-line__remove:focus-visible {
  color: #b42318;
}

.w247-qty--sm {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--w247-gray-200);
  background: #fff;
}

.w247-qty--sm .w247-qty__btn {
  appearance: none;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.w247-qty--sm input.qty {
  width: 2.5rem;
  height: 2rem;
  border: 0;
  border-left: 1px solid var(--w247-gray-200);
  border-right: 1px solid var(--w247-gray-200);
  text-align: center;
  font-size: 0.9rem;
  -moz-appearance: textfield;
}

.w247-qty--sm input.qty::-webkit-outer-spin-button,
.w247-qty--sm input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.w247-checkout-line.is-updating {
  opacity: 0.55;
  pointer-events: none;
}

.w247-checkout-line__meta {
  margin: 0;
  font-size: 0.78rem;
  color: var(--w247-gray-500);
  line-height: 1.4;
}

.w247-checkout-line__total {
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.w247-checkout-totals {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.25rem;
}

.w247-checkout-totals th,
.w247-checkout-totals td {
  padding: 0.55rem 0;
  border: 0;
  font-size: 0.9rem;
  font-weight: 500;
}

.w247-checkout-totals th {
  text-align: left;
  color: var(--w247-gray-600);
}

.w247-checkout-totals td {
  text-align: right;
}

.w247-checkout-totals .order-total th,
.w247-checkout-totals .order-total td {
  padding-top: 0.85rem;
  border-top: 1px solid var(--w247-gray-200);
  font-size: 1.05rem;
  font-weight: 700;
}

.w247-checkout-totals .order-total td,
.w247-checkout-totals .order-total .amount {
  color: var(--w247-accent);
}

.w247-wc--checkout #payment {
  margin-top: 0.5rem;
  border-top: 1px solid var(--w247-gray-200);
  padding-top: 1rem;
}

.w247-wc--checkout #payment .payment_methods {
  margin-bottom: 0.75rem;
}

.w247-wc--checkout #payment .payment_methods label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  cursor: pointer;
}

.w247-wc--checkout #payment .payment_methods img {
  height: 22px;
  width: auto;
}

.w247-wc--checkout #payment .payment_box {
  margin-top: 0.75rem;
  background: var(--w247-gray-50);
  border: 1px solid var(--w247-gray-200);
  padding: 0.85rem 1rem;
  font-size: 0.86rem;
  color: var(--w247-gray-600);
  line-height: 1.5;
}

.w247-wc--checkout #payment .form-row.place-order {
  margin: 1rem 0 0;
  padding: 0;
}

.w247-wc--checkout #payment #place_order {
  width: 100%;
  background: var(--w247-accent) !important;
  border-color: var(--w247-accent) !important;
  color: #fff !important;
  letter-spacing: 0.12em;
  font-size: 0.86rem;
  min-height: 3rem;
}

.w247-wc--checkout #payment #place_order:hover {
  filter: brightness(0.95);
}

.w247-wc--checkout .woocommerce-privacy-policy-text {
  font-size: 0.78rem;
  color: var(--w247-gray-500);
  margin: 0 0 0.85rem;
  line-height: 1.45;
}

.w247-wc--checkout .woocommerce-privacy-policy-text a {
  color: var(--w247-accent);
  text-decoration: underline;
}

/* Override generic checkout grid from older WC styles */
.w247-wc--checkout form.checkout.woocommerce-checkout {
  display: block;
}

.w247-wc--checkout .col2-set {
  display: block;
}

@media (max-width: 700px) {
  .w247-checkout-steps {
    gap: 0.5rem;
  }
  .w247-checkout-steps__label {
    font-size: 0.65rem;
  }
  .w247-checkout-steps__item:not(:last-child)::after {
    display: none;
  }
  .w247-checkout-line {
    grid-template-columns: 56px minmax(0, 1fr);
  }
  .w247-checkout-line__total {
    grid-column: 2;
  }
}

/* —— Our Projects —— */
.w247-projects__eyebrow {
  margin: 0 0 0.45rem;
  color: var(--w247-accent);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.w247-projects__title {
  margin: 0;
  font-family: var(--w247-font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-transform: uppercase;
}

.w247-projects__text,
.w247-page-hero--projects .w247-lead {
  margin: 0.75rem 0 0;
  max-width: 42rem;
  color: var(--w247-gray-600);
  font-size: 0.98rem;
  line-height: 1.55;
}

.w247-projects__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-bottom: 1.75rem;
}

.w247-projects__tools {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.w247-projects__nav {
  display: inline-flex;
  gap: 0.45rem;
}

.w247-projects__btn {
  appearance: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--w247-gray-200);
  background: #fff;
  color: var(--w247-black);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s var(--w247-ease), border-color 0.2s var(--w247-ease), color 0.2s var(--w247-ease);
}

.w247-projects__btn--prev .w247-icon {
  transform: rotate(180deg);
}

.w247-projects__btn--next {
  background: var(--w247-accent);
  border-color: var(--w247-accent);
  color: #fff;
}

.w247-projects__btn:hover:not(:disabled),
.w247-projects__btn:focus-visible:not(:disabled) {
  background: var(--w247-black);
  border-color: var(--w247-black);
  color: #fff;
}

.w247-projects__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.w247-projects__viewport {
  overflow: hidden;
}

.w247-projects__track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.45s var(--w247-ease);
  will-change: transform;
}

.w247-project {
  flex: 0 0 100%;
  min-width: 0;
}

@media (min-width: 600px) {
  .w247-project {
    flex-basis: calc((100% - 1.25rem) / 2);
  }
}

@media (min-width: 900px) {
  .w247-project {
    flex-basis: calc((100% - 2.5rem) / 3);
  }
}

@media (min-width: 1200px) {
  .w247-project {
    flex-basis: calc((100% - 3.75rem) / 4);
  }
}

.w247-project__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--w247-gray-100);
}

.w247-project__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--w247-ease);
}

.w247-project:hover .w247-project__media img {
  transform: scale(1.04);
}

/* Category / project grids: poster frames at 1:1 */
.w247-projects__grid .w247-project__media,
.w247-portfolio .w247-projects__grid .w247-project__media,
body.tax-w247_project_cat .w247-project__media {
  aspect-ratio: 1 / 1;
  background: var(--w247-gray-100);
}

.w247-projects__grid .w247-project__media img,
.w247-portfolio .w247-projects__grid .w247-project__media img,
body.tax-w247_project_cat .w247-project__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.w247-projects__grid .w247-project:hover .w247-project__media img,
body.tax-w247_project_cat .w247-project:hover .w247-project__media img {
  transform: none;
}

.w247-project__body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.85rem;
}

.w247-project__title {
  margin: 0;
  font-family: var(--w247-font-display);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.25;
}

.w247-project__title a {
  color: inherit;
  text-decoration: none;
}

.w247-project__title a:hover {
  color: var(--w247-accent);
}

.w247-project__cat {
  margin: 0.25rem 0 0;
  color: var(--w247-gray-500);
  font-size: 0.86rem;
}

.w247-project__year {
  flex: 0 0 auto;
  margin-top: 0.1rem;
  padding: 0.2rem 0.45rem;
  border: 1px solid var(--w247-gray-200);
  background: var(--w247-gray-50);
  color: var(--w247-gray-600);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.w247-projects__grid {
  display: grid;
  gap: 1.5rem 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.w247-projects--page .w247-project {
  flex: none;
}

.w247-page-hero--projects {
  padding-bottom: 0.5rem;
}

.w247-page-hero--projects .w247-projects__title {
  margin-top: 0.35rem;
}

.w247-projects__cat-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .w247-projects__cat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.w247-project-cat {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  min-height: 100%;
  transition: transform 0.35s var(--w247-ease);
}

.w247-project-cat:hover,
.w247-project-cat:focus-visible {
  transform: translateY(-3px);
}

.w247-project-cat__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--w247-gray-100);
}

.w247-project-cat__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--w247-ease);
}

.w247-project-cat:hover .w247-project-cat__media img {
  transform: scale(1.04);
}

.w247-project-cat__body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-top: 0.9rem;
}

.w247-project-cat__title {
  font-family: var(--w247-font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.2;
}

.w247-project-cat__text {
  color: var(--w247-gray-600);
  font-size: 0.92rem;
  line-height: 1.45;
}

.w247-project-cat__cta {
  margin-top: 0.35rem;
  color: var(--w247-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.w247-projects__group {
  padding-top: 2.5rem;
  scroll-margin-top: 6rem;
}

.w247-projects__group + .w247-projects__group {
  margin-top: 1.5rem;
  border-top: 1px solid var(--w247-gray-200);
}

.w247-projects__group-head {
  margin-bottom: 1.25rem;
}

.w247-projects__empty {
  color: var(--w247-gray-500);
  font-size: 0.95rem;
}

.w247-project__media--btn {
  appearance: none;
  border: 0;
  padding: 0;
  width: 100%;
  cursor: pointer;
  position: relative;
  text-align: left;
  background: transparent;
  font: inherit;
  color: inherit;
}

.w247-project__album-hint {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  padding: 0.35rem 0.55rem;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.25s var(--w247-ease);
}

.w247-project:hover .w247-project__album-hint,
.w247-project__media--btn:focus-visible .w247-project__album-hint {
  opacity: 1;
}

.w247-album {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.w247-album[hidden] {
  display: none !important;
}

.w247-album__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.78);
}

.w247-album__dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  background: #111;
  color: #fff;
  padding: 1.25rem 1.25rem 1rem;
}

.w247-album__close {
  appearance: none;
  position: absolute;
  top: 0.35rem;
  right: 0.5rem;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.w247-album__title {
  margin: 0 2rem 0.75rem 0;
  font-family: var(--w247-font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.w247-album__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 40vh;
  background: #000;
}

.w247-album__img {
  max-width: 100%;
  max-height: min(70vh, 720px);
  object-fit: contain;
  display: block;
}

.w247-album__nav {
  appearance: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.w247-album__nav--prev { left: 0.5rem; }
.w247-album__nav--next { right: 0.5rem; }

.w247-album__count {
  margin: 0.65rem 0 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
}

/* —— Creative Hub (balanced sections) —— */
.w247-hero--hub .w247-hero__media {
  position: absolute;
  inset: 0;
}

.w247-hero--hub .w247-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.w247-hero__sound {
  appearance: none;
  position: absolute;
  z-index: 3;
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-family: var(--w247-font-body, inherit);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.25s var(--w247-ease, ease), border-color 0.25s var(--w247-ease, ease);
}

.w247-hero__sound:hover,
.w247-hero__sound:focus-visible {
  background: rgba(0, 0, 0, 0.75);
  border-color: rgba(255, 255, 255, 0.7);
  outline: none;
}

.w247-hero__sound.is-on {
  border-color: var(--w247-accent, #F58821);
}

.w247-hero__sound-icon {
  display: inline-flex;
  line-height: 0;
}

.w247-hero__sound-icon[hidden] {
  display: none !important;
}

@media (max-width: 600px) {
  .w247-hero__sound {
    right: 0.75rem;
    bottom: 0.75rem;
    padding: 0.5rem 0.65rem;
  }

  .w247-hero__sound-label {
    display: none;
  }
}

.w247-eyebrow--light {
  color: rgba(255, 255, 255, 0.85);
}

.w247-hub-hero-title {
  margin: 0.35rem 0 1rem;
  line-height: 0.95;
}

.w247-hub-hero-title__the {
  display: block;
  font-family: var(--w247-font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
}

.w247-hub-hero-title__main {
  display: block;
  font-family: var(--w247-font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  letter-spacing: 0.01em;
}

.w247-hub-hero-title__accent {
  color: var(--w247-accent);
}

.w247-hub-hero-title--light .w247-hub-hero-title__the,
.w247-hub-hero-title--light .w247-hub-hero-title__main {
  color: var(--w247-white);
}

.w247-hero--hub .w247-lead {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.w247-hub-overview__intro {
  max-width: 46rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.w247-hub-overview__intro p {
  color: var(--w247-gray-600);
  line-height: 1.6;
  margin: 0 0 0.85rem;
}

.w247-hub-overview__media {
  overflow: hidden;
  aspect-ratio: 21 / 9;
  margin-bottom: 1.75rem;
}

.w247-featured__copy p,
.w247-community__intro .w247-lead,
.w247-residence__copy .w247-lead {
  margin: 0 0 0.75rem;
  color: var(--w247-gray-600);
  line-height: 1.55;
}

.w247-featured--full {
  width: 100%;
}

.w247-featured__inner {
  max-width: 48rem;
}

.w247-featured__inner .w247-display {
  margin: 0 0 1rem;
}

.w247-featured__inner .w247-check-list {
  margin: 1.25rem 0 1.5rem;
}

.w247-featured__media {
  display: none;
}

.w247-rent {
  background: var(--w247-gray-50);
}

.w247-rent__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .w247-rent__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.w247-rent__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.w247-rent__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.w247-coming__subtitle {
  margin: 0.4rem 0 0;
  color: var(--w247-gray-600);
  font-size: 0.95rem;
}

.w247-coming__grid {
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .w247-coming__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.w247-coming__item {
  aspect-ratio: auto;
  background: transparent;
  display: flex;
  flex-direction: column;
}

.w247-coming__item > img,
.w247-coming__item > .wp-post-image {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: none;
}

.w247-coming__item:hover img {
  filter: none;
}

.w247-coming__body {
  padding-top: 0.85rem;
}

.w247-coming__label {
  position: static;
  color: var(--w247-black);
  margin: 0;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
}

.w247-coming__body p {
  margin: 0.4rem 0 0;
  color: var(--w247-gray-600);
  font-size: 0.92rem;
  line-height: 1.5;
}

.w247-community__intro {
  max-width: 46rem;
  margin: 0 auto 1.75rem;
  text-align: center;
}

.w247-proof--hub .w247-proof__close {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.w247-proof--hub .w247-proof__close .w247-lead {
  margin: 0.75rem auto 0;
  color: var(--w247-gray-600);
}

.w247-proof__photos--row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin: 1.75rem 0;
}

@media (max-width: 699px) {
  .w247-proof__photos--row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.w247-proof__photos--row img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
}

.w247-proof__quote-block {
  margin: 0 auto 1.75rem;
  max-width: 36rem;
  font-family: var(--w247-font-serif);
  font-size: 1.25rem;
  line-height: 1.4;
}

.w247-proof__close-cta {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
  justify-items: center;
}

.w247-proof__close-cta .w247-display {
  margin: 0;
}

.w247-residence__copy {
  max-width: 40rem;
}

.w247-residence__copy .w247-lead {
  color: rgba(255, 255, 255, 0.88);
}


/* Contact form honeypot (spam trap) */
.w247-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Single portfolio project */
.w247-project-single__year {
  margin: 0.35rem 0 0;
  color: var(--w247-gray-600);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}

.w247-project-single__layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .w247-project-single__layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: 2.75rem;
  }
}

.w247-project-single__poster {
  margin: 0;
  overflow: hidden;
  background: var(--w247-gray-100);
}

.w247-project-single__poster img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.w247-project-single__main {
  display: grid;
  gap: 1.75rem;
}

.w247-project-single__content {
  color: var(--w247-gray-700);
  font-size: 1.05rem;
  line-height: 1.7;
}

.w247-project-single__content > *:first-child {
  margin-top: 0;
}

.w247-project-single__content > *:last-child {
  margin-bottom: 0;
}

.w247-project-single__gallery-title {
  margin: 0 0 1rem;
  font-family: var(--w247-font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.w247-project-single__gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 700px) {
  .w247-project-single__gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.w247-project-single__shot {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  overflow: hidden;
  background: var(--w247-gray-100);
  aspect-ratio: 4 / 3;
}

.w247-project-single__shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--w247-ease);
}

.w247-project-single__shot:hover img,
.w247-project-single__shot:focus-visible img {
  transform: scale(1.04);
}

.w247-project-single__back {
  margin: 0.5rem 0 0;
}

.w247-project__media {
  position: relative;
}

/* Legal / policy pages */
.w247-page-hero--legal {
  padding-bottom: 0.5rem;
}

/* Font VN — biến đã set Be Vietnam Pro ở :root; giữ block này cho trang pháp lý. */
body.w247-legal-page {
  --w247-font-display: "Be Vietnam Pro", "Segoe UI", sans-serif;
  --w247-font-serif: "Be Vietnam Pro", "Segoe UI", sans-serif;
  --w247-font-body: "Be Vietnam Pro", "Segoe UI", sans-serif;
}

.w247-legal__updated {
  margin: 0.5rem 0 0;
  color: var(--w247-gray-600);
  font-size: 0.92rem;
}

.w247-legal__wrap {
  max-width: 48rem;
}

.w247-legal__content {
  color: var(--w247-gray-700);
  font-size: 1.02rem;
  line-height: 1.75;
}

.w247-legal__content h2 {
  margin: 2rem 0 0.75rem;
  font-family: var(--w247-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--w247-black, #111);
}

.w247-legal__content h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--w247-black, #111);
}

.w247-legal__content p,
.w247-legal__content ul,
.w247-legal__content ol {
  margin: 0 0 1rem;
}

.w247-legal__content ul,
.w247-legal__content ol {
  padding-left: 1.25rem;
}

.w247-legal__content li {
  margin: 0 0 0.4rem;
}

.w247-legal__content a {
  color: var(--w247-accent, #F58821);
  text-decoration: underline;
}

.w247-legal-toc {
  background: #fff4e8;
  border: 1px solid #f0d7b8;
  border-radius: 10px;
  padding: 1rem 1.15rem;
  margin: 1.25rem 0 1.75rem;
}

.w247-legal-toc p {
  margin: 0 0 0.5rem;
}

.w247-legal-toc ol {
  margin: 0;
  padding-left: 1.2rem;
}

.w247-legal-toc li {
  margin: 0.3rem 0;
}

.w247-legal__content h2[id] {
  scroll-margin-top: 5rem;
}
