/* SHH Core — component styles for Sarah's Haunted History.
 * Brand tokens (--shh-black, --shh-plum, --shh-purple, --shh-violet, --shh-lavender, --shh-ivory,
 * --shh-text, --shh-muted, --shh-border, --shh-font-*, --shh-radius, --shh-glow) are defined by the
 * theme; every use here carries a fallback so the plugin still renders on its own.
 * Plugin-private tokens are prefixed --shhc-.
 */

:root {
	--shhc-gap: 1.5rem;
	--shhc-radius: var(--shh-radius, 10px);
	--shhc-surface: var(--shh-plum, #28132f);
	--shhc-surface-2: color-mix(in srgb, var(--shh-plum, #28132f) 70%, var(--shh-black, #09070c));
	--shhc-border: var(--shh-border, rgba(189, 75, 203, 0.35));
	--shhc-border-strong: var(--shh-violet, #bd4bcb);
	--shhc-text: var(--shh-text, var(--shh-ivory, #f0e6ef));
	--shhc-muted: var(--shh-muted, rgba(221, 165, 233, 0.65));
	--shhc-glow: var(--shh-glow, 0 0 28px rgba(189, 75, 203, 0.35));
	--shhc-gradient: linear-gradient(135deg, var(--shh-purple, #663078), var(--shh-violet, #bd4bcb));
	--shhc-display: var(--shh-font-display, 'Cinzel', Georgia, serif);
	--shhc-serif: var(--shh-font-serif, 'Cormorant Garamond', Georgia, serif);
	--shhc-body: var(--shh-font-body, 'Inter', system-ui, sans-serif);
	--shhc-success: #7bd389;
	--shhc-error: #ff7b8a;
	--shhc-info: var(--shh-lavender, #dda5e9);
}

/* Grids ------------------------------------------------------------------- */

.shh-grid,
.entry-content .shh-grid,
.entry-content ul.shh-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
	gap: var(--shhc-gap);
	list-style: none;
	margin: 0 0 var(--shhc-gap);
	padding: 0;
}

.shh-grid--cols-2,
.shh-grid--cols-3 {
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.shh-grid--cols-2,
	.shh-grid--cols-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.shh-grid--cols-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Query Loop grids (class goes on the Query Loop / Post Template block). */
.shh-grid-3 .wp-block-post-template,
.shh-grid-2 .wp-block-post-template,
.wp-block-post-template.shh-grid-3,
.wp-block-post-template.shh-grid-2 {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--shhc-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 640px) {
	.shh-grid-3 .wp-block-post-template,
	.shh-grid-2 .wp-block-post-template,
	.wp-block-post-template.shh-grid-3,
	.wp-block-post-template.shh-grid-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.shh-grid-3 .wp-block-post-template,
	.wp-block-post-template.shh-grid-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Cards ------------------------------------------------------------------- */

.shh-card,
.shh-post-card,
.wp-block-post-template .shh-post-card {
	position: relative;
	display: flex;
	flex-direction: column;
	margin: 0;
	background: var(--shhc-surface);
	border: 1px solid var(--shhc-border);
	border-radius: var(--shhc-radius);
	overflow: hidden;
	color: var(--shhc-text);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.shh-card:hover,
.shh-card:focus-within,
.shh-post-card:hover,
.shh-post-card:focus-within {
	transform: translateY(-4px);
	border-color: var(--shhc-border-strong);
	box-shadow: var(--shhc-glow), 0 18px 40px rgba(0, 0, 0, 0.45);
}

@media (prefers-reduced-motion: reduce) {
	.shh-card,
	.shh-post-card,
	.shh-play,
	.shh-hero__portrait img {
		transition: none !important;
	}

	.shh-card:hover,
	.shh-post-card:hover {
		transform: none;
	}
}

.shh-card__media,
.shh-post-card .wp-block-post-featured-image {
	position: relative;
	aspect-ratio: 16 / 9;
	margin: 0;
	background: var(--shhc-surface-2);
	overflow: hidden;
}

.shh-card__media-link {
	display: block;
	height: 100%;
}

.shh-card__img,
.shh-card__media img,
.shh-post-card .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease, filter 0.3s ease;
}

.shh-card:hover .shh-card__img,
.shh-post-card:hover .wp-block-post-featured-image img {
	transform: scale(1.04);
}

.shh-post-card .wp-block-post-featured-image a {
	display: block;
	height: 100%;
}

.shh-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background-color: var(--shhc-surface-2);
	background-image:
		radial-gradient(ellipse at 50% 60%, rgba(189, 75, 203, 0.22), transparent 65%),
		var(--shh-fog, linear-gradient(160deg, rgba(102, 48, 120, 0.45), rgba(9, 7, 12, 0.9)));
	background-size: cover;
	background-position: center;
}

.shh-card--locked .shh-card__img,
.shh-locked__media img {
	filter: grayscale(0.5) brightness(0.5);
}

.shh-card__body,
.shh-post-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	padding: 1.1rem 1.25rem 1.35rem;
}

.shh-card__eyebrow,
.shh-post-card .wp-block-post-terms,
.shh-post-card .wp-block-post-terms a {
	margin: 0;
	font-family: var(--shhc-body);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--shh-lavender, #dda5e9);
	text-decoration: none;
}

.shh-post-card .wp-block-post-terms a:hover {
	color: var(--shh-violet, #bd4bcb);
}

.shh-card__title,
.shh-post-card .wp-block-post-title {
	margin: 0;
	font-family: var(--shhc-display);
	font-weight: 500;
	font-size: 1.15rem;
	line-height: 1.3;
	letter-spacing: 0.01em;
	color: var(--shh-ivory, #f0e6ef);
}

.shh-card__title a,
.shh-post-card .wp-block-post-title a,
.entry-content .shh-card__title a,
.entry-content .shh-post-card .wp-block-post-title a,
.entry-content .shh-feature__title a {
	color: inherit;
	text-decoration: none;
}

.shh-card__title a:hover,
.shh-card__title a:focus,
.shh-post-card .wp-block-post-title a:hover,
.shh-post-card .wp-block-post-title a:focus {
	color: var(--shh-lavender, #dda5e9);
	text-decoration: none;
}

.shh-card__meta,
.shh-card__date,
.shh-list__meta,
.shh-list__by,
.shh-hint,
.shh-video__note,
.shh-post-card .wp-block-post-date {
	margin: 0;
	font-size: 0.85rem;
	color: var(--shhc-muted);
}

.shh-card__excerpt,
.shh-post-card .wp-block-post-excerpt__excerpt {
	margin: 0.15rem 0 0;
	font-family: var(--shhc-body);
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--shhc-text);
}

.shh-post-card .wp-block-post-excerpt__excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.shh-post-card .wp-block-post-excerpt {
	margin: 0;
}

.shh-card__more,
.shh-post-card .wp-block-post-excerpt__more-text {
	margin: 0.5rem 0 0;
}

.shh-more,
.shh-post-card .wp-block-post-excerpt__more-link,
.shh-post-card .wp-block-read-more,
.entry-content .shh-more,
.entry-content .shh-post-card .wp-block-post-excerpt__more-link {
	display: inline-block;
	font-family: var(--shhc-body);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--shh-lavender, #dda5e9);
	text-decoration: none;
	transition: color 0.2s ease, letter-spacing 0.2s ease;
}

.shh-more:hover,
.shh-more:focus,
.shh-post-card .wp-block-post-excerpt__more-link:hover,
.shh-post-card .wp-block-read-more:hover {
	color: var(--shh-violet, #bd4bcb);
	letter-spacing: 0.16em;
}

/* Cards sitting on a plum section go darker so they still read as cards. */
.shh-section--plum .shh-card,
.shh-section--plum .shh-post-card,
.shh-section--plum .shh-feature {
	background: color-mix(in srgb, var(--shh-black, #09070c) 65%, var(--shh-plum, #28132f));
}

/* Video cards: play icon + badges ------------------------------------------- */

.shh-card--video .shh-card__body {
	gap: 0.3rem;
}

.shh-play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 64px;
	height: 64px;
	transform: translate(-50%, -50%);
	color: var(--shh-ivory, #f0e6ef);
	border-radius: 50%;
	filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.6));
	transition: transform 0.25s ease, filter 0.25s ease, color 0.25s ease;
}

.shh-play__icon {
	display: block;
	width: 100%;
	height: 100%;
}

.shh-card:hover .shh-play,
.shh-card:focus-within .shh-play {
	transform: translate(-50%, -50%) scale(1.08);
	filter: drop-shadow(0 0 18px rgba(189, 75, 203, 0.85));
}

.shh-badge {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.32rem 0.7rem;
	font-family: var(--shhc-body);
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	line-height: 1;
	border-radius: 3px;
	color: var(--shh-ivory, #f0e6ef);
	pointer-events: none;
}

.shh-badge--outline {
	background: rgba(9, 7, 12, 0.7);
	border: 1px solid var(--shh-violet, #bd4bcb);
	backdrop-filter: blur(3px);
}

.shh-badge--filled {
	background: var(--shhc-gradient);
	border: 1px solid transparent;
	box-shadow: 0 2px 10px rgba(189, 75, 203, 0.4);
}

.shh-badge .shh-lock__icon {
	width: 12px;
	height: 12px;
}

/* Standalone lock badge (used where no text badge is shown) */
.shh-lock {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: rgba(9, 7, 12, 0.7);
	border: 1px solid var(--shh-violet, #bd4bcb);
	color: var(--shh-ivory, #f0e6ef);
	backdrop-filter: blur(2px);
}

.shh-lock--large {
	top: 50%;
	left: 50%;
	right: auto;
	width: 4.25rem;
	height: 4.25rem;
	transform: translate(-50%, -50%);
	box-shadow: var(--shhc-glow);
}

.shh-lock--large .shh-lock__icon {
	width: 2rem;
	height: 2rem;
}

/* Location feature card ------------------------------------------------------ */

.shh-feature-wrap {
	container-type: inline-size;
	height: 100%;
}

.shh-field-row__aside .shh-feature-wrap {
	margin-top: 0;
}

.shh-feature {
	display: grid;
	grid-template-columns: 1fr;
	height: 100%;
	box-sizing: border-box;
	background: var(--shhc-surface);
	border: 1px solid var(--shhc-border);
	border-radius: var(--shhc-radius);
	overflow: hidden;
	color: var(--shhc-text);
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.shh-feature:hover,
.shh-feature:focus-within {
	border-color: var(--shhc-border-strong);
	box-shadow: var(--shhc-glow);
}

.shh-feature__media {
	display: block;
	position: relative;
	aspect-ratio: 16 / 10;
	background: var(--shhc-surface-2);
}

/* Side-by-side only when the card itself is wide enough (not the viewport). */
@container (min-width: 540px) {
	.shh-feature {
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	}

	.shh-feature__media {
		aspect-ratio: auto;
		min-height: 260px;
		height: 100%;
	}
}

.shh-feature__media img,
.shh-feature__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.shh-feature__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.75rem;
	padding: 1.5rem 1.5rem 1.6rem;
}

.shh-feature__eyebrow {
	margin: 0;
	font-family: var(--shhc-body);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--shh-lavender, #dda5e9);
}

.shh-feature__title {
	margin: 0;
	font-family: var(--shhc-display);
	font-weight: 500;
	font-size: clamp(1.4rem, 2.2vw, 1.9rem);
	line-height: 1.15;
	color: var(--shh-ivory, #f0e6ef);
}

.shh-feature__title a {
	color: inherit;
	text-decoration: none;
}

.shh-feature__title a:hover {
	color: var(--shh-lavender, #dda5e9);
}

.shh-feature__meta {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: var(--shhc-serif);
	font-size: 1.1rem;
	color: var(--shhc-text);
}

.shh-feature__meta li {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0;
}

.shh-icon {
	flex: 0 0 auto;
	color: var(--shh-violet, #bd4bcb);
}

.shh-feature__actions {
	margin: 0.5rem 0 0;
}

/* Hero ------------------------------------------------------------------------ */

.shh-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

/* .shh-hero__inner is a core Columns block (55% / 45%); it stacks below 782px by itself. */
.shh-hero__inner.wp-block-columns {
	gap: 2.5rem;
	margin-bottom: 0;
}

.shh-hero__text {
	position: relative;
	z-index: 2;
}

.shh-hero__visual {
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: center;
	align-items: center;
}

@media (min-width: 782px) {
	.shh-hero__visual {
		justify-content: flex-end;
	}

	.shh-hero__inner.wp-block-columns {
		gap: 3rem;
	}
}

/* House + moon scene faded in behind the portrait (swappable image block). */
.shh-hero__scene,
.shh-hero__scene.wp-block-image {
	position: absolute;
	top: -16%;
	right: -6%;
	bottom: -16%;
	left: 4%;
	z-index: 0;
	margin: 0;
	opacity: 0.42;
	overflow: hidden;
	pointer-events: none;
	-webkit-mask-image: radial-gradient(ellipse 42% 58% at 68% 48%, #000 25%, transparent 100%);
	mask-image: radial-gradient(ellipse 42% 58% at 68% 48%, #000 25%, transparent 100%);
}

.shh-hero__scene.wp-block-image img,
.entry-content .shh-hero__scene img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: 100% 10%;
	border-radius: 0;
	box-shadow: none;
}

.shh-hero__portrait,
.shh-hero__portrait.wp-block-image {
	z-index: 1;
}

.shh-hero__visual::before {
	content: '';
	position: absolute;
	inset: -20%;
	z-index: 0;
	background: radial-gradient(circle at 50% 50%, rgba(189, 75, 203, 0.35), rgba(102, 48, 120, 0.18) 35%, transparent 65%);
	pointer-events: none;
}

.shh-hero__backdrop {
	position: absolute;
	inset: 0;
	z-index: -2;
	margin: 0;
	opacity: 0.32;
	pointer-events: none;
	-webkit-mask-image: radial-gradient(ellipse at 60% 50%, #000 30%, transparent 75%);
	mask-image: radial-gradient(ellipse at 60% 50%, #000 30%, transparent 75%);
}

.shh-hero__backdrop img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.shh-hero__portrait,
.shh-hero__portrait.wp-block-image,
.shh-about__portrait,
.shh-about__portrait.wp-block-image {
	position: relative;
	width: min(100%, 260px);
	margin: 0 auto;
}

@media (min-width: 782px) {
	.shh-hero__portrait,
	.shh-hero__portrait.wp-block-image {
		width: clamp(260px, 34vw, 480px);
		margin: 0;
	}
}

.shh-hero__title mark,
.shh-hero__title .shh-accent {
	background: transparent;
}

.shh-hero__portrait img,
.shh-about__portrait img,
.shh-hero .shh-hero__portrait.wp-block-image img,
.shh-about .shh-about__portrait.wp-block-image img,
.entry-content .shh-hero__portrait img,
.entry-content .shh-about__portrait img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 50%;
	box-shadow: 0 0 0 3px #bd4bcb, 0 0 60px rgba(189, 75, 203, 0.45);
	box-shadow: 0 0 0 3px var(--shh-violet, #bd4bcb), 0 0 60px rgba(189, 75, 203, 0.45);
	transition: box-shadow 0.4s ease;
}

.shh-hero__portrait:hover img {
	box-shadow: 0 0 0 3px var(--shh-violet, #bd4bcb), 0 0 90px rgba(189, 75, 203, 0.6);
}

.shh-hero__eyebrow {
	margin: 0 0 1rem;
	font-family: var(--shhc-body);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--shh-lavender, #dda5e9);
}

.shh-hero__title {
	margin: 0 0 1.25rem;
	font-family: var(--shhc-display);
	font-weight: 500;
	font-size: clamp(2.3rem, 5.2vw, 4.4rem);
	line-height: 1.05;
	letter-spacing: 0.02em;
	color: var(--shh-ivory, #f0e6ef);
}

.shh-accent,
.shh-hero__title .shh-accent {
	color: var(--shh-violet, #bd4bcb);
	text-shadow: 0 0 24px rgba(189, 75, 203, 0.45);
}

.shh-hero__lead {
	max-width: 36rem;
	margin: 0 0 2rem;
	font-family: var(--shhc-serif);
	font-style: italic;
	font-size: clamp(1.2rem, 1.8vw, 1.55rem);
	line-height: 1.45;
	color: var(--shhc-text);
}

.shh-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

/* About page */
.shh-about__portrait,
.shh-about__portrait.wp-block-image {
	width: min(100%, 320px);
	margin-top: 0.5rem;
}

.shh-about__title {
	margin: 0 0 1.25rem;
	font-family: var(--shhc-display);
	font-weight: 500;
	font-size: clamp(1.9rem, 3.6vw, 2.8rem);
	line-height: 1.1;
	color: var(--shh-ivory, #f0e6ef);
}

/* Newsletter strip on the home page */
.shh-newsletter-strip__lead {
	margin-bottom: 1.5rem;
}

/* Membership promo band -------------------------------------------------------- */

.shh-promo__title {
	margin: 0 0 0.75rem;
	font-family: var(--shhc-display);
	font-weight: 500;
	font-size: clamp(1.7rem, 3.4vw, 2.6rem);
	line-height: 1.15;
	color: var(--shh-ivory, #f0e6ef);
}

.shh-promo__lead {
	max-width: 34rem;
	margin: 0 0 1.5rem;
	font-family: var(--shhc-serif);
	font-style: italic;
	font-size: clamp(1.15rem, 1.7vw, 1.45rem);
	line-height: 1.4;
	color: var(--shhc-text);
}

/* Newsletter --------------------------------------------------------------------- */

.shh-newsletter {
	max-width: 36rem;
}

.shh-newsletter--center,
.has-text-align-center .shh-newsletter,
.shh-newsletter-strip .shh-newsletter {
	margin-left: auto;
	margin-right: auto;
}

.shh-newsletter__form {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin: 0;
}

@media (min-width: 540px) {
	.shh-newsletter--compact .shh-newsletter__form {
		flex-direction: row;
		align-items: stretch;
	}
}

.shh-newsletter__input,
.shh-newsletter__input[type="email"] {
	flex: 1 1 auto;
	min-width: 0;
	box-sizing: border-box;
	margin: 0;
	padding: 0.85rem 1.1rem;
	font-family: var(--shhc-body);
	font-size: 1rem;
	color: var(--shh-ivory, #f0e6ef);
	background: rgba(9, 7, 12, 0.7);
	border: 1px solid var(--shhc-border);
	border-radius: 6px;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.shh-newsletter__input::placeholder {
	color: var(--shhc-muted);
	opacity: 1;
}

.shh-newsletter__input:focus,
.shh-newsletter__input[type="email"]:focus {
	border-color: var(--shh-violet, #bd4bcb);
	box-shadow: 0 0 0 3px rgba(189, 75, 203, 0.28);
}

.shh-newsletter__button,
button.shh-newsletter__button {
	flex: 0 0 auto;
	margin: 0;
	padding: 0.85rem 1.6rem;
	font-family: var(--shhc-body);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--shh-ivory, #f0e6ef);
	background: var(--shhc-gradient);
	border: 1px solid transparent;
	border-radius: 6px;
	cursor: pointer;
	transition: box-shadow 0.25s ease, transform 0.25s ease, filter 0.25s ease;
}

.shh-newsletter__button:hover,
.shh-newsletter__button:focus-visible,
button.shh-newsletter__button:hover {
	box-shadow: var(--shhc-glow);
	filter: brightness(1.08);
	transform: translateY(-1px);
}

.shh-newsletter__privacy {
	margin: 0.75rem 0 0;
	font-size: 0.8rem;
	color: var(--shhc-muted);
}

.shh-newsletter .shh-notice {
	margin-bottom: 1rem;
}

/* Video embed --------------------------------------------------------------------- */

.shh-video {
	margin: 0 0 1.5rem;
}

.shh-embed {
	position: relative;
	aspect-ratio: 16 / 9;
	width: 100%;
	background: #000;
	border: 1px solid var(--shhc-border);
	border-radius: var(--shhc-radius);
	overflow: hidden;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.shh-embed iframe,
.shh-embed__frame {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.shh-video--file video,
.shh-video--file .wp-video {
	width: 100% !important;
	max-width: 100%;
	border-radius: var(--shhc-radius);
	overflow: hidden;
}

.shh-video__release {
	margin: 0.5rem 0 1.5rem;
}

.shh-video__release a {
	color: var(--shh-lavender, #dda5e9);
}

/* Locked video card ---------------------------------------------------------------- */

.shh-locked {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	margin: 0 0 1.5rem;
	border: 1px solid var(--shhc-border);
	border-radius: var(--shhc-radius);
	background: var(--shhc-surface);
	color: var(--shhc-text);
	overflow: hidden;
	box-shadow: var(--shhc-glow);
}

@media (min-width: 720px) {
	.shh-locked {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	}
}

.shh-locked__media {
	position: relative;
	aspect-ratio: 16 / 9;
	background: var(--shhc-surface-2);
}

.shh-locked__media img,
.shh-locked__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.shh-locked__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.7rem;
	padding: 1.75rem;
}

.shh-locked__label {
	margin: 0;
	font-family: var(--shhc-body);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--shh-lavender, #dda5e9);
}

.shh-locked__title {
	margin: 0;
	font-family: var(--shhc-display);
	font-weight: 500;
	font-size: 1.6rem;
	line-height: 1.2;
	color: var(--shh-ivory, #f0e6ef);
}

.shh-locked__text {
	margin: 0;
	font-family: var(--shhc-serif);
	font-size: 1.1rem;
}

/* Buttons (plugin-rendered; theme .shh-btn classes take precedence where present) ---- */

.shh-button {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.7rem 1.35rem;
	font-family: var(--shhc-body);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1.2;
	color: var(--shh-ivory, #f0e6ef);
	background: var(--shhc-gradient);
	border: 1px solid transparent;
	border-radius: 6px;
	text-decoration: none;
	cursor: pointer;
	transition: box-shadow 0.25s ease, transform 0.25s ease, filter 0.25s ease, background 0.25s ease;
}

.shh-button:hover,
.shh-button:focus-visible {
	color: var(--shh-ivory, #f0e6ef);
	box-shadow: var(--shhc-glow);
	filter: brightness(1.08);
	transform: translateY(-1px);
	text-decoration: none;
}

.shh-button--ghost {
	background: rgba(9, 7, 12, 0.5);
	border-color: var(--shh-violet, #bd4bcb);
}

.shh-button--ghost:hover,
.shh-button--ghost:focus-visible {
	background: rgba(189, 75, 203, 0.12);
	filter: none;
}

/* Forms --------------------------------------------------------------------------------- */

.shh-form {
	max-width: 36rem;
	margin: 0 0 1.5rem;
}

.shh-field {
	margin: 0 0 1rem;
}

.shh-field label {
	display: block;
	margin-bottom: 0.35rem;
	font-family: var(--shhc-body);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--shh-lavender, #dda5e9);
}

.shh-field input[type="text"],
.shh-field input[type="email"],
.shh-field input[type="password"],
.shh-field textarea,
.shh-form--login input[type="text"],
.shh-form--login input[type="password"] {
	width: 100%;
	box-sizing: border-box;
	padding: 0.75rem 0.95rem;
	font-family: var(--shhc-body);
	font-size: 1rem;
	color: var(--shh-ivory, #f0e6ef);
	background: rgba(9, 7, 12, 0.7);
	border: 1px solid var(--shhc-border);
	border-radius: 6px;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.shh-field input:focus,
.shh-field textarea:focus,
.shh-form--login input:focus {
	border-color: var(--shh-violet, #bd4bcb);
	box-shadow: 0 0 0 3px rgba(189, 75, 203, 0.28);
}

.shh-field textarea {
	min-height: 8rem;
	resize: vertical;
}

.shh-req {
	color: var(--shh-violet, #bd4bcb);
}

.shh-hint {
	display: block;
	margin-top: 0.3rem;
}

.shh-actions {
	margin: 1.25rem 0 0.75rem;
}

.shh-form__links {
	margin: 0.5rem 0 0;
	font-size: 0.9rem;
}

.shh-form__links a {
	color: var(--shh-lavender, #dda5e9);
}

.shh-form--login .login-remember {
	margin: 0.5rem 0 1rem;
}

.shh-form--login .login-submit input[type="submit"] {
	padding: 0.7rem 1.35rem;
	font-family: var(--shhc-body);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--shh-ivory, #f0e6ef);
	background: var(--shhc-gradient);
	border: 1px solid transparent;
	border-radius: 6px;
	cursor: pointer;
}

.shh-form--login .login-submit input[type="submit"]:hover {
	box-shadow: var(--shhc-glow);
}

/* Honeypot: hidden from humans, present for bots. */
.shh-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
}

/* Notices -------------------------------------------------------------------------------- */

.shh-notice {
	margin: 0 0 1.25rem;
	padding: 0.9rem 1.1rem;
	font-family: var(--shhc-body);
	font-size: 0.95rem;
	color: var(--shhc-text);
	background: var(--shhc-surface);
	border: 1px solid var(--shhc-border);
	border-left: 3px solid var(--shhc-info);
	border-radius: 6px;
}

.shh-notice ul {
	margin: 0;
	padding-left: 1.2rem;
}

.shh-notice--success {
	border-left-color: var(--shhc-success);
}

.shh-notice--error {
	border-left-color: var(--shhc-error);
}

.shh-empty {
	padding: 1.5rem;
	font-family: var(--shhc-serif);
	font-style: italic;
	font-size: 1.1rem;
	color: var(--shhc-muted);
	text-align: center;
	border: 1px dashed var(--shhc-border);
	border-radius: var(--shhc-radius);
}

/* Lists (recommendations, account, trip details) ------------------------------------------ */

.shh-list {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
}

.shh-list__item {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.75rem;
	align-items: baseline;
	padding: 0.85rem 0;
	border-bottom: 1px solid var(--shhc-border);
}

.shh-list__by {
	margin-left: auto;
	font-style: italic;
}

.shh-trip-details {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 1rem 1.25rem;
	background: var(--shhc-surface);
	border: 1px solid var(--shhc-border);
	border-radius: var(--shhc-radius);
}

.shh-trip-details li {
	margin: 0.3rem 0;
}

.shh-trip-details a {
	color: var(--shh-lavender, #dda5e9);
}

.shh-account__details {
	display: grid;
	grid-template-columns: max-content 1fr;
	gap: 0.5rem 1.25rem;
	margin: 0 0 1.5rem;
}

.shh-account__details dt {
	font-weight: 600;
	color: var(--shh-lavender, #dda5e9);
}

.shh-account__details dd {
	margin: 0;
}

.shh-account__heading {
	margin: 1.5rem 0 0.75rem;
	font-family: var(--shhc-display);
	font-weight: 500;
	font-size: 1.2rem;
}

/* Small helpers used by page content ---------------------------------------------------------- */

.shh-link-muted,
.shh-link-muted a {
	font-family: var(--shhc-body);
	font-size: 0.85rem;
	letter-spacing: 0.06em;
	color: var(--shhc-muted);
}

.shh-link-muted a:hover {
	color: var(--shh-lavender, #dda5e9);
}

.shh-pullquote,
.wp-block-pullquote.shh-pullquote {
	margin: 2rem 0;
	padding: 1.5rem 2rem;
	border-top: 1px solid var(--shhc-border);
	border-bottom: 1px solid var(--shhc-border);
	text-align: left;
}

.shh-pullquote blockquote p,
.wp-block-pullquote.shh-pullquote p {
	font-family: var(--shhc-serif);
	font-style: italic;
	font-size: clamp(1.3rem, 2vw, 1.7rem);
	line-height: 1.4;
	color: var(--shh-ivory, #f0e6ef);
}

.shh-pullquote cite,
.wp-block-pullquote.shh-pullquote cite {
	font-family: var(--shhc-body);
	font-style: normal;
	font-size: 0.75rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--shh-lavender, #dda5e9);
}
