/*!
Theme Name: Traveloptimizer
Theme URI:
Author: Internetagentur Kreativdenker GmbH
Author URI: https://www.agentur-kreativdenker.de
Description: WordPress theme for Traveloptimizer
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: traveloptimizer
Test
*/

html {
	scroll-padding-top: 140px;
}

.block_picked-slider-posts .latest_post__content span.c-subtitle {
	font-weight: 400;
}

.block_picked-slider-posts .latest_post__content p {
	font-size: clamp(1rem, calc(1rem + (1vw - 5.75px) * .96), 1.25rem);
	line-height: 1.4;
	position: relative;
	font-weight: 400;
}

.block_picked-slider-posts span.c-title {
	font-size: clamp(2.5rem, 1.625rem + (1vw - 5.75px) * 3.37, 3rem);
	margin-top: 0 !important;
}

.block_picked-slider-posts a.btn {
	user-select: none;
}

@media screen and (max-width: 1024px) {
	.archive-wrapper .block_picked-slider-posts .container {
		padding-right: 0;
		padding-left: 0;
	}
}

@supports (hanging-punctuation: first) and (font: -apple-system-body) and (-webkit-appearance: none) {
	.sticky_links {
		scrollbar-width: auto !important;
	}

	.sticky_links::-webkit-scrollbar {
		width: 6px;
		height: 6px;
		border: 0 !important;
		background: transparent;
	}

	.sticky_links::-webkit-scrollbar:hover,
	.sticky_links::-webkit-scrollbar:active {
		width: 6px;
		height: 6px;
	}

	.sticky_links::-webkit-scrollbar-thumb {
		background: #f8aa86 !important;
		height: 6px !important;
		border: 0 !important;
		border-radius: 9999px;
		-webkit-background-clip: content-box;
		margin: 0 !important;
	}

	.sticky_links::-webkit-scrollbar-thumb:hover,
	.sticky_links::-webkit-scrollbar-thumb:active {
		width: 6px;
		height: 6px;
	}
}

header.site-header {
	position: fixed;
}

@media screen and (max-width: 700px) {
	.block_categories-block .col-6 .category_block h5 {
		left: .5rem;
		right: .5rem;
		padding: .45rem;
		bottom: .5rem;
		font-size: .875rem;
		font-weight: 600;
	}

	.block_categories-block .col-6 .category_block svg {
		width: 1.5rem;
		height: 1.5rem;
	}
}

@media (min-width: 640px) {
	.block_latest-posts-1-3.grid-col-3 .latest_post__wrapper {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 1024px) {
	.block_latest-posts-1-3.grid-col-3 .latest_post__wrapper {
		grid-template-columns: 1fr 1fr 1fr;
	}
}

@media (min-width: 1024px) {
	body .main-menu>li.menu-item-has-children .sub-menu {
		transition: 0s;
	}
}

@media (min-width: 1025px) and (max-width: 1339px){
	.single-post__wrapper .single-post__nav {
		display: flex;
	}

	.single-post__wrapper .single-post__nav .nav-map {
		display: none;
	}
}

@media (min-width: 1025px) and (max-width: 1339px) {
	.single-post__sidebar--inner {
		max-width: 21rem;
	}

	.single-post__wrapper {
		flex-wrap: nowrap;
	}

	.single-post__wrapper .single-post__sidebar:has(.single-post__toc) {
		position: fixed;
		bottom: 0;
		height: 0;
		z-index: 13;
	}

	.single-post__wrapper .single-post__sidebar {
		width: 28rem;
	}

	.single-post__sidebar .traveloptimizer-sidebar-map {

		display: block;
		position: static;
		bottom: auto;
		left: 0;
		z-index: 1;
		max-height: 31.875rem;
		padding: 0;
		background-color: unset;
		border-radius: 2.5rem;
		border: .1875rem solid #a2c1c3;
		width: 100%;
		height: 31.875rem;
		overflow: hidden;
	}

	.single-post #to-top {
		display: none;
	}
}

@media (min-width: 1025px) and (max-width: 1100px) {
	.main-menu>li>span>a {
		font-size: 14px;
	}
}
