/*
Theme Name: miguesso
Theme URI: https://www.instagram.com/miguesso.video
Author: C43 Crea
Description: Block theme for miguesso, wedding filmmaker. Full-screen project showcase slider with looping previews and a Vimeo lightbox.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: miguesso
Tags: block-theme, full-site-editing, portfolio, one-column
*/

/*
 * Global styles live in theme.json. Component styles live next to their
 * block (blocks/showcase/style.css). This file only holds the few rules
 * theme.json cannot express.
 */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Full-height app shell: header on top, showcase fills the rest. */
.wp-site-blocks {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100svh;
}

.wp-site-blocks > main,
.wp-site-blocks > .wp-block-group:has(> .wp-block-miguesso-showcase) {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-height: 0;
}

.miguesso-logo {
	display: flex;
	justify-content: center;
}

.miguesso-logo a {
	display: block;
	color: inherit;
	line-height: 0;
	border-radius: 2px;
	transition: opacity 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
	.miguesso-logo a:hover {
		opacity: 0.6;
	}
}

.miguesso-logo a:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 0.5em;
}

.miguesso-logo svg {
	display: block;
	width: 197px;
	height: auto;
	max-width: 52vw;
	fill: currentColor;
}

:where(a, button):focus:not(:focus-visible) {
	outline: none;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	clip: auto !important;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0.75em 1em;
	z-index: 100000;
	top: 0.5em;
	left: 0.5em;
	background: var(--wp--preset--color--neutral-800);
	color: var(--wp--preset--color--neutral-200);
}
