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


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

/* ==========================================================================
 * CSS VARIABLES (Design Tokens)
 * ==========================================================================
 * All colors, spacing, typography, and other design values are defined here
 * for easy theming and maintenance.
 * ========================================================================== */

:root {
	/* Layout */
	--site-wrapper: 160rem;

	/* Color Palette - Base Colors */
	--color-white: #fff;
	--color-black: #000;
	--color-dark-blue: #1a2a3d;
	--color-light-blue: #2d3a54;
	--color-light-gray: #c7d1e1;
	--color-light-gray-alt: #f0f8ff;
	--color-accent-yellow: #e6b800;
	--color-accent-yellow-light: #fcdc34;
	--color-accent-yellow-medium: #f4d434;
	--color-accent-yellow-dark: #9d7f09;
	--color-light-yellow: #fff9c0;
	--color-blue-dark: #0056b9;
	--color-blue-light: #0056b9;

	/* Color Palette - Grays */
	--color-gray-dark: #333;
	--color-gray-medium: #666;
	--color-gray-fade: #707070;
	--color-gray-border: #ccc;
	--color-gray-border-light: #ddd;
	--color-gray-border-medium: #c9c9c9;
	--color-gray-light: #eee;
	--color-gray-bg: #e3e3e3;
	--color-gray-text: #3d3d3d;

	/* Theme Color Variables - Dark Theme (Default) */
	--light-color: var(--color-light-gray);
	--light-color-alt: var(--color-light-gray-alt);
	--primary-background-color: var(--color-dark-blue);
	--secondary-background-color: var(--color-light-blue);
	--hover-light-color: var(--light-color);
	--hover-dark-color: var(--primary-background-color);

	/* Transparent Colors */
	--transparent-light-color: rgba(255, 255, 255, 0.05);
	--transparent-dark-color: rgba(0, 0, 0, 0.75);

	/* Accent Colors */
	--accent-color: var(--color-accent-yellow);
	--accent-gradient: linear-gradient(115deg, var(--color-blue-dark), var(--color-accent-yellow));
	--badge-gradient: linear-gradient(to bottom, var(--color-accent-yellow-light), var(--color-accent-yellow-medium), var(--color-accent-yellow));

	/* Typography */
	--font-family: 'Arsenal', sans-serif;
	--font-size-xsm: 1.2rem;
	--font-size-sm: 1.7rem;
	--font-size-nm: 2rem;
	--font-size-md: 2.4rem;
	--font-size-lg: 3rem;
	--font-size-xl: 4rem;

	/* Spacing */
	--gap: 2rem;
	--margin-sm: 2rem;
	--margin-md: 3rem;
	--item-min-height-sm: 20rem;
	--item-min-height-md: 30rem;

	/* Border Radius */
	--border-radius-sm: 0.4rem;
	--border-radius-md: 1rem;
	--border-radius-lg: 10rem;

	/* Pagefind UI Variables */
	--pagefind-ui-scale: 0.8;
	--pagefind-ui-primary: var(--color-dark-blue);
	--pagefind-ui-fade: var(--color-gray-fade);
	--pagefind-ui-background-color: var(--color-light-blue);
	--pagefind-ui-border: var(--color-light-gray);
	--pagefind-ui-tag: var(--color-light-gray);
	--pagefind-ui-border-width: 0.1rem;
	--pagefind-ui-border-radius: var(--border-radius-md);
	--pagefind-ui-image-border-radius: var(--border-radius-md);
	--pagefind-ui-image-box-ratio: 3 / 2;
	--pagefind-ui-font: var(--font-family);
}

/* Light Theme Color Overrides */
body.light-theme {
	--light-color: var(--color-gray-text);
	--light-color-alt: rgba(0, 0, 0, 0.6);
	--primary-background-color: #f2f2f3;
	--secondary-background-color: var(--color-gray-bg);
	--hover-light-color: var(--color-white);
	--transparent-dark-color: rgba(227, 227, 227, 0.9); /* #e3e3e3e6 */
	--transparent-light-color: rgba(0, 0, 0, 0.1);
}


/* ==========================================================================
 * RESET & BASE STYLES
 * ========================================================================== */

/**
 * Global Reset
 * Removes default margins, padding, and applies border-box sizing
 */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	transition: box-shadow 0.3s, background-color 0.3s;
}

/**
 * HTML Base
 * Sets root font size (62.5% = 1rem for easier rem calculations)
 */
html {
	font-size: 62.5%;
	scroll-behavior: smooth;
	scroll-padding-top: 10rem;
}

/**
 * Body Styles
 * Base typography and layout setup
 */
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 0.3s ease-in-out;
	overflow-x: hidden;
}



/* Dark Theme */
body.dark-theme {
	background: var(--primary-background-color);
}


/* ==========================================================================
 * UTILITY CLASSES
 * ========================================================================== */

/**
 * Layout Utilities
 */
.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 {
	margin-bottom: 2rem;
	flex-wrap: wrap;
}

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


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

.single .category-link svg {
	padding-left: 0.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: 8rem;
}


/* Section spacing */
.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: 0;
	width: 100%;
}

.category-banners {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

/* ==========================================================================
 * FORMS
 * ========================================================================== */

/**
 * Contact Form 7 Styling
 */
.wpcf7-form {
	background-color: var(--secondary-background-color);
	padding: var(--margin-md);
	border-radius: var(--border-radius-md);
	font-family: var(--font-family);
	border: 0.1rem solid var(--secondary-background-color);
	color: var(--light-color);
	width: 100%;
	max-width: 50rem;
	margin: 3rem auto;
}

.wpcf7-form:hover {
	border-color: var(--light-color-alt);
	border: 0.1rem solid;
	box-shadow: 0 0 2rem 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;
}

/**
 * Date Input Styling
 * Custom date picker with themed icon
 */
input[type="date"] {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-color: var(--color-gray-dark);
	color: var(--color-white);
	border: 0.1rem solid var(--color-gray-border);
	padding: 0.8rem 1.2rem;
	border-radius: var(--border-radius-sm);
	font-size: 1.6rem;
	position: relative;

	/* Custom calendar icon */
	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 1rem center;
	background-size: 2.4rem;
	padding-right: 4rem;
}

.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 1rem center;
	background-size: 2.4rem;
}

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

/**
 * Hide default browser date picker icon
 * Uses custom SVG icon instead
 */
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: 3.6rem;
}

p {
	margin-bottom: 1.5rem;
}

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

blockquote {
	margin: 0 1.5rem;
}

address {
	margin: 0 0 1.5rem;
}

pre {
	background: var(--color-gray-light);
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6rem;
	max-width: 100%;
	overflow: auto;
	padding: 1.6rem;
}

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

abbr,
acronym {
	border-bottom: 0.1rem dotted var(--color-gray-medium);
	cursor: help;
}

mark,
ins {
	background: var(--color-light-yellow);
	text-decoration: none;
}

big {
	font-size: 125%;
}

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


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

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

ul {
	list-style: disc;
}
ul ul {
	list-style: circle;
	margin:1rem 2rem 1rem!important;
}
ul ul li {
	margin-left: 0.5rem;
}


ol {
	list-style: decimal;
}

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

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5rem 1.5rem;
}






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

a {
	color: inherit;
	text-decoration: none;
}
.wp-block-heading a,
.link,
p a,
.wp-block-list li a,
.wp-block-table td a {
	position: relative;
	text-decoration: none;
	color: #e6b800
}
.wp-block-heading a::after,
.link::after,
p a::after,
.wp-block-list li a::after,
.wp-block-table td 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,
.wp-block-table td a:hover::after {
	width: 100%
}



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

/* Admin Bar Adjustments */

.admin-bar .header{
	top: 3.2rem;
}

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

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

/* ==========================================================================
 * LOADER
 * ========================================================================== */

/**
 * Loading Indicator
 * Displays while page content is loading
 */
.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: 6.4rem;
	height: 6.4rem;
	position: relative;
	background: var(--light-color-alt);
	border-radius: 50%;
	transform: rotate(45deg);
	animation: 2s linear infinite rotate;
	z-index: 10000;
}

.loader::before {
	width: 1.5rem;
	height: 3rem;
	background: var(--accent-color);
	transform: skew(5deg, 60deg) translate(-50%, -5%);
}

.loader::after {
	width: 0.6rem;
	height: 0.6rem;
	border-radius: 50%;
	background: var(--color-white);
	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 0.1rem .5rem var(--transparent-light-color);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 999;
}
.header.activated {
	box-shadow: 0 0.2rem .5rem var(--transparent-light-color);
	border-bottom: 0.1rem 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 li:last-child {
	margin-right: 0;
}

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



.menu-item-has-children > a::after {
	content: '>';
	margin-left: 0.8rem;
	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: auto;
	grid-template-columns: repeat(2, 1fr);
	border: 0.1rem solid var(--light-color-alt);
	border-radius: var(--border-radius-md);
	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: 2.1rem;
	margin-left: 2rem!important;
}

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

.menu-description {
	font-size: 1.6rem;
	color: var(--light-color);
	font-weight: normal;
	padding: 1rem 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;
	min-width: 30rem;
}
.main-navigation ul.sub-menu .menu-item:hover {
	color: var(--secondary-background-color);
	background-color: var(--light-color);
	border-radius: var(--border-radius-md);
}

.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: 0.1rem solid var(--light-color);
	color: var(--light-color);
	padding: 0.5rem 1rem;
	display: inline-block;
	font-size: 1.5rem;
	text-decoration: none;
	border-radius: var(--border-radius-md);
}

.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: 2.4rem;
	display: flex;
	align-items: center;
	gap: 0.8rem;
}



.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: var(--border-radius-lg);
	border: 0.1rem solid var(--color-white);
}

.wpml-ls-legacy-list-horizontal a {
	padding: 0.5rem;
}
.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;
}


/* ==========================================================================
 * HEADLINE BANNER
 * ========================================================================== */

/**
 * Support Banner
 * Top banner promoting support for the publication
 */
.headline {
	position: absolute;
	left: 0;
	padding: 0;
	margin: 0;
	top: 5.3rem;
	width: 100%;
}

.headline-banner {
	background: var(--badge-gradient);
	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 LAYOUT
 * ========================================================================== */

.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 {
	margin-bottom: 1.3rem;
}
.wp-block-embed iframe {
	width: 100%;
	min-height: 500px;
	border-radius: 1rem;
}

.wp-block-image {
	position: relative;
	cursor: pointer;
	margin-bottom: 2rem;
}

.wp-block-image img {
	display: block;
	margin: 0;
	overflow: hidden;
	width: 100%;
	max-width: 120rem;
	aspect-ratio: 16 / 10;
	box-shadow: 0 0 0.2rem var(--transparent-light-color);
	border-radius: var(--border-radius-md);
	transition: opacity 0.3s;
}

.wp-block-image:hover img {
	opacity: 0.9;
}

/* Expand icon overlay on image */
.lightbox-initialized figure,
figure.wp-block-image {
	position: relative;
}
.lightbox-initialized figure::before,
figure.wp-block-image::before {
	content: '';
	position: absolute;
	top: 1rem;
	right: 1rem;
	width: 3rem;
	height: 3rem;
	background-color: var(--transparent-dark-color);
	border-radius: 50%;
	opacity: 1;
	transition: opacity 0.3s, transform 0.3s;
	z-index: 5;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24' fill='none'%3E%3Cpath d='M8.00001 3.09779C8.00001 3.09779 4.03375 2.74194 3.38784 3.38785C2.74192 4.03375 3.09784 8 3.09784 8' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8.00001 20.9022C8.00001 20.9022 4.03375 21.2581 3.38784 20.6122C2.74192 19.9662 3.09784 16 3.09784 16' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M16 3.09779C16 3.09779 19.9663 2.74194 20.6122 3.38785C21.2581 4.03375 20.9022 8 20.9022 8' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M16 20.9022C16 20.9022 19.9663 21.2581 20.6122 20.6122C21.2581 19.9662 20.9022 16 20.9022 16' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M14.0107 9.99847L20.0625 3.94678' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M9.99696 14.0024L3.63966 20.3807' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M9.99732 10.0024L3.84571 3.85889' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M13.9795 14.0024L20.5279 20.4983' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-size: 1.6rem;
	background-position: center;
	background-repeat: no-repeat;
	backdrop-filter: blur(0.4rem);
}

.lightbox-initialized figure:hover::before,
figure.wp-block-image:hover::before {
	opacity: 1;
	transform: scale(1.1);
}

/* Light theme: dark icon */
body.light-theme .lightbox-initialized figure::before,
body.light-theme figure.wp-block-image::before {
	background-color: var(--transparent-dark-color);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24' fill='none'%3E%3Cpath d='M8.00001 3.09779C8.00001 3.09779 4.03375 2.74194 3.38784 3.38785C2.74192 4.03375 3.09784 8 3.09784 8' stroke='%23333333' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8.00001 20.9022C8.00001 20.9022 4.03375 21.2581 3.38784 20.6122C2.74192 19.9662 3.09784 16 3.09784 16' stroke='%23333333' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M16 3.09779C16 3.09779 19.9663 2.74194 20.6122 3.38785C21.2581 4.03375 20.9022 8 20.9022 8' stroke='%23333333' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M16 20.9022C16 20.9022 19.9663 21.2581 20.6122 20.6122C21.2581 19.9662 20.9022 16 20.9022 16' stroke='%23333333' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M14.0107 9.99847L20.0625 3.94678' stroke='%23333333' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M9.99696 14.0024L3.63966 20.3807' stroke='%23333333' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M9.99732 10.0024L3.84571 3.85889' stroke='%23333333' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M13.9795 14.0024L20.5279 20.4983' stroke='%23333333' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.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;
}

/* Галерея Gutenberg как слайдер (Swiper)
 * Работает только для галерей, у которых в Gutenberg
 * в поле "Дополнительный CSS‑класс" указано: dfndr-gallery
 */
.dfndr-gallery {
	display: block;
	max-width: 100%;
	margin: 0 0 3rem;
}

.dfndr-gallery .swiper {
	width: 100%;
	height: 60vh;              /* фиксированная высота блока галереи */
	max-height: 720px;
	border-radius: 1rem;
}

.dfndr-gallery .swiper-wrapper {
	align-items: center;
}

.dfndr-gallery .swiper-slide {
	display: flex;
	justify-content: center;
}

.dfndr-gallery .swiper-slide figure.wp-block-image {
	margin: 0;
}

.dfndr-gallery figure.wp-block-image {
	display: block;
	width: 100%;
	height: 100% !important;
}

.dfndr-gallery figure.wp-block-image img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important; /* Вариант Б: как обложка, можно обрезать края */
	flex: 0 0 auto !important;
}

/* ==========================================================================
 * NEWS & ARTICLES
 * ========================================================================== */



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


.one-news {
	display: grid; /* two-column grid: image + content */
	grid-template-columns: 30rem 1fr;
	align-items: stretch;
	line-height: 0;
	min-height: 25rem;
	border: 0.1rem solid;
	border-color: var(--transparent-light-color);
	border-radius: var(--border-radius-md);
}

.one-news:hover {
	border-color: var(--light-color-alt);
	color: var(--hover-light-color);
	box-shadow: 0 0 2rem var(--transparent-light-color), 0 0 3rem 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 Article */

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

.post-toolbar {
	display: flex;
	width: 100%;
	max-width: 100rem;
	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: 0.5rem;
	line-height: 0;
	margin-bottom: 2rem;
}
.share-wrap {
	display: flex;
	align-items: center;
	justify-items: flex-start;
	gap: 1rem;
	line-height: 0;
	margin-bottom: 2rem;

}
.container.single-article .share-wrap {
	position: absolute;
	flex-direction: column;
	left: 0;
}

.author-wrap {
	margin-bottom: 2rem;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 3rem;
}

.custom-author-name {
	display: inline-flex;
	align-items: center;
	gap: 0.8rem;
}

.custom-author-name .author-link {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	text-decoration: none;
	color: inherit;
	transition: opacity 0.3s;
}

.custom-author-name .author-link:hover {
	opacity: 0.8;
}

.custom-author-name .author-avatar {
	width: 4rem;
	height: 4rem;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.author-separator {
	margin: 0 0.3rem;
}

.custom-author-name .author-name-text {
	font-weight: 500;
}

/* Author archive page styles */
.author-header {
	margin-bottom: 3rem;
}

.author-info {
	display: flex;
	align-items: flex-start;
	gap: 2rem;
}

.author-archive-avatar {
	width: 12rem;
	height: 12rem;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
	margin-top: 1rem;
}

.author-details {
	width: 50%;
}

.author-description {
	margin-top: 1rem;
	font-size: var(--font-size-sm);
	line-height: 1.6;
	color: var(--light-color-alt);
}
.author-social-links {
	margin-top: 1rem;
}

.author-social-links .share-wrap {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.author-social-links .list-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
}

.author-social-links i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
}

.author-social-links i svg {
	display: block;
	width: 2.2rem;
	height: 2.2rem;
	flex-shrink: 0;
}

.reading-time {
	white-space: nowrap;
}



.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: var(--accent-color);
	position: absolute;
	bottom: -4rem;
}





/* ==========================================================================
 * SEARCH POPUP
 * ========================================================================== */

.search-popup-content:before {
	background-color: var(--light-color-alt);
	width: calc(2.4rem * var(--pagefind-ui-scale));
	height: calc(2.4rem * var(--pagefind-ui-scale));
	top: calc(2rem * var(--pagefind-ui-scale));
	left: calc(2rem * 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: var(--border-radius-md);
	width: 50%;
	max-width: 90%;
	position: relative;
	text-align: center;
}

.search-popup input {
	height: calc(6.4rem* var(--pagefind-ui-scale));
		padding: 0 calc(7rem* var(--pagefind-ui-scale)) 0 calc(5.4rem* 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 2rem var(--transparent-light-color), 0 0 3rem 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: 60rem;
	overflow-y: auto;
	color: var(--hover-dark-color);
}

#search-results p {
	padding: 1rem;
	border-bottom: 0.1rem solid var(--color-gray-border-light);
	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);
}
.highlight {
    background: #e6b800;
    padding: 0 1px;
    border-radius: 2px;
	color: #000;
}
.close-btn {
	position: fixed;
	top: 4rem;
	right: 4rem;
	font-size: 2rem;
	background: none;
	border: none;
	cursor: pointer;
	background: var(--light-color);
	color: var(--primary-background-color);
	width: 3rem;
	height: 3rem;
	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: 1rem 0;
	border-bottom: 0.1rem solid var(--light-color);
}
.search-result-excerpt {
	font-weight: normal;
}

.search-result-item img {
	width: 10rem;
	height: 10rem;
	object-fit: cover;
	border-radius: 0.5rem;
	margin-right: 1rem;
}

.search-result-title {
	font-size: 1.6rem;
}





/* ==========================================================================
 * BRANDING & LOGO
 * ========================================================================== */
.logo-simple,
.logo a {
	background-image: url(img/Defender-Media_Logo_UA_RGB_WHITE-Blue.svg);
	width: 12rem;
	display: block;
	height: 2.6rem;
	background-size: contain;
	background-repeat: no-repeat;
	margin-bottom: -0.6rem;
}
.light-theme .logo-simple,
.light-theme .logo a {
	background-image: url(img/Defender-Media_Logo_UA_RGB_Dark-GREY.svg);
	width: 12rem;
	display: block;
	height: 2.6rem;
	background-size: contain;
	background-repeat: no-repeat;
	margin-bottom: -0.6rem;
}






.logo-simple {
	position: relative;
}
.logo-simple span {
	position: absolute;
	right: -2.5rem;
	top: -0.4rem;
}

@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: 10rem; */
	background-color: var(--secondary-background-color);
	box-shadow: 0 -0.1rem .5rem var(--transparent-light-color);
	width: 100%;
	padding: 4rem 0;
	border-top: 0.1rem solid;
	border-color: var(--light-color-alt);
}

.site-footer .container {
	max-width: var(--site-wrapper);
	margin: 0 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: var(--accent-color);
}

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

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

}
.company-copyright {
	margin-top: 2rem;
}

.site-footer h6 {
	font-size: 1.6rem;
	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: 1rem;
}

.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: 0.1rem solid var(--light-color);
	color: var(--light-color);
	padding: 0.5rem 1rem;
	margin: 0 1rem 1rem 0;
	display: inline-block;
	font-size: 1.2rem;
	text-decoration: none;
	border-radius: var(--border-radius-md);
}

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






/* ==========================================================================
 * DECORATIVE ELEMENTS
 * ========================================================================== */

/**
 * Spacer Element
 * Decorative divider between sections
 */
.or-spacer {
	width: 100%;
	position: relative;
	margin-top: 3rem;
}

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

.mask {
	&:after {
		content: '';
		display: block;
		margin: -2.5rem auto 0;
		width: 100%;
		height: 2.5rem;
		border-radius: 12.5rem / 1.2rem;
		box-shadow: 0 0 0.8rem var(--light-color);
	}
}


/* ==========================================================================
 * POST CONTENT
 * ========================================================================== */
.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: 90rem;
	line-height: 1.2;
}

.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: var(--accent-color);
}

.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;
    width: 30rem;
    margin: 0;
    overflow: visible;
}
.one-news .featured-image {
	height: 100%;
}

.featured-image-img {
	position: static;
	width: 30rem;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s;
	border-radius: 0.8rem 0 0 0.8rem;
}

/* Make image column in one-news stretch to full card height */
.one-news .news-thumb,
.one-news .news-thumb-link-wrapper,
.one-news .news-thumb-link {
	height: 100%;
}


.single .featured-image {
	width: 100%;
}
.wp-post-image {
	width: 100%;
	height: auto;
	border-radius: var(--border-radius-md);
}

.related-posts-article-image-wrapper .wp-post-image {
	border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
}

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

.single-article {
	display: block !important; /* Override flex if it interferes */
}
.wp-block-image .alignleft {
	float: left;
	margin: .3rem 2rem 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: 0.1rem solid;
	width: 28rem;
	border-radius: var(--border-radius-md);
	background-color: var(--secondary-background-color);
	transition: box-shadow 0.3s;
}

.tip_box svg,
.mistake_box svg {
	width: 2rem;
	height: 2rem;
	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: 0.5rem 1rem;
	margin: 2rem 0.2rem 0;
	border: 0.1rem solid var(--light-color-alt);
	background-color: var(--secondary-background-color);
	color: var(--light-color-alt);
	text-decoration: none;
	border-radius: var(--border-radius-md);
}

.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 Titles with Animated Underline */
.section-title {
	position: relative;
	font-size: var(--font-size-lg);
	margin-bottom: 4rem;
	display: inline-block;
}

.section-title-link {
	width: 21rem;
}

.section-title-link-reports {
	width: 28rem;
}

.section-title::after {
	content: '';
	position: absolute;
	top: 2rem;
	left: 0;
	width: 0;
	height: 2.5rem;
	background-color: var(--accent-color);
	transition: width 0.3s;
	z-index: -10;
}

.section-title:hover::after {
	width: 100%;
}

/* FEATURED ARTICLES */
.d-grid{
	display:grid;
}

.home .featured-articles {
	margin-top: 12rem;
}
.featured-articles {
	margin-bottom: 2rem;
}
.home .featured-articles-container {
	grid-template-columns: 1fr 40rem;
}

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

.featured-article {
	transition: 0.3s;
	box-shadow: 0 0 0.2rem var(--transparent-light-color);
	border-radius: var(--border-radius-md);
}

.featured-article:hover {
	background-color: var(--secondary-background-color);
	box-shadow: 0 0 2rem var(--transparent-light-color), 0 0 3rem 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: 14rem;
	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: 0.8rem;
	transition: all 0.3s;
	display: inline-block;
}

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

.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 Badge */
.article-category {
	position: absolute;
	top: 1rem;
	right: 1rem;
	padding: 0.8rem;
	background: var(--badge-gradient);
	color: #1a2a3d;
	border-radius: var(--border-radius-md);
	text-transform: uppercase;
	z-index: 10;
	pointer-events: none;
}

/* Partner Badge Icon - Star in Yellow Circle */
.partner-badge-icon {
	position: absolute;
    top: 1rem;
    right: 1rem;
    width: 3rem;
    height: 3rem;
    background: #000;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 15;
    border: #e6b800 solid 7px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.partner-badge-icon .partner-badge-link {
	display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    text-decoration: none;
}
.trending-news-img-box .partner-badge-icon {
	top: 0.5rem;
	right: 0.5rem;
	width: 2rem;
	height: 2rem;
}

.partner-badge-icon:hover {
	transform: scale(1.1);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.partner-badge-icon svg {
	width: 2.5rem;
    height: 2.5rem;
    fill: #e6b800;
    color: #e6b800;
}

.trending-news-img-box .partner-badge-icon svg {
	width: 1rem;
	height: 1rem;
}

.partner-badge-icon[data-tooltip]:hover::after {
	content: attr(data-tooltip);
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	margin-bottom: 8px;
	padding: 10px 10px;
	background: rgba(0, 0, 0, 0.9);
	color: #fff;
	border-radius: 4px;
	font-size: 12px;
	white-space: nowrap;
	pointer-events: none;
	z-index: 20;
	line-height: 1;
}

.partner-badge-icon[data-tooltip]:hover::before {
	content: '';
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	margin-bottom: 2px;
	width: 0;
	height: 0;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 6px solid rgba(0, 0, 0, 0.9);
	pointer-events: none;
	z-index: 20;
}

/* Ensure featured-image and article are positioned relative for absolute positioning */
.featured-image {
	position: relative;
}

.article {
	position: relative;
}

/* Ensure trending-news-img-box is positioned relative for badge icon */
.trending-news-img-box {
	position: relative;
}

/* Ensure news-thumb and news-thumb-link are positioned relative for badge icon */
.news-thumb {
	position: relative;
}

.news-thumb-link-wrapper {
	position: relative;
	display: block;
}

.news-thumb-link {
	position: relative;
	display: block;
}

/* Ensure one-news is positioned relative for badge icon */
.one-news {
	position: relative;
}

.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 0.3s;
}
.article-data-date {
	white-space: nowrap;
}
.article-data {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 5px 10px;
	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: var(--accent-color) !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-button-prev, .swiper-rtl .swiper-button-next {
    top: -50px!important;
    right: 40px!important;
	left: auto!important;
	border-radius: 5px!important;
}
.swiper-button-next, .swiper-rtl .swiper-button-prev {
    right: 0!important;
    top: -50px!important;
	border-radius: 5px!important;
}


.single .swiper-button-prev, .single .swiper-button-next{
	top: var(--swiper-navigation-top-offset, 50%) !important;
}
.single .swiper-button-prev{
	left: var(--swiper-navigation-sides-offset, 10px) !important;
}
.single .swiper-button-next{
	right: var(--swiper-navigation-sides-offset, 10px) !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
	content: "" !important;
	display: block;
	width: 24px;
	height: 24px;
	background-color: var(--light-color);
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
}

.swiper-button-next::after {
	-webkit-mask-image: url(img/arrow-right-wide-line.svg);
	mask-image: url(img/arrow-right-wide-line.svg);
}

.swiper-button-prev::after {
	-webkit-mask-image: url(img/arrow-left-wide-line.svg);
	mask-image: url(img/arrow-left-wide-line.svg);
}

/* SWIPER */

/* Swiper Styles */
.swiper-wrapper {
	height: auto;
	padding-bottom: 2rem;
}

.article.swiper-slide {
	box-shadow: 0 0 0.2rem var(--transparent-light-color);
	border-radius: var(--border-radius-md);
}

.article.swiper-slide:hover {
	box-shadow: 0 0 2rem var(--transparent-light-color), 0 0 3rem 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 {
	position: relative!important;
}
.dfndr-gallery .swiper-pagination {
	position: absolute!important;
}
.swiper-pagination-bullet {
	background-color: var(--light-color);
}

.home .swiper-pointer-events {
	overflow: visible;
}
.home .swiper-pointer-events .swiper-slide {
	overflow: visible;
}
.home .swiper-pointer-events .swiper-slide .article-image {
	border-radius: var(--border-radius-md);
}

.home .swiper-pointer-events .swiper-slide .article-data-container {
		border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
	}


/* BLOG POST */

.blog-post {
	padding-bottom: 1rem;
	margin-top: 12rem
}
.blog-post li {
	margin-bottom: 0.5rem;
}
.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: 90rem
}

.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");
	mask-size: cover;
}

.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");
	mask-size: cover;
}
.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");
	mask-size: cover;
}


.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: 12.5rem;
}

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


.blog-post-container {
	flex: 1;
	width: calc(100% - 45rem);
}
.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: 0.1rem 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 0.2rem var(--transparent-light-color);
	border-radius: var(--border-radius-md);
}

.related-posts .article:hover {
	box-shadow: 0 0 2rem var(--transparent-light-color), 0 0 3rem 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-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 {
	width: 45rem;
}

.widget_media_image img {
	position: relative;
	width: 45rem;
	border-radius: var(--border-radius-md);
	box-shadow: 0 0 0.2rem var(--transparent-light-color);
	border: 0.1rem solid transparent;
}
.widget_media_image img:hover {
	border: 0.1rem solid;
	box-shadow: 0 0 2rem var(--transparent-light-color), 0 0 3rem var(--transparent-light-color);
	border-color: var(--light-color);
}
.banner-image {
	width: 100%;
	height: auto;
}


.sidebar {
	background-color: var(--secondary-background-color);
	padding: 2.5rem;
	box-shadow: 0 0 0.2rem var(--transparent-light-color);
	overflow: hidden;
	border: 0.1rem solid;
	border-color: var(--transparent-light-color);
	border-radius: var(--border-radius-md);
}

.sidebar:hover {
	box-shadow: 0 0 2rem var(--transparent-light-color), 0 0 3rem 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: 0.1rem 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: var(--border-radius-lg);
	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: var(--border-radius-md);
}

.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;
}
.sidear-social-links {
	margin-top: 3rem;
}
.sidear-social-links i svg {
    width: 3.1rem;
    height: 3.1rem;
}




.archive #breadcrumbs {
	margin-bottom: 2rem;
}
.breadcrumb_last strong {
	font-weight: normal;
}
.archive #breadcrumbs .breadcrumb_last {
	opacity: 1;
	display: inline-block;
}
.archive #breadcrumbs .breadcrumb_last strong {
	font-weight: normal;
}
.archive-description p {
	font-weight: 400;
	font-style: italic;
	font-size: 1.9rem;
	margin-bottom: 0;
}

#breadcrumbs {
	font-size: 1.5rem;
	margin-bottom: 1rem;
}
#breadcrumbs a {
	position: relative;
	text-decoration: none;
	color: #e6b800
}


.single .breadcrumb_last {
	opacity: 0;
	display: none;
}
.news-section-title {
	position: relative;
	font-size: var(--font-size-lg);
}

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








.news-text {
	padding: 2rem;
	line-height: 2rem;
	flex: 1;
}

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

.news-meta {
	font-size: 1.2rem;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0rem 1rem;
	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: var(--accent-color);
}

.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;
	white-space: nowrap;
}

.cat-link:hover {
	color: var(--accent-color);
}


.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: 2.4rem;
	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: var(--border-radius-md);
	padding: 0.5rem 1rem;
	font-size: var(--font-size-md);
}
.nav-links a:hover {
	color: var(--light-color);
}
.nav-links span {
	color: var(--light-color);
	border: 0.1rem solid var(--color-gray-border-light);
	padding: 0.5rem 1rem;
	border-radius: var(--border-radius-md);
}
.nav-links .dots {
	border: 0;
	text-decoration: none;
	color: var(--light-color-alt);
	opacity: 0.8;
	margin: 0;
	border-radius: var(--border-radius-md);
	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: 4rem 0;
}

.news-sidebar-banners,
.news-sidebar {
    display: flex;
    gap: 2rem;
    align-items: flex-start; /* prevent children stretch; stick to top */
}

.news-wrap {
	display: flex;
	flex: 1;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 2rem;
}

.news-wrap .insights,
.news-wrap article {
	flex: 1 1 calc(50% - 1rem);
	box-sizing: border-box;
	background-color: var(--secondary-background-color);
	box-shadow: 0 0 0.2rem var(--transparent-light-color);
	border-radius: var(--border-radius-md);
}

/* If only one article exists, force full width */
.news-wrap > article:only-child {
    flex: 1 1 100%;
    max-width: 100%;
}

.news-wrap .insights:hover,
.news-wrap article:hover {
	background-color: var(--hover-dark-color);
	color: var(--hover-light-color);
}

/* Last post styling when no banners: make it half-width (50%) */
.news-wrap > article:nth-last-child(1):nth-child(odd) {
	flex: 0 1 calc(50% - 1rem);
	max-width: calc(50% - 1rem);
}

/* When banners exist: all posts full-width including last */
.news-sidebar-banners .news-wrap .insights,
.news-sidebar-banners .news-wrap article,
.news-sidebar-banners .news-wrap > article:nth-last-child(1):nth-child(odd) {
    flex: 1 1 100% !important;
    max-width: 100% !important;
}

.news-sidebar-banners .news-wrap > article:nth-last-child(1):nth-child(odd) {
	flex: 1 1 100%;
	max-width: 100%;
}

/* When banners are present: don't stretch the only card to sidebar height */
.news-sidebar-banners .one-news { align-items: stretch; }
.news-sidebar-banners .featured-image { height: 25rem; }
.news-sidebar-banners .featured-image-img { position: static; width: 100%; height: 100%; object-fit: cover; }



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

/* Fix image column width and allow content column to fill remaining */
/* grid columns already define widths; remove old flex sizing */








.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 */



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

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

.featured-article {
	transition: 0.3s;
	box-shadow: 0 0 0.2rem var(--transparent-light-color);
	border-radius: var(--border-radius-md);
}

.featured-article:hover {
	background-color: var(--secondary-background-color);
	box-shadow: 0 0 2rem var(--transparent-light-color), 0 0 3rem var(--transparent-light-color);
	border-color: var(--light-color-alt);
}

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

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











/* NEWSLETTER MAILERLITE */

.subscribe-form {
	display: flex;
	border: 0.1rem solid;
	border-color: var(--transparent-light-color);
	border-radius: var(--border-radius-md);
	justify-content: space-between;
	align-items: center;
	padding: 0;
	background-color: var(--secondary-background-color);
	box-shadow: 0 0 0.2rem var(--transparent-light-color);
	position: relative;
	margin: 6rem auto 8.5rem;
	box-sizing: border-box;
	max-width: 100rem;
	width: 100%;
	line-height: 0;
}
.subscribe-form:hover {
	border-color: var(--light-color-alt);
	border: 0.1rem solid;
	box-shadow: 0 0 2rem var(--transparent-light-color), 0 0 3rem 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: 35rem;
	border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
}
.mailerlite-form-error {
	position: absolute;
	top: 6rem;
}
.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 0.2rem var(--transparent-light-color);
	position: relative;
	margin: 3rem 0 3rem;
	box-sizing: border-box;
	border-radius: var(--border-radius-md);
}


.newsletter-img {
	width: 45rem;
	border-top-right-radius: var(--border-radius-md);
	border-bottom-right-radius: var(--border-radius-md);
}

.newsletter-img-single {
	border-radius: var(--border-radius-md);
	max-width: 100%;
	margin-bottom: 2rem;
}

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

.newsletter-category {
	position: absolute;
	bottom: 6rem;
	left: 1.25rem;
	padding: 0.8rem 0.8rem 0.8rem 2rem;
	background: var(--badge-gradient);
	color: #1a2a3d;
	font-weight: 700;
	pointer-events: none;
	text-align: center;
	width:	91.6%;
}

.newsletter-category::before {
	content: '';
	position: absolute;
	left: -0.3rem;
    top: 4.1rem;
	width: 0;
	height: 0;
	border-left: 2rem solid;
	color: var(--color-accent-yellow-dark);
	border-bottom: 1.3rem solid transparent;
	transform: rotate(90deg);
}

.ml-form-embedWrapper {
	border: 0.1rem solid;
	border-color: var(--transparent-light-color);
	border-radius: var(--border-radius-md);
	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: 0.1rem solid;
	box-shadow: 0 0 2rem var(--transparent-light-color), 0 0 3rem 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: var(--border-radius-md);
	border: 0.1rem 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: var(--font-family);
}




.wpcf7-submit {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1rem' height='1rem' 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: 2.4rem 2.4rem;
	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='1rem' height='1rem' 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='1rem' height='1rem' 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: 2.4rem 2.4rem;
	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='1rem' height='1rem' 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='1rem' height='1rem' 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: 2.4rem 2.4rem;
	background-repeat: no-repeat;
	background-position: 90% center;
	color: var(--light-color-alt) !important;
	font-size: var(--font-size-sm) !important;
	border-width: 0.1rem;
	border-style: solid;
	border-color: initial;
	border-image: initial;
	border-radius: var(--border-radius-md);
	margin: 0 !important;
	padding: 1rem 5rem 1rem 1rem !important;
	font-family: var(--font-family);
}

.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='1rem' height='1rem' 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='1rem' height='1rem' 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: 2.4rem 2.4rem;
	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='1rem' height='1rem' 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;
}


/* ==========================================================================
 * BOOKMARK 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: 0.1rem solid var(--light-color-alt);
	border-radius: var(--border-radius-md);
	column-count: 1;
	column-gap: 1rem;
	z-index: 100;
	box-shadow: 0 0 2rem var(--transparent-light-color);
}

.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.4rem;
	height: 1.4rem
}



.hide {
	display: none!important;
}

.wp-block-separator {
	height: 2rem;
	line-height: 0;
	margin: 3rem auto;
}
:root :where(.wp-block-separator.is-style-dots):before {
	color: currentColor;
	content: "◆ ◆ ◆";
	font-size: 1.2rem;
}

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

.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 0.2rem var(--transparent-light-color);
	border-radius: var(--border-radius-md);
}
.wp-block-details {
	padding: 1rem;
	border: 0.1rem solid var(--light-color-alt);
	border-radius: var(--border-radius-md);
	margin-bottom: 2rem;
	scroll-margin-top: 20px;
	transition: all 0.2s ease-out;
}
.wp-block-details p {
	padding-left: 1.6rem;
}
.wp-block-details summary::marker {
	content: '';
}
.wp-block-details summary::before {
	content: '>';
	margin-right: 0.8rem;
	font-size: 2rem;
	display: inline-block;
	transition: transform 0.3s;
}

.wp-block-details[open] summary::before {
	transform: rotate(90deg);
}
.wp-block-cover {
	border-radius: var(--border-radius-md);
	margin-bottom: 1rem;
}
.has-luminous-vivid-amber-background-color {
	color: var(--color-gray-text);
}
.wp-block-cover img {
	border-radius: var(--border-radius-md);
}

summary {
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

.wp-block-video.alignleft,
.wp-block-video.alignright,
.wp-block-embed.alignleft,
.wp-block-embed.alignright {
	max-width: 40rem;
	margin-bottom: 2rem;
}

.wp-block-video.alignleft,
.wp-block-embed.alignleft {
	float: left;
	margin-right: 2rem;
}
.wp-block-video.alignright,
.wp-block-embed.alignright {
	float: right;
	margin-left: 2rem;
}
.wp-block-video video {
	border-radius: var(--border-radius-md);
}
.clearfix {
	clear: both;
}








/* ==========================================================================
 * CHILD CATEGORY STYLES
 * ========================================================================== */

.child-cat #breadcrumbs {
	text-align: center;
	margin-top: 3rem;
}
.child-cat .breadcrumb_last {
	display: none;
}
.child-cat .news-section-title {
	text-align: center;
	font-size: 10rem;
}

.child-cat .featured-articles {
	padding-top: 1rem;
}

.child-cat.light-theme .sidebar,
.child-cat.light-theme .featured-article .article-data-container,
.child-cat.light-theme .news-wrap article {
	background-color: var(--secondary-background-color);
}

.child-cat .sidebar:hover,
.child-cat .featured-article:hover .article-data-container,
.child-cat .news-wrap article:hover {
	background-color: var(--project-accent, currentColor);
}

.child-cat .sidebar,
.child-cat .featured-article .article-data-container,
.child-cat .news-wrap article {
	background: color-mix(in srgb, var(--project-accent) 50%, transparent);
}


.project-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 3rem;
	margin-bottom: 6rem;
}
.project-grid .project-card {
	flex: 1;
}


.archive-description  {
	margin-bottom:4rem;
}

.child-cat .archive-description  {
	margin: 5rem auto 5rem;
	max-width: 120rem;
}


.category-image-wrapper {
	margin-top: 5rem;
}
.category-image-wrapper img {
	width: 100%;
	height: auto;
}

/* Child categories grid for parent categories */
.child-categories-grid {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	margin: 3rem 0;
}

.child-category-card {
	display: block;
	margin-bottom: 2rem;
}

.child-category-card a {
	display: flex;
	flex-direction: column;
	text-decoration: none;
}

.child-category-card img {
	width: 100%;
	height: auto;
	border-radius: var(--border-radius-md);
	margin-top: 1rem;
	order: 1;
}

.child-category-card .title {
	text-align: left;
	margin: 0;
	order: 2;
}

.category-specials .title.news-section-title,
.category-special-projects .title.news-section-title {
	text-align: center;
	font-size: 5rem;
	line-height: 1;
	margin-top: 1rem;
	margin-bottom: 8rem;
}
.category-specials #breadcrumbs,
.category-special-projects #breadcrumbs {
	text-align: center;
}
.category-specials #breadcrumbs .breadcrumb_last,
.category-special-projects #breadcrumbs .breadcrumb_last {
	display: none;
}
.category-specials .child-category-card .title,
.category-special-projects .child-category-card .title {
	font-size: 3rem;
	text-align: center;
}

.category-specials .archive-description,
.category-special-projects .archive-description {
	text-align: center;
}




.category-gen-channel .archive-description,
.category-general-channel .archive-description {
	text-align: center;
	padding: 6rem 4rem;
	margin: 6rem 12rem;
	position: relative;
	border: 0.1rem solid var(--color-gray-border-medium);
}

.category-gen-channel .archive-description:before,
.category-general-channel .archive-description:before {
	content: '';
	display: block;
	position: absolute;
	left: -2.2rem;
	top: -2.2rem;
	width: 10rem;
	height: 10rem;
	background-image: url(img/g_light.svg);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left top;
}
.category-gen-channel .archive-description:after,
.category-general-channel .archive-description:after {
	content: '';
	display: block;
	position: absolute;
	right: -2rem;
	bottom: -4.8rem;
	width: 10rem;
	height: 10rem;
	background-image: url(img/ch_light.svg);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: right bottom;
}
.category-gen-channel.light-theme .archive-description:before,
.category-general-channel.light-theme .archive-description:before {
	content: '';
	display: block;
	position: absolute;
	left: -2.2rem;
	top: -2.2rem;
	width: 10rem;
	height: 10rem;
	background-image: url(img/g_dark.svg);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left top;
}
.category-gen-channel.light-theme .archive-description:after,
.category-general-channel.light-theme .archive-description:after {
	content: '';
	display: block;
	position: absolute;
	right: -2rem;
	bottom: -4.8rem;
	width: 10rem;
	height: 10rem;
	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 */

@media (max-width: 1300px) {
	.featured-content {
		display: flex;
		flex-direction: column;
	}
}


/* Tablets (up to 102.4rem) */
@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; /* Hide menu by default */
		flex-direction: column;
		position: absolute;
		top: 7rem;
		left: 1rem;
		width: calc(100% - 2rem);
		background: var(--secondary-background-color);
		padding: 1rem;
		box-shadow: 0 0.4rem 0.6rem var(--transparent-light-color);
		border-radius: var(--border-radius-md);
		z-index: 9999;
		border: 0.1rem solid;
		border-color: var(--light-color-alt);
	}
	.main-navigation li {
		margin: 0;
	}

	/* Show menu when activated */
	.main-navigation.active ul {
		display: flex;
	}

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

	/* Mobile submenu */
	.menu-item-has-children .sub-menu {
		display: none;
		position: static;
		background: var(--secondary-background-color);
		box-shadow: none;
		width: 100%;
		padding: 1rem 1.5rem;
		border: none;
	}

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

	/* Expandable nested items */
	.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: 1rem;
		flex-direction: column;
	}
	.sub-menu a::after {
		display: none;
	}
	.d-grid {
		display: flex;
		flex-direction: column;
	}
	.featured-articles-container {
		margin-top: 0;
		margin-bottom: 0rem;
	}
	.featured-articles {
		padding-block: 0rem;
		margin-top: 12rem;
	}
	.swiper-slide {
		width: 100% !important; /* Full-width card */
	}
	.search-popup-content {
		width: 100%;
	}
	.project-term-desc {
		width: 100%;
	}

	.project-term-desc {
		width: 100%;
	}
	.project-term-desc {
		width: 100%;
	}
	.child-cat .news-section-title {
		text-align: center;
		font-size: 4rem;
		line-height: 1;
	}
	.child-cat .featured-articles {
		padding-top: 0rem;
	}
	.category-gen-channel .archive-description,
	.category-general-channel .archive-description {
		padding: 3rem 3rem;
		margin: 8rem 3rem 0rem;
	}
	body.category:not(.light-theme),
	body.category.light-theme {
		background-size: 300%!important;
	}
	.news-sidebar-banners,
	.news-sidebar {
		flex-direction: column;
	}
	.sidebar-block {
		display: block;
		width: 100%;
	}
	.one-news {
		width: 100%;
        min-height: auto;
        display: block;
        flex: 1 1 calc(50% - 0rem) !important;
	}
	.tags {
		margin-bottom: 2rem;
	}
	.ml-form-embedWrapper {
		width: auto;
	}
	.author-details {
		width: 100%;
	}
	.blog-post-container {
		width: 100%;
	}
	.quick-read.section {
		overflow: hidden;
	}
}

/* Smartphones (up to 76.8rem) */
@media (max-width: 768px) {

	.subscribe-form-image {
		display: none;
	}
	.bookmark-popup {
		margin-top: 2.5rem;
		top: 4.5rem;
		left: 1rem;
		right: auto;
		width: calc(100% - 2rem);
	}
	.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 .one-news .news-text .entry-title {
		padding-bottom: 0;
	}
	.project-term-desc {
		width: 100%;
	}
	.category-specials .child-category-card .title,
.category-special-projects .child-category-card .title {
	font-size: 2rem;
	text-align: center;
}
}

/* Small screens (up to 48rem) */
@media (max-width: 480px) {

	.container.single-article .share-wrap {
		position: relative;
		flex-direction: row;
	}
	.container .single-article {
		padding: 0;
	}
	/* Mobile: last post takes full width */
	.news-wrap > article:nth-last-child(1):nth-child(odd) {
		flex: 1 1 100%;
		max-width: 100%;
	}

	.newsletter-category,
	.newsletter-img-single {
		display: none;
	}
	/* Banners: all posts full width on mobile */
	.news-sidebar-banners .news-wrap .insights,
	.news-sidebar-banners .news-wrap article {
		flex: 1 1 100%;
		max-width: 100%;
	}
	.wp-block-video.alignleft,
	.wp-block-video.alignright,
	.wp-block-embed.alignleft,
	.wp-block-embed.alignright {
		float: none;
		display: block;
		margin: 0 auto 2rem auto;
		max-width: 100%;
	}
	.post-tag {
		margin: 1rem 0.2rem 0;
	}

}

/* ==========================================================================
 * IMAGE LIGHTBOX MODAL
 * ========================================================================== */

.image-lightbox-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.95);
	z-index: 10000;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	box-sizing: border-box;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.image-lightbox-modal.active {
	display: flex;
	opacity: 1;
}

.image-lightbox-content {
	max-width: 95vw;
	max-height: 95vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.image-lightbox-content img {
	max-width: 100%;
	max-height: 90vh;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: var(--border-radius-md);
	box-shadow: 0 0 3rem rgba(255, 255, 255, 0.1);
	cursor: pointer;
	transition: opacity 0.2s;
}

.image-lightbox-content img:hover {
	opacity: 0.9;
}

.image-lightbox-caption {
	color: var(--light-color);
	font-size: var(--font-size-sm);
	margin-top: 2rem;
	text-align: center;
	opacity: 0.8;
	max-width: 80rem;
	padding: 0 2rem;
}

.image-lightbox-close {
	position: absolute;
	top: 2rem;
	right: 2rem;
	width: 3rem;
	height: 3rem;
	background-color: var(--transparent-dark-color);
	border: 0.2rem solid var(--light-color-alt);
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s;
	z-index: 10001;
}

.image-lightbox-close:hover {
	background-color: var(--light-color-alt);
	border-color: var(--light-color);
	transform: scale(1.1);
}

.image-lightbox-close::before,
.image-lightbox-close::after {
	content: '';
	position: absolute;
	width: 1.6rem;
	height: 0.2rem;
	background-color: var(--light-color);
	transform: rotate(45deg);
}

.image-lightbox-close::after {
	transform: rotate(-45deg);
}

/* Prevent body scroll when modal is open */
body.lightbox-open {
	overflow: hidden;
}




/*Page company table template*/
.company-table-wrapper{
	margin-top: 40px;
}
.company-table {
	display: flex;
	flex-direction: column;
	width: 100%;
	overflow-x: auto;
}

.company-row {
	display: flex;
	border-bottom: 1px solid var(--color-gray-border);
	padding: 10px 0;
}

#company-table-rows .company-row:last-child{
	border-bottom: none;
}
.company-row--header {
	font-weight: bold;
}
.company-row--header .company-col svg{
	width: 18px;
	height: 18px;
	margin-left: 7px;
}
.company-col {
	flex: 1;
	padding: 8px 12px;
	min-width: 70px;
	font-size: var(--font-size-nm);
	line-height: 1.4;
	align-items: center;
	display: flex;
	word-break: break-word;
}
.company-col a{
	text-decoration: none;
	color: rgb(230, 184, 0);
	position: relative;
}
.company-col a:after{
	content: "";
	position: absolute;
	left: 0px;
	bottom: -2px;
	width: 0px;
	height: 1px;
	background-color: rgb(230, 184, 0);
	transition: width 0.3s;
}
.company-col a:hover:after{
	width: 100%;
}
.company-col img {
	display: block;
	max-width: 60px;
	height: auto;
}

.company-page-content{
	margin-top: 10rem;
}



#company-filters {
	display: flex;
	flex-wrap: nowrap;
	gap: 12px;
	align-items: center;
	max-width: 100%;
	padding-bottom: 6px;
	overflow: visible;
}

#company-filters input::placeholder{
	font-family: inherit;
}
#company-filters input,
#company-filters select {
	flex-shrink: 1;
	width: 100%;
	outline: none;
	box-sizing: border-box;
	appearance: none;
	-webkit-appearance: none;
	position: relative;
	display: flex;
	height: calc(6.4rem * var(--pagefind-ui-scale));
	padding: 0 calc(7rem * var(--pagefind-ui-scale)) 0 calc(5.4rem * 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-sm);
	color: var(--light-color);

}

.search-wrap {
	position: relative;
	width: 100%;
	width: max-content;
}

.search-wrap::before {
	content: "";
	position: absolute;
	left: 12px;
	z-index: 2;
	top: 50%;
	transform: translateY(-50%);
	background-color: var(--light-color-alt);
	opacity: 0.6;
	width: calc(2.4rem * var(--pagefind-ui-scale));
	height: calc(2.4rem * var(--pagefind-ui-scale));
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' 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' 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;
	pointer-events: none;
}

#company-filters input:hover,
#company-filters select:hover {
	border-color: #999;
}


#company-filters input:focus,
#company-filters select:focus {
	border-color: var(--color-gray-border);
	box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
}


#company-filters .select-wrap {
	flex-shrink: 1;
	min-width: 120px;
	width: 100%;
	max-width: 220px;
	box-sizing: border-box;

	position: relative;
	display: inline-block;
}

#company-filters .choices {
	flex-shrink: 1;
	width: 100%;
	box-sizing: border-box;
}

#company-filters .choices__inner {
	width: 100%;
	outline: none;
	box-sizing: border-box;
	appearance: none;
	-webkit-appearance: none;
	position: relative;
	display: flex;
	height: calc(6.4rem * var(--pagefind-ui-scale));
	padding-inline: 12px;
	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-sm);
	color: var(--light-color);
	display: flex;
	align-items: center;
	padding-right: 24px;
}
#company-filters .choices__item {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
#company-filters  .choices__list--single{
	padding: 0px;
}

#company-filters .choices[data-type*="select-one"]::after {
	display: none !important;
}
#company-filters .choices__inner::after {
	content: ">";
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%) rotate(90deg);
	font-size: 16px;
	color: var(--light-color);
	pointer-events: none;
}
#company-filters .choices.is-open .choices__inner::after {
	transform: translateY(-50%) rotate(-90deg);
}


.choices__list--dropdown .choices__list, .choices__list[aria-expanded] .choices__list{
	background-color: var(--secondary-background-color);
	font-family: var(--font-family);
}

#company-filters .choices__list--dropdown {
	border-radius: var(--border-radius-md);
	border: 0.1rem solid var(--light-color-alt);
	box-shadow: 0 0 2rem var(--transparent-light-color);
}

#company-filters .choices__list--dropdown
.choices__item.is-highlighted {
	color: var(--secondary-background-color);
	background-color: var(--light-color);
}


/*#company-filters select {
!*	background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='12' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='2' fill='none'/%3E%3C/svg%3E");*!
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 12px 8px;

	padding-inline: 12px;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;

}*/


/*.select-wrap {
	position: relative;
	display: inline-block;
}

.select-wrap::after {
	content: '>';
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%) rotate(90deg);
	pointer-events: none;
	font-size: 2rem;
	color: var(--light-color);
}*/
/*

.select-wrap select {
	padding-right: 36px !important;
}
*/








@media (max-width: 1023px) {
	#company-filters .search-wrap ,
	#company-filters select {
		width: 100%;
		margin-bottom: 10px;
	}
	.company-row .company-col {
		display: none;
	}

	.company-row .company-col:nth-child(1) {
		display: block;
	}

	.company-row .company-col:nth-child(6) {
		display: block;
	}

	.company-row .company-col:nth-child(8) {
		display: block;
	}
	#company-filters{
		flex-direction: column;
	}
	#company-filters input, #company-filters select, #company-filters .select-wrap{
		max-width: unset;
		width: 100% !important;
	}
}

/*Swiper gallery fixes*/
.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption):before{
	-webkit-backdrop-filter: none;
	 backdrop-filter: none;
	 content: "";
	top: 1rem;
    right: 1rem;
    width: 3rem;
    height: 3rem;
	 -webkit-mask-image: none;
	 mask-image: none;
	 max-height: none;
	 bottom: unset;
	 left: unset;

}
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption{
	padding-bottom: 30px;
}

 .woocommerce-page .page-container{
	 width: 100%;
 }
 
 /**Home banner */
 
     .home-banner {
  padding: 60px 0;
}

.home-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.home-banner__content {
  flex: 1 1 50%;
  max-width: 600px;
}

.home-banner__image {
  flex: 1 1 50%;
  text-align: right;
}

.home-banner__image img {
  max-width: 100%;
  height: auto;
  display: block;
}

.home-banner__logo {
  margin-bottom: 20px;
  max-width: 200px;
}
.home-banner__logo img{
    width: 100%;
}
.home-banner__title {
  margin-bottom: 20px;
}

.home-banner__text {
  margin-bottom: 24px;
}

.home-banner__btn {
      border: 0.1rem solid var(--light-color);
    color: var(--light-color);
    padding: 0.5rem 1rem;
    display: inline-block;
    font-size: 1.5rem;
    text-decoration: none;
    border-radius: var(--border-radius-md);
}


@media (max-width: 768px) {
  .home-banner__inner {
    flex-direction: column;
    text-align: center;
  }

  .home-banner__content,
  .home-banner__image {
    max-width: 100%;
  }

  .home-banner__image {
    text-align: center;
  }
}
 
 
 
  /*membership*/
.pmpro_card{
	border: 0.1rem solid !important;
	border-color: var(--transparent-light-color) !important;
	border-radius: var(--border-radius-md) !important;
	padding: 2.5rem 2.5rem 0 !important;
	color: var(--light-color-alt) !important;
	background-color: var(--secondary-background-color) !important;
	box-shadow: 0 0 0.2rem var(--transparent-light-color) !important;
	font-family: var(--font-family);

}
.pmpro_card:hover{
	box-shadow: 0 0 2rem var(--transparent-light-color), 0 0 3rem var(--transparent-light-color) !important;
	border-color: var(--light-color) !important;
}
.pmpro_card h2 svg{
	display: none;
}
.pmpro_content_message .pmpro_card_title:before{
	content:"";
	width: 20px;
	height: 20px;
	background-color: var(--light-color-alt);
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19 10H20C20.5523 10 21 10.4477 21 11V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V11C3 10.4477 3.44772 10 4 10H5V9C5 5.13401 8.13401 2 12 2C15.866 2 19 5.13401 19 9V10ZM5 12V20H19V12H5ZM11 14H13V18H11V14ZM17 10V9C17 6.23858 14.7614 4 12 4C9.23858 4 7 6.23858 7 9V10H17Z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19 10H20C20.5523 10 21 10.4477 21 11V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V11C3 10.4477 3.44772 10 4 10H5V9C5 5.13401 8.13401 2 12 2C15.866 2 19 5.13401 19 9V10ZM5 12V20H19V12H5ZM11 14H13V18H11V14ZM17 10V9C17 6.23858 14.7614 4 12 4C9.23858 4 7 6.23858 7 9V10H17Z'/%3E%3C/svg%3E");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
}
.pmpro_card_title, .pmpro_card_content p {
	color: var(--light-color-alt) !important;
	font-style: normal !important;
	text-align: left;

}
.pmpro_btn{
	border: 0.1rem solid var(--light-color) !important;
	color: var(--light-color) !important;
	padding: 0.5rem 1rem !important;
	display: inline-block !important;
	font-size: 1.5rem !important;
	text-decoration: none !important;
	border-radius: var(--border-radius-md) !important;
	font-family: var(--font-family) !important;
	background: none !important;
	display: flex !important;
	align-items: center;
	width: max-content;
}
.pmpro_btn:after{
	content: none;
}


.pmpro_btn:hover {
	border-color: var(--light-color-alt) !important;
	background-color: var(--light-color-alt) !important;
	color: var(--primary-background-color) !important;
}


.pmpro a:not(.pmpro_btn) {
	color: #e6b800;
	position: relative;
	text-decoration: none;
}

.pmpro a:not(.pmpro_btn):after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 0;
	height: 1px;
	background-color: #e6b800;
	transition: width .3s;
}

.pmpro a:not(.pmpro_btn):hover:after {
	width: 100%;
}

.pmpro_icon.pmpro_icon-eye path{
	fill:var(--light-color-alt);
}
.pmpro_section h2, .pmpro_section p{
	color: var(--light-color-alt) !important;
}

.pmpro_table.pmpro_table_orders,
.pmpro_table.pmpro_table_orders *,
.pmpro_table,
.pmpro_table tbody th, .pmpro_table tbody td, .pmpro_table tfoot td, .pmpro_table thead th{
	background-color: transparent !important;
}
.pmpro_tag{
	color: var(--light-color-alt) !important;
	background: transparent;
}
.pmpro_card_actions{
        background-color: transparent !important;

}
.pmpro_form_field-file-actions{
    display: flex;
    flex-wrap: wrap;
}

.pmpro_card_content + .pmpro_card_actions{
            border-top: 1px solid var(--light-color) !important;
}


/* 1. Базовые стили (одинаковые для всех) */
#user_avatar {
    background: transparent;
    padding: 0px;
    color: var(--light-color);
    border: none;
}

#user_avatar::-webkit-file-upload-button {
    display: none;
}

#user_avatar::before {
    display: inline-block;
border: 0.1rem solid var(--light-color);
    color: var(--light-color);
    padding: 0.5rem 1rem;
    display: inline-block;
    font-size: 1.5rem;
    text-decoration: none;
    border-radius: var(--border-radius-md);
    visibility: visible;
    cursor: pointer;
    margin-right: 10px;
}

/* 2. Текст для украинской версии */
html[lang*="uk"] #user_avatar::before {
    content: 'Оновити фото';
}

/* 3. Текст для английской версии */
html[lang*="en"] #user_avatar::before {
    content: 'Update Photo';
}