/* Park Scroll Card - styles */


:root {
  --font-body: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-primary: 'GOCHU Trial', var(--font-body);
}

.psc-wrapper {
	position: relative;
	width: 100%;
	box-sizing: border-box;
}

.psc-sticky {
	position: sticky;
	top: 0;
	height: 100vh;
	overflow: hidden;
	display: flex;
	align-items: center;
}

.psc-inner {
	width: 100%;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 86px;
	align-items: start;
	box-sizing: border-box;
}

/* ---------- LEFT COLUMN ---------- */
.psc-left {
	max-width: 480px;
}

.psc-title {
	font-size: 48px;
	line-height: 1.1;
	font-weight: 800;
	text-transform: uppercase;
	margin: 0 0 20px;
	font-family: var(--font-primary);
}

.psc-description {
	font-size: 16px;
	line-height: 1.5;
	margin: 0 0 24px;
	font-family: var(--font-body);
}

.psc-divider {
	width: 100%;
	height: 1px;
	background: rgba(0, 0, 0, 0.12);
	margin: 60px 0;
}

.psc-counter {
	font-size: 20px;
	font-weight: 500;
	margin-bottom: 14px;
	font-family: var(--font-body);
}

.psc-counter .psc-current {
	transition: color 0.3s ease;
	color: red;
}

.psc-counter .psc-sep,
.psc-counter .psc-total {
	color: #02020299
}

.psc-progress-bar {
	width: 140px;
	height: 3px;
	background: rgba(0, 0, 0, 0.12);
	border-radius: 999px;
	overflow: hidden;
	display: none;
}

/* .psc-progress-bar span {
	display: block;
	height: 100%;
	width: 0%;
	background: #c6f000;
	transition: width 0.15s linear;
} */

/* ---------- RIGHT COLUMN / CARD STACK ---------- */
.psc-right {
	position: relative;
	height: 460px !important; /* fallback before JS measures + syncs to left column height */
	min-height: 300px;
}
.psc-card-stack {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.psc-card {
	position: absolute;
	inset: 0;
	background: #fff;
	border-radius: 24px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transform: translateY(100%);
	opacity: 0;
	will-change: transform, opacity;
	pointer-events: none;
	padding: 16px;
}

.psc-card-active {
	transform: translateY(0%);
	opacity: 1;
	pointer-events: auto;
}

.psc-card-img {
	width: 100%;
	flex: 1 1 auto;
	overflow: hidden;
}

.psc-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 16px;
}

.psc-card-body {
	padding: 24px 28px 28px;
	flex: 0 0 auto;
}

.psc-card-body h3 {
	font-size: 20px;
	font-weight: 600;
	margin: 0 0 8px;
	font-family: var(--font-body);
	line-height: 1;
}

.psc-card-body p {
	font-size: 16px;
	line-height: 1.5;
	margin: 0;
	color: #02020299;
	font-family: var(--font-body);
}

/* ---------- RESPONSIVE ---------- */
/* @media (max-width: 1024px) {
	.psc-inner {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.psc-sticky {
		position: static;
	}

	.psc-right {
		height: 380px;
	}

	.psc-title {
		font-size: 30px;
	}
} */

@media (max-width: 1024px) {

  .psc-wrapper {
    height: auto !important; /* remove the tall scroll-driven height */
  }

  .psc-sticky {
    position: static !important; /* unpin */
    height: auto !important;
    display: block !important;
    overflow: visible !important;
  }

  .psc-inner {
    display: block !important;
  }

  .psc-right {
    height: auto !important;
    margin-top: 32px;
  }

  .psc-card-stack {
    position: static !important;
    height: auto !important;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .psc-card {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .psc-counter{
	display: none;
  }
  /* progress bar / live counter don't apply to a static list */
  .psc-progress-bar {
    display: none;
  }
}

@media (max-width: 600px) {
	.psc-right {
		height: 320px;
	}
}
