/*
Theme Name: GW Theme
Theme URI: https://www.gatewaywestmarketing.com/
Author: Sean Yeaney
Description: A custom theme for client sites
Version: 1.0
*/
/* Ensure main content is above .hex-layer */
.hero-header,
.hero-visual,
.site-main,
#primary,
.archive-hero,
#wpv-view-layout-341 {
  position: relative;
  z-index: 1;
}

.down-arrow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 99999;
  cursor: pointer;
  opacity: 0; /* starts invisible */
  animation: arrowFadeIn 1.4s ease forwards 0.8s; /* fade in delayed */
}

.down-arrow i {
  font-size: 48px;
  color: #ffffff;
  opacity: 0.7;
  animation: arrowFloat 2.6s ease-in-out infinite;
  transition: opacity 0.25s ease;
}
.tb-image-slider .glide__arrow {
  background: #200d2b !important;
}
.tb-image-slider .glide__arrow--right {
  right: -50px !important;
}
.tb-image-slider .glide__arrow--left {
  left: -50px !important;
}
/* Hover effect */
.down-arrow:hover i {
  opacity: 1;
}
.tb-image-slider .glide__arrow:focus {
  box-shadow: 0 0 5px #9f00eb !important;
  background: transparent !important;
}
/* subtle fade-in for the arrow container */
@keyframes arrowFadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* subtle up/down float + fade breathing */
@keyframes arrowFloat {
  0% {
    transform: translateY(0);
    opacity: 0.7;
  }
  50% {
    transform: translateY(6px);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 0.7;
  }
}

@keyframes nvPulse {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.85;
  }
  50% {
    transform: translateY(10px);
    opacity: 1;
  }
}

@keyframes arrowBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

/* === CUSTOM PROPERTIES === */
@property --angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 220deg;
}

@property --tab-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 120deg;
}

/* === BASE STYLES === */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Bicyclette", sans-serif;
  font-weight: 300;
  font-size: clamp(17px, 1.2vw, 20px);
  line-height: 1.3;
  color: #fff;
  background: #000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

strong {
  font-weight: 600;
}

a {
  color: var(--gw-color-link);
  transition: color 0.2s ease;
}

p {
  font-size: clamp(17px, 1.2vw, 20px);
  font-weight: 300;
  line-height: 1.2;
}

h1 {
  font-size: clamp(35px, 3vw, 45px);
  font-weight: 300;
  line-height: 1.2;
}

h2 {
  font-size: clamp(30px, 2vw, 35px);
  font-weight: 700;
  line-height: 1.1;
}
h3 {
  text-align: left;
}
.collapsing {
  transition: height 0.5s ease, opacity 1s; /* Adjust '1s' for desired duration */
}

nav a,
.nv-eyebrow {
  font-size: clamp(17px, 1.2vw, 20px);
}

.nv-eyebrow {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0;
}
/* ==== UPCOMING EVENTS CARD STYLING ==== */
.nv-upcoming-events {
  color: #fff;
}

.nv-upcoming-events .nv-section-title {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 1.5rem;
}
/* === BUTTONS === */
.wp-block-button {
  position: relative;
  display: inline-block;
  border-radius: 8px;
  overflow: visible;
}

.wp-block-button__link.wp-element-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 50px;
  background: #9f00eb;
  color: #fff;
  font-weight: 300;
  font-size: 20px;
  border-radius: 8px;
  text-decoration: none;
  z-index: 10; /* ensure content stays above pseudo effects */
  margin-bottom: 0;
  transition: all 300ms ease;
}

.wp-block-button__link:hover {
  background: #7c01b5;
  transition: all 300ms ease;
}

.wp-block-button::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 10px;
  background: #9f00eb;
  z-index: 2;
}

.wp-block-button::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 10px;
  background: conic-gradient(
    from var(--angle),
    transparent 0 10deg,
    rgba(255, 255, 255, 0.8) 50deg 90deg,
    transparent 110deg 360deg
  );
  z-index: 3;
  pointer-events: none;
}

.wp-block-button:hover::after {
  animation: btn-sweep-fwd 0.4s linear forwards;
}

.wp-block-button:not(:hover)::after {
  animation: btn-sweep-back 0.4s linear forwards;
}

/* Ghost button variant */
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  color: #9f00eb;
  border: none;
  padding: 12px 52px;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  color: #fff;
}

.wp-block-button.is-style-outline {
  --angle: 220deg;
}

.wp-block-button.is-style-outline::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  padding: 2px;
  background: #9f00eb;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 1;
  pointer-events: none;
}

.wp-block-button.is-style-outline::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  padding: 2px;
  background: conic-gradient(
    from var(--angle),
    transparent 0 30deg,
    rgba(255, 255, 255, 0.8) 50deg 90deg,
    transparent 110deg 360deg
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 2;
  pointer-events: none;
}

.wp-block-button.is-style-outline:hover::after {
  animation: btn-sweep-fwd 0.4s linear forwards;
}

.wp-block-button.is-style-outline:not(:hover)::after {
  animation: btn-sweep-back 0.4s linear forwards;
}

/* Utility: consistent flex gap for button rows */
.nv-button-row {
  gap: 20px;
}

.button-right {
  justify-content: end;
}

.content-right p,
.content-right h2,
.content-right h3 {
  text-align: right !important;
}
/* === LAYOUT === */
.container,
.container-lg,
.container-md,
.container-sm,
.container-xl {
  max-width: 1300px;
  padding-left: 25px;
  padding-right: 25px;
}

.site-main {
  position: relative;
  z-index: 0;
  overflow: clip;
}

.site-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/wp-content/uploads/hex-cluster.svg");
  background-repeat: repeat-x;
  background-position: center;
  opacity: 0.21;
  pointer-events: none;
  z-index: -1;
  transform: scaleX(-1);
}
.blog .site-main::before,
.single-post .site-main::before {
  content: "";
  background: none;
}
a.panel-link:hover {
  text-decoration: none;
  color: inherit;
}
.panel-link h3 {
  font-weight: 600;
}
.panel-link img {
  max-height: 280px;
}
.panel-link figure {
  margin: 0;
}
.modal-backdrop {
  z-index: 99998 !important;
}

.modal {
  z-index: 99999 !important;
}

.modal-dialog {
  z-index: 100000 !important;
}
/* Subtle purple-to-black overlay for hero sections where needed */
.event-hero.overlay-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(32, 13, 44, 0.55) 0%,
    rgba(0, 0, 0, 0.85) 100%
  );
  pointer-events: none;
  z-index: 0;
}
.is-thank-you .gradient-wrap {
  min-height: unset;
}
.is-thank-you .down-arrow {
  display: none;
}
.gradient-wrap {
  background: linear-gradient(
    180deg,
    var(--gw-color-dark) 0%,
    var(--gw-color-dark) 20%,
    #000000 100%
  );
  min-height: 1500px;
}

/* === HERO === */
.hero-visual {
  position: absolute;
  inset: 0;
  height: 110vh;
  overflow: visible;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 80%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 80%
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.hero-header {
  position: relative;
  background: transparent;
  overflow: visible;
  color: #fff;
  z-index: 1;
}

.hero-visual .hex-layer {
  position: absolute;
  inset: 0;
  left: -685px;
  background-image: url("/wp-content/uploads/hex-cluster.svg");
  background-repeat: repeat;
  background-size: 1552px 1200px;
  background-position: left top;
  opacity: 0.41;
  will-change: background-position;
  transform: translateZ(0);
  z-index: 0;
}

#particle-layer,
#particle-layer canvas {
  opacity: 0.31;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 620px;
  margin: 0 auto;
  padding: 25vh 25px;
  min-height: 70vh;
}

.hero-type {
  display: flex;
  align-items: end;
  justify-content: center;
  position: relative;
  color: #ffffff;
  white-space: wrap;
  overflow: hidden;
}

.cursor {
  display: inline-block;
  width: 0.1em;
  height: 1em;
  background-color: var(--gw-color-light);
  margin-left: 2px;
  animation: blink 0.8s steps(1) infinite;
  transition: opacity 1.2s ease;
  vertical-align: bottom;
}

#hero-sub {
  opacity: 0;
  transition: opacity 1.2s ease;
}

#hero-sub.visible {
  opacity: 1;
}

.navbar,
.hero-content {
  position: relative;
  z-index: 10;
}

/* === FOOTER === */
footer.nv-footer {
  position: relative;
  background: linear-gradient(0deg, #9f00eb 0%, #000 80%);
  color: #fff;
  padding: 0;
  overflow: hidden;
  z-index: 1;
}

/* Footer Background Overlay */
footer.nv-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/wp-content/uploads/footer-overlay.webp");
  background-size: contain;
  background-position: right center;
  background-repeat: no-repeat;
  opacity: 1;
  pointer-events: none;
  z-index: -1;
  mix-blend-mode: screen;
}

/* Footer CTA Section */
.footer-cta {
  padding: 80px 0 60px;
  position: relative;
  z-index: 2;
}

/* Footer Main Content */
.footer-main {
  padding: 40px 0 60px;
  position: relative;
  z-index: 2;
}

.footer-divider {
  border: none;
  height: 1px;
  background: rgb(255, 255, 255);
  margin: 0 0 50px;
  opacity: 1;
}
.footer-content {
  display: flex;
  align-items: start;
  justify-content: space-between;
}

/* Footer Menu */
.footer-heading {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  color: #fff;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav ul li {
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.footer-nav ul li a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: clamp(16px, 1.1vw, 18px);
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
  line-height: 1.2;
}

.footer-nav ul li a:hover {
  color: #fff;
  transform: translateX(4px);
}

/* Footer Brand */
.footer-logo {
  max-width: 90px;
  height: auto;
  text-align: center;
  margin: 15px auto;
  display: block;
}

.footer-brand-text {
  font-size: clamp(17px, 1.2vw, 20px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  text-align: left;
}
.copyright {
  padding: 3px 0;
}
.copyright p {
  font-size: 12px;
  color: #777;
  margin-bottom: 0;
}
.tb-gallery img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  vertical-align: bottom;
  border-radius: 12px;
  border: 2px solid var(--gw-color-light);
}
@media (max-width: 767px) {
  .footer-brand-text {
    text-align: center;
  }
}

/* Footer Social Icons */
.footer-social {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-social .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: #9f00eb;
  font-size: 20px;
  text-decoration: none;
  transition: background-color 300ms ease, color 300ms ease;
}

.footer-social .social-icon:hover {
  background: #9f00eb;
  color: #fff;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .footer-cta {
    padding: 60px 0 40px;
    text-align: center;
  }

  .footer-cta .col-md-5 {
    text-align: center !important;
    margin-top: 2rem;
  }

  .footer-content {
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-social-col {
    text-align: center !important;
  }
  .navbar-nav {
    text-align: center;
  }
}

@media (max-width: 767px) {
  .footer-cta {
    padding: 50px 0 30px;
  }

  .footer-main {
    padding: 30px 0 40px;
  }

  .footer-divider {
    margin: 0 0 30px;
  }

  .footer-nav ul li a {
    font-size: 16px;
  }

  .footer-social .social-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

/* === REVIEWS === */
.google-reviews-grid-wrapper {
  padding: 1rem;
}

.google-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(22.5%, 1fr));
  gap: 1.5rem;
}

.google-review-card {
  background: #282828;
  border: 1px solid #2b2b2b;
  color: #fff;
  border-radius: 1.5rem;
  padding: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease-in-out;
}

.review-rating {
  color: #fbb03b;
}

/* === SCROLL TO TOP === */
.scroll-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 45px;
  height: 45px;
  background: var(--gw-color-dark);
  color: #fff;
  text-align: center;
  line-height: 35px;
  border-radius: 50%;
  font-size: 36px;
  cursor: pointer;
  z-index: 999;
  display: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.scroll-to-top:hover {
  color: #ccc;
  transform: scale(1.1);
}

.scroll-to-top i {
  vertical-align: middle;
  font-size: 20px;
}

/* === NAVBAR === */
.navbar-light .navbar-nav .nav-link {
  color: #fff;
  padding-left: 2em;
}

.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
  color: var(--gw-color-light) !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  background-size: 1.5em;
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M6 6L24 24M6 24L24 6'/%3e%3c/svg%3e") !important;
}
.alert-warning {
  background: #000;
  color: #fff;
  border: none;
}
/* === MEDIA RECT BORDER SYSTEM === */
.media-rect {
  --radius: 8px;
  --ring: 2px;
  --border-color: #9f00eb;
  --shine: #ffffffcc;
  --angle: 220deg;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
}

.media-rect::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: var(--ring);
  border-radius: inherit;
  background: var(--border-color);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

.media-rect::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: var(--ring);
  border-radius: inherit;
  background: conic-gradient(
    from var(--angle),
    transparent 0 30deg,
    var(--shine) 50deg 90deg,
    transparent 110deg 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
  opacity: 1;
}

.media-rect.animate:hover::after {
  animation: sweep-fwd 0.7s linear 1 forwards;
}

.media-rect.animate:not(:hover)::after {
  animation: sweep-back 0.7s linear 1 forwards;
}

/* === GRADIENT TEXT === */
.gradient-text {
  --brand: #9f00eb;
  --hi: #f1e8ff;
  background: linear-gradient(355deg, var(--brand) 0%, var(--hi) 98%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === NV TAB SECTION === */
.nv-tab-wrap {
  position: relative;
  overflow-x: visible;
  width: 100%;
  padding: 60px 0;
}

.nv-half .nv-tab--right {
  width: 150%;
  margin-left: 0%;
}

.nv-tab {
  --brand: #9f00eb;
  --icon-peek: 14%;
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 24px;
  width: 136%;
  padding: 24px 44px 24px 36px;
  background: linear-gradient(90deg, var(--brand) 0%, #000 100%);
  border-radius: 0 80px 80px 0;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  color: #fff;
  transform: translateX(calc(-100% + var(--icon-peek)));
  transition: transform 2.6s cubic-bezier(0.33, 1, 0.68, 1),
    opacity 2.6s ease-in-out;
  position: relative;
  z-index: 2;
  margin-left: -36%;
}

.nv-tab--right {
  margin-inline-start: auto;
  flex-direction: row-reverse;
  border-radius: 80px 0 0 80px;
  background: linear-gradient(270deg, var(--brand) 0%, #000 100%);
  transform: translateX(calc(100% - var(--icon-peek)));
  padding: 24px 36px 24px 44px;
  justify-content: start;
  margin-right: -36%;
  margin-left: 0;
}

.nv-tab-wrap.in-view .nv-tab {
  transform: translateX(0);
}

.nv-tab figure,
.nv-tab img {
  width: 56px;
  height: auto;
  flex-shrink: 0;
  margin: 0;
  display: block;
}

.nv-tab:not(.nv-tab--right) figure {
  order: 1;
  margin-left: 0;
}

.nv-tab--right figure {
  order: 1;
  margin-right: 0;
}

.nv-tab__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  line-height: 1.1;
  max-width: 100%;
}

.nv-tab:not(.nv-tab--right) .nv-tab__content {
  align-items: end;
  text-align: left;
}

.nv-tab--right .nv-tab__content {
  align-items: start;
  text-align: right;
}

.nv-tab p.nv-eyebrow,
.nv-tab h2.nv-title {
  margin: 0;
  line-height: 1.1;
}

.nv-tab:not(.nv-tab--right) .gradient-text {
  text-align: right;
}

.nv-tab--right .gradient-text {
  text-align: left;
}

/* === SHINE BORDER === */
.shine-border {
  --ring: 2px;
  --border-color: #9f00eb;
  --shine: #ffffffcc;
  --tab-angle: 0deg;
  position: relative;
  isolation: isolate;
}

.shine-border::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: var(--ring);
  border-radius: inherit;
  background: var(--border-color);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

.shine-border::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: var(--ring);
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
  background: conic-gradient(
    from calc(var(--tab-angle) - 210deg),
    transparent 0deg 0deg,
    #fff8 20deg 140deg,
    transparent 230deg 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  filter: blur(0.6px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nv-tab-wrap.in-view .shine-border::after {
  animation: tab-shine-grow 1.8s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
  opacity: 1;
}

.nv-tab-wrap:not(.in-view) .shine-border::after {
  animation: tab-sweep-back 1s linear forwards;
  opacity: 0;
}

.nv-tab--right.shine-border::after {
  background: conic-gradient(
    from calc(360deg - var(--tab-angle) + 30deg),
    transparent 0deg 0deg,
    #fffc 20deg 140deg,
    transparent 230deg 360deg
  );
  animation: tab-shine-grow-right 1.8s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

/* === CALENDAR === */
.nv-calendar-desktop {
  display: block;
}

.nv-calendar-mobile {
  display: none;
}

/* === EVENT STYLES === */
#event-single {
  overflow-x: clip;
}

.event-map {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  margin-top: 2rem;
}

.event-map iframe {
  width: 100%;
  height: 350px;
  border: 0;
  border-radius: 12px;
}

.event-hero {
  position: relative;
  z-index: 9;
}
.archive-hero {
  position: relative;
  z-index: 9;
}
.breadcrumb {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

ol.breadcrumb {
  margin: 0 !important;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.838);
}

.breadcrumb-item.active {
  color: #d2d2d2;
}

.breadcrumb a {
  color: #9f00eb;
  text-decoration: none;
  font-size: 12px !important;
}

.breadcrumb a:hover {
  color: #c266ff;
  text-decoration: underline;
}

/* === ASPECT RATIOS === */
.ratio-3x1 {
  position: relative;
  width: 100%;
  padding-top: 33.333%;
  overflow: hidden;
}

.ratio-3x1 img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ratio-2x1 {
  position: relative;
  width: 100%;
  padding-top: 50%;
  overflow: hidden;
}

.ratio-2x1 img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ratio-1_5x1 {
  position: relative;
  width: 100%;
  padding-top: 66.666%;
  overflow: hidden;
}

.ratio-1_5x1 img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* === EVENT SHARE === */
.event-share {
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 0.85rem;
}

.event-share .nv-eyebrow {
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
  margin-right: 0.5rem;
}

.share-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #fff;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.share-icon:hover {
  color: #9f00eb;
  text-decoration: none;
}

/* === UPCOMING EVENTS === */
.upcoming-events {
  margin-top: 3rem;
}

.upcoming-events .nv-eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #9f00eb;
  font-weight: 600;
}

.event-item {
  text-decoration: none;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.75rem 1rem;
  transition: all 0.2s ease;
}

/* Lock color for all link states */
.event-item:link,
.event-item:visited,
.event-item:hover,
.event-item:active,
.event-item:focus {
  color: #fff !important;
  text-decoration: none;
}

.event-item:hover {
  background: rgba(159, 0, 235, 0.08);
  transform: translateY(-2px);
}

/* Child elements stay white */
.event-item h5,
.event-item a,
.event-item:hover h5,
.event-item:active h5,
.event-item:focus h5,
.event-item:visited h5,
.event-item:hover a,
.event-item:active a,
.event-item:focus a,
.event-item:visited a {
  color: #f7f7f7 !important;
  transition: all 300ms ease;
}

.event-date-box {
  background: linear-gradient(180deg, #9f00eb, #6200ea);
  color: #fff;
  border-radius: 8px;
  min-width: 60px;
  padding: 0.3rem 0;
  line-height: 1.2;
}

.event-date-box .month {
  font-size: 0.75rem;
  text-transform: uppercase;
  opacity: 0.9;
}

.event-date-box .day {
  font-size: 30px;
  font-weight: 700;
}

.event-info .event-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 0;
}

.event-info .event-year {
  color: rgba(255, 255, 255, 0.6);
}

.event-meta p {
  margin-bottom: 3px;
}

.bi-chevron-right {
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s ease;
}

.event-item:hover .bi-chevron-right {
  color: #9f00eb;
}

.view-all-link {
  color: #9f00eb;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.view-all-link i {
  transition: transform 0.2s ease;
  font-size: 1rem;
  color: currentColor; /* inherit link color (purple -> white on hover) */
  margin-left: 8px; /* breathing room before chevron */
}

.view-all-link:hover {
  color: #fff;
  text-decoration: none;
}

.view-all-link:hover i {
  transform: translateX(4px);
}

/* === ANIMATIONS === */
@keyframes btn-sweep-fwd {
  0% {
    --angle: 220deg;
  }
  100% {
    --angle: 580deg;
  }
}

/* === Confirmation utilities === */
.nv-hr {
  border: 0;
  height: 1px;
  margin: 24px 0;
  background: linear-gradient(
    90deg,
    rgba(159, 0, 235, 0.35),
    rgba(255, 255, 255, 0.12),
    rgba(159, 0, 235, 0.35)
  );
}

@keyframes btn-sweep-back {
  0% {
    --angle: 580deg;
  }
  100% {
    --angle: 220deg;
  }
}

@keyframes ghost-fade-out {
  to {
    opacity: 0;
  }
}

@keyframes hexDrift {
  0% {
    background-position: 0 0;
    opacity: 0.41;
  }
  25% {
    opacity: 0.52;
  }
  50% {
    opacity: 0.24;
  }
  75% {
    opacity: 0.61;
  }
  100% {
    background-position: 3104px 1200px;
    opacity: 0.41;
  }
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes sweep-fwd {
  0% {
    --angle: 220deg;
  }
  100% {
    --angle: 580deg;
  }
}

@keyframes sweep-back {
  0% {
    --angle: 580deg;
  }
  100% {
    --angle: 220deg;
  }
}

@keyframes tab-shine-grow {
  0% {
    --tab-angle: 0deg;
    opacity: 0.25;
  }
  20% {
    --tab-angle: 60deg;
    opacity: 0.7;
  }
  60% {
    --tab-angle: 180deg;
    opacity: 1;
  }
  100% {
    --tab-angle: 240deg;
    opacity: 1;
  }
}

@keyframes tab-sweep-back {
  0% {
    --tab-angle: 240deg;
    opacity: 1;
  }
  20% {
    --tab-angle: 180deg;
    opacity: 0.7;
  }
  60% {
    --tab-angle: 60deg;
    opacity: 0.4;
  }
  100% {
    --tab-angle: 0deg;
    opacity: 0.25;
  }
}

@keyframes tab-shine-grow-right {
  0% {
    --tab-angle: 240deg;
    opacity: 0.25;
  }
  20% {
    --tab-angle: 180deg;
    opacity: 0.7;
  }
  60% {
    --tab-angle: 60deg;
    opacity: 1;
  }
  100% {
    --tab-angle: 0deg;
    opacity: 1;
  }
}

/* ========================================
   MEDIA QUERIES
   ======================================== */

/* === 1240px and below === */
@media (max-width: 1240px) {
  .event-hero .d-flex.flex-md-row,
  .event-hero .d-flex.flex-lg-row {
    flex-direction: column !important;
    text-align: center;
  }

  .event-hero .wp-block-buttons {
    justify-content: center !important;
    margin-bottom: 1rem;
  }

  .event-hero .event-share {
    justify-content: center !important;
    margin-top: 0.5rem;
    text-align: center;
    width: 100%;
  }

  .event-share .nv-eyebrow {
    display: block;
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .event-share .social-icons {
    justify-content: center !important;
  }
}

/* === 768px and below === */
@media (max-width: 768px) {
  .hero-visual .hex-layer {
    animation: fadeSubtle 8s ease-in-out infinite alternate;
    background-position: center top;
  }

  @keyframes fadeSubtle {
    from {
      opacity: 0.18;
    }
    to {
      opacity: 0.39;
    }
  }

  p {
    text-align: center;
  }

  .nv-tab figure,
  .nv-tab img {
    display: none !important;
  }

  .nv-tab {
    margin-inline: auto;
    justify-content: center;
    text-align: center;
    max-width: 130%;
    margin-left: -30%;
  }

  .nv-tab__content {
    align-items: center !important;
    text-align: center !important;
    margin-left: 0;
    margin-right: -30%;
  }

  .nv-tab--right .nv-tab__content {
    margin-left: -30%;
    margin-right: 0;
  }

  .gradient-text,
  .nv-tab:not(.nv-tab--right) .gradient-text,
  .nv-tab--right .gradient-text {
    text-align: center;
    max-width: 100%;
  }

  .nv-tab-wrap {
    overflow: visible;
  }

  .nv-tab--right {
    margin-left: 0;
    margin-right: -30%;
  }

  .wp-block-buttons,
  .button-right {
    justify-content: center;
  }

  .content-right p,
  .content-right h2,
  .content-right h3 {
    text-align: center !important;
  }
  h2 {
    text-align: center;
  }
  h3 {
    text-align: center;
  }
}

/* === 767.98px and below === */
@media (max-width: 767.98px) {
  .wp-block-buttons {
    justify-content: center;
    width: 100%;
  }

  .event-share {
    text-align: center;
    width: 100%;
    margin-top: 1rem;
  }

  .event-share .nv-eyebrow {
    width: 100%;
    display: block;
    margin-bottom: 0.5rem;
  }

  .social-icons {
    justify-content: center;
  }

  .breadcrumb {
    justify-content: center;
    text-align: center;
  }

  .breadcrumb-item + .breadcrumb-item::before {
    margin: 0 0.25rem;
  }

  .upcoming-events {
    text-align: center;
  }

  .event-item {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
  }

  .event-date-box {
    margin-bottom: 0.5rem;
  }

  .bi-chevron-right {
    display: none;
  }

  .view-all-events {
    text-align: center !important;
  }
}

/* === 581px and below === */
@media (max-width: 581px) {
  .nv-tab {
    max-width: 110%;
    margin-left: -5%;
  }

  .nv-tab:not(.nv-tab--right) .gradient-text,
  .nv-tab--right .gradient-text {
    max-width: 70%;
  }

  .nv-tab--right {
    margin-right: -5%;
  }

  .nv-tab__content {
    margin-right: -7%;
  }

  .nv-tab--right .nv-tab__content {
    margin-left: -7%;
  }
}

/* === 580px and below === */
@media (max-width: 580px) {
  .nv-calendar-desktop {
    display: none !important;
  }

  .nv-calendar-mobile {
    display: block !important;
  }
}
.gform_wrapper {
  background: linear-gradient(
    180deg,
    var(--gw-color-dark) 0%,
    var(--gw-color-dark) 20%,
    #000000 100%
  );
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #9f00eb;
}
/* Base fields (matches your custom event form style) */
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="number"],
.gform_wrapper input[type="url"],
.gform_wrapper input[type="password"],
.gform_wrapper select,
.gform_wrapper textarea {
  background: rgba(0, 0, 0, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  border-radius: 8px !important;
  transition: all 0.25s ease;
}
#gform_submit_button_1,
#gform_submit_button_2 {
  background-color: #9f00eb !important;
  background-image: none !important;
  border: none !important;
  border-top-color: currentcolor;
  border-right-color: currentcolor;
  border-bottom-color: currentcolor;
  border-left-color: currentcolor;
  border-color: #9f00eb !important;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  color: #fff !important;
  box-shadow: none !important;
}
#gform_submit_button_1:hover,
#gform_submit_button_1:focus,
#gform_submit_button_1:active,
#gform_submit_button_2:hover,
#gform_submit_button_2:focus,
#gform_submit_button_2:active {
  background: linear-gradient(90deg, #9f00eb 0%, #6200ea 100%) !important;
  background-color: rgba(0, 0, 0, 0);
  background-image: linear-gradient(
    90deg,
    rgb(159, 0, 235) 0%,
    rgb(98, 0, 234) 100%
  );
  background-color: #6200ea !important;
  background-image: linear-gradient(90deg, #9f00eb 0%, #6200ea 100%) !important;
  color: #fff !important;
  border: none !important;
  border-top-color: currentcolor;
  border-right-color: currentcolor;
  border-bottom-color: currentcolor;
  border-left-color: currentcolor;
  border-color: #6200ea !important;
  outline: none !important;
  box-shadow: none !important;
  transition: all 0.3s ease;
}

/* Placeholder */
.gform_wrapper input::placeholder,
.gform_wrapper textarea::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
}

/* Focus state */
.gform_wrapper input:focus,
.gform_wrapper select:focus,
.gform_wrapper textarea:focus {
  background: #000 !important;
  border-color: #9f00eb !important;
  box-shadow: 0 0 0 0.25rem rgba(159, 0, 235, 0.25) !important;
  outline: none !important;
  color: #fff !important;
}

/* Labels */
.gform_wrapper .gfield_label {
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
}

/* Select dropdown options */
.gform_wrapper select option {
  background: #000 !important;
  color: #fff !important;
}

/* Error fields */
.gform_wrapper .gfield_error input,
.gform_wrapper .gfield_error textarea,
.gform_wrapper .gfield_error select {
  background: #000 !important;
  border-color: #e53935 !important;
  box-shadow: 0 0 0 0.2rem rgba(229, 57, 53, 0.25) !important;
}

/* Error message */
.gform_wrapper .validation_message {
  color: #e53935 !important;
  font-size: 0.75rem !important;
  margin-top: 4px !important;
}
.gform-theme--framework .field_sublabel_above .gform-field-label--type-sub {
  color: #ccc;
}

/* Hide native radio */
.gform_wrapper .gchoice input[type="radio"] {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Make the label a position container */
.gform_wrapper .gchoice label {
  position: relative;
  padding-left: 15px; /* space for the circle */
  cursor: pointer;
  color: #fff !important;
  display: flex;
  align-items: center;
}

/* Outer circle */
.gform_wrapper .gchoice input[type="radio"] + label:before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(159, 0, 235, 0.5);
  background: transparent;
  box-sizing: border-box;
}

/* Inner dot (selected) */
.gform_wrapper .gchoice input[type="radio"]:checked + label:after {
  content: "";
  position: absolute;
  left: -11px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #9f00eb;
}
