/*
Theme Name: GORGY Personal
Theme URI: https://gorgy.org/
Author: Peter GORGY
Author URI: https://gorgy.org/
Description: Personal website theme for gorgy.org — Leader, Technologist, Builder, Educator, Human. Block theme built on the established GORGY design tokens (palette, Literata, Figtree, IBM Plex, spacing) shared with the LuminaPath site on gorgy.net. Homepage, About, Leadership, Technology & AI, Projects, Teaching & Learning, Insights and Contact templates and patterns, GORGY wordmark. Pairs with the GORGY Core plugin.
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
Version: 5.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gorgy-personal
Domain Path: /languages
Tags: full-site-editing, block-patterns, editor-style, wide-blocks, translation-ready, rtl-language-support, accessibility-ready, blog, portfolio
*/

/* ---------- Base (shared GORGY conventions) ---------- */
body { -webkit-font-smoothing: antialiased; }
:where(h1, h2, h3) { text-wrap: balance; }
:focus-visible { outline: 3px solid var(--wp--preset--color--sun); outline-offset: 3px; border-radius: 6px; }
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--wp--preset--color--contrast); border-color: var(--wp--preset--color--contrast); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--on-contrast); }
.wp-block-quote cite { display: block; margin-top: .6rem; font-style: normal; font-family: var(--wp--preset--font-family--mono); font-size: .8rem; color: var(--wp--preset--color--muted); }
.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; }

/* ---------- Arabic and Egyptian Arabic ---------- */
:lang(ar) body, :lang(ar) :where(h1, h2, h3, h4, p, li, a, button, input, select, textarea, label) { font-family: var(--wp--preset--font-family--arabic); letter-spacing: 0; }
:lang(ar) p { line-height: 1.85; }
[dir="rtl"] body { text-align: right; }
[dir="rtl"] :where(h1, h2, h3, h4) { letter-spacing: 0; line-height: 1.35; }
[dir="rtl"] .wp-block-list { padding-left: 0; padding-right: 1.2rem; }
[dir="rtl"] .wp-block-quote { border-left: 0; border-right: 3px solid var(--wp--preset--color--sun); padding-left: 0; padding-right: 1.25rem; }
[dir="rtl"] :where(.gp-eyebrow, .gp-timeline__when, .gp-footer__title, .gorgy-badge, .gorgy-eyebrow, .wp-block-navigation-item__label) { letter-spacing: 0; text-transform: none; font-family: var(--wp--preset--font-family--arabic); }

/* Personal-layer components: assets/css/personal.css */

/* Tap targets (WCAG 2.2 SC 2.5.8): enlarge the hit area of small text links to at least 24 px
   without changing their appearance or the layout (padding offset by an equal negative margin). */
.gp-tags a,
.gorgy-breadcrumbs a,
.gp-footer__links a,
.gorgy-project-meta a,
.gp-hero__secondary a,
.gp-card__title a {
	padding-block: 2px;
	margin-block: -2px;
}
