/* Shared footer styles (extracted from page CSS) */

.footer-main {
	width: 100%;
	background: #01270e;
	color: #fff;
	font-family: 'Crimson Text', serif;
	padding: 3rem 0 0 0;
	margin-top: 0;
	box-sizing: border-box;
}

.footer-columns {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	max-width: 1600px;
	margin: 0 auto;
	padding: 0 2.5rem 2.5rem 2.5rem;
	border-bottom: 2px solid #ab8d44;
	gap: 2.5rem;
}

.footer-col {
	flex: 1 1 220px;
	min-width: 180px;
	margin-bottom: 1.5rem;
	font-size: 1.15rem;
	line-height: 1.7;
}

.address-col {
	font-family: 'Crimson Text', serif;
	font-size: 1.2rem;
	color: #fff;
}

.nav-col div,
.services-col div {
	cursor: pointer;
	margin-bottom: 0.3em;
	color: #fff;
	transition: color 0.2s;
}

.nav-col div:hover,
.services-col div:hover {
	color: #ab8d44;
}

.footer-connect-title {
	font-family: 'Crimson Text', serif;
	font-size: 2rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	margin-bottom: 1.2rem;
	color: #fff;
}

.footer-social-icons {
	display: flex;
	gap: 1.2rem;
	margin-top: 0.5rem;
}

.footer-social-icon {
	width: 48px;
	height: 48px;
	background: #fff;
	border-radius: 8px;
	padding: 0.3rem;
	transition: box-shadow 0.2s, background 0.2s;
	box-shadow: 0 2px 8px rgba(171, 141, 68, 0.1);
	cursor: pointer;
}

.footer-social-icon:hover {
	background: #ab8d44;
}

.footer-row {
	display: flex;
	align-items: center;
	max-width: 1600px;
	margin: 0 auto;
	padding: 1.5rem 2.5rem 0 2.5rem;
	box-sizing: border-box;
}

.footer-regulatory {
	border-bottom: 2px solid #ab8d44;
	padding-bottom: 1.5rem;
	flex-wrap: wrap;
	gap: 2.5rem;
}

.footer-regulatory-text {
	margin-top: 2rem;
	flex: 1 1 400px;
	color: #fff;
	font-size: 1.05rem;
	line-height: 1.6;
	font-family: 'Crimson Text', serif;
}

.footer-bottom {
	justify-content: space-between;
	align-items: flex-end;
	padding-top: 2.5rem;
	padding-bottom: 1.5rem;
	font-size: 1.1rem;
	color: #fff;
	flex-wrap: wrap;
	gap: 1.5rem;
}

.footer-logo img {
	height: 80px;
	width: auto;
	display: block;
}

.footer-bottom-links {
	color: #fff;
	font-size: 1.1rem;
	font-family: 'Segoe UI', Arial, sans-serif;
	margin: 0 2rem;
	text-align: center;
}

.footer-bottom-links a {
	color: #fff;
	font-size: 1.1rem;
	font-family: 'Segoe UI', Arial, sans-serif;
	border-bottom: 2px solid #ab8d44;
	padding-bottom: 2px;
	text-decoration: none;
	transition: border-color 0.2s, color 0.2s;
}

.footer-bottom-links a:hover {
	border-color: #ffe7a0;
	color: #ffe7a0;
}

.footer-credit {
	color: #ab8d44;
	font-size: 1.15rem;
	font-family: 'Crimson Text', serif;
	text-align: right;
	margin-left: auto;
	letter-spacing: 0.04em;
	font-weight: 600;
	background: linear-gradient(90deg, #fffbe7 0%, #ffe7a0 100%);
	padding: 0.5em 1.2em;
	border-radius: 12px 12px 0 0;
	box-shadow: 0 2px 8px rgba(171, 141, 68, 0.1);
	display: inline-block;
	margin-top: 0.5em;
	margin-bottom: -1.7rem;
	transition: background 0.3s, color 0.3s;
}

.footer-credit a {
	color: #18321a;
	font-weight: 700;
	text-decoration: underline;
	transition: color 0.2s;
}

.footer-credit a:hover {
	color: #ab8d44;
}

.footer-sra-badge {
	max-width: 275px;
	max-height: 163px;
	min-width: 180px;
	min-height: 100px;
	width: 100%;
	margin-right: 2.5rem;
	background: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
}

.footer-sra-badge > div {
	position: relative;
	width: 100%;
	padding-bottom: 59.1%;
	height: 0;
	overflow: hidden;
}

.footer-sra-badge iframe {
	border: 0;
	margin: 0;
	padding: 0;
	background: transparent;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	min-height: 100px;
	min-width: 180px;
	display: block;
}

.footer-row.footer-regulatory {
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 2.5rem;
	overflow: visible;
}

@media (max-width: 900px) {
	.footer-sra-badge {
		margin-right: 0;
		margin-bottom: 1.2rem;
		max-width: 100%;
	}
	.footer-row.footer-regulatory {
		flex-direction: column;
		gap: 1.2rem;
	}
}

@media (max-width: 1100px) {
	.footer-columns {
		flex-direction: column;
		gap: 1.5rem;
		padding: 0 1.2rem 2rem 1.2rem;
	}
	.footer-row {
		flex-direction: column;
		gap: 1.2rem;
		padding: 1.2rem 1.2rem 0 1.2rem;
	}
	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 1.2rem;
		padding-top: 1.2rem;
		padding-bottom: 1.2rem;
	}
	.footer-logo img {
		height: 60px;
	}
}

@media (max-width: 768px) {
	/* Tighten footer spacing on mobile */
	.footer-main {
		padding: 0.75rem 0 0 0;
	}

	.footer-columns {
		padding-left: 0.85rem;
		padding-right: 0.85rem;
		padding-bottom: 0.75rem;
		gap: 0.45rem;
	}

	.footer-row {
		padding-left: 0.85rem;
		padding-right: 0.85rem;
		gap: 0.45rem;
	}

	/* Center footer content on mobile */
	.footer-col {
		flex: 0 0 auto;
		min-width: 0;
		text-align: center;
		margin-bottom: 0;
		font-size: 0.98rem;
		line-height: 1.35;
	}

	.address-col {
		font-size: 1rem;
	}

	.address-col div {
		margin-top: 0 !important;
	}

	.address-col div + div {
		margin-top: 0.5rem !important;
	}

	.nav-col,
	.connect-col {
		margin-top: 0.2rem;
	}

	.nav-col div,
	.services-col div,
	.footer-service-link {
		margin-bottom: 0.12em;
		font-size: 0.98rem;
		line-height: 1.25;
	}

	.footer-service-link {
		text-align: center;
		width: 100%;
	}

	/* Keep only core footer sections on mobile */
	.services-col,
	.footer-logo,
	.footer-credit {
		display: none;
	}

	.footer-connect-title {
		font-size: 1.1rem;
		margin-bottom: 0.35rem;
		letter-spacing: 0.03em;
	}

	.footer-social-icons {
		justify-content: center;
		gap: 0.55rem;
		margin-top: 0.1rem;
	}

	.footer-social-icon {
		width: 38px;
		height: 38px;
		padding: 0.25rem;
	}

	.footer-sra-badge {
		flex: 0 0 auto;
		max-width: 180px;
		min-width: 150px;
		min-height: 84px;
		margin-bottom: 0.15rem;
	}

	.footer-regulatory-text {
		flex: 0 0 auto;
		margin-top: 0;
		font-size: 0.88rem;
		line-height: 1.35;
	}

	.footer-bottom {
		align-items: center;
		text-align: center;
		gap: 0.3rem;
		padding-top: 0.6rem;
		padding-bottom: 0.7rem;
	}

	.footer-bottom-links {
		margin: 0;
		text-align: center;
		font-size: 0.92rem;
	}

	.footer-bottom-links a {
		font-size: 0.92rem;
	}

	.footer-bottom-sep {
		margin: 0 0.35rem;
	}

	.footer-credit {
		margin-left: 0;
		margin-bottom: 0;
		border-radius: 12px;
	}
}

@media (max-width: 700px) {
	.footer-main {
		padding: 0.7rem 0 0 0;
	}
	.footer-columns {
		padding: 0 0.5rem 0.7rem 0.5rem;
	}
	.footer-row {
		padding: 0.7rem 0.5rem 0 0.5rem;
	}
	.footer-bottom {
		padding-top: 0.55rem;
		padding-bottom: 0.65rem;
	}
}

/* Footer service buttons are buttons (not divs) */
.footer-service-link {
	background: none;
	border: none;
	color: #fff;
	font-family: 'Crimson Text', serif;
	font-size: 1.15rem;
	text-align: left;
	padding: 0;
	margin: 0 0 0.3em 0;
	cursor: pointer;
	transition: color 0.2s;
}

.footer-service-link:hover {
	color: #ab8d44;
}

.footer-bottom-sep {
	margin: 0 0.6rem;
	color: #ab8d44;
}

/* Cookie banner (site-wide) */
.cookie-banner {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 20000;
	padding: 1rem;
	box-sizing: border-box;
}

.cookie-banner[hidden] {
	display: none;
}

.cookie-banner__panel {
	max-width: 1120px;
	margin: 0 auto;
	background: rgba(1, 39, 14, 0.98);
	color: #fff;
	border: 1px solid rgba(171, 141, 68, 0.55);
	border-top: 4px solid #ab8d44;
	border-radius: 16px;
	box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
	overflow: hidden;
}

.cookie-banner__content {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem 1.25rem;
	padding: 1rem 1.25rem;
}

.cookie-banner__text {
	flex: 1 1 380px;
	min-width: 260px;
}

.cookie-banner__title {
	font-family: 'Crimson Text', serif;
	font-size: 1.6rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	margin: 0 0 0.25rem 0;
}

.cookie-banner__desc {
	margin: 0;
	font-family: 'Segoe UI', Arial, sans-serif;
	font-size: 1rem;
	line-height: 1.55;
	opacity: 0.95;
}

.cookie-banner__desc a {
	color: #ffe7a0;
	text-decoration: underline;
	text-decoration-color: rgba(255, 231, 160, 0.7);
}

.cookie-banner__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.75rem;
	flex: 0 1 auto;
}

.cookie-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.65rem 1rem;
	border-radius: 12px;
	font-family: 'Segoe UI', Arial, sans-serif;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	cursor: pointer;
	user-select: none;
	transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, color 0.12s ease;
}

.cookie-btn:focus-visible {
	outline: 3px solid rgba(255, 231, 160, 0.9);
	outline-offset: 2px;
}

.cookie-btn--primary {
	background: #ab8d44;
	color: #01270e;
	border: 1px solid #ab8d44;
	box-shadow: 0 6px 18px rgba(171, 141, 68, 0.25);
}

.cookie-btn--secondary {
	background: transparent;
	color: #ffffff;
	border: 1px solid rgba(171, 141, 68, 0.9);
}

.cookie-btn--link {
	background: transparent;
	color: #ffe7a0;
	border: none;
	padding: 0.65rem 0.25rem;
	text-decoration: underline;
	text-decoration-color: rgba(255, 231, 160, 0.7);
}

.cookie-btn:hover {
	transform: translateY(-1px);
}

.cookie-banner__prefs {
	border-top: 1px solid rgba(171, 141, 68, 0.35);
	padding: 0.9rem 1.25rem 1.1rem 1.25rem;
	display: none;
}

.cookie-banner--prefs-open .cookie-banner__prefs {
	display: block;
}

.cookie-prefs-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem 1.25rem;
	align-items: start;
}

.cookie-pref {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
	font-family: 'Segoe UI', Arial, sans-serif;
	font-size: 0.95rem;
	line-height: 1.35;
}

.cookie-pref input {
	margin-top: 0.25rem;
	width: 18px;
	height: 18px;
}

.cookie-pref small {
	display: block;
	opacity: 0.85;
	margin-top: 0.15rem;
}

.cookie-banner__prefs-actions {
	margin-top: 0.9rem;
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
	justify-content: flex-end;
}

@media (max-width: 768px) {
	.cookie-banner {
		padding: 0.75rem;
	}

	.cookie-banner__content {
		padding: 0.9rem 1rem;
	}

	.cookie-banner__title {
		font-size: 1.35rem;
	}

	.cookie-banner__actions {
		justify-content: flex-start;
	}

	.cookie-prefs-grid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cookie-banner * {
		transition: none !important;
	}
}
