/* kubi.co.il - עיצוב "רענון נקי" (כיוון א׳)
   מבנה הקובץ: משתנים > בסיס > כותרת ותפריט > כפתורים > דגמי פריסה > עמוד הבית > בלוג > חיפוש > טפסים > תחתית
   דגמי הפריסה (להשתמש רק בהם בבניית עמודים):
   .page-head        פתיח עמוד (כותרת, תיאור קצר)
   .section / .section-alt   מקטע (alt = רקע אפור)
   .prose            טקסט רציף ברוחב קריאה
   .cards / .card    כרטיסים (כלים, קישורים, קורסים)
   .media            תמונה או סרטון לצד טקסט (.media-rev להיפוך)
   .videos / .video  רשת סרטונים עם כותרת ותיאור
   .dl-list / .dl    רשימת הורדות
   .products / .product   מוצר עם מחיר וכפתורי רכישה
   .gallery          גלריית תמונות עם כיתוב
   .faq              שאלות ותשובות (נפתחות)
   .quotes / .quote  המלצות (הרשת מתכווצת גם במסכים צרים)
   .callout          הודעה מודגשת
   .timeline         יומן עדכונים
   .actions          שורת כפתורים
*/
:root {
  --bg: #FFFFFF;
  --bg-alt: #F4F7FA;
  --ink: #1F2933;
  --text: #3E4A56;
  --muted: #5B6773;
  --line: #E3E8EE;
  --line-strong: #C9D2DB;
  --blue: #1A6FB8;
  --blue-dark: #124F85;
  --blue-soft: #E8F1FA;
  --orange: #E88B2E;
  --orange-text: #A85A10;
  --dark: #1F2933;
  --font-display: 'Heebo', 'Assistant', sans-serif;
  --font-body: 'Assistant', 'Heebo', sans-serif;
  --wrap: 1200px;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 18px; line-height: 1.65; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.25; margin: 0; color: var(--ink); }
code { font-family: Consolas, 'Courier New', monospace; font-size: .92em; background: var(--bg-alt); padding: 1px 6px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; right: 12px; top: -60px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 50; }
.skip:focus { top: 8px; }

/* ---------- כותרת ותפריט ---------- */
.topbar { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.topbar-in { display: flex; align-items: center; gap: 10px 20px; min-height: 68px; flex-wrap: nowrap; padding-top: 8px; padding-bottom: 8px; max-width: 1320px; }
.brand { flex: none; display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.brand svg { color: #2B3640; }
.brand:hover { color: var(--ink); text-decoration: none; }
.site-nav { flex: 1 1 auto; min-width: 0; }
.site-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px; justify-content: center; }
.site-nav li { position: relative; }
.site-nav a { display: block; padding: 8px 7px; color: var(--ink); font-weight: 600; font-size: 16.5px; border-radius: 6px; white-space: nowrap; }
.site-nav a:hover { color: var(--blue); background: var(--blue-soft); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--blue); }
.site-nav .sub { list-style: none; margin: 0; padding: 6px; position: absolute; top: 100%; right: 0; min-width: 210px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 28px rgba(31,41,51,.12); display: none; }
.site-nav .sub a { font-weight: 500; padding: 8px 12px; }
.site-nav li:hover > .sub, .site-nav li:focus-within > .sub { display: block; }
.has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-inline-start: 7px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(-45deg); opacity: .55; }
.search-mini { flex: none; }
.search-mini input { font: inherit; font-size: 16px; padding: 8px 12px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); border-radius: 8px; width: 150px; min-height: 44px; }
.menu-toggle { display: none; font: inherit; font-weight: 700; font-size: 17px; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 8px; min-height: 44px; padding: 6px 14px; align-items: center; gap: 8px; cursor: pointer; margin-inline-start: auto; }
@media (max-width: 1180px) {
  .topbar-in { flex-wrap: wrap; }
  .menu-toggle { display: inline-flex; }
  .site-nav { display: none; flex-basis: 100%; order: 3; }
  .site-nav.open { display: block; }
  .site-nav > ul { flex-direction: column; justify-content: flex-start; padding: 6px 0 12px; }
  .site-nav .sub { position: static; display: block; border: 0; box-shadow: none; padding: 0 18px 4px 0; min-width: 0; }
  .has-sub > a::after { display: none; }
  .search-mini { order: 4; flex-basis: 100%; display: none; }
  .site-nav.open + .search-mini { display: block; padding-bottom: 12px; }
  .search-mini input { width: 100%; }
}

/* ---------- כפתורים ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 22px; border-radius: 8px; font-family: var(--font-body); font-weight: 700; font-size: 17px; line-height: 1.2; border: 2px solid var(--blue); cursor: pointer; text-align: center; }
.btn:hover { text-decoration: none; }
.btn-primary, .btn-solid { background: var(--blue); color: #fff; }
.btn-primary:hover, .btn-solid:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn-outline, .btn-line { background: #fff; color: var(--blue); }
.btn-outline:hover, .btn-line:hover { background: var(--blue-soft); color: var(--blue-dark); }
.btn-accent { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.btn-accent:hover { background: #D97A1C; border-color: #D97A1C; color: var(--ink); }
.btn-ghost-light { background: transparent; border-color: #8796A5; color: #fff; }
.btn-ghost-light:hover { border-color: #fff; color: #fff; }
.btn-sm { min-height: 38px; padding: 6px 14px; font-size: 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.actions.center { justify-content: center; }

/* ---------- דגמי פריסה ---------- */
.page-head { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-top: 44px; padding-bottom: 36px; }
.page-head .eyebrow { margin: 0 0 8px; font-weight: 700; color: var(--orange-text); font-size: 17px; }
.page-head h1 { font-weight: 800; font-size: clamp(32px, 4.4vw, 46px); }
.page-head .lead { margin: 12px 0 0; font-size: 20px; color: var(--text); max-width: 760px; }
.page-head .actions { margin-top: 20px; }

.section { padding: 48px 0; }
.section:not(.section-alt) + .section:not(.section-alt) { padding-top: 0; }
.section-alt { background: var(--bg-alt); padding: 48px 0; }
.section-alt + .section { padding-top: 48px; }
.section-title { font-weight: 800; font-size: 30px; margin: 0 0 8px; }
.section-intro { margin: 0 0 24px; color: var(--text); max-width: 760px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 20px; margin-bottom: 20px; }

.prose { max-width: 780px; }
.prose > :first-child, .wrap > :first-child { margin-top: 0; }
.prose p { margin: 0 0 14px; }
.prose h2 { font-size: 26px; font-weight: 800; margin: 30px 0 10px; }
.prose h3 { font-size: 21px; font-weight: 700; margin: 22px 0 8px; }
.prose ul, .prose ol { margin: 0 0 14px; padding-inline-start: 24px; }
.prose li { margin-bottom: 5px; }
.prose figure { margin: 18px 0; }
.prose figure img { border-radius: 6px; }
.prose figcaption, figcaption { font-size: 15px; color: var(--muted); margin-top: 6px; }
.prose blockquote { margin: 0 0 14px; padding: 4px 18px; border-inline-start: 4px solid var(--line-strong); color: var(--text); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
.prose .center { text-align: center; }
.prose video, .media video, .video video { display: block; width: 100%; height: auto; border-radius: 8px; background: #000; }
.prose audio { width: 100%; margin: 8px 0 16px; }
.embed { position: relative; aspect-ratio: 16 / 9; margin: 8px 0 16px; border-radius: 8px; overflow: hidden; background: #000; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.table-wrap { overflow-x: auto; margin: 0 0 16px; }
.table-wrap table { border-collapse: collapse; width: 100%; font-size: 17px; }
.table-wrap td { border: 1px solid var(--line); padding: 8px 10px; vertical-align: top; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--line); border-radius: 12px; padding: 24px; background: #fff; color: var(--ink); }
a.card:hover { text-decoration: none; border-color: var(--blue); box-shadow: 0 8px 22px rgba(26,111,184,.10); color: var(--ink); }
.card .eyebrow { font-size: 14px; font-weight: 700; color: var(--blue); letter-spacing: .03em; }
.card .eyebrow.free { color: var(--orange-text); }
.card h3 { font-size: 22px; font-weight: 700; }
.card p { margin: 0; color: var(--text); }
.card .more { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--blue); }
.card img { border-radius: 8px; }

.media { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: flex-start; margin: 0 0 36px; }
.media:last-child { margin-bottom: 0; }
.media-fig { flex: 1 1 340px; min-width: 0; }
.media-body { flex: 1.2 1 360px; min-width: 0; }
.media-rev { flex-direction: row-reverse; }
.media-fig img { border-radius: 8px; display: block; margin: 0 auto; }
.media-body h2, .media-body h3 { font-size: 24px; font-weight: 800; margin: 0 0 10px; }
.media-body p { margin: 0 0 12px; }

.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px 24px; }
.video { display: flex; flex-direction: column; gap: 10px; }
.video h3 { font-size: 20px; font-weight: 700; }
.video p { margin: 0; color: var(--text); font-size: 17px; }
.video .actions { margin: 4px 0 0; }

.dl-list { display: flex; flex-direction: column; gap: 14px; }
.dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.dl-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.dl-head h3 { font-size: 21px; font-weight: 700; }
.dl-code { font-family: Consolas, monospace; font-size: 14px; color: var(--muted); background: var(--bg-alt); padding: 1px 8px; border-radius: 4px; direction: ltr; }
.dl-date { font-size: 15px; color: var(--muted); }
.dl-body { grid-column: 1; color: var(--text); font-size: 17px; }
.dl-body p { margin: 6px 0 0; }
.dl-body details summary { cursor: pointer; color: var(--blue); font-weight: 600; margin-top: 6px; }
.dl-actions { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; gap: 8px; align-self: center; min-width: 140px; }
@media (max-width: 700px) {
  .dl { grid-template-columns: 1fr; }
  .dl-actions { grid-column: 1; grid-row: auto; flex-direction: row; flex-wrap: wrap; }
}
.file { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #fff; margin: 4px 0 10px; }
.file:hover { border-color: var(--blue); text-decoration: none; color: var(--blue); }
.file .ext { font-size: 13px; font-weight: 700; color: #fff; background: var(--orange-text); border-radius: 4px; padding: 1px 6px; }

.products { display: flex; flex-direction: column; gap: 24px; }
.product { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px 32px; padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.product-img img { border-radius: 8px; display: block; }
.product h2, .product h3 { font-size: 26px; font-weight: 800; }
.product .tagline { margin: 4px 0 10px; color: var(--orange-text); font-weight: 700; }
.product .desc p { margin: 0 0 10px; color: var(--text); }
.product .details { margin-top: 6px; }
.product .details summary { cursor: pointer; color: var(--blue); font-weight: 700; }
.buy { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.price { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--ink); }
.price small { font-family: var(--font-body); font-size: 15px; font-weight: 500; color: var(--muted); }
.buy form { margin: 0; }
.buy .pay-note { font-size: 15px; color: var(--muted); }
@media (max-width: 700px) { .product { grid-template-columns: 1fr; } .product-img { max-width: 260px; } }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 28px 22px; }
.gallery figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.gallery figure > a { display: block; max-width: 100%; }
.gallery img { display: block; width: auto; max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: 6px; background: var(--bg-alt); }
.gallery figcaption { font-size: 16px; color: var(--text); margin: 0; }
.gallery figcaption strong { display: block; color: var(--ink); font-size: 18px; }
.gallery.photos img { aspect-ratio: 4 / 3; }

.faq { max-width: 860px; display: flex; flex-direction: column; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 700; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 18px 14px; color: var(--text); }
.faq .answer p { margin: 0 0 10px; }
.faq-group { font-size: 22px; font-weight: 800; margin: 24px 0 4px; }

.quotes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.quote { margin: 0; padding: 22px; border-radius: 12px; background: var(--bg-alt); border-inline-start: 4px solid var(--orange); color: var(--text); font-size: 17px; }
.quote p { margin: 0 0 8px; }
.quote cite { font-style: normal; font-weight: 700; color: var(--ink); }

.callout { padding: 18px 22px; border-radius: 12px; background: var(--blue-soft); border: 1px solid #C5DCF1; color: var(--ink); margin: 0 0 20px; }
.callout p { margin: 0 0 8px; }
.callout p:last-child { margin: 0; }
.callout.warn { background: #FDF1E4; border-color: #F2CFA6; }

.timeline { display: flex; flex-direction: column; gap: 0; max-width: 900px; }
.update { position: relative; padding: 0 28px 28px 0; border-inline-start: 2px solid var(--line); }
.update::before { content: ""; position: absolute; right: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); }
.update h3 { font-size: 21px; font-weight: 700; }
.update .when { font-size: 15px; color: var(--muted); margin: 2px 0 8px; }
.update .body p { margin: 0 0 10px; }

/* ---------- עמוד הבית ---------- */
.hero { background: var(--bg-alt); }
.hero .wrap { padding-top: 64px; padding-bottom: 64px; display: flex; flex-wrap: wrap; align-items: center; gap: 40px 56px; }
.hero-text { flex: 999 1 520px; min-width: 0; }
.hero .eyebrow { margin: 0 0 10px; font-weight: 700; color: var(--orange-text); font-size: 18px; }
.hero h1 { font-weight: 800; font-size: clamp(36px, 5vw, 54px); line-height: 1.15; margin: 0 0 18px; }
.hero .lead { margin: 0 0 26px; font-size: 20px; color: var(--text); max-width: 620px; }
.hero-fig { flex: 1 1 280px; display: flex; justify-content: center; }
.hero-fig img { width: 300px; max-width: 100%; border-radius: 6px; box-shadow: 0 18px 40px rgba(31,41,51,.16); background: #fff; }
.band { background: var(--dark); color: #fff; }
.band .wrap { padding-top: 56px; padding-bottom: 56px; display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; }
.band-text { flex: 999 1 520px; min-width: 0; }
.band h2 { color: #fff; font-weight: 800; font-size: 32px; margin: 0 0 12px; }
.band p { margin: 0; color: #D5DCE3; max-width: 660px; }
.band a:not(.btn) { color: #FFC58A; }
.band .actions { flex: 1 1 260px; margin: 0; }
.post-list { list-style: none; margin: 0; padding: 0; }
.post-list a { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding: 14px 0; border-top: 1px solid var(--line); color: var(--ink); }
.post-list li:last-child a { border-bottom: 1px solid var(--line); }
.post-list a:hover { text-decoration: none; color: var(--blue); }
.post-list .t { font-weight: 700; font-size: 19px; }
.post-list time { color: var(--muted); font-size: 16px; }

/* ---------- בלוג ---------- */
.blog-layout { display: flex; flex-wrap: wrap; gap: 24px 56px; align-items: flex-start; }
.blog-main { flex: 999 1 560px; min-width: 0; }
.blog-main .year { font-size: 24px; font-weight: 800; margin: 28px 0 4px; }
.blog-main .year:first-child { margin-top: 0; }
.blog-aside { flex: 1 1 240px; font-size: 17px; background: var(--bg-alt); border-radius: 12px; padding: 20px 22px; }
.blog-aside h2 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.blog-aside ul { list-style: none; margin: 0 0 18px; padding: 0; }
.blog-aside li { padding: 3px 0; }
.blog-aside a { color: var(--ink); }
.blog-aside a:hover { color: var(--blue); }
.blog-aside .n { color: var(--muted); font-size: 15px; }
.blog-aside summary { cursor: pointer; font-family: var(--font-display); font-weight: 800; font-size: 19px; }
.blog-aside .arch { columns: 2; margin-top: 8px; }
.post-meta a { color: var(--blue); }
.post-body { max-width: 820px; }
.post-contact { margin-top: 32px; padding: 16px 20px; border-radius: 10px; background: var(--bg-alt); color: var(--text); }
.post-pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 24px; }
.post-pager a { flex: 1 1 260px; display: flex; flex-direction: column; padding: 14px 18px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); }
.post-pager a:hover { text-decoration: none; border-color: var(--blue); color: var(--blue); }
.post-pager span { font-size: 15px; color: var(--muted); }
.post-pager .newer { text-align: left; }

/* ---------- חיפוש ---------- */
.search-page form { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.search-page input[type="search"] { flex: 1 1 280px; font: inherit; font-size: 20px; padding: 10px 14px; min-height: 52px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--ink); }
.search-status { color: var(--muted); margin: 0 0 18px; }
.results { list-style: none; margin: 0; padding: 0; max-width: 820px; }
.results li { padding: 18px 0; border-top: 1px solid var(--line); }
.results h2 { font-size: 21px; font-weight: 700; margin-bottom: 4px; }
.results .kind { font-size: 14px; font-weight: 700; color: var(--muted); margin-inline-start: 8px; }
.results p { margin: 0; color: var(--text); font-size: 17px; }
.results mark { background: #FCE3C6; color: inherit; padding: 0 2px; }
.search-404 { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; max-width: 520px; }
.search-404 input { flex: 1 1 260px; font: inherit; padding: 10px 14px; min-height: 48px; border: 1px solid var(--line-strong); border-radius: 8px; }

/* ---------- טפסים ---------- */
.site-form { min-width: 0; position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px 26px; }
.site-form .field { margin-bottom: 16px; display: flex; flex-direction: column; gap: 4px; }
.site-form label { font-weight: 700; }
.site-form .req { color: var(--orange-text); }
.site-form input[type="text"], .site-form input[type="email"], .site-form input[type="tel"], .site-form textarea { font: inherit; font-size: 18px; padding: 10px 12px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); border-radius: 8px; min-height: 46px; width: 100%; }
.site-form input[type="file"] { font: inherit; font-size: 16px; width: 100%; min-width: 0; }
.site-form small { color: var(--muted); font-size: 15px; }
.site-form .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; opacity: 0; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 20px; }
.form-msg { background: #FDF1E4; border: 1px solid #F2CFA6; color: #7A3E06; padding: 10px 14px; border-radius: 8px; margin: 0 0 16px; }
.contact-grid { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: flex-start; }
.contact-grid > .contact-text { flex: 1 1 280px; }
.contact-grid > .site-form { flex: 1.4 1 380px; }
.muted { color: var(--muted); }

/* ---------- תחתית ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); }
.footer-in { padding: 36px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 40px; color: var(--text); font-size: 17px; }
.footer-line { font-weight: 700; color: var(--ink); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }

/* --- תוספות: עמוד הורדות --- */
.dl-tag { font-size: 13px; font-weight: 700; color: var(--orange-text); border: 1px solid currentColor; border-radius: 999px; padding: 0 9px; }
.dl-note { background: var(--bg-alt); border-radius: 8px; padding: 8px 12px; }
.dl-fig { margin: 12px 0 0; }
.dl-fig img { max-height: 320px; width: auto; border: 1px solid var(--line); border-radius: 8px; }
.sub-title { font-size: 22px; font-weight: 800; margin: 32px 0 14px; }
.cards-sm { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.cards-sm .card { padding: 16px 18px; gap: 4px; }
.cards-sm .card h3 { font-size: 18px; }
.ltr { direction: ltr; text-align: right; }
.card .file { align-self: flex-start; margin-top: auto; }
.card .actions { margin: 6px 0 0; }

/* --- תוספות: יומן עדכונים --- */
.update .body ul { margin: 0 0 10px; padding-inline-start: 22px; }
.update .body li { margin: 0 0 4px; }
.update h3 .when { display: inline; font-weight: 400; margin-inline-start: 8px; }
.shots { display: flex; flex-wrap: wrap; gap: 14px; margin: 4px 0 6px; }
.shots figure { margin: 0; width: 220px; }
.shots img { border: 1px solid var(--line); border-radius: 6px; max-height: 260px; width: auto; max-width: 100%; }
.shots figcaption { font-size: 14px; color: var(--muted); margin-top: 4px; }
.fold { border: 1px solid var(--line); border-radius: 10px; background: #fff; margin: 14px 0; max-width: 900px; }
.fold > summary { cursor: pointer; padding: 14px 18px; font-weight: 700; font-size: 19px; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after { content: "+"; color: var(--blue); font-size: 22px; line-height: 1; }
.fold[open] > summary::after { content: "–"; }
.fold > .timeline, .fold > .fold-body { padding: 8px 18px 4px; }
.fold-body ul { padding-inline-start: 22px; }
.card .file { align-self: stretch; }
.file .muted { margin-inline-start: auto; white-space: nowrap; font-size: 14px; }

/* --- תוספות: עמוד מוצר --- */
.media-fig.narrow { flex: 0 1 300px; }
.media-fig figure { margin: 0; }
.media-fig video + * { margin-top: 0; }
.wide-fig { margin: 0 0 22px; }
.wide-fig img { border: 1px solid var(--line); border-radius: 8px; width: 100%; height: auto; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: 16px; color: var(--ink); }
.shots-gallery img { aspect-ratio: auto; object-fit: contain; max-height: 340px; }
.cards.features { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.cards.features .card { padding: 20px 22px; }
.cards.features .card h3 { font-size: 19px; }
.cards.features .card p { font-size: 16.5px; }
.wide-fig img { width: auto; max-width: 100%; }
.product details summary { cursor: pointer; color: var(--blue); font-weight: 700; }
.card > .actions:last-child { margin-top: auto; padding-top: 8px; }

/* --- שלבים ממוספרים --- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; max-width: 900px; display: flex; flex-direction: column; gap: 18px; }
.step { counter-increment: step; display: flex; gap: 18px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 22px; background: #fff; }
.step::before { content: counter(step); flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; font-size: 20px; display: flex; align-items: center; justify-content: center; }
.step-body { flex: 1; min-width: 0; }
.step-body h2 { font-size: 24px; font-weight: 800; margin: 4px 0 10px; }
.step-body p { margin: 0 0 10px; }
.step-body ul { margin: 0 0 12px; padding-inline-start: 22px; }
.step-body figure { margin: 10px 0 0; }
.step-body .video { max-width: 640px; margin-top: 8px; }
.step-body .site-form { border: 0; padding: 0; box-shadow: none; }
.buy .paypal { display: inline; margin: 0; }
.step-body .buy { border-top: 0; padding-top: 0; margin: 0 0 12px; }
.eyebrow-sm { margin: 0 0 4px; font-weight: 700; color: var(--orange-text); font-size: 15px; }
.video details summary { cursor: pointer; color: var(--blue); font-weight: 600; font-size: 16px; }
.video details p { margin-top: 6px; }
.section-head .section-title { margin: 0; }

/* --- דוגמאות עימוד (showcase) --- */
.showcase-item { padding: 0 0 36px; margin: 0 0 36px; border-bottom: 1px solid var(--line); }
.showcase-item:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.showcase-item h2 { font-size: 23px; font-weight: 800; margin: 0 0 8px; }
.showcase-item .prose { margin-bottom: 16px; }
.gallery.glyphs { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 14px; }
.gallery.glyphs img { aspect-ratio: 1; object-fit: contain; background: #fff; padding: 14px; }

/* --- גוף פוסט --- */
.post-body video, .post-body iframe { display: block; width: 100%; max-width: 760px; height: auto; border-radius: 8px; background: #000; margin: 14px 0 18px; }
.post-body .embed iframe { aspect-ratio: 16 / 9; }
.post-body figure { margin: 18px 0; }
.post-body figure img { border-radius: 6px; }
.post-body hr { border: 0; border-top: 1px solid var(--line); margin: 26px 0; }
.post-body h2 { font-size: 24px; font-weight: 800; margin: 26px 0 10px; }
.post-body h3 { font-size: 20px; font-weight: 700; margin: 20px 0 8px; }
.post-body .center { text-align: center; }
.post-body ul { padding-inline-start: 24px; }
.post-body .table-wrap { overflow-x: auto; }
.post-body p { margin: 0 0 14px; }
@media (max-width: 600px) {
  .step { flex-direction: column; gap: 10px; padding: 18px 16px; }
  .step::before { flex-basis: auto; width: 36px; height: 36px; font-size: 18px; }
}

/* --- הגדלת תמונה (lightbox) --- */
.zoomable { cursor: zoom-in; }
.lb { position: fixed; inset: 0; z-index: 1000; background: rgba(15, 20, 26, .95); display: none; align-items: center; justify-content: center; padding: 56px 64px 48px; }
.lb.open { display: flex; }
.lb-fig { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.lb-img { display: block; max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; background: #fff; border-radius: 4px; box-shadow: 0 10px 40px rgba(0,0,0,.5); cursor: zoom-out; }
.lb-cap { color: #E6EBF0; font-size: 16px; text-align: center; min-height: 1em; }
.lb-btn { position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 46px; height: 46px; border-radius: 50%; font-size: 26px; line-height: 46px; text-align: center; cursor: pointer; padding: 0; font-family: inherit; }
.lb-btn:hover, .lb-btn:focus-visible { background: rgba(255,255,255,.28); outline: none; }
.lb-close { top: 12px; left: 12px; }
.lb-prev { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 22px; right: 20px; color: #C9D2DB; font-size: 15px; }
.lb.single .lb-prev, .lb.single .lb-next, .lb.single .lb-count { display: none; }
body.lb-lock { overflow: hidden; }
@media (max-width: 600px) { .lb { padding: 56px 8px 40px; } .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; } }
