*,
*::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 0px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 28px;
	justify-content: space-between;
	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 a:hover {
	color: #1eaa1e;
	text-decoration: none;
}

.csis-lang {
	display: flex;
	align-items: center;
	gap: 2px;
}

.csis-lang button {
	border: none;
	cursor: pointer;
	font-family: inherit;
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: 1.2;
}

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

.csis-lang--top button {
	padding: 3px 8px;
	font-size: 11px;
	background: transparent;
	color: #c3d1e4;
}

.csis-lang--top button.is-active {
	background: #ffffff;
	color: #184b8f;
}

.csis-lang--mobile {
	border: 1px solid #d8d2c5;
	padding: 2px;
}

.csis-lang--mobile button {
	padding: 6px 10px;
	font-size: 12px;
	background: transparent;
	color: #4a5465;
}

.csis-lang--mobile button.is-active {
	background: #184b8f;
	color: #ffffff;
}

.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 0px;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px 28px;
	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(12.5px, 3.4vw, 16px);
	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: 4px;
	flex-wrap: wrap;
	flex: 1 1 480px;
	min-width: 0;
	margin-left: -11px;
}

a.csis-nav__link {
	padding: 10px 11px;
	font-size: 14px;
	text-decoration: none;
	color: #4a5465;
	font-weight: 400;
	border-bottom: 2px solid transparent;
}

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

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

a.csis-support {
	margin-left: 10px;
	color: #fbf9f5;
	padding: 11px 20px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	background-color: #184b8f;
}

a.csis-support:hover,
a.csis-support.is-current {
	background: #007a00;
	color: #fbf9f5;
	text-decoration: none;
}

.csis-header__mobile {
	order: 1;
	display: none;
	flex-direction: row-reverse;
	align-items: center;
	gap: 10px;
}

.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-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: 17px;
	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: 600;
}

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

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

	.csis-header__mobile {
		display: flex;
		flex-shrink: 0;
	}

	.csis-brand {
		flex-shrink: 1;
		min-width: 0;
	}

	.csis-brand__text {
		min-width: 0;
	}
}

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

.csis-footer__grid {
	max-width: 1200px;
	margin: 0 auto;
	padding: 64px 0px 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__legal {
	max-width: 1200px;
	margin: 0 auto;
	padding: 22px 0px;
	font-size: 13px;
	color: #b8c8df;
}

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

.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;
}

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

.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;
}

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

.csis-analysis__read-link:hover {
	color: #007a00;
	text-decoration: none;
}
