/* =========================================================
   Sav-Law theme — single stylesheet, no framework.
   Palette from the firm logo: deep teal ink, steel-blue accent.
   ========================================================= */

:root {
	--ink: #1f4f5f;
	--ink-deep: #163d4a;
	--accent: #6f9aa8;
	--accent-soft: #a3bfc7;
	--tint: #dfe9ec;
	--bg: #f4f7f8;
	--paper: #ffffff;
	--line: #d9e3e6;
	--line-strong: #cbd8dc;
	--text: #1f4f5f;
	--muted: #4e6068;
	--subtle: #5f737b;          /* 5.1:1 on --bg: small meta text stays readable */
	--accent-text: #3e6d7d;     /* accent shade for text (5.7:1 on --bg); --accent stays for lines/icons */
	--on-ink: #f4f7f8;
	--on-ink-muted: #d5e2e6;
	--on-ink-subtle: #b7c9cf;   /* 5.7:1 on --ink */
	--serif: 'Frank Ruhl Libre', 'David', 'Times New Roman', serif;
	--sans: 'Heebo', 'Segoe UI', Arial, sans-serif;
	--container: 1248px;
	--narrow: 760px;
	--gutter: clamp(20px, 5vw, 96px);
	--section: clamp(56px, 8vw, 88px);
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }

/* Testimonials marquee */
/* Marquee: dark editorial band, quotes without boxes */
.testi-marquee { position: relative; overflow: hidden; width: 100vw; margin-inline: calc(50% - 50vw); padding: 30px 0; background: var(--ink); color: var(--on-ink); }
.testi-marquee::before, .testi-marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: 180px; z-index: 2; pointer-events: none; }
.testi-marquee::before { right: 0; background: linear-gradient(270deg, var(--ink), rgba(31, 79, 95, 0)); }
.testi-marquee::after { left: 0; background: linear-gradient(90deg, var(--ink), rgba(31, 79, 95, 0)); }
.testi-track { display: flex; gap: 0; width: max-content; animation: testi-scroll var(--testi-duration, 60s) linear infinite; }
.testi-marquee .testi-card { flex: 0 0 420px; background: transparent; border: 0; border-radius: 0; box-shadow: none; padding: 4px 0; margin-inline: 56px; gap: 10px; }
.testi-marquee .testi-quote { position: static; font-size: 40px; line-height: .6; color: var(--accent-soft); opacity: .7; height: 18px; }
.testi-marquee .testi-stars svg { color: #e0b45a; width: 12px; height: 12px; }
.testi-marquee .testi-text, .prose .testi-marquee .testi-text { font-family: var(--serif); font-size: 18px; line-height: 1.5; color: var(--on-ink); -webkit-line-clamp: 3; }
.testi-marquee .testi-meta { border-top: 0; padding-top: 4px; color: var(--on-ink-subtle); gap: 10px; }
.testi-marquee .testi-avatar { background: rgba(255, 255, 255, .10); color: var(--on-ink); border: 1px solid rgba(255, 255, 255, .18); width: 28px; height: 28px; font-size: 14px; }
.testi-marquee .testi-who strong { font-size: 14px; }
.testi-marquee .testi-source { font-size: 10px; padding: 3px 8px; }
.testi-marquee .testi-who strong { color: var(--on-ink); font-weight: 500; letter-spacing: .5px; }
.testi-marquee .testi-area { color: var(--on-ink-subtle); }
.testi-marquee .testi-source { background: transparent; border-color: rgba(255, 255, 255, .22); color: var(--on-ink-muted); }
@keyframes testi-scroll { from { transform: translateX(0); } to { transform: translateX(50%); } }
.testi-marquee:hover .testi-track, .testi-marquee:focus-within .testi-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .testi-track { animation: none; flex-wrap: wrap; width: auto; } }
.testi-card { position: relative; flex: 0 0 380px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 28px 28px 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 10px 30px rgba(31, 79, 95, .06); }
.testi-quote { position: absolute; top: 10px; left: 22px; font-family: var(--serif); font-size: 72px; line-height: 1; color: var(--tint); user-select: none; }
.testi-stars { display: flex; gap: 3px; }
.testi-stars svg { width: 16px; height: 16px; color: #e0a83a; }
.testi-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--tint); color: var(--ink); font-family: var(--serif); font-size: 18px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.testi-who { display: flex; flex-direction: column; gap: 2px; line-height: 1.3; }
.testi-who strong { font-size: 15px; color: var(--ink); font-weight: 600; }
.testi-area { font-size: 12px; color: var(--subtle); }
.testi-text, .prose .testi-text { margin: 0; padding: 0; border: 0; background: transparent; font-family: var(--sans); font-size: 15px; line-height: 1.7; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.testi-grid .testi-card { box-shadow: none; }
.prose .testi-card, .prose .testi-meta { font-size: 15px; }
.prose .testi-marquee, .prose .testi-grid { margin-top: 32px; }
.testi-meta { display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--subtle); margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.testi-source { margin-inline-start: auto; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 11px; letter-spacing: .3px; color: var(--muted); background: var(--bg); white-space: nowrap; }
@media (max-width: 640px) { .testi-card { flex: 0 0 280px; } }
.testi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.testi-grid .testi-card { flex: none; }
.testi-grid .testi-text { -webkit-line-clamp: unset; overflow: visible; }
@media (max-width: 1100px) { .testi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .testi-grid { grid-template-columns: 1fr; } }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent-text); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.2; margin: 0; color: var(--ink); text-wrap: pretty; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; top: -100px; right: 16px; background: var(--ink); color: var(--on-ink); padding: 10px 16px; z-index: 100; }
.skip-link:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); }
.container-narrow { max-width: calc(var(--narrow) + var(--gutter) * 2); }
.section { padding-block: var(--section); }
.section-paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-ink { background: var(--ink); color: var(--on-ink); }
.section-ink .section-title, .section-ink h2 { color: var(--on-ink); }
.section-ink .eyebrow, .section-ink .link-more, .section-ink .meta-cat { color: var(--accent-soft); }
.card { background: var(--paper); border: 1px solid var(--line); padding: clamp(24px, 3vw, 40px); }
.card.sticky { position: sticky; top: 24px; }
.card-title { display: block; font-size: 20px; margin-bottom: 8px; }

/* ---------- Type helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: 2px; font-weight: 500; color: var(--accent-text); }
.eyebrow-line::before { content: ''; width: 32px; height: 1px; background: var(--accent); }
.section-head { display: flex; flex-direction: column; gap: 12px; }
.section-title { font-size: clamp(30px, 3.2vw, 40px); }
.section-title-sm { font-size: 24px; margin-bottom: 16px; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 40px; flex-wrap: wrap; }
.section-lead { color: var(--muted); max-width: 420px; }
.link-more { font-weight: 500; color: var(--accent-text); }
.link-more:hover { color: var(--ink); }
.meta-cat { font-size: 12px; letter-spacing: 1.5px; font-weight: 500; color: var(--accent-text); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; font-size: 15px; font-weight: 500; line-height: 1.2; border: 1.5px solid var(--ink); transition: background .15s, color .15s; min-height: 48px; }
.btn-primary { background: var(--ink); color: var(--on-ink); }
.btn-primary:hover { background: var(--ink-deep); color: var(--on-ink); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--tint); color: var(--ink); }
.btn-block { width: 100%; }
.btn .icon { width: 16px; height: 16px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: var(--on-ink-muted); font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar-group { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.topbar a { color: var(--on-ink-muted); display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: #fff; }

/* ---------- Header ---------- */
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; }
.site-branding img { height: 66px; width: auto; }
.site-name { font-family: var(--serif); font-size: 24px; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav .menu { display: flex; gap: 32px; align-items: center; font-size: 15px; font-weight: 500; }
.site-nav .menu > li { position: relative; }
.site-nav .menu > li > a { padding: 8px 0; display: inline-block; border-bottom: 2px solid transparent; }
.site-nav .menu > li.current-menu-item > a, .site-nav .menu > li.current-menu-ancestor > a { border-bottom-color: var(--accent-text); }
.site-nav .sub-menu { position: absolute; top: 100%; right: 0; min-width: 240px; background: var(--paper); border: 1px solid var(--line); padding: 8px 0; display: none; box-shadow: 0 12px 30px rgba(31, 79, 95, .10); }
.site-nav .menu > li:hover > .sub-menu, .site-nav .menu > li:focus-within > .sub-menu { display: block; }
.site-nav .sub-menu a { display: block; padding: 10px 18px; font-weight: 400; }
.site-nav .sub-menu a:hover { background: var(--bg); }
.nav-cta { display: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; color: var(--ink); }
.nav-toggle .icon-close { display: none; }
body.nav-open .nav-toggle .icon-menu { display: none; }
body.nav-open .nav-toggle .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(48px, 6vw, 88px); }
.hero-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero-title { font-size: clamp(38px, 4.4vw, 60px); line-height: 1.12; }
.hero-text { font-size: 19px; color: var(--muted); max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-facts { display: flex; gap: 36px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.hero-facts li { display: flex; flex-direction: column; gap: 4px; }
.hero-facts strong { color: var(--ink); font-weight: 600; }
.hero-side { display: flex; flex-direction: column; gap: 20px; }
.hero-quote { margin: 0; position: relative; overflow: hidden; background: var(--ink); color: var(--on-ink); padding: 48px 44px; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; gap: 20px; }
.hero-quote .icon { position: absolute; top: -40px; left: -40px; opacity: .12; stroke-width: .6; }
.hero-quote p { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.35; }
.hero-quote cite { font-style: normal; font-size: 13px; letter-spacing: 2px; color: var(--on-ink-subtle); }
.hero-win { background: var(--paper); border: 1px solid var(--line); padding: 24px 28px; display: flex; flex-direction: column; gap: 10px; }
.hero-win-meta { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: 2px; color: var(--accent-text); font-weight: 500; }
.hero-win strong { font-weight: 500; font-size: 17px; line-height: 1.5; }
.hero-win { padding: 28px 32px; gap: 16px; }
.hero-win-list { display: flex; flex-direction: column; }
.hero-win-list li { display: flex; flex-direction: column; gap: 6px; padding: 16px 0; border-top: 1px solid var(--line); }
.hero-win-list li:first-child { border-top: 0; padding-top: 4px; }
.hero-win-list time { font-size: 12px; letter-spacing: 1.5px; color: var(--accent-text); font-weight: 500; }
.hero-win-list a { font-size: 16px; line-height: 1.55; font-weight: 500; }
.hero-win-list a:hover { color: var(--accent-text); }
.hero-win-list a { font-weight: 400; }
.hero-win-list strong, .wins-list strong, .win-title strong { font-weight: 700; color: var(--ink); }
.wins-list > li div > a { font-weight: 400; }
.hero-win > .link-more { margin-top: 4px; }

/* ---------- Practice areas ---------- */
.areas-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.area-card { background: var(--bg); padding: 28px 26px; display: flex; flex-direction: column; gap: 16px; min-height: 180px; border: 1px solid transparent; transition: border-color .15s, background .15s; }
.section-paper .area-card { background: var(--bg); }
.area-card:hover { border-color: var(--accent-soft); background: var(--paper); color: var(--ink); }
.area-card h2, .area-card h3 { font-size: 20px; }
.area-card p { font-size: 14px; color: var(--muted); line-height: 1.55; }
.area-card .icon { color: var(--ink); }

/* ---------- Achievements ---------- */
.wins-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
.wins-intro { display: flex; flex-direction: column; gap: 16px; }
.wins-intro p { color: var(--muted); }
.wins-list > li, .win-row { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line-strong); }
.wins-list > li:last-child, .win-row:last-child { border-bottom: 1px solid var(--line-strong); }
.wins-list time, .win-row time { font-size: 14px; color: var(--subtle); }
.wins-list > li div, .win-row div { display: flex; flex-direction: column; gap: 6px; }
.wins-list > li div > a, .win-title { font-size: 19px; font-weight: 500; line-height: 1.45; font-family: var(--sans); }
.win-row p { color: var(--muted); font-size: 15px; }

/* ---------- Method ---------- */
.method-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; align-items: center; }
.method-grid .section-title { font-size: clamp(30px, 3.4vw, 44px); margin-top: 20px; }
.method-text { display: flex; flex-direction: column; gap: 24px; font-size: 17px; line-height: 1.7; color: var(--on-ink-muted); }
.method-text p { margin: 0; }

/* ---------- Team ---------- */
.team .section-head { margin-bottom: 40px; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.team-card { display: flex; flex-direction: column; gap: 16px; }
.team-photo { aspect-ratio: 4 / 5; background: var(--tint); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo span { font-family: var(--serif); font-size: 64px; color: var(--accent-text); }
.team-card h3 { font-size: 24px; }
.team-card p { font-size: 15px; color: var(--muted); }

/* ---------- Press ---------- */
.press-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.press-card { background: var(--paper); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.press-logo { height: 96px; display: flex; align-items: center; justify-content: flex-start; overflow: hidden; }
.press-logo img { max-height: 96px; max-width: 100%; width: auto; height: auto; object-fit: contain; object-position: right top; }
.press-logo span { font-family: var(--serif); font-size: 40px; color: var(--accent-text); }
.press-card h2 { font-size: 22px; }
.press-card p { color: var(--muted); font-size: 15px; flex: 1; }

/* ---------- Clients ---------- */
.client-logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.client-logos figure { margin: 0; background: var(--paper); border: 1px solid var(--line); padding: 20px; display: flex; align-items: center; justify-content: center; min-height: 120px; }
.client-logos img { max-height: 80px !important; max-width: 100% !important; width: auto !important; height: auto !important; object-fit: contain !important; }
.client-logos > figure.wp-block-image { width: 100% !important; flex: none !important; max-width: none !important; }

/* ---------- Knowledge (articles + forums) ---------- */
.knowledge-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: start; }
.knowledge .section-head { margin-bottom: 0; }
.knowledge .section-head-row { margin-bottom: 24px; }
.knowledge > .container > div > .section-head { margin-bottom: 24px; }
.post-list li { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 18px 0; border-top: 1px solid var(--line-strong); }
.post-list li:last-child { border-bottom: 1px solid var(--line-strong); }
.post-list li > a:first-child { font-size: 18px; font-weight: 500; }
.post-list .meta-cat { white-space: nowrap; }
.forum-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.forum-list a { background: var(--bg); padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; border: 1px solid transparent; }
.forum-list a:hover { border-color: var(--accent-soft); }
.forum-list a > span { display: flex; flex-direction: column; gap: 4px; }
.forum-list strong { font-weight: 500; font-size: 17px; }
.forum-list small { font-size: 13px; color: var(--subtle); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info > p { color: var(--muted); max-width: 480px; }
.contact-dl { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.contact-dl div { display: flex; gap: 14px; align-items: baseline; }
.contact-dl dt { width: 90px; flex: none; font-size: 13px; letter-spacing: 1px; color: var(--subtle); }
.contact-dl dd { margin: 0; }
.contact-links { display: flex; gap: 12px; flex-wrap: wrap; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form p, .comment-form p { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.contact-form label, .comment-form label { font-size: 13px; font-weight: 500; }
.contact-form input, .contact-form select, .contact-form textarea, .comment-form input, .comment-form textarea, .search-form input, .forum-form input, .forum-form select, .forum-form textarea { width: 100%; min-height: 48px; padding: 10px 14px; background: var(--paper); border: 1px solid var(--line-strong); border-radius: 0; }
.contact-form textarea, .comment-form textarea, .forum-form textarea { min-height: 120px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus, .forum-form textarea:focus, .forum-form input:focus { border-color: var(--accent-text); outline: none; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-note { font-size: 12px; color: var(--subtle); line-height: 1.5; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; pointer-events: none; }
.share-card { margin-top: 32px; padding: 24px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.share-card .footer-title { color: var(--ink); margin: 0; }
.share-card-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.prose .share-btn, .share-btn, .share-btn span { text-decoration: none !important; }
.share-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px 10px; min-height: 92px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font: inherit; font-size: 13px; font-weight: 500; line-height: 1.2; text-align: center; cursor: pointer; transition: transform .15s, box-shadow .15s, border-color .15s, background .15s; }
.share-btn .icon { width: 24px; height: 24px; color: var(--accent-text); }
.share-btn:hover, .share-btn:focus-visible { background: var(--paper); border-color: var(--accent-soft); box-shadow: 0 8px 20px rgba(31, 79, 95, .10); transform: translateY(-2px); color: var(--ink); }
.share-btn-wa .icon { color: #25d366; }
.share-btn-waze .icon { color: #33ccff; }
.share-btn-waze:hover { border-color: #33ccff; }
.share-card { margin-top: 24px; }
.share-btn-wa:hover { border-color: #25d366; }
.share-card-note { font-size: 13px; color: var(--accent-text); min-height: 1.4em; }
.faq-item { margin: 1.6em 0; padding: 18px 22px; background: var(--paper); border: 1px solid var(--tint); border-inline-start: 4px solid var(--accent); border-radius: 6px; }
.faq-item + .faq-item { margin-top: 14px; }
.prose .faq-q { display: flex; gap: 12px; align-items: flex-start; margin: 0; font-size: 20px; line-height: 1.4; color: var(--ink); text-align: start; }
.prose .faq-q::before { content: "?"; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 16px/30px "Heebo", sans-serif; text-align: center; }
.faq-a { margin-top: 12px; padding-inline-start: 42px; position: relative; }
.faq-a::before { content: "תשובה"; position: absolute; inset-inline-start: 0; top: 2px; font-size: 11px; letter-spacing: 1px; font-weight: 600; color: var(--accent-text); }
.prose .faq-a > p { margin: 0; }
.prose .faq-a > p + p { margin-top: 0.8em; }
.prose .faq-a > p + .faq-list, .prose .faq-a > .faq-list + p { margin-top: 0.6em; }
.prose .faq-list { list-style: none; margin: 0; padding: 0 12px 0 0; border-inline-start: 2px solid var(--tint); }
.prose .faq-list li { margin: 0; padding: 3px 0; text-align: start; }
.prose .guide-next { margin-top: 1.6em; padding: 14px 18px; background: var(--tint); border-radius: 6px; font-weight: 500; text-align: start; }
.prose .guide-next a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.article-disclaimer { margin-top: 40px; padding: 14px 18px; border-inline-start: 3px solid var(--accent-soft); background: var(--paper); font-size: 13px; line-height: 1.6; color: var(--muted); text-align: start; }
.article-copyright { margin: 10px 0 0; font-size: 11.5px; letter-spacing: 0.3px; color: var(--subtle); text-align: start; }
.share-article { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.share-article-title { font-size: 13px; letter-spacing: 1.5px; font-weight: 500; color: var(--accent-text); }
.share-article-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.share-btn-sm { flex-direction: row; min-height: 42px; padding: 8px 14px; gap: 8px; font-size: 13px; border-radius: 999px; }
.share-btn-sm .icon { width: 18px; height: 18px; }
.share-btn-sm:hover { transform: none; box-shadow: 0 4px 12px rgba(31, 79, 95, .10); }
.notice { padding: 14px 18px; border: 1px solid var(--line-strong); background: var(--bg); margin-bottom: 18px; font-size: 15px; }
.notice-ok { border-color: #8fb8a3; background: #eef7f2; }
.notice-err { border-color: #d9a3a3; background: #fbeeee; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink-subtle); padding: 56px 0 40px; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand { font-family: var(--serif); font-size: 24px; color: var(--on-ink); display: block; margin-bottom: 14px; }
.footer-about p { font-size: 14px; max-width: 320px; }
.footer-title { display: block; color: var(--on-ink); font-weight: 500; margin-bottom: 12px; }
.footer-menu, .footer-contact { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.site-footer a { color: var(--on-ink-subtle); }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; margin-top: 40px; border-top: 1px solid #2c5e6f; font-size: 12px; }
.legal-menu { display: flex; gap: 20px; }
.mobile-bar { display: none; }

/* ---------- Inner pages ---------- */
.page-header { padding: clamp(32px, 5vw, 64px) 0 32px; display: flex; flex-direction: column; gap: 14px; }
.page-title { font-size: clamp(32px, 4vw, 48px); }
.page-intro { font-size: 18px; color: var(--muted); max-width: none; }
.breadcrumbs { font-size: 13px; color: var(--subtle); display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumbs a { color: var(--subtle); }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs li::after { content: '/'; margin-inline-start: 8px; color: var(--line-strong); }
.breadcrumbs li:last-child::after { content: ''; }
.entry-meta { font-size: 14px; color: var(--subtle); margin-bottom: 28px; }
.page-figure { margin: 0 0 32px; }
.figure-portrait { max-width: 320px; }
.page-article, .single-article { padding-bottom: var(--section); }
.entry-cta { margin-top: 48px; display: flex; flex-direction: column; gap: 10px; }
.entry-cta strong { font-size: 20px; }
.entry-cta p { color: var(--muted); }
.entry-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.related { margin-top: 48px; }
.area-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; padding-bottom: var(--section); }
.area-side { display: flex; flex-direction: column; gap: 32px; }
.side-nav ul { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.side-nav li { border-top: 1px solid var(--line); padding-top: 8px; }
.cat-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.cat-nav a { padding: 8px 14px; border: 1px solid var(--line-strong); font-size: 14px; }
.cat-nav a[aria-current], .cat-nav a:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-bottom: var(--section); }
.post-card { background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; }
.post-card-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.post-cover { position: relative; height: 96px; background: var(--tint); border-bottom: 1px solid var(--line); overflow: hidden; }
.post-cover .icon { position: absolute; left: -18px; bottom: -22px; width: 150px; height: 150px; color: var(--accent-soft); opacity: .55; stroke-width: .8; transform: rotate(-8deg); }
.post-cover::after { content: ''; position: absolute; right: 24px; top: 40px; width: 40px; height: 2px; background: var(--accent); }
.post-card:hover .post-cover .icon { opacity: .8; }
.post-card-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-card-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--subtle); }
.post-card-title { font-size: 22px; }
.post-card p { color: var(--muted); font-size: 15px; flex: 1; }
.empty { color: var(--muted); margin-bottom: 24px; }
.search-form { display: flex; gap: 10px; margin-bottom: 32px; }
.pagination { padding-bottom: var(--section); }
.pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line-strong); }
.pagination .page-numbers.current { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }

/* ---------- Prose (editor content) ---------- */
.prose { font-size: 16px; line-height: 1.75; text-align: justify; }
.prose h1, .prose h2, .prose h3, .prose h4, .prose li, .prose summary { text-align: start; }
.prose p, .page-intro, .prose .page-intro { text-align: justify; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 30px; margin-top: 1.8em; }
.prose h3 { font-size: 24px; margin-top: 1.5em; }
.prose h4 { font-size: 20px; margin-top: 1.4em; font-family: var(--sans); font-weight: 600; }
.prose p { margin: 0; }
.prose > * + p, .prose > p + * { margin-top: 1.1em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin: 0; padding: 20px 28px; border-inline-start: 3px solid var(--accent-soft); background: var(--paper); font-family: var(--serif); font-size: 22px; }
.prose .law-quote { margin: 1.4em 0; border-inline-start-color: var(--ink); color: var(--ink); font-size: 20px; line-height: 1.7; }
.prose .law-quote p { margin: 0; text-align: start; }
.prose .law-quote p + p { margin-top: 0.6em; }
.prose .law-quote cite { display: block; margin-top: 10px; font-family: var(--sans); font-style: normal; font-size: 13px; color: var(--muted); }
.prose figure { margin: 0; }
.prose figcaption { font-size: 14px; color: var(--subtle); margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line-strong); padding: 10px 12px; text-align: right; }
.prose th { background: var(--paper); }
.prose hr { border: 0; border-top: 1px solid var(--line-strong); }
.prose strong { font-weight: 600; }
.prose .wp-block-buttons a { text-decoration: none; }
.prose .wp-block-button__link { display: inline-block; padding: 14px 26px; background: var(--ink); color: var(--on-ink); border: 1.5px solid var(--ink); font-weight: 500; border-radius: 0; }
.prose .is-style-outline .wp-block-button__link { background: transparent; color: var(--ink); }
.prose .wp-block-columns { display: flex; gap: 32px; }
.prose .wp-block-column { flex: 1; min-width: 0; }
.prose .has-ink-background-color { background: var(--ink); color: var(--on-ink); padding: 28px; }
.prose .has-tint-background-color { background: var(--tint); padding: 28px; }
.prose .has-paper-background-color { background: var(--paper); padding: 28px; }
.prose .wp-block-group.has-background { padding: 28px; }
.prose .alignwide { margin-inline: calc(50% - min(50vw, 624px)); }
.page-wide .prose .alignwide { margin-inline: 0; }
.page-wide .page-intro { max-width: none; }
.prose .aligncenter { margin-inline: auto; }
.prose .alignleft { float: left; margin: 0 0 1em 1.5em; }
.prose .alignright { float: right; margin: 0 1.5em 1em 0; }
.prose .wp-block-details { border: 1px solid var(--line-strong); padding: 14px 18px; }
.prose .wp-block-details summary { font-weight: 600; cursor: pointer; }

/* ---------- Facebook group CTA (labor page) ---------- */
.prose .group-cta { display: flex; align-items: center; gap: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 24px 28px; margin-top: 1.5em; }
.group-cta-body { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.prose .group-cta-logo { flex: 0 0 260px; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 500; transition: transform .15s, box-shadow .15s, border-color .15s; }
.prose .group-cta-logo img { width: 100%; height: auto; border-radius: 8px; }
.prose .group-cta-logo:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(31, 79, 95, .12); border-color: var(--accent-soft); color: var(--ink); }
.group-cta-body .eyebrow { color: #0b5fcc; }
.group-cta-body h3 { font-size: 26px; margin: 0; }
.group-cta-body p { font-size: 15px; color: var(--muted); margin: 0; text-align: start; }
.group-cta-stats { display: flex; gap: 20px; font-size: 13px; color: var(--subtle); }
.group-cta-stats strong { display: block; font-size: 20px; color: var(--ink); font-family: var(--serif); }
.prose .group-cta-btn { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; margin-top: 6px; padding: 13px 22px; background: #1877f2; color: #fff; border-radius: 10px; font-weight: 500; font-size: 15px; text-decoration: none; transition: background .15s, transform .15s; }
.prose .group-cta-btn:hover { background: #135fc4; color: #fff; transform: translateY(-1px); }
.group-cta-btn svg { width: 18px; height: 18px; }
@media (max-width: 760px) { .prose .group-cta { flex-direction: column; align-items: stretch; } .prose .group-cta-logo { flex-basis: auto; } }

/* ---------- Forum ---------- */
/* Forum boards (index) */
.forum-boards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-bottom: 40px; }
.forum-board { position: relative; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--accent); padding: 32px 28px 28px; display: flex; flex-direction: column; gap: 10px; transition: box-shadow .2s, transform .2s; }
.forum-board:hover { box-shadow: 0 14px 34px rgba(31, 79, 95, .10); transform: translateY(-2px); }
.forum-board-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--tint); color: var(--ink); display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.forum-board-eyebrow { font-size: 12px; letter-spacing: 2px; font-weight: 500; color: var(--accent-text); }
.prose .forum-board-title, .forum-board-title { font-size: 26px; margin: 0; line-height: 1.25; }
.prose .forum-board-title a, .forum-board-title a { color: var(--ink); text-decoration: none; }
.forum-board-title a::after { content: ''; position: absolute; inset: 0; }
.prose .forum-board-desc, .forum-board-desc { color: var(--muted); font-size: 15px; line-height: 1.6; flex: 1; margin: 0; text-align: start; }
.forum-board-stats { display: flex; gap: 24px; margin: 8px 0 4px; padding-top: 14px; border-top: 1px solid var(--line); }
.forum-board-stats div { display: flex; flex-direction: column; gap: 2px; }
.forum-board-stats dt { font-size: 11px; letter-spacing: 1px; color: var(--subtle); font-weight: 500; }
.forum-board-stats dd { margin: 0; font-family: var(--serif); font-size: 17px; color: var(--ink); line-height: 1.3; white-space: nowrap; }
.forum-board-actions { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.forum-board-actions .btn { min-height: 44px; padding: 10px 14px; font-size: 14px; }
.prose .forum-board-actions a { text-decoration: none; }
/* Forum board page */
.forum-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; padding-bottom: var(--section); }
.question-list { display: flex; flex-direction: column; gap: 12px; }
.question-row { background: var(--paper); border: 1px solid var(--line); padding: 22px 26px; display: flex; gap: 20px; align-items: flex-start; transition: border-color .15s, box-shadow .15s; }
.question-row:hover { border-color: var(--accent-soft); box-shadow: 0 8px 24px rgba(31, 79, 95, .07); }
.question-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.question-row h2 { font-size: 19px; font-family: var(--sans); font-weight: 500; line-height: 1.35; }
.question-row h2 a { color: var(--ink); }
.question-row h2 a:hover { color: var(--accent-text); }
.question-row p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.question-meta { display: flex; gap: 6px 14px; font-size: 13px; color: var(--subtle); flex-wrap: wrap; margin-top: 4px; }
.question-meta-asker { color: var(--ink); font-weight: 500; }
.question-row-side { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; flex: none; }
.question-row-link { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; color: var(--ink); transition: background .15s, border-color .15s; }
.question-row:hover .question-row-link { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; font-size: 12px; font-weight: 500; letter-spacing: .3px; border-radius: 999px; background: var(--tint); color: var(--ink); white-space: nowrap; }
.badge-answered { background: #e6f2ec; color: #1f5a3c; }
.badge-answered .icon { width: 13px; height: 13px; stroke-width: 2.5; }
.forum-aside { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 24px; }
.forum-ask .card-title { margin-bottom: 4px; }
.forum-ask-lead { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.forum-form { display: flex; flex-direction: column; gap: 14px; }
.forum-form p { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.forum-form label { font-size: 13px; font-weight: 500; }
.forum-disclaimer { font-size: 13px; color: var(--muted); line-height: 1.6; padding: 14px 16px; background: var(--bg); border: 1px solid var(--line); }
.forum-disclaimer-top { margin: 0; border-inline-start: 3px solid var(--accent-soft); background: var(--paper); }
.forum-disclaimer-top::before { content: 'הבהרה משפטית: '; font-weight: 600; color: var(--ink); }
.pagination { padding: 28px 0 0; }
.pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.pagination .page-numbers { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; color: var(--ink); background: var(--paper); }
.pagination .page-numbers:hover { border-color: var(--accent-text); color: var(--accent-text); }
.pagination .page-numbers.current { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.pagination .page-numbers.dots { border: 0; background: transparent; }
/* Single question */
.question-body { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--accent); padding: clamp(24px, 3vw, 36px); margin-bottom: 32px; }
.question-body .prose { font-size: 17px; }
.question-asker { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--subtle); }
.question-asker-avatar, .answer-avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--tint); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 18px; }
.question-asker-text { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.question-asker-text strong { color: var(--ink); font-weight: 500; font-size: 15px; }
.question-asker-text a { color: var(--accent-text); }
.question-asker-count { font-size: 13px; padding: 4px 12px; border-radius: 999px; background: var(--bg); color: var(--ink); }
.answers { margin-bottom: 32px; }
.answer-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.answer-list .children { margin-top: 16px; margin-inline-start: 32px; display: flex; flex-direction: column; gap: 16px; }
.answer { background: var(--paper); border: 1px solid var(--line); padding: 24px 28px; }
.answer.is-staff { border-color: var(--accent-soft); border-inline-start: 4px solid var(--accent); background: linear-gradient(180deg, #fff, var(--paper)); }
.answer-head { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--subtle); margin-bottom: 12px; flex-wrap: wrap; }
.answer-avatar { width: 34px; height: 34px; font-size: 15px; }
.answer.is-staff .answer-avatar { background: var(--ink); color: var(--on-ink); }
.answer-head strong { color: var(--ink); font-weight: 500; flex: 1; }
.answer-body { font-size: 16px; line-height: 1.75; }
.answer-body p + p { margin-top: .8em; }
.answer-reply { margin-top: 12px; font-size: 13px; }
.answer-reply a { color: var(--accent-text); }
.comment-respond.card { padding: clamp(20px, 3vw, 32px); }
.comment-respond .section-title-sm { font-size: 22px; margin-bottom: 4px; }
.comment-form { display: flex; flex-direction: column; gap: 14px; }
.comment-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.comment-form .form-submit { flex-direction: row; margin: 0; }
.comment-form input[type="submit"].btn { width: auto; min-height: 48px; padding: 12px 28px; background: var(--ink); color: var(--on-ink); border: 1.5px solid var(--ink); cursor: pointer; font-size: 15px; font-weight: 500; }
.comment-form input[type="submit"].btn:hover { background: var(--ink-deep); }
.comment-form .comment-form-cookies-consent { display: none; }
.forum-ask-cta { margin-top: 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.forum-ask-cta p { color: var(--muted); font-size: 15px; }
.forum-ask-cta .btn { flex: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.areas-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.press-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.client-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
	.topbar { display: none; }
	.header-inner { min-height: 68px; }
	.site-branding img { height: 46px; }
	.header-cta { display: none; }
	.nav-toggle { display: inline-flex; }
	.site-nav { display: none; position: absolute; top: 100%; right: 0; left: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 16px var(--gutter) 24px; flex-direction: column; align-items: stretch; gap: 8px; box-shadow: 0 20px 40px rgba(31, 79, 95, .12); }
	body.nav-open .site-nav { display: flex; }
	.site-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav .menu > li > a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
	.site-nav .sub-menu { position: static; display: none; border: 0; box-shadow: none; padding: 0 0 8px 0; background: var(--bg); }
	.site-nav .menu > li.open > .sub-menu { display: block; }
	.site-nav .menu > li:hover > .sub-menu { display: none; }
	.site-nav .menu > li.open:hover > .sub-menu { display: block; }
	.nav-cta { display: inline-flex; margin-top: 12px; }
	.hero-grid, .method-grid, .contact-grid, .knowledge-grid, .wins-grid { grid-template-columns: 1fr; gap: 40px; }
	.area-layout, .forum-layout { grid-template-columns: 1fr; gap: 40px; }
	.card.sticky { position: static; }
	.team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: sticky; bottom: 0; background: var(--paper); border-top: 1px solid var(--line); padding: 10px var(--gutter); z-index: 30; }
	.mobile-bar .btn { min-height: 46px; padding: 10px; }
	body { padding-bottom: 0; }
}

@media (max-width: 640px) {
	body { font-size: 16px; }
	.areas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.area-card { padding: 18px 16px; min-height: 96px; gap: 12px; }
	.area-card h2, .area-card h3 { font-size: 16px; }
	.area-card p { display: none; }
	.post-grid, .team-grid, .forum-boards, .footer-grid { grid-template-columns: 1fr; }
	.question-row { flex-direction: column; }
	.question-row-side { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; }
	.forum-aside { position: static; }
	.comment-form .form-grid { grid-template-columns: 1fr; }
	.press-grid { grid-template-columns: 1fr; }
	.client-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wins-list > li, .win-row { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
	.form-grid { grid-template-columns: 1fr; }
	.hero-actions .btn { width: 100%; }
	.hero-facts { gap: 20px; }
	.hero-quote { padding: 28px 24px; min-height: 0; }
	.prose { font-size: 17px; }
	.prose h2 { font-size: 26px; }
	.prose .wp-block-columns { flex-direction: column; }
	.post-list li { flex-direction: column; align-items: flex-start; gap: 4px; }
	.footer-bottom { flex-direction: column; align-items: flex-start; }
	.section-head-row { margin-bottom: 24px; }
}

@media print {
	.topbar, .site-header, .site-footer, .mobile-bar, .entry-cta, .area-side { display: none !important; }
	body { background: #fff; }
}
