/*
 * Template 6 — Emerald Club
 *
 * Deep casino-green surfaces, warm gold accents, Cormorant serif headings.
 * Inspired by European casino table felt — luxury without the Las Vegas flash.
 */

body.scheme-emerald-club {



	--font-body: "Jost", system-ui, sans-serif;
	--font-display: "Cormorant Garamond", Georgia, serif;

	--container-width: 1200px;

	background-color: var(--site-bg);
	/* Subtle diagonal felt pattern — visually distinct from T1's plain dark bg */
	background-image: repeating-linear-gradient(
		135deg,
		rgb(from var(--site-accent) r g b / 0.045) 0px,
		rgb(from var(--site-accent) r g b / 0.045) 1px,
		transparent 1px,
		transparent 14px
	);
}

body.scheme-emerald-club h1,
body.scheme-emerald-club h2,
body.scheme-emerald-club h3,
body.scheme-emerald-club .site-title {
	font-family: var(--font-display);
	letter-spacing: 0.02em;
	color: var(--site-text);
}

/* The brand title sits on the header surface, so it takes the header's
   text colour rather than the page one. */
body.scheme-emerald-club .site-branding .site-title,
body.scheme-emerald-club .site-branding .site-title a {
	color: var(--header-text);
}

/* ---------- Trust bar ---------- */

body.scheme-emerald-club .site-trust-bar {
	background: var(--header-trust-bg);
	border-bottom: 1px solid rgb(from var(--site-accent-2) r g b / 0.18);
}

body.scheme-emerald-club .site-trust-bar__inner {
	justify-content: center;
}

body.scheme-emerald-club .site-trust-bar__text {
	font-family: var(--font-body);
	font-size: 0.7rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--trust-accent-2);
}

/* Card-suit flourishes around trust text */
body.scheme-emerald-club .site-trust-bar__text::before {
	content: "♠ ♥";
	display: inline-block;
	margin-right: 0.75rem;
	color: var(--trust-accent-2);
	opacity: 0.75;
}

body.scheme-emerald-club .site-trust-bar__text::after {
	content: "♦ ♣";
	display: inline-block;
	margin-left: 0.75rem;
	color: var(--trust-accent-2);
	opacity: 0.75;
}

/* ---------- Header: dark green, centered layout, double gold rule ---------- */

body.scheme-emerald-club .site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--header-bg);
	box-shadow:
		0 1px 0 rgb(from var(--site-accent-2) r g b / 0.55),
		0 4px 0 rgb(from var(--site-accent-2) r g b / 0.1),
		0 5px 0 rgb(from var(--site-accent-2) r g b / 0.55);
}

body.scheme-emerald-club .site-header__inner {
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding: 1rem var(--container-pad);
}

body.scheme-emerald-club .site-branding {
	text-align: left;
	position: relative;
}

body.scheme-emerald-club .site-branding .site-title {
	font-family: var(--font-display);
	font-size: clamp(1.4rem, 2.5vw, 2rem);
	font-weight: 600;
	letter-spacing: 0.06em;
	margin: 0;
}

body.scheme-emerald-club .site-branding .site-title a {
	color: var(--header-text);
	text-decoration: none;
	transition: color 0.2s ease;
}

body.scheme-emerald-club .site-branding .site-title a:hover,
body.scheme-emerald-club .site-branding .site-title a:focus {
	color: var(--header-accent-2);
}

/* Left gold border accent on branding — distinct "club member badge" feel */
body.scheme-emerald-club .site-branding {
	padding-left: 1rem;
	border-left: 2px solid var(--site-accent-2);
}

body.scheme-emerald-club .site-description {
	font-size: 0.72rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgb(from var(--header-text) r g b / 0.72);
}

body.scheme-emerald-club .main-navigation {
	flex: 1 1 auto;
	display: flex;
	justify-content: flex-end;
}

body.scheme-emerald-club .main-navigation ul {
	gap: 2rem;
	justify-content: flex-end;
}

body.scheme-emerald-club .main-navigation a {
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--header-link);
	position: relative;
	transition: color 0.2s ease;
}

body.scheme-emerald-club .main-navigation a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -3px;
	height: 1px;
	background: var(--site-accent-2);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.2s ease;
}

body.scheme-emerald-club .main-navigation a:hover,
body.scheme-emerald-club .main-navigation a:focus {
	color: var(--header-accent-2);
	text-decoration: none;
}

body.scheme-emerald-club .main-navigation a:hover::after,
body.scheme-emerald-club .main-navigation a:focus::after,
body.scheme-emerald-club .main-navigation .current-menu-item > a::after,
body.scheme-emerald-club .main-navigation .current_page_item > a::after {
	transform: scaleX(1);
}

/* ---------- Content ---------- */

body.scheme-emerald-club #content,
body.scheme-emerald-club .site-main {
	color: var(--site-text);
}

body.scheme-emerald-club .entry-content,
body.scheme-emerald-club .page-content {
	line-height: 1.9;
	font-size: 1.0625rem;
}

body.scheme-emerald-club .entry-content p,
body.scheme-emerald-club .page-content p {
	margin-bottom: 1.5em;
}

body.scheme-emerald-club .entry-content blockquote,
body.scheme-emerald-club .page-content blockquote {
	border-left: 3px solid var(--site-accent-2);
	margin: 2em 0;
	padding: 1rem 1.5rem;
	background: rgb(from var(--site-accent-2) r g b / 0.06);
	color: var(--site-accent-2-text);
	font-size: 1.1rem;
	font-family: var(--font-display);
	font-style: italic;
}

body.scheme-emerald-club .entry-content blockquote p,
body.scheme-emerald-club .page-content blockquote p {
	margin-bottom: 0;
}

body.scheme-emerald-club .entry-content ul,
body.scheme-emerald-club .page-content ul {
	list-style: none;
	padding-left: 1.5rem;
	margin-bottom: 1.5em;
}

body.scheme-emerald-club .entry-content ul li,
body.scheme-emerald-club .page-content ul li {
	position: relative;
	padding-left: 0.5rem;
	margin-bottom: 0.5em;
}

/* Card-suit bullet (alternating per child for style) */
body.scheme-emerald-club .entry-content ul li::before,
body.scheme-emerald-club .page-content ul li::before {
	content: "♦";
	position: absolute;
	left: -1.25rem;
	color: var(--site-accent-2-text);
	font-size: 0.6rem;
	top: 0.5em;
}

body.scheme-emerald-club .entry-content ol,
body.scheme-emerald-club .page-content ol {
	padding-left: 1.5rem;
	margin-bottom: 1.5em;
	counter-reset: tpl6-ol;
	list-style: none;
}

body.scheme-emerald-club .entry-content ol li,
body.scheme-emerald-club .page-content ol li {
	position: relative;
	padding-left: 0.5rem;
	margin-bottom: 0.5em;
	counter-increment: tpl6-ol;
}

body.scheme-emerald-club .entry-content ol li::before,
body.scheme-emerald-club .page-content ol li::before {
	content: counter(tpl6-ol);
	position: absolute;
	left: -1.5rem;
	color: var(--site-accent-2-text);
	font-family: var(--font-display);
	font-size: 0.85rem;
	top: 0.1em;
}

body.scheme-emerald-club a {
	color: var(--site-accent-2-text);
}

body.scheme-emerald-club a:hover,
body.scheme-emerald-club a:focus {
	color: var(--site-accent-text);
}

/* ♦ prefix on page / entry titles */
body.scheme-emerald-club .page-title::before,
body.scheme-emerald-club .entry-title::before {
	content: "♦";
	display: inline-block;
	margin-right: 0.5rem;
	color: var(--site-accent-2-text);
	font-size: 0.65em;
	transform: translateY(-0.1em);
}

body.scheme-emerald-club .page-title,
body.scheme-emerald-club .entry-title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(2rem, 4vw, 2.8rem);
	color: var(--site-text);
}

/* Emerald green bar before h2s */
body.scheme-emerald-club .site-main h2 {
	position: relative;
	padding-left: 1rem;
	border-left: 3px solid var(--site-accent);
}

body.scheme-emerald-club .site-main h2::after {
	content: " ♠";
	color: var(--site-accent-2-text);
	font-size: 0.55em;
	opacity: 0.7;
	vertical-align: middle;
}

/* Eyebrow utility */
body.scheme-emerald-club .eyebrow,
body.scheme-emerald-club .tpl6-eyebrow {
	display: inline-block;
	color: var(--site-accent-2-text);
	font-family: var(--font-body);
	font-size: 0.72rem;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	margin-bottom: 0.5rem;
}

/* Felt-green card with subtle border */
body.scheme-emerald-club .tpl6-card {
	background: var(--site-surface);
	border: 1px solid var(--site-border);
	border-radius: 4px;
	padding: 1.5rem;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

body.scheme-emerald-club .tpl6-card:hover {
	border-color: rgb(from var(--site-accent-2) r g b / 0.5);
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

/* ---------- Footer: 3-column dark ---------- */

body.scheme-emerald-club .site-footer {
	background: var(--footer-bg);
	border-top: 1px solid rgb(from var(--site-accent-2) r g b / 0.3);
}

body.scheme-emerald-club .site-footer__inner {
	gap: 0;
}

body.scheme-emerald-club .site-footer__col {
	padding: 0 2rem;
	position: relative;
}

body.scheme-emerald-club .site-footer__col + .site-footer__col {
	border-left: 1px solid var(--footer-divider);
}

body.scheme-emerald-club .site-footer__heading {
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	color: var(--footer-accent-2);
}

body.scheme-emerald-club .site-footer__brand-title {
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: var(--footer-heading);
	margin: 0 0 0.5rem;
}

body.scheme-emerald-club .site-footer__tagline {
	color: var(--footer-text);
	font-size: 0.9rem;
	line-height: 1.5;
}

body.scheme-emerald-club .site-footer__menu a {
	color: var(--footer-text);
	font-size: 0.9rem;
}

body.scheme-emerald-club .site-footer__menu a:hover,
body.scheme-emerald-club .site-footer__menu a:focus {
	color: var(--footer-accent-2);
	text-decoration: none;
}

body.scheme-emerald-club .site-footer__disclaimer {
	font-size: 0.85rem;
	color: var(--footer-text);
	line-height: 1.6;
}

body.scheme-emerald-club .site-footer__age-badge {
	background: var(--site-accent-2);
	color: var(--site-on-accent-2);
}

body.scheme-emerald-club .site-footer__bottom {
	border-top: 1px solid var(--footer-divider);
	color: var(--footer-text);
	font-size: 0.78rem;
	letter-spacing: 0.1em;
}

/* ---------- Mobile ---------- */

@media (max-width: 900px) {
	body.scheme-emerald-club .site-header__inner {
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: space-between;
		padding-top: 0.75rem;
		padding-bottom: 0.75rem;
	}

	body.scheme-emerald-club .site-branding::after {
		display: none;
	}

	body.scheme-emerald-club .site-branding .site-title {
		font-size: 1.15rem;
	}

	body.scheme-emerald-club .main-navigation {
		flex: 0 0 auto;
	}

	body.scheme-emerald-club .site-footer__inner {
		grid-template-columns: 1fr;
	}

	body.scheme-emerald-club .site-footer__col {
		padding: 0;
	}

	body.scheme-emerald-club .site-footer__col + .site-footer__col {
		border-left: 0;
		border-top: 1px solid var(--footer-divider);
		padding-top: 1.5rem;
		margin-top: 0.5rem;
	}
}

/* ---------- Navigation identity: premium green ---------- */
body.scheme-emerald-club .main-navigation a {
	letter-spacing: 0.1em;
}

body.scheme-emerald-club .main-navigation .menu-item-has-children .sub-menu {
	border-radius: 0;
	border: 1px solid var(--footer-divider);
	border-top: 2px solid var(--site-accent);
}

body.scheme-emerald-club .main-navigation .menu-item-has-children .sub-menu a:hover {
	background: rgb(from var(--site-accent) r g b / 0.15);
	color: var(--header-accent-2);
}

/* ---------- Header identity: premium classic ---------- */
body.scheme-emerald-club .site-header__inner {
	padding-top: 1.3rem;
	padding-bottom: 1.3rem;
}

body.scheme-emerald-club .site-header {
	border-bottom: 1px solid rgb(from var(--site-accent-2) r g b / 0.35);
}

body.scheme-emerald-club .site-branding .site-title a {
	font-family: var(--font-display);
	letter-spacing: 0.06em;
}

body.scheme-emerald-club .site-trust-bar__inner {
	text-transform: uppercase;
	letter-spacing: 0.18em;
}

/* ---------- Structural identity (Faza 2): premium serif, gold rules ---------- */
body.scheme-emerald-club .entry-content h2,
body.scheme-emerald-club .entry-content h3 {
	font-family: var(--font-display);
}
body.scheme-emerald-club .entry-content h2 {
	border-bottom: 1px solid var(--site-accent-2);
	padding-bottom: 0.4rem;
}
body.scheme-emerald-club .entry-content blockquote {
	border: 1px solid var(--site-accent-2);
	background: var(--site-surface);
	padding: 1.25rem 1.5rem;
	margin: 1.7rem 0;
	font-family: var(--font-display);
	font-style: italic;
}
body.scheme-emerald-club .wp-block-button__link,
body.scheme-emerald-club .wp-element-button {
	background: var(--site-accent);
	color: var(--site-bg);
	border: 1px solid var(--site-accent-2);
	border-radius: 2px;
}
body.scheme-emerald-club .entry-content hr {
	border: 0;
	border-top: 1px solid var(--site-accent-2);
}
