/* Public articles — match /historia Elementor posts */

body.ccd-has-articles {
	background-color: #f2faff !important;
}

.ccd-section-app {
	--ccd-primary: #0f354d;
	--ccd-deep: #07253a;
	--ccd-accent: #f3ba54;
	--ccd-text: #2b2b2b;
	--ccd-muted: #6b6b6b;
	--ccd-line: #d1d1d1;
	--ccd-font: "Open Sans", system-ui, sans-serif;
	--ccd-display: "Montserrat", system-ui, sans-serif;
	position: relative;
	z-index: 5;
	width: 100% !important;
	max-width: 1240px !important;
	margin: -200px auto 80px !important;
	padding: 0 20px !important;
	box-sizing: border-box;
	font-family: var(--ccd-font);
	color: var(--ccd-text);
}

/* Shortcode placement — normal flow, does not pull under hero */
.ccd-section-app.ccd-layout-embed {
	margin: 24px auto 40px !important;
	z-index: 1;
}

.ccd-preview-scroll .ccd-section-app {
	margin: 12px auto !important;
	max-width: 100%;
	padding: 0;
}

/* No outer shell — each article is its own window like /historia */
.ccd-feed-shell {
	background: transparent;
	box-shadow: none;
	border-radius: 0;
	padding: 0;
}

.ccd-feed {
	display: grid;
	gap: 28px;
	margin: 0;
	padding: 0;
	max-width: none;
}

.ccd-feed *,
.ccd-feed *::before,
.ccd-feed *::after { box-sizing: border-box; }

.ccd-feed-item {
	display: block;
	background-color: #ffffff;
	background-image:
		linear-gradient(45deg, #f5f5f5 25%, transparent 25%),
		linear-gradient(-45deg, #f5f5f5 25%, transparent 25%),
		linear-gradient(45deg, transparent 75%, #f5f5f5 75%),
		linear-gradient(-45deg, transparent 75%, #f5f5f5 75%);
	background-size: 20px 20px;
	background-position: 0 0, 0 10px, 10px -10px, -10px 0;
	border: 0 !important;
	border-radius: 15px !important;
	overflow: hidden;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5) !important;
	padding-bottom: 0 !important;
	margin: 0 !important;
}

/*
 * Header = one photographic chess scene, softly blurred, with a light navy veil
 * so it sits with the site hero. Sharp 3:2 photo, white title, gold date.
 */
.ccd-feed-head {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: grid;
	grid-template-columns: 276px minmax(0, 1fr);
	gap: 28px;
	align-items: center;
	margin: 0;
	padding: 22px 28px;
	background: #16364c;
}
.ccd-feed-head::before {
	content: "";
	position: absolute;
	inset: -28px;
	z-index: -2;
	background: url("../img/header-scene.jpg?v=48") center 62% / cover no-repeat;
	filter: blur(7px) saturate(0.92);
	transform: scale(1.08);
	pointer-events: none;
}
.ccd-feed-head::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	/* Ľavá (foto) ostáva vzdušnejšia; pri texte jemne hustejší veil kvôli čitateľnosti. */
	background: linear-gradient(100deg,
		rgba(15, 53, 77, 0.30) 0%,
		rgba(15, 53, 77, 0.48) 40%,
		rgba(10, 36, 54, 0.70) 78%,
		rgba(8, 28, 42, 0.78) 100%);
	pointer-events: none;
}
.ccd-feed-head.is-nocover { background: #16364c; }

.ccd-feed-head .ccd-feed-cover {
	position: relative !important;
	z-index: 1;
	width: 276px !important;
	height: 184px !important;
	margin: 0 !important;
	border-radius: 10px !important;
	background: #d7e6f0 !important;
	box-shadow: 0 6px 18px rgba(15, 53, 77, 0.12) !important;
}
.ccd-feed-head .ccd-feed-cover.is-logo { background: #fff !important; }
.ccd-feed-head .ccd-feed-cover.is-logo img {
	width: 62% !important;
	max-height: 74% !important;
	padding: 0 !important;
	background: transparent !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	mix-blend-mode: normal;
}

/* 3:2 crop — same frame in the editor and on the page */
.ccd-feed-cover,
.ccd-cover-sm,
.ccd-cover-md,
.ccd-cover-lg,
.ccd-cover-xl,
.ccd-cover-full {
	position: relative !important;
	width: 300px !important;
	max-width: 100% !important;
	height: auto !important;
	aspect-ratio: 3 / 2 !important;
	border-radius: 12px !important;
	background: var(--ccd-deep) !important;
	overflow: hidden !important;
	justify-self: start;
}
.ccd-cover-blur {
	position: absolute;
	inset: -12%;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	filter: blur(22px) saturate(1.15);
	transform: scale(1.12);
	opacity: 0;
	pointer-events: none;
	z-index: 0;
}
.ccd-feed-cover.is-zoom-out .ccd-cover-blur,
.ccd-cover-sm.is-zoom-out .ccd-cover-blur,
.ccd-cover-md.is-zoom-out .ccd-cover-blur,
.ccd-cover-lg.is-zoom-out .ccd-cover-blur,
.ccd-cover-xl.is-zoom-out .ccd-cover-blur,
.ccd-cover-full.is-zoom-out .ccd-cover-blur,
.ccd-rail-media.is-zoom-out .ccd-cover-blur {
	opacity: 1;
}
.ccd-feed-cover img,
.ccd-cover-sm img,
.ccd-cover-md img,
.ccd-cover-lg img,
.ccd-cover-xl img,
.ccd-cover-full img {
	position: absolute !important;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	object-fit: cover;
	object-position: 50% 50%;
	display: block !important;
	border-radius: 0 !important;
	margin: 0 !important;
	z-index: 1;
}
/* Fallback pred JS; po layoute JS nastaví px cez setProperty important. */
[data-ccd-cover="1"] > img {
	object-fit: cover;
}
.ccd-feed-cover.is-logo,
.ccd-cover-sm.is-logo,
.ccd-cover-md.is-logo,
.ccd-cover-lg.is-logo,
.ccd-cover-xl.is-logo,
.ccd-cover-full.is-logo {
	display: grid !important;
	place-items: center !important;
	background: #e9f7ff !important;
}
.ccd-feed-cover.is-logo img,
.ccd-cover-sm.is-logo img,
.ccd-cover-md.is-logo img,
.ccd-cover-lg.is-logo img,
.ccd-cover-xl.is-logo img,
.ccd-cover-full.is-logo img {
	position: static !important;
	inset: auto !important;
	width: 58% !important;
	height: auto !important;
	max-height: 70% !important;
	object-fit: contain !important;
	object-position: center !important;
	mix-blend-mode: multiply;
}

.ccd-feed-intro {
	position: relative;
	display: grid;
	gap: 8px;
	min-width: 0;
	align-content: center;
	z-index: 1;
	margin: 0;
	padding: 4px 0;
	min-height: 0;
	background: transparent;
	border-radius: 0;
}
.ccd-feed-head .ccd-feed-intro { display: flex; flex-direction: column; justify-content: center; gap: 9px; }
.ccd-feed-meta {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 0;
	flex-wrap: wrap;
}
.ccd-feed-head .ccd-feed-date {
	background: none !important;
	color: #f3ba54 !important;
	border-radius: 0 !important;
	padding: 0 !important;
	font-family: var(--ccd-display) !important;
	font-size: 10.5px !important;
	font-weight: 700 !important;
	letter-spacing: 0.12em !important;
	text-transform: uppercase !important;
	text-shadow: 0 1px 2px rgba(7, 37, 58, 0.35), 0 1px 10px rgba(7, 37, 58, 0.25);
}
.ccd-feed-section {
	font-family: var(--ccd-display);
	font-weight: 600;
	font-size: 10.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.88);
	white-space: nowrap;
	text-shadow: 0 1px 2px rgba(7, 37, 58, 0.35), 0 1px 10px rgba(7, 37, 58, 0.25);
}
.ccd-feed-date + .ccd-feed-section::before {
	content: "";
	display: inline-block;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.55);
	margin: 0 12px 2px 12px;
	vertical-align: middle;
}
.ccd-feed-head .ccd-feed-title {
	color: #fff !important;
	font-weight: 700 !important;
	font-size: clamp(22px, 2.1vw, 28px) !important;
	line-height: 1.2 !important;
	letter-spacing: 0 !important;
	text-shadow: 0 1px 2px rgba(7, 37, 58, 0.45), 0 2px 16px rgba(7, 37, 58, 0.35);
}
.ccd-feed-head .ccd-feed-excerpt {
	color: rgba(255, 255, 255, 0.92);
	font-size: 15px;
	line-height: 1.55;
	max-width: 60ch;
	text-shadow: 0 1px 2px rgba(7, 37, 58, 0.4), 0 2px 12px rgba(7, 37, 58, 0.28);
}

.ccd-feed-body {
	padding: 24px 36px 30px;
	display: block;
	background: transparent;
}

.ccd-feed-date {
	display: inline-block;
	justify-self: start;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 12px !important;
	letter-spacing: .04em;
	text-transform: uppercase;
	font-weight: 700 !important;
	font-family: var(--ccd-display) !important;
	color: var(--ccd-muted) !important;
	background: none !important;
	border: 0 !important;
	line-height: 1.3 !important;
}

.ccd-feed-title {
	margin: 0 !important;
	padding: 0 !important;
	font-family: var(--ccd-display) !important;
	font-weight: 800 !important;
	font-size: clamp(22px, 3vw, 28px) !important;
	color: var(--ccd-primary) !important;
	line-height: 1.25 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	border: 0 !important;
}

.ccd-feed-excerpt {
	font-size: 15px;
	color: var(--ccd-muted);
	margin: 0;
	line-height: 1.55;
}

.ccd-feed-full {
	font-size: 15.5px;
	line-height: 1.7;
	color: var(--ccd-text);
	overflow: auto;
	margin-top: 2px;
}
.ccd-feed-full p { margin: 0 0 0.9em; }
.ccd-feed-full a {
	color: var(--ccd-primary) !important;
	text-decoration: underline !important;
}

.ccd-block { margin: 0 0 1em; }
.ccd-block-heading {
	font-family: var(--ccd-display) !important;
	color: var(--ccd-primary) !important;
	margin: 1.25em 0 .5em !important;
	font-weight: 800 !important;
	text-transform: none !important;
}
.ccd-block-image img {
	width: 100%;
	border-radius: 10px;
	display: block;
}
.ccd-img-w33 { width: 33%; max-width: 100%; }
.ccd-img-w50 { width: 50%; max-width: 100%; }
.ccd-img-w75 { width: 75%; max-width: 100%; }
.ccd-img-w100 { width: 100%; }
.ccd-img-left { float: left; margin: 0 16px 12px 0; }
.ccd-img-right { float: right; margin: 0 0 12px 16px; }
.ccd-img-center { margin-left: auto; margin-right: auto; float: none; display: block; }
.ccd-feed-full::after,
.ccd-block-text::after { content: ""; display: table; clear: both; }

.ccd-block-image figcaption,
.ccd-block-quote cite {
	display: block;
	margin-top: 6px;
	font-size: 12.5px;
	color: var(--ccd-muted);
	text-align: center;
}
.ccd-block-quote,
.ccd-feed-full blockquote,
.ccd-block-text blockquote {
	margin: 1.2em 0 !important;
	padding: 14px 18px !important;
	border-left: 4px solid var(--ccd-accent) !important;
	background: rgba(255,255,255,.75) !important;
	border-radius: 0 8px 8px 0 !important;
	font-style: italic !important;
	color: var(--ccd-text) !important;
}
.ccd-quote-mark {
	color: var(--ccd-accent) !important;
	font-style: normal !important;
	font-weight: 800 !important;
	font-size: 1.15em !important;
}
.ccd-block-divider {
	border: none;
	border-top: 1px solid var(--ccd-line);
	margin: 1.5em 0;
}

/* —— Gallery —— */
.ccd-gallery-card {
	border: 1px solid var(--ccd-line);
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	margin: 1.1em 0;
}

.ccd-gallery-toggle {
	appearance: none !important;
	-webkit-appearance: none !important;
	width: 100% !important;
	display: flex !important;
	align-items: center !important;
	gap: 14px !important;
	padding: 14px 16px !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: #f4f8fb !important;
	cursor: pointer !important;
	text-align: left !important;
	color: var(--ccd-primary) !important;
	font-family: var(--ccd-font) !important;
	font-weight: 700 !important;
	font-size: 14px !important;
	line-height: 1.35 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	box-shadow: none !important;
	min-height: 0 !important;
	height: auto !important;
}
.ccd-gallery-toggle:hover { background: #eaf1f6 !important; }

.ccd-gallery-toggle-ico {
	flex: 0 0 44px !important;
	width: 44px !important;
	height: 44px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	align-self: center !important;
	border-radius: 10px;
	background: #fff;
	border: 1px solid var(--ccd-line);
	color: var(--ccd-primary);
	pointer-events: none;
}
.ccd-gallery-toggle-ico .ccd-gal-ico {
	display: block;
	width: 22px;
	height: 22px;
}
.ccd-gallery-toggle-text {
	flex: 1 1 auto !important;
	min-width: 0 !important;
	max-width: 100% !important;
	display: grid !important;
	gap: 2px !important;
	overflow: hidden !important;
}
.ccd-gallery-toggle-text strong {
	display: block !important;
	font-family: var(--ccd-display) !important;
	font-size: 15px !important;
	font-weight: 800 !important;
	color: var(--ccd-primary) !important;
	line-height: 1.3 !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
	max-width: 100% !important;
}
.ccd-gallery-toggle-text small {
	display: block !important;
	font-size: 12px !important;
	color: var(--ccd-muted) !important;
	font-weight: 500 !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
}
.ccd-gallery-toggle-chevron {
	flex: 0 0 22px !important;
	width: 22px !important;
	align-self: center !important;
	text-align: center;
	color: var(--ccd-muted);
	font-size: 14px;
	pointer-events: none;
}
.ccd-gallery-toggle-chevron::before { content: "▾"; }
.ccd-gallery-card.is-collapsed .ccd-gallery-toggle-chevron::before { content: "▸"; }

.ccd-gallery-panel {
	padding: 14px 16px 16px;
	border-top: 1px solid var(--ccd-line);
	background: #fff;
}
.ccd-gallery-panel[hidden] { display: none !important; }
.ccd-gallery-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }

.ccd-gallery-slideshow,
.ccd-gallery-download-all {
	appearance: none !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	border-radius: 4px !important;
	padding: 7px 14px !important;
	font-family: var(--ccd-display) !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	cursor: pointer !important;
	min-height: 0 !important;
	height: auto !important;
	width: auto !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	box-shadow: none !important;
	background-image: none !important;
}
.ccd-gallery-slideshow { background: #0f354d !important; color: #fff !important; border: 0 !important; }
.ccd-gallery-download-all { background: #fff !important; color: #0f354d !important; border: 1px solid #0f354d !important; }
.ccd-gallery-download-all:disabled { opacity: .65; cursor: wait; }
.ccd-gallery-download-all.is-busy {
	opacity: 1 !important;
	cursor: wait !important;
}
.ccd-gallery-download-all.is-busy::before {
	content: "";
	display: inline-block;
	width: 12px;
	height: 12px;
	margin-right: 8px;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	vertical-align: -2px;
	animation: ccd-zip-spin .7s linear infinite;
}
@keyframes ccd-zip-spin { to { transform: rotate(360deg); } }

.ccd-block-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	gap: 8px;
	margin: 0;
}
.ccd-gallery-item {
	display: block;
	border-radius: 8px;
	overflow: hidden;
	aspect-ratio: 1;
	background: #e8eef3;
	border: 1px solid rgba(15, 53, 77, 0.08);
	text-decoration: none !important;
}
.ccd-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	margin: 0;
	transition: transform .2s ease;
}
.ccd-gallery-item:hover img { transform: scale(1.04); }

.ccd-feed-full a.ccd-file-link,
.ccd-file-preview a.ccd-file-link,
a.ccd-file-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	background: #fff !important;
	color: #0f354d !important;
	border: 1px solid #0f354d !important;
	border-radius: 4px;
	text-decoration: none !important;
	font-weight: 700;
	font-size: 14px;
	font-family: var(--ccd-display);
	line-height: 1.3;
}
.ccd-feed-full a.ccd-file-link:hover,
.ccd-file-preview a.ccd-file-link:hover,
a.ccd-file-link:hover {
	background: #0f354d !important;
	color: #fff !important;
	text-decoration: none !important;
}

.ccd-video-wrap,
.ccd-block-video {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	border-radius: 10px;
	background: #000;
}
.ccd-video-wrap iframe,
.ccd-block-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* —— Lightbox —— */
body.ccd-lightbox-open { overflow: hidden !important; }
.ccd-lightbox {
	position: fixed !important;
	inset: 0 !important;
	z-index: 2147483000 !important;
	background: rgba(7, 37, 58, 0.95) !important;
	display: block !important;
}
.ccd-lightbox-top {
	position: absolute !important;
	top: 0 !important; left: 0 !important; right: 0 !important;
	z-index: 3 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 12px !important;
	padding: 14px 18px !important;
	color: #fff !important;
}
.ccd-lightbox-top-actions { display: flex !important; gap: 8px !important; align-items: center !important; }
.ccd-lightbox-counter { color: #fff !important; font-size: 13px !important; font-weight: 700 !important; }
.ccd-lightbox-stage {
	position: absolute !important;
	inset: 64px 72px 88px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	z-index: 1 !important;
}
.ccd-lightbox-img {
	max-width: 100% !important;
	max-height: 100% !important;
	object-fit: contain !important;
	border-radius: 6px !important;
}
.ccd-lightbox-caption {
	position: absolute !important;
	left: 0 !important; right: 0 !important; bottom: 54px !important;
	z-index: 2 !important;
	color: #fff !important;
	text-align: center !important;
	font-size: 13px !important;
}
.ccd-lightbox-bottom {
	position: absolute !important;
	left: 0 !important; right: 0 !important; bottom: 12px !important;
	z-index: 3 !important;
	display: flex !important;
	justify-content: center !important;
}
.ccd-lightbox-btn,
.ccd-lightbox-nav {
	appearance: none !important;
	border: 0 !important;
	background: #f3ba54 !important;
	color: #0f354d !important;
	border-radius: 10px !important;
	font-family: "Montserrat", sans-serif !important;
	font-weight: 800 !important;
	font-size: 13px !important;
	cursor: pointer !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	box-shadow: none !important;
	min-height: 0 !important;
	padding: 10px 14px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
}
.ccd-lightbox-btn.is-icon { width: 42px !important; height: 42px !important; padding: 0 !important; font-size: 22px !important; }
.ccd-lightbox-nav {
	position: absolute !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	z-index: 4 !important;
	width: 52px !important;
	height: 52px !important;
	padding: 0 !important;
	border-radius: 50% !important;
}
.ccd-lightbox-nav.prev { left: 14px !important; }
.ccd-lightbox-nav.next { right: 14px !important; }
.ccd-lightbox-nav svg { display: block !important; width: 24px !important; height: 24px !important; }

body.elementor-kit-23 .ccd-lightbox button,
body.elementor-kit-23 .ccd-lightbox .ccd-lightbox-nav {
	background: #f3ba54 !important;
	color: #0f354d !important;
	border: 0 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	box-shadow: none !important;
	min-height: 0 !important;
}
body.elementor-kit-23 .ccd-lightbox .ccd-lightbox-nav {
	position: absolute !important;
	width: 52px !important;
	height: 52px !important;
	padding: 0 !important;
	border-radius: 50% !important;
}
body.elementor-kit-23 .ccd-section-app button.ccd-gallery-slideshow {
	background: #0f354d !important; color: #fff !important; border: 0 !important;
	padding: 7px 14px !important; border-radius: 4px !important; min-height: 0 !important; height: auto !important; width: auto !important;
}
body.elementor-kit-23 .ccd-section-app button.ccd-gallery-download-all {
	background: #fff !important; color: #0f354d !important; border: 1px solid #0f354d !important;
	padding: 7px 14px !important; border-radius: 4px !important; min-height: 0 !important; height: auto !important; width: auto !important;
}
body.elementor-kit-23 .ccd-section-app button.ccd-gallery-toggle {
	width: 100% !important; background: #f4f8fb !important; color: #0f354d !important;
	border: 0 !important; text-transform: none !important; letter-spacing: 0 !important;
	padding: 14px 16px !important; min-height: 0 !important; height: auto !important;
	display: flex !important; align-items: center !important; gap: 14px !important;
	white-space: normal !important;
}
body.elementor-kit-23 .ccd-section-app .ccd-gallery-toggle-text {
	min-width: 0 !important; overflow: hidden !important;
}
body.elementor-kit-23 .ccd-section-app .ccd-gallery-toggle-text strong {
	overflow: hidden !important; text-overflow: ellipsis !important;
}

@media (max-width: 1024px) and (min-width: 768px) {
	.ccd-section-app:not(.ccd-layout-embed) { margin-top: -150px; }
}
@media (max-width: 700px) {
	.ccd-section-app:not(.ccd-layout-embed) { margin-top: -100px; margin-bottom: 48px; padding: 0 12px; }
	.ccd-section-app.ccd-layout-embed { margin: 16px auto 32px !important; padding: 0 12px !important; }
	.ccd-feed-head { grid-template-columns: 1fr; gap: 14px; padding: 14px; }
	.ccd-feed-head .ccd-feed-cover {
		width: 100% !important;
		height: auto !important;
		aspect-ratio: 3 / 2 !important;
	}
	.ccd-feed-intro { padding: 0 0 2px; }
	.ccd-feed-body { padding: 16px 16px 20px; }
	.ccd-feed-head .ccd-feed-title { font-size: 21px !important; }
	.ccd-feed-cover,
	.ccd-cover-sm,
	.ccd-cover-md,
	.ccd-cover-lg,
	.ccd-cover-xl,
	.ccd-cover-full { width: 100% !important; }
	.ccd-feed-body { padding: 14px 14px 18px; }
	.ccd-lightbox-stage { inset: 58px 12px 100px !important; }
	.ccd-lightbox-nav { width: 44px !important; height: 44px !important; }
	.ccd-lightbox-nav.prev { left: 6px !important; }
	.ccd-lightbox-nav.next { right: 6px !important; }
	.ccd-block-gallery { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
	.ccd-img-w33, .ccd-img-w50, .ccd-img-w75 { width: 100%; float: none; margin: 0 0 12px; }
	.ccd-gallery-toggle {
		gap: 10px !important;
		padding: 12px 12px !important;
		align-items: center !important;
	}
	.ccd-gallery-toggle-ico {
		flex-basis: 40px !important;
		width: 40px !important;
		height: 40px !important;
	}
	.ccd-gallery-toggle-text strong {
		/* Na mobile až 2 riadky, potom … — nikdy cez šípku/ikony. */
		white-space: normal !important;
		display: -webkit-box !important;
		-webkit-box-orient: vertical !important;
		-webkit-line-clamp: 2 !important;
		line-clamp: 2;
		word-break: break-word !important;
		overflow-wrap: anywhere !important;
	}
}

/* Homepage latest strip — quiet, three cards, sits in the white space under the hero */
.ccd-rail {
	--ccd-primary: #0f354d;
	--ccd-accent: #f3ba54;
	--ccd-muted: #6d7c88;
	--ccd-rail-gap: 18px;
	box-sizing: border-box;
	width: 100%;
	max-width: 1140px;
	margin: 0 auto 14px;
	padding: 0 8px;
	font-family: "Open Sans", system-ui, sans-serif;
	color: #2b2b2b;
}
.ccd-rail *,
.ccd-rail *::before,
.ccd-rail *::after { box-sizing: border-box; }
.ccd-rail-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 2px 12px;
}
.ccd-rail-kicker {
	margin: 0;
	font-family: "Montserrat", system-ui, sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #fff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.ccd-rail-kicker::after {
	content: "";
	display: block;
	width: 36px;
	height: 2px;
	margin-top: 6px;
	background: var(--ccd-accent);
}
.ccd-rail-kicker-empty::after { display: none; }
.ccd-rail-nav { display: flex; gap: 8px; }
.ccd-rail.is-static .ccd-rail-nav { display: none; }
.ccd-rail.is-static .ccd-rail-bar { justify-content: center; }
.ccd-rail.is-static .ccd-rail-kicker { text-align: center; }
.ccd-rail.is-static .ccd-rail-kicker::after {
	margin-left: auto;
	margin-right: auto;
}
.ccd-rail.is-static .ccd-rail-track {
	justify-content: center;
	transform: none !important;
}
.ccd-rail-viewport {
	overflow: hidden;
	margin: 0;
	padding: 4px 0 2px;
	touch-action: pan-y;
	cursor: grab;
}
.ccd-rail-track {
	display: flex;
	width: 100%;
	gap: var(--ccd-rail-gap);
	transition: transform .55s cubic-bezier(.22,.7,.3,1);
	will-change: transform;
	user-select: none;
	-webkit-user-select: none;
}
/* Card = miniature of the article header: same blurred scene, sharp 3:2 photo. */
.ccd-rail-card {
	flex: 0 0 calc((100% - (var(--ccd-rail-gap) * 2)) / 3);
	position: relative;
	isolation: isolate;
	display: flex !important;
	flex-direction: column;
	min-width: 0;
	text-decoration: none !important;
	color: inherit !important;
	background: #1a4560 !important;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: none;
	border: 0 !important;
	transition: transform .25s ease;
	-webkit-user-drag: none;
	user-select: none !important;
	-webkit-user-select: none !important;
}
/* Explicit grab/pointer — nie inherit (po dragu inak ostane I-beam „edit“ na chytanej karte). */
.ccd-rail:not(.is-static) .ccd-rail-viewport,
.ccd-rail:not(.is-static) .ccd-rail-card,
.ccd-rail:not(.is-static) .ccd-rail-card * {
	cursor: grab !important;
}
.ccd-rail.is-dragging .ccd-rail-viewport,
.ccd-rail.is-dragging .ccd-rail-card,
.ccd-rail.is-dragging .ccd-rail-card * {
	cursor: grabbing !important;
}
.ccd-rail.is-static .ccd-rail-card,
.ccd-rail.is-static .ccd-rail-card * {
	cursor: pointer !important;
}
.ccd-rail-card *,
.ccd-rail-card *::before,
.ccd-rail-card *::after {
	user-select: none !important;
	-webkit-user-select: none !important;
}
a.ccd-rail-card:focus:not(:focus-visible) {
	outline: none !important;
}
.ccd-rail-card::before {
	content: "";
	position: absolute;
	top: 58%;
	right: -20px;
	bottom: -8px;
	left: -20px;
	z-index: -2;
	background: url("../img/header-scene.jpg?v=50") center 70% / 240% auto no-repeat;
	filter: blur(3.5px) saturate(1.05);
	pointer-events: none;
}
.ccd-rail-card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	/* Hore pri fotke vzdušnejšie; dole pri texte hustejší veil (ako hlavička článku). */
	background: linear-gradient(180deg,
		rgba(26, 69, 96, 0.22) 0%,
		rgba(26, 69, 96, 0.42) 42%,
		rgba(10, 36, 54, 0.72) 78%,
		rgba(8, 28, 42, 0.82) 100%);
	pointer-events: none;
}
.ccd-rail-card.is-nocover { background: #1a4560 !important; }
a.ccd-rail-card:hover,
a.ccd-rail-card:focus-visible {
	transform: translateY(-3px);
	text-decoration: none !important;
	color: inherit !important;
	outline: none;
}
a.ccd-rail-card:focus-visible { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ccd-accent); }
.ccd-rail-media {
	position: relative;
	z-index: 1;
	display: block;
	aspect-ratio: 3 / 2;
	margin: 10px 10px 0;
	border-radius: 10px;
	background: #d7e6f0;
	overflow: hidden;
	box-shadow: none;
}
.ccd-rail-media img {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	object-fit: cover;
	display: block;
	transform: scale(1.001);
	transition: transform .5s ease;
	/* Natívny drag obrázka inak zhltne swipe; eventy idú na kartu. */
	pointer-events: none;
	-webkit-user-drag: none;
	user-drag: none;
}
.ccd-rail-media[data-ccd-cover="1"] img {
	transform: none !important;
	transition: none;
}
a.ccd-rail-card:hover .ccd-rail-media:not([data-ccd-cover]) img { transform: scale(1.045); }
.ccd-rail-media.is-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
}
.ccd-rail-media.is-logo img {
	width: 62% !important;
	height: auto !important;
	max-height: 74%;
	object-fit: contain !important;
	transform: none !important;
}
a.ccd-rail-card:hover .ccd-rail-media.is-logo img { transform: none !important; }
.ccd-rail-body {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 12px 14px 14px;
	background: transparent;
}
.ccd-rail-meta {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 0;
	font-size: 10px;
	line-height: 1.3;
}
.ccd-rail-meta time {
	font-family: "Montserrat", system-ui, sans-serif;
	font-weight: 700;
	font-size: 10px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ccd-accent);
	font-variant-numeric: tabular-nums;
	text-shadow: 0 1px 2px rgba(7, 37, 58, 0.35), 0 1px 8px rgba(7, 37, 58, 0.25);
}
.ccd-rail-section {
	font-family: "Montserrat", system-ui, sans-serif;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-size: 10px;
	color: rgba(255, 255, 255, 0.88);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-shadow: 0 1px 2px rgba(7, 37, 58, 0.35), 0 1px 8px rgba(7, 37, 58, 0.25);
}
.ccd-rail-meta time + .ccd-rail-section::before {
	content: "";
	display: inline-block;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.55);
	margin: 0 10px 2px 10px;
	vertical-align: middle;
}
.ccd-rail-title {
	font-family: "Montserrat", system-ui, sans-serif;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.35;
	color: #fff;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-shadow: 0 1px 2px rgba(7, 37, 58, 0.45), 0 2px 12px rgba(7, 37, 58, 0.35);
}
button.ccd-rail-arrow,
body.elementor-kit-23 .ccd-rail button.ccd-rail-arrow,
body.elementor-kit-23 .elementor-widget-shortcode .ccd-rail button.ccd-rail-arrow {
	all: unset;
	box-sizing: border-box !important;
	display: inline-grid !important;
	place-items: center !important;
	width: 36px !important;
	height: 36px !important;
	min-width: 36px !important;
	min-height: 36px !important;
	padding: 0 !important;
	border-radius: 50% !important;
	border: 1.5px solid rgba(255, 255, 255, 0.85) !important;
	background: rgba(255, 255, 255, 0.16) !important;
	color: #fff !important;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22) !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	opacity: 1 !important;
}
button.ccd-rail-arrow:hover,
body.elementor-kit-23 .ccd-rail button.ccd-rail-arrow:hover,
body.elementor-kit-23 .elementor-widget-shortcode .ccd-rail button.ccd-rail-arrow:hover {
	background: #f3ba54 !important;
	color: #0f354d !important;
	border-color: #f3ba54 !important;
}
button.ccd-rail-arrow:disabled,
body.elementor-kit-23 .ccd-rail button.ccd-rail-arrow:disabled,
body.elementor-kit-23 .elementor-widget-shortcode .ccd-rail button.ccd-rail-arrow:disabled {
	opacity: .4 !important;
	cursor: default;
	background: rgba(255, 255, 255, 0.08) !important;
	color: #fff !important;
	border-color: rgba(255, 255, 255, 0.45) !important;
}
button.ccd-rail-arrow svg { display: block; stroke: currentColor; }
@media (max-width: 900px) {
	.ccd-rail-card { flex-basis: calc((100% - var(--ccd-rail-gap)) / 2); }
}
@media (max-width: 640px) {
	.ccd-rail { padding: 0; margin-bottom: 20px; }
	.ccd-rail-bar { margin-left: 16px; margin-right: 16px; }
	.ccd-rail-viewport { padding: 4px 0 8px; }
	.ccd-rail-card {
		flex-basis: min(84vw, 340px);
		flex-grow: 0;
		flex-shrink: 0;
	}
	.ccd-rail-title { font-size: 14px; }
	body.home .elementor-element-e15b4fd,
	body.page-id-1930 .elementor-element-e15b4fd,
	.ccd-quotes-strip {
		margin-top: 12px !important;
		padding-left: 16px !important;
		padding-right: 16px !important;
	}
	.ccd-quotes-strip .elementor-blockquote__content {
		font-size: 17px !important;
	}
}
@media (prefers-reduced-motion: reduce) {
	.ccd-rail-track,
	.ccd-rail-card,
	.ccd-rail-media img { transition: none !important; }
}

/* Quotes after Najnovšie: one centered line, no cards. */
.elementor-widget-shortcode:has(.ccd-rail) + .elementor-widget-n-carousel,
body.home .elementor-element-e15b4fd,
body.page-id-1930 .elementor-element-e15b4fd,
.ccd-quotes-strip {
	margin: 12px auto 0 !important;
	max-width: 820px;
	padding: 4px 24px 0 !important;
	position: relative;
	/* Keep in normal flow under Najnovšie — do not stack behind cards */
	z-index: auto;
	transform: none !important;
	animation: none !important;
}
/* Elementor flex/container often keeps shortcode widget shorter than .ccd-rail on mobile.
   JS sets pixel min-height; these rules keep the slot flexible and non-shrinking. */
body.home .elementor-element-5880891d,
body.page-id-1930 .elementor-element-5880891d {
	height: auto !important;
	max-height: none !important;
	overflow: visible !important;
}
body.home .elementor-element-5880891d > .e-con-inner,
body.page-id-1930 .elementor-element-5880891d > .e-con-inner {
	height: auto !important;
	max-height: none !important;
	overflow: visible !important;
}
body.home .elementor-element-c7d1a01,
body.page-id-1930 .elementor-element-c7d1a01,
.elementor-widget-shortcode:has(.ccd-rail) {
	height: auto !important;
	max-height: none !important;
	flex: 0 0 auto !important;
	flex-shrink: 0 !important;
	overflow: visible !important;
	align-self: stretch !important;
}
body.home .elementor-element-c7d1a01 .elementor-widget-container,
body.page-id-1930 .elementor-element-c7d1a01 .elementor-widget-container,
body.home .elementor-element-c7d1a01 .elementor-shortcode,
body.page-id-1930 .elementor-element-c7d1a01 .elementor-shortcode,
.elementor-widget-shortcode:has(.ccd-rail) .elementor-widget-container,
.elementor-widget-shortcode:has(.ccd-rail) .elementor-shortcode {
	height: auto !important;
	max-height: none !important;
	overflow: visible !important;
}
body.home .elementor-element-5880891d:not(:has(.ccd-rail)),
body.page-id-1930 .elementor-element-5880891d:not(:has(.ccd-rail)) {
	margin-top: 0 !important;
}
.ccd-quotes-strip .elementor-swiper-button,
.ccd-quotes-strip .elementor-swiper-button-prev,
.ccd-quotes-strip .elementor-swiper-button-next,
body.elementor-kit-23 .ccd-quotes-strip .elementor-swiper-button {
	display: none !important;
}
.ccd-quotes-strip .e-con,
.ccd-quotes-strip .e-con-inner {
	background: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
}
.ccd-quotes-strip .elementor-blockquote {
	margin: 0 auto !important;
	max-width: 640px;
	padding: 4px 8px 0 !important;
	background: none !important;
	border: 0 !important;
	text-align: center !important;
}
.ccd-quotes-strip .elementor-blockquote::before {
	content: "“" !important;
	display: block !important;
	position: static !important;
	left: auto !important;
	top: auto !important;
	margin: 0 auto 4px !important;
	width: auto !important;
	height: auto !important;
	font-family: Georgia, "Times New Roman", serif !important;
	font-size: 42px !important;
	line-height: 1 !important;
	color: #f3ba54 !important;
	opacity: 1 !important;
}
.ccd-quotes-strip .elementor-blockquote__content {
	margin: 0 auto !important;
	font-family: Georgia, "Times New Roman", serif !important;
	font-style: italic !important;
	font-size: clamp(18px, 2.1vw, 24px) !important;
	line-height: 1.55 !important;
	font-weight: 400 !important;
	color: #0f354d !important;
}
.ccd-quotes-strip .e-q-footer {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	margin-top: 14px !important;
}
.ccd-quotes-strip .elementor-blockquote__author {
	font-family: Montserrat, system-ui, sans-serif !important;
	font-style: normal !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	letter-spacing: 0.16em !important;
	text-transform: uppercase !important;
	color: #c4922c !important;
}
.ccd-quotes-strip .elementor-blockquote__author::before {
	content: "" !important;
	display: block !important;
	width: 28px !important;
	height: 2px !important;
	margin: 0 auto 10px !important;
	background: #f3ba54 !important;
}
.ccd-quotes-strip .swiper,
.ccd-quotes-strip .swiper-wrapper {
	height: auto !important;
}
.ccd-quotes-strip .swiper-wrapper {
	align-items: flex-start !important;
}
.ccd-quotes-strip .swiper-slide:not(.swiper-slide-active):not(.swiper-slide-duplicate-active) {
	height: 0 !important;
	min-height: 0 !important;
	overflow: hidden !important;
}
.ccd-quotes-strip .swiper-pagination {
	position: relative !important;
	bottom: auto !important;
	margin-top: 16px !important;
}
.ccd-quotes-strip .swiper-pagination-bullet {
	background: #0f354d !important;
	opacity: 0.22 !important;
}
.ccd-quotes-strip .swiper-pagination-bullet-active {
	background: #f3ba54 !important;
	opacity: 1 !important;
}

/* Homepage contact — same quiet panel as the preview */
body.home .elementor-element-e15b4fd.ccd-quotes-strip,
body.page-id-1930 .elementor-element-e15b4fd.ccd-quotes-strip,
body.home .elementor-element-e15b4fd,
body.page-id-1930 .elementor-element-e15b4fd {
	margin-bottom: 28px !important;
}
body.home .elementor-element-2d834f97,
body.page-id-1930 .elementor-element-2d834f97 {
	max-width: 560px !important;
	margin: 0 auto 40px !important;
	padding: 0 16px !important;
	min-height: 0 !important;
}
body.home .elementor-element-2d834f97 > .e-con-inner,
body.page-id-1930 .elementor-element-2d834f97 > .e-con-inner {
	padding: 0 !important;
	gap: 0 !important;
}
body.home .elementor-element-48f37b35,
body.page-id-1930 .elementor-element-48f37b35 {
	padding: 18px 22px 16px !important;
	gap: 0 !important;
	min-height: 0 !important;
	background: #f3f7fa !important;
	border: 1px solid rgba(15, 53, 77, 0.08) !important;
	border-radius: 12px !important;
	border-top: 1px solid rgba(15, 53, 77, 0.08) !important;
}
body.home .elementor-element-64e627a6,
body.page-id-1930 .elementor-element-64e627a6,
body.home .elementor-element-d2dd43c,
body.page-id-1930 .elementor-element-d2dd43c,
body.home .elementor-element-c4cc076,
body.page-id-1930 .elementor-element-c4cc076 {
	padding: 0 !important;
	min-height: 0 !important;
}
body.home .elementor-element-64e627a6,
body.page-id-1930 .elementor-element-64e627a6 {
	margin: 0 0 6px !important;
}
body.home .elementor-element-64e627a6 .elementor-heading-title,
body.page-id-1930 .elementor-element-64e627a6 .elementor-heading-title {
	font-family: Montserrat, system-ui, sans-serif !important;
	font-size: 10px !important;
	font-weight: 700 !important;
	letter-spacing: 0.2em !important;
	text-transform: uppercase !important;
	color: #c4922c !important;
	line-height: 1.3 !important;
}
body.home .elementor-element-d2dd43c,
body.page-id-1930 .elementor-element-d2dd43c {
	margin: 0 !important;
}
body.home .elementor-element-d2dd43c .elementor-widget-container,
body.page-id-1930 .elementor-element-d2dd43c .elementor-widget-container {
	text-align: center !important;
}
body.home .elementor-element-d2dd43c p,
body.page-id-1930 .elementor-element-d2dd43c p {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	font-family: Montserrat, system-ui, sans-serif !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1.45 !important;
	color: #0f354d !important;
}
body.home .elementor-element-d2dd43c p:first-child,
body.page-id-1930 .elementor-element-d2dd43c p:first-child {
	margin-bottom: 6px !important;
}
body.home .elementor-element-d2dd43c p:nth-child(2),
body.page-id-1930 .elementor-element-d2dd43c p:nth-child(2),
body.home .elementor-element-d2dd43c p:nth-child(3),
body.page-id-1930 .elementor-element-d2dd43c p:nth-child(3) {
	display: flex !important;
	flex-wrap: wrap !important;
	justify-content: center !important;
	align-items: center !important;
	margin: 0 !important;
	font-size: 12px !important;
	font-weight: 500 !important;
	color: rgba(15, 53, 77, 0.72) !important;
}
body.home .elementor-element-d2dd43c p:nth-child(2),
body.page-id-1930 .elementor-element-d2dd43c p:nth-child(2) {
	margin-bottom: 3px !important;
}
body.home .elementor-element-d2dd43c p:nth-child(3) > *,
body.page-id-1930 .elementor-element-d2dd43c p:nth-child(3) > * {
	display: inline-flex !important;
	align-items: center !important;
}
body.home .elementor-element-d2dd43c p:nth-child(3) > * + *::before,
body.page-id-1930 .elementor-element-d2dd43c p:nth-child(3) > * + *::before {
	content: "·";
	margin: 0 10px;
	color: rgba(15, 53, 77, 0.3);
	font-weight: 400;
}
body.home .elementor-element-d2dd43c a,
body.page-id-1930 .elementor-element-d2dd43c a {
	color: #0f354d !important;
	text-decoration: none !important;
	border-bottom: none !important;
	font-weight: 600 !important;
}
body.home .elementor-element-d2dd43c a:hover,
body.page-id-1930 .elementor-element-d2dd43c a:hover {
	color: #c4922c !important;
}
body.home .elementor-element-c4cc076,
body.page-id-1930 .elementor-element-c4cc076 {
	margin: 10px 0 0 !important;
}
body.home .elementor-element-c4cc076 .elementor-heading-title,
body.page-id-1930 .elementor-element-c4cc076 .elementor-heading-title {
	font-family: Montserrat, system-ui, sans-serif !important;
	font-size: 10px !important;
	font-weight: 700 !important;
	letter-spacing: 0.14em !important;
	text-transform: uppercase !important;
	color: #0f354d !important;
	line-height: 1.3 !important;
}
body.home .elementor-element-c4cc076 .elementor-heading-title a,
body.page-id-1930 .elementor-element-c4cc076 .elementor-heading-title a,
body.home .elementor-element-c4cc076 a,
body.page-id-1930 .elementor-element-c4cc076 a {
	color: inherit !important;
	text-decoration: none !important;
	border-bottom: 1px solid #f3ba54 !important;
	padding-bottom: 1px;
}
body.home .elementor-element-c4cc076 .elementor-heading-title a:hover,
body.page-id-1930 .elementor-element-c4cc076 .elementor-heading-title a:hover,
body.home .elementor-element-c4cc076 a:hover,
body.page-id-1930 .elementor-element-c4cc076 a:hover {
	color: #c4922c !important;
}
