/*
Theme Name: Testing Theme
Theme URI: https://example.com/testing-theme
Author: Amer Halabi
Author URI: https://example.com
Description: A minimal WordPress theme for testing and experimentation.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: testing-theme
*/

/* ---------- Design tokens ---------- */
:root {
	--tt-ink: #eaf0fb;            /* body / content text — white-ish */
	--tt-muted: #9fb0cc;
	--tt-faint: #7184a3;
	--tt-line: rgba(255, 255, 255, 0.10);
	--tt-bg: #0a1c3d;             /* dark blue page background */
	--tt-surface: #122a52;        /* column / panel background */
	--tt-accent: #ff9f45;         /* orange — titles, links, buttons */
	--tt-accent-hover: #ffb46e;
	--tt-title: #ff9f45;          /* orange titles */

	--tt-radius: 16px;
	--tt-radius-sm: 10px;
	--tt-content: 100%;
	--tt-shadow: 0 1px 2px rgba(0, 0, 0, 0.25), 0 12px 30px rgba(0, 0, 0, 0.30);

	--tt-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Base ---------- */
* {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	font-family: var(--tt-font);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--tt-ink);
	background: var(--tt-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
	line-height: 1.2;
	letter-spacing: -0.012em;
	font-weight: 650;
	text-wrap: balance;
	color: var(--tt-title);
}

p {
	text-wrap: pretty;
}

a {
	color: var(--tt-accent);
	text-decoration: none;
	transition: color 0.15s ease;
}

a:hover {
	color: var(--tt-accent-hover);
}

img {
	max-width: 100%;
	height: auto;
	border-radius: var(--tt-radius-sm);
}

:focus-visible {
	outline: 2px solid var(--tt-accent);
	outline-offset: 2px;
	border-radius: 3px;
}

/* ---------- Layout ---------- */
.site-container {
	max-width: var(--tt-content);
	margin: 0 auto;
	padding: 0 24px;
}

.site-header {
	padding: 36px 0 28px;
	border-bottom: 1px solid var(--tt-line);
}

.site-title {
	margin: 0;
	font-size: 1.5rem;
	letter-spacing: -0.02em;
	color: var(--tt-title);
}

.site-title a {
	color: inherit;
}

.site-description {
	margin: 6px 0 0;
	color: var(--tt-muted);
	font-size: 0.95rem;
}

.main-nav ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 4px;
	padding: 0;
	margin: 18px 0 0;
}

.main-nav a {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 999px;
	color: var(--tt-muted);
	font-size: 0.92rem;
	font-weight: 500;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.main-nav a:hover {
	background: var(--tt-surface);
	color: var(--tt-ink);
}

.site-content {
	padding: 56px 0;
}

.site-footer {
	padding: 32px 0;
	border-top: 1px solid var(--tt-line);
	color: var(--tt-faint);
	font-size: 0.88rem;
}

/* ---------- Posts ---------- */
.entry {
	margin-bottom: 64px;
}

.entry:not(:last-child) {
	padding-bottom: 64px;
	border-bottom: 1px solid var(--tt-line);
}

.entry-title {
	margin: 0 0 10px;
	font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem);
}

.entry-meta {
	color: var(--tt-faint);
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 24px;
}

/* ---------- Core block polish ---------- */
.wp-block-button__link {
	background: var(--tt-accent);
	color: var(--tt-bg);
	border-radius: 999px;
	padding: 10px 22px;
	font-weight: 600;
	transition: background-color 0.15s ease, transform 0.15s ease;
}

.wp-block-button__link:hover {
	color: var(--tt-bg);
}

.wp-block-button__link:hover {
	background: var(--tt-accent-hover);
	transform: translateY(-1px);
}

blockquote {
	margin: 28px 0;
	padding: 4px 0 4px 20px;
	border-left: 3px solid var(--tt-accent);
	color: var(--tt-muted);
	font-style: italic;
}
