body #footer .tm-sc-simple-nav-menu li.ott-akordeon {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto 0fr;
	align-content: start;
	column-gap: 10px;
	transition: grid-template-rows .35s cubic-bezier(.4, 0, .2, 1);
}

body #footer .tm-sc-simple-nav-menu li.ott-akordeon > a {
	grid-column: 1;
	grid-row: 1;
	min-width: 0;
}

body #footer .tm-sc-simple-nav-menu li.ott-akordeon > .ott-akordeon-przycisk {
	grid-column: 2;
	grid-row: 1;
	align-self: center;
	justify-self: start;
}

body #footer .tm-sc-simple-nav-menu li.ott-akordeon > .sub-menu {
	grid-column: 1 / -1;
	grid-row: 2;
	align-self: stretch;
	min-height: 0;
	overflow: hidden;
	visibility: hidden;
	opacity: 0;
	margin: 0;
	padding: 0;
	transition: opacity .25s ease, visibility 0s linear .35s;
}

body #footer .tm-sc-simple-nav-menu li.ott-akordeon-otwarte {
	grid-template-rows: auto 1fr;
}

body #footer .tm-sc-simple-nav-menu li.ott-akordeon-otwarte > .sub-menu {
	visibility: visible;
	opacity: 1;
	transition: opacity .3s ease .05s, visibility 0s linear 0s;
}

body #footer .tm-sc-simple-nav-menu .ott-akordeon-przycisk {
	position: relative;
	display: block;
	width: 24px;
	height: 24px;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 1.5px solid var(--theme-color1);
	border-radius: 50%;
	background: transparent;
	color: var(--theme-color1);
	box-shadow: none;
	line-height: 0;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease;
}

body #footer .tm-sc-simple-nav-menu .ott-akordeon-przycisk::after {
	content: "";
	position: absolute;
	inset: -10px;
}

body #footer .tm-sc-simple-nav-menu .ott-akordeon-przycisk:hover {
	background: rgba(91, 136, 178, .18);
	color: var(--theme-color1);
}

body #footer .tm-sc-simple-nav-menu .ott-akordeon-przycisk:focus-visible {
	outline: 2px solid var(--theme-color1);
	outline-offset: 2px;
}

body #footer .tm-sc-simple-nav-menu .ott-akordeon-przycisk[aria-expanded="true"] {
	background: var(--theme-color1);
	color: #fff;
}

body #footer .tm-sc-simple-nav-menu .ott-akordeon-ikona {
	position: absolute;
	inset: 0;
	width: 7px;
	height: 7px;
	margin: auto;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-1.5px) rotate(45deg);
	transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}

body #footer .tm-sc-simple-nav-menu .ott-akordeon-przycisk[aria-expanded="true"] .ott-akordeon-ikona {
	transform: translateY(1.5px) rotate(225deg);
}

@media (prefers-reduced-motion: reduce) {
	body #footer .tm-sc-simple-nav-menu li.ott-akordeon,
	body #footer .tm-sc-simple-nav-menu li.ott-akordeon > .sub-menu,
	body #footer .tm-sc-simple-nav-menu .ott-akordeon-ikona {
		transition: none;
	}
}
