/**
 * Site chrome additions (revision 2026-10-09), loaded on every page:
 * - language flags drawn as inline SVG (emoji flags render as "TR" letters on Windows);
 * - the fuller footer: brand · programmes · corporate · contact, bottom bar with KVKK and the year.
 * The footer keeps the original Footer module classes (assets/next) for colours and typography;
 * only the grid and the new pieces are styled here.
 */

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ---- Language flags -------------------------------------------------------------------------- */

.LanguageSwitcher-module__43PcSG__flag:has(> .ep-flag) {
	display: inline-flex;
	align-items: center;
	line-height: 0;
}

.ep-flag {
	display: block;
	flex: none;
	width: 21px;
	height: 14px;
	border-radius: 2px;
	box-shadow: 0 0 0 1px #0000001f;
}

/* ---- Footer ---------------------------------------------------------------------------------- */

.ep-footer-grid {
	row-gap: 40px;
}

.ep-footer-logo {
	display: inline-block;
	width: fit-content;
	margin-bottom: 8px;
	border-radius: 4px;
}

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

.ep-footer-brand p {
	max-width: 340px;
	font-size: 15px;
	line-height: 24px;
}

.ep-footer-brand [class*="__socialIcons"] {
	margin-top: 12px;
}

.ep-footer-contact-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 4px 0 8px;
	padding: 0;
	list-style: none;
}

.ep-footer-contact-list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	color: var(--color-surface-variant);
	font-family: var(--font-regular);
	font-size: 15px;
	line-height: 22px;
}

.ep-footer-contact-list li > :not(.ep-footer-contact-icon) {
	opacity: 0.85;
}

.ep-footer-contact-list a {
	color: inherit;
	text-decoration: none;
	font-variant-numeric: lining-nums;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.ep-footer-contact-list a:hover {
	color: var(--color-white);
	opacity: 1;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.material-symbols-outlined.ep-footer-contact-icon,
svg.ep-footer-contact-icon {
	flex: none;
	width: 20px;
	height: 20px;
	margin-top: 1px;
	color: var(--color-secondary-container);
	font-size: 20px;
	line-height: 20px;
}

/* Bottom bar: KVKK notice on the left, copyright (with the year, clearly legible) in the corner. */
.ep-footer-bottom {
	flex-wrap: wrap;
}

.ep-footer-legal {
	padding: 4px 0;
	border: 0;
	background: none;
	color: var(--color-surface-variant);
	cursor: pointer;
	font-family: var(--font-regular);
	font-size: 13px;
	line-height: 20px;
	opacity: 0.75;
	transition: opacity 0.2s ease, color 0.2s ease;
}

.ep-footer-legal:hover {
	color: var(--color-white);
	opacity: 1;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ep-footer-copyright {
	font-size: 13px;
	line-height: 20px;
	font-variant-numeric: lining-nums tabular-nums;
	opacity: 0.75;
}

.ep-footer [class*="__columnLink"]:focus-visible,
.ep-footer-legal:focus-visible,
.ep-footer-contact-list a:focus-visible,
.ep-footer-logo:focus-visible {
	outline: 2px solid var(--color-white);
	outline-offset: 2px;
	border-radius: 2px;
}

@media (min-width: 640px) {
	.Footer-module__668lQW__container.ep-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 40px;
	}
}

@media (min-width: 1024px) {
	.Footer-module__668lQW__container.ep-footer-grid {
		grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 1.3fr);
		column-gap: 48px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ep-footer-contact-list a,
	.ep-footer-legal {
		transition: none;
	}
}
