/**
 * Theme Name:   Blocksy Child – Aso British School
 * Description:  Custom child theme for Aso British School, Abuja
 * Author:       Zebitech
 * Template:     blocksy
 * Text Domain:  blocksy-child
 * Version:      1.0.0
 */

/* =====================================================
   DESIGN TOKENS
   ===================================================== */
:root {
	--radius: 0.5rem;
	--background: #faf8f3;
	--foreground: #3a2226;
	--card: #ffffff;
	--card-foreground: #3a2226;
	--primary: #6b2635;
	--primary-foreground: #f9f5ed;
	--muted: #f0ebe3;
	--muted-foreground: #6b5a55;
	--border: #ddd5cc;
	--input: #ddd5cc;
	--wine: #6b2635;
	--wine-deep: #4a1520;
	--gold: #c9a84c;
	--gold-soft: #dcc97e;
	--cream: #f7f2e8;
	--gradient-hero: linear-gradient(135deg, rgba(74, 21, 32, 0.92), rgba(107, 38, 53, 0.75));
	--gradient-gold: linear-gradient(135deg, #d4b85c, #b8943c);
	--shadow-elegant: 0 20px 50px -20px rgba(74, 21, 32, 0.35);
	--shadow-gold: 0 10px 30px -10px rgba(201, 168, 76, 0.5);
	--font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
	--font-sans: "Inter", system-ui, sans-serif;
}

/* =====================================================
   BASE
   ===================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	background-color: var(--background);
	color: var(--foreground);
	font-family: var(--font-sans);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-display {
	font-family: var(--font-display);
	letter-spacing: -0.01em;
	line-height: 1.15;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	text-decoration: none;
	color: inherit;
	transition: color 0.2s ease;
}

/* =====================================================
   LAYOUT UTILITIES
   ===================================================== */
.container-page {
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: 1.25rem;
}

.section-pad {
	padding-block: 5rem;
}

@media (min-width: 768px) {
	.section-pad {
		padding-block: 7rem;
	}
}

/* =====================================================
   TYPOGRAPHY UTILITIES
   ===================================================== */
.eyebrow {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--gold);
}

.text-wine          { color: var(--wine); }
.text-wine-deep     { color: var(--wine-deep); }
.text-gold          { color: var(--gold); }
.text-muted-fg      { color: var(--muted-foreground); }
.text-primary-fg    { color: var(--primary-foreground); }
.text-foreground    { color: var(--foreground); }

.text-xs  { font-size: 0.75rem; }
.text-sm  { font-size: 0.875rem; }
.text-lg  { font-size: 1.125rem; }
.text-xl  { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-7xl { font-size: 4.5rem; }

@media (min-width: 768px) {
	.md\:text-4xl { font-size: 2.25rem; }
	.md\:text-5xl { font-size: 3rem; }
	.md\:text-6xl { font-size: 3.75rem; }
	.md\:text-7xl { font-size: 4.5rem; }
	.md\:text-xl  { font-size: 1.25rem; }
}

.leading-relaxed  { line-height: 1.65; }
.leading-snug     { line-height: 1.35; }
.leading-tight    { line-height: 1.2; }
.tracking-wide    { letter-spacing: 0.18em; }
.uppercase        { text-transform: uppercase; }
.font-semibold    { font-weight: 600; }
.font-medium      { font-weight: 500; }
.italic           { font-style: italic; }

/* =====================================================
   BACKGROUNDS
   ===================================================== */
.bg-background     { background-color: var(--background); }
.bg-card           { background-color: var(--card); }
.bg-cream          { background-color: var(--cream); }
.bg-wine           { background-color: var(--wine); }
.bg-wine-deep      { background-color: var(--wine-deep); }
.bg-muted          { background-color: var(--muted); }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	border-radius: var(--radius);
	border: none;
	background: var(--gradient-gold);
	color: var(--foreground);
	font-weight: 600;
	font-size: 0.9375rem;
	letter-spacing: 0.02em;
	box-shadow: var(--shadow-gold);
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	font-family: var(--font-sans);
}
.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 36px -10px rgba(201, 168, 76, 0.65);
	color: var(--foreground);
}

.btn-outline-light {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	border-radius: var(--radius);
	border: 1.5px solid rgba(255, 255, 255, 0.7);
	background: transparent;
	color: var(--primary-foreground);
	font-weight: 500;
	font-size: 0.9375rem;
	cursor: pointer;
	transition: background 0.2s ease;
	font-family: var(--font-sans);
}
.btn-outline-light:hover {
	background: rgba(255, 255, 255, 0.1);
	color: var(--primary-foreground);
}

.btn-primary.btn-sm {
	padding: 0.625rem 1.25rem;
	font-size: 0.875rem;
}

.btn-primary.btn-full { width: 100%; }

/* =====================================================
   CARDS & BORDERS
   ===================================================== */
.card {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 0.5rem;
	padding: 1.75rem;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
	border-color: var(--gold);
}

.card-bordered-gold {
	background: var(--card);
	border-radius: 0.5rem;
	border-left: 4px solid var(--gold);
	padding: 1.75rem;
}

.rounded-lg  { border-radius: 0.5rem; }
.rounded-md  { border-radius: 0.375rem; }
.rounded-full { border-radius: 9999px; }

.border-gold { border-color: var(--gold); }
.border-border { border-color: var(--border); }

.shadow-elegant { box-shadow: var(--shadow-elegant); }
.shadow-gold    { box-shadow: var(--shadow-gold); }
.shadow-sm      { box-shadow: 0 1px 2px rgba(0,0,0,0.05); }

/* =====================================================
   PAGE HERO — Inner pages
   ===================================================== */
.page-hero {
	position: relative;
	background-color: var(--wine);
	color: var(--primary-foreground);
	overflow: hidden;
}
.page-hero__overlay {
	position: absolute;
	inset: 0;
	opacity: 0.07;
	background:
		radial-gradient(circle at 20% 20%, white, transparent 40%),
		radial-gradient(circle at 80% 60%, white, transparent 40%);
	pointer-events: none;
}
.page-hero--with-image {
	background-size: cover;
	background-position: center;
}
.page-hero--with-image .page-hero__overlay {
	opacity: 1;
	background: var(--gradient-hero);
}
.page-hero__inner {
	position: relative;
	padding-block: 5rem 5rem;
}
@media (min-width: 768px) {
	.page-hero__inner {
		padding-block: 7rem;
	}
}
.page-hero__title {
	font-size: 2.25rem;
	margin-top: 0.75rem;
	max-width: 48rem;
}
@media (min-width: 768px) {
	.page-hero__title {
		font-size: 3.75rem;
	}
}
.page-hero__subtitle {
	margin-top: 1.25rem;
	max-width: 42rem;
	font-size: 1.125rem;
	color: rgba(249, 245, 237, 0.8);
	line-height: 1.65;
}
.page-hero__bar {
	height: 4px;
	background: linear-gradient(to right, var(--gold), var(--gold-soft), var(--gold));
}

/* =====================================================
   HOMEPAGE HERO
   ===================================================== */
.home-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}
.home-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -2;
}
.home-hero__overlay {
	position: absolute;
	inset: 0;
	background: var(--gradient-hero);
	z-index: -1;
}
.home-hero__gold-bar {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 4px;
	background: linear-gradient(to right, var(--gold), var(--gold-soft), var(--gold));
	z-index: 1;
}
.home-hero__inner {
	position: relative;
	padding-block: 7rem 7rem;
	color: var(--primary-foreground);
}
@media (min-width: 768px) {
	.home-hero__inner {
		padding-block: 10rem;
	}
}
.home-hero__heading {
	font-size: 3rem;
	line-height: 1.05;
	margin-top: 1rem;
	max-width: 56rem;
}
@media (min-width: 768px) {
	.home-hero__heading {
		font-size: 4.5rem;
	}
}
.home-hero__highlight {
	color: var(--gold);
}
.home-hero__text {
	margin-top: 1.5rem;
	max-width: 42rem;
	font-size: 1.125rem;
	color: rgba(249, 245, 237, 0.85);
	line-height: 1.65;
}
@media (min-width: 768px) {
	.home-hero__text {
		font-size: 1.25rem;
	}
}
.home-hero__buttons {
	margin-top: 2.25rem;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}
.home-hero__stats {
	margin-top: 4rem;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
	max-width: 48rem;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	padding-top: 2rem;
}
@media (min-width: 768px) {
	.home-hero__stats {
		grid-template-columns: repeat(4, 1fr);
	}
}
.home-hero__stat-value {
	font-family: var(--font-display);
	font-size: 1.875rem;
	color: var(--gold);
}
@media (min-width: 768px) {
	.home-hero__stat-value {
		font-size: 2.25rem;
	}
}
.home-hero__stat-label {
	font-size: 0.875rem;
	color: rgba(249, 245, 237, 0.75);
	margin-top: 0.25rem;
}

/* =====================================================
   HOMEPAGE SECTIONS
   ===================================================== */

/* Welcome */
.welcome-grid {
	display: grid;
	gap: 3.5rem;
	align-items: center;
}
@media (min-width: 1024px) {
	.welcome-grid {
		grid-template-columns: 1fr 1fr;
	}
}
.welcome__heading {
	color: var(--wine);
	font-size: 2.25rem;
	margin-top: 0.75rem;
}
@media (min-width: 768px) {
	.welcome__heading {
		font-size: 3rem;
	}
}
.welcome__divider {
	margin-top: 1.75rem;
	display: flex;
	align-items: center;
	gap: 1rem;
}
.welcome__divider-line {
	height: 1px;
	flex: 1;
	background: rgba(201, 168, 76, 0.5);
}
.welcome__signature {
	font-family: var(--font-display);
	font-style: italic;
	color: var(--wine);
}
.welcome__image-wrap {
	position: relative;
}
.welcome__image {
	border-radius: 0.5rem;
	box-shadow: var(--shadow-elegant);
	object-fit: cover;
	aspect-ratio: 4 / 3;
	width: 100%;
}
.welcome__quote-card {
	display: none;
}
@media (min-width: 768px) {
	.welcome__quote-card {
		display: block;
		position: absolute;
		bottom: -2rem;
		left: -2rem;
		background: var(--card);
		padding: 1.5rem;
		border-radius: 0.5rem;
		box-shadow: var(--shadow-elegant);
		max-width: 18rem;
		border-left: 4px solid var(--gold);
	}
}
.welcome__quote-text {
	font-family: var(--font-display);
	font-size: 1.25rem;
	color: var(--wine);
	line-height: 1.35;
}
.welcome__quote-label {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--muted-foreground);
	margin-top: 0.75rem;
}

/* Pillars */
.pillars-grid {
	margin-top: 3.5rem;
	display: grid;
	gap: 1.5rem;
}
@media (min-width: 640px) {
	.pillars-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (min-width: 1024px) {
	.pillars-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}
.pillar-card {
	background: var(--card);
	padding: 1.75rem;
	border-radius: 0.5rem;
	border: 1px solid var(--border);
	box-shadow: 0 1px 2px rgba(0,0,0,0.05);
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.pillar-card:hover {
	border-color: var(--gold);
	box-shadow: var(--shadow-elegant);
}
.pillar-card__icon {
	width: 3rem;
	height: 3rem;
	display: grid;
	place-items: center;
	border-radius: 0.375rem;
	background: var(--wine);
	color: var(--gold);
	transition: background 0.25s ease, color 0.25s ease;
}
.pillar-card:hover .pillar-card__icon {
	background: var(--gold);
	color: var(--wine);
}
.pillar-card__icon svg {
	width: 1.5rem;
	height: 1.5rem;
}
.pillar-card__title {
	font-family: var(--font-display);
	font-size: 1.25rem;
	color: var(--wine);
	margin-top: 1.25rem;
}
.pillar-card__text {
	font-size: 0.875rem;
	color: var(--muted-foreground);
	margin-top: 0.5rem;
	line-height: 1.65;
}

/* Academic Phases (Homepage) */
.phases-header {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-bottom: 3rem;
}
@media (min-width: 768px) {
	.phases-header {
		flex-direction: row;
		align-items: flex-end;
		justify-content: space-between;
	}
}
.phases-grid {
	display: grid;
	gap: 1.5rem;
}
@media (min-width: 768px) {
	.phases-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}
.phase-card {
	border-radius: 0.5rem;
	overflow: hidden;
	background: var(--card);
	border: 1px solid var(--border);
	box-shadow: 0 1px 2px rgba(0,0,0,0.05);
	transition: box-shadow 0.3s ease;
}
.phase-card:hover {
	box-shadow: var(--shadow-elegant);
}
.phase-card__image-wrap {
	aspect-ratio: 4 / 3;
	overflow: hidden;
}
.phase-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}
.phase-card:hover .phase-card__image {
	transform: scale(1.05);
}
.phase-card__body {
	padding: 1.5rem;
}
.phase-card__tag {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--gold);
	font-weight: 600;
}
.phase-card__title {
	font-family: var(--font-display);
	font-size: 1.5rem;
	color: var(--wine);
	margin-top: 0.5rem;
}
.phase-card__text {
	font-size: 0.875rem;
	color: var(--muted-foreground);
	margin-top: 0.5rem;
	line-height: 1.65;
}

/* News & Events (Homepage) */
.news-events-grid {
	display: grid;
	gap: 2.5rem;
}
@media (min-width: 1024px) {
	.news-events-grid {
		grid-template-columns: 2fr 1fr;
	}
}
.news-card {
	display: flex;
	gap: 1.25rem;
	padding: 1.25rem;
	border-radius: 0.5rem;
	background: var(--card);
	border: 1px solid var(--border);
	transition: border-color 0.25s ease;
}
.news-card:hover {
	border-color: var(--gold);
}
.news-card__date {
	display: none;
}
@media (min-width: 640px) {
	.news-card__date {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		min-width: 88px;
		background: var(--wine);
		color: var(--primary-foreground);
		border-radius: 0.375rem;
		padding: 0.75rem 1rem;
	}
}
.news-card__day {
	font-family: var(--font-display);
	font-size: 1.5rem;
	color: var(--gold);
}
.news-card__month {
	font-size: 0.625rem;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	margin-top: 0.25rem;
}
.news-card__title {
	font-family: var(--font-display);
	font-size: 1.25rem;
	color: var(--wine);
	transition: color 0.2s ease;
}
.news-card:hover .news-card__title {
	color: var(--gold);
}
.news-card__excerpt {
	font-size: 0.875rem;
	color: var(--muted-foreground);
	margin-top: 0.5rem;
	line-height: 1.65;
}
.event-item {
	display: flex;
	gap: 1rem;
	padding: 1rem;
	border-radius: 0.375rem;
	background: var(--card);
	border-left: 4px solid var(--gold);
}
.event-item__icon {
	color: var(--wine);
	flex-shrink: 0;
	margin-top: 0.125rem;
}
.event-item__icon svg {
	width: 1.25rem;
	height: 1.25rem;
}
.event-item__date {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--gold);
	font-weight: 600;
}
.event-item__title {
	font-family: var(--font-display);
	font-size: 1.125rem;
	color: var(--wine);
	margin-top: 0.125rem;
}
.event-item__time {
	font-size: 0.75rem;
	color: var(--muted-foreground);
	margin-top: 0.125rem;
}

/* CTA Section */
.cta-section {
	position: relative;
	background: var(--wine);
	color: var(--primary-foreground);
	overflow: hidden;
}
.cta-section__glow {
	position: absolute;
	inset: 0;
	opacity: 0.1;
	background: radial-gradient(circle at 30% 30%, var(--gold), transparent 60%);
	pointer-events: none;
}
.cta-section__inner {
	position: relative;
	padding-block: 5rem;
	display: grid;
	gap: 2.5rem;
	align-items: center;
}
@media (min-width: 768px) {
	.cta-section__inner {
		padding-block: 7rem;
		grid-template-columns: 1.4fr 1fr;
	}
}
.cta-section__heading {
	font-size: 2.25rem;
	margin-top: 0.75rem;
}
@media (min-width: 768px) {
	.cta-section__heading {
		font-size: 3rem;
	}
}
.cta-section__text {
	margin-top: 1.25rem;
	color: rgba(249, 245, 237, 0.8);
	max-width: 36rem;
	line-height: 1.65;
}
.cta-section__buttons {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
@media (min-width: 768px) {
	.cta-section__buttons {
		align-items: flex-end;
	}
}

/* =====================================================
   ABOUT PAGE
   ===================================================== */
.about-grid {
	display: grid;
	gap: 3.5rem;
	align-items: start;
}
@media (min-width: 1024px) {
	.about-grid {
		grid-template-columns: 1fr 1fr;
	}
}
.about-image {
	border-radius: 0.5rem;
	box-shadow: var(--shadow-elegant);
	object-fit: cover;
	aspect-ratio: 4 / 3;
	width: 100%;
}
.values-grid {
	display: grid;
	gap: 1.5rem;
}
@media (min-width: 640px) {
	.values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
	.values-grid { grid-template-columns: repeat(3, 1fr); }
}

/* =====================================================
   ACADEMICS PAGE
   ===================================================== */
.academics-list {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}
.academic-card {
	display: grid;
	gap: 1.5rem;
	padding: 1.75rem;
	background: var(--card);
	border-radius: 0.5rem;
	border: 1px solid var(--border);
	transition: border-color 0.25s ease;
}
.academic-card:hover {
	border-color: var(--gold);
}
@media (min-width: 768px) {
	.academic-card {
		grid-template-columns: 200px 1fr;
	}
}
.academic-card__number {
	font-family: var(--font-display);
	font-size: 3rem;
	color: var(--gold);
}
.academic-card__age {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--muted-foreground);
	margin-top: 0.5rem;
}
.academic-card__title {
	font-family: var(--font-display);
	font-size: 1.5rem;
	color: var(--wine);
}
.academic-card__body {
	color: var(--muted-foreground);
	margin-top: 0.5rem;
	line-height: 1.65;
}

/* =====================================================
   CURRICULUM PAGE
   ===================================================== */
.curriculum-grid {
	display: grid;
	gap: 1.5rem;
}
@media (min-width: 768px) {
	.curriculum-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
	.curriculum-grid { grid-template-columns: repeat(3, 1fr); }
}
.curriculum-card {
	padding: 1.75rem;
	background: var(--card);
	border-radius: 0.5rem;
	border: 1px solid var(--border);
}
.curriculum-card__title {
	font-family: var(--font-display);
	font-size: 1.5rem;
	color: var(--wine);
}
.curriculum-card__list {
	list-style: none;
	margin: 1rem 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.curriculum-card__list li {
	font-size: 0.875rem;
	color: var(--muted-foreground);
	display: flex;
	align-items: center;
	gap: 0.5rem;
}
.curriculum-card__list li::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--gold);
	flex-shrink: 0;
}

/* =====================================================
   ADMISSIONS PAGE
   ===================================================== */
.admissions-grid {
	display: grid;
	gap: 3rem;
}
@media (min-width: 1024px) {
	.admissions-grid {
		grid-template-columns: 1fr 1.2fr;
	}
}
.steps-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}
.step-item {
	display: flex;
	gap: 1.25rem;
}
.step-item__number {
	font-family: var(--font-display);
	font-size: 1.875rem;
	color: var(--gold);
	width: 3rem;
	flex-shrink: 0;
}
.step-item__title {
	font-family: var(--font-display);
	font-size: 1.25rem;
	color: var(--wine);
	margin: 0px;
}
.step-item__text {
	font-size: 0.875rem;
	color: var(--muted-foreground);
	margin-top: 0.25rem;
	line-height: 1.65;
	margin: 0px;
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-grid {
	display: grid;
	gap: 3rem;
}
@media (min-width: 1024px) {
	.contact-grid {
		grid-template-columns: 1fr 1fr;
	}
}
.contact-items {
	list-style: none;
	margin: 2rem 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}
.contact-item {
	display: flex;
	gap: 1rem;
}
.contact-item__icon {
	width: 2.75rem;
	height: 2.75rem;
	display: grid;
	place-items: center;
	border-radius: 0.375rem;
	background: var(--wine);
	color: var(--gold);
	flex-shrink: 0;
}
.contact-item__icon svg {
	width: 1.25rem;
	height: 1.25rem;
}
.contact-item__label {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--muted-foreground);
}
.contact-item__value {
	font-family: var(--font-display);
	font-size: 1.125rem;
	color: var(--wine);
	margin-top: 0.125rem;
}

/* =====================================================
   EVENTS PAGE
   ===================================================== */
.events-list {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	max-width: 56rem;
}
.event-card {
	display: grid;
	gap: 1.5rem;
	padding: 1.5rem;
	background: var(--card);
	border-radius: 0.5rem;
	border-left: 4px solid var(--gold);
	box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
@media (min-width: 640px) {
	.event-card {
		grid-template-columns: 140px 1fr;
	}
}
.event-card__date-badge {
	background: var(--wine);
	color: var(--primary-foreground);
	border-radius: 0.375rem;
	padding: 1rem;
	text-align: center;
}
.event-card__date-day {
	font-family: var(--font-display);
	font-size: 1.875rem;
	color: var(--gold);
}
.event-card__date-month {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	margin-top: 0.25rem;
}
.event-card__title {
	font-family: var(--font-display);
	font-size: 1.5rem;
	color: var(--wine);
}
.event-card__body {
	font-size: 0.875rem;
	color: var(--muted-foreground);
	margin-top: 0.5rem;
	line-height: 1.65;
}
.event-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 0.75rem;
	font-size: 0.75rem;
	color: var(--muted-foreground);
}
.event-card__meta span {
	display: flex;
	align-items: center;
	gap: 0.375rem;
}
.event-card__meta svg {
	width: 0.875rem;
	height: 0.875rem;
	color: var(--gold);
}

/* =====================================================
   GALLERY PAGE
   ===================================================== */
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-auto-rows: 220px;
	gap: 1rem;
}
@media (min-width: 768px) {
	.gallery-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}
.gallery-item {
	position: relative;
	overflow: hidden;
	border-radius: 0.5rem;
}
.gallery-item--wide {
	grid-column: span 2;
}
.gallery-item--tall {
	grid-row: span 2;
}
.gallery-item--feature {
	grid-column: span 2;
	grid-row: span 2;
}
.gallery-item__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}
.gallery-item:hover .gallery-item__image {
	transform: scale(1.05);
}
.gallery-item__caption {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	padding: 1rem;
	background: linear-gradient(to top, rgba(74, 21, 32, 0.9), transparent);
	color: var(--primary-foreground);
	font-family: var(--font-display);
	font-size: 0.875rem;
}

/* =====================================================
   NEWS / BLOG PAGE
   ===================================================== */
.news-grid {
	display: grid;
	gap: 2rem;
}
@media (min-width: 768px) {
	.news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
	.news-grid { grid-template-columns: repeat(3, 1fr); }
}
.news-post-card {
	background: var(--card);
	border-radius: 0.5rem;
	overflow: hidden;
	border: 1px solid var(--border);
	transition: border-color 0.25s ease;
}
.news-post-card:hover {
	border-color: var(--gold);
}
.news-post-card__image-wrap {
	aspect-ratio: 4 / 3;
	overflow: hidden;
}
.news-post-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}
.news-post-card:hover .news-post-card__image {
	transform: scale(1.05);
}
.news-post-card__body {
	padding: 1.5rem;
}
.news-post-card__meta {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.18em;
}
.news-post-card__category {
	color: var(--gold);
	font-weight: 600;
}
.news-post-card__date {
	color: var(--muted-foreground);
}
.news-post-card__title {
	font-family: var(--font-display);
	font-size: 1.25rem;
	color: var(--wine);
	margin-top: 0.75rem;
	transition: color 0.2s ease;
}
.news-post-card:hover .news-post-card__title {
	color: var(--gold);
}
.news-post-card__excerpt {
	font-size: 0.875rem;
	color: var(--muted-foreground);
	margin-top: 0.5rem;
	line-height: 1.65;
}

/* =====================================================
   SINGLE POST
   ===================================================== */
.single-post-content {
	max-width: 48rem;
	margin-inline: auto;
}
.single-post-content h2 {
	font-size: 1.875rem;
	color: var(--wine);
	margin-top: 2.5rem;
	margin-bottom: 1rem;
}
.single-post-content h3 {
	font-size: 1.5rem;
	color: var(--wine);
	margin-top: 2rem;
	margin-bottom: 0.75rem;
}
.single-post-content p {
	color: var(--muted-foreground);
	line-height: 1.8;
	margin-bottom: 1.25rem;
}
.single-post-content img {
	border-radius: 0.5rem;
	margin-block: 2rem;
}
.single-post-content blockquote {
	border-left: 4px solid var(--gold);
	padding-left: 1.5rem;
	font-family: var(--font-display);
	font-size: 1.25rem;
	color: var(--wine);
	font-style: italic;
	margin-block: 2rem;
}
.single-post-content ul, .single-post-content ol {
	padding-left: 1.5rem;
	margin-bottom: 1.25rem;
	color: var(--muted-foreground);
}
.single-post-content li {
	margin-bottom: 0.5rem;
	line-height: 1.65;
}

/* =====================================================
   FORMS (CF7 & Default)
   ===================================================== */
.form-card {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 0.5rem;
	padding: 2rem;
	box-shadow: var(--shadow-elegant);
}
.form-card__title {
	font-family: var(--font-display);
	font-size: 1.5rem;
	color: var(--wine);
}
.form-card__subtitle {
	font-size: 0.875rem;
	color: var(--muted-foreground);
	margin-top: 0.25rem;
}
.form-row {
	display: grid;
	gap: 1rem;
	margin-top: 1.5rem;
}
@media (min-width: 640px) {
	.form-row--2col {
		grid-template-columns: 1fr 1fr;
	}
}
.form-field label,
.form-field .form-label {
	display: block;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--muted-foreground);
	margin-bottom: 0.25rem;
}
.form-field input,
.form-field textarea,
.form-field select,
.form-card .wpcf7-form input[type="text"],
.form-card .wpcf7-form input[type="email"],
.form-card .wpcf7-form input[type="tel"],
.form-card .wpcf7-form input[type="url"],
.form-card .wpcf7-form textarea,
.form-card .wpcf7-form select {
	margin-top: 0.25rem;
	width: 100%;
	border-radius: 0.375rem;
	border: 1px solid var(--border);
	background: var(--background);
	padding: 0.625rem 0.75rem;
	font-size: 0.875rem;
	font-family: var(--font-sans);
	color: var(--foreground);
	outline: none;
	transition: border-color 0.2s ease;
}
.form-field input:focus,
.form-field textarea:focus,
.form-card .wpcf7-form input:focus,
.form-card .wpcf7-form textarea:focus {
	border-color: var(--gold);
}
.form-card .wpcf7-form input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	border-radius: var(--radius);
	border: none;
	background: var(--gradient-gold);
	color: var(--foreground);
	font-weight: 600;
	font-size: 0.9375rem;
	letter-spacing: 0.02em;
	box-shadow: var(--shadow-gold);
	cursor: pointer;
	width: 100%;
	margin-top: 1.5rem;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.form-card .wpcf7-form input[type="submit"]:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 36px -10px rgba(201, 168, 76, 0.65);
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
	background-color: var(--wine-deep);
	color: var(--primary-foreground);
}
.site-footer a {
	color: rgba(249, 245, 237, 0.8);
	transition: color 0.2s ease;
}
.site-footer a:hover {
	color: var(--gold);
}
.footer-grid {
	padding-block: 4rem;
	display: grid;
	gap: 2.5rem;
}
@media (min-width: 768px) {
	.footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
	.footer-grid { grid-template-columns: repeat(4, 1fr); }
}
.footer-brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1rem;
}
.footer-brand__logo {
	width: 3rem;
	height: 3rem;
}
.footer-brand__name {
	font-family: var(--font-display);
	font-size: 1.25rem;
}
.footer-brand__city {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--gold);
}
.footer__description {
	font-size: 0.875rem;
	color: rgba(249, 245, 237, 0.75);
	line-height: 1.65;
}
.footer__heading {
	color: var(--gold);
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	margin-bottom: 1rem;
	font-weight: 600;
}
.footer__links {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	font-size: 0.875rem;
}
.footer__contact-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	font-size: 0.875rem;
	color: rgba(249, 245, 237, 0.85);
}
.footer__contact-item {
	display: flex;
	gap: 0.75rem;
}
.footer__contact-item svg {
	width: 1rem;
	height: 1rem;
	color: var(--gold);
	flex-shrink: 0;
	margin-top: 0.125rem;
}
.footer__socials {
	display: flex;
	gap: 0.75rem;
	margin-top: 1.25rem;
}
.footer__social-link {
	width: 2.25rem;
	height: 2.25rem;
	display: grid;
	place-items: center;
	border-radius: 50%;
	border: 1px solid rgba(201, 168, 76, 0.4);
	color: var(--gold);
	transition: background 0.2s ease, color 0.2s ease;
}
.footer__social-link:hover {
	background: var(--gold);
	color: var(--wine-deep);
}
.footer__social-link svg {
	width: 1rem;
	height: 1rem;
}
.footer-bottom {
	border-top: 1px solid rgba(249, 245, 237, 0.1);
	padding-block: 1.25rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	font-size: 0.75rem;
	color: rgba(249, 245, 237, 0.6);
}
@media (min-width: 768px) {
	.footer-bottom {
		flex-direction: row;
	}
}

/* =====================================================
   INLINE LINK UTILITY
   ===================================================== */
.link-wine {
	color: var(--wine);
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	transition: color 0.2s ease;
}
.link-wine:hover {
	color: var(--gold);
}
.link-wine svg {
	width: 1rem;
	height: 1rem;
}

/* =====================================================
   MISC / SPACING
   ===================================================== */
.mt-3  { margin-top: 0.75rem; }
.mt-4  { margin-top: 1rem; }
.mt-5  { margin-top: 1.25rem; }
.mt-6  { margin-top: 1.5rem; }
.mt-8  { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }
.mb-8  { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }

/* =====================================================
   EMPTY STATE
   ===================================================== */
.empty-state {
	text-align: center;
	padding: 4rem 2rem;
	max-width: 28rem;
	margin-inline: auto;
}
.empty-state--compact {
	padding: 2.5rem 1.5rem;
}
.empty-state__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 5rem;
	height: 5rem;
	border-radius: 50%;
	background: var(--cream);
	color: var(--wine);
	margin-bottom: 1.5rem;
}
.empty-state--compact .empty-state__icon {
	width: 3.5rem;
	height: 3.5rem;
	margin-bottom: 1rem;
}
.empty-state__icon svg {
	width: 2rem;
	height: 2rem;
}
.empty-state--compact .empty-state__icon svg {
	width: 1.5rem;
	height: 1.5rem;
}
.empty-state__title {
	font-family: var(--font-display);
	font-size: 1.5rem;
	color: var(--wine);
	margin-bottom: 0.75rem;
}
.empty-state--compact .empty-state__title {
	font-size: 1.125rem;
	margin-bottom: 0.5rem;
}
.empty-state__text {
	color: var(--muted-foreground);
	font-size: 0.9375rem;
	line-height: 1.6;
}
.empty-state--compact .empty-state__text {
	font-size: 0.8125rem;
}

/* =====================================================
   GALLERY ALBUMS GRID
   ===================================================== */
.gallery-albums-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}
@media (min-width: 640px) {
	.gallery-albums-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (min-width: 1024px) {
	.gallery-albums-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.gallery-album-card {
	background: var(--card);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: 0 4px 20px -4px rgba(74, 21, 32, 0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-album-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-elegant);
}

.gallery-album-card__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.gallery-album-card__image-wrap {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.gallery-album-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}
.gallery-album-card:hover .gallery-album-card__image {
	transform: scale(1.06);
}

.gallery-album-card__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(74, 21, 32, 0.7) 0%, transparent 50%);
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	padding: 1rem;
	pointer-events: none;
}

.gallery-album-card__count {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	padding: 0.375rem 0.75rem;
	border-radius: 2rem;
	text-transform: uppercase;
}

.gallery-album-card__body {
	padding: 1.25rem 1.25rem 1.5rem;
}

.gallery-album-card__title {
	font-family: var(--font-display);
	font-size: 1.25rem;
	color: var(--wine);
	margin: 0;
}

.gallery-album-card__desc {
	color: var(--muted-foreground);
	font-size: 0.875rem;
	margin-top: 0.5rem;
	line-height: 1.5;
}

dl {
	--theme-description-list-indent: 0;
	--theme-description-list-spacing: 0;
}