/*
Theme Name: Felinski
Theme URI: https://github.com/yourusername/landing-craft-fse
Author: Your Name
Author URI: https://yourwebsite.com
Description: A modern WordPress Full Site Editing theme with TypeScript, React-based Gutenberg blocks, and WooCommerce integration. Features Hot Module Replacement for development, custom block categories, block styles, and patterns.
Requires at least: 6.7
Tested up to: 6.7
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: landing-craft-fse
Tags: full-site-editing, block-patterns, block-styles, custom-colors, custom-logo, custom-menu, editor-style, featured-images, threaded-comments, translation-ready, wide-blocks, accessibility-ready, e-commerce, flexible-header
*/

/*
 * Base Styles
 *
 * Minimal base styles for accessibility and consistency.
 * Most styling is handled through theme.json and block styles.
 */

/* Normalize and Accessibility */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
}

body {
	margin: 0;
	padding: 0;
	font-family: 'Open sans', sans-serif;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Skip to content link for accessibility */
.skip-link {
	position: absolute;
	left: -9999px;
	top: 2.5rem;
	z-index: 999999999;
	text-decoration: underline;
}

.skip-link:focus {
	display: block;
	left: 6px;
	top: 7px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	line-height: normal;
	padding: 15px 23px 14px;
	z-index: 100000;
	right: auto;
}

/* Screen reader text */
.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: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Ensure images are responsive */
img {
	height: auto;
	max-width: 100%;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

/* Remove default margins from common elements */
h1, h2, h3, h4, h5, h6,
p, ul, ol, blockquote, figure {
	margin-top: 0;
}
