/*
Theme Name: Sistem
Theme URI: https://tapete.si/themes/sistem
Author: Tapete
Author URI: https://tapete.si
Description: A modern, clean WordPress theme built on Bootscore principles with Bootstrap 5, block editor support, full Customizer integration, WooCommerce-ready structure, accessibility and responsive design.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: sistem
Domain Path: /languages
Tags: bootstrap, responsive, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, grid-layout, one-column, two-columns, threaded-comments, translation-ready, block-patterns, full-site-editing-ready, e-commerce
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* ==========================================================================
   Sistem Theme - Base Styles
   Bootstrap 5 is loaded via the enqueue system in functions.php.
   Custom theme styling lives in assets/css/theme.css.
   This file contains the theme header (required) plus a few base resets
   that should ship with the stylesheet itself.
   ========================================================================== */

html {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

/* Accessibility: visually hidden but available to screen readers */
.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: var(--bs-body-bg, #fff);
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: var(--bs-body-color, #000);
	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;
}

/* Skip link */
.skip-link {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
	z-index: 100001;
}

.skip-link:focus {
	left: 0;
	top: 0;
	width: auto;
	height: auto;
	padding: 0.75rem 1.25rem;
	background: var(--bs-primary, #0d6efd);
	color: #fff;
	z-index: 100001;
}

/* Default WordPress alignment classes (block editor) */
.alignleft {
	float: left;
	margin-right: 1.5rem;
	margin-bottom: 1rem;
}

.alignright {
	float: right;
	margin-left: 1.5rem;
	margin-bottom: 1rem;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignwide {
	margin-left: -15px;
	margin-right: -15px;
}

.alignfull {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	width: 100vw;
	max-width: 100vw;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text {
	font-size: 0.875rem;
	color: #6c757d;
	text-align: center;
	padding-top: 0.5rem;
}

.sticky {
	position: relative;
}

.gallery-caption {
	font-size: 0.875rem;
}

.bypostauthor {
	border-left: 4px solid var(--bs-primary, #0d6efd);
	padding-left: 1rem;
}
