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

html,
body {
	margin: 0;
	padding: 0;
	background: #fbf9f5;
}

body {
	font-family: "IBM Plex Sans", system-ui, sans-serif;
	color: #26303f;
	-webkit-font-smoothing: antialiased;
}

:focus-visible {
	outline: 2px solid #007a00;
	outline-offset: 2px;
}

.wp-site-blocks {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: #fbf9f5;
}

.admin-bar .wp-site-blocks {
	min-height: calc(100vh - 32px);
}

@media (max-width: 782px) {
	.admin-bar .wp-site-blocks {
		min-height: calc(100vh - 46px);
	}
}

.wp-site-blocks > * {
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}

.wp-site-blocks > main {
	flex: 1 0 auto;
}

.csis-header-part {
	display: contents;
}

.csis-footer-part,
.csis-header-part .wp-block-html,
.csis-footer-part .wp-block-html {
	margin: 0;
}

.csis-topbar {
	background: #184b8f;
	color: #c3d1e4;
}

.csis-topbar__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 9px 24px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 28px;
	justify-content: flex-end;
	align-items: center;
	font-size: 12px;
	letter-spacing: 0.04em;
}

.csis-topbar__links {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
	align-items: center;
}

.csis-topbar a {
	color: #c3d1e4;
	text-decoration: none;
}

.csis-topbar__links a[href*="facebook.com"],
.csis-topbar__links a[href*="tiktok.com"] {
	font-weight: 700;
}

.csis-topbar a:hover {
	color: #1eaa1e;
	text-decoration: none;
}

.csis-lang {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.csis-lang .wpml-ls,
.csis-lang .wpml-ls-statics-shortcode_actions,
.csis-lang .wpml-ls-legacy-list-horizontal {
	margin: 0;
	padding: 0 !important;
	border: none !important;
	background: transparent;
	width: auto;
	clear: none;
}

.csis-lang .wpml-ls-legacy-list-horizontal a {
	padding: 0;
}

.csis-lang .wpml-ls ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: stretch;
	gap: 0;
}

.csis-lang .wpml-ls-item {
	margin: 0;
	padding: 0;
	display: flex;
}

.csis-lang .wpml-ls-link {
	display: flex !important;
	align-items: center;
	justify-content: center;
	border: none;
	cursor: pointer;
	font-family: inherit;
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: 1;
	text-decoration: none;
	box-sizing: border-box;
	background: transparent !important;
}

.csis-lang .wpml-ls-link br {
	display: none;
}

.csis-lang .wpml-ls-native,
.csis-lang .wpml-ls-display {
	font-size: inherit;
	font-weight: inherit;
	letter-spacing: inherit;
	line-height: inherit;
}

.csis-topbar .csis-lang .wpml-ls-link:hover {
	text-decoration: none;
}

.csis-lang--top {
	border: 1px solid #5a82b8;
	padding: 2px;
}

.csis-lang--top .wpml-ls ul {
	align-items: stretch;
	min-height: 22px;
}

.csis-lang--top .wpml-ls-item {
	flex: 1 1 0;
	min-width: 0;
}

.csis-lang--top .wpml-ls-link {
	width: 100%;
	min-width: 28px;
	padding: 4px 10px;
	font-size: 11px;
	color: #c3d1e4;
}

.csis-lang--top .wpml-ls-item-bg .wpml-ls-native,
.csis-lang--top .wpml-ls-item-bg .wpml-ls-display {
	font-size: 0;
}

.csis-lang--top .wpml-ls-item-bg .wpml-ls-native::after,
.csis-lang--top .wpml-ls-item-bg .wpml-ls-display::after {
	content: "БГ";
	display: block;
	font-size: 11px;
	line-height: 1;
}

.csis-lang--top .wpml-ls-item[class*="wpml-ls-item-en"] .wpml-ls-native,
.csis-lang--top .wpml-ls-item[class*="wpml-ls-item-en"] .wpml-ls-display {
	font-size: 0;
}

.csis-lang--top .wpml-ls-item[class*="wpml-ls-item-en"] .wpml-ls-native::after,
.csis-lang--top .wpml-ls-item[class*="wpml-ls-item-en"] .wpml-ls-display::after {
	content: "EN";
	display: block;
	font-size: 11px;
	line-height: 1;
}

.csis-lang--top .wpml-ls-current-language .wpml-ls-link {
	background: #ffffff !important;
	color: #184b8f !important;
}

.csis-lang--top .wpml-ls-item:not(.wpml-ls-current-language) .wpml-ls-link:hover {
	color: #ffffff !important;
}

.csis-nav-mobile__lang {
	margin-top: 12px;
	padding-top: 18px;
	border-top: 1px solid #ede8de;
	display: flex;
	justify-content: center;
}

.csis-lang--menu {
	justify-content: center;
	border: 1px solid #d8d2c5;
	padding: 3px;
}

.csis-lang--menu .wpml-ls ul {
	align-items: stretch;
	min-height: 36px;
}

.csis-lang--menu .wpml-ls-item {
	flex: 1 1 0;
	min-width: 0;
}

.csis-lang--menu .wpml-ls-link {
	width: 100%;
	min-width: 44px;
	padding: 10px 18px;
	font-size: 13px;
	color: #4a5465;
}

.csis-lang--menu .wpml-ls-item-bg .wpml-ls-native,
.csis-lang--menu .wpml-ls-item-bg .wpml-ls-display {
	font-size: 0;
}

.csis-lang--menu .wpml-ls-item-bg .wpml-ls-native::after,
.csis-lang--menu .wpml-ls-item-bg .wpml-ls-display::after {
	content: "БГ";
	display: block;
	font-size: 13px;
	line-height: 1;
}

.csis-lang--menu .wpml-ls-item[class*="wpml-ls-item-en"] .wpml-ls-native,
.csis-lang--menu .wpml-ls-item[class*="wpml-ls-item-en"] .wpml-ls-display {
	font-size: 0;
}

.csis-lang--menu .wpml-ls-item[class*="wpml-ls-item-en"] .wpml-ls-native::after,
.csis-lang--menu .wpml-ls-item[class*="wpml-ls-item-en"] .wpml-ls-display::after {
	content: "EN";
	display: block;
	font-size: 13px;
	line-height: 1;
}

.csis-lang--menu .wpml-ls-current-language .wpml-ls-link {
	background: #184b8f !important;
	color: #ffffff !important;
}

.csis-lang--menu .wpml-ls-item:not(.wpml-ls-current-language) .wpml-ls-link:hover {
	color: #184b8f !important;
}

.csis-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(251, 249, 245, 0.94);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid #e4dfd5;
}

.admin-bar .csis-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .csis-header {
		top: 46px;
	}
}

.csis-header__bar {
	max-width: 1200px;
	margin: 0 auto;
	padding: 10px 24px;
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 12px 20px;
	min-height: 78px;
}

.csis-brand {
	order: 2;
	margin-left: auto;
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	gap: 14px;
	text-decoration: none;
	flex-shrink: 0;
	text-align: right;
}

.csis-brand:hover {
	text-decoration: none;
}

.csis-brand__mark {
	position: relative;
	width: 68px;
	height: 68px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
}

.csis-brand__mark img {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}

.csis-brand__text {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
	max-width: 260px;
}

.csis-brand__name {
	font-family: "Source Serif 4", Georgia, serif;
	font-size: clamp(14px, 3.6vw, 18px);
	font-weight: 500;
	color: #184b8f;
}

.csis-brand__tag {
	font-family: "Source Serif 4", Georgia, serif;
	font-style: italic;
	font-size: clamp(10px, 2.6vw, 11.5px);
	color: #171717;
	margin-top: 3px;
}

.csis-nav {
	order: 1;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 0 2px;
	flex-wrap: nowrap;
	flex: 1 1 0;
	min-width: 0;
	margin-left: -11px;
}

a.csis-nav__link {
	padding: 8px 8px;
	font-size: 16px;
	text-decoration: none;
	color: #4a5465;
	font-weight: 700;
	border-bottom: 2px solid transparent;
	white-space: nowrap;
	flex-shrink: 0;
}

a.csis-nav__link:hover {
	color: #184b8f;
	text-decoration: none;
}

a.csis-nav__link.is-current {
	color: #184b8f;
	font-weight: 700;
	border-bottom-color: #184b8f;
}

a.csis-support:not(.csis-support--mobile) {
	margin-left: 16px;
	color: #fbf9f5;
	padding: 10px 16px;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	background-color: #184b8f;
	white-space: nowrap;
	flex-shrink: 0;
}

a.csis-support:hover,
a.csis-support:focus-visible {
	background: #133d75;
	color: #fbf9f5;
	text-decoration: none;
}

a.csis-support.is-current {
	background-color: #184b8f;
	color: #fbf9f5;
	text-decoration: none;
	box-shadow: inset 0 0 0 2px rgba(251, 249, 245, 0.45);
}

.csis-header__mobile {
	order: 1;
	display: none;
	align-items: center;
	flex-shrink: 0;
}

.csis-menu-btn {
	background: #184b8f;
	color: #fbf9f5;
	border: none;
	padding: 11px 18px;
	font-size: 14px;
	font-weight: 500;
	font-family: inherit;
	cursor: pointer;
	letter-spacing: 0.04em;
}

.csis-menu-btn__icon {
	display: block;
	position: relative;
	width: 22px;
	height: 16px;
}

.csis-menu-btn__icon span {
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	height: 2px;
	border-radius: 1px;
	background: currentColor;
	transition: transform 0.28s ease, opacity 0.2s ease, top 0.28s ease, bottom 0.28s ease;
}

.csis-menu-btn__icon span:nth-child(1) {
	top: 0;
}

.csis-menu-btn__icon span:nth-child(2) {
	top: 7px;
}

.csis-menu-btn__icon span:nth-child(3) {
	bottom: 0;
}

.csis-menu-btn[aria-expanded="true"] .csis-menu-btn__icon span:nth-child(1) {
	top: 7px;
	transform: rotate(45deg);
}

.csis-menu-btn[aria-expanded="true"] .csis-menu-btn__icon span:nth-child(2) {
	opacity: 0;
}

.csis-menu-btn[aria-expanded="true"] .csis-menu-btn__icon span:nth-child(3) {
	bottom: auto;
	top: 7px;
	transform: rotate(-45deg);
}

.csis-nav-mobile {
	border-top: 1px solid #e4dfd5;
	background: #fbf9f5;
	padding: 10px 24px 22px;
	display: flex;
	flex-direction: column;
}

.csis-nav-mobile[hidden] {
	display: none;
}

a.csis-nav-mobile__link {
	padding: 14px 0;
	font-size: 18px;
	font-weight: 700;
	color: #184b8f;
	border-bottom: 1px solid #ede8de;
	text-decoration: none;
}

a.csis-nav-mobile__link:hover,
a.csis-nav-mobile__link.is-current {
	color: #184b8f;
	text-decoration: none;
	font-weight: 700;
}

a.csis-support--mobile {
	margin: 18px 0 0;
	text-align: center;
	padding: 15px 20px;
	font-size: 15px;
}

/* Desktop header: keep menu + „Подкрепете ни“ on one row (bold 16px needs tighter gaps). */
@media (min-width: 1100px) and (max-width: 1320px) {
	a.csis-nav__link {
		padding: 8px 6px;
		font-size: 15px;
	}

	a.csis-support {
		padding: 9px 14px;
		font-size: 14px;
	}

	.csis-brand__text {
		max-width: 210px;
	}

	.csis-brand__name {
		font-size: 14px;
	}
}

@media (max-width: 1099px) {
	.csis-topbar,
	.csis-nav {
		display: none;
	}

	.csis-header {
		border-bottom-width: 4px;
		border-bottom-color: #184b8f;
	}

	.csis-header__bar {
		display: grid;
		grid-template-columns: auto 1fr auto;
		align-items: center;
		column-gap: 10px;
		padding: 12px 16px;
		min-height: 0;
	}

	.csis-header__mobile {
		display: flex;
		grid-column: 1;
		grid-row: 1;
	}

	.csis-brand {
		display: contents;
		margin-left: 0;
	}

	.csis-brand__text {
		grid-column: 2;
		grid-row: 1;
		justify-self: center;
		align-self: center;
		min-width: 0;
		max-width: none;
		text-align: center;
	}

	.csis-brand__mark {
		grid-column: 3;
		grid-row: 1;
		justify-self: end;
		width: 56px;
		height: 56px;
	}

	.csis-brand__mark img {
		width: 52px;
		height: 52px;
	}

	.csis-menu-btn {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		padding: 14px;
		min-width: 48px;
		min-height: 48px;
	}
}

.csis-footer {
	background: #184b8f;
	color: #c6cedb;
}

.csis-footer__grid {
	max-width: 1200px;
	margin: 0 auto;
	padding: 64px 24px 28px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 48px;
}

.csis-footer__name {
	font-family: "Source Serif 4", Georgia, serif;
	font-size: 19px;
	color: #f3efe7;
	margin-bottom: 10px;
	max-width: 26ch;
}

.csis-footer__tag {
	font-family: "Source Serif 4", Georgia, serif;
	font-style: italic;
	font-size: 14px;
	color: #1eaa1e;
}

.csis-footer__label {
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #b8c8df;
	margin-bottom: 16px;
}

.csis-footer a {
	display: block;
	font-size: 14px;
	padding: 5px 0;
	color: #dce3ec;
	text-decoration: none;
}

.csis-footer a:hover,
.csis-footer a.is-current {
	color: #1eaa1e;
	text-decoration: none;
}

.csis-footer__bar {
	border-top: 1px solid #3a66a3;
}

.csis-footer__bar-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 18px 24px 22px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 28px;
}

.csis-footer__policies {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 20px;
	font-size: 13px;
}

.csis-footer__policies a {
	display: inline;
	font-size: 13px;
	color: #d4e2f4;
	text-decoration: none;
}

.csis-footer__policies a:hover {
	color: #1eaa1e;
	text-decoration: underline;
}

.csis-footer__legal {
	font-size: 13px;
	color: #b8c8df;
	margin: 0;
}

/* —— Legal pages (block template, no Elementor) —— */
main.csis-main.csis-legal-page {
	width: min(100%, 1200px);
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-top: 56px;
	padding-bottom: 88px;
}

.csis-legal-page__inner {
	width: 100%;
}

.csis-legal-page__title,
.csis-legal-page .csis-legal-page__title {
	font-family: "Source Serif 4", Georgia, serif;
	font-size: clamp(28px, 3.2vw, 40px);
	font-weight: 400;
	line-height: 1.15;
	color: #184b8f;
	margin: 0 0 28px;
	letter-spacing: -0.02em;
}

.csis-legal-page .csis-legal-intro,
.csis-legal-page .entry-content .csis-legal-intro {
	font-size: 17px;
	line-height: 1.65;
	color: #4a5465;
	margin: 0 0 36px;
}

.csis-legal-page .csis-legal-section-title,
.csis-legal-page .entry-content h2.csis-legal-section-title,
.csis-legal-page .entry-content h2.wp-block-heading:not(.csis-legal-subsection-title) {
	font-family: "IBM Plex Sans", system-ui, sans-serif;
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.35;
	color: #184b8f;
	margin: 2.25rem 0 0.75rem;
	letter-spacing: 0.01em;
}

.csis-legal-page .csis-legal-subsection-title,
.csis-legal-page .entry-content h3.csis-legal-subsection-title,
.csis-legal-page .entry-content h3.wp-block-heading {
	font-family: "IBM Plex Sans", system-ui, sans-serif;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.4;
	color: #184b8f;
	margin: 1.5rem 0 0.5rem;
}

.csis-legal-page .csis-legal-text,
.csis-legal-page .entry-content p {
	font-size: 16px;
	line-height: 1.75;
	color: #4a5465;
	margin: 0 0 1rem;
}

.csis-legal-page .csis-legal-list,
.csis-legal-page .entry-content ul.csis-legal-list,
.csis-legal-page .entry-content ul:not([class]) {
	margin: 0 0 1.25rem;
	padding-left: 1.35rem;
	font-size: 16px;
	line-height: 1.7;
	color: #4a5465;
}

.csis-legal-page .csis-legal-list li,
.csis-legal-page .entry-content ul li {
	margin-bottom: 0.45rem;
}

.csis-legal-page .csis-legal-list li::marker {
	color: #1eaa1e;
}

body.csis-legal-page-active:not(.elementor-page) .csis-main.csis-legal-page {
	background: transparent;
}

.csis-main {
	padding: 48px 24px 80px;
}

/* Single templates: same content width as header/footer (overrides alignfull). */
main.csis-main.csis-single-post-page,
main.csis-main.csis-analysis-page {
	width: min(100%, 1200px);
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

.csis-main h1,
.csis-main .wp-block-post-title {
	font-family: "Source Serif 4", Georgia, serif;
	font-weight: 400;
	color: #184b8f;
	letter-spacing: -0.015em;
}

.csis-single {
	max-width: 1200px;
	margin: 0 auto;
}

.csis-single .wp-block-post-featured-image {
	margin: 0 0 28px;
}

.csis-single .wp-block-post-featured-image img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border: 1px solid #e4dfd5;
}

.csis-single .wp-block-post-date {
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #007a00;
	margin: 0 0 14px;
}

.csis-single .wp-block-post-title {
	font-size: clamp(30px, 3.8vw, 46px);
	line-height: 1.12;
	margin: 0 0 20px;
}

.csis-single .wp-block-post-content {
	font-size: 16.5px;
	line-height: 1.75;
	color: #4a5465;
	max-width: 68ch;
}

.csis-single .csis-files {
	margin-top: 28px;
}

/* —— Single post (Актуално) —— */
.csis-single-post-page.csis-main {
	padding: 0;
}

.csis-single-post__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 48px 24px 56px;
}

.csis-single-post__cats,
.csis-single-post__title,
.csis-single-post__author,
.csis-single-post__figure {
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

.csis-single-post__figure {
	max-width: 1200px !important;
	img {
		max-height: 400px;
	}
}

.csis-single-post__cats {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1.5;
	margin-bottom: 18px;
}

.csis-single-post__cats a {
	color: #1eaa1e;
	text-decoration: none;
}

.csis-single-post__cats a:hover {
	color: #007a00;
	text-decoration: underline;
}

.csis-single-post__cat-sep {
	margin: 0 0.35em;
	color: #6a7284;
	font-weight: 400;
}

.csis-single-post__title {
	font-family: "Source Serif 4", Georgia, serif;
	font-size: clamp(30px, 3.8vw, 46px);
	font-weight: 400;
	line-height: 1.12;
	color: #184b8f;
	margin: 0 auto 22px;
	letter-spacing: -0.015em;
}

.csis-single-post__author {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 28px;
}

.csis-single-post__initials {
	width: 48px;
	height: 48px;
	/* border-radius: 50%; */
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #184b8f;
	color: #fbf9f5;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1;
}

.csis-single-post__author-meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.csis-single-post__author-name {
	font-size: 15px;
	font-weight: 500;
	color: #26303f;
}

.csis-single-post__date {
	font-size: 13px;
	color: #6a7284;
	line-height: 1.4;
}

.csis-single-post__figure {
	margin: 0 0 32px;
}

.csis-single-post__figure img,
.csis-single-post__image {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	display: block;
	border: 1px solid #e4dfd5;
}

.csis-single-post__content {
	margin: 0 auto;
	font-size: 17px;
	line-height: 1.75;
	color: #4a5465;
}

.csis-single-post__content > :first-child {
	margin-top: 0;
}

.csis-single-post__content p {
	margin: 0 0 1.15em;
}

.csis-news-embed {
	margin: 28px 0 0;
}

.csis-news-embed__video,
.csis-news-embed__gif {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	background: #000;
}

.csis-single-post__content .csis-files {
	margin-top: 28px;
}

.csis-related {
	background: #f5f2eb;
	border-top: 1px solid #e4dfd5;
	padding: 52px 24px 72px;
}

.csis-related__inner {
	max-width: 1200px;
	margin: 0 auto;
}

.csis-related__title {
	font-family: "Source Serif 4", Georgia, serif;
	font-size: clamp(26px, 3vw, 32px);
	font-weight: 400;
	color: #184b8f;
	margin: 0 0 28px;
}

.csis-related__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.csis-related-card {
	background: #ffffff;
	box-shadow: 0 0 0 1px #e4dfd5;
	min-height: 100%;
	transition: box-shadow 160ms ease, transform 160ms ease;
}

.csis-related-card:hover {
	box-shadow: 0 0 0 1px #184b8f;
	transform: translateY(-2px);
}

.csis-related-card__body {
	padding: 24px 26px 26px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.csis-related-card__cat {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #007a00;
}

.csis-related-card__title {
	font-family: "Source Serif 4", Georgia, serif;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.32;
	margin: 0;
}

.csis-related-card__title a {
	color: #184b8f;
	text-decoration: none;
}

.csis-related-card__title a:hover {
	color: #007a00;
}

.csis-related-card__meta {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: #6a7284;
}

@media (max-width: 900px) {
	.csis-related__grid {
		grid-template-columns: 1fr;
	}

	.csis-single-post__title {
		max-width: none;
	}
}

.csis-analysis-page {
	padding-left: 24px;
	padding-right: 24px;
}

.csis-analysis__cat {
	margin-bottom: 16px;
}

.csis-analysis h1 {
	font-size: clamp(30px, 3.8vw, 46px);
	line-height: 1.12;
	margin: 0 0 16px;
	max-width: 22ch;
}

.csis-analysis__meta {
	font-size: 13px;
	color: #6a7284;
	margin-bottom: 22px;
}

.csis-analysis p {
	margin: 0;
	font-size: 17px;
	line-height: 1.7;
	color: #4a5465;
	max-width: 62ch;
}

.csis-analysis .csis-calc {
	margin-top: 48px;
}

.csis-analysis__read {
	margin-top: 28px;
	margin-bottom: 24px;
}

.csis-analysis__read + p {
	padding-top: 16px;
}

.csis-main.csis-analysis-page .csis-analysis__read-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	font-family: var(--csis-font-sans, "IBM Plex Sans", system-ui, sans-serif);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	color: #fbf9f5 !important;
	background: #007a00 !important;
	border: none;
	border-radius: 0;
	text-decoration: none !important;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
	transition: background 0.15s ease, color 0.15s ease;
}

.csis-main.csis-analysis-page .csis-analysis__read-link:hover,
.csis-main.csis-analysis-page .csis-analysis__read-link:focus-visible {
	background: #006800 !important;
	color: #fbf9f5 !important;
	text-decoration: none !important;
}

/* —— Justified body text (feedback 1.4) —— */
.csis-single-post__content p,
.wp-block-post-content p,
.csis-single .wp-block-post-content p,
.csis-legal-page .entry-content p,
.csis-analysis > p:not(.csis-analysis__read),
.csis-team-card__bio p,
.csis-partner-card__text,
.csis-salary-calcs-aside__body p,
body.elementor-page .elementor-widget-text-editor p,
body.elementor-page .elementor-element-fe78e70f p,
body.elementor-page .elementor-element-0dab83b5 p,
body.elementor-page .elementor-element-2e6a4c52 p,
body.elementor-page .elementor-element-e515bacb p,
body.elementor-page .elementor-element-2c4e3dfb p,
body.elementor-page .elementor-element-df58e42b p,
body.elementor-page .elementor-element-0d0f3343 p,
body.elementor-page .elementor-element-5a6d4614 p,
body.elementor-page .elementor-element-b677a8ff p {
	text-align: justify;
	hyphens: auto;
	-webkit-hyphens: auto;
}

/* UI, cards, калкулатор, навигация — без justify */
.csis-header p,
.csis-topbar p,
.csis-footer p,
.csis-nav p,
.csis-nav-mobile p,
.csis-calc__note p,
.csis-calc__formula,
.csis-calc__note,
.csis-calc p,
.csis-card p,
.csis-analysis-card p,
.csis-news-card__body p,
.csis-news-row__body p,
.csis-analiz-hero p,
.csis-placeholder p,
.csis-analyses-empty p,
.csis-news-empty p,
.csis-analysis__read,
blockquote p,
.wp-block-quote p,
.csis-card .elementor-widget-text-editor p,
.csis-analysis-card .elementor-widget-text-editor p,
.csis-news-card .elementor-widget-text-editor p,
.csis-news-row .elementor-widget-text-editor p,
.csis-calc .elementor-widget-text-editor p {
	text-align: start !important;
}

html.csis-site-loader-active,
html.csis-site-loader-active body {
	overflow: hidden;
	/* Съвпада с фона на GIF (студено сиво), не с cream на сайта (#fbf9f5). */
	background: #e8ebef;
	background: linear-gradient(180deg, #ececec 0%, #d9dde1 100%);
	transition: background 0.65s ease;
}

.csis-site-loader {
	position: fixed;
	inset: 0;
	z-index: 1000000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #e8ebef;
	background: linear-gradient(180deg, #ececec 0%, #d9dde1 100%);
	clip-path: circle(150vmax at 50% 42%);
	opacity: 1;
	filter: blur(0);
	transform: scale(1);
	transition:
		clip-path 0.95s cubic-bezier(0.45, 0, 0.15, 1),
		opacity 0.75s ease 0.08s,
		filter 0.7s ease,
		transform 0.95s cubic-bezier(0.45, 0, 0.15, 1),
		visibility 0s linear 0.95s;
	will-change: clip-path, opacity, filter, transform;
}

/* Лек „студиен“ блясък като в 3D рендера на клипа. */
.csis-site-loader::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(
		ellipse 85% 72% at 50% 42%,
		rgba(255, 255, 255, 0.45) 0%,
		rgba(255, 255, 255, 0) 68%
	);
	pointer-events: none;
	transition: opacity 0.5s ease;
}

.csis-site-loader[hidden] {
	display: none !important;
}

.csis-site-loader.is-exiting {
	clip-path: circle(0% at 50% 42%);
	opacity: 0;
	filter: blur(14px);
	transform: scale(1.04);
	visibility: hidden;
	pointer-events: none;
}

.csis-site-loader.is-exiting::before {
	opacity: 0;
	transition: opacity 0.35s ease;
}

.csis-site-loader__media-wrap {
	position: relative;
	z-index: 1;
	width: min(320px, 88vw);
	max-height: min(568px, 82vh);
	display: flex;
	align-items: center;
	justify-content: center;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.15s ease;
	-webkit-mask-image:
		linear-gradient(to right, transparent 0%, #000 16%, #000 84%, transparent 100%),
		linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
	mask-image:
		linear-gradient(to right, transparent 0%, #000 16%, #000 84%, transparent 100%),
		linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
	-webkit-mask-composite: source-in;
	mask-composite: intersect;
}

.csis-site-loader.is-playing .csis-site-loader__media-wrap {
	visibility: visible;
	opacity: 1;
}

.csis-site-loader__media {
	display: block;
	width: 100%;
	height: auto;
	max-height: min(568px, 82vh);
	object-fit: contain;
	vertical-align: middle;
	background: transparent;
}

.csis-site-loader.is-exiting .csis-site-loader__skip {
	opacity: 0;
	transition: opacity 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
	.csis-site-loader {
		clip-path: none;
		transition: opacity 0.35s ease, visibility 0.35s ease;
	}

	.csis-site-loader.is-exiting {
		filter: none;
		transform: none;
	}
}

.csis-site-loader__skip {
	position: absolute;
	top: max(16px, env(safe-area-inset-top, 0px));
	right: max(16px, env(safe-area-inset-right, 0px));
	margin: 0;
	padding: 8px 14px;
	border: 1px solid #c3d1e4;
	border-radius: 4px;
	background: rgba(236, 236, 236, 0.88);
	color: #26303f;
	font: inherit;
	font-size: 14px;
	cursor: pointer;
}

.csis-site-loader__skip:hover {
	border-color: #184b8f;
	color: #184b8f;
}
