/* Nashenski Pro cookie banner: fixed, so it moves nothing on the page when it opens. Colours and radius come from Cookies Pro (the owner's or inherited from the site). */
.nashenski-consent[hidden], .nashenski-consent [hidden] { display: none !important; }
.nashenski-consent { --nc-bg: #fff; --nc-fg: #1d2327; --nc-btn: #1d2327; --nc-btn-fg: #fff; --nc-radius: 4px; position: fixed; right: 0; bottom: 0; left: 0; z-index: 999999; display: flex; justify-content: center; padding: 12px; pointer-events: none; }
.nashenski-consent--bottom-left { justify-content: flex-start; }
.nashenski-consent--bottom-right { justify-content: flex-end; }
.nashenski-consent--top { top: 0; bottom: auto; }
.nashenski-consent__box { box-sizing: border-box; width: 100%; max-width: 40rem; max-height: calc(100vh - 24px); overflow: auto; padding: 16px 20px; pointer-events: auto; background: var(--nc-bg); color: var(--nc-fg); border: 1px solid var(--nc-fg); border-radius: calc(var(--nc-radius) * 2); box-shadow: 0 4px 24px rgba(0, 0, 0, .25); font-family: inherit; font-size: 16px; line-height: 1.5; text-align: left; }
.nashenski-consent--cloud .nashenski-consent__box { max-width: 64rem; }
.nashenski-consent--bar { padding: 0; }
.nashenski-consent--bar .nashenski-consent__box { max-width: none; max-height: 80vh; border-width: 1px 0 0; border-radius: 0; }
.nashenski-consent--bar.nashenski-consent--top .nashenski-consent__box { border-width: 0 0 1px; }
.nashenski-consent__box h2 { margin: 0 0 8px; color: inherit; font-size: 1.25em; line-height: 1.3; }
.nashenski-consent__box p { margin: 0 0 12px; color: inherit; }
.nashenski-consent__box a { color: inherit; text-decoration: underline; }
.nashenski-consent__box label, .nashenski-consent__box strong { color: inherit; font-size: inherit; }
.nashenski-consent__choice small { display: block; margin-left: 3.25em; font-size: .875em; }
.nashenski-consent__cat { padding: 8px 0; border-top: 1px solid var(--nc-fg); }
.nashenski-consent__svc { margin-left: 3.25em; font-size: .875em; }
.nashenski-consent__svc p { margin: 0 0 4px; }
.nashenski-consent__svc details { margin: 0 0 8px; overflow-x: auto; }
.nashenski-consent__svc summary { cursor: pointer; }
.nashenski-consent__svc table { width: 100%; margin: 4px 0 0; border-collapse: collapse; color: inherit; background: transparent; font-size: inherit; }
.nashenski-consent__svc th, .nashenski-consent__svc td { padding: 2px 6px 2px 0; border: 0; border-bottom: 1px solid var(--nc-fg); color: inherit; background: transparent; text-align: left; vertical-align: top; }
.nashenski-consent__id { font-size: .875em; }
/* 16px and 1.5em: every switch is at least 24 px tall, the WCAG 2.2 2.5.8 target size, also in the smaller service rows. */
/* Outline and the off knob in the text colour (4.5 to 1 on the box, WCAG 1.4.11); the button colour may sit at 1.5 to 1. */
.nashenski-consent input[role="switch"] { -webkit-appearance: none; appearance: none; position: relative; box-sizing: border-box; width: 2.6em; height: 1.5em; font-size: 16px; margin: 0 .5em 0 0; vertical-align: middle; border: 2px solid var(--nc-fg); border-radius: 1em; background: var(--nc-bg); cursor: pointer; }
.nashenski-consent input[role="switch"]::before { content: ""; position: absolute; top: 2px; left: 2px; width: calc(1.5em - 8px); height: calc(1.5em - 8px); border-radius: 50%; background: var(--nc-fg); transition: transform .15s; }
.nashenski-consent input[role="switch"]:checked { background: var(--nc-btn); }
.nashenski-consent input[role="switch"]:checked::before { background: var(--nc-btn-fg); transform: translateX(1.1em); }
.nashenski-consent input[role="switch"]:disabled { cursor: not-allowed; opacity: .7; }
.nashenski-consent__buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.nashenski-consent__buttons button { flex: 1 1 9rem; min-height: 44px; margin: 0; padding: 8px 12px; background: var(--nc-btn); color: var(--nc-btn-fg); border: 2px solid var(--nc-btn); border-radius: var(--nc-radius); font: inherit; font-weight: 600; cursor: pointer; }
@media (min-width: 48em) {
	.nashenski-consent--cloud .nashenski-consent__box { display: grid; grid-template-columns: 1fr minmax(12rem, auto); column-gap: 24px; }
	.nashenski-consent--cloud .nashenski-consent__box > * { grid-column: 1; }
	.nashenski-consent--cloud .nashenski-consent__buttons { grid-column: 2; grid-row: 1 / span 4; flex-direction: column; align-self: center; }
	.nashenski-consent--cloud .nashenski-consent__buttons button { flex: none; }
}
@media (prefers-reduced-motion: reduce) { .nashenski-consent input[role="switch"]::before { transition: none; } }
.nashenski-consent-open { padding: 0; background: none; border: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.nashenski-consent-footer { margin: 1em 0; text-align: center; }
.nashenski-consent :focus-visible { outline: 3px solid var(--nc-fg); outline-offset: 2px; }
.nashenski-consent-open:focus-visible { outline: 3px solid #2271b1; outline-offset: 2px; }
