/*
Theme Name: RP10 Next
Description: Tema RP10 em desenvolvimento local com homepage desktop aprovada.
Version: 0.7.1
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rp10-next
*/

:root {
	color-scheme: light;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.5;
	--brand: #c51e2e;
	--brand-deep: #a90f20;
	--page: #f5f6f8;
	--surface: #ffffff;
	--surface-raised: #ffffff;
	--text: #101116;
	--muted: #666b74;
	--line: #d8dbe1;
	--soft-line: #e7e9ed;
	--shadow: 0 2px 8px rgba(17, 22, 32, 0.11);
	--container: 1800px;
}

/* The footer CTA follows the header's 1100px desktop/mobile menu switch. */
@media (max-width: 1099px) {
	.footer-social .footer-install-cta--desktop-only,
	.footer-social.footer-social--desktop-only {
		display: none;
	}
}

@media (min-width: 1100px) {
	.footer-social .footer-install-cta--mobile-only,
	.footer-social.footer-social--mobile-only {
		display: none;
	}
	.footer-social .footer-install-cta--desktop-only {
		display: inline-flex;
	}
}

:root[data-theme="dark"] {
	color-scheme: dark;
	--brand: #f0283b;
	--brand-deep: #d7132a;
	--page: #090a0c;
	--surface: #111315;
	--surface-raised: #191b1e;
	--text: #f3f4f6;
	--muted: #a4a8af;
	--line: #34373c;
	--soft-line: #292c30;
	--shadow: 0 3px 12px rgba(0, 0, 0, 0.38);
}

:root[data-theme="auto"] {
	color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
	:root[data-theme="auto"] {
		--brand: #f0283b;
		--brand-deep: #d7132a;
		--page: #090a0c;
		--surface: #111315;
		--surface-raised: #191b1e;
		--text: #f3f4f6;
		--muted: #a4a8af;
		--line: #34373c;
		--soft-line: #292c30;
		--shadow: 0 3px 12px rgba(0, 0, 0, 0.38);
	}
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--page);
	color: var(--text);
	font-size: 16px;
}

img {
	display: block;
	max-width: 100%;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	color: var(--brand);
}

.entry-title a:hover,
.entry-title a:focus-visible,
.entry-title a:active {
	color: var(--text);
	text-decoration: underline;
	text-decoration-color: var(--brand);
	text-underline-offset: 0.15em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
	outline: 3px solid var(--brand);
	outline-offset: 3px;
}

button,
input {
	font: inherit;
}

.screen-reader-text,
.skip-link:not(:focus) {
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.skip-link:focus {
	background: var(--surface);
	border: 2px solid var(--brand);
	border-radius: 6px;
	left: 1rem;
	padding: 0.6rem 0.9rem;
	position: absolute;
	top: 1rem;
	z-index: 1000;
}
