:root {
	--ad-font-scale: 1;
	--ad-navy: #242f40;
	--ad-gold: #8f6900;
	--ad-focus: #0b57d0;
	--ad-surface: #ffffff;
	--ad-border: #d8dde5;
	--ad-text: #1c1c1c;
}

.elementor-widget-posts .elementor-post__meta-data .elementor-post-date {
	color: #595959 !important;
}

.elementor-widget-posts .elementor-post__excerpt p {
	color: #666666 !important;
}

.elementor-swiper-button:focus-visible {
	outline: 3px solid var(--ad-focus);
	outline-offset: 4px;
}

html {
	font-size: calc(93.75% * var(--ad-font-scale)) !important;
}

[hidden] {
	display: none !important;
}

.ad-accessibility-bar {
	position: relative;
	z-index: 1001;
	background: var(--ad-navy);
	color: #ffffff;
}

.ad-accessibility-bar__inner {
	display: flex;
	justify-content: flex-end;
	min-height: 42px;
	position: relative;
}

.ad-accessibility-launcher {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	min-height: 42px;
	padding: 0.45rem 0.8rem;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #ffffff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.ad-accessibility-launcher:hover,
.ad-accessibility-launcher:focus-visible {
	background: #ffffff;
	color: var(--ad-navy);
}

.ad-accessibility-launcher svg {
	fill: currentColor;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ad-accessibility-panel {
	position: absolute;
	top: calc(100% + 10px);
	right: 20px;
	width: min(390px, calc(100vw - 32px));
	padding: 1.25rem;
	border: 1px solid var(--ad-border);
	border-radius: 14px;
	background: var(--ad-surface);
	box-shadow: 0 18px 50px rgba(17, 28, 45, 0.22);
	color: var(--ad-text);
	text-align: left;
}

.ad-panel-heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
}

.ad-panel-heading h2,
body .ad-panel-heading h2 {
	margin: 0;
	font-size: 1.25rem;
	line-height: 1.35;
	color: inherit;
}

.ad-icon-button {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--ad-border);
	border-radius: 50%;
	background: #ffffff;
	color: var(--ad-navy);
	font: 700 1.55rem/1 sans-serif;
	cursor: pointer;
}

.ad-accessibility-control {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 1.1rem;
	font-weight: 600;
}

.ad-text-size-buttons {
	display: flex;
	align-items: center;
	gap: 0.45rem;
}

.ad-text-size-buttons button,
.ad-setting-toggle,
.ad-reset-button {
	min-height: 44px;
	border: 1px solid var(--ad-border);
	border-radius: 9px;
	background: #ffffff;
	color: var(--ad-navy);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.ad-text-size-buttons button {
	min-width: 48px;
	padding: 0.55rem 0.7rem;
}

.ad-text-size-buttons button:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.ad-text-size-buttons output {
	min-width: 56px;
	text-align: center;
}

.ad-setting-toggle {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	width: 100%;
	margin-top: 0.75rem;
	padding: 0.7rem 0.85rem;
	text-align: left;
}

.ad-setting-toggle[aria-pressed="true"] {
	border-color: var(--ad-navy);
	background: var(--ad-navy);
	color: #ffffff;
}

.ad-setting-toggle__icon {
	display: inline-grid;
	place-items: center;
	min-width: 32px;
	font-weight: 700;
}

.ad-reset-button {
	width: 100%;
	margin-top: 1rem;
	padding: 0.7rem 0.85rem;
}

.ad-accessibility-panel button:focus-visible,
.ad-accessibility-launcher:focus-visible,
.ad-cookie-banner button:focus-visible,
.ad-cookie-banner a:focus-visible,
.ad-footer-legal a:focus-visible,
.ad-footer-legal button:focus-visible,
.ad-policy a:focus-visible {
	outline: 3px solid var(--ad-focus) !important;
	outline-offset: 3px !important;
}

.ad-footer-legal {
	padding: 1rem 20px;
	border-top: 1px solid var(--ad-border);
	background: #ffffff;
	color: var(--ad-text);
}

.ad-footer-legal nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.65rem 1.25rem;
	text-align: center;
}

body footer .ad-footer-legal a,
.ad-footer-legal button {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--ad-navy);
	font: inherit;
	font-weight: 600;
	text-decoration: underline !important;
	text-underline-offset: 0.18em;
	cursor: pointer;
}

.ad-cookie-banner {
	position: fixed;
	left: 50%;
	bottom: 22px;
	z-index: 2000000001;
	width: min(760px, calc(100vw - 32px));
	max-height: calc(100vh - 44px);
	overflow: auto;
	transform: translateX(-50%);
	padding: 1.25rem;
	border: 1px solid var(--ad-border);
	border-radius: 16px;
	background: #ffffff;
	box-shadow: 0 22px 70px rgba(17, 28, 45, 0.3);
	color: var(--ad-text);
	text-align: left;
}

.ad-cookie-banner p {
	margin: 0.65rem 0 0;
	color: inherit;
	line-height: 1.6;
}

.ad-cookie-policy-link,
.ad-policy a,
.ad-form-privacy-notice a,
.ad-newsletter-privacy-notice a {
	color: #654a00 !important;
	font-weight: 600;
	text-decoration: underline !important;
	text-underline-offset: 0.18em;
}

.ad-consent-actions {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.75rem;
	margin-top: 1rem;
}

.ad-consent-actions button,
.ad-consent-save {
	min-height: 48px;
	padding: 0.7rem 1rem;
	border: 2px solid var(--ad-navy);
	border-radius: 10px;
	background: var(--ad-navy);
	color: #ffffff;
	font: inherit;
	font-weight: 700;
	line-height: 1.25;
	cursor: pointer;
}

.ad-consent-actions button:nth-child(1),
.ad-consent-actions button:nth-child(2) {
	background: var(--ad-navy);
	color: #ffffff;
}

.ad-consent-actions .ad-consent-settings {
	background: #ffffff;
	color: var(--ad-navy);
}

.ad-cookie-preferences {
	margin-top: 1rem;
	padding-top: 0.25rem;
	border-top: 1px solid var(--ad-border);
}

.ad-cookie-category {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.85rem 0;
	border-bottom: 1px solid var(--ad-border);
}

.ad-cookie-category strong,
.ad-cookie-category span {
	display: block;
}

.ad-cookie-category span {
	margin-top: 0.15rem;
	font-size: 0.9rem;
	line-height: 1.45;
}

.ad-switch {
	position: relative;
	flex: 0 0 auto;
	width: 54px;
	height: 30px;
}

.ad-switch input {
	position: absolute;
	opacity: 0;
}

.ad-switch > span:last-child {
	position: absolute;
	inset: 0;
	margin: 0;
	border: 2px solid #59616e;
	border-radius: 999px;
	background: #ffffff;
	cursor: pointer;
}

.ad-switch > span:last-child::after {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #59616e;
	content: '';
	transition: transform 0.15s ease;
}

.ad-switch input:checked + span {
	border-color: var(--ad-navy);
	background: var(--ad-navy);
}

.ad-switch input:checked + span::after {
	background: #ffffff;
	transform: translateX(24px);
}

.ad-switch input:focus-visible + span {
	outline: 3px solid var(--ad-focus);
	outline-offset: 3px;
}

.ad-switch input:disabled + span {
	opacity: 0.65;
	cursor: not-allowed;
}

.ad-consent-save {
	width: 100%;
	margin-top: 0.85rem;
}

.ad-form-privacy-notice,
.ad-newsletter-privacy-notice {
	font-size: 0.82rem;
	line-height: 1.55;
}

/* External video is activated only after the visitor requests it. */
.ad-private-embed {
	display: grid;
	min-height: 280px;
	place-items: center;
	padding: 2rem;
	background: #f2f4f7;
	border: 1px solid #cfd5dd;
	border-radius: 8px;
	text-align: center;
}

.ad-private-embed__content {
	max-width: 620px;
}

.ad-private-embed__title,
.ad-private-embed__description,
.ad-private-embed__actions {
	display: block;
}

.ad-private-embed__title {
	margin-bottom: .55rem;
}

.ad-private-embed__description {
	margin-bottom: .75rem;
}

.ad-private-embed__icon {
	display: inline-grid;
	width: 3.25rem;
	height: 3.25rem;
	place-items: center;
	margin-bottom: .5rem;
	border-radius: 50%;
	background: #142c47;
	color: #fff;
}

.ad-private-embed button,
.ad-private-embed a {
	display: inline-block;
	margin: .35rem;
}

.ad-private-embed button {
	padding: .7rem 1rem;
	border: 2px solid #142c47;
	border-radius: 4px;
	background: #142c47;
	color: #fff;
	cursor: pointer;
}

.ad-private-embed-frame,
.wp-block-embed iframe {
	width: 100%;
	max-width: 100%;
	border: 0;
}

.ad-private-embed-frame {
	aspect-ratio: 16 / 9;
}

/* Astra sizes every oEmbed descendant like an iframe; restore normal layout
 * inside the consent placeholder while keeping the placeholder in the frame. */
body .ast-oembed-container > .ad-private-embed {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

body .ast-oembed-container .ad-private-embed * {
	position: static;
	top: auto;
	right: auto;
	bottom: auto;
	left: auto;
	width: auto;
	height: auto;
}

body .ast-oembed-container .ad-private-embed__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .35rem;
}

.ad-form-privacy-notice {
	margin: 0.75rem 0 0;
}

body .ad-newsletter-privacy-notice {
	max-width: 620px;
	margin: 0.55rem auto 0;
	color: inherit;
	text-align: center;
}

.ad-policy {
	max-width: 980px;
	margin: 0 auto;
	font-size: 1rem;
	line-height: 1.75;
}

.ad-policy .ad-policy-lead {
	padding: 1.15rem 1.25rem;
	border-left: 5px solid var(--ad-gold);
	border-radius: 0 10px 10px 0;
	background: #f5f6f8;
}

.ad-policy h2,
body .entry-content .ad-policy h2 {
	margin: 2.2rem 0 0.8rem;
	font-size: 1.65rem;
	line-height: 1.3;
}

.ad-policy h3,
body .entry-content .ad-policy h3 {
	margin: 1.5rem 0 0.55rem;
	font-size: 1.15rem;
	line-height: 1.4;
}

.ad-policy ul {
	margin: 0.7rem 0 1rem 1.25rem;
}

.ad-policy-table-wrap {
	overflow-x: auto;
	margin: 1rem 0 1.5rem;
	border: 1px solid var(--ad-border);
	border-radius: 10px;
}

.ad-policy table {
	width: 100%;
	min-width: 720px;
	margin: 0;
	border: 0;
	border-collapse: collapse;
}

.ad-policy th,
.ad-policy td {
	padding: 0.8rem;
	border: 0;
	border-bottom: 1px solid var(--ad-border);
	vertical-align: top;
	text-align: left;
}

.ad-policy th {
	background: var(--ad-navy);
	color: #ffffff;
	font-weight: 700;
}

.ad-policy tr:last-child td {
	border-bottom: 0;
}

.ad-policy-meta {
	color: #4b5563;
	font-size: 0.9rem;
}

.ad-open-cookie-settings {
	min-height: 46px;
	padding: 0.7rem 1.1rem;
	border: 2px solid var(--ad-navy);
	border-radius: 9px;
	background: var(--ad-navy);
	color: #ffffff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

html.ad-readable body,
html.ad-readable button,
html.ad-readable input,
html.ad-readable select,
html.ad-readable textarea {
	font-family: Arial, Helvetica, sans-serif !important;
}

html.ad-readable body p,
html.ad-readable body li,
html.ad-readable body label,
html.ad-readable body input,
html.ad-readable body textarea {
	line-height: 1.85 !important;
	letter-spacing: 0.015em !important;
	word-spacing: 0.04em !important;
}

html.ad-readable body a:not(.elementor-button):not(.button):not(.wp-element-button) {
	text-decoration: underline !important;
	text-underline-offset: 0.18em !important;
}

html.ad-readable *,
html.ad-readable *::before,
html.ad-readable *::after {
	animation-duration: 0.01ms !important;
	animation-iteration-count: 1 !important;
	scroll-behavior: auto !important;
	transition-duration: 0.01ms !important;
}

html.ad-readable .elementor-invisible,
html.ad-readable .ast-article-post.post {
	opacity: 1 !important;
	transform: none !important;
}

html.ad-high-contrast body,
html.ad-high-contrast #page,
html.ad-high-contrast .site-content,
html.ad-high-contrast .site-header,
html.ad-high-contrast .site-footer,
html.ad-high-contrast .elementor-section,
html.ad-high-contrast .elementor-column,
html.ad-high-contrast .elementor-widget-wrap,
html.ad-high-contrast .elementor-widget-container,
html.ad-high-contrast .ast-container,
html.ad-high-contrast article,
html.ad-high-contrast .ad-footer-legal,
html.ad-high-contrast .ad-accessibility-panel,
html.ad-high-contrast .ad-cookie-banner {
	background-color: #000000 !important;
	background-image: none !important;
	color: #ffffff !important;
}

html.ad-high-contrast body :is(h1, h2, h3, h4, h5, h6, p, li, label, span, strong, em, blockquote, td) {
	color: #ffffff !important;
}

html.ad-high-contrast body a,
html.ad-high-contrast body .ad-cookie-policy-link,
html.ad-high-contrast body .ad-policy a {
	color: #ffe500 !important;
	text-decoration: underline !important;
}

html.ad-high-contrast body button,
html.ad-high-contrast body input,
html.ad-high-contrast body select,
html.ad-high-contrast body textarea,
html.ad-high-contrast .ad-setting-toggle,
html.ad-high-contrast .ad-reset-button,
html.ad-high-contrast .ad-icon-button {
	border-color: #ffffff !important;
	background: #000000 !important;
	color: #ffffff !important;
}

html.ad-high-contrast .custom-logo {
	filter: grayscale(1) brightness(0) invert(1) !important;
}

html.ad-high-contrast .ad-policy .ad-policy-lead,
html.ad-high-contrast .ad-policy th {
	border-color: #ffe500 !important;
	background: #000000 !important;
	color: #ffffff !important;
}

html.ad-high-contrast .ad-accessibility-bar {
	border-bottom: 1px solid #ffffff;
	background: #000000;
}

@media (max-width: 680px) {
	.ad-consent-actions {
		grid-template-columns: 1fr;
	}

	.ad-cookie-banner {
		bottom: 10px;
		width: calc(100vw - 20px);
		max-height: calc(100vh - 20px);
	}

	.ad-accessibility-panel {
		right: 8px;
	}

	.ad-accessibility-control {
		align-items: flex-start;
		flex-direction: column;
	}

	.ad-text-size-buttons {
		width: 100%;
		justify-content: space-between;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
