
.psha-widget,
.psha-widget * {
	box-sizing: border-box;
}

.psha-widget {
	--psha-gold: #c7a166;
	--psha-white: #f5f2ec;
	--psha-overlay-start: rgba(0,0,0,.92);
	--psha-overlay-end: rgba(0,0,0,.24);
	--psha-speed: 550ms;
	width: 100%;
	background: #090909;
	overflow: hidden;
	border-top: 1px solid color-mix(in srgb, var(--psha-gold) 40%, transparent);
	border-bottom: 1px solid color-mix(in srgb, var(--psha-gold) 40%, transparent);
}

.psha-panel {
	position: relative;
	height: 112px;
	min-height: 112px;
	overflow: hidden;
	background-image: var(--psha-image);
	background-size: cover;
	background-position: var(--psha-position, center center);
	background-repeat: no-repeat;
	border-bottom: 1px solid rgba(255,255,255,.12);
	transition: height var(--psha-speed) cubic-bezier(.22,.61,.36,1);
	isolation: isolate;
}

.psha-panel:last-child {
	border-bottom: 0;
}

.psha-panel::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, var(--psha-overlay-start) 0%, rgba(0,0,0,.70) 44%, var(--psha-overlay-end) 100%),
		linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.58));
	transition: background .35s ease;
}

.psha-panel.is-active {
	height: 520px;
}

.psha-panel__tab {
	position: absolute;
	inset: 0 0 auto 0;
	z-index: 4;
	width: 100%;
	height: 112px;
	display: grid;
	grid-template-columns: 74px 1fr 44px;
	align-items: center;
	gap: 16px;
	padding: 0 clamp(24px, 5vw, 72px);
	border: 0;
	color: var(--psha-white);
	background: transparent;
	cursor: pointer;
	text-align: left;
}

.psha-panel__number {
	color: var(--psha-gold);
	font-family: Georgia, serif;
	font-size: clamp(21px, 2vw, 34px);
}

.psha-panel__title {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(24px, 3vw, 48px);
	font-weight: 400;
	line-height: 1;
	letter-spacing: .035em;
}

.psha-panel__plus {
	justify-self: end;
	color: var(--psha-gold);
	font-size: 28px;
	font-weight: 300;
}

.psha-panel__content {
	position: absolute;
	left: clamp(24px, 5vw, 72px);
	bottom: clamp(34px, 6vw, 72px);
	z-index: 3;
	max-width: 580px;
	opacity: 0;
	transform: translateY(24px);
	pointer-events: none;
	transition: opacity .3s ease .08s, transform .4s ease .08s;
}

.psha-panel.is-active .psha-panel__content {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.psha-panel__eyebrow {
	display: block;
	margin-bottom: 12px;
	color: var(--psha-gold);
	font-family: Arial, sans-serif;
	font-size: 12px;
	letter-spacing: .18em;
}

.psha-panel__content h3 {
	margin: 0 0 18px;
	color: var(--psha-white);
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(46px, 6vw, 82px);
	font-weight: 400;
	line-height: .96;
}

.psha-panel__content p {
	margin: 0 0 26px;
	color: color-mix(in srgb, var(--psha-white) 88%, transparent);
	font-family: Arial, sans-serif;
	font-size: clamp(15px, 1.4vw, 18px);
	line-height: 1.7;
}

.psha-panel__content a {
	display: inline-flex;
	align-items: center;
	gap: 28px;
	padding: 15px 22px;
	border: 1px solid var(--psha-gold);
	color: var(--psha-white);
	text-decoration: none;
	font-family: Arial, sans-serif;
	font-size: 12px;
	letter-spacing: .12em;
	transition: background .25s ease, color .25s ease;
}

.psha-panel__content a span {
	color: var(--psha-gold);
	font-size: 20px;
}

.psha-panel__content a:hover {
	background: var(--psha-gold);
	color: #090909;
}

.psha-panel__content a:hover span {
	color: #090909;
}

@media (max-width: 767px) {
	.psha-panel,
	.psha-panel__tab {
		height: 88px;
	}

	.psha-panel {
		min-height: 88px;
	}

	.psha-panel.is-active {
		height: 520px;
	}

	.psha-panel__tab {
		grid-template-columns: 48px 1fr 30px;
		padding: 0 18px;
		gap: 10px;
	}

	.psha-panel__title {
		font-size: clamp(21px, 7vw, 30px);
	}

	.psha-panel__content {
		left: 18px;
		right: 18px;
		bottom: 28px;
	}

	.psha-panel__content h3 {
		font-size: clamp(38px, 12vw, 58px);
	}

	.psha-panel::before {
		background:
			linear-gradient(180deg, rgba(0,0,0,.34) 0%, rgba(0,0,0,.76) 62%, rgba(0,0,0,.95) 100%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.psha-panel,
	.psha-panel__content {
		transition: none;
	}
}


/* Active panel: keep only the number in the top tab.
   The large title is shown once inside the expanded content. */
.psha-panel.is-active .psha-panel__title {
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	pointer-events: none;
}

.psha-panel__title {
	transition:
		opacity .22s ease,
		visibility .22s ease,
		transform .22s ease;
}

.psha-panel.is-active .psha-panel__tab {
	grid-template-columns: 74px 1fr 44px;
}

@media (max-width: 767px) {
	.psha-panel.is-active .psha-panel__tab {
		grid-template-columns: 48px 1fr 30px;
	}
}
