/* ArenaPlus Footer – responsive via container queries (adapts to the space it is placed in). */
:root {
	--apft-bg: #fff;
	--apft-text: #2b2b2b;
	--apft-heading: #111;
	--apft-muted: #8a8a8a;
	--apft-link: #ff6b1a;
	--apft-caption: #1d428a;
	--apft-divider: #e6e6e6;
	--apft-social-bg: #f1f1f1;
	--apft-social: #555;
	--apft-social-hover: #ff6b1a;
	--apft-logo-h: 70px;
	--apft-partner-h: 52px;
	--apft-badge-h: 70px;
	--apft-max: 1400px;
	--apft-fs: 13.5px;
}

.apft, .apft * { box-sizing: border-box; }
.apft {
	container-type: inline-size;
	container-name: apft;
	clear: both;
	width: var(--apft-width, 100%);
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding: 40px clamp(16px, 4vw, 48px) 22px;
	background: var(--apft-bg);
	color: var(--apft-text);
	font-size: var(--apft-fs);
	line-height: 1.6;
}
.apft__inner { max-width: var(--apft-max); margin: 0 auto; }
.apft a { color: var(--apft-link); text-decoration: none; }
.apft a:hover { text-decoration: underline; }
.apft p { margin: 0; }
.apft ul { list-style: none; margin: 0; padding: 0; }
.apft img { display: block; max-width: 100%; }

/* ---------- Top: two columns ---------- */
.apft__top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 32px clamp(24px, 3cqi, 40px);
	align-items: start;
}
.apft__brand { margin-bottom: 18px; }
.apft .apft__logo { height: var(--apft-logo-h) !important; width: auto !important; max-width: 100% !important; object-fit: contain; }
.apft__caption { margin-top: 6px !important; color: var(--apft-caption); font-size: 12px; font-weight: 700; line-height: 1.3; }
.apft__about p { margin: 0 0 1.25em; }
.apft__about p:last-child { margin-bottom: 0; }

.apft__right { display: grid; gap: 22px; }
.apft .apft__title {
	margin: 0 0 12px;
	padding: 0;
	color: var(--apft-heading);
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
}
.apft__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 14px clamp(18px, 3cqi, 34px); }
.apft__logos li { margin: 0; }
.apft__logos a { display: block; line-height: 0; }
.apft .apft__partner {
	height: var(--apft-partner-h) !important;
	width: auto !important;
	max-width: 120px !important;
	object-fit: contain;
	transition: filter .25s ease, opacity .25s ease;
}
.apft--gray .apft__partner { filter: grayscale(1); opacity: .65; }
.apft--gray .apft__logos a:hover .apft__partner,
.apft--gray .apft__logos a:focus-visible .apft__partner { filter: none; opacity: 1; }
.apft__partner-text {
	display: inline-flex;
	align-items: center;
	min-height: calc(var(--apft-partner-h) * .7);
	padding: 4px 10px;
	border: 1px dashed var(--apft-divider);
	border-radius: 6px;
	color: var(--apft-muted);
	font-size: 11px;
	line-height: 1.2;
}
.apft__rg p + p { margin-top: 10px; }

.apft__social { display: flex; flex-wrap: wrap; gap: 8px; }
.apft__social a {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--apft-social-bg);
	color: var(--apft-social) !important;
	text-decoration: none !important;
	transition: background-color .2s, color .2s, transform .2s;
}
.apft__social a:hover, .apft__social a:focus-visible { background: var(--apft-social-hover); color: #fff !important; transform: translateY(-2px); }
.apft a:focus-visible { outline: 2px solid var(--apft-link); outline-offset: 2px; }

/* ---------- Bottom bar ---------- */
.apft__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px clamp(16px, 2.5cqi, 48px);
	margin-top: 30px;
	padding: 16px clamp(0px, 2cqi, 40px) 0;
	border-top: 1px solid var(--apft-divider);
}
.apft .apft__badge { height: var(--apft-badge-h) !important; width: auto !important; max-width: 100% !important; object-fit: contain; }
.apft__cell--warn { display: grid; line-height: 1.35; white-space: nowrap; }
@container apft (max-width: 560px) { .apft__cell--warn { white-space: normal; } }
.apft__cell--warn strong { color: var(--apft-heading); font-weight: 500; font-size: 1.02em; letter-spacing: .01em; }
.apft__cell--warn span { color: var(--apft-muted); }
.apft__cell--email a, .apft__cell--phone a { color: var(--apft-text) !important; }

.apft__legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 18px;
	margin-top: 22px;
	color: var(--apft-muted);
	font-size: 11.5px;
	text-align: center;
}
.apft__legal a { color: inherit !important; }

/* ---------- Tablet / narrow areas ---------- */
@container apft (max-width: 900px) {
	.apft__top { grid-template-columns: minmax(0, 1fr); }
	.apft__right { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
	.apft__bottom { justify-content: flex-start; padding-left: 0; padding-right: 0; }
}
/* ---------- Phones ---------- */
@container apft (max-width: 560px) {
	.apft { --apft-partner-h: 40px; --apft-logo-h: 58px; --apft-badge-h: 56px; }
	.apft__right { grid-template-columns: minmax(0, 1fr); }
	.apft__logos { gap: 14px 22px; }
	.apft__bottom { flex-direction: column; justify-content: center; text-align: center; }
	.apft__legal { flex-direction: column; }
}
@supports not (container-type: inline-size) {
	@media (max-width: 900px) {
		.apft__top { grid-template-columns: minmax(0, 1fr); }
		.apft__bottom { justify-content: flex-start; }
	}
	@media (max-width: 560px) {
		.apft__bottom { flex-direction: column; text-align: center; }
	}
}
@media (prefers-reduced-motion: reduce) { .apft * { transition: none !important; } }

/* Elementor template footer: same width options, centred */
.apft-tpl-footer.e-con { margin-left: auto !important; margin-right: auto !important; }
