/*
Theme Name: FluxoNews
Theme URI: https://example.com/fluxonews
Author: Wanderson
Author URI: https://example.com
Description: Tema de blocos (Full Site Editing) para portais de notícias. Design moderno e fluido, tipografia responsiva com clamp(), zero requisições externas de fontes e compatibilidade total com Elementor e Elementor Pro Theme Builder.
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fluxonews
Tags: news, magazine, blog, block-templates, full-site-editing, block-patterns, one-column, two-columns, right-sidebar, custom-colors, custom-logo, custom-menu, editor-style, featured-images, sticky-post, threaded-comments, translation-ready, wide-blocks, accessibility-ready
*/

/* -------------------------------------------------------------------------
 * FluxoNews - base minima.
 * A maior parte do design vive em theme.json (tokens) e em
 * assets/css/theme.css (componentes). Este arquivo carrega primeiro e
 * cobre apenas reset e acessibilidade.
 * ---------------------------------------------------------------------- */

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

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

html:focus-within {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html:focus-within {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

body {
	margin: 0;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
}

img,
picture,
video,
canvas,
svg,
iframe {
	max-width: 100%;
}

img,
video {
	height: auto;
}

/* Evita layout shift (CLS) enquanto a imagem carrega. */
img[width][height] {
	height: auto;
}

input,
button,
textarea,
select {
	font: inherit;
}

:where(a):focus-visible,
:where(button):focus-visible,
:where(input):focus-visible,
:where(select):focus-visible,
:where(textarea):focus-visible,
:where([tabindex]):focus-visible {
	outline: 2px solid var(--wp--preset--color--accent, #2069b8);
	outline-offset: 2px;
	border-radius: 3px;
}

.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	white-space: nowrap;
}

.screen-reader-text:focus {
	background-color: #fff;
	clip-path: none;
	color: #12141a;
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	height: auto;
	left: 8px;
	line-height: normal;
	padding: 12px 20px;
	text-decoration: none;
	top: 8px;
	width: auto;
	z-index: 100000;
	border-radius: 8px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
}

.skip-link:focus {
	position: fixed;
}
