/* Cookie-Banner (inc/consent.php). Sva tri dugmeta su vizuelno ista (bez "nudginga"). */
.mh-consent[hidden] { display: none !important; }
.mh-consent {
	position: fixed; z-index: 999999; left: 24px; bottom: 24px;
	width: min(520px, calc(100vw - 32px));
	font-family: Montserrat, "Helvetica Neue", Arial, sans-serif; font-size: 14px; line-height: 1.55; color: #1a1a1a;
}
#mh-consent .mh-consent__box * { font-family: inherit; }
#mh-consent .mh-consent__title { font-family: "Cormorant SC", Georgia, serif; font-size: 22px; letter-spacing: .02em; }
.mh-consent__box {
	background: #fff; border: 1px solid #d9d3c7; box-shadow: 0 10px 40px rgba(0, 0, 0, .18);
	padding: 24px; max-height: calc(100vh - 48px); overflow-y: auto;
}
.mh-consent__title { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.mh-consent__text { margin: 0 0 16px; }
.mh-consent a { color: inherit; text-decoration: underline; }
.mh-consent__prefs { margin: 0 0 16px; }
.mh-consent__prefs fieldset { border: 0; margin: 0; padding: 0; }
.mh-consent__cat { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-top: 1px solid #eee7da; cursor: pointer; }
.mh-consent__cat input { margin-top: 4px; width: 18px; height: 18px; flex: 0 0 auto; accent-color: #1a1a1a; }
.mh-consent__cat input:disabled { cursor: not-allowed; }
.mh-consent__actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
#mh-consent .mh-consent__btn {
	appearance: none; cursor: pointer; margin: 0; padding: 12px 10px; min-height: 44px;
	border: 1px solid #1a1a1a; border-radius: 0; background: #1a1a1a; color: #fff;
	font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: .02em; line-height: 1.2; text-transform: none;
}
#mh-consent .mh-consent__btn:focus { background: #1a1a1a; border-color: #1a1a1a; color: #fff; }
#mh-consent .mh-consent__btn:hover { background: #796f51; border-color: #796f51; color: #fff; }
#mh-consent .mh-consent__btn:focus-visible { outline: 2px solid #796f51; outline-offset: 2px; }
#mh-consent .mh-consent__btn[hidden] { display: none; }
.mh-consent__links { margin: 12px 0 0; font-size: 12px; opacity: .8; }
@media (max-width: 640px) {
	.mh-consent { left: 0; right: 0; bottom: 0; width: 100%; }
	.mh-consent { font-size: 13px; line-height: 1.45; }
	.mh-consent__box { padding: 14px 16px calc(12px + env(safe-area-inset-bottom)); max-height: 85vh; border-left: 0; border-right: 0; }
	#mh-consent .mh-consent__title { font-size: 19px; margin-bottom: 6px; }
	.mh-consent__text { margin-bottom: 12px; }
	.mh-consent__actions { grid-template-columns: 1fr 1fr; }
	#mh-consent .mh-consent__btn { min-height: 44px; padding: 10px 8px; }
	#mh-consent [data-mh-consent="prefs"], #mh-consent [data-mh-consent="save"] { grid-column: 1 / -1; }
	.mh-consent__links { margin-top: 8px; }
}

/* Tabela kolačića na stranici Cookie-Richtlinie. */
.mh-cookie-table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 14px; line-height: 1.45; }
.mh-cookie-table th, .mh-cookie-table td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid #e3ddd1; }
.mh-cookie-table th { font-weight: 700; border-bottom-width: 2px; }
.mh-cookie-table code { font-size: 12px; word-break: break-word; background: none; padding: 0; }
@media (max-width: 640px) {
	.mh-cookie-table thead { display: none; }
	.mh-cookie-table, .mh-cookie-table tbody, .mh-cookie-table tr, .mh-cookie-table td { display: block; width: 100%; }
	.mh-cookie-table tr { padding: 10px 0; border-bottom: 1px solid #e3ddd1; }
	.mh-cookie-table td { border: 0; padding: 2px 0; }
	.mh-cookie-table td:nth-child(2)::before { content: "Anbieter: "; font-weight: 600; }
	.mh-cookie-table td:nth-child(4)::before { content: "Dauer: "; font-weight: 600; }
	.mh-cookie-table td:nth-child(5)::before { content: "Kategorie: "; font-weight: 600; }
}
