/*FALLBACK FONTS*/
:root {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/*POST EXCERPT*/
.wp-block-post-excerpt__more-link {
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	border: 2px solid var(--wp--preset--color--contrast);
	padding: 0.625rem;
	text-decoration: none;
	transition: 0.3s;
}

.wp-block-post-excerpt__more-link:hover {
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
}

/*FEATURED EXCERPT*/
.featured-excerpt .wp-block-post-excerpt__more-link {
	background: white;
	color: black;
	border: 2px solid white;
	transition: 0.3s;
}

.featured-excerpt .wp-block-post-excerpt__more-link:hover {
	background: black;
	color: white;
}

/*FOOTER*/
#footer-links a {
	text-decoration: none;
}

#footer-links a:hover {
	text-decoration: underline;
}

@media screen and (max-width: 781px) {
	footer .has-text-align-left {
		text-align: center !important;
	}

	footer #social {
		justify-content: center;
		float: none !important;
		margin-inline-start: 0 !important;
	}
}

@media screen and (min-width: 782px) {
	footer .has-text-align-left {
		text-align: start;
	}
}

/*NAVIGATION MENU*/
button.wp-block-navigation__responsive-container-open {
	color: var(--wp--preset--color--contrast);
}

.wp-block-navigation .is-menu-open {
	padding: 30px 20px 90px 20px;
}

.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open {
	background-color: var(--wp--preset--color--base);
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-icon {
	display: block;
}

.wp-block-navigation .wp-block-navigation-item a:hover {
	color: var(--wp--preset--color--contrast);
}

.wp-block-navigation .wp-block-navigation-item a {
	border-bottom: 1px solid transparent;
	position: relative;
}

.current-menu-item a[aria-current="page"],
.current-menu-item a[aria-current="page"]:hover {
	color: var(--wp--preset--color--contrast) !important;
	font-weight: bold;
	border-bottom: 2px solid var(--wp--preset--color--contrast);
}

.wp-block-navigation .wp-block-navigation-item li {
	color: var(--wp--preset--color--extra);
}

.wp-block-navigation .wp-block-navigation__submenu-container {
	background: var(--wp--preset--color--base) !important;
	border: 1px solid #7f7f7f !important;
}

.wp-block-navigation .has-child .wp-block-navigation__submenu-container {
	top: 19px !important;
}

.wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container {
	top: -1px !important;
}

.wp-block-navigation .wp-block-navigation__submenu-container a,
.wp-block-navigation .wp-block-navigation__submenu-container a:hover {
	border-bottom: 1px solid transparent;
}

.wp-block-navigation .wp-block-navigation-item a:before {
	content: '';
	position: absolute;
	width: 100%;
	height: 0px;
	border-bottom: 1px solid var(--wp--preset--color--contrast);
	bottom: -1px;
	-webkit-transform: scaleX(0);
	-ms-transform: scaleX(0);
	transform: scaleX(0);
	-webkit-transition: -webkit-transform 0.2s ease-in;
	transition: transform 0.2s ease-in;
}

.wp-block-navigation .wp-block-navigation-item a:hover:before {
	-webkit-transform: scaleX(1);
	-ms-transform: scaleX(1);
	transform: scaleX(1);
}

.current-menu-item a[aria-current="page"]::before,
.wp-block-navigation .wp-block-navigation__submenu-container a::before {
	display: none;
}

@media screen and (max-width: 600px) {
	#nav {
		margin-left: auto;
	}

	.wp-block-navigation .has-child .wp-block-navigation__submenu-container {
		margin-top: -20px;
		margin-bottom: 1em;
	}

	.wp-block-navigation .wp-block-navigation__submenu-container {
		border: none !important;
	}

	button.wp-block-navigation__submenu-icon.wp-block-navigation-submenu__toggle {
		font-size: 2.25em;
		margin-bottom: 16px;
		margin-left: 0;
	}

	.wp-block-navigation .wp-block-navigation__submenu-icon svg {
		display: block;
		padding: 0.25em;
		margin-left: -0.25em;
		margin-top: 0;
		transition: transform 0.3s;
	}

	.wp-block-navigation .wp-block-navigation-item a:hover,
	.current-menu-item a[aria-current="page"] {
		border-bottom: 1px solid transparent;
	}

	.wp-block-navigation__submenu-container li {
		margin-bottom: 10px;
	}

	.wp-block-navigation .wp-block-navigation-item a:before {
		display: none;
	}
}

/*CATEGORY-ARCHIVES DROPDOWN */
.sidebar-dropdown select {
	width: 100%;
	padding: 0.75rem;
	border: 1px solid #7f7f7f;
	border-radius: 0px;
	font-size: 1rem;
}

.archive-page-dropdowns select {
	width: 100%;
}

/*BUTTONS & INPUT ELEMENTS*/
select,
textarea,
input[type="search"],
input[type="text"],
input[type="password"],
input[type="date"],
input[type="datetime-local"],
input[type="email"],
input[type="month"],
input[type="number"],
input[type="tel"],
input[type="time"],
input[type="url"],
input[type="week"] {
	padding: 0.625rem;
	border: 1px solid #7f7f7f;
	border-radius: 0px;
	font-size: 1rem;
}

input[type="submit"],
input[type="reset"],
input[type="button"],
button[type="submit"],
button[type="reset"],
button[type="button"],
input[type="file"]::file-selector-button {
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	border: 2px solid var(--wp--preset--color--contrast);
	padding: 0.650rem;
	cursor: pointer;
	transition: 0.3s;
}

input[type="submit"]:disabled,
input[type="reset"]:disabled,
input[type="button"]:disabled,
button[type="submit"]:disabled,
button[type="reset"]:disabled,
button[type="button"]:disabled {
	opacity: 50%;
	cursor: default;
}

.wp-element-button,
.wp-block-button__link {
	padding: 0.667em 1.333em;
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	border: 2px solid var(--wp--preset--color--contrast);
	transition: 0.3s;
}

.wp-element-button:hover,
.wp-block-button__link:hover,
.wp-block-button.is-style-outline a {
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	border: 2px solid var(--wp--preset--color--contrast);
	transition: 0.3s;
}

.wp-block-button.is-style-outline a:hover {
	border: 2px solid var(--wp--preset--color--base);
	text-decoration: underline;
}

input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
button[type="submit"]:hover,
button[type="reset"]:hover,
button[type="button"]:hover,
input[type="file"]::file-selector-button:hover {
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
}

input[type='checkbox'],
input[type='radio'] {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	width: 1.2em;
	height: 1.2em;
	background-color: white;
	border: 1px solid #7f7f7f;
	outline: none;
	position: relative;
	top: 0.1em;
	cursor: pointer;
}

input[type='radio'],
input[type='radio']:checked::after {
	border-radius: 50%;
}

input[type='checkbox']:checked::before {
	content: "✓";
	color: black;
	display: block;
	font-size: 1.1em;
	font-weight: bold;
	left: calc(1em / 2);
	line-height: 1;
	position: absolute;
	top: calc(1em / 2);
	transform: translate(-50%, -50%);
}

input[type='radio']:checked::before {
	background: black;
	border-radius: 50%;
	content: "";
	height: 0.6em;
	margin-left: 50%;
	margin-top: 50%;
	position: absolute;
	transform: translate(-50%, -50%);
	width: 0.6em;
}

a.wp-block-file__button {
	background-color: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	border-color: var(--wp--preset--color--contrast);
	border-radius: 0px;
}

/*CALENDAR*/
.wp-block-calendar th {
	background-color: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
}

.wp-block-calendar td a {
	display: block;
	padding: 0.25em;
	background-color: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	text-decoration: none;
}

.wp-block-calendar td a:hover {
	background-color: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	font-weight: bold;
	padding: 0px;
	border: 0.24em solid var(--wp--preset--color--contrast);
}

.wp-block-calendar td:has(a):not(:has(*:not(a))),
td:has(a:empty) {
	padding: 0px;
}

/*PAGINATION*/
.wp-block-query-pagination .wp-block-query-pagination-next-arrow:not(.is-arrow-chevron),
.wp-block-query-pagination .wp-block-query-pagination-previous-arrow:not(.is-arrow-chevron) {
	transform: scale(1.5);
	height: 20px;
	padding: 0 5px;
	margin: 0 5px;
	transition: 0.3s;
}

.wp-block-query-pagination .wp-block-query-pagination-next-arrow:not(.is-arrow-chevron):hover,
.wp-block-query-pagination .wp-block-query-pagination-previous-arrow:not(.is-arrow-chevron):hover {
	background-color: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
}

span.wp-block-post-navigation-link__arrow-previous.is-arrow-chevron,
span.wp-block-post-navigation-link__arrow-next.is-arrow-chevron {
	transform: scale(1.5);
	height: 25px;
}

span.page-numbers.current,
a.page-numbers:hover {
	background-color: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	padding: 0.25rem 0.5rem;
}

a.page-numbers {
	padding: 0.25rem 0.5rem;
	transition: 0.3s;
	text-decoration: none;
}

.wp-block-query-pagination-next {
	text-align: right;
}

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

	.wp-block-query-pagination .wp-block-query-pagination-next-arrow:not(.is-arrow-chevron),
	.wp-block-query-pagination .wp-block-query-pagination-previous-arrow:not(.is-arrow-chevron) {
		transform: scale(2);
	}

	.wp-block-query-pagination .wp-block-query-pagination-next-arrow:not(.is-arrow-chevron):hover,
	.wp-block-query-pagination .wp-block-query-pagination-previous-arrow:not(.is-arrow-chevron):hover {
		background-color: transparent;
		color: inherit;
	}

	.wp-block-query-pagination-numbers {
		padding-top: 10px;
	}
}

/*HEADER BUTTONS*/
#header-buttons-wc {
	max-width: 110px;
	z-index: 1;
}

#header-buttons {
	max-width: 38px;
	z-index: 1;
}

#header-buttons .wp-block-search__inside-wrapper,
#header-buttons-wc .wp-block-search__inside-wrapper {
	justify-content: flex-end;
}

#header-buttons .wp-block-search.wp-block-search__button-only .wp-block-search__button,
#header-buttons-wc .wp-block-search.wp-block-search__button-only .wp-block-search__button {
	max-width: 1px;
	margin-left: -3px;
}

#header-buttons button.wp-block-search__button.has-text-color.has-contrast-color.has-background.has-icon.wp-element-button,
#header-buttons-wc button.wp-block-search__button.has-text-color.has-contrast-color.has-background.has-icon.wp-element-button {
	padding-inline: 20px;
	border: 2px solid transparent;
}

#header-buttons .wp-block-search__input,
#header-buttons-wc .wp-block-search__input {
	width: 25vw;
}

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

	#header-buttons .wp-block-search__input {
		width: 75vw;
	}

	#header-buttons-wc .wp-block-search__input {
		width: 50vw;
	}
}

/*SMOOTH SCROLL*/
html {
	scroll-behavior: smooth;
}

.scroll-arrow a {
	text-decoration: none;
	color: var(--wp--preset--color--white);
}

@media screen and (max-width: 425px) {
	.scroll-arrow a {
		font-size: 10vw;
	}
}

/*SEARCH PAGE BOX*/
.search-box input {
	text-align: center;
}

/*ARCHIVE TAG CLOUD*/
.tags-list a {
	border: 1px solid var(--wp--preset--color--base);
	background-color: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	transition: 0.3s;
}

.tags-list a:hover {
	border: 1px solid var(--wp--preset--color--contrast);
	background-color: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
}

@media screen and (max-width: 781px) {
	.tags-list {
		justify-content: center;
		width: 100%;
	}
}

/*SIDEBAR TAG CLOUD*/
.sidebar-tag-cloud {
	text-align: center;
}

.sidebar-tag-cloud a:hover {
	font-weight: bold;
}

/*SIDEBAR TITLE*/
@media screen and (max-width: 425px) {
	p.enlarge {
		font-size: 5vw !important;
	}
}

/*WORDS BREAK*/
pre,
code {
	overflow-wrap: break-word;
}

/*COMMENTS CHECKBOX*/
.wp-block-post-comments-form .comment-form-cookies-consent {
	align-items: center;
}

input#wp-comment-cookies-consent {
	top: 0px;
	min-width: 1.2rem;
}

.wp-block-post-comments-form .comment-form-cookies-consent #wp-comment-cookies-consent {
	margin-top: 0px;
}

/*SCROLLBAR*/
*::-webkit-scrollbar {
	height: 10px;
	width: 10px;
}

*::-webkit-scrollbar-track {
	border-radius: 0px;
	background-color: var(--wp--preset--color--base);
}

*::-webkit-scrollbar-track:hover {
	background-color: var(--wp--preset--color--base);
}

*::-webkit-scrollbar-track:active {
	background-color: var(--wp--preset--color--base);
}

*::-webkit-scrollbar-thumb {
	border-radius: 0px;
	background-color: var(--wp--preset--color--extra);
}

*::-webkit-scrollbar-thumb:hover {
	background-color: var(--wp--preset--color--extra);
	border: 1px solid var(--wp--preset--color--base);
}

*::-webkit-scrollbar-thumb:active {
	background-color: var(--wp--preset--color--contrast);
	border: 1px solid var(--wp--preset--color--base);
}

@media screen and (max-width: 600px) {
	* {
		scrollbar-width: thin;
	}
}

/*SITE TITLE LINK*/
.wp-block-site-title a {
	text-decoration: none;
}

/*GRAYSCALE FILTER*/
.grayscale,
.wp-block-avatar img,
.wp-block-latest-comments .avatar,
.wp-block-latest-comments__comment-avatar {
	filter: grayscale(1);
	-webkit-filter: grayscale(1);
}

/*COMMENTS AVATAR*/
.wp-block-latest-comments .avatar,
.wp-block-latest-comments__comment-avatar {
	border-radius: 0px;
}

/*TEXT SELECTION*/
::selection {
	background-color: var(--wp--preset--color--extra);
	color: var(--wp--preset--color--base);
}

/*POST META ICONS*/
.post-date-icon,
.edit-date-icon,
.author-icon,
.category-icon,
.taxonomy-icon {
	vertical-align: middle;
}
