/*
Theme Name: Teachers' Room
Theme URI: https://teachers-room.org
Author: Elevate
Author URI: https://elevate.co.il
Description: Multilingual (HE / AR / EN) theme for "חדר מורים · Teachers' Room" — a memorial education program. RTL-first, built with ACF (English admin labels) and Polylang. All content is editable through ACF field groups and an ACF options page for header/footer.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
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: teachers-room
Tags: rtl-language-support, multilingual, custom-menu, translation-ready
*/

/* The full design system lives in assets/css/shared.css (enqueued from functions.php).
   This file is required by WordPress for theme metadata. Overrides below. */

/* ── LTR support for English (shared.css is RTL-first) ── */
html[dir="ltr"] body { direction: ltr; text-align: left; }
html[dir="ltr"] .breadcrumb-sep,
html[dir="ltr"] .caret { transform: none; }

/* Arabic uses the Naskh font for body copy */
body.lang-ar { font-family: "Noto Naskh Arabic", "Heebo", serif; }

/* ── Accessibility helpers ── */
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; padding: 0; overflow: hidden;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link.screen-reader-text:focus {
	background: #fff; color: var(--blue-deep); clip: auto; clip-path: none;
	height: auto; width: auto; padding: 12px 24px; z-index: 1000;
	top: 8px; inset-inline-start: 8px; border-radius: 8px;
	box-shadow: var(--sh-2); font-weight: 600;
}

/* Lang switch buttons rendered as <a> by Polylang switcher */
.lang-switch a.lang-btn { text-decoration: none; }

/* ── Contact form success / error notice ── */
.form-notice {
	padding: 14px 18px; border-radius: var(--r-m); margin-bottom: 22px;
	font-size: 15px; font-weight: 500; line-height: 1.5;
}
.form-notice--ok  { background: var(--blue-soft); color: var(--blue-deep); border: 1px solid var(--blue); }
.form-notice--err { background: #fbeaea; color: #9b2a2a; border: 1px solid #e0a3a3; }

