/* EB Legal Documents — black & white, RTL */

@font-face {
	font-family: 'Google Sans EBLD';
	src: url('../fonts/GoogleSans-Regular.woff2') format('woff2'), url('../fonts/GoogleSans-Regular.woff') format('woff');
	font-weight: 400;
	font-display: swap;
}
@font-face {
	font-family: 'Google Sans EBLD';
	src: url('../fonts/GoogleSans-Medium.woff2') format('woff2'), url('../fonts/GoogleSans-Medium.woff') format('woff');
	font-weight: 500;
	font-display: swap;
}
@font-face {
	font-family: 'Google Sans EBLD';
	src: url('../fonts/GoogleSans-Bold.woff2') format('woff2'), url('../fonts/GoogleSans-Bold.woff') format('woff');
	font-weight: 700;
	font-display: swap;
}

.ebld-wrap {
	direction: rtl;
	font-family: 'Google Sans EBLD', 'Noto Sans Hebrew', 'Assistant', sans-serif;
	color: #333;
	max-width: 1040px;
	margin: 0 auto;
	-webkit-font-smoothing: antialiased;
}

.ebld-wrap a { color: #000; text-decoration: none; border-bottom: 1px solid rgba(0,0,0,.3); }
.ebld-wrap a:hover { color: #444; border-bottom-color: #444; }

/* ---------- document card ---------- */
.ebld-doc {
	background: #fff;
	border: 1px solid #E4E4E4;
	border-radius: 20px;
	padding: 56px 60px;
	box-shadow: 0 1px 2px rgba(0,0,0,.04);
	margin: 0 0 24px;
}
.ebld-head {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-bottom: 28px;
	border-bottom: 1px solid #EAEAEA;
}
.ebld-no-title .ebld-head { display: none; }
.ebld-kicker { font-size: 12.5px; font-weight: 500; letter-spacing: .22em; color: #000; }
.ebld-doc h2 { margin: 0; font-size: 34px; font-weight: 700; letter-spacing: -.02em; color: #111; line-height: 1.2; }
.ebld-doc h3 { margin: 0; font-size: 20px; font-weight: 700; color: #111; line-height: 1.3; }
.ebld-sec { display: flex; flex-direction: column; gap: 14px; padding-top: 36px; }
.ebld-doc p { margin: 0; font-size: 16.5px; line-height: 1.85; color: #333; text-wrap: pretty; }
.ebld-doc ul { margin: 0; padding-inline-start: 20px; display: flex; flex-direction: column; gap: 11px; list-style: disc; }
.ebld-doc ul li { font-size: 16.5px; line-height: 1.8; color: #333; text-wrap: pretty; }

/* ---------- blocks ---------- */
.ebld-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.ebld-feature { background: #F7F7F7; border: 1px solid #E8E8E8; border-radius: 12px; padding: 16px 18px; font-size: 15.5px; line-height: 1.6; color: #333; }
.ebld-info { background: #F7F7F7; border: 1px solid #E8E8E8; border-radius: 14px; padding: 24px 26px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.ebld-info-item { display: flex; flex-direction: column; gap: 6px; }
.ebld-label { font-size: 12.5px; font-weight: 500; letter-spacing: .14em; color: #8A8A8A; }
.ebld-value { font-size: 16px; color: #333; }

/* ---------- tabs ---------- */
.ebld-topbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 8px 0 22px; }
.ebld-brand { display: flex; flex-direction: column; gap: 10px; }
.ebld-brand-name { font-size: 13px; font-weight: 500; letter-spacing: .28em; color: #000; }
.ebld-brand-title { margin: 0; font-size: 42px; font-weight: 700; letter-spacing: -.02em; color: #111; line-height: 1.1; }
.ebld-brand-domain { font-size: 15px; color: #6B6B6B; }
.ebld-print {
	border: 1px solid #D6D6D6; background: #fff; color: #333; font-family: inherit;
	font-size: 14px; font-weight: 500; padding: 11px 20px; border-radius: 999px; cursor: pointer;
}
.ebld-print:hover { border-color: #000; color: #000; }
.ebld-tablist { display: flex; gap: 0; flex-wrap: wrap; border-bottom: 1px solid #E4E4E4; margin-bottom: 28px; }
.ebld-tab {
	border: none; background: transparent; font-family: inherit; font-size: 15.5px; font-weight: 500;
	color: #7A7A7A; padding: 12px 4px 14px; margin-inline-end: 22px; cursor: pointer;
	border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.ebld-tab.is-active { color: #111; font-weight: 700; border-bottom-color: #111; }
.ebld-panel { display: none; }
.ebld-panel.is-active { display: block; }

@media (max-width: 782px) {
	.ebld-doc { padding: 32px 22px; border-radius: 14px; }
	.ebld-doc h2 { font-size: 26px; }
	.ebld-brand-title { font-size: 30px; }
	.ebld-doc p, .ebld-doc ul li { font-size: 16px; }
}

@media print {
	.ebld-print, .ebld-tablist { display: none !important; }
	.ebld-panel { display: block !important; page-break-before: always; }
	.ebld-doc { border: none; box-shadow: none; padding: 0; border-radius: 0; }
}
