/*
Theme Name: Lifestyle Egypt
Template: twentytwentyfive
Description: Child of Twenty Twenty-Five with the Lifestyle Egypt design system (plum and gold wordmark, Bodoni Moda, IBM Plex Sans, IBM Plex Sans Arabic). Draft 4 Dec 2026, not installed anywhere.
Version: 0.1.0
Requires at least: 6.7
Text Domain: lifestyle-egypt
*/

/* Rules theme.json cannot express. */
.skip-link:focus { position: absolute; top: 8px; inset-inline-start: 16px; z-index: 100; padding: 12px 16px; background: #fff; color: #5A2434; border: 2px solid #5A2434; }
/* Dark bands and the footer: white focus ring (plum on plum or ink fails 3:1). */
.is-style-on-dark a:focus-visible, .is-style-on-dark button:focus-visible, .is-style-on-dark summary:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 2px; }
/* Tap targets: every link in header, footer and breadcrumb at least 44 x 44. */
.le-tap a, .wp-block-navigation-item__content { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
/* Arabic: fonts switch with the language, not per block. */
html[lang^="ar"] body { font-family: var(--wp--preset--font-family--arabic); font-size: 17px; line-height: 30px; }
html[lang^="ar"] :is(h1, h2, h3) { font-family: var(--wp--preset--font-family--arabic-display); line-height: 1.5; }
html[lang^="ar"] h4 { font-family: var(--wp--preset--font-family--arabic); }
/* Latin runs inside Arabic text are wrapped in <bdi> by the content; keep them in the Latin face. */
html[lang^="ar"] bdi:lang(en), html[lang^="ar"] [lang="en"] { font-family: var(--wp--preset--font-family--sans); }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
