/*
Theme Name: pdf-studio
Text Domain: pdf-studio
Description: A fast, privacy-first theme for I❤️PDFStudio — browser-based PDF and image tools with an editorial blog.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
WPVibe: yes
*/

/* This file holds the WordPress theme header (above) plus truly global
 * rules only. Tailwind handles everything else.
 *
 * - Design tokens live in theme.css's @theme block.
 * - Prose + form styles live in presets.css.
 * - Layout, color, typography utilities come from Tailwind v4.
 *
 * Do NOT add component classes here (.btn-primary, .card, etc.). Use
 * Tailwind utilities in templates instead.
 */

html {
	scroll-behavior: smooth;
}

/* Alpine: hide declaratively-toggled nodes before Alpine boots, so dropdowns
 * and the mobile panel never flash open on first paint. */
[x-cloak] {
	display: none !important;
}

/* Accessible-but-invisible text. Defined here as well as in Tailwind so it
 * still works on the very first paint, before the utility bundle applies. */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Pagination produced by the_posts_pagination(). */
.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	align-items: center;
}
.nav-links .page-numbers {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 .85rem;
	border: 1px solid #E9E1D9;
	border-radius: 999px;
	background: #fff;
	color: #17131C;
	text-decoration: none;
	font-size: .9rem;
	font-weight: 500;
	transition: all .15s ease;
}
.nav-links .page-numbers:hover {
	border-color: #E8422F;
	color: #E8422F;
}
.nav-links .page-numbers.current {
	background: #17131C;
	border-color: #17131C;
	color: #fff;
}
.nav-links .page-numbers.dots {
	border-color: transparent;
	background: transparent;
}
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}
