/* Sley Footer v2 — standalone, ei riippuvainen teemasta */

.sley-footer-v2 {
	--sf-bg:          #0e3028;
	--sf-accent:      #bab17d;
	--sf-text:        #ffffff;
	--sf-text-muted:  rgba(255, 255, 255, 0.65);
	--sf-border:      rgba(186, 177, 125, 0.25);
	--sf-max-width:   1200px;
	--sf-gutter:      clamp(1.5rem, 4vw, 3rem);

	background-color: var(--sf-bg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: var(--sf-text);
	font-size: 14px;
	line-height: 1.6;
}

/* ─── Layout ───────────────────────────────────────────────────────────────── */

.sf-inner {
	max-width: var(--sf-max-width);
	margin: 0 auto;
	padding: var(--sf-gutter);
}

.sf-main {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: clamp(2rem, 5vw, 4rem);
	padding-bottom: var(--sf-gutter);
	border-bottom: 1px solid var(--sf-border);
}

@media (max-width: 767px) {
	.sf-main {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}

/* ─── Org / logo ───────────────────────────────────────────────────────────── */

.sf-org {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.sf-logo img {
	display: block;
	max-width: 160px;
	max-height: 60px;
	width: auto;
	height: auto;
}

/* ─── Address ──────────────────────────────────────────────────────────────── */

.sf-address {
	font-style: normal;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	color: var(--sf-text-muted);
	font-size: 13px;
}

.sf-org-name {
	color: var(--sf-accent);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 12px;
}

/* ─── Contact ──────────────────────────────────────────────────────────────── */

.sf-contact {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.sf-contact a {
	color: var(--sf-text-muted);
	text-decoration: none;
	font-size: 13px;
	transition: color 0.15s ease;
}

.sf-contact a:hover,
.sf-contact a:focus-visible {
	color: var(--sf-accent);
}

/* ─── Social ───────────────────────────────────────────────────────────────── */

.sf-social {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.sf-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid var(--sf-border);
	border-radius: 50%;
	color: var(--sf-text-muted);
	text-decoration: none;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.sf-social-link:hover,
.sf-social-link:focus-visible {
	color: var(--sf-accent);
	border-color: var(--sf-accent);
}

.sf-social-link svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex-shrink: 0;
}

/* ─── Navigation ───────────────────────────────────────────────────────────── */

.sf-nav {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(1.5rem, 3vw, 3rem);
}

.sf-nav-col {
	flex: 1 1 140px;
}

.sf-nav-title {
	color: var(--sf-accent);
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	margin: 0 0 0.75rem;
}

.sf-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.sf-nav a {
	color: var(--sf-text-muted);
	text-decoration: none;
	font-size: 13px;
	transition: color 0.15s ease;
}

.sf-nav a:hover,
.sf-nav a:focus-visible {
	color: var(--sf-text);
}

/* ─── Bottom bar ───────────────────────────────────────────────────────────── */

.sf-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 0.5rem 1.5rem;
	padding-top: 1.25rem;
	font-size: 12px;
	color: var(--sf-text-muted);
}

.sf-bottom p {
	margin: 0;
}

.sf-copyright {
	color: var(--sf-text-muted);
}

.sf-bottom-text {
	color: var(--sf-text-muted);
}

/* ─── Focus styles (accessibility) ────────────────────────────────────────── */

.sley-footer-v2 :focus-visible {
	outline: 2px solid var(--sf-accent);
	outline-offset: 3px;
	border-radius: 2px;
}
