/**
 * Global site footer — New style/v1.jsx (ink manuscript).
 * Self-contained (no Tailwind); loads on all pages with child footer.
 */
.edhh-v1-site-footer {
	--edhh-f-ink: #1c2620;
	--edhh-f-ink-deep: #0f1814;
	--edhh-f-line: #2e3a33;
	--edhh-f-mute: #a89f87;
	--edhh-f-rule: #6b6452;
	--edhh-f-brass: #bd934c;
	--edhh-f-emerald: #116652;
	--edhh-f-text: #d9cfb6;

	position: relative;
	overflow: hidden;
	margin-top: 80px;
	background: var(--edhh-f-ink);
	color: var(--edhh-f-text);
	font-family: "Noto Naskh Arabic", "Amiri", serif;
	font-size: 16px;
	line-height: 1.65;
}

.edhh-v1-site-footer__defs {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

.edhh-v1-site-footer__vine {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 0;
	color: var(--edhh-f-brass);
	opacity: 0.7;
	pointer-events: none;
}

.edhh-v1-site-footer__vine-svg {
	display: block;
	width: min(1200px, 100%);
	height: 32px;
	color: inherit;
}

.edhh-v1-site-footer__pat {
	position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.06;
    background-color: transparent;
    background-image: url(../images/footer-pattern-6320289.svg);
    background-repeat: repeat;
    background-position: 0 0;
    background-size: 900px 900px;
}

.edhh-v1-site-footer__inner {
	box-sizing: border-box;
	width: 100%;
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 2.5rem;
	padding-right: 2.5rem;
}

.edhh-v1-site-footer__news {
	position: relative;
	border-bottom: 1px solid var(--edhh-f-line);
	padding-top: 3rem;
	padding-bottom: 3rem;
}

.edhh-v1-site-footer__news-grid {
	display: grid;
	gap: 3rem;
	align-items: center;
}

@media (min-width: 1024px) {
	.edhh-v1-site-footer__news-grid {
		grid-template-columns: 1fr 1.4fr;
	}
}

.edhh-v1-site-footer__h3 {
	margin: 0 0 0.5rem;
	font-family: Amiri, serif;
	font-weight: 700;
	font-size: 28px;
	line-height: 1.25;
	color: #fff;
}

.edhh-v1-site-footer__lead {
	margin: 0;
	font-size: 14px;
	line-height: 1.7;
}

.edhh-v1-site-footer__muted {
	color: var(--edhh-f-mute);
}

.edhh-v1-site-footer__form {
	display: flex;
	flex-wrap: wrap;
	border: 1px solid var(--edhh-f-line);
	background: var(--edhh-f-ink-deep);
}

.edhh-v1-site-footer__input {
	flex: 1 1 200px;
	min-width: 0;
	padding: 1rem 1.25rem;
	border: 0;
	background: transparent;
	color: #fff;
	font: inherit;
	font-size: 14px;
	outline: none;
	box-sizing: border-box;
}

.edhh-v1-site-footer__input::placeholder {
	color: rgba(217, 207, 182, 0.45);
}

.edhh-v1-site-footer__submit {
	cursor: pointer;
	border: 0;
	padding: 1rem 2.25rem;
	background: var(--edhh-f-brass);
	color: var(--edhh-f-ink);
	font-family: Amiri, serif;
	font-weight: 700;
	font-size: 15px;
	box-sizing: border-box;
}

.edhh-v1-site-footer__submit:hover {
	opacity: 0.94;
}

.edhh-v1-site-footer__cols-wrap {
	position: relative;
	padding-top: 4rem;
	padding-bottom: 4rem;
}

.edhh-v1-site-footer__cols {
	display: grid;
	gap: 3rem;
}

@media (min-width: 1024px) {
	.edhh-v1-site-footer__cols {
		grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	}
}

.edhh-v1-site-footer__brand--logo {
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.edhh-v1-site-footer__logo-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	line-height: 0;
	border-radius: 2px;
}

.edhh-v1-site-footer__logo-link:focus-visible {
	outline: 2px solid var(--edhh-f-brass);
	outline-offset: 3px;
}

.edhh-v1-site-footer__logo-img {
	display: block;
	width: auto;
	max-width: min(220px, 100%);
	height: auto;
	max-height: 4.5rem;
	object-fit: contain;
}

/* Color site logo on dark footer: approximate a light mark when white PNG is missing */
.edhh-v1-site-footer__logo-img--mono {
	filter: brightness(0) invert(1);
}

.edhh-v1-site-footer__logo-fallback {
	display: inline-block;
	max-width: 12rem;
	line-height: 1.35;
}

.edhh-v1-site-footer__h5 {
	position: relative;
	margin: 0 0 1.25rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--edhh-f-line);
	font-family: Amiri, serif;
	font-weight: 700;
	font-size: 17px;
	color: #fff;
}

.edhh-v1-site-footer__h5-accent {
	position: absolute;
	right: 0;
	bottom: -1px;
	width: 2.5rem;
	height: 1px;
	background: var(--edhh-f-brass);
}

.edhh-v1-site-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	font-size: 13px;
}

.edhh-v1-site-footer__link {
	color: var(--edhh-f-mute);
	text-decoration: none;
	transition: color 0.15s ease;
}

.edhh-v1-site-footer__link:hover {
	color: var(--edhh-f-brass);
}

.edhh-v1-site-footer__contact {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	font-size: 13px;
	line-height: 1.8;
	color: var(--edhh-f-mute);
}

.edhh-v1-site-footer__stripe {
	height: 6px;
	background: repeating-linear-gradient(
		90deg,
		var(--edhh-f-brass) 0 8px,
		transparent 8px 12px,
		var(--edhh-f-emerald) 12px 20px,
		transparent 20px 24px
	);
	opacity: 0.4;
}

.edhh-v1-site-footer__bar {
	border-top: 1px solid var(--edhh-f-line);
}

.edhh-v1-site-footer__bar-inner {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	justify-content: space-between;
	align-items: flex-start;
	padding-top: 1.25rem;
	padding-bottom: 1.25rem;
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 11px;
	letter-spacing: 0.1em;
	color: var(--edhh-f-rule);
}

@media (min-width: 640px) {
	.edhh-v1-site-footer__bar-inner {
		flex-direction: row;
		align-items: center;
	}
}

.edhh-v1-site-footer__copy,
.edhh-v1-site-footer__credit {
	margin: 0;
}

/* Visually hidden label when theme has no core .screen-reader-text */
.edhh-v1-site-footer .screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}
