/*
Theme Name: Tring Triad
Theme URI: https://tringtriad.com
Author: Thirumurugan
Author URI: https://tringtriad.com
Description: Tring Triad is a modern, lightweight, high-performance custom WordPress theme built for AI-powered development. It is based on ACF Free and native WordPress functionality without page builders.
Version: 1.0.8
Requires at least: 6.8
Tested up to: 6.9
Requires PHP: 8.3
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tring-triad
Tags: custom-theme, acf, seo, responsive, accessibility-ready, custom-logo, custom-menu, featured-images, translation-ready
*/

/* Layout styles live in assets/css/main.css */

/* Font overrides — load after main.css to beat WP global styles */
body,
button,
input,
select,
textarea {
	font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display,
.eyebrow,
.btn,
.menu > li > a,
.chip,
.tab,
.qa button,
.step .num,
.stat .big,
.node b,
.triad .core span,
.sample-tag,
footer h4 {
	font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.entry-content {
	max-width: 720px;
}

.entry-content p {
	margin-bottom: 1.05em;
	color: var(--muted);
	font-size: 1.05rem;
}

.entry-content h2,
.entry-content h3 {
	margin: 1.4em 0 0.5em;
	color: var(--ink);
}

.single-meta {
	color: var(--muted) !important;
	font-size: 0.95rem !important;
	max-width: none !important;
}

.single-featured {
	margin: 0 0 28px;
	border-radius: var(--r);
	overflow: hidden;
	border: 1px solid var(--line);
	max-width: 860px;
}

.single-featured img {
	display: block;
	width: 100%;
	height: auto;
}

.single-nav {
	margin-top: 48px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
	max-width: 720px;
}

.single-nav .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.single-nav a {
	display: block;
	padding: 16px 18px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #fff;
	transition: 0.15s;
}

.single-nav a:hover {
	border-color: var(--violet);
	color: var(--violet);
}

.single-nav .nav-label {
	display: block;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--muted);
	margin-bottom: 4px;
}

.single-nav .nav-title {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 0.95rem;
}

.single-nav .nav-next {
	text-align: right;
}

@media (max-width: 920px) {
	.single-nav .nav-links {
		grid-template-columns: 1fr;
	}

	.single-nav .nav-next {
		text-align: left;
	}
}


.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;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 0 0 2px var(--violet, #6c4cf1);
	clip: auto !important;
	clip-path: none;
	color: var(--ink, #16132e);
	display: block;
	font-size: 0.95rem;
	font-weight: 600;
	height: auto;
	left: var(--page-gutter, 24px);
	line-height: normal;
	padding: 12px 18px;
	text-decoration: none;
	top: 12px;
	width: auto;
	z-index: 100000;
}

/* Visible keyboard focus for interactive controls */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.tab:focus-visible,
.hamburger:focus-visible,
.menu a:focus-visible {
	outline: 2px solid var(--violet, #6c4cf1);
	outline-offset: 2px;
}

.skip-link:focus {
	position: absolute;
}

