/* ============================================= */
/* =================== Fonts =================== */
/* ============================================= */

@font-face {
	font-family: "Oswald";
	src: url("./fonts/Oswald.eot");
	src: url("./fonts/Oswald.woff2") format("woff2"),
	url("./fonts/Oswald.eot?#iefix") format("embedded-opentype"),
	url("./fonts/Oswald.woff") format("woff"),
	url("./fonts/Oswald.ttf") format("truetype"),
	url("./fonts/Oswald.svg#Oswald") format("svg");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Nunito';
	src: url('./fonts/Nunito-Regular.eot');
	src: url('./fonts/Nunito-Regular.eot?#iefix') format('embedded-opentype'),
	url('./fonts/Nunito-Regular.woff2') format('woff2'),
	url('./fonts/Nunito-Regular.woff') format('woff'),
	url('./fonts/Nunito-Regular.ttf') format('truetype'),
	url('./fonts/Nunito-Regular.svg#Nunito-Regular') format('svg');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Nunito';
	src: url('./fonts/Nunito-Bold.eot');
	src: url('./fonts/Nunito-Bold.eot?#iefix') format('embedded-opentype'),
	url('./fonts/Nunito-Bold.woff2') format('woff2'),
	url('./fonts/Nunito-Bold.woff') format('woff'),
	url('./fonts/Nunito-Bold.ttf') format('truetype'),
	url('./fonts/Nunito-Bold.svg#Nunito-Bold') format('svg');
	font-weight: bold;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Nunito';
	src: url('./fonts/Nunito-BoldItalic.eot');
	src: url('./fonts/Nunito-BoldItalic.eot?#iefix') format('embedded-opentype'),
	url('./fonts/Nunito-BoldItalic.woff2') format('woff2'),
	url('./fonts/Nunito-BoldItalic.woff') format('woff'),
	url('./fonts/Nunito-BoldItalic.ttf') format('truetype'),
	url('./fonts/Nunito-BoldItalic.svg#Nunito-BoldItalic') format('svg');
	font-weight: bold;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'Nunito';
	src: url('./fonts/Nunito-Italic.eot');
	src: url('./fonts/Nunito-Italic.eot?#iefix') format('embedded-opentype'),
	url('./fonts/Nunito-Italic.woff2') format('woff2'),
	url('./fonts/Nunito-Italic.woff') format('woff'),
	url('./fonts/Nunito-Italic.ttf') format('truetype'),
	url('./fonts/Nunito-Italic.svg#Nunito-Italic') format('svg');
	font-weight: normal;
	font-style: italic;
	font-display: swap;
}

/* ============================================= */
/* =============== Reset styles ================ */
/* ============================================= */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
	box-sizing: border-box;
}

:focus {
	outline: 0;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1.5;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration,
input[type=search]::-webkit-search-results-button,
input[type=search]::-webkit-search-results-decoration {
	-webkit-appearance: none;
	-moz-appearance: none;
}

input[type=search] {
	-webkit-appearance: none;
	-moz-appearance: none;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}

textarea {
	overflow: auto;
	vertical-align: top;
	resize: none;
}

audio,
canvas,
video {
	display: inline-block;
	*display: inline;
	*zoom: 1;
	width: 100%;
	max-width: 100%;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden] {
	display: none;
}

html {
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

a:focus {
	outline: thin dotted;
}

a:active,
a:hover {
	outline: 0;
}

img {
	border: 0;
	-ms-interpolation-mode: bicubic;
}

figure {
	margin: 0;
}

form {
	margin: 0;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
	white-space: normal;
	*margin-left: -7px;
}

button,
input,
select,
textarea {
	font-size: 100%;
	margin: 0;
	vertical-align: baseline;
	*vertical-align: middle;
}

button,
input {
	line-height: normal;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
	*overflow: visible;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
	*height: 13px;
	*width: 13px;
}

input[type="search"] {
	-webkit-appearance: textfield;
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box;
	box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
	vertical-align: top;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

html,
button,
input,
select,
textarea {
	color: #222;
}


::-moz-selection {
	background: var(--palette-4);
	text-shadow: none;
}

::selection {
	background: var(--palette-4);
	text-shadow: none;
}

img {
	vertical-align: middle;
}

fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

textarea {
	resize: none;
}

.chromeframe {
	margin: 0.2em 0;
	background: #ccc;
	color: #000;
	padding: 0.2em 0;
}

/* ============================================= */
/* =============== Global styles =============== */
/* ============================================= */

:root {
	--heading-font: 'Oswald';
	--common-font: 'Nunito';
}

html {
	font-family: var(--common-font), sans-serif;
	font-size: 16px;
	color: var(--palette-2);
	background: var(--palette-7);
	scroll-behavior: smooth;
}

html.darkmode {
	color: var(--palette-7);
	background: var(--palette-1);
}

@media (min-width: 992px) {
	html {
		font-size: 18px;
	}
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--heading-font), sans-serif;
	line-height: 1.2em;
	margin-top: 0.5em;
	font-weight: 400;
}

h1 {
	font-size: 1.802rem;
}

@media (min-width: 992px) {
	h1 {
		font-size: 2.488rem;
	}
}

h2 {
	font-size: 1.602rem;
}

@media (min-width: 992px) {
	h2 {
		font-size: 2.074rem;
	}
}

h3 {
	font-size: 1.424rem;
}

@media (min-width: 992px) {
	h3 {
		font-size: 1.728rem;
	}
}

h4 {
	font-size: 1.266rem;
}

@media (min-width: 992px) {
	h4 {
		font-size: 1.44rem;
	}
}

h5 {
	font-size: 1.125rem;
}

@media (min-width: 992px) {
	h5 {
		font-size: 1.2rem;
	}
}

a {
	color: var(--palette-3);
	text-decoration: none;
	transition-duration: 0.3s;
}

a:hover {
	color: var(--palette-4);
	text-decoration: none;
}

.darkmode a {
	color: var(--palette-5);
}

.darkmode a:hover {
	color: var(--palette-4);
}

small {
	font-size: 80%;
}

#toTop {
	position: fixed;
	bottom: 1rem;
	right: 1rem;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transition: opacity .25s ease, visibility .25s ease;
}
#toTop.is-visible {
	opacity: 1;
	visibility: visible;
}

.container {
	width: 100%;
	padding: 1rem;
	margin: 0 auto;
	overflow: hidden;
}

@media (min-width: 576px) {
	.container {
		max-width: 540px;
	}
}

@media (min-width: 768px) {
	.container {
		max-width: 720px;
	}
}

@media (min-width: 992px) {
	.container {
		max-width: 960px;
	}
}

@media (min-width: 1200px) {
	.container {
		max-width: 1170px;
	}
}

.container-fluid {
	width: 100%;
	padding: 1rem;
}

/* ============================================= */
/* =============== Header styles =============== */
/* ============================================= */

.top_panel {
	display: none;
}

@media (min-width: 576px) {
	.top_panel {
		display: block;
		padding: 0.5rem 0;
		background: var(--palette-2);
	}

	.top_panel a {
		text-decoration: none;
		color: var(--palette-6);
	}

	.top_panel a:hover {
		color: var(--palette-7);
	}
}

.top_panel .container {
	align-items: center;
	display: flex;
	flex-flow: row nowrap;
	font-size: 0.78rem;
	gap: 2rem;
	justify-content: space-between;
	padding: 0 1rem;
}

.top_panel .container .top_phone {
	display: none;
}

@media (min-width: 768px) {
	.top_panel .container .top_phone {
		display: block;
	}
}

.top_panel .container .top_social {
	display: block;
	margin-left: auto;
}

.top_panel .container .top_social a {
	margin-left: 0.3rem;
}

.social-icon {
	display: inline-block;
	width: 1em;
	height: 1em;
	vertical-align: -0.125em;
	fill: currentColor;
}


.site-header {
	display: flex;
	flex-flow: column nowrap;
	gap: 0.5rem;
	justify-content: center;
	width: 100%;
	z-index: 1;
}

@media (min-width: 992px) {
	.site-header {
		flex-flow: row nowrap;
		justify-content: space-between;
		align-items: center;
	}
}

.site-header.site-header-search {
	background: var(--palette-2);
}

.darkmode .site-header.site-header-search {
	background: var(--palette-1);
}

.site-header .site-branding {
	width: 13.44rem;
}

@media (min-width: 576px) {
	.site-header .site-branding {
		margin: 0 auto;
	}
}

@media (min-width: 768px) {
	.site-header .site-branding {
		width: 15rem;
	}
}

@media (min-width: 992px) {
	.site-header .site-branding {
		margin: 0.4rem 0 0;
	}
}

.site-header .site-branding svg {
	display: block;
	float: left;
	margin-right: 0.5rem;
	width: 2.5rem;
	height: 2.5rem;
}

@media (min-width: 768px) {
	.site-header .site-branding svg {
		width: 2.78rem;
		height: 2.78rem;
	}
}

.site-header .site-title {
	font-family: var(--heading-font), sans-serif;
	font-size: 1.75rem;
	line-height: 0.9;
}

@media (min-width: 768px) {
	.site-header .site-title {
		font-size: 2rem;
	}
}

.darkmode .site-header .site-title {
	color: var(--palette-7);
}

.site-header .site-description {
	font-family: var(--common-font), sans-serif;
	font-size: 0.6rem;
	line-height: 2;
}

@media (min-width: 768px) {
	.site-header .site-description {
		font-size: 0.69rem;
	}
}

.darkmode .site-header .site-description {
	color: var(--palette-7);
}

@media (min-width: 992px) {
	.site-header .main-navigation {
		display: flex;
		flex-flow: row nowrap;
		align-items: center;
		gap: 1rem;
	}
}

.site-header .main-navigation ul {
	background: var(--palette-6);
	border-radius: 0.5rem;
	padding: 0.5rem;
	text-align: center;
}

@media (min-width: 992px) {
	.site-header .main-navigation ul {
		background: unset;
		border-radius: unset;
		padding: unset;
	}
}

.darkmode .site-header .main-navigation ul {
	background: var(--palette-1);
}

@media (min-width: 992px) {
	.darkmode .site-header .main-navigation ul {
		background: unset;
	}
}

.site-header .main-navigation ul li {
	display: inline-block;
}

.site-header .main-navigation ul li a {
	color: var(--palette-2);
	padding: 0.3rem;
	border-radius: 0.3rem;
	font-family: var(--common-font), sans-serif;
	font-size: 0.9rem;
	text-decoration: none;
}

@media (min-width: 992px) {
	.site-header .main-navigation ul li a {
		padding: 0 0.3rem;
		transition-duration: 0.3s;
	}
}

.darkmode .site-header .main-navigation ul li a {
	color: var(--palette-7);
}

.site-header .main-navigation ul li a:hover {
	color: var(--palette-7);
	background: var(--palette-2);
	padding: 0.3rem;
}

@media (min-width: 992px) {
	.site-header .main-navigation ul li a:hover {
		padding: 0.7rem 0.3rem;
	}
}

.darkmode .site-header .main-navigation ul li a:hover {
	color: var(--palette-2);
	background: var(--palette-7);
}

/* ============================================= */
/* ============== Categories menu ============== */
/* ============================================= */

p.category-label {
	display: block;
	position: absolute;
	z-index: 150;
	top: 0;
	margin-top: -5.5rem;
	left: calc(50% - 8rem);
	width: 16rem;
	height: 1.7rem;
	padding: 1rem;
	text-align: center;
	text-transform: uppercase;
	font-family: var(--heading-font), sans-serif;
	font-size: 1.5rem;
	color: var(--palette-6);
	transition-duration: 1s;
}

body.menu-opened p.category-label {
	margin-top: 0;
}

/* Кнопка-бургер */
.menu-trigger {
	z-index: 150;
	display: block;
	cursor: pointer;
	position: absolute;
	top: 1rem;
	right: 1rem;
	width: 2.5rem;
	height: 2.5rem;
}

@media (min-width: 576px) {
	.menu-trigger {
		top: 3rem;
	}
}

@media (min-width: 992px) {
	.menu-trigger {
		position: relative;
		top: 0;
		right: 0;
	}
}

.menu-trigger:after {
	content: none;
}

.menu-trigger span {
	position: absolute;
	top: 50%;
	left: 0;
	display: block;
	width: 100%;
	height: 8%;
	font-size: 0;
	transition-duration: 0.3s;
	background-color: var(--palette-2);
}

.darkmode .menu-trigger span {
	background-color: var(--palette-7);
}

.menu-trigger span:before, .menu-trigger span:after {
	position: absolute;
	left: 0;
	width: 100%;
	height: 100%;
	content: '';
	transition-duration: 0.3s;
	background-color: var(--palette-2);
}

.darkmode .menu-trigger span {
	background-color: var(--palette-7);
}

.darkmode .menu-trigger span:before, .darkmode .menu-trigger span:after {
	background-color: var(--palette-7);
}

.menu-trigger span:before {
	transform: translateY(-250%);
}

.menu-trigger span:after {
	transform: translateY(250%);
}

body.menu-opened {


	#menu-widget .menu-container {
		z-index: 145;
		left: 0;
	}

	#footer {
		display: none;
	}
}

body.menu-opened #page {
	height: 0;
}

body.menu-opened .menu-trigger span {
	background-color: var(--palette-7);
}

body.menu-opened .menu-trigger span:before, body.menu-opened .menu-trigger span:after {
	background-color: var(--palette-7);
}

body.menu-opened .menu-trigger span:before {
	transform: translateY(-350%);
}

body.menu-opened .menu-trigger span:after {
	transform: translateY(350%);
}

/* Батьківське меню */
.menu-container {
	text-align: left;
	z-index: 145;
	transition-duration: 0.3s;
	position: absolute;
	top: 0;
	left: -100vw;
	width: 100%;
}

.menu-container > ul {
	left: 100vw;
	overflow: hidden;
	padding: 3.3rem 0 0;
	position: absolute;
	top: 0;
	transition-duration: 0.5s;
	width: 0;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-content: center;
	align-items: center;
	flex-wrap: wrap;
	background-color: var(--palette-1);
	line-height: 2;
}

body.menu-opened #menu-widget .menu-container > ul {
	left: 0;
	min-height: 100vh;
	padding: 3.3rem calc((100vw - 20rem) / 2) 0;
	width: 100%;
}

@media (min-width: 768px) {
	body.menu-opened #menu-widget .menu-container > ul {
		padding: 3.3rem 0 0;
	}
}

@media (min-width: 920px) {
	body.menu-opened #menu-widget .menu-container > ul {
		padding: 3.3rem calc((100vw - 45rem) / 2) 0;
	}
}

@media (min-width: 1230px) {
	body.menu-opened #menu-widget .menu-container > ul {
		padding: 3.3rem calc((100vw - 70rem) / 2) 0;
	}
}

.menu-container > ul > li {
	display: block;
	width: 18.75rem;
	min-width: 18.75rem;
	margin: 0.75rem;
	padding: 1rem 2rem;
	/*background: darken($main-color, 12%);*/
	background: color-mix(in srgb, var(--palette-1) 88%, black);
	border-radius: 0.3rem;
	height: 14rem;
}

.menu-container a:hover {
	color: var(--palette-4);
}

.menu-container > ul > li a {
	color: var(--palette-6);
	font-weight: bold;
	text-transform: uppercase;
	text-decoration: none;
	/*border-bottom: darken($main-color, 6%) 2px solid;*/
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: color-mix(in srgb, var(--palette-1) 94%, white);
}

/* Дочірнє меню */
.menu-container > ul li ul {
	overflow: hidden;
}

.menu-container > ul li ul > li {
	overflow: hidden;
	margin-left: 2rem;
}

.menu-container > ul li ul > li > a {
	display: block;
	width: 100%;
	height: 100%;
}

/* Hero block */
.hero-wrapper {
	background: var(--main-color);
	position: relative;
	overflow: hidden;
}

.hero {
	overflow: hidden;
	position: relative;
	width: 100%;
	padding: 0;
}

@media (min-width: 576px) {
	.hero {
		padding: 0 1rem;
	}
}

.hero-background {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	position: relative;
	width: 100%;
	height: auto;
	aspect-ratio: 1200/630;
	/*border-radius: 2rem 2rem 0 0;*/
	overflow: hidden;
	object-fit: cover;
}

@media (min-width: 576px) {
	.hero-background {
		mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
		mask-repeat: no-repeat;
	}
}

.hero-background:after {
	position: absolute;
	display: block;
	content: '';
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.35);
	mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
	mask-repeat: no-repeat;
}

@media (min-width: 576px) {
	.hero-background:after {
		mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
		mask-repeat: no-repeat;
	}
}

.hero-wrapper svg {
	position: absolute;
	display: block;
	content: '';
	bottom: -1px;
	left: 0;
	right: 0;
	width: 100%;
	height: auto;
	padding: 0;
	pointer-events: none;
}

.hero-wrapper svg .path-1 {
	display: inline;
	fill: var(--palette-7);
	stroke-width: 0.387718;
}

.darkmode .hero-wrapper svg .path-1 {
	fill: var(--palette-1);
}

.hero-wrapper svg .path-2 {
	display: inline;
	fill: var(--palette-3);
	stroke-width: 0.387758;
}

.darkmode .hero-wrapper svg .path-2 {
	fill: var(--palette-5);
}

.hero .overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

/*.hero .overlay:after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    display: block;*/
/*    width: 25%;*/
/*    height: 60%;*/
/*    !*aspect-ratio: 1/1;*!*/
/*    bottom: 0;*/
/*    right: 10%;*/
/*    background: url("/templates/ivaniura-2025/mascotte2.png") bottom center no-repeat;*/
/*    background-size: contain;*/
/*    z-index: 1;*/
/*}*/

.mascotte {
	position: absolute;
	display: block;
	width: 25%;
	height: auto;
	aspect-ratio: 48/55;
	bottom: 0.2rem;
	right: 10%;
	z-index: 1;
}

/* White backdrop for the ring — a plain circle again (same geometry the
   single :before used to have before this was split in two), not the
   full .mascotte box, so it stays confined to the round frame instead of
   showing as a rectangle behind the head/hair area above it. */
.mascotte:before {
	content: '';
	background: #fff;
	display: block;
	position: absolute;
	width: 100%;
	height: auto;
	aspect-ratio: 1/1;
	bottom: 0;
	z-index: -2;
	border-radius: 50%;
	box-shadow: 1px 1px 10px -5px rgba(0, 0, 0, 0.75);
}

/* The visible ring: a palette-4 circle matching :before's own geometry
   (full width, 1:1 aspect, bottom-anchored), but sized with percentage
   padding instead of a fixed-px border so the ring's thickness always
   stays proportional to the circle itself — a fixed px border shrinks
   the mascot image but not itself on narrow screens, eating into the
   character; percentage padding scales with both at once. background-clip
   leaves the padding band unpainted, so :before's white shows through
   it as the ring — the mascot image is cropped with a matching 10px (of
   550 total height) inset from the bottom/sides to the circle, see
   Media::storeMainImage's mascot cropper.

   max(2px, ...): on narrow screens the percentage alone resolves to
   well under 1 physical pixel (.mascotte is only ~76-90px wide around
   320-375px viewports), so the ring anti-aliased into near-invisibility
   instead of scaling down smoothly — confirmed by scanning rendered
   pixels: nothing crossed a "this pixel is white" threshold from
   1.818% up through 1.87%, then two pixels appeared at once past 1.89%,
   i.e. a hard pop from invisible to fully-there rather than a gradual
   change. The 2px floor keeps the ring reliably visible at tiny sizes;
   the percentage already exceeds 2px past roughly 110px of .mascotte
   width (~992px viewport and up), so it takes over smoothly there. */
.mascotte:after {
	content: '';
	background: var(--palette-4);
	background-clip: content-box;
	display: block;
	position: absolute;
	width: 100%;
	height: auto;
	aspect-ratio: 1/1;
	bottom: 0;
	z-index: -1;
	padding: max(2px, 1.81818181818%);
	border-radius: 50%;
	box-sizing: border-box;
}

/*Snow*/
/*.mascotte:after {
    content: "";
    position: absolute;
    top: 30%;
    left: 30%;
    width: 150%;
    height: 150%;
    background-image:
            radial-gradient(circle at 20% 30%, var(--palette-5) 4px, transparent 2.5px),
            radial-gradient(circle at 70% 60%, var(--palette-5) 1.5px, transparent 2.5px),
            radial-gradient(circle at 40% 80%, var(--palette-5) 3.5px, transparent 2.5px),
            radial-gradient(circle at 90% 20%, var(--palette-5) 2.5px, transparent 2.5px);
    background-repeat: repeat;
    background-size: 60px 60px;
    animation: rotate-dots 90s linear infinite;
    opacity: 0.3;
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

@keyframes rotate-dots {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}*/

/*Lines 1*/
/*.mascotte:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            linear-gradient(to right, var(--palette-4) 20%, transparent 20%),
            linear-gradient(to left, var(--palette-4) 20%, transparent 20%),
            linear-gradient(45deg, var(--palette-4) 10%, transparent 10%),
            linear-gradient(-45deg, var(--palette-4) 10%, transparent 10%);
    background-size: 50% 100%, 50% 100%, 20px 20px, 20px 20px;
    animation: wave-effect 6s infinite ease-in-out;
    opacity: 0.3;
    z-index: -2;
    pointer-events: none;
}

@keyframes wave-effect {
    0% {
        background-position: 0 0, 100% 0, 0 0, 100% 0;
    }
    50% {
        background-position: 100% 0, 0 0, 100% 100%, 0 100%;
    }
    100% {
        background-position: 0 0, 100% 0, 0 0, 100% 0;
    }
}*/

/*Lines 2*/
/*.mascotte:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            linear-gradient(to right, var(--palette-4) 15%, transparent 15%),
            linear-gradient(to left, var(--palette-4) 15%, transparent 15%),
            linear-gradient(45deg, var(--palette-4) 8%, transparent 8%),
            linear-gradient(-45deg, var(--palette-4) 8%, transparent 8%),
            linear-gradient(to right, var(--palette-5) 10%, transparent 10%),
            linear-gradient(to left, var(--palette-5) 10%, transparent 10%),
            linear-gradient(30deg, var(--palette-6) 6%, transparent 6%),
            linear-gradient(-30deg, var(--palette-6) 6%, transparent 6%);
    background-size: 50% 100%, 50% 100%, 20px 20px, 20px 20px, 30px 30px, 30px 30px, 25px 25px, 25px 25px;
    animation: wave-effect 30s infinite ease-in-out;
    opacity: 0.3;
    z-index: -2;
    pointer-events: none;
}

@keyframes wave-effect {
    0% {
        background-position: 0 0, 100% 0, 0 0, 100% 0, 0 0, 100% 0, 0 0, 100% 0;
    }
    50% {
        background-position: 100% 0, 0 0, 100% 100%, 0 100%, 100% 0, 0 100%, 100% 50%, 0 50%;
    }
    100% {
        background-position: 0 0, 100% 0, 0 0, 100% 0, 0 0, 100% 0, 0 0, 100% 0;
    }
}*/

.mascotte img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: bottom;
}

.hero .overlay > div {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.page-title {
	font-size: 2rem;
	max-width: 65%;
	color: var(--palette-7);
	text-shadow: 1px -1px 2px var(--palette-2);
}

@media (min-width: 576px) {
	.page-title {
		padding: 0 1rem;
	}
}

@media (min-width: 768px) {
	.page-title {
		font-size: 2.2rem;
		padding: 0 1rem;
	}
}

@media (min-width: 992px) {
	.page-title {
		font-size: 3rem;
		padding: 0 2rem;
	}
}

.overlay .page-description {
	display: none;
}

@media (min-width: 992px) {
	.overlay .page-description {
		display: block;
		max-width: 600px;
		color: white;
		margin-top: 2rem;
		padding: 0 2rem;
		text-shadow: 1px -1px 2px var(--palette-2);
	}
}

.search {
	position: absolute;
	top: 1.7rem;
	right: 4.2rem;
	font-size: 1.3rem;
	color: var(--palette-2);
}

@media (min-width: 576px) {
	.search {
		top: 3.7rem;
	}
}

@media (min-width: 992px) {
	.search {
		top: unset;
		right: unset;
		position: relative;
		margin-left: 0.5rem;
	}
}

.search:hover {
	color: var(--palette-3);
}

.darkmode .search:hover {
	color: var(--palette-7);
}

#search {
	width: calc(100% - 1rem);
	margin-top: 1rem;
}

.clearfix {
	height: 0;
}

.clearfix.top {
	height: 2rem;
}

@media (min-width: 768px) {
	.clearfix.top {
		height: 5rem;
	}
}

@media (min-width: 992px) {
	.clearfix {
		height: 60px;
	}

	.clearfix.top {
		height: 8rem;
	}
}

/* ============================================= */
/* ================= Container ================= */
/* ============================================= */

#content {
	overflow: hidden;
	height: auto;
	display: block;
}

body.menu-opened #content {
	height: 0;
	display: none;
}

.container-fluid {
	max-width: 1800px;
	margin: 0 auto;
	padding: 1rem;
}

.container-fluid .content,
.content.columns {
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-start;
	align-items: stretch;
	gap: 3rem;
}

.home .container-fluid .content {
	display: block;
}

.content-description {
	display: block;
	margin-bottom: 1em;
}

@media (min-width: 992px) {
	.content-description {
		display: none;
	}
}

.breadcrumbs {
	padding: 0.5rem 1rem;
	border-radius: 0.3rem;
	margin-bottom: 1rem;
	font-size: 0.7rem;
}

table {
	margin: 1em 0;
	border: var(--palette-3) 1px solid;
}

table th, table td {
	padding: 0.5em;
	border: var(--palette-3) 1px solid;
}

.content .text-center {
	text-align: center;
}

.content .text-right {
	text-align: right;
}

.content a {
	text-decoration: underline;
}

.content a.blog-link,
.content a.post-tag,
.content a.share-button,
.content .post-categories a {
	text-decoration: none;
}

.content p {
	margin: 1rem 0;
	text-align: justify;
	white-space: pre-wrap;
}

.content i,
.content em {
	font-style: italic;
}

.content b,
.content strong {
	font-weight: bold;
}

.content sup,
.content sub {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

.content sup {
	top: -0.5em;
}

.content sub {
	bottom: -0.25em;
}

.content img {
	max-width: 100%;
	height: auto;
	/*box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);*/
	border-radius: 0.4rem;
	/*border: var(--palette-7) 0.3rem solid;*/
}

.content figure {
	margin: 1rem auto;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
	width: max-content;
	max-width: 100%;
	display: table;
	position: relative;
}

.content figure img {
	box-shadow: none;
	display: block;
}

.content figure figcaption {
	display: table-caption;
	bottom: 0;
	caption-side: bottom;
	max-width: 100%;
	font-size: 70%;
	text-align: center;
	font-style: italic;
	padding: 0.5rem;
}

.content code {
	padding: 0 0.5rem;
	border-radius: 3px;
	font-family: monospace;
}

.content pre {
	margin: 0.5rem 0;
	padding: 10px;
	border-radius: 5px;
	font-family: monospace;
	font-size: 0.8rem;
	white-space: pre-wrap;
	background: var(--palette-6);
	color: var(--palette-3);
}

.darkmode .content pre {
	background: var(--palette-2);
	color: var(--palette-6);
}

.content code {
	padding: 0;
	background: var(--palette-6);
	color: var(--palette-3);
}

.darkmode .content code {
	background: var(--palette-2);
	color: var(--palette-6);
}

.content kbd {
	padding: 0.1rem 0.3rem;
	background: var(--palette-1);
	color: var(--palette-7);
	border-radius: 0.2em;
}

.darkmode .content kbd {
	background: var(--palette-6);
	color: var(--palette-2);
}

.content blockquote {
	padding: 0.3rem 1rem;
	margin: 1em 0;
	border-left: 0.25em solid;
	background: var(--palette-6);
}

.darkmode .content blockquote {
	background: var(--palette-3);
}

.content blockquote p {
	margin: 0.5rem 0;
}

.content blockquote cite {
	display: inline-block;
	margin-bottom: 0.5rem;
	font-style: normal;
	font-size: 0.8rem;
}

.content ul,
.content ol {
	margin: 1rem 0 1rem 3rem;
	list-style-position: outside;
}

.content ul li img,
.content ol li img {
	margin: 1em auto;
}

.content ul li ul,
.content ol li ol {
	margin: 0 0 0 2rem;
}

.content ul {
	list-style: square;
}

.content ol {
	list-style: decimal;
}

.content div.clearfix {
	height: 0.5em;
	clear: both;
}

.content div.inline-images {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0 1rem;
}

.gallery {
	display: flex;
	flex-wrap: wrap;
	width: fit-content;
}

.gallery.columns-1,
.gallery.columns-2,
.gallery.columns-3,
.gallery.columns-4 {
	width: calc(100% + 1rem);
	margin-bottom: -1rem;
}

.gallery.columns-1 a,
.gallery.columns-1 figure {
	width: calc(100% - 1rem);
}

.gallery.columns-2 > a,
.gallery.columns-2 > figure {
	width: calc(50% - 1rem);
	max-width: calc(50% - 1rem);
}

.gallery.columns-3 a,
.gallery.columns-3 figure {
	width: calc(33.3% - 1rem);
}

.gallery.columns-4 a,
.gallery.columns-4 figure {
	width: calc(25% - 1rem);
}

.gallery a {
	margin: 0 1rem 1rem 0;
}

.gallery a img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gallery figure {
	margin: 0 1rem 1rem 0;
}

.gallery figure a {
	margin: 0;
}

.details {
	width: 100%;
	clear: both;
	padding: 1em 1em 0.3em;
	margin-bottom: 1em;
	border-radius: 0.3em;
	background: var(--palette-6);
}

.darkmode .details {
	background: var(--palette-2);
}

.details a {
	color: var(--palette-7);
	background: var(--palette-2);
}

.darkmode .details a {
	color: var(--palette-7);
	background: var(--palette-3);
}

.details a:hover {
	color: var(--palette-7);
	background: var(--palette-1);
}

.darkmode .details a:hover {
	color: var(--palette-7);
	background: var(--palette-4);
}

.post-categories {
	font-size: 0.7rem;
	font-weight: bold;
	float: left;
	margin-bottom: 0.3rem;
}

.post-categories a {
	display: inline-block;
	font-weight: normal;
	margin: 0 0.1rem 0.3rem;
	padding: 0.1rem 0.3rem;
	border-radius: 0.2rem;
}

.post-tags {
	margin: 2rem 0;
	padding: 1.5rem 1.5rem 1.2rem;
	font-size: 0.7rem;
	font-weight: bold;
	border-radius: 0.5rem;
	background: var(--palette-6);
}

.darkmode .post-tags {
	background: var(--palette-2);
}

.post-tags a {
	display: inline-block;
	margin: 0 0.1rem 0.2rem;
	padding: 0.3rem 0.5rem;
	border-radius: 0.3rem;
	font-weight: normal;
	color: var(--palette-7);
	background: var(--palette-2);
}

.darkmode .post-tags a {
	color: var(--palette-7);
	background: var(--palette-3);
}

.post-tags a:hover {
	color: var(--palette-7);
	background: var(--palette-1);
}

.darkmode .post-tags a:hover {
	color: var(--palette-7);
	background: var(--palette-4);
}

.post-date {
	font-size: 0.7em;
	font-weight: bold;
	float: right;
	margin-bottom: 0.3rem;
}

.payminus_link, .edit_link {
	font-size: 0.7em;
	font-weight: bold;
	float: right;
	margin-bottom: 0.3rem;
}

.payminus_link a,
.edit_link a {
	font-weight: normal;
	text-decoration: none;
	margin: 0 0.1rem 0.2rem;
	padding: 0.1rem 0.3rem;
	border-radius: 0.2rem;
}

.details-clearfix {
	clear: both;
}

input,
button,
textarea {
	padding: 1rem;
	border-radius: 0.3rem;
	border: var(--palette-2) 1px solid;
}

.nav-links {
	display: flex;
	justify-content: center;
	padding: 1rem;
	border-radius: 0.3rem;
	margin: 2rem 0;
	font-size: 0.65rem;
	text-align: center;
	background: var(--palette-6);
}

.darkmode .nav-links {
	background: var(--palette-2);
}

.nav-links .dashicons {
	margin-top: 0.1rem;
	font-size: 0.9rem;
}

@media (min-width: 576px) {
	.nav-links {
		font-size: 0.9rem;
	}
}

.nav-links .page-numbers {
	display: inline-block;
	padding: 0.4rem 0.8rem;
	line-height: 2;
	border: var(--palette-7) 1px solid;
	border-right: none;
}

.darkmode .nav-links .page-numbers {
	border: var(--palette-3) 1px solid;
}

@media (min-width: 768px) {
	.nav-links .page-numbers {
		padding: 0.5rem 1rem;
		line-height: 2;
	}
}

.nav-links .page-numbers:first-child {
	border-radius: 0.3rem 0 0 0.3rem;
}

.nav-links .page-numbers:last-child {
	border-radius: 0 0.3rem 0.3rem 0;
	border-right: var(--palette-7) 1px solid;
}

.darkmode .nav-links .page-numbers:last-child {
	border-right: var(--palette-3) 1px solid;
}

.nav-links a {
	color: var(--palette-7);
	background: var(--palette-2);
}

.darkmode .nav-links a {
	color: var(--palette-2);
	background: var(--palette-7);
}

.nav-links a:hover {
	background: var(--palette-3);
}

.darkmode .nav-links a:hover {
	background: var(--palette-6);
}

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

.share span.share-text {
	font-size: 0.7rem;
	font-weight: bold;
	border-top: var(--palette-6) 1px solid;
	padding-top: 0.5rem;
}

.share-button {
	display: inline-block;
	width: 5.5rem;
	text-align: center;
	font-size: 0.7rem;
	line-height: 0.9rem;
	margin: 0 0.3rem 0.5rem 0;
	padding: 0.4rem 0.5rem;
	border: var(--palette-6) 1px solid;
	border-radius: 0.2rem;
	color: var(--palette-3);
	background: var(--palette-7);
}

.share-button:hover {
	color: var(--palette-3);
	border: var(--palette-5) 1px solid;
}

.darkmode .share-button:hover {
	color: var(--palette-3);
}

.black-button {
	display: inline-block;
	color: var(--palette-7);
	background-color: var(--palette-2);
	border-color: var(--palette-2);
	border-radius: 2rem;
	padding: 1rem;
	margin: 0 auto;
	text-decoration: none !important;
}

.black-button:hover {
	color: var(--palette-7);
	background-color: var(--palette-1);
	border-color: var(--palette-1);
}

.darkmode .black-button {
	color: var(--palette-7);
	background-color: var(--palette-2);
	border-color: var(--palette-2);

	&:hover {
		color: var(--palette-7);
		background-color: var(--palette-3);
		border-color: var(--palette-3);
	}
}

.info-box {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-areas:
    "image"
    "text";
	align-items: center;
	margin: 1em 0;
}

.info-box > a.gallery {
	justify-self: center;
}

.info-box .image {
	grid-area: image;
	margin: 0 auto;
}

.info-box > div {
	grid-area: text;
	margin: 1.5rem 0 0 0;
	padding: 0 8%;
}

.info-box > div span {
	display: block;
	font-weight: bold;
	text-align: center;
}

.info-box > div small {
	display: block;
	text-align: center;
}

.info-box > div h3 {
	font-weight: bold;
	margin-top: 0;
	text-align: center;
}

.info-box > div hr {
	width: 100px;
	margin: 0 auto;
	border-top: 2px solid var(--palette-2);
}

.darkmode .info-box > div hr {
	border-top: 2px solid var(--palette-7);
}

.info-box > div p {
	clear: both;
	margin: 1.5rem 0 0;
}

.info-box.large {
	font-size: 120%;
}

.info-box.small > div p {
	margin: 1rem 0 0;
}

.info-box.small a.black-button {
	padding: 0.3rem 0.6rem;
}

.info-box.right {
	grid-template-areas:
    "image"
    "text";
}

.info-box.right > div span,
.info-box.right > div h3,
.info-box.right > div small {
	text-align: center;
}

.info-box.right > div hr {
	margin: 0 auto;
}

@media (min-width: 992px) {
	.info-box {
		grid-template-columns: 1fr 1fr;
		grid-template-areas:
      "image text"
      "image text";
	}

	.info-box > div {
		margin: 0;
	}

	.info-box > div span,
	.info-box > div small,
	.info-box > div h3 {
		text-align: left;
	}

	.info-box > div hr {
		float: left;
		margin: 0;
	}

	.info-box.right {
		grid-template-areas:
      "text image"
      "text image";
	}

	.info-box.right > div span,
	.info-box.right > div small,
	.info-box.right > div h3 {
		text-align: right;
	}

	.info-box.right > div hr {
		float: right;
	}

	.info-box > a.gallery {
		justify-self: end;
	}

	.info-box.right > a.gallery {
		justify-self: start;
	}
}

.separator {
	width: 150px;
	border-top: var(--palette-6) 2px solid;
	margin: 50px auto;
}

.embed_video {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	overflow: hidden;
}

.embed_video:before {
	padding-top: 56.25%;
	display: block;
	content: "";
	box-sizing: border-box;
}

.embed_video iframe {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.price {
	color: var(--palette-3);
	font-size: 125%;
	font-weight: bold;
	margin-bottom: 0.5em;
}

.price ins {
	margin-left: 0.5em;
}

.price del,
.price ins {
	color: var(--palette-3);
}

.price button {
	margin-left: 0.5em;
	padding: 5px 10px;
	font-size: 80%;
	color: var(--palette-7);
	background: var(--palette-3);
	border: var(--palette-3);
}

.darkmode .price button {
	color: var(--palette-7);
}

.price button:hover {
	background: var(--palette-2);
	border: var(--palette-2);
}

.darkmode .price button:hover {
	background: var(--palette-4);
	border: var(--palette-4);
}

.modal_overlay {
	position: fixed;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 1em;
	overflow: hidden;
	visibility: visible;
	opacity: 1;
	z-index: 1000;
	transition-duration: 0.5s;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: rgba(0, 0, 0, 0.9);
}

.modal_overlay.hidden {
	visibility: hidden;
	opacity: 0;
}

.modal {
	color: var(--palette-2);
	padding: 1em;
	background: #fff;
	z-index: 1100;
	width: 100%;
	max-width: 700px;
	transition-duration: 0.5s;
}

.modal h4 {
	margin: 0;
}

.modal p,
.modal div {
	margin: 0.5rem 0;
}

.modal p label,
.modal div label {
	display: inline-block;
	width: 100%;
}

.modal p input,
.modal div input {
	display: inline-block;
	width: 100%;
	box-sizing: border-box;
}

.modal button {
	display: inline-block;
	float: right;
}

.modal .modal_close {
	color: #fff;
	background: var(--palette-2);
	border: var(--palette-2);
	transition: background-color 0.3s, border-color 0.3s;
}

.modal .modal_close:hover {
	background: var(--palette-1);
	border: var(--palette-1);
}

.modal .modal_submit {
	color: #fff;
	margin-left: 0.5em;
	background: var(--palette-3);
	border: var(--palette-3);
	transition: background-color 0.3s, border-color 0.3s;
}

.modal .modal_submit:hover {
	background: var(--palette-4);
	border: var(--palette-4);
}

@media (min-width: 576px) {
	.modal p label,
	.modal div label {
		width: 30%;
	}

	.modal p input,
	.modal div input {
		width: 69%;
	}
}

.download_block {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	gap: 0.5rem;
	padding: 1rem;
	border-radius: 0.2rem;
	background: var(--palette-6);
}

.download_block .download_button {
	padding: 0.5em;
	border-radius: 0.2rem;
	text-decoration: none;
}

.darkmode .download_block {
	background: var(--palette-2);
}

.download_block a {
	color: var(--palette-7);
	background: var(--palette-2);
}

.darkmode .download_block a {
	color: var(--palette-7);
	background: var(--palette-3);
}

.download_block a:hover {
	color: var(--palette-7);
	background: var(--palette-1);
}

.darkmode .download_block a:hover {
	color: var(--palette-7);
	background: var(--palette-4);
}

.related {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
}

.related .related_column {
	margin: 1rem 0;
	width: 100%;
}

@media (min-width: 576px) {
	.related .related_column {
		width: 48%;
	}
}

@media (min-width: 768px) {
	.related .related_column {
		width: 24%;
	}
}

.related .related_column .related-link {
	text-decoration: none !important;
}

h4.related-title {
	font-size: 90% !important;
}

.search-result p {
	clear: both;
	min-height: auto;
	margin-bottom: 1rem;
}

@media (min-width: 768px) {
	.search-result p {
		min-height: 5.85rem;
	}
}

.search-result img {
	display: none;
}

@media (min-width: 768px) {
	.search-result img {
		display: block;
		float: left;
		width: 200px;
		height: 105px;
		margin-right: 1rem;
	}
}

.column {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	overflow: hidden;
	/*border-radius: 0.7rem 0.7rem 0 0;*/
	/*font-size: 0.9rem;*/
	/*box-shadow: 1px 1px 10px -5px rgba(0, 0, 0, 0.75);*/
	transition: all 0.3s ease-in-out;
	/*border: var(--palette-6) 1px solid;*/
}

.darkmode .column {
	border: var(--palette-2) 1px solid;
}

/*@media (min-width: 576px) {
	.column {
		width: calc(50% - 0.5rem);
	}
}

@media (min-width: 992px) {
	.column {
		width: calc(33.3% - 2rem / 3);
	}
}

@media (min-width: 1400px) {
	.column {
		width: calc(25% - 0.75rem);
	}
}*/

@media (min-width: 768px) {
	.columns {
		flex-wrap: wrap;
	}
	.column {
		flex: 0 0 calc(50% - 1.5rem);
	}

	/*.column:nth-child(odd) {
		flex-direction: row-reverse;
	}

	.column .first {
		flex: 1;
		display: flex;
		flex-flow: column nowrap;
		align-items: center;
		justify-content: center;
	}

	.column .second {
		flex: 1;
		display: flex;
		flex-flow: column nowrap;
		align-content: space-between;
		justify-content: space-evenly;
	}*/
}

.blog-thumbnail {
	position: relative;
	/*margin: 0.3rem;*/
	border-radius: 0.4rem;
	overflow: hidden;
}

.related-thumbnail,
a.gallery,
a.gallery-image {
	position: relative;
}

.blog-thumbnail img {
	height: auto;
	box-shadow: none;
	border-radius: 0;
	border: none;
}

.related-thumbnail:after,
.blog-thumbnail:after,
a.gallery:after,
a.gallery-image:after {
	content: '';
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background: var(--palette-4);
	opacity: 0.3;
	transition: all ease-in-out 0.3s;
}

.related-thumbnail:hover:after,
.blog-thumbnail:hover:after,
a.gallery:hover:after,
a.gallery-image:hover:after {
	background: none;
	opacity: 1;
}

.blog-details {
	/*padding: 0.5rem 1rem;*/
}

.blog-title {
	font-size: 1.5rem;
}

@media (min-width: 768px) {
	.blog-title {
		font-size: 1.2rem;
	}
}

@media (min-width: 992px) {
	.blog-title {
		font-size: 1.5rem;
	}
}

ul.blog-details {
	margin: 0;
	display: flex;
	justify-content: space-between;
	/*font-size: 12px;*/
	/*background: var(--palette-6);*/
}

.darkmode ul.blog-details {
	background: var(--palette-2);
}

ul.blog-details li {
	display: inline-block;
}

ul.blog-details .dashicons {
	font-size: 0.9rem;
}

/* ============================================= */
/* ================= Comments ================== */
/* ============================================= */

.comments-title {
	margin-top: 1rem;
	margin-bottom: 1rem;
	font-size: 1.5rem;
}

.comments-list {
	margin: 0 !important;
	list-style: none !important;
}

.comments-list .comment {
	padding: 0.5rem;
	margin-bottom: 0.5rem;
	border-radius: 0.2rem;
	font-size: 0.8rem;
	background: var(--palette-6);
	border: var(--palette-5) 1px solid;
}

.darkmode .comments-list .comment {
	background: var(--palette-3);
	border: none;
}

.comments-list .comment p {
	text-align: left;
}

.comments-list .comment img.avatar {
	border-radius: 0.2rem;
	float: left;
	margin: 0 0.5rem 0.5rem 0;
}

.comments-list .comment hr {
	border: var(--palette-5) 1px solid;
	clear: both;
}

.comments-list .children {
	margin: 0 0 0 1rem;
	list-style: none !important;
}

.comment-author {
	float: left;
}

.comment-date {
	font-size: 0.7rem;
	color: var(--palette-4);
}

.comment-buttons {
	float: right;
}

.comment-reply-link {
	text-decoration: none !important;
}

.comment-form {
	margin-bottom: 0.5rem;
	font-size: 0.8rem;
}

.comment-form h4 {
	margin-bottom: 0.5rem;
}

.comment-form .comment-attention {
	display: block;
	width: 100%;
	font-size: 0.8rem;
	text-align: justify;
	margin-bottom: 0.5rem;
	white-space: normal;
}

.comment-form input,
.comment-form textarea,
.comment-form button {
	box-sizing: border-box;
	width: 100%;
	margin: 0.3rem 0;
}

.comment-form input,
.comment-form textarea {
	background: var(--palette-6);
	border: 1px solid var(--palette-6);
	font-family: var(--common-font), sans-serif;
}

.darkmode .comment-form input,
.darkmode .comment-form textarea {
	background: var(--palette-2);
	border: none;
	color: var(--palette-6);
}

.comment-form button {
	background: var(--palette-2);
	color: var(--palette-6);
	transition: background-color 0.3s;
}

.comment-form button:hover {
	background: var(--palette-1); /* Оскільки ми не використовуємо затемнення, залишаємо той самий колір */
}

.darkmode .comment-form button {
	background: var(--palette-3);
}

.darkmode .comment-form button:hover {
	background: var(--palette-4);
}

.error {
	background: #dc3545;
	padding: 0.5rem 1rem;
	margin-bottom: 0.3rem;
	border-radius: 0.2rem;
	color: #fff;

	h5 {
		margin-bottom: 0.5rem;
	}
}

.success {
	background: #1ea148;
	padding: 0.5rem 1rem;
	margin-bottom: 0.3rem;
	border-radius: 0.2rem;
	color: #fff;

	h5 {
		margin-bottom: 0.5rem;
	}
}

.grecaptcha-badge {
	visibility: hidden;
}

/* ============================================= */
/* ================== Footer =================== */
/* ============================================= */

#footer {
	font-size: 0.8rem;
	line-height: 2;
	text-align: center;
	padding: 1rem;
	background: var(--palette-2);
	color: var(--palette-7);
}

.copyright {
	margin-bottom: 1rem;
}

.privacy_link {
	display: inline-block;
	margin-bottom: 1rem;
}

.privacy_link a {
	color: var(--palette-2);
	background: var(--palette-7);
	border: none;
	border-radius: 0.2rem;
	padding: 1rem;
	font-family: var(--common-font), sans-serif;
}

.privacy_link a:hover {
	color: var(--palette-2);
	background: var(--palette-6);
}

#darkmode {
	display: inline-block;
	padding: 0.8rem;
	border: none;
	border-radius: 0.2rem;
	cursor: pointer;
	background: var(--palette-3);
	font-family: var(--common-font), sans-serif;
}

#darkmode:hover {
	background: var(--palette-4);
}

#darkmode span {
	margin-top: 0.1rem;
}

#accept_cookies {
	z-index: 1000;
	display: block;
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
	padding: 1rem;
	/*background: rgba(0, 0, 0, 0.9);*/
	background: var(--palette-1);
	opacity: 0.9;
	text-align: left;
	color: var(--palette-7);
	font-size: 0.8rem;
}

#accept_cookies button, #accept_cookies a {
	color: var(--palette-2);
	background: var(--palette-7);
	border: none;
	border-radius: 0.2rem;
	padding: 0.5rem 1.25rem;
	font-family: var(--common-font), sans-serif;
	display: inline-block;
	margin: 1rem 0.5rem 0 0;

	&:hover {
		background: var(--palette-6);
	}
}

/* ============================================= */
/* ================= Tag cloud ================= */
/* ============================================= */

.tags_cloud {
	text-align: center;
}

.tags_cloud a {
	display: inline-block;
	text-align: center;
	text-decoration: none;
	margin: 0 5px 10px 0;
	padding: 7px 10px;
	border: var(--palette-5) 1px solid;
	border-radius: 3px;
	color: var(--palette-2);
	background: var(--palette-6);
}

.darkmode .tags_cloud a {
	border: var(--palette-3) 1px solid;
	color: var(--palette-7);
	background: var(--palette-2);
}

.tags_cloud a:hover {
	border: var(--palette-6) 1px solid;
	color: var(--palette-2);
	background: var(--palette-7);
}

.darkmode .tags_cloud a:hover {
	color: var(--palette-7);
	background: var(--palette-3);
}

.tags_cloud a.tag_size_1 {
	font-size: 100%;
}

.tags_cloud a.tag_size_2 {
	font-size: 130%;
}

.tags_cloud a.tag_size_3 {
	font-size: 160%;
}

.tags_cloud a.tag_size_4 {
	font-size: 190%;
}

.tags_cloud a.tag_size_5 {
	font-size: 220%;
}