/*
Theme Name: logotel-airc
Theme URI: 
Author: Logotel
Author URI: 
Description: 
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: logotel-airc
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
	-webkit-text-decoration-thickness: 1px;
	-webkit-text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content,
.menu-item {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

:root :where(.is-layout-constrained)>* {
	margin-block-start: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1,
h2,
h3,
h4,
h5,
h6,
blockquote,
caption,
figcaption,
p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

header {
	background-color: var(--wp--preset--color--light);
	box-shadow: var(--wp--preset--shadow--md);
	position: sticky;
    z-index: 300;
    top: 0;
}

footer {
	margin-top: 0;
}

figure img,
figure video {
	border-radius: 1rem;
}

.menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.menu-item {
	padding: var(--wp--preset--spacing--sm) 0;
	list-style: none;
	text-decoration: none;
}

.menu-item:hover,
.menu-item:focus {
	text-decoration: underline;
}

header .menu {
	display: inline-flex;
	gap: var(--wp--preset--spacing--xs);
}

header .menu .menu-item {
	font-weight: 700;
	border-bottom: 2px solid transparent;
	transition: all 120ms ease;
	padding: 0;
}

header .menu .menu-item a {
	display: block;
	padding: var(--wp--preset--spacing--xs) var(--wp--preset--spacing--sm);
}

header .menu .menu-item.current-menu-item {
	color: var(--wp--preset--color--blue-dark);
	border-color: var(--wp--preset--color--blue-dark);
}

header .menu .menu-item:hover,
header .menu .menu-item:focus,
header .menu .menu-item:active {
	color: color-mix(in srgb, var(--wp--preset--color--dark) 80%, var(--wp--preset--color--blue));
	border-color: color-mix(in srgb, var(--wp--preset--color--dark) 80%, var(--wp--preset--color--blue));
	text-decoration: none;
}

.d-none {
	display: none !important;
}

.visually-hidden {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

@media (min-width: 768px) {
	.mobile-only {
		display: none !important;
	}
}

@media (max-width: 767px) {
	.desktop-only {
		display: none !important;
	}
}