/* ==========================================================================
   Northfield Theatre — Moorside Town Hall microsite
   Distinct palette + typography to demonstrate the domain-mapped
   microsite concept. Shares layout plumbing with the parent theme.
   ========================================================================== */

.moorside-site {
	--tod-ink: #1B1B2E;
	--tod-bg: #FAF4E8;
	--tod-bg-dark: #1B1B2E;
	--tod-accent: #C23B22;
	--tod-accent-dark: #9C2F1B;
	--tod-muted: #6B6B7C;
	--tod-border: #DFD6C2;

	background: var(--tod-bg);
	color: var(--tod-ink);
}

.moorside-site a {
	color: var(--tod-accent);
}

.moorside-site a:hover {
	color: var(--tod-accent-dark);
}

/* --- Parent bar ----------------------------------------------------- */
.moorside-bar {
	background: var(--tod-ink);
	color: #FFFFFF;
	padding: var(--space-sm) 0;
	font-size: var(--text-sm);
	letter-spacing: 0.02em;
}

.moorside-bar__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--space-md);
	flex-wrap: wrap;
}

.moorside-bar__parent {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	font-weight: var(--weight-semibold);
	transition: color var(--transition-base);
}

.moorside-bar__parent:hover {
	color: var(--tod-accent);
}

.moorside-bar__badge {
	text-transform: uppercase;
	letter-spacing: 0.2em;
	font-size: var(--text-xs);
	font-weight: var(--weight-bold);
	color: rgba(255, 255, 255, 0.6);
}

/* --- Hero ----------------------------------------------------------- */
.moorside-hero {
	background: var(--tod-bg);
	padding: var(--space-3xl) 0 var(--space-2xl);
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid var(--tod-border);
}

.moorside-hero::before {
	content: '';
	position: absolute;
	top: -40%;
	right: -15%;
	width: 60%;
	aspect-ratio: 1;
	background: radial-gradient(circle, rgba(194, 59, 34, 0.12) 0%, transparent 70%);
	pointer-events: none;
}

.moorside-hero__inner {
	position: relative;
	max-width: 960px;
}

.moorside-hero__eyebrow {
	font-family: var(--font-heading);
	font-size: var(--text-sm);
	font-weight: var(--weight-bold);
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--tod-accent);
	margin-bottom: var(--space-lg);
}

.moorside-hero__title {
	font-family: var(--font-heading);
	font-size: clamp(2rem, 5.5vw, 4.25rem);
	font-weight: var(--weight-black);
	line-height: 1.02;
	letter-spacing: -0.025em;
	color: var(--tod-ink);
	margin-bottom: var(--space-lg);
	max-width: 22ch;
}

.moorside-hero__lead {
	font-size: var(--text-xl);
	line-height: 1.45;
	color: var(--tod-ink);
	max-width: 56ch;
	margin-bottom: var(--space-2xl);
	font-family: var(--font-heading);
	font-style: italic;
	font-weight: var(--weight-medium);
}

.moorside-hero__facts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-lg);
	max-width: 600px;
	padding-top: var(--space-md);
	border-top: 1px solid var(--tod-border);
}

.moorside-hero__num {
	display: block;
	font-family: var(--font-heading);
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: var(--weight-black);
	color: var(--tod-accent);
	line-height: 1;
	letter-spacing: -0.02em;
	margin-bottom: var(--space-xs);
}

.moorside-hero__label {
	font-size: var(--text-sm);
	color: var(--tod-muted);
	font-weight: var(--weight-semibold);
}

/* --- Intro ---------------------------------------------------------- */
.moorside-intro {
	padding: var(--space-3xl) 0;
}

.moorside-intro__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-xl);
}

@media (min-width: 900px) {
	.moorside-intro__grid {
		grid-template-columns: 1fr 1.3fr;
		gap: var(--space-3xl);
	}
}

.moorside-intro__eyebrow {
	font-size: var(--text-sm);
	font-weight: var(--weight-semibold);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--tod-muted);
	margin-bottom: var(--space-md);
}

.moorside-intro__heading {
	font-family: var(--font-heading);
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: var(--weight-extrabold);
	letter-spacing: -0.02em;
	color: var(--tod-ink);
	line-height: 1.1;
}

.moorside-intro__body {
	font-size: var(--text-lg);
	line-height: var(--leading-normal);
	color: var(--tod-ink);
}

.moorside-intro__body p {
	margin-bottom: var(--space-md);
}

/* --- What's On ------------------------------------------------------ */
.moorside-whats-on {
	background: #FFFFFF;
	padding: var(--space-3xl) 0;
	border-top: 1px solid var(--tod-border);
	border-bottom: 1px solid var(--tod-border);
}

.moorside-whats-on__header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: var(--space-md);
	margin-bottom: var(--space-2xl);
}

.moorside-whats-on__heading {
	font-family: var(--font-heading);
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: var(--weight-extrabold);
	letter-spacing: -0.02em;
	color: var(--tod-ink);
}

.moorside-events {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-xl);
}

@media (min-width: 720px) {
	.moorside-events {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 1100px) {
	.moorside-events {
		grid-template-columns: repeat(3, 1fr);
	}
}

.moorside-event {
	background: var(--tod-bg);
	border: 1px solid var(--tod-border);
	transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}

.moorside-event:hover {
	border-color: var(--tod-accent);
	box-shadow: 0 12px 28px rgba(27, 27, 46, 0.08);
	transform: translateY(-2px);
}

.moorside-event__link {
	display: flex;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
	height: 100%;
}

.moorside-event__image {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--tod-ink);
}

.moorside-event__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--transition-slow);
}

.moorside-event:hover .moorside-event__image img {
	transform: scale(1.04);
}

.moorside-event__category {
	position: absolute;
	top: var(--space-md);
	left: var(--space-md);
	padding: 4px 10px;
	background: var(--tod-accent);
	color: #FFFFFF;
	font-size: var(--text-xs);
	font-weight: var(--weight-bold);
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

.moorside-event__body {
	padding: var(--space-xl);
	display: flex;
	flex-direction: column;
	flex: 1;
}

.moorside-event__title {
	font-family: var(--font-heading);
	font-size: var(--text-xl);
	font-weight: var(--weight-bold);
	color: var(--tod-ink);
	margin-bottom: var(--space-xs);
	line-height: 1.2;
}

.moorside-event__date {
	font-size: var(--text-sm);
	color: var(--tod-accent);
	font-weight: var(--weight-semibold);
	margin-bottom: var(--space-md);
	letter-spacing: 0.02em;
}

.moorside-event__summary {
	font-size: var(--text-sm);
	line-height: var(--leading-snug);
	color: var(--tod-ink);
	margin-bottom: var(--space-md);
	flex: 1;
}

.moorside-event__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: var(--space-md);
	border-top: 1px solid var(--tod-border);
	font-size: var(--text-sm);
}

.moorside-event__price {
	color: var(--tod-ink);
	font-weight: var(--weight-bold);
}

.moorside-event__more {
	color: var(--tod-accent);
	font-weight: var(--weight-semibold);
	transition: transform var(--transition-base);
}

.moorside-event:hover .moorside-event__more {
	transform: translateX(3px);
}

/* --- Visit ---------------------------------------------------------- */
.moorside-visit {
	padding: var(--space-3xl) 0;
}

.moorside-visit__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-2xl);
}

@media (min-width: 900px) {
	.moorside-visit__grid {
		grid-template-columns: 1.4fr 1fr;
		gap: var(--space-3xl);
	}
}

.moorside-visit__heading {
	font-family: var(--font-heading);
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: var(--weight-extrabold);
	letter-spacing: -0.02em;
	margin-bottom: var(--space-lg);
}

.moorside-visit__list {
	list-style: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--space-md);
	font-size: var(--text-base);
}

.moorside-visit__list li {
	padding-left: var(--space-lg);
	border-left: 3px solid var(--tod-accent);
	line-height: var(--leading-normal);
}

.moorside-visit__list strong {
	display: block;
	color: var(--tod-ink);
	font-weight: var(--weight-bold);
	margin-bottom: var(--space-xs);
	font-family: var(--font-heading);
}

.moorside-visit__access {
	background: var(--tod-ink);
	color: #FFFFFF;
	padding: var(--space-xl);
}

.moorside-visit__access h3 {
	color: #FFFFFF;
	margin-bottom: var(--space-md);
}

.moorside-visit__access p {
	color: rgba(255, 255, 255, 0.85);
	line-height: var(--leading-normal);
	margin-bottom: var(--space-md);
}

/* --- CTA ------------------------------------------------------------ */
.moorside-cta {
	background: var(--tod-ink);
	color: #FFFFFF;
	padding: var(--space-3xl) 0;
	position: relative;
	overflow: hidden;
}

.moorside-cta::before {
	content: '';
	position: absolute;
	bottom: -50%;
	left: -10%;
	width: 60%;
	aspect-ratio: 1;
	background: radial-gradient(circle, rgba(194, 59, 34, 0.3) 0%, transparent 70%);
	pointer-events: none;
}

.moorside-cta__inner {
	max-width: 640px;
	position: relative;
	text-align: center;
}

.moorside-cta__heading {
	font-family: var(--font-heading);
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: var(--weight-black);
	letter-spacing: -0.02em;
	color: #FFFFFF;
	line-height: 1.1;
	margin-bottom: var(--space-md);
}

.moorside-cta__body {
	color: rgba(255, 255, 255, 0.85);
	font-size: var(--text-lg);
	line-height: var(--leading-normal);
	margin-bottom: var(--space-xl);
}

.moorside-cta__form {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-sm);
	justify-content: center;
}

.moorside-cta__input {
	flex: 1 1 260px;
	padding: 0.85em 1em;
	border: 2px solid rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.08);
	color: #FFFFFF;
	font-size: var(--text-base);
	font-family: var(--font-body);
	transition: border-color var(--transition-base), background-color var(--transition-base);
}

.moorside-cta__input::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

.moorside-cta__input:focus {
	outline: none;
	border-color: var(--tod-accent);
	background: rgba(255, 255, 255, 0.12);
}

.moorside-cta__submit {
	padding: 0.85em 1.75em;
	background: var(--tod-accent);
	color: #FFFFFF;
	border: 2px solid var(--tod-accent);
	font-family: var(--font-body);
	font-size: var(--text-base);
	font-weight: var(--weight-semibold);
	cursor: pointer;
	transition: background-color var(--transition-base), border-color var(--transition-base);
}

.moorside-cta__submit:hover {
	background: var(--tod-accent-dark);
	border-color: var(--tod-accent-dark);
}

/* --- Shared button variant ------------------------------------------ */
.btn--outline-moorside {
	background-color: transparent;
	color: var(--tod-accent);
	border: 2px solid var(--tod-accent);
	display: inline-flex;
	align-items: center;
	gap: var(--space-sm);
	padding: 0.5em 1em;
	font-weight: var(--weight-semibold);
	font-size: var(--text-sm);
	text-decoration: none;
	transition: background-color var(--transition-base), color var(--transition-base);
	border-radius: var(--radius-sm);
}

.btn--outline-moorside:hover {
	background: var(--tod-accent);
	color: #FFFFFF;
}
