/*
Theme Name: TTrial
Theme URI: https://ttrial.org/
Author: TTrial Editorial Team
Author URI: https://ttrial.org/
Description: A lightweight, custom-built editorial theme for TTrial, a guest-post and content publishing platform. No page builders, no bundled CSS/JS frameworks — hand-written PHP, HTML5 and CSS3 with minimal vanilla JavaScript.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ttrial
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   Minimal global reset.

   This file exists mainly to carry the required WordPress theme header
   above. The design token system (colour, type, spacing, radius, shadow)
   and every component/section style live in assets/css/main.css, which is
   enqueued directly after this file — see functions.php. Keeping this file
   to a small baseline reset means main.css never has to fight inconsistent
   browser defaults.
   ========================================================================== */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;
}

img,
picture,
svg {
	max-width: 100%;
	display: block;
}

ul[class],
ol[class] {
	list-style: none;
	margin: 0;
	padding: 0;
}

a {
	color: inherit;
	text-decoration: none;
}

button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	cursor: pointer;
}

input,
textarea,
select {
	font: inherit;
}

table {
	border-collapse: collapse;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	top: -100px;
	left: 0;
	z-index: 10000;
	background: #1c1b18;
	color: #f8f7f3;
	padding: 0.75em 1.25em;
	transition: top 0.15s ease;
}

.skip-link:focus {
	top: 0;
	width: auto;
	height: auto;
	clip: auto;
}

@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;
	}
}
