/*!
Theme Name: dfndr
Author: artem.kostenko@gmail.com
Text Domain: dfndr
--------------------------------------------------------------*/


:root {
	--site-wrapper: 160rem;
	--light-color: #c7d1e1;
	--light-color-alt: #f0f8ff;
	--primary-background-color: #1a2a3d;
	--secondary-background-color: #2d3a54;
	--hover-light-color: var(--light-color);
	--hover-dark-color: var(--primary-background-color);
	--gradient-color: linear-gradient(115deg, #0056B9, #FFD800);
	--transparent-light-color: rgba(255, 255, 255, .05);
	--transparent-dark-color: rgba(0, 0, 0, .75);
	--font-family: 'Arsenal', sans-serif;
	--font-size-xsm: 1.2rem;
	--font-size-sm: 1.6rem;
	--font-size-nm: 2rem;
	--font-size-md: 2.4rem;
	--font-size-lg: 3rem;
	--font-size-xl: 4rem;
	--gap: 2rem;
	--margin-sm: 2rem;
	--margin-md: 3rem;
	--item-min-height-sm: 20rem;
	--item-min-height-md: 30rem;
}
:root {
	--pagefind-ui-scale: 0.8;
	--pagefind-ui-primary: #1a2a3d;
	--pagefind-ui-fade: #707070;
	--pagefind-ui-background-color: #2d3a54;
	--pagefind-ui-border: #c7d1e1;
	--pagefind-ui-tag: #c7d1e1;
	--pagefind-ui-border-width: 1px;
	--pagefind-ui-border-radius: 10px;
	--pagefind-ui-image-border-radius: 10px;
	--pagefind-ui-image-box-ratio: 3 / 2;
	--pagefind-ui-font: 'Arsenal', sans-serif;
}

body.light-theme {
	--light-color: #3d3d3d;
	--light-color-alt: rgba(0, 0, 0, .6);
	--primary-background-color: #f2f2f3;
	--secondary-background-color: #e3e3e3;
	--hover-light-color: #fff;
	--transparent-dark-color: #e3e3e3e6;
	--transparent-light-color: rgba(0, 0, 0, .1);
}


* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	transition: box-shadow .3s, background-color .3s;
}

html {
	font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	font-family: var(--font-family);
	font-size: var(--font-size-sm);
	color: var(--light-color-alt);
	background-color: var(--primary-background-color);
	letter-spacing: normal;
	transition: opacity .3s ease-in-out
}



body.dark-theme {
	background: #1a2a3d;
}

/* Project background from taxonomy variables (scope only taxonomy project_name) */
body.tax-project_name.light-theme {
  background-color: var(--project-bg-light, var(--primary-background-color)) !important;
}
body.tax-project_name:not(.light-theme) {
  background-color: var(--project-bg-dark, #1a2a3d) !important;
}


/* REUSABLE CLASSES */

.footer {
	overflow-x: hidden
}

.main-wrapper {
	max-width: var(--site-wrapper);
	margin: 0 auto;
	padding: 0 5rem;
}

.container {
	margin: 0 auto;
	padding: 0 5rem;
}

.single .entry-meta,
.single .category-link {
	display: flex;
	align-items: center;
	gap: 1rem;
}


.single .category-link {
	padding: .5rem 1rem;
	border: 1px solid var(--light-color-alt);
	background-color: var(--secondary-background-color);
	color: var(--light-color-alt);
	text-decoration: none;
	border-radius: 10px;
	gap: 0.5rem;
}

.single .category-link svg {
	padding-left: .2rem
}

.single .category-link:hover {
	background-color: var(--light-color-alt);
	color: var(--primary-background-color)
}

.single-article-summary p {
	font-size: var(--font-size-nm);
	font-style: italic;
}

.single-article-summary {
	margin-top: 2rem;
	margin-left: 0
}

.single button.copy-link {
	background: transparent!important;
	padding: 0!important;
}

.section:not(.featured-articles) {
	padding-top: 5rem;
}

.tax-project_name .section:not(.featured-articles) {
	padding-top: 0rem;
}

.section .featured-articles-container {
	gap: var(--gap)
}

.d-grid {
	display: grid
}

.title {
	font-weight: 700
}

.insights-article-title,
.news-article-title {
	font-weight: 700;
	padding: 2rem 0
}




.content-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: var(--gap)
}


.single-sidebar {
	display: block;
	margin-top: 0rem;
	width: 100%
}

.wpcf7-form {
	background-color: var(--secondary-background-color);
		padding: var(--margin-md);
		border-radius: 10px;
		font-family: var(--font-family);
		border: 1px solid var(--secondary-background-color);
		color: var(--light-color);
		width: 100%;
		max-width: 500px;
		margin: 3rem auto;
}
.wpcf7-form:hover {
	border-color: var(--light-color-alt);
	border: 1px solid;
	box-shadow: 0 0 20px var(--transparent-light-color); 
}
label {
	display: block;
	margin-bottom: .5rem;
	font-size: var(--font-size-sm);
	line-height: 3rem;
}
.wpcf7-form p {
	margin-bottom: var(--gap)!important;
	display: block;
}

input[type="date"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #333; /* Сделал фон темным, чтобы белая иконка была видна */
  color: white; /* Белый текст */
  border: 1px solid #ccc;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 16px;
  position: relative;
  
  /* Добавляем белую SVG-иконку */
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23c7d1e1"><path d="M9 1V3H15V1H17V3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9ZM20 11H4V19H20V11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z"></path></svg>')
	no-repeat right 10px center;
  background-size: 24px;
  padding-right: 40px; /* Отступ справа, чтобы текст не налезал */
}

.light-theme input[type="date"] {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%233d3d3d"><path d="M9 1V3H15V1H17V3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9ZM20 11H4V19H20V11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z"></path></svg>')
	no-repeat right 10px center;
	background-size: 24px;
}

.wpcf7-acceptance .wpcf7-list-item {
	margin: 0;
}
.wpcf7-acceptance label {
	display: flex;
	line-height: 1.3;
}
.wpcf7-acceptance label input {
	height: 20px;
	width: 20px;
	margin: 2px 10px 0 0;
}
.agreed {
	font-size: 1.25rem!important;
	line-height: 1.2;
	margin-top: 10px;
}
.agreed span {
	opacity: 0.5;
}
.agreed a {
	opacity: 0.5;
	white-space: nowrap;
}
.agreed a:hover {
	opacity: 1;
}

/* Убираем стандартную иконку в Chrome и Safari */
input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  position: absolute;
  right: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}


h1 {
	font-size: 2.4rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

h2 {
	font-size: 36px;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */


hr {
	display: block;
	margin-block-start: 2em;
	margin-block-end: 2em;
	margin-inline-start: auto;
	margin-inline-end: auto;
	unicode-bidi: isolate;
	overflow: hidden;
	border-style: inset;
	border-width: 1px;
}

ul,
ol {
	margin: 0 0 1rem 4rem;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li>ul,
li>ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}






/* Links
--------------------------------------------- */

a {
	color: inherit;
	text-decoration: none;
}
.wp-block-heading a,
.link,
p a,
.wp-block-list li a {
	position: relative;
	text-decoration: none;
	color: #e6b800
}
.wp-block-heading a::after,
.link::after,
p a::after,
.wp-block-list li a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 0;
	height: 1px;
	background-color: #e6b800;
	transition: width .3s
}
.wp-block-heading a:hover::after,
.link:hover::after,
p a:hover::after,
.wp-block-list li a:hover::after {
	width: 100%
}


/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

.admin-bar {

}

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

.admin-bar .headline {
	top: 8.5rem;
}
.admin-bar .section-header-offset {
	margin-top: 10rem;
}

.site {
	max-width: var(--site-wrapper);
	margin: 0px auto;
	padding: 0px 5rem;
}

/* LOADER */

.loader-container{position:fixed;top:0;left:0;width:100vw;height:100vh;background-color:var(--secondary-background-color);display:flex;justify-content:center;align-items:center;z-index:10000}

.loader:after,.loader:before{content:"";position:absolute;left:50%;top:50%}.loader{width:64px;height:64px;position:relative;background:var(--light-color-alt);border-radius:50%;transform:rotate(45deg);animation:2s linear infinite rotate;z-index:10000}.loader:before{width:15px;height:30px;background:#e6b800;transform:skew(5deg,60deg) translate(-50%,-5%)}.loader:after{width:6px;height:6px;border-radius:50%;background:#fff;transform:translate(-50%,-50%)}

@keyframes rotate{0%{transform:rotate(45deg)}30%,50%,70%{transform:rotate(230deg)}40%,60%,80%{transform:rotate(240deg)}100%{transform:rotate(245deg)}}

/* Header
--------------------------------------------- */

.left-header,
.right-header {
	display: flex;
	align-items: center;
}

.right-header .btn {
	padding: 0.3rem!important;
	line-height: 0;
	color: inherit;
}
.right-header .btn:hover {
	color: var(--light-color);
}


.header {
	background-color: var(--secondary-background-color);
	box-shadow: 0 1px .5rem var(--transparent-light-color);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 999;
}
.header.activated {
	box-shadow: 0 2px .5rem var(--transparent-light-color);
	border-bottom: 1px solid;
	border-color: var(--light-color-alt);
}
.navbar {
	max-width: var(--site-wrapper);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 10rem;
}


/* Navigation
--------------------------------------------- */



.main-navigation {
	display: block;
	margin-left: 2.4rem;
}

.main-navigation ul {
	display: flex;
	align-items: center;
	white-space: nowrap;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-navigation li {
	position: relative;
	margin: 0 2rem 0 0;
}

.main-navigation a {
	display: block;
	text-decoration: none;
	font-size: 20px;
	font-weight: 700;
}
.main-navigation a:hover {
	color: var(--light-color);
}
	


.menu-item-has-children > a::after {
	content: '>';
	margin-left: 8px;
	display: inline-block;
	transition: transform 0.3s;
}

.menu-item-has-children.active a::after {
	transform: rotate(90deg);
}


.menu-item-has-children .sub-menu {
	display: none;
	position: absolute;
	background-color: var(--secondary-background-color);
	box-shadow: 0 0 2rem var(--transparent-light-color);
	margin-top: 2rem;
	z-index: 1000;
	padding: var(--gap);
	width: 1000px;
	grid-template-columns: repeat(3, 1fr);
	border: 1px solid var(--light-color-alt);
	border-radius: 10px;
	transition: none;
}


.menu-item-has-children.active .sub-menu {
	display: grid;
	align-items: start;
}


.menu-toggle {
	display: none;
	background: transparent;
	border: none;
	padding: 0!important;
	cursor: pointer;
	height: 21px;
	margin-left: 2rem!important;
}

.menu-toggle svg {
	fill: var(--light-color);
}

.menu-description {
	font-size: 16px;
	color: var(--light-color);
	font-weight: normal;
	padding: 10px 0;
	display: block;
	white-space: wrap;
	transition: none;
}
.main-navigation ul.sub-menu .menu-item {
	list-style: none;
	font-size: var(--font-size-nm);
	font-weight: 700;
	padding: 1rem 1rem 0;
	transition: none;
	min-height: 9rem;
}
.main-navigation ul.sub-menu .menu-item:hover {
	color: var(--secondary-background-color);
	background-color: var(--light-color);
	border-radius: 10px;
}

.main-navigation ul.sub-menu .menu-item:hover a span,
.main-navigation ul.sub-menu .menu-item:hover a {
	color: var(--dark-color);
}

.sub-menu {
	display: none;
}

.menu-item-has-children.active .sub-menu {
	display: grid;
}

.special-menu-item a {
	border: 1px solid var(--light-color);
	color: var(--light-color);
	padding: 0.5rem 1rem;
	display: inline-block;
	font-size: 15px;
	text-decoration: none;
	border-radius: 10px;
}
.special-menu-item a {
	font-weight: 400;
}
.special-menu-item a:hover {
	background-color: var(--light-color-alt);
	color: var(--primary-background-color);
}
.bookmark-focus #primary,
.menu-focus #primary {
	opacity: 0.2;
}





/* Theme switcher */

.btn {
	cursor: pointer;
	background: none;
	border: none;
	font-size: 24px;
	display: flex;
	align-items: center;
	gap: 8px;
}



.sun-icon {
	display: inline-block;
}
.light-theme .sun-icon {
	display: none;
}

.moon-icon {
	display: none;
}

.light-theme .moon-icon {
	display: inline-block;
}



/* Lang switcher
--------------------------------------------- */

.wpml-ls-legacy-list-horizontal {
	padding: 0 1rem 0 0;
}

.wpml-ls-legacy-list-horizontal .wpml-ls-flag {
	border-radius: 100px;
	border: 1px solid #fff;
}

.wpml-ls-legacy-list-horizontal a {
	padding: 5px;
}
.wpml-ls-item:hover {
	opacity: 1;
}
.wpml-ls-item {
	opacity: 0.5;
}

.wpml-ls-item.wpml-ls-current-language {
	opacity: 1;
}
.wpml-ls-legacy-list-horizontal>ul {
	display: inline-flex;
}


/* HEADLINER */

.headline {
	position: absolute;
	left: 0;
	padding: 0;
	margin: 0;
	top: 5.3rem;
	width: 100%
}

.headline-banner {
	background: linear-gradient(#fcdc34, #f4d434, #e6b800);
	display: flex;
	align-items: center;
	gap: var(--gap);
	font-size: var(--font-size-xsm);
	overflow: hidden;
	justify-content: center;
	height: 3rem;
	box-shadow: 0 0 1rem var(--light-color)
}

.headline-description {
	font-size: 1.5rem;
	color: #1a2a3d
}




/* Page */

.page-container {
	margin: 0 auto;
}
.page-container .single-article {
	max-width: 90rem;
	margin-bottom: 10rem;
}
.single-article p {
	margin-bottom: 2rem;
}
.page-container .single-article-summary {
	font-size: var(--font-size-nm);
	font-style: italic;
	padding-bottom: 0;
	margin-bottom: 0;
}
.page-container .blog-post-data {
	padding-bottom: 0;
}
.single-article .wp-block-heading {
	padding: 2rem 0;
	margin-bottom: 1rem!important;
}
.page-container .single-article h4 {
	font-size: var(--font-size-md);
}

.wp-block-embed iframe {
	width: 100%;
	border-radius: 1rem;
}

.wp-block-image img {
	display: block;
	margin: 0;
	overflow: hidden;
	width: 100%;
	max-width: 120rem;
	aspect-ratio: 16 / 10;
	box-shadow: 0 0 .2rem var(--transparent-light-color);
	border-radius: 10px;
}
.wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.wp-block-embed-youtube :where(figcaption),
.wp-block-image :where(figcaption) {
	font-size: var(--font-size-xsm);
	padding-top: 0.5rem;
	align-self: flex-end;
	opacity: 0.5;
	text-align: right;
	margin-bottom: 3rem;
}

/* All news
--------------------------------------------- */



.updated:not(.published) {
	display: none;
}


.one-news {
	display: flex;
	align-items: start;
	line-height: 0;
	height: 100%;
	border: 1px solid;
	border-color: var(--transparent-light-color);
	border-radius: 10px;
}

.one-news:hover {
	border-color: var(--light-color-alt);
	color: var(--hover-light-color);
	box-shadow: 0 0 20px var(--transparent-light-color), 0 0 30px var(--transparent-light-color);
}
.one-news:hover a {
	color: var(--hover-light-color);	
}
.one-news:hover .article-data-spacer {
	background-color: var(--hover-light-color);
}



/* Single News
--------------------------------------------- */

.container .single-article {
	padding-left: 100px;
	position: relative;
}
.image-container {
	max-width: 90rem;
}

.post-toolbar {
	display: flex;
	width: 100%;
	max-width: 1000px;
	align-items: center;
	justify-content: space-between;
	gap: var(--gap);
	font-size: var(--font-size-sm);
	margin-top: 2rem;
}

.time-wrap {
	display: flex;
	align-items: center;
	justify-items: flex-start;
	gap: 5px;
	line-height: 0;
	margin-bottom: 2rem;
}
.share-wrap {
	display: flex;
	align-items: center;
	justify-items: flex-start;
	gap: 10px;
	line-height: 0;
	margin-bottom: 2rem;
	
}
.container.single-article .share-wrap {
	position: absolute;
	flex-direction: column;
	left: 0;
}

.author-wrap {
	margin-bottom: 2rem;
}


.reading-time {
	white-space: nowrap;
	margin-right: 5px;
}



.share-wrap a {
	text-decoration: none;
}

i svg {
	width: 2.1rem;
	height: 2.1rem;
	fill: var(--light-color-alt);
}
a:hover i svg {
	fill: var(--light-color);
}

.share-wrap button {
	background: transparent;
	padding: 0;
	border: 0;
	line-height: 0;
}
#message {
	font-size: 1.5rem;
	color: #e6b800;
	position: absolute;
	bottom: -40px;
}





/* Search popup */

.search-popup-content:before {
	background-color: var(--light-color-alt);
	width: calc(24px * var(--pagefind-ui-scale));
	height: calc(24px * var(--pagefind-ui-scale));
	top: calc(20px * var(--pagefind-ui-scale));
	left: calc(20px * var(--pagefind-ui-scale));
	content: "";
	position: absolute;
	display: block;
	opacity: 0.7;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m18.031 16.617l4.283 4.282l-1.415 1.415l-4.282-4.283A8.96 8.96 0 0 1 11 20c-4.968 0-9-4.032-9-9s4.032-9 9-9s9 4.032 9 9a8.96 8.96 0 0 1-1.969 5.617m-2.006-.742A6.98 6.98 0 0 0 18 11c0-3.867-3.133-7-7-7s-7 3.133-7 7s3.133 7 7 7a6.98 6.98 0 0 0 4.875-1.975z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m18.031 16.617l4.283 4.282l-1.415 1.415l-4.282-4.283A8.96 8.96 0 0 1 11 20c-4.968 0-9-4.032-9-9s4.032-9 9-9s9 4.032 9 9a8.96 8.96 0 0 1-1.969 5.617m-2.006-.742A6.98 6.98 0 0 0 18 11c0-3.867-3.133-7-7-7s-7 3.133-7 7s3.133 7 7 7a6.98 6.98 0 0 0 4.875-1.975z'/%3E%3C/svg%3E");
	-webkit-mask-size: cover;
	mask-size: cover;
	background-repeat: no-repeat;
	background-blend-mode: multiply;
	z-index: 9;
	pointer-events: none;
}



.search-popup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--primary-background-color);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 1000;
	flex-direction: column;
}

.search-popup-content {
	background-color: var(--primary-background-color);
	border-radius: 10px;
	width: 50%;
	max-width: 90%;
	position: relative;
	text-align: center;
}

.search-popup input {
	height: calc(64px* var(--pagefind-ui-scale));
		padding: 0 calc(70px* var(--pagefind-ui-scale)) 0 calc(54px* var(--pagefind-ui-scale));
		background-color: var(--secondary-background-color);
		/* border: var(--pagefind-ui-border-width) solid var(--pagefind-ui-border); */
		border-color: var(--transparent-light-color);
		border-radius: var(--pagefind-ui-border-radius);
		box-shadow: 0 0 0.2rem var(--transparent-light-color);
		font-family: var(--font-family);
		font-size: var(--font-size-nm);
		color: var(--light-color);
		position: relative;
		appearance: none;
		-webkit-appearance: none;
		display: flex;
		width: 100%;
		box-sizing: border-box;
}
.search-popup input:hover {
background-color: var(--secondary-background-color);
	box-shadow: 0 0 20px var(--transparent-light-color), 0 0 30px var(--transparent-light-color);
	border-color: var(--light-color-alt);
}
.search-popup input:focus {
	outline: 0;
}
.form-note {
	font-size: var(--font-size-xsm);
	margin-top: 2rem;
	display: block;
	text-align: right;
	width: 50%;
}

#search-results {
	text-align: left;
	max-height: 600px;
	overflow-y: auto;
	color: var(--hover-dark-color);
}

#search-results p {
	padding: 10px;
	border-bottom: 1px solid #ddd;
	color: var(--light-color);
}

#search-results a {
	text-decoration: none;
	color: var(--light-color-alt);
	font-weight: bold;
	display: flex;
}
#search-results a:hover {
	color: var(--light-color);
}

.close-btn {
	position: fixed;
	top: 40px;
	right: 40px;
	font-size: 20px;
	background: none;
	border: none;
	cursor: pointer;
	background: var(--light-color);
	color: var(--primary-background-color);
	width: 30px;
	height: 30px;
	border-radius: 100%;
}
.close-btn:hover {
	background: var(--light-color-alt);
	color: var(--secondary-background-color);
}

.search-result-content .article-data {
	margin-top: 0.5rem;
	margin-bottom: 1rem;
	font-weight: normal;
}
.search-result-item {
	display: flex;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px solid var(--light-color);
}
.search-result-excerpt {
	font-weight: normal;
}

.search-result-item img {
	width: 100px;
	height: 100px;
	object-fit: cover;
	border-radius: 5px;
	margin-right: 10px;
}

.search-result-title {
	font-size: 16px;
}





/* LOGOTYPE */

.logo {

}
.logo-simple,
.logo a {
	background-image: url(img/Defender-Media_Logo_UA_RGB_WHITE-Blue.svg);
	width: 120px;
	display: block;
	height: 26px;
	background-size: contain;
	background-repeat: no-repeat;
	margin-bottom: -6px;
}
.light-theme .logo-simple,
.light-theme .logo a {
	background-image: url(img/Defender-Media_Logo_UA_RGB_Dark-GREY.svg);
	width: 120px;
	display: block;
	height: 26px;
	background-size: contain;
	background-repeat: no-repeat;
	margin-bottom: -6px;
}






.logo-simple {
	position: relative;
}
.logo-simple span {
	position: absolute;
	right: -25px;
	top: -4px;
}

@font-face {
	font-family: BrinkyMono-Basic;
	src: url("fonts/BrinkyMono-Basic.woff2") format("woff2"), url("fonts/BrinkyMono-Basic.woff") format("woff"), url("fonts/BrinkyMono-Basic.woff") format("opentype")
}




#cookie-notice, 
#cookie-notice 
.cn-button:not(.cn-button-custom),
.cookie-notice-container {
	font-family:Arsenal,sans-serif;
}



/* Footer */
.site-footer {
	/* margin-top: 100px; */
	background-color: var(--secondary-background-color);
	box-shadow: 0 -1px .5rem var(--transparent-light-color);
	width: 100%;
	padding: 4rem 0;
	border-top: 1px solid;
	border-color: var(--light-color-alt);
}

.site-footer .container {
	max-width: var(--site-wrapper);
	margin: 0px auto;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding: 0rem 10rem;
	gap: 3rem;
}

.site-footer .company-data {
	order: 0;
	width: 30rem;
}

.site-footer .company-data a {
	color: #E6B800;
}

.copyright-notice {
	font-size: 13px;
}
.cookie-notice,
.copyright-notice-2 {
	opacity: 0.8;
	font-size: 12px;
	display: block;
	line-height: 1.2;
}

.company-description {
	font-size: var(--font-size-sm);
	margin: var(--margin-md) 0;

}
.company-copyright {
	margin-top: 20px;
}

.site-footer h6 {
	font-size: 16px;
	text-transform: uppercase;
	margin-bottom: 2rem;
	color: var(--light-color);
}

.site-footer ul {
	margin: 0;
	padding: 0;
}

.site-footer ul li {
	list-style: none;
	padding-bottom: 10px;
}

.site-footer ul li a {
	color: var(--light-color-alt);
	text-decoration: none;
}

.site-footer ul li a:hover {
	color: var(--light-color);
	text-decoration: none;
}

.site-footer .tag-list a {
	border: 1px solid var(--light-color);
	color: var(--light-color);
	padding: 0.5rem 1rem;
	margin: 0 10px 10px 0;
	display: inline-block;
	font-size: 12px;
	text-decoration: none;
	border-radius: 10px;
}

.otgs-development-site-front-end {
	display: none;
}

.footer-cloud,
.footer-title {
	text-align: center
}

.footer-container {
	display: flex;
	max-width: 100%;
	width: 100vw;
	justify-content: center
}

.footer-cloud {
	max-width: 39rem;
	width: 100%;
	padding-left: 4rem
}






/* Tags */
.or-spacer {
	width: 100%;
	position: relative;
	margin-top: 3rem;
}

.mask {
	overflow: hidden;
	height: 2rem;
}

.mask {
	&:after {
		content: '';
		display: block;
		margin: -25px auto 0;
		width: 100%;
		height: 25px;
		border-radius: 125px / 12px;
		box-shadow: 0 0 8px var(--light-color);
	}
}


/* Post */
.no-results.not-found {
	min-height: 50rem;
	padding-top: 10rem;
	text-align: center;
}
.error {
	font-size: 20rem;
}


.single .entry-title {
	font-size: var(--font-size-xl);
	max-width: 900px;
	line-height: 1.2;
	margin-top: 4rem;
}

.single-article-summary {
	margin: 2rem 0 0 0;
	font-size: var(--font-size-nm);
	font-style: italic;
}

.single-article-category {
	display: flex;
	align-items: center
}

.category-link:visited,
.category-link {
	color: var(--light-color-alt);
	text-decoration: underline;
}
.light-theme .article:hover .article-data .article-data-spacer {
	background-color: var(--hover-light-color);
}
.light-theme .article:hover .article-data .category-link {
	color: var(--hover-light-color);
}
.light-theme .article:hover .article-data .category-link:hover,	
.category-link:hover {
	color: #e6b800;
}

.date_post {
	padding-left: 1rem;
}
.wp-block-video .wp-element-caption,
.image-credits {
	font-size: var(--font-size-xsm);
	padding-top: 0.5rem;
	align-self: flex-end;
	opacity: 0.5;
	text-align: right;
}
.video50 {
	width: 50%;
}
.featured-image {
	position: relative;
	height: 100%;
	width: 250px;
}


.featured-image-img {
		position: absolute;
		width: 100%;
		height: 100%;
		object-fit: cover;
		transition: transform 0.3s;
		border-radius: 8px 0 0 8px;
}


.single .featured-image {
	width: 100%;
}
.wp-post-image {
	width: 100%;
	height: auto;
	border-radius: 10px;
}
.related-posts-article-image-wrapper .wp-post-image {
	border-radius: 10px 10px 0 0;
}

.wp-block-image.alignleft {
  float: left;
  margin: 0 20px 20px 0;
  max-width: 40%;
}

.single-article {
  display: block !important; /* отменяем flex, если мешает */
}
.wp-block-image .alignleft {
	float: left;
	margin: .3em 1em 0 0;
}

.image-credit {
	font-size: var(--font-size-xsm);
	padding-top: .5rem;
	align-self: flex-end;
	opacity: .5;
}

.tip_box,
.mistake_box {
	padding: 1.5rem;
	margin-top: var(--gap);
	border: 1px solid;
	width: 265px;
	border-radius: 10px;
	background-color: var(--secondary-background-color);
	transition: box-shadow .3s;
}

.tip_box svg,
.mistake_box svg {
	width: 1em;
	height: 1em;
	fill: currentcolor;
	display: block;
}

.tip_box a,
.mistake_box a {
	font-weight: 700;
}

.engagement-buttons {
	display: flex;
	gap: var(--gap);
	margin-top: 2rem;
}

.post-tag {
	display: inline-block;
	font-size: var(--font-size-sm);
	padding: .5rem 1rem;
	margin: 2rem .2rem 0;
	border: 1px solid var(--light-color-alt);
	background-color: var(--secondary-background-color);
	color: var(--light-color-alt);
	text-decoration: none;
	border-radius: 10px;
}

.tag .news-wrap {
	margin-bottom: 4rem;
}

.site-footer .tag-list a:hover,
.post-tag:hover {
	background-color: var(--light-color-alt);
	color: var(--primary-background-color);
}


.section-title{position:relative;font-size:var(--font-size-lg);margin-bottom:4rem;display:inline-block}.section-title-link{width:210px}.section-title-link-reports{width:280px}.section-title::after{content:'';position:absolute;top:2rem;left:0;width:0;height:25px;background-color:#e6b800;transition:width .3s;z-index:-10}.section-title:hover::after{width:100%}

/* FEATURED ARTICLES */
.d-grid{display:grid}
.featured-articles-container {
	grid-template-columns:1fr 40rem;
}
.featured-articles {
	padding-block: 5rem;
	margin-bottom: 3rem
}

.featured-articles-container,
.featured-content {
	gap: var(--gap)
}

.featured-article {
	transition: .3s;
	box-shadow: 0 0 .2rem var(--transparent-light-color);
	border-radius: 10px
}

.featured-article:hover {
	background-color: var(--secondary-background-color);
	box-shadow: 0 0 20px var(--transparent-light-color), 0 0 30px var(--transparent-light-color);
	border-color: var(--light-color-alt)
}

.featured-content-title {
	position: relative;
	font-size: var(--font-size-lg);
	margin-bottom: 2rem;
	pointer-events: none;
}

.see-more-container {
	padding-top: var(--margin-md);
	font-size: var(--font-size-sm);
	width: 140px;
	padding-bottom: 5rem;
}
.quick-read .see-more-container {
	padding-top: 1rem;
}
.news-special-item .list-link::after, 
.insights-special-item .list-link::after {
	content: ">";
	margin-left: 8px;
	transition: all 0.3s;
	display: inline-block;
}

.insights-special-item .list-link:after {
	content: '>';
	margin-left: 8px;
	transition: all .3s;
}
.news-special-item:hover .list-link::after{
	transform: rotate(90deg);
}
.insights-special-item:hover .list-link::after {
	margin-left: 18px;
}

.insights-special-item .list-link,
.news-special-item .list-link {
	color: var(--light-color-alt);
}
.insights-special-item:hover .list-link,
.news-special-item:hover .list-link {
	color: var(--light-color);
}

.news-special-item .list-link.loading::after {
	content: none;
}

.insights-more-container {
	margin: 1rem 0 5rem;
}

.article-category{position:absolute;top:1rem;right:1rem;padding:.8rem;background:linear-gradient(#fcdc34,#f4d434,#e6b800);color:#1a2a3d;border-radius:10px;text-transform:uppercase;z-index:10;pointer-events:none}.article-data-container{width:100%;position:absolute;left:0;bottom:0;padding:2rem;background-color:var(--transparent-dark-color);z-index:10;transition:background-color .3s}.article-data{display:flex;align-items:center;justify-content:flex-start;gap:var(--gap);font-size:var(--font-size-xsm)}

.article:hover .article-data-container {
	background-color: var(--hover-dark-color);
	color: var(--hover-light-color);
}

.swiper .article-data-container {
	padding: 2rem 2rem 0
}
.swiper-pagination-bullet-active {
	background: #e6b800!important;
}
.swiper-button-next:after, .swiper-button-prev:after {
	font-size: 2rem;
}

.swiper-controls {
	width: 3.5rem!important;
	height: 3.5rem!important;
	background-color: var(--secondary-background-color)
}
.swiper-controls::after {
	font-size: var(--font-size-nm)!important;
	color: var(--light-color);
}

/* SWIPER */

.swiper-wrapper{height:auto;padding-bottom:2rem}.article.swiper-slide{box-shadow:0 0 .2rem var(--transparent-light-color);border-radius:10px}.article.swiper-slide:hover{box-shadow:0 0 20px var(--transparent-light-color),0 0 30px var(--transparent-light-color);border-color:var(--light-color-alt)}.swiper-controls{width:3.5rem;height:3.5rem;background-color:var(--secondary-background-color)}.swiper-controls::after{font-size:var(--font-size-nm);color:var(--light-color)}.swiper-pagination-bullet{background-color:var(--light-color)}.swiper-pagination-bullets{top:30rem!important;}


/* BLOG POST */

.blog-post {
	padding-bottom: 1rem;
	margin-top: 12rem
}
.blog-post li {
	margin-bottom: 2rem;
}
.blog-post-data {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
	padding-bottom: 2.5rem;
	width: 100%
}

.blog-post-title {
	font-size: var(--font-size-xl);
	max-width: 900px
}

.blog-post-data .article-data {
	margin-bottom: 2.5rem
}

.blog-post p {
	width: 100%;
	height: auto;
	display: block;
}


.blog-post li,
.blog-post p {
	font-size: 2rem
}

.wp-block-media-text p {
	font-size: var(--font-size-sm);
	margin-bottom: 1rem;
}
.wp-block-social-links {
	margin-top: 2rem;
	margin-bottom: 0;
}
.wp-block-media-text>.wp-block-media-text__content {
	padding: 0;
}
.wp-social-link {
	background: transparent;
	color: var(--light-color-alt);
}
.wp-social-link:hover {
	color: var(--light-color);
}

.wp-social-link svg {
	display: none;
}
.wp-social-link a {
	display: inline-block;
	width: 2.1rem;
	height: 2.1rem;
	background-color: currentColor;
	mask-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}
.wp-social-link-x a {	
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10.488 14.651L15.25 21h7l-7.858-10.478L20.93 3h-2.65l-5.117 5.886L8.75 3h-7l7.51 10.015L2.32 21h2.65zM16.25 19L5.75 5h2l10.5 14z'/%3E%3C/svg%3E");
	-webkit-mask-size: cover;
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10.488 14.651L15.25 21h7l-7.858-10.478L20.93 3h-2.65l-5.117 5.886L8.75 3h-7l7.51 10.015L2.32 21h2.65zM16.25 19L5.75 5h2l10.5 14z'/%3E%3C/svg%3E");
}

.wp-social-link-linkedin a {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.3362 18.339H15.6707V14.1622C15.6707 13.1662 15.6505 11.8845 14.2817 11.8845C12.892 11.8845 12.6797 12.9683 12.6797 14.0887V18.339H10.0142V9.75H12.5747V10.9207H12.6092C12.967 10.2457 13.837 9.53325 15.1367 9.53325C17.8375 9.53325 18.337 11.3108 18.337 13.6245V18.339H18.3362ZM7.00373 8.57475C6.14573 8.57475 5.45648 7.88025 5.45648 7.026C5.45648 6.1725 6.14648 5.47875 7.00373 5.47875C7.85873 5.47875 8.55173 6.1725 8.55173 7.026C8.55173 7.88025 7.85798 8.57475 7.00373 8.57475ZM8.34023 18.339H5.66723V9.75H8.34023V18.339ZM19.6697 3H4.32923C3.59498 3 3.00098 3.5805 3.00098 4.29675V19.7033C3.00098 20.4202 3.59498 21 4.32923 21H19.6675C20.401 21 21.001 20.4202 21.001 19.7033V4.29675C21.001 3.5805 20.401 3 19.6675 3H19.6697Z'/%3E%3C/svg%3E");
	-webkit-mask-size: cover;
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.3362 18.339H15.6707V14.1622C15.6707 13.1662 15.6505 11.8845 14.2817 11.8845C12.892 11.8845 12.6797 12.9683 12.6797 14.0887V18.339H10.0142V9.75H12.5747V10.9207H12.6092C12.967 10.2457 13.837 9.53325 15.1367 9.53325C17.8375 9.53325 18.337 11.3108 18.337 13.6245V18.339H18.3362ZM7.00373 8.57475C6.14573 8.57475 5.45648 7.88025 5.45648 7.026C5.45648 6.1725 6.14648 5.47875 7.00373 5.47875C7.85873 5.47875 8.55173 6.1725 8.55173 7.026C8.55173 7.88025 7.85798 8.57475 7.00373 8.57475ZM8.34023 18.339H5.66723V9.75H8.34023V18.339ZM19.6697 3H4.32923C3.59498 3 3.00098 3.5805 3.00098 4.29675V19.7033C3.00098 20.4202 3.59498 21 4.32923 21H19.6675C20.401 21 21.001 20.4202 21.001 19.7033V4.29675C21.001 3.5805 20.401 3 19.6675 3H19.6697Z'/%3E%3C/svg%3E");
}
.wp-social-link-mail a {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 3 3 3 3ZM20 7.23792L12.0718 14.338L4 7.21594V19H20V7.23792ZM4.51146 5L12.0619 11.662L19.501 5H4.51146Z'/%3E%3C/svg%3E");
	-webkit-mask-size: cover;
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 3 3 3 3ZM20 7.23792L12.0718 14.338L4 7.21594V19H20V7.23792ZM4.51146 5L12.0619 11.662L19.501 5H4.51146Z'/%3E%3C/svg%3E");
}


.wp-block-social-links .wp-social-link a {
	padding: 0;
	font-size: 2.5rem;
	font-weight: 700;
}
.wp-block-social-link:hover {
	transform: none;
}

.wp-block-media-text {
	display: flex;
	gap: 2rem;
}
.wp-block-media-text__media {
	position: relative;
	height: 100%;
	align-self: center;
	align-items: center;
	align-content: center;
	vertical-align: middle;
	justify-content: center;
	width: 125px;
}

.wp-block-media-text__media img {
	position: relative;
	width: 125px;
	height: 125px;
	object-fit: cover;
	transition: transform 0.3s;
	border-radius: 50%;
	border: solid 1px var(--light-color-alt);
}


.blog-post-container {
	flex: 1;
}
.blog-post-container .container {
	display: flex;
	flex-direction: column;
	font-size: var(--font-size-md)
}

.image-credit {
	font-size: var(--font-size-xsm);
	padding-top: .5rem;
	align-self: flex-end;
	opacity: .5
}






.engagement-buttons {
	display: flex;
	gap: var(--gap);
	margin-top: 2rem;
	font-size: var(--font-size-sm);

}


.blog-post-title {
	padding-top: 4rem
}

.article {
	position: relative;
	min-height: var(--item-min-height-md);
	overflow: hidden;
	border: 1px solid;
	border-color: var(--transparent-light-color)
}



/* RELATED POSTS */

.related-posts-grid-wrapper {
	gap: var(--gap);
	display: grid;
	grid-template-columns: repeat(3, 1fr)
}

.related-posts .article,
.related-posts .article:hover,
.related-posts-article-image-wrapper,
.related-posts-article-image-wrapper:hover {
	min-height: var(--item-min-height-sm)
}

.related-posts .article {
	background-color: var(--secondary-background-color);
	box-shadow: 0 0 .2rem var(--transparent-light-color);
	border-radius: 10px
}

.related-posts .article:hover {
	box-shadow: 0 0 20px var(--transparent-light-color), 0 0 30px var(--transparent-light-color);
	border-color: var(--light-color-alt)
}

.related-posts-article-image-wrapper {
	position: relative
}

.related-posts-grid-wrapper .article-data-container {
	position: static;
	background-color: transparent
}

.related-section-title {
	position: relative;
	font-size: var(--font-size-md);
	margin-bottom: 4rem
}

.related-section-title::after {
	content: attr(data-name);
	font-size: var(--font-size-md);
	text-transform: uppercase;
	opacity: .1;
	position: absolute;
	top: 1.1rem;
	left: 2rem
}

.article-image {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s
}

.article-data-container {
	width: 100%;
	position: absolute;
	left: 0;
	bottom: 0;
	padding: 2rem;
	background-color: var(--transparent-dark-color);
	z-index: 10;
	transition: background-color .3s;
}

.article-data {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: var(--gap);
	font-size: var(--font-size-xsm);
}

.article-title {
	font-size: 2.2rem;
	padding-top: 1rem;
}

.featured-articles .article-title {
	font-size: 2.2rem;
	padding-top: 1rem;
}


.single .related-posts {
	margin-bottom: 10rem;
}






/* SIDEBAR */

.sidebar-block {

}

.widget_media_image img {
	position: relative;
	width: 500px;
	border-radius: 10px;
	box-shadow: 0 0 .2rem var(--transparent-light-color);
	border: 1px solid transparent;
	width: 45rem;
} 
.widget_media_image img:hover {
	border: 1px solid;
	box-shadow: 0 0 20px var(--transparent-light-color), 0 0 30px var(--transparent-light-color);
	border-color: var(--light-color);
}

	

.sidebar {
	background-color: var(--secondary-background-color);
	padding: 2.5rem 2.5rem 0;
	box-shadow: 0 0 .2rem var(--transparent-light-color);
	overflow: hidden;
	border: 1px solid;
	border-color: var(--transparent-light-color);
	border-radius: 10px
}

.sidebar:hover {
	box-shadow: 0 0 20px var(--transparent-light-color), 0 0 30px var(--transparent-light-color);
	border-color: var(--light-color)
}

.trending-news-box {
	display: flex;
	flex-direction: column;
	gap: var(--gap);
	padding-block: 2rem;
	border-bottom: 1px solid var(--transparent-light-color);
	transition: none
}

.trending-news-box:last-of-type {
	border-bottom: none
}

.trending-news-img-box {
	position: relative;
	width: 100%;
	height: var(--item-min-height-sm)
}

.trending-news-box {
	flex-direction: row;
	align-items: center;
}

.trending-number {
	position: absolute;
	top: -1rem;
	left: -1rem;
	font-size: 2rem;
	z-index: 15;
	width: 3rem;
	height: 3rem;
	background-color: var(--secondary-background-color);
	color: var(--light-color);
	border-radius: 50%;
	display: block;
	text-align: center;
	line-height: 2.7rem;
	font-weight: 700;
}

.trending-news-data {
	margin: auto;
	text-align: center;
}

.trending-news-data .article-title {
	font-size: var(--font-size-sm);
	padding: 0 2rem 0 0;
	font-weight: 700;
	text-align: left
}

.trending-news-data {
	display: flex;
	width: 25rem;
	flex-direction: column;
	text-align: center
}

.title.article-title.sidebar-title:hover {
	color: var(--light-color)
}

.trending-news-img-box {
	width: 10rem;
	height: 10rem;
}

.trending-news-data {
	display: flex;
	width: 25rem;
	flex-direction: column;
	align-items: flex-start;
	flex: 1;
}

.trending-news-data {
	margin: auto;
	text-align: center;
}

.sidebar-article-image {
	border-radius: 10px;
}

.main-sidebar-article-data,
.sidebar-article-data {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--gap);
	font-size: var(--font-size-xsm);
	margin-bottom: 1rem;
}







.archive-description p {
	font-weight: 400;
	font-style: italic;
	font-size: 1.9rem;
}

#breadcrumbs {
	top: 3rem;
	margin-top: 4rem;
	margin-bottom: -3rem;
	font-size: 1.5rem;
}
.breadcrumb_last {
	opacity: 0;
}
.news-section-title {
	position: relative;
	font-size: var(--font-size-lg);
	top: 3rem;
	margin-bottom: 6rem;
	margin-top: 0rem
}

.one-news .entry-title {
	font-size: 19px;
	line-height: 22px;
	font-weight: 700;
	padding: 2rem 0;
}








.news-text {
	padding: 20px;
	line-height: 20px;
	flex: 1;
}

.news-text p {
	margin: 0;
	font-size: var(--font-size-sm);
}

.news-meta {
	font-size: 12px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: var(--gap);
	font-size: var(--font-size-xsm);
}


.news-meta a {
	color: var(--light-color-alt);
}
.entry-date {
	white-space: nowrap;
}
.article:hover .news-meta a {
	color: var(--light-color);
}
.light-theme .article:hover .news-meta a:hover, 
.article:hover .news-meta a:hover,
.news-meta a:hover {
	color: #e6b800;
}

.light-theme .article:hover .news-meta a {
	color: var(--hover-light-color);
}
.news-meta .posted-on a {
	text-decoration: none;
}

.cat-link {
	transition: none;
	text-decoration: underline;
}

.cat-link:hover {
	color: #e6b800;
}


.article-data-spacer {
	width: .5rem;
	height: .5rem;
	background-color: var(--light-color-alt);
	transform: rotate(45deg);
	display: inline-block;
}

.article:hover .article-data-spacer {
	background-color: var(--light-color);
}


.nav-links {
	font-size: 24px;
	white-space: nowrap;
	overflow: auto;
	padding: 1rem 0;
}

.nav-links a {
	text-decoration: none;
	color: var(--light-color-alt);
	opacity: 0.8;
	margin: 0;
	border-radius: 10px;
	padding: .5rem 1rem;
	text-decoration: none;
	font-size: var(--font-size-md);
}
.nav-links a:hover {
	color: var(--light-color);
}
.nav-links span {
	color: var(--light-color);
	border: 1px solid #ddd;
	padding: 5px 10px;
	border-radius: 10px;
}
.nav-links .dots {
	border: 0;
	text-decoration: none;
	color: var(--light-color-alt);
	opacity: 0.8;
	margin: 0;
	border-radius: 10px;
	padding: .5rem 1rem;
	text-decoration: none;
	font-size: var(--font-size-md);
	cursor: pointer;
}
.nav-links .dots:hover {
	color: var(--light-color);
}

.pagination {
	text-align: center;
	margin: 40px 0;
}


.news-wrap {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	gap: 20px;
}

.news-wrap .insights,
.news-wrap article {
	flex: 1 1 calc(50% - 20px);
	box-sizing: border-box;
	background-color: var(--secondary-background-color);
	box-shadow: 0 0 .2rem var(--transparent-light-color);
	border-radius: 10px;
}
.news-wrap .insights:hover,
.news-wrap article:hover {
	background-color: var(--hover-dark-color);
	color: var(--hover-light-color);
}
	


.news-wrap > article:nth-last-child(1):nth-child(odd) {
	flex: 0;
    flex-basis: calc(50% - 10px); 
}	
	


.news-thumb {
	display: block;
	height: 100%;
}

.news-wrap {
	flex-direction: row;
}



.featured-articles-container {
	margin-top: 8rem
}

.featured-content {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: repeat(2, 1fr);
	gap: var(--gap);
	width: 100%;
	height: 100%
}

.featured-article-1 {
	grid-column: 1/-3;
	grid-row: 1/3
}

.featured-article-2 {
	grid-column: 3/-1;
	grid-row: 1/2
}

.featured-article-3 {
	grid-column: 3/-1;
	grid-row: 2/3
}



/* FEATURED ARTICLES */

.featured-articles{padding-block:5rem;margin-bottom:3rem}

.section-header-offset{margin-top:9rem}

.featured-articles-container,.featured-content{gap:var(--gap)}.featured-article{transition:.3s;box-shadow:0 0 .2rem var(--transparent-light-color);border-radius:10px}.featured-article:hover{background-color:var(--secondary-background-color);box-shadow:0 0 20px var(--transparent-light-color),0 0 30px var(--transparent-light-color);border-color:var(--light-color-alt)}.featured-content-title{position:relative;font-size:var(--font-size-lg);font-family:Arsenal,sans-serif;margin-bottom:2rem;pointer-events:none}.featured-content-title::after{content:attr(data-name);font-size:var(--font-size-md);text-transform:uppercase;opacity:.1;position:absolute;top:1.1rem;left:2rem}











/* NEWSLETTER MAILERLITE */

.subscribe-form {
	display: flex;
	border: 1px solid;
	border-color: var(--transparent-light-color);
	border-radius: 10px;
	justify-content: space-between;
	align-items: center;
	padding: 0;
	background-color: var(--secondary-background-color);
	box-shadow: 0 0 .2rem var(--transparent-light-color);
	position: relative;
	margin: 6rem auto 8.5rem;
	box-sizing: border-box;
	max-width: 1000px;
	width: 100%;
	line-height: 0;
}
.subscribe-form:hover {
	border-color: var(--light-color-alt);
	border: 1px solid;
	box-shadow: 0 0 20px var(--transparent-light-color), 0 0 30px var(--transparent-light-color);
}
.subscribe-form-content {
	flex: 1;
	padding: 2rem;
}
.mailerlite-form-title h3 {
	color: var(--light-color-alt);
	font-size: var(--font-size-lg);
	line-height: 1;
	margin: 0 0 2rem;
	text-align: left;
	word-break: break-word;
}
.mailerlite-form-description {
	color: var(--light-color-alt);
	font-size: var(--font-size-sm);
	line-height: var(--gap);
	margin: 0 0 1rem;
	text-align: left;
}
.mailerlite-form-inputs {
	display: flex;	
	gap: 1rem;
	position: relative;
}
.subscribe-form-image {
	background-image: url(img/newsletter.avif);
	background-size: cover;
	flex: 1;
	background-position: 0 0;
	min-height: 350px;
	border-radius: 0 10px 10px 0;
}
.mailerlite-form-error {
	position: absolute;
	top: 60px;
}
.mailerlite-form-loader {
	line-height: 4.2rem;
}
.mailerlite-form-response {
	text-align: left;
}
.mailerlite-form-field {
	flex: 1;
}
.mailerlite-form .mailerlite-form-field label,
.mailerlite-form .mailerlite-form-field {
	margin-bottom: 0;
}




/* NEWSLETTER MAILERLITE */

.single-ml-subscribe-form {
	background-color: var(--secondary-background-color);
	box-shadow: 0 0 .2rem var(--transparent-light-color);
	position: relative;
	margin: 3rem 0 3rem;
	box-sizing: border-box;
	border-radius: 10px;
}


.newsletter-img {
	width: 45rem;
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px
}

.newsletter-img-single {
	border-radius: 10px;
	max-width: 100%;
	margin-bottom: 2rem
}

@media screen and (max-width:970px) {
	.newsletter-img {
		display: none
	}
}

.newsletter-category {
	position: absolute;
	bottom: 5rem;
	left: 1.25rem;
	padding: .8rem .8rem .8rem 2rem;
	background: linear-gradient(#fcdc34, #f4d434, #e6b800);
	color: #1a2a3d;
	font-weight: 700;
	width: 91.6%;
	pointer-events: none;
	text-align: center
}

.newsletter-category::before {
	content: '';
	position: absolute;
	left: -.35rem;
	top: 3.95rem;
	width: 0;
	height: 0;
	border-left: 2rem solid;
	color: #9d7f09;
	border-bottom: 1.3rem solid transparent;
	transform: rotate(90deg)
}

.ml-form-embedWrapper {
	border: 1px solid;
	border-color: var(--transparent-light-color);
	border-radius: 10px;
	display: inline-block !important;
	padding: 2.5rem 2.5rem 0;
	width: 45rem
}

.ml-form-embedWrapper:hover,
.ml-form-embedWrapper:hover {
	border-color: var(--light-color-alt);
	border: 1px solid;
	box-shadow: 0 0 20px var(--transparent-light-color), 0 0 30px var(--transparent-light-color)
}



.latest .trending-number {display: none;}


.sidebar-block .mailerlite-form-description {
	display: none!important;
}

.sidebar-block .mailerlite-form-error {
	position: relative;
	margin-top: 1rem;
	top: auto;
}


.wpcf7-form textarea,
.wpcf7-form input,
.mailerlite-form input {
	background-color: var(--primary-background-color);
	color: var(--light-color);
	border-color: var(--light-color);
	border-radius: 10px;
	border: 1px solid;
	font-size: var(--font-size-sm);
	line-height: 2rem;
	margin-bottom: 0;
	margin-top: 0;
	padding: 1rem;
	width: 100%;
	box-sizing: border-box;
	overflow-y: initial;
	height: auto;
	font-family:Arsenal,sans-serif;
}




.wpcf7-submit {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' viewBox='0 0 24 24' fill='%23c7d1e1'%3E%3Cpath fill='none' d='M0 0h24v24H0z'%3E%3C/path%3E%3Cpath d='M21 3C21.5523 3 22 3.44772 22 4V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918C2.44405 21 2 20.5551 2 20.0066V19H20V7.3L12 14.5L2 5.5V4C2 3.44772 2.44772 3 3 3H21ZM8 15V17H0V15H8ZM5 10V12H0V10H5ZM19.5659 5H4.43414L12 11.8093L19.5659 5Z'%3E%3C/path%3E%3C/svg%3E");
	background-size: 24px 24px;
	background-repeat: no-repeat;
	background-position: 98% center;
	cursor: pointer;
}

.wpcf7-submit:hover {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' viewBox='0 0 24 24' fill='%233d3d3d'%3E%3Cpath fill='none' d='M0 0h24v24H0z'%3E%3C/path%3E%3Cpath d='M21 3C21.5523 3 22 3.44772 22 4V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918C2.44405 21 2 20.5551 2 20.0066V19H20V7.3L12 14.5L2 5.5V4C2 3.44772 2.44772 3 3 3H21ZM8 15V17H0V15H8ZM5 10V12H0V10H5ZM19.5659 5H4.43414L12 11.8093L19.5659 5Z'%3E%3C/path%3E%3C/svg%3E");
	background-color: var(--light-color-alt) !important;
	color: var(--primary-background-color) !important;
	border-color: var(--light-color-alt);
}


.light-theme .wpcf7-submit {
	
	
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' viewBox='0 0 24 24' fill='%233d3d3d'%3E%3Cpath fill='none' d='M0 0h24v24H0z'%3E%3C/path%3E%3Cpath d='M21 3C21.5523 3 22 3.44772 22 4V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918C2.44405 21 2 20.5551 2 20.0066V19H20V7.3L12 14.5L2 5.5V4C2 3.44772 2.44772 3 3 3H21ZM8 15V17H0V15H8ZM5 10V12H0V10H5ZM19.5659 5H4.43414L12 11.8093L19.5659 5Z'%3E%3C/path%3E%3C/svg%3E");
	background-size: 24px 24px;
	background-repeat: no-repeat;
	background-position: 98% center;
}

.light-theme .wpcf7-submit:hover {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' viewBox='0 0 24 24' fill='%23f0f8ff'%3E%3Cpath fill='none' d='M0 0h24v24H0z'%3E%3C/path%3E%3Cpath d='M21 3C21.5523 3 22 3.44772 22 4V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918C2.44405 21 2 20.5551 2 20.0066V19H20V7.3L12 14.5L2 5.5V4C2 3.44772 2.44772 3 3 3H21ZM8 15V17H0V15H8ZM5 10V12H0V10H5ZM19.5659 5H4.43414L12 11.8093L19.5659 5Z'%3E%3C/path%3E%3C/svg%3E");
	background-color: var(--light-color-alt) !important;
	color: var(--primary-background-color) !important;
	border-color: var(--light-color-alt);
}


.wpcf7-spinner {
	display: block;
	margin: 1rem auto;
}
.wpcf7 form .wpcf7-response-output {
	margin: 0;
}


.mailerlite-subscribe-submit {
	box-shadow: none;
	cursor: pointer;
	line-height: 2rem;
	width: 100%;
	height: auto;
	background-color: var(--secondary-background-color) !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' viewBox='0 0 24 24' fill='%23c7d1e1'%3E%3Cpath fill='none' d='M0 0h24v24H0z'%3E%3C/path%3E%3Cpath d='M21 3C21.5523 3 22 3.44772 22 4V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918C2.44405 21 2 20.5551 2 20.0066V19H20V7.3L12 14.5L2 5.5V4C2 3.44772 2.44772 3 3 3H21ZM8 15V17H0V15H8ZM5 10V12H0V10H5ZM19.5659 5H4.43414L12 11.8093L19.5659 5Z'%3E%3C/path%3E%3C/svg%3E");
	background-size: 24px 24px;
	background-repeat: no-repeat;
	background-position: 90% center;
	color: var(--light-color-alt) !important;
	font-size: var(--font-size-sm) !important;
	border-width: 1px;
	border-style: solid;
	border-color: initial;
	border-image: initial;
	border-radius: 10px;
	margin: 0px !important;
	padding: 1rem 5rem 1rem 1rem !important;
	font-family:Arsenal,sans-serif;
}

.mailerlite-subscribe-submit:hover {
	border-color: var(--light-color-alt);
	background-color: var(--light-color-alt) !important;
	color: var(--primary-background-color) !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' viewBox='0 0 24 24' fill='%233d3d3d'%3E%3Cpath fill='none' d='M0 0h24v24H0z'%3E%3C/path%3E%3Cpath d='M21 3C21.5523 3 22 3.44772 22 4V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918C2.44405 21 2 20.5551 2 20.0066V19H20V7.3L12 14.5L2 5.5V4C2 3.44772 2.44772 3 3 3H21ZM8 15V17H0V15H8ZM5 10V12H0V10H5ZM19.5659 5H4.43414L12 11.8093L19.5659 5Z'%3E%3C/path%3E%3C/svg%3E");
}

.light-theme .mailerlite-subscribe-submit {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' viewBox='0 0 24 24' fill='%2300000099'%3E%3Cpath fill='none' d='M0 0h24v24H0z'%3E%3C/path%3E%3Cpath d='M21 3C21.5523 3 22 3.44772 22 4V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918C2.44405 21 2 20.5551 2 20.0066V19H20V7.3L12 14.5L2 5.5V4C2 3.44772 2.44772 3 3 3H21ZM8 15V17H0V15H8ZM5 10V12H0V10H5ZM19.5659 5H4.43414L12 11.8093L19.5659 5Z'%3E%3C/path%3E%3C/svg%3E");
	background-size: 24px 24px;
	background-repeat: no-repeat;
	background-position: 90% center;
}
.light-theme .mailerlite-subscribe-submit:hover {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' viewBox='0 0 24 24' fill='%23f0f8ff'%3E%3Cpath fill='none' d='M0 0h24v24H0z'%3E%3C/path%3E%3Cpath d='M21 3C21.5523 3 22 3.44772 22 4V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918C2.44405 21 2 20.5551 2 20.0066V19H20V7.3L12 14.5L2 5.5V4C2 3.44772 2.44772 3 3 3H21ZM8 15V17H0V15H8ZM5 10V12H0V10H5ZM19.5659 5H4.43414L12 11.8093L19.5659 5Z'%3E%3C/path%3E%3C/svg%3E");
}

html[lang="uk"] .en-form {
	display: none;
}
html[lang="en-US"] .uk-form {
	display: none;
}


button.bookmark {
	cursor: pointer;
	display: flex;
	gap: 0.3rem;
	font:inherit;
	color:inherit;
	border:none;
	background-color:transparent!important;
	align-items: center;
	width: auto;
	padding-right: 0!important;

}





button.bookmark:hover {
	color: var(--light-color)
}


button.bookmark-bar {
	display: flex;
	align-self: flex-start;
	cursor: pointer;
	pointer-events: auto;
	cursor: pointer;
	font-size: var(--font-size-sm) !important;
	font-family: var(--font-family);
	line-height: 2rem;
	margin: 0 !important;
	padding: 1rem 4rem 1rem 1rem !important;
	width: 100%;
	height: auto;
}
button.bookmark-bar:hover {
	color: var(--light-color) !important;
	cursor: pointer;
	pointer-events: auto
}
body.no-bookmarks .bookmark-bar {
	opacity: .5;
	pointer-events: none; 
}

body.no-bookmarks .bookmark-bar:hover {
	color: inherit !important;
	cursor: default
}
#bookmark-count {
	margin-left: -0.5rem;
}


/* Popup */
.bookmark-popup {
	display: none;
	position: absolute;
	
	margin-top: 2.5rem;
	top: 3.4rem;
	left: auto;
	right: 10rem;
	width: 35rem;

	background-color: var(--secondary-background-color);
	border: 1px solid var(--light-color-alt);
	border-radius: 10px;
	column-count: 1;
	column-gap: 1rem;
	z-index: 100;
	box-shadow: 0 0 2rem var(--transparent-light-color)
}

/* При открытии popup-а */
.bookmark-popup.show {
	display: block;
}


.bookmark-popup,
.bookmark-popup li a:hover,
.delete-bookmark:hover svg {
	color: var(--light-color)
}

.bookmark-popup {
	padding: 1rem 2rem;
}
.bookmark-title {
	padding: 1rem 2rem;
	font-size: 2.4rem;
}




.bookmark-popup::before {
	content: '';
	position: absolute;
	top: -2.5rem;
	left: 0;
	right: 0;
	height: 2.5rem;
	background: 0 0;
	z-index: -1
}

.bookmark-popup li a,
.bookmark-title,
.delete-bookmark svg {
	color: var(--light-color-alt)
}



.bookmark-popup ul {
	list-style: decimal;
	padding: 1rem 2rem 0;
	margin: 0;
}

.bookmark-popup li {
	font-size: var(--font-size-sm);
	padding-bottom: 1rem
}

.bookmark-popup li:not(:last-child) {
	margin-bottom: var(--gap)
}

.bookmark-popup li a {
	text-decoration: none
}



.bookmark-item {
	position: relative;
	align-items: center;
	padding-right: 3rem
}

.delete-bookmark {
	background: 0 0;
	border: none;
	cursor: pointer;
	position: absolute;
	right: -1.5rem;
	width: auto;
	top: 22%;
	transform: translateY(-50%);
	padding: 0 !important;
}

.delete-bookmark svg {
	width: 1.4em;
	height: 1.4em
}



.hide {
	display: none!important;
}

.wp-block-separator {
	height: 20px;
	line-height: 0px;
	margin: 30px auto;
}
:root :where(.wp-block-separator.is-style-dots):before {
	color: currentColor;
	content: "◆ ◆ ◆";
	font-size: 12px;
}

.wp-block-button__link {
	display: inline-block;
	font-size: var(--font-size-sm);
	padding: .5rem 1rem;
	margin: 2rem .2rem 0;
	border: 1px solid var(--light-color-alt);
	background-color: var(--secondary-background-color);
	color: var(--light-color-alt);
	text-decoration: none;
	border-radius: 10px;
	margin-bottom: 20px;
	margin-top: 0px;
}

.wp-block-button__link:hover {
	background-color: var(--light-color-alt);
	color: var(--primary-background-color);
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-top-bar__today-button,
.tribe-events-c-view-selector__list {
	display: none!important;
}

.tooltipster-base.tribe-events-tooltip-theme--hover {
	border-color: var(--transparent-light-color);
	background-color: var(--secondary-background-color);
	box-shadow: 0 0 .2rem var(--transparent-light-color);
	border-radius: 10px;
}
.wp-block-details summary::marker {
	content: '';
}
.wp-block-details summary::before {
	content: '>';
	margin-right: 8px;
	font-size: 20px;
	display: inline-block;
	transition: transform 0.3s;
}
.wp-block-details[open] summary::before {
	transform: rotate(90deg);
}
.wp-block-cover {
	border-radius: 10px;
	margin-bottom: 10px;
}
.wp-block-cover img {
	border-radius: 10px;
}


.wp-block-video.alignleft,
.wp-block-video.alignright,
.wp-block-embed.alignleft,
.wp-block-embed.alignright {
	max-width: 400px;
	margin-bottom: 20px;
}

.wp-block-video.alignleft,
.wp-block-embed.alignleft {
	float: left;
	margin-right: 20px;
}
.wp-block-video.alignright,
.wp-block-embed.alignright {
	float: right;
	margin-left: 20px;
}
.clearfix {
	clear: both;
}








/* Special Projects */
.project-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	margin-bottom: 60px;
}
.project-grid .project-card {
	flex: 1;
}

.tax-project_name .featured-special_projects {
	margin-bottom: 20px;
}
.tax-project_name .special_project-header {
	margin-top: 100px;
}

.tax-project_name .post-type-archive-special_project .all-projects {
	margin-bottom: 50px;
}

.tax-project_name p a::after {
	background-color: var(--project-accent, currentColor);
}
.tax-project_name .news-wrap article {
	background: color-mix(in srgb, var(--project-accent) 50%, transparent);
}
.tax-project_name.light-theme .news-wrap article {
	background-color: var(--secondary-background-color);
}
.tax-project_name .article .article-data-container .category-link {
	color: #fff;
}
.tax-project_name .featured-article .article-data-spacer {
	background-color: #fff;
}




.tax-project_name .article .article-data-container {
	background: color-mix(in srgb, var(--project-accent) 50%, transparent);
	color: #fff;
}
.tax-project_name .featured-article:hover .article-data-container,
.tax-project_name .news-wrap article:hover {
	background-color: var(--project-accent, currentColor);
}



.tax-project_name .special_project-image-desc {
	margin: 0 auto;
}

.term-general-channel .special_project-image-desc {
	max-width: 1200px;
}

.term-general-channel .project-term-desc {
	margin-bottom: 40px;
	position: relative;
	padding: 60px 40px 80px;
	margin: 60px 120px;
}

.term-eurodefense-tech .project-term-desc {
	text-align: center;
	display: block;
	background-image: url(img/g_light.svg);
}

.term-general-channel .project-term-desc:before {
	content: '';
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 100px;
	height: 100px;
	background-image: url(img/g_light.svg);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left top;
}
.term-general-channel .project-term-desc:after {
	content: '';
	display: block;
	position: absolute;
	right: 0;
	bottom: 0;
	width: 100px;
	height: 100px;
	background-image: url(img/ch_light.svg);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: right bottom;
}

.term-general-channel.light-theme .project-term-desc:before {
	content: '';
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 100px;
	height: 100px;
	background-image: url(img/g_dark.svg);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left top;
}
.term-general-channel.light-theme .project-term-desc:after {
	content: '';
	display: block;
	position: absolute;
	right: 0;
	bottom: 0;
	width: 100px;
	height: 100px;
	background-image: url(img/ch_dark.svg);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: right bottom;
}

  .project-term-image img { 
	  max-width:100%; 
	  width: 100%;
	  height:auto; 
	  display:block; 
  }
  .project-term-image .img-dark { display:block; }
  .project-term-image .img-light { display:none; }
  body.light-theme .project-term-image .img-dark { display:none; }
  body.light-theme .project-term-image .img-light { display:block; }


/* Media Screens */

/* Планшеты (до 1024px) */
@media (max-width: 1024px) {
	
	.main-wrapper {
		padding: 0 1rem;
	}
	.container {
		margin: 0 auto;
		padding: 0;
	}
	.navbar {
		padding: 0 1rem;
	}
	.content-wrapper {
		display: block;
	}
	.sidebar-block {
		display: none;
	}
	.header {
		padding: 1rem 0.5rem;
	}
	.news-thumb {
		display: none;
	}
	.single .entry-title,
	.blog-post-title {
		font-size: var(--font-size-lg);
	}
	.single-article li, .single-article p {
		font-size: var(--font-size-nm);
	}
	
	.site-footer .container {
		padding: 0rem 1rem;
		flex-wrap: wrap;
	}
	.site-footer .company-data {
		width: 100rem;
		margin-bottom: 4rem;
	}
	
	
	
	.menu-toggle {
		display: block;
	}
	.list-item-stick {
		display: none;
	}
	
	.main-navigation ul {
		display: none; /* Скрываем меню по умолчанию */
		flex-direction: column;
		position: absolute;
		top: 70px;
		left: 10px;
		width: calc(100% - 20px);
		background: var(--secondary-background-color);
		padding: 1rem;
		box-shadow: 0 4px 6px var(--transparent-light-color);
		border-radius: 10px;
		z-index: 9999;
		border: 1px solid;
		border-color: var(--light-color-alt);
	}
	.main-navigation li {
		margin: 0;
	}
	/* Показываем меню при активации */
	.main-navigation.active ul {
		display: flex;
	}

	.main-navigation ul.menu li {
		width: 100%;
		text-align: left;
		padding: 1rem;
	}

	/* Мобильное подменю */
	.menu-item-has-children .sub-menu {
		display: none;
		position: static;
		background: var(--secondary-background-color);
		box-shadow: none;
		width: 100%;
		padding: 10px 15px;
		border: none;
	}

	.menu-item-has-children.active .sub-menu {
		display: flex!important;
		margin: 0;
	}

	/* Раскрывающиеся вложенные пункты */
	.menu-item-has-children a {
		display: flex;
	}

	.menu-item-has-children a::after {
		content: '>';
		margin-left: auto;
		transform: rotate(90deg);
		transition: transform 0.3s;
	}

	.menu-item-has-children.active a::after {
		transform: rotate(270deg);
	}
	
	.sub-menu li {
		margin: 0;
	}
	.sub-menu a {
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
		padding-right: 10px;
		flex-direction: column;
	}
	.sub-menu a::after {
		display: none;
	}
	.d-grid {
		display: flex;
		flex-direction: column;
	}	
	.featured-articles-container {
		margin-top: 0;
		margin-bottom: 8rem;
	}
	.featured-articles {
		padding-block: 0rem;
		margin-top: 12rem;
	}
	.swiper-slide {
		width: 100% !important; /* Карточка на всю ширину */
	}
	.search-popup-content {
		width: 100%;
	}
	.project-term-desc {
		width: 100%;
	}
}

/* Смартфоны (до 768px) */
@media (max-width: 768px) {
	.subscribe-form-image {
		display: none;
	}
	.bookmark-popup {
		margin-top: 2.5rem;
		top: 4.5rem;
		left: 10px;
		right: auto;
		width: calc(100% - 20px);
	}
	.bookmark span,
	.share-wrap-title {
		display: none;
	}
	.news-wrap .type-post,
	.news-wrap .insights,
	.news-wrap .post {
		max-width: 100%;
	}
	.admin-bar .headline {
		top: 9.5rem;
	}
	.headline-description {
		font-size:1.2rem;color:#1a2a3d
	} 
	.one-news .news-text a p {
		display: none;
	}
	.older-posts .post-card .news-text .entry-title {
		padding-bottom: 0;
	}
	.project-term-desc {
		width: 100%;
	}
	.tax-project_name .project-term-desc {
		padding: 30px 10px 40px;
		margin: 0 0 30px 0;
	}
	.tax-project_name .project-term-desc:before,
	.tax-project_name .project-term-desc:after,
	.tax-project_name.light-theme .project-term-desc:before,
	.tax-project_name.light-theme .project-term-desc:after {
		width: 50px;
		height: 50px;
	}
}

/* Маленькие экраны (до 480px) */
@media (max-width: 480px) {
	.container.single-article .share-wrap {
		position: relative;
		flex-direction: row;
	}
	.container .single-article {
		padding: 0;
	}
	.news-wrap > article:nth-last-child(1):nth-child(odd) {
		flex: 1;
	}
	.wp-block-video.alignleft,
	.wp-block-video.alignright,
	.wp-block-embed.alignleft,
	.wp-block-embed.alignright {
		float: none;
		display: block;
		margin: 0 auto 20px auto;
		max-width: 100%;
	}
	.project-term-desc {
		width: 100%;
	}
	.project-term-desc {
		width: 100%;
	}
}


