html, body {
	/* font-family: "Inter", sans-serif; */
	/* font-family: "Fixel", sans-serif; */
	font-family: "Montserrat", sans-serif;
	font-optical-sizing: auto;
  	font-style: normal;
    font-size: 18px;
	font-weight: 400;
    line-height: 1.4;
	color: var(--txt-color-1);
    /* overflow-x:hidden; */
}

h1, h2, h3, h4, h5, h6 {
	margin-top: 0;
    margin-bottom: 1em;
	margin-left: auto;
	margin-right: auto;
    line-height: 1.2;
    color: inherit;
	max-width: var(--max-txt-width);
	text-align: inherit;
}

/* Ієрархія заголовків  */

h1 { font-size: 2.25rem; }
h2 { font-size: 2.25rem; }

h1, h2 {
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .02em;
}

h2:after {
	content: '';
	display: block;
	max-width: 320px;
	height: 6px;
	margin-left: auto;
	margin-right: auto;
	margin-top: .35em;
	margin-bottom: .35em;
	background-color: var(--logo-color);
}

.no-line h2 {
	text-transform: none;
	letter-spacing: 0.01em;
}

.no-line h2:after {
	display: none;
	visibility: hidden;
	height:0;
}

h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: .5em; }
h4 { font-size: 1.15rem; font-weight: 700; }
h5 { font-size: 1rem; font-weight: 700; }

p, .dscr, .ce_text ul { 
    margin-bottom: 0.75em;	/* Відступ після абзаців */
    /* font-variation-settings: "wght" 400; */
    font-weight: 400;
	max-width: var(--max-txt-width);
	margin-left: auto;
	margin-right: auto;
}

p:last-child,
p:last-of-type { 
    margin-bottom: 0;
}

a {
    background-color: transparent;
    text-decoration: none;
    color: #aaa;
}

b,
strong {
	font-variation-settings: "wght" 700;
    font-weight: 700;
}

.orange {
	color: var(--logo-color);
}

.lined h3 {
	border-bottom-width: 2px;
	border-bottom-style: solid;
	padding-bottom: .75em;
}
  
img {
    border-style: none;
}

figure img {
	display:block;
	max-width:100%;
}

figure a {
	display: block;
	width:100%;
}

.relative {
	position: relative;
}

.absoulute-top-right {
	position: absolute;
	top: 0;
	right:0;
}

a {
    text-decoration: none;  /* Відключаємо стандартне підкреслення */
    color: #9a1b36;  /* Початковий колір тексту посилання */
}

a:hover {
    text-decoration: underline;  /* Відключаємо стандартне підкреслення */
}

.padding-top-45h {
	padding-top: 45vh;
}

.padding-top-45h h2 {
	margin-bottom: .5em;
}

.padding-top-45h .ce_text ul li {
	
}

.bottom-min {
	padding-bottom: 0;
}

.top-min {
	padding-top: 0;
}

audio::-webkit-media-controls-play-button,
     audio::-webkit-media-controls-panel {
     background-color: var(--logo-color);
     color: #000;
}

audio[playing-audio] .tab-content {
   background-color: var(--logo-color) !important;
   color: #000;
}

audio {
	margin-top: .75em;
	margin-bottom: .75em;
	filter: drop-shadow(2px 2px 4px#777);
}

#top #main .mod_article > .line {
	max-width: var(--max-txt-width);
	margin-top: 1em;
	margin-bottom: 1em;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
	overflow: hidden;
	opacity: .4;
}

#top #main .mod_article > .line.gray {
	opacity: .4;
}

.line:before,
.line:after {
	content: '';
	width: 200px;
	max-width:30%;
	height: 2px;
	background-color: #fff;
}

.line.gray:before,
.line.gray:after {
	background-color: #ccc;
}

.button a {
	display: block;
	color: var(--txt-color-1);
	border-radius: var(--border-radius);
	background-color: var(--logo-color);
	/* filter: drop-shadow(2px 2px 5px#000); */
	padding: .5em 1.5em;
	font-size: 1rem;
	line-height: 1.05;
	margin-top: 2em;
	margin-bottom: 2em;
	margin-left: auto;
	margin-right: auto;
	max-width: var(--button-max-width);
	text-decoration: none;
	font-weight: 600;
	letter-spacing: .01em;
}

.button.w50 ul {
	display: flex;
	justify-content: center;
	align-items: center;
	align-content: center;
	gap: 20px;
}

.button.w50 ul a {
	font-size: .85rem;
	line-height: 1.05;
	max-width: none;
}

.margin-1 {
	margin-bottom: 1em;
}

.margin-2 {
	margin-bottom: 2em;
}

.shadow {
	filter: drop-shadow(2px 2px 5px rgba(0,0,0, .3));
}

.button a:hover {
	background-color: var(--lnk-color-2);
}

.center {
	text-align: center;
}

.ce_gallery.center ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	align-content: center;
	gap: 25px;
	max-width: var(--max-txt-width);
	margin-left: auto;
	margin-right: auto;
}

.ce_gallery.center ul li {
	flex-basis: 45%;
}

.org .ce_gallery.center ul li {
	flex-basis: 30%;
}

.org .ce_gallery.center ul li img {
	max-width: 120px;
}

.org .ce_gallery.center ul li:last-child img {
	max-width: 100px;
}

.org .ce_gallery.center ul li:first-child img {
	min-width: 180px;
	max-width: 200px;
}

#footer .ce_text p {
	font-size: .85rem;
	font-weight: 500;
	color: #bfbab4;
}

#footer .ce_gallery.center ul {
	display: flex;
	justify-content: center;
	align-items: center;
	align-content: center;
	gap: 25px;
}

#footer .ce_gallery.center ul li {
	flex-basis: 40px;
	margin-top: 1.5em;
}

#footer .ce_gallery.center ul li img {
	max-width: 44px;
}

a {
	transition: all .3s ease;
}

.button a:hover {
		transform: scale(1.03);
}

.ce_gallery a:hover {
	filter: drop-shadow(2px 2px 5px rgba(255,255,255,.4));
	transform: scale(1.05);
}

.button a:active,
.ce_gallery a:active {
	transform: scale(.95);
}

.dark {
	color: var(--txt-color-1);
}

.light {
	color: var(--txt-color-2);
}

.ce_text ul li {
	background-image: url("../img/bullet.svg");
	background-repeat: no-repeat;
	background-position: -15px 12px;
	background-size: 45px;
	padding-left: 25px;
	padding-top: 20px;
	margin-bottom: .25em;
}

.ce_text.cols-2 ul {
	font-size: 1rem;
	font-weight: 400;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: flex-start;
	align-content: center;
	column-gap: 45px;
	max-height: 10em;
	max-width: var(--max-txt-width);
	margin-top: 1em;
}

#top .ce_text.cols-2 ul li {
	background: transparent;
	max-width: 50%;
	padding: .15em 0 .15em 0;
	margin: 0;
	/* flex-basis: 50%; */
}

@media screen and (max-width: 640px) {

	.org .ce_gallery.center ul li {
		flex-basis: 45%;
	}

	.org .ce_gallery.center ul li:first-child {
		flex-basis: 75%;
	}
}

@media screen and (max-width: 560px) {
	
	#top .ce_text.cols-2 ul {
		font-size: .8rem;
		column-gap: 8px;
		max-height: 10em;
	}
}

@media screen and (max-width: 385px) {

	#top .ce_text.cols-2 ul li {
		max-width: 100%;
	}

	.org .ce_gallery.center ul li {
		flex-basis: 100%;
		max-width: 100%;
	}
	
	#top .ce_text.cols-2 ul {
		max-height: none;
	}
}

.rounded figure {
	border-radius: 16px;
	overflow: hidden;	
}

.full-height {
    min-height: 100dvh;
    display: flex;
    padding-bottom: 7dvh;
}

.align-bottom {
	flex-direction: column;
	justify-content: flex-end;
}

.bg-darker {
    background-color: rgba(0,0,0,.5);
    background-blend-mode: multiply;
}

.bg-light {
    background-color: rgba(240,240,240,.9);
}

.bg-gray {
    background-color: rgba(210,210,210,1);
}

.align-bottom {
    width: 100%;
    margin-top: auto;
}

.center img {
    margin-left: auto;
    margin-right: auto;
}

.social-links {
	display: flex;
	align-items: center;
}

.relative {
	position: relative;
}

#top .mod_article > .fullscreen-video-bg {
    display:flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    overflow: hidden;
	max-width: none;
	padding: 0;
	z-index: -1;
}

.fullscreen-video-bg .video_container,
.fullscreen-video-bg video {
    margin: auto;
	min-width: 100%;
	min-height: 100dvh;
}

#top .mod_article > .fullscreen-bg {
    display:flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100dvh;
    overflow: hidden;
	max-width: none;
	padding: 0;
	z-index: -1;
}

.fullscreen-bg figure,
.fullscreen-bg img {
    margin: auto;
	min-width: 100%;
	min-height: 100dvh;
	object-fit: cover;
}

@media screen and (max-aspect-ratio: 16/9) {

	.fullscreen-bg figure,
	.fullscreen-bg img,
	.fullscreen-video-bg .video_container,
	.fullscreen-video-bg video {
		max-height: 100dvh;
		min-width: auto;
	}	
}

/* Брейкпойнти */

@media screen and (max-width: 960px) {
	h1 { font-size: 2.25rem; }
	h2 { font-size: 2rem; }
}