/* Serif editorial type — Cyrillic from theme fonts (see inc/typography.php). */
body.elementor-page {
	--csis-font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--csis-font-sans: "IBM Plex Sans", system-ui, sans-serif;
}

body.elementor-page .elementor-widget-heading .elementor-heading-title {
	font-family: var(--csis-font-serif) !important;
}

/* Small uppercase UI labels stay sans (match design). */
body.elementor-page .elementor-element-783077cb .elementor-heading-title,
body.elementor-page .elementor-element-b8cd047b .elementor-heading-title,
body.elementor-page .elementor-element-c33b8d44 .elementor-heading-title,
body.elementor-page .elementor-element-ca2a8dd3 .elementor-heading-title,
body.elementor-page .elementor-element-cd72e7f7 .elementor-heading-title {
	font-family: var(--csis-font-sans) !important;
}

/* Hero lead paragraph — serif in design, not sans body. */
body.elementor-page .elementor-element-fe78e70f,
body.elementor-page .elementor-element-fe78e70f .elementor-widget-container {
	font-family: var(--csis-font-serif) !important;
}

body.elementor-page .csis-main:not(.csis-single-post-page):not(.csis-analysis-page) {
	padding: 0;
	max-width: none;
}

body.elementor-page .csis-main.csis-single-post-page,
body.elementor-page .csis-main.csis-analysis-page {
	width: min(100%, 1200px);
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

body.elementor-page .csis-main > .wp-block-post-title {
	display: none;
}

body.elementor-page .wp-block-post-content,
body.elementor-page .elementor {
	max-width: none;
}

.elementor a.elementor-button,
.elementor a.elementor-button:hover,
.elementor a.elementor-button:focus {
	text-decoration: none;
}

.elementor .elementor-widget-text-editor p {
	margin: 0 0 14px;
}

/* Placeholder / centered blocks — override global justify (layout.css 1.4) */
.elementor-page-6 .e-con:has(> .csis-placeholder) > .elementor-widget-text-editor p,
.csis-placeholder .elementor-widget-text-editor p {
	text-align: center !important;
}

.elementor .elementor-widget-text-editor p:last-child {
	margin-bottom: 0;
}

.csis-placeholder .elementor-heading-title,
.csis-placeholder .elementor-widget-heading {
	text-align: center;
	width: 100%;
}

/* Home — „Какво правим?“: 4 cards in 2 rows × 2 columns */
@media (min-width: 768px) {
	body.elementor-page .elementor-element-f946b2f2.e-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

.csis-salary-calcs-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 26%);
	gap: 28px 24px;
	align-items: start;
}

@media (min-width: 961px) {
	.csis-salary-calcs-aside {
		max-width: 280px;
		justify-self: end;
	}
}

@media (max-width: 960px) {
	.csis-salary-calcs-layout {
		grid-template-columns: 1fr;
	}
}

.csis-salary-calcs-aside {
	display: flex;
	flex-direction: column;
	gap: 16px;
	position: sticky;
	top: 96px;
	min-width: 0;
}

.csis-salary-calcs-aside__title {
	font-family: var(--csis-font-serif);
	font-size: 21px;
	font-weight: 500;
	color: #184b8f;
	margin: 0 0 10px;
	line-height: 1.28;
}

.csis-salary-calcs-aside__body {
	font-size: 13px;
	line-height: 1.55;
	color: #4a5465;
}

.csis-salary-calcs-aside__body h2,
.csis-salary-calcs-aside__body h3,
.csis-salary-calcs-aside__body h4 {
	font-family: var(--csis-font-serif);
	font-size: 17px;
	font-weight: 500;
	color: #184b8f;
	margin: 14px 0 6px;
	line-height: 1.32;
}

.csis-salary-calcs-aside__body h2:first-child,
.csis-salary-calcs-aside__body h3:first-child,
.csis-salary-calcs-aside__body h4:first-child {
	margin-top: 0;
}

/* Страница калкулатори — надзаглавие над H1 (Elementor h6) */
body.elementor-page:has(.csis-salary-calcs-layout) .elementor-widget-heading h6 .elementor-heading-title {
	font-size: 13px !important;
	letter-spacing: 0.16em !important;
	line-height: 1.4 !important;
}

.csis-salary-calcs .csis-calc--page .csis-calc__head .csis-kicker {
	font-size: 13px;
	letter-spacing: 0.16em;
	margin-bottom: 10px;
}

.csis-salary-calcs-aside__body p {
	margin: 0 0 8px;
}

.csis-salary-calcs-aside__placeholder {
	font-size: 12px;
	line-height: 1.45;
	color: #6a7284;
	margin: 0;
}

.csis-salary-calcs-aside__box--placeholder {
	padding: 12px 14px;
	border: 1px dashed #d8d2c8;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.45);
}

.csis-salary-calcs {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

/* Home — hero video + turnover feed (feedback 21.10.2026) */
.csis-home-hero-video {
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 480 / 444;
	max-height: min(52vh, 520px);
}

.csis-home-hero-video__el {
	display: block;
	width: 100%;
	height: 100%;
	max-height: inherit;
	object-fit: contain;
	object-position: center;
	vertical-align: middle;
	background: #fff;
}

@media (min-width: 768px) {
	.csis-home-hero-video {
		max-height: min(50vh, 480px);
	}
}

@media (min-width: 1024px) {
	.csis-home-hero-video {
		max-height: min(44vh, 460px);
	}
}

.elementor-element-2341715c .elementor-widget-image,
.elementor-element-82b53694 {
	display: none !important;
}

/* Без admin видео — не резервираме празен блок с min-height от Elementor. */
.elementor-element-2341715c {
	min-height: 0 !important;
}

.elementor-element-2341715c:not(:has(.csis-home-hero-video)) {
	border: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.elementor-element-2341715c .csis-home-hero-video {
	margin-bottom: 0;
	border-radius: 0;
	overflow: hidden;
}

.elementor-element-2341715c:has(.csis-home-hero-video) {
	min-height: 0 !important;
	overflow: hidden;
	background-color: #fff !important;
	border: none !important;
	box-shadow: none !important;
}

.elementor-element-2341715c:has(.csis-home-hero-video) > .e-con-inner {
	background-color: #fff !important;
}

/* Без черни ъгълчета от MP4 / letterboxing при object-fit: contain */
.elementor-element-2341715c:has(.csis-home-hero-video) .csis-home-hero-video__el {
	transform: scale(1.015);
	transform-origin: center center;
}

.csis-home-turnover {
	display: flex;
	flex-direction: column;
	gap: 0;
	width: 100%;
}

.csis-home-turnover__section {
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.csis-home-turnover--analizi,
.csis-home-turnover--aktualno {
	margin-top: 0;
}

.elementor-element-788e60e6 > .elementor-element-a9homean1,
.elementor-element-788e60e6 > .elementor-element-a9hometurn1,
.elementor-element-788e60e6 > .elementor-element-1fc1050f {
	align-self: start;
}

/* Legacy Elementor kicker — заглавието идва от shortcode h3.csis-home-turnover__label */
.elementor-element-788e60e6 .elementor-element-d01916a3 {
	display: none !important;
}

.elementor-element-788e60e6 > .elementor-element-a9homean1 .elementor-widget-container,
.elementor-element-788e60e6 > .elementor-element-a9hometurn1 .elementor-widget-container,
.elementor-element-788e60e6 > .elementor-element-1fc1050f .elementor-widget-container {
	margin: 0;
	padding: 0;
}

.csis-home-turnover__label {
	font-family: var(--csis-font-sans);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #d6dfeb;
	margin: 0 0 10px;
	line-height: 1.4;
}

.csis-home-turnover-post {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
}

.csis-home-turnover-post__media {
	grid-column: 1;
	grid-row: 1;
}

.csis-home-turnover-post__body {
	grid-column: 2;
	grid-row: 1;
	min-width: 0;
}

/* Без миниатюра — една колона (иначе body остава в 96px колоната). */
.csis-home-turnover-post--no-media,
.csis-home-turnover-post:not(:has(.csis-home-turnover-post__media)) {
	grid-template-columns: minmax(0, 1fr);
}

.csis-home-turnover-post--no-media .csis-home-turnover-post__body,
.csis-home-turnover-post:not(:has(.csis-home-turnover-post__media)) .csis-home-turnover-post__body {
	grid-column: 1;
}

.csis-home-turnover-post__media img {
	width: 96px;
	height: 72px;
	object-fit: cover;
	border-radius: 4px;
	display: block;
}

.csis-home-turnover-post__title {
	font-family: var(--csis-font-serif);
	font-size: 17px;
	font-weight: 500;
	color: #fff;
	text-decoration: none;
	line-height: 1.35;
}

.csis-home-turnover-post__body p {
	font-size: 14px;
	line-height: 1.55;
	color: #d6dfeb;
	margin: 6px 0 0;
}

.csis-home-turnover-post__body .csis-news-date {
	color: #a8bdd4;
	font-size: 12px;
	margin-bottom: 4px;
}

.csis-home-turnover-posts {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.csis-home-turnover--analizi .csis-analiz-hero__item,
.csis-home-turnover--aktualno .csis-home-turnover-post {
	padding: 14px 0;
	border-bottom: 1px solid #3a66a3;
}

.csis-home-turnover--analizi .csis-analiz-hero__item:first-child,
.csis-home-turnover--aktualno .csis-home-turnover-post:first-child {
	padding-top: 0;
}

.csis-home-turnover--analizi .csis-analiz-hero__item:last-child,
.csis-home-turnover--aktualno .csis-home-turnover-post:last-child {
	border-bottom: none;
}

.csis-home-turnover--analizi .csis-analiz-hero__title,
.csis-home-turnover--aktualno .csis-home-turnover-post__title {
	font-family: var(--csis-font-serif);
	font-size: 17px;
	font-weight: 500;
	line-height: 1.35;
}

.csis-home-turnover--analizi .csis-analiz-hero__meta {
	font-size: 12px;
	color: #a8bdd4;
}

.csis-home-turnover--analizi .csis-analiz-hero__cat {
	font-size: 11px;
	letter-spacing: 0.12em;
	margin-bottom: 2px;
}

.csis-wwd-card__thumb {
	display: block;
	width: 100%;
	max-width: 120px;
	height: auto;
	border-radius: 4px;
	margin-bottom: 10px;
	object-fit: cover;
}

/* Калкулатор под „Какво правим“ */
.elementor-element-e0bfeefe .csis-calc--home {
	margin-top: 8px;
}

/* „Знание с обществена посока“ — една колона, текст + линк отляво */
body.elementor-page .elementor-element-bba09276.e-grid {
	grid-template-columns: minmax(0, 1fr) !important;
	justify-items: start !important;
	max-width: 42em;
}

body.elementor-page .elementor-element-a3f2b771 {
	display: none !important;
}

body.elementor-page .elementor-element-51682011,
body.elementor-page .elementor-element-618d5cfb {
	grid-column: 1 !important;
	width: 100%;
}

body.elementor-page .elementor-element-51682011 .elementor-widget-text-editor p,
body.elementor-page .elementor-element-618d5cfb .elementor-widget-text-editor p,
body.elementor-page .elementor-element-51682011 .elementor-widget-container p,
body.elementor-page .elementor-element-618d5cfb .elementor-widget-container p {
	text-align: justify;
	hyphens: auto;
	-webkit-hyphens: auto;
}

/* Подкрепете ни — по-четими надзаглавия (kicker / h6) */
.elementor-page-10 .elementor-widget-heading h6 .elementor-heading-title,
.elementor-page-10 .csis-donation-copy .elementor-widget-heading h6 .elementor-heading-title {
	font-size: 13px !important;
	letter-spacing: 0.16em !important;
}

.csis-salary-calcs .csis-calc.csis-calc--page {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	padding: 28px 36px 22px;
	grid-template-columns: unset;
}

.csis-salary-calcs .csis-calc--page .csis-calc__shell {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: 20px 32px;
	align-items: center;
	flex: 1 1 auto;
	min-height: 0;
}

.csis-salary-calcs .csis-calc--page .csis-calc__main {
	min-width: 0;
}

.csis-salary-calcs .csis-calc--page .csis-calc__meta {
	flex: 0 0 auto;
	max-height: var(--csis-calc-meta-max, 28%);
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	padding-top: 8px;
	border-top: 1px solid #e4dfd5;
	display: flex;
	flex-direction: column;
	gap: 6px;
	scrollbar-width: thin;
}

.csis-calc--page .csis-calc__head h3 {
	font-size: clamp(20px, 2.4vw, 24px);
	line-height: 1.25;
	margin: 0;
}

.csis-calc--page .csis-calc__head .csis-kicker {
	margin-bottom: 8px;
}

.csis-calc--page .csis-calc__body {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 20px 28px;
	align-items: center;
	align-self: center;
}

.csis-calc--page .csis-fields {
	align-items: flex-end;
	flex-wrap: nowrap;
}

.csis-calc--page .csis-fields label {
	flex: 1 1 0;
	min-width: 0;
}

.csis-calc--page .csis-result {
	min-width: 140px;
	text-align: left;
	align-self: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.csis-calc--page .csis-calc__formula {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: #6b7280;
}

.csis-salary-calcs .csis-calc--page .csis-calc__meta .csis-calc__formula {
	flex-shrink: 0;
}

.csis-salary-calcs .csis-calc--page .csis-calc__meta .csis-calc__note--below {
	margin: 0;
	flex-shrink: 1;
	min-height: 0;
}

.csis-salary-calcs .csis-calc--page .csis-calc__meta .csis-calc__note--below p {
	margin: 0 0 4px;
	font-size: 11px;
	line-height: 1.35;
	color: #8a919c;
	font-style: italic;
}

.csis-salary-calcs .csis-calc--page .csis-calc__meta .csis-calc__note--below p:last-child {
	margin-bottom: 0;
}

.csis-calc--page input[readonly] {
	background: #f0ece4;
	color: #4a5465;
	cursor: default;
}

@media (max-width: 991px) {
	.csis-salary-calcs .csis-calc--page .csis-calc__shell {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}

@media (max-width: 767px) {
	.csis-calc--page .csis-calc__body {
		grid-template-columns: 1fr;
	}

	.csis-calc--page .csis-fields {
		flex-wrap: wrap;
		align-items: stretch;
	}
}

.csis-card {
	transition: box-shadow 160ms ease, transform 160ms ease;
}

.csis-card:hover {
	transform: translateY(-3px);
	border-color: #184b8f !important;
}

.csis-textlink a {
	color: #184b8f;
	border-bottom: 1px solid #8fe88f;
	padding-bottom: 2px;
	text-decoration: none;
	font-size: 14px;
}

.csis-textlink a:has(.csis-link-underline) {
	border-bottom: none;
	padding-bottom: 0;
}

.csis-textlink a .csis-link-underline {
	border-bottom: 1px solid #8fe88f;
	padding-bottom: 2px;
}

.csis-textlink a:has(.remove-underline):not(:has(.csis-link-underline)) {
	border-bottom: none;
	padding-bottom: 0;
}

.csis-textlink a .remove-underline {
	text-decoration: none;
	border-bottom: none;
}

.csis-textlink a:hover {
	color: #007a00;
	text-decoration: none;
}

.csis-textlink--light a {
	color: #1eaa1e;
	border-bottom-color: #1eaa1e;
}

.csis-textlink--light a:has(.remove-underline) {
	border-bottom: none;
	padding-bottom: 0;
}

.csis-searchbar {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 24px;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

.csis-searchbar input {
	flex: 1;
	min-width: 240px;
	max-width: 440px;
	padding: 14px 16px;
	border: 1px solid #c9c2b4;
	background: #ffffff;
	font: inherit;
	font-size: 15px;
	color: #26303f;
}

.csis-searchbar span {
	font-size: 13px;
	color: #6a7284;
}

.csis-analyses-filters {
	margin-bottom: 28px;
}

.csis-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.csis-pills button {
	padding: 9px 16px;
	font: inherit;
	font-size: 13px;
	cursor: pointer;
	border: 1px solid #d8d2c5;
	background: transparent;
	color: #4a5465;
}

.csis-pills button.is-on {
	border-color: #184b8f;
	background: #184b8f;
	color: #fbf9f5;
}

.csis-analyses-empty {
	margin-top: 36px;
	padding: 48px 24px;
	border: 1px dashed #c9c2b4;
	text-align: center;
	color: #6a7284;
	font-size: 15px;
}

.csis-files {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.csis-files span,
.csis-files a {
	display: inline-flex;
	align-items: center;
	border: 1px solid #c9c2b4;
	background: #ffffff;
	padding: 10px 14px;
	font-size: 13px;
	color: #184b8f;
	text-decoration: none;
}

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

.csis-news-row[hidden] {
	display: none;
}

.csis-news-empty {
	margin-top: 36px;
	padding: 48px 24px;
	border: 1px dashed #c9c2b4;
	text-align: center;
	color: #6a7284;
	font-size: 15px;
}

.csis-searchbar--news input {
	max-width: 440px;
}

.csis-calc {
	width: 100%;
	background: #f5f2eb;
	box-shadow: 0 0 0 1px #e4dfd5;
	padding: 36px;
	display: grid;
	gap: 28px;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	align-items: end;
}

/* Страница калкулатори — flex layout (не auto-fit grid от .csis-calc) */
.csis-salary-calcs .csis-calc.csis-calc--page {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	padding: 28px 36px 22px;
}

.csis-calc h3 {
	font-family: "Source Serif 4", Georgia, serif;
	font-weight: 500;
	font-size: 24px;
	color: #184b8f;
	margin: 0 0 8px;
}

.csis-calc p,
.csis-calc label {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: #4a5465;
}

.csis-calc .csis-kicker {
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #007a00;
	margin-bottom: 12px;
}

.csis-calc .csis-fields {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.csis-calc label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #6a7284;
	flex: 1;
	min-width: 110px;
}

.csis-calc input,
.csis-calc select {
	padding: 13px 14px;
	border: 1px solid #c9c2b4;
	background: #ffffff;
	font-size: 16px;
	width: 100%;
	color: #26303f;
}

.csis-calc select {
	cursor: pointer;
	appearance: auto;
}

.csis-calc--home {
	margin-top: 20px;
	padding: 18px 20px 16px;
	gap: 12px;
	grid-template-columns: minmax(0, 1fr);
	align-items: stretch;
}

.csis-calc--home .csis-calc__intro .csis-kicker {
	margin-bottom: 6px;
	font-size: 10px;
	letter-spacing: 0.14em;
}

.csis-calc--home h3 {
	font-size: 18px;
	font-weight: 500;
	margin: 0 0 4px;
	line-height: 1.2;
}

.csis-calc--home .csis-calc__intro p {
	font-size: 13px;
	line-height: 1.45;
	max-width: 36em;
}

.csis-calc--home .csis-calc__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
}

.csis-calc--home .csis-fields {
	display: flex;
	flex: 1 1 220px;
	flex-wrap: wrap;
	gap: 10px;
	min-width: 0;
}

.csis-calc--home label {
	gap: 4px;
	font-size: 10px;
	letter-spacing: 0.05em;
	min-width: 0;
	flex: 1 1 140px;
}

.csis-calc--home input,
.csis-calc--home select {
	padding: 9px 11px;
	font-size: 15px;
}

.csis-calc--home .csis-result {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	align-self: center;
	text-align: center;
	min-width: 5.75rem;
	padding: 8px 14px;
	margin: 0;
}

.csis-calc--home .csis-result--has-tip {
	position: relative;
	cursor: help;
	outline: none;
}

.csis-calc--home .csis-result .csis-calc__tip {
	position: absolute;
	z-index: 30;
	bottom: calc(100% + 10px);
	right: 0;
	width: min(300px, 78vw);
	max-width: 300px;
	padding: 10px 12px;
	margin: 0;
	border: 1px solid rgba(24, 75, 143, 0.18);
	border-top: none;
	border-radius: 2px;
	background: #ffffff;
	box-shadow: 0 10px 28px rgba(12, 36, 72, 0.22);
	text-align: left;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.15s ease, visibility 0.15s ease;
}

.csis-calc--home .csis-result--has-tip:hover .csis-calc__tip,
.csis-calc--home .csis-result--has-tip:focus-within .csis-calc__tip {
	opacity: 1;
	visibility: visible;
}

.csis-calc--home .csis-result .csis-kicker {
	margin: 0 0 4px;
	font-size: 9px;
	letter-spacing: 0.12em;
}

.csis-calc--home .csis-result strong {
	font-size: 30px;
	line-height: 1;
	letter-spacing: -0.03em;
}

.csis-calc__note {
	margin: 0;
	font-size: 11px;
	line-height: 1.45;
	color: #8a94a8;
	font-style: italic;
}

.csis-calc__note p {
	margin: 0 0 6px;
}

.csis-calc__note p:last-child {
	margin-bottom: 0;
}

.csis-calc--home .csis-calc__formula {
	font-size: 12px;
	line-height: 1.4;
	opacity: 0.92;
}

@media (min-width: 720px) {
	.csis-calc--home {
		padding: 16px 20px 14px;
		gap: 10px 18px;
		grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.55fr);
		grid-template-rows: auto;
		align-items: center;
	}

	.csis-calc--home .csis-calc__intro {
		grid-column: 1;
		grid-row: 1;
		align-self: center;
		padding-right: 8px;
	}

	.csis-calc--home .csis-calc__row {
		grid-column: 2;
		grid-row: 1;
		flex-wrap: nowrap;
	}
}

@media (min-width: 960px) {
	.csis-calc--home .csis-calc__intro p {
		font-size: 12.5px;
	}
}

/* Hero (#184B8F): калкулаторът е част от синия блок, не отделна бяла кутия */
.elementor-element-6be1e0bd .csis-calc--home {
	background: rgba(255, 255, 255, 0.1);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.22);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.elementor-element-6be1e0bd .csis-calc--home .csis-calc__intro .csis-kicker {
	color: #9ee89e;
}

.elementor-element-6be1e0bd .csis-calc--home h3 {
	color: #ffffff;
}

.elementor-element-6be1e0bd .csis-calc--home .csis-calc__intro p {
	color: rgba(255, 255, 255, 0.88);
}

.elementor-element-6be1e0bd .csis-calc--home label {
	color: rgba(255, 255, 255, 0.78);
}

.elementor-element-6be1e0bd .csis-calc--home input,
.elementor-element-6be1e0bd .csis-calc--home select {
	background: rgba(255, 255, 255, 0.96);
	border-color: rgba(255, 255, 255, 0.55);
	color: #184b8f;
}

.elementor-element-6be1e0bd .csis-calc--home input:focus,
.elementor-element-6be1e0bd .csis-calc--home select:focus {
	border-color: #ffffff;
	outline: none;
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.28);
}

.elementor-element-6be1e0bd .csis-calc--home .csis-result {
	background: rgba(0, 0, 0, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 2px;
}

.elementor-element-6be1e0bd .csis-calc--home .csis-result .csis-kicker {
	color: rgba(255, 255, 255, 0.72);
}

.elementor-element-6be1e0bd .csis-calc--home .csis-result strong {
	color: #ffffff;
}

.elementor-element-6be1e0bd .csis-calc--home .csis-calc__formula {
	color: rgba(255, 255, 255, 0.78);
}

.elementor-element-6be1e0bd .csis-calc--home .csis-result .csis-calc__tip,
.elementor-element-6be1e0bd .csis-calc--home .csis-result .csis-calc__tip p {
	color: #3d5a80;
}

.csis-calc .csis-result {
	text-align: right;
}

.csis-calc .csis-result strong {
	display: block;
	font-family: "Source Serif 4", Georgia, serif;
	font-size: 48px;
	font-weight: 400;
	color: #184b8f;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.elementor-widget-shortcode {
	width: 100%;
}

.csis-news-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
	width: 100%;
}

@media (min-width: 768px) {
	/* Винаги 3 колони — единична картичка остава ~1/3, не се разтяга на целия ред */
	.csis-news-cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.csis-news-card {
	background: #ffffff;
	box-shadow: 0 0 0 1px #e4dfd5;
	display: flex;
	flex-direction: column;
	min-width: 0;
	transition: box-shadow 160ms ease, transform 160ms ease;
}

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

.csis-news-card__media,
.csis-news-row__media {
	display: block;
	background: #efeae0;
	overflow: hidden;
}

.csis-news-card__media {
	height: 200px;
	border-bottom: 1px solid #e4dfd5;
}

.csis-news-card__media img,
.csis-news-row__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.csis-news-card__body {
	padding: 24px 26px 26px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 1;
}

.csis-news-date {
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #007a00;
}

.csis-news-card__title,
.csis-news-row__title,
.csis-news-row__title a {
	font-family: "Source Serif 4", Georgia, serif;
	font-weight: 400;
	color: #184b8f;
	text-decoration: none;
}

.csis-news-card__title {
	font-size: 21px;
	line-height: 1.32;
}

.csis-news-card__title:hover,
.csis-news-row__title a:hover {
	color: #007a00;
	text-decoration: none;
}

.csis-news-card__body p,
.csis-news-row__body p {
	margin: 0;
	color: #4a5465;
}

.csis-news-card__body p {
	font-size: 14px;
	line-height: 1.65;
}

.csis-news-list {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.csis-news-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 28px 44px;
	padding: 40px 0;
	border-bottom: 1px solid #e4dfd5;
	align-items: start;
}

.csis-news-row__media {
	aspect-ratio: 16 / 10;
	border: 1px solid #e4dfd5;
}

.csis-news-row__body {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.csis-news-row__title {
	font-size: 28px;
	line-height: 1.25;
	margin: 0;
}

.csis-news-row__body p {
	font-size: 16px;
	line-height: 1.7;
}

.csis-analiz-hero {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.csis-analiz-hero__item {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 16px 0;
	border-bottom: 1px solid #3a66a3;
	text-decoration: none;
}

.csis-analiz-hero__cat {
	font-size: 11px;
	letter-spacing: 0.12em;
	color: #1eaa1e;
}

.csis-analiz-hero__title {
	font-family: "Source Serif 4", Georgia, serif;
	font-size: 19px;
	line-height: 1.35;
	color: #f3efe7;
}

.csis-analiz-hero__meta {
	font-size: 13px;
	color: #b8c8df;
}

.csis-analiz-hero__item:hover .csis-analiz-hero__title {
	color: #1eaa1e;
}

.csis-analyses {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 28px;
	width: 100%;
}

.csis-analysis-card[hidden] {
	display: none;
}

.csis-analysis-card {
	background: #ffffff;
	border: 1px solid #e4dfd5;
	padding: 32px 32px 24px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
	transition: box-shadow 160ms ease, transform 160ms ease;
}

.csis-analysis-card:hover {
	transform: translateY(-3px);
	border-color: #184b8f;
}

.csis-analysis-card__cat,
.csis-analysis__cat {
	font-family: var(--csis-font-sans, "IBM Plex Sans", system-ui, sans-serif);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #74952d;
}

.csis-analysis-card__title,
.csis-analysis-card__title a {
	font-family: "Source Serif 4", Georgia, serif;
	font-weight: 400;
	font-size: 21px;
	line-height: 1.32;
	color: #184b8f;
	text-decoration: none;
	margin: 0;
}

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

.csis-analysis-card p {
	margin: 0;
	font-family: var(--csis-font-sans, "IBM Plex Sans", system-ui, sans-serif);
	font-size: 15px;
	line-height: 1.65;
	color: #4a5465;
	flex: 1;
}

.csis-analysis-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: auto;
	padding-top: 22px;
	border-top: 1px solid #e4dfd5;
}

.csis-analysis-card p + .csis-analysis-card__foot {
	margin-top: 16px;
}

.csis-analysis-card__foot span {
	font-family: var(--csis-font-sans, "IBM Plex Sans", system-ui, sans-serif);
	font-size: 13px;
	color: #6a7284;
}

.csis-analysis-card__foot a.csis-analysis-card__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 9px 16px;
	font-family: var(--csis-font-sans, "IBM Plex Sans", system-ui, sans-serif);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
	color: #fbf9f5;
	background: #007a00;
	border: 1px solid #007a00;
	border-radius: 0;
	text-decoration: none;
	white-space: nowrap;
	flex-shrink: 0;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.csis-analysis-card__foot a.csis-analysis-card__cta:hover,
.csis-analysis-card__foot a.csis-analysis-card__cta:focus-visible {
	color: #fbf9f5;
	background: #006800;
	border-color: #006800;
	text-decoration: none;
}

body.csis-pdf-reader-open {
	overflow: hidden;
}

.csis-pdf-reader {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.csis-pdf-reader[hidden] {
	display: none;
}

.csis-pdf-reader__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(38, 48, 63, 0.72);
}

.csis-pdf-reader__dialog {
	position: relative;
	z-index: 1;
	width: min(960px, 100%);
	max-height: min(92vh, 920px);
	background: #fbf9f5;
	box-shadow: 0 0 0 1px #e4dfd5;
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.csis-pdf-reader__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	padding: 22px 26px;
	border-bottom: 1px solid #e4dfd5;
	flex-shrink: 0;
}

.csis-pdf-reader__cat {
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #007a00;
	margin-bottom: 8px;
}

.csis-pdf-reader__title {
	font-family: "Source Serif 4", Georgia, serif;
	font-size: 22px;
	line-height: 1.25;
	color: #184b8f;
}

.csis-pdf-reader__close {
	border: 1px solid #c9c2b4;
	background: none;
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	padding: 9px 16px;
	color: #184b8f;
	flex-shrink: 0;
}

.csis-pdf-reader__close:hover {
	border-color: #184b8f;
}

.csis-pdf-reader__body {
	flex: 1;
	min-height: 0;
	overflow: auto;
	background: #efeae0;
	padding: 24px;
	user-select: none;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
}

.csis-pdf-reader__loading,
.csis-pdf-reader__error {
	font-size: 14px;
	color: #6a7284;
	padding: 40px 0;
	text-align: center;
}

.csis-pdf-reader__pages {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}

.csis-pdf-reader__page {
	background: #ffffff;
	box-shadow: 0 8px 28px rgba(38, 48, 63, 0.12);
}

.csis-pdf-reader__canvas {
	display: block;
	pointer-events: none;
	user-select: none;
	-webkit-user-select: none;
}

.csis-pdf-reader__foot {
	padding: 14px 26px;
	border-top: 1px solid #e4dfd5;
	flex-shrink: 0;
	background: #fbf9f5;
	font-size: 13px;
	color: #6a7284;
}

/* —— Екип (/licata-zad-csis/) — expert cards (Elementor page 6) —— */
.elementor-page-6 .elementor-element-ee24e94c {
	--e-con-grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	--gap: 40px 28px !important;
	--row-gap: 40px !important;
	--column-gap: 28px !important;
}

.elementor-page-6 .e-con.e-child:has(> .csis-placeholder) {
	--gap: 12px !important;
	--row-gap: 12px !important;
	align-items: flex-start !important;
}

.elementor-page-6 .csis-placeholder {
	justify-content: center !important;
	align-items: center !important;
	min-height: 0 !important;
	aspect-ratio: 1 / 1;
	width: 100% !important;
	background-color: #efeae0 !important;
	border-style: dashed !important;
	border-width: 1px !important;
	border-color: #b8b0a4 !important;
}

.elementor-page-6 .csis-placeholder .elementor-heading-title {
	font-family: var(--csis-font-sans, "IBM Plex Sans", system-ui, sans-serif) !important;
	font-size: 13px !important;
	font-weight: 400 !important;
	line-height: 1.2 !important;
	color: #6a7284 !important;
	text-align: center !important;
}

.elementor-page-6 .e-con:has(> .csis-placeholder) > .elementor-widget-heading .elementor-heading-title {
	font-family: var(--csis-font-sans, "IBM Plex Sans", system-ui, sans-serif) !important;
}

.elementor-page-6 .e-con:has(> .csis-placeholder) > .elementor-widget-heading h6 .elementor-heading-title {
	font-size: 11px !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.2em !important;
	line-height: 1.45 !important;
	color: #1eaa1e !important;
	margin: 14px 0 0 !important;
}

.elementor-page-6 .e-con:has(> .csis-placeholder) > .elementor-widget-heading h3 .elementor-heading-title {
	font-family: var(--csis-font-serif, "Source Serif 4", Georgia, serif) !important;
	font-size: 22px !important;
	font-weight: 400 !important;
	line-height: 1.25 !important;
	color: #184b8f !important;
	margin: 0 !important;
}

.elementor-page-6 .e-con:has(> .csis-placeholder) > .elementor-widget-text-editor {
	font-family: var(--csis-font-sans, "IBM Plex Sans", system-ui, sans-serif) !important;
	font-size: 14px !important;
	line-height: 1.65 !important;
	color: #4a5465 !important;
}

.elementor-page-6 .e-con:has(> .csis-placeholder) > .elementor-widget-text-editor p {
	margin: 0 !important;
}

.elementor-page-6 .e-con:has(> .csis-placeholder) > .csis-textlink {
	margin-top: 6px !important;
}

.elementor-page-6 .e-con:has(> .csis-placeholder) > .elementor-widget-text-editor + .csis-textlink,
.elementor-page-6 .e-con:has(> .csis-placeholder) > .csis-textlink + .csis-textlink {
	display: inline-block !important;
	width: auto !important;
}

.elementor-page-6 .csis-textlink a {
	font-family: var(--csis-font-sans, "IBM Plex Sans", system-ui, sans-serif) !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	color: #184b8f !important;
}

.elementor-page-6 .csis-textlink a .csis-link-underline {
	border-bottom-color: #1eaa1e;
}

.elementor-page-6 .csis-textlink a:hover {
	color: #007a00 !important;
}

@media (max-width: 1024px) {
	.elementor-page-6 .elementor-element-ee24e94c {
		--e-con-grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 640px) {
	.elementor-page-6 .elementor-element-ee24e94c {
		--e-con-grid-template-columns: 1fr !important;
		--row-gap: 40px !important;
	}
}

/* —— Екип — CPT shortcode [csis_team_grid] (same card design as Elementor) —— */
.csis-team-grid {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	column-gap: 28px;
	row-gap: 40px;
	width: 100%;
	box-sizing: border-box;
}

.csis-team-grid > .csis-team-card {
	flex: 0 0 calc((100% - 84px) / 4);
	width: calc((100% - 84px) / 4);
	max-width: calc((100% - 84px) / 4);
	min-width: 0;
	box-sizing: border-box;
}

.csis-team-grid__empty {
	margin: 0;
	font-family: var(--csis-font-sans, "IBM Plex Sans", system-ui, sans-serif);
	font-size: 16.5px;
	line-height: 1.75;
	color: #4a5465;
}

.csis-team-card {
	display: block;
	min-width: 0;
	height: 100%;
}

.csis-team-card__stack {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
}

.csis-team-card__media.csis-placeholder {
	justify-content: center;
	align-items: center;
	min-height: 0;
	aspect-ratio: 1 / 1;
	width: 100%;
	background-color: #efeae0;
	border-style: dashed;
	border-width: 1px;
	border-color: #b8b0a4;
	overflow: hidden;
	padding: 0;
	margin-bottom: 2px;
}

.csis-team-card__media.csis-placeholder:has(.csis-team-card__photo) {
	border-style: solid;
	border-color: #e4dfd5;
	background-color: #efeae0;
}

.csis-team-card__photo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top left;
}

.csis-team-card__role {
	margin: 14px 0 0;
	font-family: var(--csis-font-sans, "IBM Plex Sans", system-ui, sans-serif);
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	line-height: 1.45;
	color: #1eaa1e;
}

.csis-team-card__name {
	margin: 0;
	font-family: var(--csis-font-serif, "Source Serif 4", Georgia, serif);
	font-size: 22px;
	font-weight: 400;
	line-height: 1.25;
	color: #184b8f;
}

.csis-team-card__bio {
	font-family: var(--csis-font-sans, "IBM Plex Sans", system-ui, sans-serif);
	font-size: 14px;
	line-height: 1.65;
	color: #4a5465;
}

.csis-team-card__bio p {
	margin: 0;
}

.csis-team-card__links {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	width: 100%;
	margin-top: 6px;
}

.csis-team-card__links .csis-textlink {
	display: block;
	width: auto !important;
	max-width: 100%;
	margin-top: 0 !important;
	flex: 0 0 auto !important;
}

.csis-team-card__links .csis-textlink p {
	margin: 0 !important;
}

.csis-team-card__links .csis-textlink:last-child:not(:only-child) {
	margin-left: auto;
	text-align: right;
}

/* Elementor cards (legacy): LinkedIn + CV като съседни .csis-textlink контейнери */
.elementor-page-6 .e-con:has(> .csis-placeholder) > .csis-textlink:nth-last-child(2),
.elementor-page-6 .e-con:has(> .csis-placeholder) > .csis-textlink:last-child {
	display: inline-block !important;
	width: auto !important;
	vertical-align: middle;
}

.elementor-page-6 .e-con:has(> .csis-placeholder) > .csis-textlink:nth-last-child(2) {
	margin-right: 12px;
}

.csis-team-card .csis-textlink a .csis-link-underline {
	border-bottom-color: #1eaa1e;
}

@media (max-width: 1024px) {
	.csis-team-grid > .csis-team-card {
		flex: 0 0 calc((100% - 28px) / 2);
		width: calc((100% - 28px) / 2);
		max-width: calc((100% - 28px) / 2);
	}
}

@media (max-width: 640px) {
	.csis-team-grid > .csis-team-card {
		flex: 0 0 100%;
		width: 100%;
		max-width: 100%;
	}
}

/* —— Партньори (/partnyori/) —— */
.csis-partners-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 28px;
	width: 100%;
}

.csis-partner-card {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	background: #ffffff;
	border: 1px solid #e4dfd5;
	width: 100%;
	min-width: 0;
	overflow: hidden;
}

.csis-partner-card__media {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 140px;
	padding: 16px 20px;
	background: #f5f2eb;
	border-bottom: 1px solid #e4dfd5;
}

.csis-partner-card__logo {
	display: block;
	max-width: 100%;
	max-height: 108px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.csis-partner-card__body {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
	padding: 22px 24px 26px;
}

.csis-partner-card__title {
	margin: 0;
	font-family: var(--csis-font-serif, "Source Serif 4", Georgia, serif);
	font-size: 19px;
	font-weight: 400;
	line-height: 1.2;
	color: #184b8f;
}

.csis-partner-card__text {
	margin: 0;
	font-family: var(--csis-font-sans, "IBM Plex Sans", system-ui, sans-serif);
	font-size: 14px;
	line-height: 1.6;
	color: #4a5465;
}

.csis-partner-card__link {
	margin-top: 4px;
}

/* —— Подкрепете ни (/darenia/) —— */
.elementor-page-10 .csis-donation-copy .elementor-element-d0nhead01 {
	margin-top: 0;
}

.elementor-page-10 .elementor-element-d0nbody01 p {
	text-align: justify;
	hyphens: auto;
}

.csis-donation-cta {
	margin-top: 4px;
}

.csis-donation-cta__open {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	border: 0;
	border-radius: 6px;
	background: #1eaa1e;
	color: #fff;
	font-family: var(--csis-font-sans, "IBM Plex Sans", system-ui, sans-serif);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.15s ease;
}

.csis-donation-cta__open:hover,
.csis-donation-cta__open:focus-visible {
	background: #178a17;
}

.csis-donation-cta__open:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.csis-donation-cta__open:disabled,
.csis-donation-cta__open[aria-disabled="true"] {
	background: #8fa892;
	color: rgba(255, 255, 255, 0.92);
	cursor: not-allowed;
	opacity: 0.92;
	transform: none;
}

.csis-donation-cta__open:disabled:hover,
.csis-donation-cta__open:disabled:focus-visible,
.csis-donation-cta__open[aria-disabled="true"]:hover,
.csis-donation-cta__open[aria-disabled="true"]:focus-visible {
	background: #8fa892;
	outline: none;
}

.csis-donation-bank__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 14px;
}

.csis-donation-bank__row {
	display: grid;
	gap: 4px;
}

.csis-donation-bank__label {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #1eaa1e;
}

.csis-donation-bank__value {
	font-size: 16px;
	font-weight: 500;
	color: #fff;
	word-break: break-word;
}

.csis-donation-bank__sample {
	margin: 12px 0 0;
	font-size: 13px;
	line-height: 1.45;
	color: #b8c8df;
}

.csis-donation-bank__sample strong {
	font-style: normal;
	font-weight: 600;
	color: #d6dfeb;
}

.csis-donation-bank__contact {
	margin: 18px 0 0;
	font-size: 14px;
	line-height: 1.5;
	color: #d6dfeb;
}

.csis-donation-bank__contact a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 2px;
}

html.csis-donation-modal-open {
	overflow: hidden;
}

.csis-donation-modal[hidden] {
	display: none !important;
}

.csis-donation-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.csis-donation-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
}

.csis-donation-modal__panel {
	position: relative;
	width: min(100%, 440px);
	max-height: min(90vh, 640px);
	overflow: auto;
	padding: 32px 28px 28px;
	border-radius: 12px;
	background: #eef4fb;
	box-shadow: 0 24px 48px rgba(24, 75, 143, 0.22);
}

.csis-donation-modal__panel--form {
	width: min(100%, 520px);
	max-height: min(92vh, 780px);
}

.csis-donation-modal__panel::before {
	content: "";
	display: block;
	height: 4px;
	margin: -32px -28px 24px;
	border-radius: 12px 12px 0 0;
	background: #184b8f;
}

.csis-donation-modal__close {
	position: absolute;
	top: 12px;
	right: 14px;
	border: 0;
	background: transparent;
	color: #184b8f;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.csis-donation-modal__title {
	margin: 0 0 10px;
	font-family: var(--csis-font-serif, "Source Serif 4", Georgia, serif);
	font-size: 24px;
	font-weight: 600;
	color: #184b8f;
}

.csis-donation-modal__lead {
	margin: 0 0 20px;
	font-size: 15px;
	line-height: 1.55;
	color: #4a5465;
}

.csis-donation-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 8px;
}

.csis-donation-form__section {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-bottom: 14px;
	border-bottom: 1px solid #d6e0ed;
}

.csis-donation-form__section:last-of-type {
	border-bottom: 0;
	padding-bottom: 0;
}

.csis-donation-form__section-title {
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #184b8f;
}

.csis-donation-form__method {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px;
}

.csis-donation-form__method-label {
	font-weight: 700;
	color: #184b8f;
}

.csis-donation-form__method-note {
	font-size: 13px;
	color: #64748b;
}

.csis-donation-form__amount-wrap {
	display: flex;
	align-items: center;
	gap: 8px;
	border: 1px solid #c9c2b4;
	border-radius: 8px;
	background: #fff;
	padding: 4px 12px;
}

.csis-donation-form__currency {
	font-size: 22px;
	font-weight: 600;
	color: #184b8f;
}

.csis-donation-form__input--amount {
	border: 0;
	padding: 10px 0;
	font-size: 22px;
	font-weight: 600;
}

.csis-donation-form__input--amount:focus-visible {
	outline: none;
}

.csis-donation-form__check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	color: #4a5465;
	cursor: pointer;
}

.csis-donation-form__check input {
	margin-top: 3px;
}

.csis-donation-form__hint {
	margin: 0;
	font-size: 12px;
	line-height: 1.45;
	color: #64748b;
}

.csis-donation-form__total-line {
	margin: 4px 0 0;
	font-size: 15px;
	color: #4a5465;
}

.csis-donation-form__total-line strong {
	color: #184b8f;
	font-size: 17px;
}

.csis-donation-form__total-line--lg strong {
	font-size: 22px;
}

.csis-donation-form__textarea {
	min-height: 72px;
	resize: vertical;
}

.csis-donation-form__legal {
	margin: 8px 0 0;
	font-size: 11px;
	line-height: 1.45;
	color: #64748b;
}

.csis-donation-step__title {
	margin: 0 0 8px;
	font-family: var(--csis-font-serif, "Source Serif 4", Georgia, serif);
	font-size: 22px;
	color: #184b8f;
}

.csis-donation-step__lead {
	margin: 0 0 16px;
	font-size: 15px;
	line-height: 1.5;
	color: #4a5465;
}

.csis-donation-form__back {
	margin-top: 16px;
	border: 0;
	background: transparent;
	color: #184b8f;
	font-size: 14px;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
	padding: 0;
}

.csis-donation-modal__donate--link {
	text-decoration: none;
	text-align: center;
	color: #fff;
}

a.csis-donation-modal__donate,
a.csis-donation-modal__donate:hover,
a.csis-donation-modal__donate:focus-visible,
a.csis-donation-modal__donate:visited {
	color: #fff;
}

.csis-donation-form__label {
	font-size: 13px;
	font-weight: 600;
	color: #4a5465;
}

.csis-donation-form__input {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	border: 1px solid #c9c2b4;
	border-radius: 6px;
	font-family: var(--csis-font-sans, "IBM Plex Sans", system-ui, sans-serif);
	font-size: 16px;
	color: #184b8f;
	background: #fff;
}

.csis-donation-form__input:focus-visible {
	outline: 2px solid #184b8f;
	outline-offset: 1px;
}

.csis-donation-form__error {
	margin: 0 0 12px;
	font-size: 14px;
	color: #b42318;
}

.csis-donation-modal__actions {
	display: flex;
	justify-content: center;
	margin-bottom: 16px;
}

.csis-donation-form .csis-donation-modal__actions {
	margin-bottom: 0;
}

.csis-donation-modal__donate {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 220px;
	padding: 16px 32px;
	border: 0;
	border-radius: 999px;
	background: #1eaa1e;
	color: #fff;
	font-family: var(--csis-font-sans, "IBM Plex Sans", system-ui, sans-serif);
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(30, 170, 30, 0.35);
	transition: background 0.2s ease;
}

.csis-donation-modal__donate:hover {
	background: #178a17;
}

.csis-donation-modal__donate:focus-visible {
	background: #178a17;
	outline: 2px solid #184b8f;
	outline-offset: 3px;
	box-shadow: none;
}

.csis-donation-modal__panel--pay-step {
	text-align: center;
}

.csis-donation-modal__panel--pay-step .csis-donation-form__total-line--lg {
	margin-bottom: 4px;
}

.csis-donation-modal__panel--pay-step .csis-donation-modal__actions {
	margin-top: 0;
	padding-top: 16px;
}

.csis-donation-modal__panel--pay-step .csis-donation-step__title {
	margin-top: 0;
}

.csis-donation-modal__panel--pay-step .csis-donation-form__back {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.csis-donation-modal__note {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: #64748b;
}

.csis-donation-modal__panel--cert {
	width: min(100%, 520px);
	max-height: min(94vh, 720px);
	overflow: auto;
	padding: 24px 22px 20px;
	text-align: center;
}

.csis-donation-modal__panel--cert .csis-donation-modal__title {
	margin: 0 0 6px;
	font-size: clamp(22px, 4vw, 28px);
	line-height: 1.2;
}

.csis-donation-modal__panel--cert .csis-donation-modal__lead {
	margin: 0 0 10px;
	font-size: 15px;
	line-height: 1.35;
}

.csis-donation-cert__viewer {
	margin: 0 0 10px;
	border: 1px solid #c9c2b4;
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
	line-height: 0;
}

.csis-donation-cert__preview {
	display: block;
	width: 100%;
	height: auto;
	max-height: min(42vh, 340px);
	object-fit: contain;
	object-position: center top;
	background: #fff;
}

.csis-donation-cert__email-note {
	margin: 0 0 12px;
	font-size: 14px;
}

.csis-donation-cert__actions {
	margin: 0;
	text-align: center;
}

.csis-donation-cert__download {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 20px;
	border-radius: 999px;
	background: #184b8f;
	color: #fff;
	font-family: var(--csis-font-sans, "IBM Plex Sans", system-ui, sans-serif);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

.csis-donation-cert__download:hover {
	background: #123a6e;
	color: #fff;
}

.remove-underline {
	text-decoration: none !important;
}
