/*
Theme Name: Event Minions Theme
Theme URI: https://event-minions.wpminions.com/
Author: WPMinions
Author URI: https://wpminions.com/
Description: Product theme for Event Minions, the WordPress event management plugin by WPMinions.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: event-minions-theme
Tags: custom-logo, one-column, accessibility-ready, responsive-layout, custom-menu
*/

:root {
	--emt-ink: #141918;
	--emt-ink-2: #24312e;
	--emt-muted: #68736f;
	--emt-line: #dce3dd;
	--emt-surface: #ffffff;
	--emt-paper: #faf8f2;
	--emt-mint: #e9f6ef;
	--emt-green: #12745d;
	--emt-green-dark: #0c5948;
	--emt-clay: #cf563f;
	--emt-blue: #2b5f8f;
	--emt-gold: #c69a2e;
	--emt-radius: 8px;
	--emt-shadow: 0 24px 72px rgba(20, 25, 24, 0.12);
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: #fbfcfa;
	color: var(--emt-ink);
	font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: 1.65;
}

a {
	color: var(--emt-green-dark);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

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

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.emt-site {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.emt-container {
	width: min(1160px, calc(100% - 40px));
	margin-inline: auto;
}

.emt-header {
	position: sticky;
	top: 0;
	z-index: 30;
	border-bottom: 1px solid rgba(220, 227, 221, 0.92);
	background: rgba(251, 252, 250, 0.94);
	backdrop-filter: blur(14px);
}

.emt-header__inner {
	min-height: 76px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.emt-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-weight: 900;
}

.emt-brand a {
	color: var(--emt-ink);
	text-decoration: none;
}

.emt-brand .custom-logo {
	display: block;
	max-width: 190px;
	max-height: 42px;
	width: auto;
	height: auto;
}

.emt-brand__mark {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 8px;
	background: var(--emt-ink);
	color: #ffffff;
	font-size: 0.82rem;
	font-weight: 900;
}

.emt-brand__name {
	min-height: 38px;
	display: inline-flex;
	align-items: center;
}

.emt-nav {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.emt-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 8px 12px;
	border-radius: 8px;
	color: var(--emt-ink);
	font-size: 0.95rem;
	font-weight: 800;
	text-decoration: none;
}

.emt-nav a:hover,
.emt-nav .current-menu-item > a {
	background: var(--emt-mint);
	color: var(--emt-green-dark);
}

.emt-main {
	flex: 1;
}

.emt-hero {
	position: relative;
	overflow: hidden;
	padding: 88px 0 76px;
	background:
		linear-gradient(120deg, rgba(233, 246, 239, 0.95), rgba(250, 248, 242, 0.82) 58%, rgba(255, 255, 255, 0.98)),
		linear-gradient(180deg, #ffffff, #fbfcfa);
}

.emt-hero::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 9px;
	background: linear-gradient(90deg, var(--emt-clay), var(--emt-green), var(--emt-blue), var(--emt-gold));
}

.emt-hero__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(330px, 0.82fr);
	gap: 58px;
	align-items: center;
}

.emt-kicker {
	margin: 0 0 14px;
	color: var(--emt-green-dark);
	font-size: 0.8rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.emt-hero h1,
.emt-page-hero h1 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(3rem, 8vw, 6.7rem);
	line-height: 0.94;
	letter-spacing: 0;
}

.emt-hero__lead,
.emt-page-hero__lead {
	max-width: 720px;
	margin: 24px 0 0;
	color: var(--emt-muted);
	font-size: clamp(1.08rem, 2vw, 1.34rem);
	line-height: 1.55;
}

.emt-status-pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 24px;
	padding: 9px 12px;
	border: 1px solid rgba(207, 86, 63, 0.22);
	border-radius: 999px;
	background: #fff5f2;
	color: var(--emt-ink);
	font-weight: 850;
	font-size: 0.92rem;
}

.emt-status-pill span {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--emt-clay);
}

.emt-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.emt-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 11px 18px;
	border: 1px solid var(--emt-line);
	border-radius: 8px;
	background: #ffffff;
	color: var(--emt-ink);
	font-weight: 900;
	text-decoration: none;
	box-shadow: 0 8px 20px rgba(20, 25, 24, 0.06);
}

.emt-button:hover {
	border-color: var(--emt-green);
	color: var(--emt-green-dark);
}

.emt-button--primary {
	border-color: var(--emt-green);
	background: var(--emt-green);
	color: #ffffff;
}

.emt-button--primary:hover {
	background: var(--emt-green-dark);
	color: #ffffff;
}

.emt-command {
	overflow: hidden;
	border: 1px solid rgba(220, 227, 221, 0.95);
	border-radius: var(--emt-radius);
	background: #ffffff;
	box-shadow: var(--emt-shadow);
}

.emt-command__top {
	min-height: 54px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 0 18px;
	border-bottom: 1px solid var(--emt-line);
	background: #f8fbf7;
}

.emt-command__top span {
	padding: 5px 8px;
	border-radius: 999px;
	background: var(--emt-ink);
	color: #ffffff;
	font-size: 0.78rem;
	font-weight: 900;
}

.emt-command__body {
	display: grid;
	gap: 18px;
	padding: 18px;
}

.emt-month {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 8px;
}

.emt-month div,
.emt-month span {
	min-height: 38px;
	display: grid;
	place-items: center;
	border-radius: 8px;
	background: #f2f6f3;
	color: var(--emt-muted);
	font-size: 0.78rem;
	font-weight: 900;
}

.emt-month span {
	background: #ffffff;
	border: 1px solid var(--emt-line);
	color: var(--emt-ink);
}

.emt-month .is-event {
	border-color: rgba(18, 116, 93, 0.3);
	background: var(--emt-mint);
	color: var(--emt-green-dark);
}

.emt-month .is-featured {
	border-color: rgba(207, 86, 63, 0.3);
	background: #fff2ee;
	color: #9e3728;
}

.emt-command-list {
	display: grid;
	gap: 10px;
}

.emt-command-list article {
	display: grid;
	gap: 2px;
	padding: 13px 14px;
	border: 1px solid var(--emt-line);
	border-radius: 8px;
}

.emt-command-list span {
	color: var(--emt-muted);
	font-size: 0.75rem;
	font-weight: 900;
	text-transform: uppercase;
}

.emt-band {
	padding: 72px 0;
}

.emt-band--white {
	background: #ffffff;
}

.emt-band--ink {
	background: var(--emt-ink);
	color: #ffffff;
}

.emt-section-head {
	max-width: 760px;
	margin-bottom: 34px;
}

.emt-section-head h2,
.emt-docs-strip h2 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2rem, 4vw, 3.35rem);
	line-height: 1.05;
	letter-spacing: 0;
}

.emt-section-head p:not(.emt-kicker) {
	margin: 14px 0 0;
	color: var(--emt-muted);
}

.emt-feature-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.emt-card {
	min-height: 100%;
	padding: 24px;
	border: 1px solid var(--emt-line);
	border-radius: var(--emt-radius);
	background: var(--emt-surface);
	box-shadow: 0 16px 45px rgba(20, 25, 24, 0.06);
}

.emt-card h3 {
	margin: 0 0 10px;
	font-size: 1.25rem;
	line-height: 1.25;
}

.emt-card p {
	margin: 0;
	color: var(--emt-muted);
}

.emt-spec-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.78fr) minmax(340px, 0.72fr);
	gap: 42px;
	align-items: start;
}

.emt-spec-list {
	display: grid;
	gap: 12px;
}

.emt-spec-list div {
	display: grid;
	gap: 4px;
	padding: 16px;
	border: 1px solid rgba(18, 116, 93, 0.18);
	border-radius: 8px;
	background: #ffffff;
}

.emt-spec-list span {
	color: var(--emt-muted);
	font-size: 0.78rem;
	font-weight: 900;
	text-transform: uppercase;
}

.emt-access {
	display: grid;
	grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
	gap: 28px;
	align-items: center;
	padding: 28px;
	border: 1px solid rgba(220, 227, 221, 0.9);
	border-radius: var(--emt-radius);
	background: #ffffff;
	color: var(--emt-ink);
	box-shadow: 0 18px 48px rgba(20, 25, 24, 0.18);
}

.emt-access__copy h2,
.emt-claim h2 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2rem, 4vw, 3.1rem);
	line-height: 1.05;
	letter-spacing: 0;
}

.emt-access__copy p:not(.emt-kicker),
.emt-claim p:not(.emt-kicker) {
	margin: 12px 0 0;
	color: var(--emt-muted);
}

.emt-access__fields {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr) auto;
	gap: 10px;
}

.emt-access input {
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid var(--emt-line);
	border-radius: 8px;
	background: #fbfcfa;
	color: var(--emt-ink);
	font: inherit;
}

.emt-access input:focus {
	outline: 3px solid rgba(18, 116, 93, 0.18);
	border-color: var(--emt-green);
}

.emt-alert {
	margin: 0 0 18px;
	padding: 14px 16px;
	border: 1px solid rgba(18, 116, 93, 0.25);
	border-radius: var(--emt-radius);
	background: var(--emt-mint);
	color: var(--emt-ink);
	font-weight: 850;
}

.emt-alert--error {
	border-color: rgba(207, 86, 63, 0.3);
	background: #fff1ee;
}

.emt-docs-strip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}

.emt-docs-strip > div {
	max-width: 760px;
}

.emt-page-hero {
	padding: 70px 0 58px;
	background: linear-gradient(135deg, var(--emt-mint), #ffffff 64%, var(--emt-paper));
}

.emt-content {
	width: min(860px, calc(100% - 40px));
	margin: 0 auto;
	padding: 56px 0 80px;
}

.emt-content > *:first-child {
	margin-top: 0;
}

.emt-content h1,
.emt-content h2,
.emt-content h3 {
	line-height: 1.15;
	letter-spacing: 0;
}

.emt-content h1,
.emt-content h2 {
	font-family: Georgia, "Times New Roman", serif;
}

.emt-access-page {
	max-width: 980px;
}

.emt-claim {
	padding: 32px;
	border: 1px solid var(--emt-line);
	border-radius: var(--emt-radius);
	background: #ffffff;
	box-shadow: 0 18px 48px rgba(20, 25, 24, 0.08);
}

.emt-footer {
	padding: 34px 0;
	border-top: 1px solid var(--emt-line);
	background: var(--emt-ink);
	color: rgba(255, 255, 255, 0.78);
}

.emt-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.emt-footer a {
	color: #ffffff;
}

/* Event Minions plugin frontend compatibility. */
.em-events-list {
	display: grid;
	gap: 18px;
}

.em-event-card,
.em-event,
.minions-calendar {
	border-radius: var(--emt-radius);
	border-color: var(--emt-line);
	box-shadow: 0 16px 45px rgba(20, 25, 24, 0.06);
}

.em-event-card__title a,
.em-event-card__link,
.em-map-link {
	color: var(--emt-green-dark);
}

.em-event-page__container,
.em-event-page__layout {
	color: var(--emt-ink);
}

.em-event-page__tag,
.em-single-event-category-tag {
	border-radius: 999px;
}

@media (max-width: 900px) {
	.emt-header__inner,
	.emt-footer__inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.emt-nav {
		flex-wrap: wrap;
	}

	.emt-hero {
		padding-top: 58px;
	}

	.emt-hero__grid,
	.emt-spec-layout,
	.emt-access {
		grid-template-columns: 1fr;
	}

	.emt-feature-grid {
		grid-template-columns: 1fr;
	}

	.emt-docs-strip {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 560px) {
	body {
		font-size: 16px;
	}

	.emt-container,
	.emt-content {
		width: min(100% - 28px, 1120px);
	}

	.emt-month {
		gap: 5px;
	}

	.emt-month div,
	.emt-month span {
		min-height: 32px;
		font-size: 0.7rem;
	}

	.emt-access,
	.emt-claim {
		padding: 20px;
	}

	.emt-access__fields {
		grid-template-columns: 1fr;
	}
}
