/*
 * Shaish Oved — site layer for the Elementor V4 (atomic) build.
 *
 * Components are styled by Elementor V4 global classes (so-*) and variables,
 * edited in the editor. This file only holds what those cannot express:
 * Cyrillic font faces, page-level behaviour, pseudo-element tweaks on native
 * <details>, hover effects that cross element boundaries, admin-bar offset.
 * Breakpoints follow Elementor's defaults (tablet ≤ 1024, mobile ≤ 767).
 */

/* ---------- Cyrillic for the Russian version ----------
 * Assistant and Frank Ruhl Libre have no Cyrillic. These faces extend the SAME
 * family names for the Cyrillic range only, so Elementor's typography settings
 * stay untouched and Hebrew pages never download them.
 * Source Sans 3 is Assistant's Latin parent; PT Serif pairs with Frank Ruhl Libre.
 * Both SIL Open Font License. */
@font-face { font-family: "Assistant"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(../fonts/source-sans-3-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Frank Ruhl Libre"; font-style: normal; font-weight: 300 500; font-display: swap; src: url(../fonts/pt-serif-400-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Frank Ruhl Libre"; font-style: normal; font-weight: 600 900; font-display: swap; src: url(../fonts/pt-serif-700-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body { background: #f4efe7; color: #1f1b19; }
[id] { scroll-margin-top: 88px; }
:focus-visible { outline: 2px solid #a8865a; outline-offset: 3px; }

/* Fixed header (class so-header) sits below the admin bar when logged in. */
.admin-bar .so-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .so-header { top: 46px; } }

/* ---------- Photo cards: zoom the image when the whole card is hovered ---------- */
.so-card .so-card-img { transition: transform .6s ease; }
.so-card:hover .so-card-img, .so-card:focus-visible .so-card-img { transform: scale(1.04); }

/* ---------- FAQ (e-accordion, class so-faq): "+" turns into "×" when open ---------- */
.so-faq summary { list-style: none; }
.so-faq summary::-webkit-details-marker { display: none; }
.so-faq details > summary .e-accordion-item-icon,
.so-faq details > summary [class*="accordion-item-icon"] { transition: transform .2s; }
.so-faq details[open] > summary .e-accordion-item-icon,
.so-faq details[open] > summary [class*="accordion-item-icon"] { transform: rotate(45deg); }

/* ---------- Trust strip / swatches: hide scrollbars on touch scrollers ---------- */
.so-trust-list::-webkit-scrollbar { display: none; }

/* ---------- Language switch ([so_lang_switch], header) ---------- */
.so-lang { display: flex; gap: 6px; }
.so-lang__link { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; }
.so-lang__link:hover { border-color: #a8865a; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
