.ggpw-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.ggpw-track {
  display: flex;
  align-items: stretch;
  will-change: transform;
}

.ggpw-horizontal .ggpw-track {
  flex-direction: row;
  width: max-content;
}

.ggpw-vertical {
  max-height: 720px;
}

.ggpw-vertical .ggpw-track {
  flex-direction: column;
}

.ggpw-card {
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0,0,0,.06);
}

.ggpw-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.ggpw-card-image {
  width: 100%;
  overflow: hidden;
  background: #f4f4f4;
}

.ggpw-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ggpw-card-body {
  padding: 16px;
}

.ggpw-card-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.ggpw-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ggpw-card-content,
.ggpw-card-acf {
  margin: 0;
  line-height: 1.45;
}

.ggpw-card-content {
  font-size: 14px;
  opacity: .82;
}

.ggpw-card-acf {
  font-size: 13px;
  opacity: .78;
}


.ggpw-3d {
  overflow: visible;
  perspective: 1200px;
}

.ggpw-3d-stage {
  --ggpw-depth: 260px;
  --ggpw-oval: .68;
  width: 100%;
  position: relative;
  transform-style: preserve-3d;
  perspective: 1200px;
  overflow: visible;
}

.ggpw-3d-ring {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  will-change: transform;
}

.ggpw-3d .ggpw-card {
  max-width: 90vw;
  transform-style: preserve-3d;
}

.ggpw-3d-card {
  backface-visibility: hidden;
}

.ggpw-3d .ggpw-card-link {
  transform-style: preserve-3d;
}


.ggpw-split-flap {
  overflow: visible;
  perspective: 900px;
}

.ggpw-split-flap-stage {
  position: relative;
  width: 100%;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  perspective: 900px;
}

.ggpw-split-flap-stack {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

.ggpw-split-flap-card {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

.ggpw-split-flap-card .ggpw-card {
  width: 100%;
  height: 100%;
}

.ggpw-split-flap-card .ggpw-card-link {
  height: 100%;
}

.ggpw-split-flap-divider {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(0,0,0,.18);
  box-shadow: 0 -1px 0 rgba(255,255,255,.35), 0 1px 0 rgba(0,0,0,.08);
  pointer-events: none;
  z-index: 10;
}

.ggpw-split-flap-stage::before,
.ggpw-split-flap-stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  pointer-events: none;
  z-index: 9;
}

.ggpw-split-flap-stage::before {
  top: 0;
}

.ggpw-split-flap-stage::after {
  bottom: 0;
}

.ggpw-split-flap-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ggpw-split-flap-content,
.ggpw-split-flap-acf {
  margin: 0;
  line-height: 1.45;
}

.ggpw-split-flap-content {
  font-size: 14px;
  opacity: .82;
}

.ggpw-split-flap-acf {
  font-size: 13px;
  opacity: .78;
}


.ggpw-perspective {
  height: 80vh;
  overflow: hidden;
  perspective: 1300px;
  background: transparent;
}

.ggpw-perspective-stage {
  width: 120%;
  min-height: calc(100% + var(--ggpw-perspective-adjustment, 180px));
  margin-left: -10%;
  transform-style: preserve-3d;
  transform: rotateZ(var(--ggpw-perspective-rotate, -40deg)) rotateX(var(--ggpw-perspective-tilt-tb, 48deg)) rotateY(var(--ggpw-perspective-tilt-lr, 0deg)) translateY(calc(var(--ggpw-perspective-adjustment, 180px) * -1));
  transform-origin: center center;
  will-change: transform;
}

.ggpw-perspective .ggpw-track,
.ggpw-perspective-track {
  flex-direction: column;
  align-items: center;
  width: max-content;
  min-width: 100%;
  transform-style: preserve-3d;
  will-change: transform;
}

.ggpw-perspective .ggpw-card {
  max-width: 90vw;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.ggpw-perspective .ggpw-card-image img {
  transform: translateZ(0);
}

.ggpw-isometric-cube {
  height: 70vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1600px;
}

.ggpw-isometric-stage {
  --ggpw-iso-width: 900px;
  --ggpw-iso-side-height: 430px;
  --ggpw-iso-top-height: 0px;
  --ggpw-iso-angle: 28deg;
  --ggpw-iso-rotate: 0deg;
  --ggpw-iso-adjustment: 0px;
  --ggpw-iso-seam-shift: 0px;
  position: relative;
  width: min(var(--ggpw-iso-width), 96vw);
  height: var(--ggpw-iso-side-height);
  transform: translateY(var(--ggpw-iso-adjustment)) rotateZ(var(--ggpw-iso-rotate));
  transform-style: preserve-3d;
}

.ggpw-isometric-top { display: none !important; }

.ggpw-isometric-side {
  position: absolute;
  top: 0;
  width: 50%;
  height: var(--ggpw-iso-side-height);
  overflow: hidden;
border: 1px solid rgba(0,0,0,.14);
  backface-visibility: hidden;
  transform-style: preserve-3d;
  box-sizing: border-box;
}

/* 3D fold instead of skew. Face height stays true, and angle 0 becomes a flat single row. */
.ggpw-isometric-left {
  left: var(--ggpw-iso-seam-shift);
  transform-origin: 100% 50%;
  transform: rotateY(var(--ggpw-iso-angle));
  border-right: 0;
}

.ggpw-isometric-right {
  left: calc(50% + var(--ggpw-iso-seam-shift));
  transform-origin: 0 50%;
  transform: rotateY(calc(var(--ggpw-iso-angle) * -1));
  border-left: 0;
}

.ggpw-isometric-side::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 20;
}

.ggpw-isometric-left::after { background: linear-gradient(to right, rgba(0,0,0,.18), rgba(0,0,0,.02)); }
.ggpw-isometric-right::after { background: linear-gradient(to left, rgba(255,255,255,.13), rgba(255,255,255,.01)); }

.ggpw-isometric-track {
  position: absolute;
  inset: 0 auto 0 0;
  height: 100%;
  width: max-content;
  display: flex;
  flex-wrap: nowrap;
  gap: 0 !important;
  will-change: transform;
}

.ggpw-isometric-cube .ggpw-card {
  position: relative;
  flex: 0 0 auto;
  top: 0;
  height: 100%;
  width: 100%;
  min-width: 100%;
  border-radius: 0;
  margin: 0 !important;
  transform: none !important;
  box-shadow: none;
}

.ggpw-isometric-cube .ggpw-card-link {
  width: 100%;
  min-width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 0;
}

.ggpw-isometric-cube .ggpw-card-image {
  width: 100%;
  min-width: 100%;
  flex: 1 1 auto;
  overflow: hidden;
}

.ggpw-isometric-cube .ggpw-card-image img {
  width: 100% !important;
  height: 100% !important;
  min-width: 100%;
  object-fit: cover !important;
  display: block;
}

.ggpw-isometric-cube .ggpw-card-body {
  flex: 0 0 auto;
  display: flex !important;
  flex-direction: column;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative;
  z-index: 5;
}


/* Card style control support */
.ggpw-card,
.ggpw-split-flap-card {
    box-sizing: border-box;
}
.ggpw-card a {
    color: inherit;
}









/* Vertical widget full-height fix */
.ggpw-wrap[data-ggpw-axis="vertical"],
.ggpw-wrap[data-ggpw-axis="vertical"] .ggpw-marquee {
    height: 100%;
    min-height: inherit;
}

.ggpw-wrap[data-ggpw-axis="vertical"] .ggpw-track {
    min-height: 100%;
}


/* 3D Grid Image Widget */
.ggpw-3d-grid-image {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    perspective: var(--ggpw-grid-perspective, 1000px);
    perspective-origin: center center;
    transform-style: preserve-3d;
}

.ggpw-3d-grid-viewport {
    width: 100%;
    height: 100%;min-height: 100%;
    overflow: hidden;
    position: relative;
    transform-style: preserve-3d;
}

.ggpw-3d-grid-inner {
    --ggpw-grid-columns: 3;
    --ggpw-grid-gap: 18px;
    --ggpw-grid-rotate-z: -12deg;
    --ggpw-grid-tilt-x: 18deg;
    --ggpw-grid-tilt-y: -18deg;
    --ggpw-grid-perspective: 1000px;
    display: grid;
    grid-template-columns: repeat(var(--ggpw-grid-columns), minmax(0, 1fr));
    gap: var(--ggpw-grid-gap);
    width: 100%;
    min-height: 140%;
    transform-style: preserve-3d;
    transform: perspective(var(--ggpw-grid-perspective)) rotateZ(var(--ggpw-grid-rotate-z)) rotateX(var(--ggpw-grid-tilt-x)) rotateY(var(--ggpw-grid-tilt-y));
    transform-origin: center center;
    will-change: transform;
}

.ggpw-3d-grid-column {
    overflow: hidden;
    min-width: 0;
}

.ggpw-3d-grid-track {
    display: flex;
    flex-direction: column;
    gap: var(--ggpw-grid-gap);
    will-change: transform;
}

.ggpw-3d-grid-item {
    width: 100%;
    overflow: hidden;
    background: transparent;
    box-sizing: border-box;
    flex: 0 0 auto;
}

.ggpw-3d-grid-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* 3D Grid Image animation fix */
.ggpw-3d-grid-column {
    height: 100%;
}
.ggpw-3d-grid-track {
    min-height: 200%;
}


/* 3D Grid Image gap fix */
.ggpw-3d-grid-track {
    display: flex;
    flex-direction: column;
}
.ggpw-3d-grid-set {
    display: flex;
    flex-direction: column;
    gap: var(--ggpw-grid-gap);
    flex: 0 0 auto;
}


/* 3D Grid Image perspective/placement fix */
.ggpw-3d-grid-image * {
    transform-style: preserve-3d;
}


/* 3D Grid Image column flow */
.ggpw-3d-grid-set {
    display: flex;
    flex-direction: column;
    gap: var(--ggpw-grid-gap);
    flex: 0 0 auto;
}




/* SVG Flashlight Reveal Effect */
.ggpw-svg-flashlight {
    --ggpw-flashlight-speed: 4s;
    --ggpw-flashlight-stroke-speed: 5s;
    --ggpw-flashlight-beam-color: #ffe042;
    --ggpw-flashlight-beam-opacity: 0.35;
    --ggpw-flashlight-text-color: #000000;
    --ggpw-flashlight-stroke-color: #ffffff;
    --ggpw-flashlight-stroke-width: 2px;
    --ggpw-flashlight-text-glow-blur: 0px;
    --ggpw-flashlight-text-glow-color: #ffffff;
    width: 100%;
    position: relative;
    overflow: visible;
    background: transparent;
}

.ggpw-svg-flashlight-svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    flex: 0 0 auto;
}

.ggpw-svg-flashlight-move {
    transform-box: fill-box;
    animation: ggpw-svg-flashlight-move var(--ggpw-flashlight-speed) cubic-bezier(.29,.45,.76,.55) infinite alternate;
}

@keyframes ggpw-svg-flashlight-move {
    0% { transform: translateX(-420px); }
    100% { transform: translateX(420px); }
}

.ggpw-svg-flashlight-fill,
.ggpw-svg-flashlight-fill * {
    fill: var(--ggpw-flashlight-text-color) !important;
}

.ggpw-svg-flashlight-stroke,
.ggpw-svg-flashlight-stroke * {
    fill: none !important;
    stroke: var(--ggpw-flashlight-stroke-color) !important;
    stroke-width: var(--ggpw-flashlight-stroke-width) !important;
    stroke-miterlimit: 10;
    stroke-dasharray: 100;
    stroke-dashoffset: 550;
    animation: ggpw-svg-flashlight-stroke var(--ggpw-flashlight-stroke-speed) linear infinite alternate;
    filter: drop-shadow(0 0 var(--ggpw-flashlight-text-glow-blur) var(--ggpw-flashlight-text-glow-color));
}

@keyframes ggpw-svg-flashlight-stroke {
    100% {
        stroke-dashoffset: 100;
        stroke-dasharray: 100;
    }
}


/* SVG Flashlight transparent viewport fix */
.ggpw-svg-flashlight {
    overflow: visible;
    background: transparent;
}
.ggpw-svg-flashlight-svg {
    overflow: visible;
}
