/* בסיס: איפוס, טיפוגרפיה, רכיבים גנריים. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bs-header) + 12px); }
body {
	margin: 0;
	font-family: var(--bs-font-body);
	font-size: var(--bs-fs-md);
	line-height: 1.65;
	color: var(--bs-ink);
	background: var(--bs-white);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
[hidden] { display: none !important; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--bs-blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--bs-navy); }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--bs-font-head); font-weight: 700; line-height: 1.15; margin: 0; color: var(--bs-navy); letter-spacing: -.005em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong, b { font-weight: 700; }
em { font-style: normal; }

:focus-visible { outline: 3px solid var(--bs-gold); outline-offset: 3px; border-radius: 3px; }
.bs-section--navy :focus-visible, .bs-hero :focus-visible, .bs-footer :focus-visible { outline-color: var(--bs-gold-light); }

.bs-skip {
	position: absolute; inset-inline-start: 1rem; top: -100px; z-index: 1000;
	padding: .7rem 1.2rem; background: var(--bs-gold); color: var(--bs-navy); font-weight: 700; border-radius: 0 0 var(--bs-radius) var(--bs-radius);
	text-decoration: none;
}
.bs-skip:focus { top: 0; }

.bs-container { width: min(100% - 2.5rem, var(--bs-container)); margin-inline: auto; }
@media (max-width: 640px) { .bs-container { width: min(100% - 2rem, var(--bs-container)); } }

.bs-section { position: relative; padding-block: var(--bs-section); }
.bs-section--tight { padding-block: calc(var(--bs-section) * .6); }
.bs-section--white { background: var(--bs-white); }
.bs-section--cream { background: var(--bs-cream); }
.bs-section--navy { background: var(--bs-navy); color: var(--bs-light); }
.bs-section--navy :is(h1, h2, h3, h4) { color: #fff; }
.bs-section--navy a:not(.bs-btn) { color: var(--bs-gold-light); }

/* טיפוגרפיה */
.bs-h2 { font-size: var(--bs-fs-2xl); font-weight: 700; }
.bs-h3 { font-size: var(--bs-fs-xl); }
.bs-h4 { font-size: var(--bs-fs-lg); }
.bs-h2 em, .bs-hero__title em { color: var(--bs-gold); }
.bs-lead { font-size: var(--bs-fs-lg); line-height: 1.6; color: var(--bs-ink-soft); max-width: 40em; }
.bs-lead--light, .bs-section--navy .bs-lead { color: var(--bs-light); }

.bs-eyebrow {
	display: inline-flex; align-items: center; gap: .55rem;
	font-family: var(--bs-font-body); font-weight: 700; font-size: var(--bs-fs-sm); letter-spacing: .04em;
	color: var(--bs-gold-text); margin-bottom: var(--bs-s3);
}
.bs-eyebrow::before { content: ''; width: 8px; height: 8px; background: currentColor; transform: rotate(45deg); flex: none; }
.bs-eyebrow--gold, .bs-section--navy .bs-eyebrow { color: var(--bs-gold); }

.bs-head { margin-bottom: var(--bs-s7); }
.bs-head--center { text-align: center; }
.bs-head--center .bs-lead { margin-inline: auto; }
.bs-head .bs-h2 { max-width: 22em; }
.bs-head--center .bs-h2 { margin-inline: auto; }
.bs-head .bs-lead { margin-top: var(--bs-s4); margin-bottom: 0; }

/* פרוזה */
.bs-prose { max-width: 42em; font-size: var(--bs-fs-md); }
.bs-prose p { margin-bottom: 1.1em; }
.bs-prose--light { color: var(--bs-light); font-size: var(--bs-fs-lg); line-height: 1.7; }
.bs-prose--light p { color: var(--bs-light); }
.bs-prose h2 { font-size: var(--bs-fs-xl); margin: 2em 0 .6em; }
.bs-prose h3 { font-size: var(--bs-fs-lg); margin: 1.6em 0 .5em; }
.bs-prose ul { list-style: none; padding: 0; margin: 0 0 1.2em; }
.bs-prose ul li { position: relative; padding-inline-start: 1.4em; margin-bottom: .45em; }
.bs-prose ul li::before { content: ''; position: absolute; inset-inline-start: .15em; top: .62em; width: 7px; height: 7px; background: var(--bs-gold); transform: rotate(45deg); }

/* כפתורים */
.bs-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
	min-height: 48px; padding: .75rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
	font-family: var(--bs-font-body); font-weight: 700; font-size: var(--bs-fs-md); line-height: 1.2;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: transform var(--bs-dur) var(--bs-ease), background var(--bs-dur) var(--bs-ease), color var(--bs-dur) var(--bs-ease), border-color var(--bs-dur) var(--bs-ease), box-shadow var(--bs-dur) var(--bs-ease);
}
.bs-btn .bs-ico { width: 20px; height: 20px; flex: none; }
.bs-btn:hover { transform: translateY(-2px); }
.bs-btn--lg { min-height: 56px; padding: .9rem 1.9rem; font-size: var(--bs-fs-lg); }
.bs-btn--sm { min-height: 40px; padding: .4rem 1rem; font-size: var(--bs-fs-sm); }
.bs-btn--block { width: 100%; }
.bs-btn--gold { background: var(--bs-gold); color: var(--bs-navy); border-color: var(--bs-gold); box-shadow: 0 10px 24px -12px rgba(210, 168, 83, .8); }
.bs-btn--gold:hover { background: var(--bs-gold-light); border-color: var(--bs-gold-light); color: var(--bs-navy); }
.bs-btn--navy { background: var(--bs-navy); color: #fff; border-color: var(--bs-navy); }
.bs-btn--navy:hover { background: var(--bs-navy-700); border-color: var(--bs-navy-700); color: #fff; }
.bs-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.bs-btn--ghost:hover { border-color: var(--bs-gold); color: var(--bs-gold-light); }
.bs-btn--outline { background: transparent; color: var(--bs-navy); border-color: var(--bs-navy); }
.bs-btn--outline:hover { background: var(--bs-navy); color: #fff; }

.bs-ico { width: 24px; height: 24px; flex: none; }

/* המפריד "קו יהלום קו" מהלוגו. חוזר מתחת לכל כותרת. */
.bs-divider { display: flex; align-items: center; gap: .6rem; justify-content: center; margin: var(--bs-s4) 0; color: var(--bs-gold); }
.bs-divider i { display: block; height: 1px; width: 56px; background: currentColor; }
.bs-divider b { display: block; width: 9px; height: 9px; background: currentColor; transform: rotate(45deg); }
.bs-divider--start { justify-content: flex-start; }
.bs-divider--tight { margin: var(--bs-s3) 0; }
.bs-divider--tight i { width: 28px; }

/* פריסות משנה */
.bs-split { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--bs-s8); align-items: start; }
@media (max-width: 900px) { .bs-split { grid-template-columns: 1fr; gap: var(--bs-s6); } }
.bs-aside { position: sticky; top: calc(var(--bs-header) + 1rem); padding: var(--bs-s5); border: 1px solid var(--bs-gold); border-radius: var(--bs-radius-lg); background: var(--bs-gold-tint); display: grid; gap: var(--bs-s3); }
.bs-aside__sub { color: var(--bs-ink-soft); font-size: var(--bs-fs-sm); margin: -.4rem 0 .2rem; }
.bs-aside__note { display: flex; gap: .5rem; align-items: center; font-size: var(--bs-fs-sm); color: var(--bs-ink-soft); margin: .4rem 0 0; }
.bs-aside__note .bs-ico { width: 18px; height: 18px; color: var(--bs-gold-text); }
.bs-deflist { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.2rem; margin: 0; }
.bs-deflist dt { font-weight: 700; color: var(--bs-navy); }
.bs-deflist dd { margin: 0; }
.bs-a11y-card { padding: var(--bs-s5); border: 1px solid var(--bs-line); border-radius: var(--bs-radius); background: var(--bs-cream); }

.bs-page { padding-top: calc(var(--bs-header) + var(--bs-section) * .6); }
.bs-page__in .bs-head { margin-bottom: var(--bs-s6); }
.bs-404__in { text-align: center; padding-top: var(--bs-header); display: grid; justify-items: center; gap: var(--bs-s2); }
.bs-404__in .bs-btn { margin-top: var(--bs-s4); }

.bs-admin-hint { margin-top: var(--bs-s5); text-align: center; font-size: var(--bs-fs-sm); color: var(--bs-ink-soft); }

/* חשיפה בגלילה: התוכן נראה כברירת מחדל. ההסתרה נכנסת רק עם JS. */
html.bs-js .bs-reveal:not(.is-in) { opacity: 0; transform: translateY(22px); }
.bs-reveal { transition: opacity .8s var(--bs-ease), transform .8s var(--bs-ease); transition-delay: calc(var(--i, 0) * 90ms); }
.bs-reveal--late { transition-delay: .25s; }
@media (prefers-reduced-motion: reduce) {
	html.bs-js .bs-reveal:not(.is-in) { opacity: 1; transform: none; }
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
}
