/* Dostopnost (ZDSMA), piškotki, vdelane vsebine – enako kot na ostalih spletiščih ŠCNG, prilagojeno glavi MIC */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.a11y {
	position: relative;
	flex: none;
	margin-left: 0.75rem;
}
.a11y__btn {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: #1C4BAD;
	color: #fff;
	cursor: pointer;
}
.a11y__btn:hover,
.a11y__btn[aria-expanded="true"] {
	background: #143A8A;
}
.a11y__btn:focus-visible,
.a11y__panel :focus-visible,
.cookie-note :focus-visible {
	outline: 3px solid #EE7B28;
	outline-offset: 2px;
}
.a11y__panel {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	z-index: 1000;
	width: min(20rem, calc(100vw - 2rem));
	max-height: calc(100vh - 9rem);
	overflow: auto;
	padding: 1rem 1.1rem;
	border: 2px solid #1C4BAD;
	border-radius: 8px;
	background: #fff;
	color: #111;
	font-size: 16px;
	box-shadow: 0 10px 30px rgb(0 0 0 / 0.3);
}
.a11y__panel p {
	margin: 0;
}
.a11y__title {
	padding-bottom: 0.75rem;
	font-weight: 800;
	font-size: 1.05rem;
	line-height: 1.3;
	text-align: center;
}
.a11y__group {
	padding: 0.85rem 0;
	border-top: 1px solid #d5d9de;
}
.a11y__label {
	margin-bottom: 0.5rem !important;
	font-weight: 700;
}
.a11y__row {
	display: flex;
	justify-content: space-between;
	gap: 0.5rem;
}
.a11y__panel button,
.a11y__panel a {
	font: inherit;
	color: #111;
	cursor: pointer;
}
.a11y__row button,
.a11y__list button {
	padding: 0.45rem 0.7rem;
	border: 1px solid #b9c0c8;
	border-radius: 6px;
	background: #f4f6f8;
}
.a11y__row button:hover,
.a11y__list button:hover {
	background: #e3e8ee;
}
.a11y__list {
	display: grid;
	gap: 0.45rem;
	justify-items: start;
}
.a11y__list button[aria-pressed="true"] {
	background: #1C4BAD;
	border-color: #1C4BAD;
	color: #fff;
}
.a11y__list a {
	text-decoration: underline;
}
.a11y__swatches {
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	gap: 4px;
}
.a11y__swatches button {
	height: 2.2rem;
	border: 1px solid #888;
	border-radius: 4px;
	font-weight: 800;
	font-size: 1.1rem;
}
.a11y__swatches button[aria-pressed="true"] {
	outline: 3px solid #EE7B28;
	outline-offset: 1px;
}


/* Gumb v glavi MIC: krog kot ostale ikone, desno namesto izbire šol */
header.main-header .right .a11y-holder { display: inline-block; float: right; padding-top: 28px; padding-right: 19px; transition: all .4s; }
header.main-header.collapsed .right .a11y-holder { padding-top: 9px; }
header.main-header .a11y__btn { width: 50px; height: 50px; border-radius: 25px; box-sizing: border-box; }
header.main-header .center ul.header-icons li.a11y-li { border: 0; overflow: visible; }
header.main-header .center ul.header-icons li.a11y-li .a11y__btn { width: 100%; height: 100%; }
.a11y__panel { position: fixed; top: 112px; right: 16px; z-index: 9700; }
header.main-header.collapsed ~ .a11y__panel { top: 76px; }
@media (max-width: 768px) { .a11y__panel { top: 82px; right: 8px; } }

/* Velikost pisave: stara tema ima velikosti v pikslih, zato se poveča vsebina (glava ostane) */
html[data-velikost="1"] #main-container, html[data-velikost="1"] footer.footer { zoom: 1.125; }
html[data-velikost="2"] #main-container, html[data-velikost="2"] footer.footer { zoom: 1.25; }
html[data-velikost="3"] #main-container, html[data-velikost="3"] footer.footer { zoom: 1.375; }
html[data-velikost="4"] #main-container, html[data-velikost="4"] footer.footer { zoom: 1.5; }
html[data-velikost] .header-drop { zoom: 1; }

/* Podčrtane povezave, debelejša pisava */
html.a11y-podcrtaj a {
	text-decoration: underline !important;
	text-underline-offset: 0.15em;
}
html.a11y-debelo body {
	font-weight: 600;
}
html.a11y-debelo :where(p, li, a, span, td, th, label, button) {
	font-weight: 700 !important;
}

/* Barvni kontrast: vse besedilo in ozadja v izbranih dveh barvah (slike ostanejo) */
html[data-kontrast="1"] { --kb: #F5EEDC; --kf: #111111; }
html[data-kontrast="2"] { --kb: #002B7F; --kf: #FFE600; }
html[data-kontrast="3"] { --kb: #FFE600; --kf: #111111; }
html[data-kontrast="4"] { --kb: #000000; --kf: #FFFFFF; }
html[data-kontrast="5"] { --kb: #000000; --kf: #3CFF5A; }
html[data-kontrast="6"] { --kb: #000000; --kf: #FFE600; }
html[data-kontrast="7"] { --kb: #000000; --kf: #2EE6E6; }
html[data-kontrast] body,
html[data-kontrast] body *:not(img, svg, svg *, video, iframe, .a11y__swatches button, .a11y__swatches button *) {
	background-color: var(--kb) !important;
	color: var(--kf) !important;
	border-color: var(--kf) !important;
	text-shadow: none !important;
}
html[data-kontrast] a {
	text-decoration: underline !important;
}
/* Besedilo čez fotografije (ploščice, glavna novica) dobi polno ozadje, da je berljivo */
html[data-kontrast] :where(.stile--photo, .news__lead li) :where(h1, h2, h3, p, span, a) {
	background-color: var(--kb) !important;
}
html[data-kontrast] .card__media::after,
html[data-kontrast] .stile::before,
html[data-kontrast] .stile::after {
	opacity: 0 !important;
}


html[data-kontrast] .widget .overlay, html[data-kontrast] #preloader { display: none !important; }

/* ===================================================================
   Obvestilo o piškotkih
   =================================================================== */
.cookie-note {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999;
	background: #1d1f21;
	color: #fff;
	box-shadow: 0 -6px 20px rgb(0 0 0 / 0.25);
}
.cookie-note[hidden] {
	display: none;
}
.cookie-note__in {
	display: flex;
	align-items: center;
	gap: 1.25rem 2rem;
	max-width: 1240px;
	margin: 0 auto;
	padding: 1rem clamp(1rem, 3vw, 2rem);
}
.cookie-note__text {
	flex: 1;
	font-size: 0.875rem;
	line-height: 1.5;
}
.cookie-note__text p {
	margin: 0;
}
.cookie-note__title {
	margin-bottom: 0.3rem !important;
	font-weight: 800;
	font-size: 0.95rem;
}
.cookie-note__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding-left: 2rem;
	border-left: 1px solid rgb(255 255 255 / 0.5);
}
.cookie-note__actions a,
.cookie-note__actions button {
	padding: 0.5rem 0.9rem;
	border: 1px solid #fff;
	border-radius: 4px;
	background: #fff;
	color: #111;
	font: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}
.cookie-note__actions a {
	background: transparent;
	color: #fff;
}
@media (max-width: 700px) {
	.cookie-note__in {
		flex-direction: column;
		align-items: stretch;
	}
	.cookie-note__actions {
		padding-left: 0;
		border-left: 0;
	}
}

/* Vdelane vsebine tretjih ponudnikov */
.embed-ask {
	display: grid;
	place-content: center;
	gap: 0.75rem;
	min-height: 14rem;
	width: 100%;
	padding: 1.5rem;
	border-radius: 8px;
	background: #f2f4f7;
	text-align: center;
}
.embed-ask p {
	margin: 0 !important;
}
.embed-ask__load {
	padding: 0.6rem 1.1rem;
	border: 0;
	border-radius: 999px;
	background: #1C4BAD;
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.cookie-note p, .cookie-note .cookie-note__title { color: #fff; }
