/*
Theme Name: Stillora
Author: Mukesh Parihar
Author URI: https://mukeshparihar.in
Description: A modern, minimal editorial theme for photographers, artists, and visual storytellers. Photography first, story second, interface third.
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 7.4
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stillora
Tags: photography, portfolio, blog, full-site-editing, block-patterns, custom-colors, custom-menu, editor-style, translation-ready
*/

/* Screen reader text (required for accessible search/skip links) */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #fff;
	clip: auto !important;
	clip-path: none;
	color: #111111;
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 1rem 1.5rem;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Sticky header needs its own stacking context — can't live in theme.json */
.wp-block-group.is-position-sticky {
	z-index: 100;
}

/* Restrained link interaction, per the design brief */
a {
	transition: opacity 0.15s ease;
}
a:hover {
	opacity: 0.7;
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}