/*
Theme Name: Holiday List
Description: A clean, card-based theme for daily observances and special days, built for the "holidays" custom post type.
Version: 2.3
Author: Holiday Daylist
*/

:root {
	--hdl-primary: #4B2FE0;
	--hdl-primary-dark: #3a22b3;
	--hdl-accent: #FFD400;
	--hdl-pink: #FF4FA0;
	--hdl-ink: #1F1533;
	--hdl-muted: #746d8a;
	--hdl-bg: #FBFAFF;
	--hdl-card-bg: #ffffff;
	--hdl-border: #ece5fb;
	--radius: 18px;
	--font-display: 'Fredoka', -apple-system, sans-serif;
	--font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--hdl-ink);
	background: var(--hdl-bg);
	line-height: 1.6;
}

h1, h2, h3, .hdl-logo-text, .hdl-month-card, .hdl-hero h1 {
	font-family: var(--font-display);
}

a { color: var(--hdl-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.hdl-container {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
}

/* Header */
.hdl-header {
	background: rgba(75,47,224,0.92);
	backdrop-filter: blur(10px);
	color: #fff;
	position: sticky;
	top: 0;
	z-index: 50;
	box-shadow: 0 2px 20px rgba(31,21,51,0.12);
}
.hdl-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 24px;
	max-width: 1180px;
	margin: 0 auto;
}
.hdl-logo {
	display: flex;
	align-items: center;
	gap: 10px;
}
.hdl-logo-mark { display: flex; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15)); }
.hdl-logo-text {
	font-size: 21px;
	font-weight: 500;
	color: #fff;
	letter-spacing: 0.01em;
}
.hdl-logo-text b { font-weight: 700; color: var(--hdl-accent); }
.hdl-nav { display: flex; gap: 22px; align-items: center; flex-wrap: nowrap; }
@media (max-width: 1100px) {
	.hdl-nav { flex-wrap: wrap; justify-content: flex-end; row-gap: 10px; }
}
.hdl-nav a {
	color: rgba(255,255,255,0.9);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	position: relative;
	padding-bottom: 4px;
	white-space: nowrap;
}
.hdl-nav a::after {
	content: '';
	position: absolute;
	left: 0; right: 0; bottom: -2px;
	height: 2px;
	background: var(--hdl-accent);
	transform: scaleX(0);
	transition: transform 0.2s;
}
.hdl-nav a:hover { text-decoration: none; color: #fff; }
.hdl-nav a:hover::after { transform: scaleX(1); }

/* Hero / today strip */
.hdl-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 15% 20%, rgba(255,212,0,0.35), transparent 45%),
		radial-gradient(circle at 85% 80%, rgba(255,79,160,0.35), transparent 45%),
		linear-gradient(135deg, var(--hdl-primary), var(--hdl-primary-dark));
	color: #fff;
	padding: 64px 0 56px;
	text-align: center;
}
.hdl-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255,255,255,0.14) 1.5px, transparent 1.5px);
	background-size: 22px 22px;
	opacity: 0.5;
	pointer-events: none;
}
.hdl-hero .hdl-container { position: relative; }
.hdl-hero h1 {
	font-size: 40px;
	font-weight: 700;
	margin: 0 0 10px;
	text-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.hdl-hero p {
	margin: 0;
	opacity: 0.9;
	font-size: 16px;
	font-weight: 500;
}

/* Section headings */
.hdl-section { padding: 44px 0; }
.hdl-section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 22px;
}
.hdl-section-head h2 {
	font-size: 26px;
	font-weight: 700;
	margin: 0;
	position: relative;
	padding-left: 16px;
}
.hdl-section-head h2::before {
	content: '';
	position: absolute;
	left: 0; top: 4px; bottom: 4px;
	width: 5px;
	border-radius: 3px;
	background: linear-gradient(var(--hdl-accent), var(--hdl-pink));
}
.hdl-section-head a.see-all { font-size: 13px; font-weight: 700; text-transform: uppercase; }

/* Card grid */
.hdl-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 20px;
}
.hdl-card {
	background: var(--hdl-card-bg);
	border: 1px solid var(--hdl-border);
	border-radius: var(--radius);
	overflow: hidden;
	position: relative;
	box-shadow: 0 2px 10px rgba(31,21,51,0.05);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.hdl-card:hover {
	box-shadow: 0 16px 36px rgba(75,47,224,0.18);
	transform: translateY(-4px);
}
.hdl-card a.card-link { display: block; }
.hdl-card-img {
	width: 100%;
	aspect-ratio: 4/3;
	object-fit: cover;
	object-position: center 22%;
	background: linear-gradient(135deg,#e9e2ff,#ffe6f4 50%,#fff1c2);
	transition: transform 0.4s ease;
}
.hdl-card:hover .hdl-card-img { transform: scale(1.05); }
.hdl-card { isolation: isolate; }
.hdl-card a.card-link { overflow: hidden; border-radius: var(--radius); }
.hdl-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: linear-gradient(135deg, var(--hdl-accent), #ffb800);
	color: var(--hdl-ink);
	font-weight: 800;
	font-size: 12px;
	border-radius: 10px;
	padding: 5px 10px;
	line-height: 1.25;
	text-align: center;
	box-shadow: 0 4px 10px rgba(0,0,0,0.18);
	z-index: 2;
}
.hdl-card-body { padding: 16px 18px 18px; }
.hdl-card-cat {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--hdl-primary);
	background: linear-gradient(135deg,#f1edff,#fbe9ff);
	padding: 4px 10px;
	border-radius: 20px;
	margin-bottom: 9px;
}
.hdl-card h3 { font-size: 17px; font-weight: 600; margin: 0 0 4px; line-height: 1.35; }
.hdl-card p.excerpt { font-size: 13px; color: var(--hdl-muted); margin: 0; }

/* Empty state */
.hdl-empty {
	padding: 36px 24px;
	text-align: center;
	color: var(--hdl-muted);
	font-weight: 500;
	background: linear-gradient(135deg,#faf9ff,#fff6fb);
	border-radius: var(--radius);
	border: 1.5px dashed #ddd0ff;
}

/* Month grid */
.hdl-month-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 14px;
}
@media (max-width: 900px) {
	.hdl-month-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.hdl-month-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.hdl-month-card {
	position: relative;
	border-radius: var(--radius);
	overflow: hidden;
	aspect-ratio: 16/10;
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 12px;
	font-size: 17px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	background: linear-gradient(160deg, var(--hdl-primary), var(--hdl-primary-dark));
	box-shadow: 0 6px 16px rgba(31,21,51,0.12);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hdl-month-card::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(0,0,0,0.42), rgba(0,0,0,0.12) 60%, rgba(0,0,0,0.3));
}
.hdl-month-card .hdl-month-icon {
	font-size: 26px;
	position: relative;
	z-index: 1;
	filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
}
.hdl-month-card .hdl-month-label { position: relative; z-index: 1; text-shadow: 0 2px 6px rgba(0,0,0,0.5); }
.hdl-month-card:hover {
	text-decoration: none;
	opacity: 1;
	transform: translateY(-3px) scale(1.02);
	box-shadow: 0 14px 28px rgba(31,21,51,0.22);
}

/* Month-long / week-long side-by-side section on the calendar month page */
.hdl-span-grid {
	display: grid;
	gap: 32px;
}
.hdl-span-cols-2 { grid-template-columns: 1fr 1fr; }
.hdl-span-cols-1 { grid-template-columns: 1fr; }
@media (max-width: 800px) {
	.hdl-span-cols-2 { grid-template-columns: 1fr; }
}

/* Compact month grid variant (calendar month page switcher) — fixed 6 per row */
.hdl-month-grid-compact {
	grid-template-columns: repeat(6, 1fr);
	gap: 8px;
	margin-bottom: 30px;
}
.hdl-month-grid-compact .hdl-month-card {
	aspect-ratio: 1.3;
	padding: 8px;
	border-radius: 10px;
	justify-content: center;
	align-items: center;
	text-align: center;
}
.hdl-month-grid-compact .hdl-month-card::after {
	background: linear-gradient(0deg, rgba(0,0,0,0.45), rgba(0,0,0,0.15) 60%, rgba(0,0,0,0.35));
}
.hdl-month-grid-compact .hdl-month-label {
	font-size: 15px;
	font-weight: 700;
	text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}
.hdl-month-grid-compact .hdl-month-watermark { font-size: 28px; }
@media (min-width: 900px) {
	.hdl-month-grid-compact .hdl-month-label { font-size: 17px; }
}
.hdl-month-card.active {
	outline: 3px solid var(--hdl-accent);
	outline-offset: 2px;
}
@media (max-width: 700px) {
	.hdl-month-grid-compact { grid-template-columns: repeat(3, 1fr); }
}

/* Day tabs (month calendar page) */
.hdl-day-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 24px 0;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--hdl-border);
}
.hdl-day-tab {
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	font-weight: 700;
	font-size: 14px;
	background: #f6f4ff;
	color: var(--hdl-ink);
}
.hdl-day-tab.active, .hdl-day-tab:hover {
	background: var(--hdl-primary);
	color: #fff;
	text-decoration: none;
}

/* Single holiday page */
.hdl-single-hero {
	width: 100%;
	aspect-ratio: 3 / 2; /* matches the actual 1536x1024 generated images — a fixed height instead regularly cropped most of the photo away */
	max-height: 600px;
	object-fit: cover;
	object-position: center 25%;
	border-radius: var(--radius);
	margin-bottom: 24px;
}
.hdl-single-meta {
	display: flex;
	gap: 10px;
	align-items: center;
	margin-bottom: 10px;
	flex-wrap: wrap;
}
.hdl-single-date {
	font-weight: 700;
	color: var(--hdl-primary);
	font-size: 14px;
}
.hdl-single-date:hover, .hdl-single-meta .hdl-card-cat:hover {
	text-decoration: none;
	opacity: 0.8;
}
.hdl-single h1 { font-size: 32px; margin: 0 0 16px; }
.hdl-content { font-size: 16px; }
.hdl-content h2 { font-size: 21px; margin-top: 32px; }
.hdl-content ul, .hdl-content ol { padding-left: 22px; }

/* Prev/next month navigation on the calendar month page */
.hdl-month-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.hdl-month-nav-title { text-align: center; flex: 1; }
.hdl-month-nav-arrow {
	color: rgba(255,255,255,0.9);
	font-weight: 700;
	font-size: 14px;
	white-space: nowrap;
	padding: 8px 14px;
	border-radius: 20px;
	background: rgba(255,255,255,0.12);
	border: 1px solid rgba(255,255,255,0.25);
}
.hdl-month-nav-arrow:hover {
	background: rgba(255,255,255,0.22);
	text-decoration: none;
	color: #fff;
}
@media (max-width: 600px) {
	.hdl-month-nav { flex-wrap: wrap; }
	.hdl-month-nav-title { order: -1; flex: 0 0 100%; margin-bottom: 6px; }
	.hdl-month-nav-arrow { flex: 1; text-align: center; }
}

/* Compact hero variant for interior/home top strip */
.hdl-hero-compact { padding: 46px 0 40px; }
.hdl-hero-compact h1 { font-size: 32px; }

/* Featured hero card */
.hdl-featured {
	position: relative;
	display: block;
	border-radius: 22px;
	overflow: hidden;
	aspect-ratio: 2 / 1; /* closer to the real 3:2 source images than the old fixed 380px, while keeping an intentionally wide "spotlight" banner look */
	max-height: 520px;
	box-shadow: 0 18px 40px rgba(31,21,51,0.16);
}
.hdl-featured-img {
	position: absolute; inset: 0;
	background-size: cover;
	background-position: center 25%;
	background-color: #4B2FE0;
	background-image: linear-gradient(135deg,#7A5CFF,#FF4FA0);
	transition: transform 0.5s ease;
}
.hdl-featured:hover .hdl-featured-img { transform: scale(1.04); }
.hdl-featured-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(0deg, rgba(15,8,40,0.88) 10%, rgba(15,8,40,0.25) 55%, rgba(15,8,40,0.05) 100%);
}
.hdl-featured-content {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	padding: 36px 40px;
	color: #fff;
	max-width: 640px;
}
.hdl-featured-date {
	display: inline-block;
	background: var(--hdl-accent);
	color: var(--hdl-ink);
	font-weight: 800;
	font-size: 13px;
	padding: 5px 12px;
	border-radius: 20px;
	margin-bottom: 10px;
	margin-right: 8px;
}
.hdl-featured-content h2 {
	font-size: 32px;
	margin: 10px 0 8px;
	font-weight: 700;
	text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hdl-featured-content p {
	font-size: 15px;
	opacity: 0.92;
	margin: 0 0 14px;
	line-height: 1.55;
}
.hdl-featured-cta {
	font-weight: 700;
	font-size: 14px;
	color: #fff;
	border-bottom: 2px solid var(--hdl-accent);
	padding-bottom: 2px;
}

/* Category grid */
.hdl-cat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 16px;
}
.hdl-cat-tile {
	background: #fff;
	border: 1px solid var(--hdl-border);
	border-radius: var(--radius);
	padding: 22px 16px;
	text-align: center;
	transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.hdl-cat-tile:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 26px rgba(75,47,224,0.14);
	border-color: transparent;
	text-decoration: none;
}
.hdl-cat-icon { display: block; font-size: 30px; margin-bottom: 10px; }
.hdl-cat-name { display: block; font-weight: 700; font-size: 14px; color: var(--hdl-ink); margin-bottom: 3px; }
.hdl-cat-count { display: block; font-size: 12px; color: var(--hdl-muted); }

/* CTA banner */
.hdl-cta-banner {
	background:
		radial-gradient(circle at 20% 30%, rgba(255,212,0,0.25), transparent 45%),
		radial-gradient(circle at 80% 70%, rgba(255,79,160,0.3), transparent 45%),
		linear-gradient(135deg, var(--hdl-primary-dark), var(--hdl-primary));
	color: #fff;
	border-radius: 26px;
	padding: 48px 30px;
	text-align: center;
	margin: 20px 0 10px;
}
.hdl-cta-banner h2 { font-size: 26px; margin: 0 0 8px; }
.hdl-cta-banner p { margin: 0 0 22px; opacity: 0.9; font-size: 15px; }
.hdl-cta-form { display: flex; gap: 10px; justify-content: center; max-width: 420px; margin: 0 auto; }
.hdl-cta-form input {
	flex: 1;
	padding: 13px 16px;
	border-radius: 30px;
	border: none;
	font-size: 14px;
}
.hdl-cta-form button {
	background: var(--hdl-accent);
	color: var(--hdl-ink);
	font-weight: 800;
	border: none;
	padding: 13px 22px;
	border-radius: 30px;
	cursor: pointer;
	font-size: 14px;
}

@media (max-width: 640px) {
	.hdl-featured { min-height: 300px; }
	.hdl-featured-content { padding: 24px; }
	.hdl-featured-content h2 { font-size: 24px; }
	.hdl-cta-form { flex-direction: column; }
}
@media (max-width: 480px) {
	.hdl-list-row .hdl-card-cat { display: none; }
	.hdl-list-thumb { width: 38px; height: 38px; }
	.hdl-list-date { width: 44px; height: 44px; }
}

/* Two-column layout: main content + sidebar */
.hdl-layout {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 32px;
	align-items: start;
}
.hdl-layout-side { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 20px; }

/* Mini calendar */
.hdl-mini-cal {
	background: #fff;
	border: 1px solid var(--hdl-border);
	border-radius: var(--radius);
	padding: 18px;
	box-shadow: 0 4px 16px rgba(31,21,51,0.05);
}
.hdl-mini-cal-head {
	font-weight: 700;
	font-family: var(--font-display);
	font-size: 16px;
	margin-bottom: 12px;
	text-align: center;
	color: var(--hdl-primary);
}
.hdl-mini-cal-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 4px;
	text-align: center;
}
.hdl-mini-cal-dow { font-size: 11px; font-weight: 700; color: var(--hdl-muted); padding-bottom: 4px; }
.hdl-mini-cal-day {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--hdl-ink);
}
.hdl-mini-cal-day:hover { background: #f1edff; text-decoration: none; }
.hdl-mini-cal-day.today {
	background: linear-gradient(135deg, var(--hdl-primary), var(--hdl-pink));
	color: #fff;
}
.hdl-mini-cal-link {
	display: block;
	text-align: center;
	margin-top: 14px;
	font-size: 13px;
	font-weight: 700;
}

/* Sidebar boxes */
.hdl-sidebar-box {
	background: #fff;
	border: 1px solid var(--hdl-border);
	border-radius: var(--radius);
	padding: 18px;
	box-shadow: 0 4px 16px rgba(31,21,51,0.05);
}
.hdl-sidebar-box-head {
	font-weight: 700;
	font-family: var(--font-display);
	font-size: 15px;
	margin-bottom: 10px;
	color: var(--hdl-ink);
}
.hdl-sidebar-cat-list { list-style: none; margin: 0; padding: 0; }
.hdl-sidebar-cat-list li { border-top: 1px solid #f3effe; }
.hdl-sidebar-cat-list li:first-child { border-top: none; }
.hdl-sidebar-cat-list a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 9px 2px;
	font-size: 13px;
	font-weight: 600;
	color: var(--hdl-ink);
}
.hdl-sidebar-cat-list a:hover { color: var(--hdl-primary); text-decoration: none; }
.hdl-sidebar-cat-list .count { color: var(--hdl-muted); font-weight: 700; font-size: 12px; }

/* List rows (Upcoming section) — two columns on wider screens */
.hdl-list {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 10px 16px;
	max-width: 100%;
}
@media (max-width: 800px) {
	.hdl-list { grid-template-columns: minmax(0, 1fr); }
}
.hdl-list-row {
	display: flex;
	align-items: center;
	gap: 12px;
	background: #fff;
	border: 1px solid var(--hdl-border);
	border-radius: 14px;
	padding: 10px 14px;
	min-width: 0;
	max-width: 100%;
	transition: box-shadow 0.2s, transform 0.2s;
}
.hdl-list-row:hover {
	box-shadow: 0 10px 24px rgba(75,47,224,0.1);
	transform: translateX(3px);
	text-decoration: none;
}
.hdl-list-date {
	flex: 0 0 auto;
	width: 52px;
	height: 52px;
	border-radius: 12px;
	background: linear-gradient(135deg,#f1edff,#fde7f6);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: var(--hdl-primary);
	font-weight: 800;
}
.hdl-list-date span { font-size: 18px; line-height: 1; }
.hdl-list-date small { font-size: 10px; text-transform: uppercase; font-weight: 700; }
.hdl-list-thumb {
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	border-radius: 10px;
	object-fit: cover;
}
.hdl-list-body { flex: 1; min-width: 0; }
.hdl-list-title { display: block; font-weight: 700; font-size: 15px; color: var(--hdl-ink); }
.hdl-list-excerpt {
	display: block;
	font-size: 12.5px;
	color: var(--hdl-muted);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.hdl-list-row .hdl-card-cat { flex: 0 0 auto; margin: 0; }

/* Month watermark upgrade */
.hdl-month-card { position: relative; overflow: hidden; }
.hdl-month-watermark {
	position: absolute;
	right: -10px;
	top: -14px;
	font-size: 84px;
	opacity: 0.22;
	transform: rotate(12deg);
	z-index: 0;
	filter: saturate(0.6);
}

@media (max-width: 900px) {
	.hdl-layout { grid-template-columns: 1fr; }
	.hdl-layout-side { position: static; }
}

/* Submit Event form — card layout */
.hdl-form-card {
	max-width: 760px;
	margin: 0 auto;
	background: #fff;
	border: 1px solid var(--hdl-border);
	border-radius: 20px;
	padding: 36px 40px;
	box-shadow: 0 12px 36px rgba(75,47,224,0.10);
}
.hdl-form-heading {
	font-size: 18px;
	margin: 6px 0 18px;
	padding-bottom: 10px;
	border-bottom: 2px solid #f1edff;
	color: var(--hdl-primary);
}
.hdl-form-heading:not(:first-of-type) { margin-top: 32px; }
.hdl-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}
.hdl-form-row .hdl-form-field-wide { grid-column: span 1; }
.hdl-form-field { display: flex; flex-direction: column; margin-bottom: 18px; min-width: 0; }
.hdl-form-field label {
	font-weight: 700;
	font-size: 13px;
	margin-bottom: 7px;
	color: var(--hdl-ink);
}
.hdl-form-field .req { color: #e0507b; }
.hdl-form-field input,
.hdl-form-field textarea {
	padding: 12px 14px;
	border: 1.5px solid #e2dbf7;
	border-radius: 10px;
	font-family: var(--font-body);
	font-size: 14px;
	background: #fcfbff;
	width: 100%;
	box-sizing: border-box;
	transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.hdl-form-field input:focus,
.hdl-form-field textarea:focus {
	outline: none;
	border-color: var(--hdl-primary);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(75,47,224,0.15);
}
.hdl-form-field textarea { resize: vertical; min-height: 110px; }
.hdl-form-checkbox {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 6px 0 20px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--hdl-ink);
	cursor: pointer;
}
.hdl-form-checkbox input { width: 18px; height: 18px; accent-color: var(--hdl-primary); }
.g-recaptcha { margin: 6px 0 22px; }
.hdl-form-submit {
	background: linear-gradient(135deg, var(--hdl-primary), var(--hdl-pink));
	color: #fff;
	border: none;
	padding: 15px 34px;
	border-radius: 30px;
	font-weight: 800;
	font-size: 15px;
	cursor: pointer;
	font-family: var(--font-body);
	box-shadow: 0 8px 20px rgba(75,47,224,0.25);
	transition: transform 0.15s, box-shadow 0.15s;
}
.hdl-form-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(75,47,224,0.32); }
.hdl-form-fine { font-size: 12px; color: var(--hdl-muted); margin: 14px 0 0; }
.hdl-form-notice {
	padding: 14px 18px;
	border-radius: 12px;
	margin-bottom: 26px;
	font-size: 14px;
}
.hdl-form-notice-success { background: #eefbf1; border: 1px solid #bfe8c8; color: #1d6b32; }
.hdl-form-notice-error { background: #fff0f4; border: 1px solid #f5c0d0; color: #a3254f; }
.hdl-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
@media (max-width: 640px) {
	.hdl-form-card { padding: 24px 20px; border-radius: 16px; }
	.hdl-form-row { grid-template-columns: 1fr; gap: 0; }
}

/* Google-powered site search in the nav */
.hdl-search-form {
	display: flex;
	align-items: center;
	background: rgba(255,255,255,0.14);
	border: 1px solid rgba(255,255,255,0.3);
	border-radius: 20px;
	padding: 4px 4px 4px 14px;
	gap: 6px;
}
.hdl-search-form:focus-within { background: rgba(255,255,255,0.22); }
.hdl-search-input {
	background: transparent;
	border: none;
	outline: none;
	color: #fff;
	font-family: var(--font-body);
	font-size: 13px;
	width: 130px;
}
.hdl-search-input::placeholder { color: rgba(255,255,255,0.7); }
.hdl-search-btn {
	background: var(--hdl-accent);
	border: none;
	color: var(--hdl-ink);
	width: 26px;
	height: 26px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex: 0 0 auto;
}
.hdl-search-btn:hover { opacity: 0.85; }
@media (max-width: 900px) {
	.hdl-search-input { width: 90px; }
}

/* Month picker in nav (native select — simple and reliable) */
.hdl-month-select {
	background: rgba(255,255,255,0.14);
	color: #fff;
	border: 1px solid rgba(255,255,255,0.3);
	border-radius: 20px;
	padding: 7px 14px;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
}
.hdl-month-select:hover { background: rgba(255,255,255,0.22); }
.hdl-month-select option { color: #1F1533; text-transform: none; font-weight: 500; }

/* Footer */
.hdl-footer {
	background: var(--hdl-ink);
	color: #cfc9e0;
	padding: 40px 0;
	margin-top: 40px;
	font-size: 14px;
}
.hdl-footer a { color: #fff; }
.hdl-footer-inner {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
}

@media (max-width: 640px) {
	.hdl-header-inner { flex-direction: column; gap: 12px; }
	.hdl-nav { flex-wrap: wrap; justify-content: center; }
	.hdl-hero h1 { font-size: 24px; }
}


/* Scheduled ("coming soon") entries: shown to visitors but not linked, because
   the page isn't public until shortly before its date. */
.hdl-card span.card-link { display: block; overflow: hidden; border-radius: var(--radius); cursor: default; }
.hdl-card-soon:hover { box-shadow: 0 2px 10px rgba(31,21,51,0.05); transform: none; }
.hdl-card-soon:hover .hdl-card-img { transform: none; }
.hdl-list-row.hdl-soon { cursor: default; }
.hdl-list-row.hdl-soon:hover { box-shadow: none; transform: none; }
.hdl-soon-tag {
	display: inline-block;
	margin-top: 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--hdl-primary);
	background: #f0ebff;
	border-radius: 999px;
	padding: 3px 10px;
}

/* Footer trust links (About / Contact / Privacy / How We Create Content) */
.hdl-footer-legal {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid rgba(255,255,255,0.14);
	font-size: 13px;
}
.hdl-footer-legal a { color: #cfc9e0; }
.hdl-footer-legal a:hover { color: #fff; }


/* ---------------------------------------------------------
 * Standard pages (About, Contact, Privacy Policy, How We Create Content)
 * --------------------------------------------------------- */
.hdl-page { max-width: 760px; margin: 0 auto; font-size: 17px; line-height: 1.75; }
.hdl-page > *:first-child { margin-top: 0; }
.hdl-page h2 { font-size: 28px; margin: 44px 0 14px; }
.hdl-page h3 { font-size: 21px; margin: 30px 0 10px; }
.hdl-page p { margin: 0 0 18px; }
.hdl-page ul, .hdl-page ol { margin: 0 0 22px; padding-left: 24px; }
.hdl-page li { margin-bottom: 8px; }
.hdl-page a { text-decoration: underline; text-underline-offset: 3px; }
.hdl-page img { max-width: 100%; height: auto; }
.hdl-page .hdl-lead { font-size: 20px; line-height: 1.6; }

.hdl-figure { margin: 0 0 32px; }
.hdl-figure img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--radius);
	box-shadow: 0 10px 30px rgba(75,47,224,0.12);
}

/* Placeholders in the page drafts — impossible to miss until they are replaced */
.hdl-edit { background: #FFF3B0; border-radius: 4px; padding: 1px 5px; font-weight: 600; }

/* Four-step flow (How We Create Content). Prefixed with .hdl-page so it outranks the generic `.hdl-page ol` rule. */
.hdl-page .hdl-steps {
	list-style: none;
	counter-reset: step;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 16px;
	padding: 0;
	margin: 28px 0 36px;
}
.hdl-steps li {
	counter-increment: step;
	position: relative;
	background: #fff;
	border: 1px solid var(--hdl-border);
	border-radius: var(--radius);
	padding: 60px 18px 18px;
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	box-shadow: 0 2px 10px rgba(31,21,51,0.05);
}
.hdl-steps li::before {
	content: counter(step);
	position: absolute;
	top: 16px;
	left: 18px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--hdl-primary);
	color: #fff;
	font-family: var(--font-display);
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}
.hdl-steps strong {
	display: block;
	font-family: var(--font-display);
	font-size: 17px;
	color: var(--hdl-primary);
	margin-bottom: 4px;
}
