﻿/*
 * bills.css: ה-CSS היחיד של ורטיקל "חשבונות הבית" (תוכנית סעיף 5.3, 7, 10).
 * מבנה:
 *   1. טוקנים  --kg-*  (העתק מ-Gemel/css/kupat-gemel.css; שינוי שם = שינוי בשני המקומות)
 *   2. בסיס: גופן, #main ברוחב נוזלי עם gutter 16px (בלי 980px של compareTables.css)
 *   3. הדר/תפריט/פוטר: פורט של הכללים הרלוונטיים מ-compareTables.css, supermarkerMobile.css
 *      ומה-<style> הפנימי של SupermarkerMasterPage.master (אותם ids/classes, כדי ש-CookieManager/Bootstrap יעבדו)
 *   4. באנר העוגיות: פורט של ה-<style> מ-Controls/CookieManager.ascx
 *   5. רכיבי הורטיקל (bl-*): האב, דף הקטגוריה, כרטיס חבילה, שגיאה, אדמין (placeholder עד המוקאפ)
 * mobile-first, RTL מלא, tap ≥44px. נטען עם ?v=hash (asp-append-version).
 */

/* ---------- 1. טוקנים (kupat-gemel.css) ---------- */
:root {
    --kg-brand: #17765a;
    --kg-brand-dark: #0f5a47;
    --kg-line: #dce8e3;
    --kg-line-strong: #a9c2b7;  /* גבול חזק לפילים/צ'יפים בסרגל הסינון (ממצא רונן 5, 2026-09-19: הגבול הדק היה חלש למבוגרים) */
    --kg-soft: #eef4f1;
    --kg-soft2: #e3f3ec;
    --kg-ink: #263d35;
    --kg-muted: #5a6e66;
    --kg-warn: #c05a2e;
    --kg-warn-bg: #fdf1ea;
    --kg-pos: #1b7f4d;
    --kg-neg: #b3261e;
    /* טוקנים של הורטיקל */
    --bl-lime: #bfca04;            /* צבע ההובר של התפריט וגבול הפוטר (bcc000/bfca04 באתר) */
    --bl-gutter: 16px;
    --bl-max: 1400px;          /* תקן דפי ההשוואה המשודרגים (docs/compare-pages-wide-layout.md, #main.gemel-compare-wide) */
    --bl-header-h: 68px;
    --bl-radius: 12px;
    --bl-shadow: 0 1px 2px rgba(38, 61, 53, .06), 0 6px 18px rgba(38, 61, 53, .06);
}

/* ---------- 2. בסיס ---------- */
html {
    scroll-behavior: auto;
}

body.bl-body {
    margin: 0;
    font-family: 'Noto Sans Hebrew', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    color: var(--kg-ink);
    background: #fff;
    direction: rtl;
}

#main.centerDesign {
    width: 100%;
    max-width: var(--bl-max);
    margin: 0 auto;
    padding: 0 var(--bl-gutter);
    box-sizing: border-box;
    direction: rtl;
    background: #fff;
    position: relative;
}

#mainContainer {
    position: relative;
    margin-top: 4px;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* ---------- 3. הדר, תפריט, פוטר ---------- */

/* דסקטופ (#ymheader): לוגו גדול + קו ליים + navbar פרוס */
#ymheader {
    position: relative;
    width: 100%;
    direction: rtl;
}

/* compareTables.css: bottom:13px מרים את הלוגו 13px מעל מקומו בזרימה (התמונה 124px בתיבה של 110px).
   עם ה-20px של הפס העליון (.sm-topbar) התמונה מתחילה 7px מתחת לפס, בדיוק כמו במאסטר (נמדד ב-About.aspx: 48 → 55) */
#ymlogo {
    position: relative;
    bottom: 13px;
    right: 0;
    height: 110px;
}

#ymlogo img {
    max-width: 100%;
    height: auto;
}

.border-box {
    border-top: 5px solid var(--bl-lime);
    height: 1%;
    margin: 0;
    overflow: hidden;
    padding: 10px 0 0;
}

.sub-section {
    background: url("/images/themarker/bg/divider1.gif") repeat-x scroll 0 100% transparent;
    font-size: 14px;
    line-height: 25px;
    margin: 0;
    overflow: hidden;
    padding: 0 0 1px;
    width: 100%;
}

/* navbar (מה-<style> של המאסטר) */
#ymmainNavigation .navbar-main {
    font-size: 14px;
    padding: 0;
}

#ymmainNavigation .navbar-main .navbar-nav {
    flex-direction: row;
    flex-wrap: nowrap;
}

#ymmainNavigation .navbar-main .nav-link {
    padding: 14px 11px;
    text-align: center;
    line-height: 15px;
    text-decoration: none;
    color: var(--kg-ink);
}

#ymmainNavigation .navbar-main .nav-link:hover,
#ymmainNavigation .navbar-main .nav-link:focus,
#ymmainNavigation .navbar-main .nav-link:active {
    text-decoration: none;
}

#ymmainNavigation .navbar-main .dropdown-toggle::after {
    display: none;
}

@media (min-width: 992px) {
    #ymmainNavigation .navbar-main .dropdown-hover .dropdown-menu {
        display: none;
    }

    #ymmainNavigation .navbar-main .dropdown-hover:hover .dropdown-menu {
        display: block;
    }
}

#ymmainNavigation .navbar-main .nav-link:hover,
#ymmainNavigation .navbar-main .nav-link:focus,
#ymmainNavigation .navbar-main .dropdown-item:hover {
    background-color: var(--bl-lime);
    color: inherit;
}

#ymmainNavigation .navbar-main .dropdown-menu {
    right: 0;
    left: auto;
    text-align: right;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

#ymmainNavigation .navbar-main .dropdown-item {
    padding: 12px 16px;
    text-align: right;
    text-decoration: none;
}

/* הדר מובייל (#searchBox): קבוע, המבורגר + לוגו */
.searchBox {
    display: none;
    background-color: #ebebeb;
}

.navbar-toggler-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #212529;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 4px;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

.navbar-toggler-btn:focus-visible {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

.navbar-toggler-btn .navbar-hamburger-icon {
    display: block;
    width: 36px;
    height: 40px;
    flex-shrink: 0;
}

@media (min-width: 992px) {
    #searchBox.searchBox {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    #searchBox.searchBox {
        display: block !important;
        position: fixed !important;
        top: 0;
        right: 0;
        left: 0;
        width: 100% !important;
        margin-top: 0 !important;
        z-index: 99;
        height: auto !important;
        min-height: calc(var(--bl-header-h) + env(safe-area-inset-top, 0px)) !important;
        padding-top: max(4px, env(safe-area-inset-top, 0px));
        padding-bottom: 4px;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    #searchBox.searchBox .logoContainer {
        display: flex;
        align-items: center;
        margin-right: 4px;
        margin-left: 4px;
    }

    #searchBox.searchBox .menuImg {
        position: relative;
        float: left;
        left: 2%;
    }

    #searchBox.searchBox .logo {
        display: inline-block;
        margin-right: 18px;
        max-height: 55px !important;
        width: auto !important;
        height: auto !important;
    }

    #ymmainNavigation .navbar-main .navbar-collapse {
        margin-top: 0.5rem;
        transition: none;
    }

    #ymmainNavigation .navbar-main .navbar-nav {
        flex-direction: column;
    }

    #ymmainNavigation .navbar-main .nav-link,
    #ymmainNavigation .navbar-main .dropdown-item {
        font-size: 1rem;
    }

    #ymmainNavigation .navbar-main .dropdown-hover .dropdown-menu {
        display: block;
        position: static;
        box-shadow: none;
        border: none;
        padding-right: 1rem;
        padding-top: 0.25rem;
    }

    /* במובייל: רק התפריט מ-#ymheader (הלוגו הגדול והקו מוסתרים) */
    #ymheader {
        display: block !important;
    }

    #ymheader #ymlogo,
    #ymheader .border-box {
        display: none !important;
    }

    /* תפריט פתוח: קבוע מתחת להדר */
    #ymmainNavigation .navbar-main .navbar-collapse.show {
        position: fixed;
        top: calc(var(--bl-header-h) + env(safe-area-inset-top, 0px) + 4px);
        left: 0;
        right: 0;
        min-height: 150px;
        max-height: calc(100vh - (var(--bl-header-h) + env(safe-area-inset-top, 0px) + 4px) - env(safe-area-inset-bottom, 0px));
        overflow-y: auto;
        z-index: 1000;
        background: #fff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        transform: translateZ(0);
        backface-visibility: hidden;
    }

    /* מרווח בין ההדר הקבוע לתוכן (padding ולא margin, כמו kg-main) */
    #main.centerDesign {
        padding-top: calc(var(--bl-header-h) + env(safe-area-inset-top, 0px) + 8px);
    }

    html {
        scroll-padding-top: calc(var(--bl-header-h) + env(safe-area-inset-top, 0px) + 12px);
    }

    html:has(#navbarMain.show) {
        scroll-padding-top: 60vh;
    }
}

/* פוטר (compareTables.css + התיקונים מהמאסטר), ברוחב נוזלי */
#footer {
    width: 100%;
    overflow: hidden;
    margin-top: 40px;
}

.footer {
    margin-bottom: 20px;
}

.footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.footer a {
    font-size: 12px;
    color: #525252;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.border-boxFooter {
    overflow: hidden;
    margin-bottom: 30px;
    border-top: 5px solid var(--bl-lime);
    position: relative;
    z-index: 10;
}

.footer .footerHead {
    background: url("/images/themarker/separator8.gif") repeat-x scroll 0 100% transparent;
    overflow: hidden;
}

.footer .headAndCredits {
    margin: 0 auto;
    max-width: 983px;
    padding: 0 var(--bl-gutter);
}

.footer .headAndCredits li {
    background: url("/images/themarker/separator3.gif") no-repeat 0 4px transparent;
    color: #525252;
    padding: 4px 7px;
}

.footer ul.headList {
    float: right;
    margin-right: -5px;
    display: flex;
    flex-wrap: wrap;
}

.footer ul.headList li {
    display: flex;
    align-items: center;
    margin-left: -1px;
}

.footer ul.headList li a {
    display: inline-block;
}

.footer .columns {
    margin: 5px auto 0;
    max-width: var(--bl-max);
    text-align: center;
    padding: 0 var(--bl-gutter);
}

.footer .columns .columnsHolder {
    display: inline-block;
}

.footer .columns ul.column {
    border-right: 1px solid #e8e8e8;
    display: inline-block;
    vertical-align: top;
    width: 121px;
}

.footer .columns ul.column:first-child {
    border-right: 1px solid #fff;
}

.footer .columns ul.column .title {
    color: var(--kg-brand);
    font-weight: bold;
}

.footer .columns ul.column li {
    margin: 5px 10px 0 10px;
    text-align: right;
}

.disclaimer {
    color: #232323;
    font-size: 11px;
    text-align: center;
}

/* המוסכמה של האתר: עד 480px הפוטר מוסתר, ושורת ה-reCAPTCHA למובייל מופיעה במקומו */
.recaptchaNotice--mobile {
    display: none;
}

@media only screen and (max-width: 480px) {
    #footer {
        display: none !important;
    }

    .recaptchaNotice--mobile {
        display: block;
    }
}

/* ---------- 4. באנר העוגיות (Controls/CookieManager.ascx) ---------- */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 3px solid var(--bl-lime);
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    padding: 10px 20px;
    font-family: 'Noto Sans Hebrew', Arial, sans-serif;
    direction: rtl;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media (min-width: 769px) {
    .cookie-consent-banner {
        left: 60%;
        right: 0;
    }

    .cookie-content {
        max-width: 100%;
    }
}

.cookie-text p {
    margin: 0 0 4px 0;
    color: #666;
    line-height: 1.3;
    font-size: 13px;
}

.cookie-text a {
    color: var(--bl-lime);
    text-decoration: none;
    font-size: 12px;
}

.cookie-text a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    justify-content: center;
}

.btn-accept,
.btn-reject,
.btn-customize {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: 'Noto Sans Hebrew', Arial, sans-serif;
    min-height: 44px;
}

.btn-accept {
    width: 100px;
    min-width: 100px;
    background: var(--bl-lime);
    color: #fff;
}

.btn-accept:hover {
    background: #a8b003;
}

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    display: flex;
    justify-content: center;
    align-items: center;
}

#cookieSettingsModal .modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    direction: rtl;
    font-family: 'Noto Sans Hebrew', Arial, sans-serif;
}

#cookieSettingsModal .modal-content h3 {
    margin: 0 0 20px 0;
    color: #333;
    text-align: center;
}

#cookieSettingsModal .cookie-categories {
    margin: 20px 0;
}

#cookieSettingsModal .category-item {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
}

#cookieSettingsModal .category-item label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    margin-bottom: 5px;
}

#cookieSettingsModal .category-item input[type="checkbox"] {
    margin-left: 10px;
    transform: scale(1.2);
}

#cookieSettingsModal .required {
    color: #dc3545;
    font-size: 12px;
    margin-right: 5px;
}

#cookieSettingsModal .category-item p {
    margin: 5px 0 0 0;
    color: #666;
    font-size: 13px;
}

#cookieSettingsModal .modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

#cookieSettingsModal .btn-save,
#cookieSettingsModal .btn-cancel {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: 'Noto Sans Hebrew', Arial, sans-serif;
    min-height: 44px;
}

#cookieSettingsModal .btn-save {
    background: var(--bl-lime);
    color: #fff;
}

#cookieSettingsModal .btn-save:hover {
    background: #a8b003;
}

#cookieSettingsModal .btn-cancel {
    background: #6c757d;
    color: #fff;
}

#cookieSettingsModal .btn-cancel:hover {
    background: #5a6268;
}

@media (max-width: 768px) {
    .cookie-consent-banner {
        padding: 6px 15px;
    }

    .cookie-buttons {
        flex-wrap: wrap;
    }

    #cookieSettingsModal .modal-content {
        padding: 20px;
        margin: 20px;
    }

    #cookieSettingsModal .modal-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .cookie-text p {
        font-size: 11px;
    }
}

/* ---------- 5. רכיבי הורטיקל (bl-*) ---------- */
.bl-page {
    padding: 8px 0 24px;
}

.bl-breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 12px;
    padding: 0;
    font-size: 13px;
    color: var(--kg-muted);
}

.bl-breadcrumb li + li::before {
    content: "‹";
    margin-left: 6px;
    color: var(--kg-line);
}

.bl-breadcrumb a {
    color: var(--kg-brand);
    text-decoration: none;
}

.bl-breadcrumb a:hover {
    text-decoration: underline;
}

.bl-hero h1 {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 8px;
    color: var(--kg-ink);
}

@media (min-width: 768px) {
    .bl-hero h1 {
        font-size: 2rem;
    }
}

.bl-hero__lead {
    font-size: 1.05rem;
    color: var(--kg-muted);
    margin: 0 0 12px;
    max-width: 70ch;
}

.bl-facts {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    padding: 0;
    margin: 0 0 12px;
    font-size: 14px;
    color: var(--kg-muted);
}

.bl-facts strong {
    color: var(--kg-ink);
}

.bl-scaffold-note {
    background: var(--kg-warn-bg);
    color: var(--kg-warn);
    border: 1px solid #f3d9c9;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
    margin: 8px 0 16px;
}

.bl-notice {
    background: var(--kg-soft2);
    color: var(--kg-brand-dark);
    border: 1px solid var(--kg-line);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
}

.bl-category-grid {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0;
    margin: 12px 0 0;
}

@media (min-width: 576px) {
    .bl-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .bl-category-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.bl-category-card__link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 88px;
    padding: 16px;
    border: 1px solid var(--kg-line);
    border-radius: var(--bl-radius);
    background: var(--kg-soft);
    color: var(--kg-ink);
    text-decoration: none;
    box-shadow: var(--bl-shadow);
    transition: border-color .15s, transform .15s;
}

.bl-category-card__link:hover,
.bl-category-card__link:focus-visible {
    border-color: var(--kg-brand);
    transform: translateY(-1px);
    color: var(--kg-ink);
}

.bl-category-card__name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--kg-brand-dark);
}

.bl-category-card__title {
    font-size: 14px;
    color: var(--kg-muted);
}

/* קטגוריה בלי חבילות (IsComingSoon): כרטיס בלי קישור, מעומעם, עם תג "בקרוב" */
.bl-category-card.is-soon .bl-category-card__link {
    background: transparent;
    border-style: dashed;
    box-shadow: none;
    cursor: default;
}

.bl-category-card.is-soon .bl-category-card__link:hover {
    border-color: var(--kg-line);
    transform: none;
}

.bl-soon-badge {
    display: inline-block;
    margin-inline-start: 6px;
    padding: 1px 8px;
    border-radius: 99px;
    background: var(--kg-soft);
    color: var(--kg-muted);
    font-size: 12px;
    font-weight: 600;
    vertical-align: middle;
}

.bl-empty {
    border: 1px dashed var(--kg-line);
    border-radius: var(--bl-radius);
    padding: 24px 16px;
    text-align: center;
    color: var(--kg-muted);
}

.bl-empty h2 {
    font-size: 1.2rem;
    color: var(--kg-ink);
}

.bl-plan-grid {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0;
    margin: 0;
}

@media (min-width: 768px) {
    .bl-plan-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .bl-plan-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.bl-plan article {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--kg-line);
    border-radius: var(--bl-radius);
    background: #fff;
    box-shadow: var(--bl-shadow);
}

.bl-plan__head {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
}

.bl-plan__logo {
    width: 64px;
    height: 32px;
    object-fit: contain;
}

.bl-plan__provider {
    font-weight: 600;
    color: var(--kg-muted);
    font-size: 14px;
}

.bl-badge {
    margin-right: auto;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--kg-soft2);
    color: var(--kg-brand-dark);
}

.bl-badge--new {
    background: var(--kg-warn-bg);
    color: var(--kg-warn);
}

.bl-plan__name {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: var(--kg-ink);
}

.bl-plan__summary {
    margin: 0;
    font-size: 14px;
    color: var(--kg-muted);
}

.bl-price {
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid var(--kg-line);
}

.bl-price__promo {
    font-size: 1rem;
    color: var(--kg-ink);
}

.bl-price__num {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--kg-brand-dark);
}

.bl-price__unit,
.bl-price__after {
    font-size: 13px;
    color: var(--kg-muted);
}

.bl-price__true {
    margin-top: 4px;
    font-size: 14px;
    color: var(--kg-ink);
}

.bl-plan__verified {
    margin: 0;
    font-size: 12px;
    color: var(--kg-muted);
}

.bl-error h1 {
    font-size: 1.6rem;
}

.bl-error__trace {
    font-size: 12px;
    color: var(--kg-muted);
}

.bl-error__details {
    direction: ltr;
    text-align: left;
    font-size: 12px;
    background: var(--kg-soft);
    border: 1px solid var(--kg-line);
    border-radius: 8px;
    padding: 12px;
    overflow: auto;
}

/* דף ההסרה מהתזכורת (/unsubscribe): הודעה אחת קצרה, בלי טופס ובלי אישור כפול */
.bl-unsub {
    max-width: 62ch;
}

.bl-unsub h1 {
    font-size: 1.5rem;
    margin: 0 0 10px;
}

.bl-unsub__lead {
    font-size: 1.05rem;
    color: var(--kg-ink);
}

.bl-unsub__go a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--kg-brand);
    font-weight: 600;
}

.bl-admin__card {
    border: 1px solid var(--kg-line);
    border-radius: var(--bl-radius);
    padding: 16px;
    margin: 12px 0;
    background: #fff;
}

.bl-admin__card h2 {
    font-size: 1.15rem;
    margin: 0 0 8px;
}

.bl-dl {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 4px 16px;
    margin: 0 0 12px;
    font-size: 14px;
}

.bl-dl dt {
    color: var(--kg-muted);
}

.bl-dl dd {
    margin: 0;
    word-break: break-word;
}

.bl-inline-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
}

.bl-inline-form .form-control {
    max-width: 220px;
}

.bl-inline-form .btn {
    min-height: 44px;
}

/* רשימת מדריכים (Shared/_BillsGuideLinks): בדף ההשוואה, בדף הספק, באב ובעמודת הצד של מאמר (שם עמודה אחת, bills-guides.css) */
.bl-guides {
    list-style: none;
    display: grid;
    gap: 10px;
    margin: 0 0 12px;
    padding: 0;
}

@media (min-width: 768px) {
    .bl-guides { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* ברוחב מלא הרצועה מציגה שלושה מדריכים בשורה במקום שניים (רונן 21/09/2026). לא ארבעה:
   לכרטיס יש ממוזרת, כותרת, תקציר ותאריך, וב-325px התקציר נשבר לשורות של שתי מילים. */
@media (min-width: 1100px) {
    .bl-guides { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.bl-guides li { margin: 0; padding: 0; list-style: none; }

/* ⚠️ flex ולא block: הממוזערת והטקסט הם שני ילדים. ב-flex צומת טקסט של רווח לבן בין <span> ל-<img>
   אינו הופך ל-flex item, ולכן אין את ההסטה של 20px שנמדדה בדפוס המקביל באתר הישן (modern-article.css, .sm-travel-linkcards). */
.bl-guides li a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 10px 12px;
    border: 1.5px solid var(--kg-line);
    border-radius: 12px;
    background: #fff;
    color: var(--kg-ink);
    text-decoration: none;
}

.bl-guides li a:hover,
.bl-guides li a:focus-visible {
    border-color: var(--kg-brand);
    background: var(--kg-soft);
    text-decoration: none;
}

/* הממוזערת (‎{HeroImage}_100x100.jpg) או ה-placeholder של מדריך בלי תמונה: ריבוע קבוע שלא נדחס בעמודה צרה */
.bl-guides__img {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--kg-soft);
}

.bl-guides__img img {
    display: block;
    width: 100px;
    height: 100px;
    max-width: 100px;
    object-fit: cover;
}

.bl-guides__img--ph {
    color: var(--kg-brand);
    background: var(--kg-soft2);
}

.bl-guides__img--ph svg { display: block; opacity: .75; }

.bl-guides__c { min-width: 0; }
.bl-guides__t { display: block; font-weight: 700; font-size: 16px; line-height: 1.4; }
.bl-guides__d { display: block; font-size: 15px; line-height: 1.5; color: var(--kg-muted); margin-top: 4px; }
.bl-guides__m { display: block; font-size: 13.5px; color: var(--kg-muted); margin-top: 4px; }

/* עמודה צרה (עמודת הצד של המאמר): ממוזערת + כותרת בלבד, כמו ‎#articleList במאמרי האתר הישן */
.bl-guides--compact .bl-guides__d,
.bl-guides--compact .bl-guides__m { display: none; }

/* רצועת המדריכים בתחתית דף ההשוואה (בקשת רונן 2026-09-20): מפריד מעל, ושלוש עמודות ברוחב מלא */
.bl-guides-foot { margin: 28px 0 8px; padding-top: 20px; border-top: 1px solid var(--kg-line); }
.bl-guides-foot h2 { font-size: 1.35rem; font-weight: 800; margin: 0 0 12px; color: var(--kg-ink); }
@media (min-width: 992px) {
    .bl-guides-foot .bl-guides { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- 3ב. הפס העליון ותפריט הנגישות (Controls/AccessibilityBar.ascx, פורט 2026-09-18) ----------
   המזהים/המחלקות (.sm-topbar, .sm-a11y-toggle, .sm-a11y-panel, html.sm-a11y-contrast) הם החוזה של /JS/accessibility.js.
   ההערות של הקונטרול הן הערות שרת; כאן הן הערות CSS רגילות. */
.sm-topbar {
    position: relative;
    direction: rtl;
    height: 48px;
    /* במאסטר: margin-bottom:-20px על הפס + top:40px (יחסי) על #main מ-compareTables.css ⇒ #main מתחיל 20px מתחת לפס
       (נמדד ב-About.aspx: פס 0-48, #main ב-68). כאן #main בלי top, ולכן ה-20px נטו יושבים על הפס עצמו;
       0 (הערך הקודם) הצמיד את הלוגו לפס וכיסה את הצל שלו. מתחת ל-992px הפס מוסתר והשוליים לא פועלים */
    margin-bottom: 20px;
    background: #fff;
    box-shadow: 0 2px 7px rgba(0, 0, 0, .45);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sm-topbar__tm {
    display: inline-flex;
    align-items: center;
    padding: 4px;
    line-height: 0;
}

.sm-topbar__tm img {
    display: block;
    width: 115px;
    height: 24px;
}

/* כפתור נגישות, בשני המיקומים (פס עליון + הדר מובייל). אזור מגע 44px */
.sm-a11y-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 0;
    margin: 0;
    border: 2px solid #212529;
    border-radius: 6px;
    background: #fff;
    color: #212529;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.sm-a11y-toggle svg {
    display: block;
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.sm-a11y-toggle[aria-expanded="true"] {
    background: var(--bl-lime);
}

/* hover רק במכשיר עם עכבר: במגע ה-hover "נתקע" על הכפתור האחרון שנלחץ */
@media (hover: hover) {
    .sm-a11y-toggle:hover,
    .sm-a11y-panel button[data-sm-a11y]:hover {
        background: var(--bl-lime);
    }
}

.sm-a11y-toggle:focus-visible,
.sm-a11y-panel button:focus-visible,
.sm-a11y-panel a:focus-visible {
    outline: 3px solid #0d6efd;
    outline-offset: 2px;
}

.sm-topbar .sm-a11y-toggle {
    position: absolute;
    left: 4px;
    top: 2px;
}

/* הדר מובייל (#searchBox): ליד ההמבורגר, באותו מנגנון מיקום (.menuImg: float:left; left:2%). נראה 32px, מגע 44px דרך ::after */
.sm-a11y-toggle--mobile {
    float: left;
    position: relative;
    left: 2%;
    width: 32px;
    height: 32px;
    min-width: 32px;
    margin: 8px 6px 0;
    border-radius: 5px;
}

.sm-a11y-toggle--mobile svg {
    width: 22px;
    height: 22px;
}

.sm-a11y-toggle--mobile::after {
    content: '';
    position: absolute;
    top: -6px;
    right: -6px;
    bottom: -6px;
    left: -6px;
}

/* הפס מוצג רק כשה-navbar הפרוס מוצג (מהמאסטר: מתחת ל-992px ההדר הקבוע מחליף אותו) */
@media (max-width: 991.98px) {
    .sm-topbar {
        display: none !important;
    }

    /* קישור דהמרקר בראש התפריט המובייל (_Nav.cshtml), מופרד מהקטגוריות */
    #ymmainNavigation .navbar-main .sm-nav-tm {
        border-bottom: 1px solid #dee2e6;
        margin-bottom: 0.25rem;
    }

    #ymmainNavigation .navbar-main .sm-nav-tm .nav-link {
        text-align: right;
    }

    #ymmainNavigation .navbar-main .sm-nav-tm img {
        display: inline-block;
        vertical-align: middle;
    }
}

@media only screen and (max-width: 480px) {
    /* supermarkerMobile.css נותן ל-.menuImg top:12% בטווח הזה; אותו יישור אנכי לכפתור */
    .sm-a11y-toggle--mobile {
        top: 12%;
    }
}

/* פאנל ההגדרות: גיליון קבוע בראש המסך, מעל ההדר הקבוע (99) ומעל התפריט המובייל (1000), מתחת ל-modal של Bootstrap (1050) */
.sm-a11y-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    direction: rtl;
    max-height: 100vh;
    overflow-y: auto;
    background: #f4f4f4;
    border-bottom: 3px solid #212529;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
    font: 16px/1.4 'Noto Sans Hebrew', Arial, sans-serif;
    color: #212529;
    text-align: right;
}

.sm-a11y-panel[hidden] {
    display: none !important;
}

.sm-a11y-panel__inner {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    padding: 12px 16px 14px;
    padding-top: max(12px, env(safe-area-inset-top, 0px));
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 20px;
}

.sm-a11y-panel__title {
    margin: 0;
    padding-left: 52px; /* מקום לכפתור הסגירה */
    min-height: 44px;   /* בגובה כפתור הסגירה */
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 700;
    flex: 1 0 100%;
}

.sm-a11y-panel__group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.sm-a11y-panel button[data-sm-a11y] {
    min-height: 44px;
    padding: 8px 14px;
    border: 2px solid #212529;
    border-radius: 6px;
    background: #fff;
    color: #212529;
    font: 700 15px/1.2 'Noto Sans Hebrew', Arial, sans-serif;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.sm-a11y-panel button[aria-pressed="true"] {
    background: #212529;
    color: #fff;
}

.sm-a11y-panel button[aria-disabled="true"] {
    opacity: .45;
    cursor: default;
}

.sm-a11y-panel__status {
    min-width: 4.5em;
    font-weight: 700;
}

.sm-a11y-panel__link {
    color: #0b5d45;
    font-weight: 700;
    text-decoration: underline;
}

.sm-a11y-panel button.sm-a11y-panel__close {
    position: absolute;
    top: 12px; /* גיבוי לדפדפן בלי max() */
    top: max(12px, env(safe-area-inset-top, 0px));
    left: 12px;
    width: 44px;
    min-height: 44px;
    padding: 0;
    font-size: 26px;
    line-height: 1;
}

@media (max-width: 600px) {
    .sm-a11y-panel__group {
        flex: 1 0 100%;
    }

    .sm-a11y-panel__group button[data-sm-a11y] {
        flex: 1 1 0;
        padding: 8px 6px;
    }

    .sm-a11y-panel__status {
        flex: 1 0 100%;
    }
}

/* ניגודיות גבוהה: לבן על שחור בכל הדף (כולל הדר ופוטר), קישורים בצהוב עם קו תחתון */
html.sm-a11y-contrast,
html.sm-a11y-contrast body,
html.sm-a11y-contrast body * {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #fff !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

html.sm-a11y-contrast body img {
    background-color: #fff !important;
}

html.sm-a11y-contrast body a,
html.sm-a11y-contrast body a * {
    color: #ff0 !important;
    text-decoration: underline !important;
}

html.sm-a11y-contrast body :focus {
    outline: 3px solid #ff0 !important;
    outline-offset: 2px;
}

html.sm-a11y-contrast body ::placeholder {
    color: #ccc !important;
}

html.sm-a11y-contrast body button,
html.sm-a11y-contrast body input,
html.sm-a11y-contrast body select,
html.sm-a11y-contrast body textarea {
    border: 2px solid #fff !important;
}

html.sm-a11y-contrast .sm-a11y-panel button[aria-pressed="true"] {
    background-color: #ff0 !important;
    color: #000 !important;
}

/* ---------- רצועת ההצלבה "מה עוד שווה לבדוק בבית" (Shared/_BillsCrossLinks) ----------
   .agents/briefs/cross-vertical-referrals.md סעיף 4, שלב 0.1. יושבת בתחתית דף הקטגוריה (אחרי .bl-guides-foot)
   ובתחתית דף המדריך (אחרי "מדריכים קשורים"), פעם אחת בכל דף.
   ⚠️ שונה חזותית מרצועת המדריכים שמעליה בכוונה: שם כרטיסים לבנים עם ממוזערת על רקע הדף, כאן פאנל בגוון
   --kg-soft עם כרטיסים לבנים וסרגל מותג בצד הפנימי. אחרת שתי הרצועות נקראות כשתי רשימות זהות.
   4 עמודות מ-992px, 2 מ-768px, אחת במובייל. box-sizing מפורש (אין כלל גלובלי בקובץ) כדי שלא תיווצר גלילה
   אופקית ב-375px. */
.bl-cross {
    box-sizing: border-box;
    margin: 28px 0 8px;
    padding: 18px 16px 16px;
    border: 1px solid var(--kg-line);
    border-radius: var(--bl-radius);
    background: var(--kg-soft);
}

/* h2 בדף הקטגוריה, h3 בגוף המאמר (שער check-bills-guide.js: h2 יחיד בגוף = התקציר).
   הסלקטור כפול-מחלקה כדי לגבור על כללי h3 של modern-article.css בדף המאמר (.article h3 = 0,1,1). */
.bl-cross .bl-cross__h {
    margin: 0 0 4px;
    padding: 0;
    border: 0;
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.35;
    color: var(--kg-ink);
}

.bl-cross__lead {
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--kg-muted);
}

.bl-cross__list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bl-cross__item {
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 768px) {
    .bl-cross__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 992px) {
    .bl-cross__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* הכרטיס כולו הוא הקישור: שטח נגיעה גדול, ואירוע לחיצה אחד */
.bl-cross__card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 44px;
    padding: 12px 14px;
    border: 1px solid var(--kg-line);
    border-inline-start: 4px solid var(--kg-brand);
    border-radius: 10px;
    background: #fff;
    color: var(--kg-ink);
    text-decoration: none;
}

.bl-cross__card:hover,
.bl-cross__card:focus-visible {
    border-color: var(--kg-brand);
    background: var(--kg-soft2);
    text-decoration: none;
}

.bl-cross__t {
    display: block;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
}

.bl-cross__v {
    display: block;
    flex: 1 1 auto;
    margin-top: 6px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--kg-muted);
}

.bl-cross__go {
    display: block;
    margin-top: 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--kg-brand-dark);
    text-decoration: underline;
}

/* --- גילוי נאות והסתייגות (הכרעת רונן 21/09/2026) --------------------------------
   ⚠️ חייב להיות קריא ולא "אותיות קטנות": הסתייגות שאי אפשר לקרוא אינה מכסה איש.
   13.5px הוא הרף התחתון שנשאר נגיש, עם ניגודיות מספקת ולא אפור חיוור. */
.bl-disclaimer {
    font-size: 13.5px;
    line-height: 1.75;
    color: #5b6b63;
}
.bl-disclaimer b { color: var(--kg-ink, #1d2b26); font-weight: 700; }
.bl-disclaimer--list {
    margin: 14px 0 0;
    padding: 10px 14px;
    background: #f6faf8;
    border: 1px solid #e0eae5;
    border-radius: 10px;
}
.bl-disclaimer--page {
    max-width: var(--bl-max, 1400px);
    margin: 28px auto 0;
    padding: 16px 16px 20px;
    border-top: 1px solid #e0eae5;
}
.bl-disclaimer--page p { margin: 0 0 8px; }
.bl-disclaimer--page p:last-child { margin-bottom: 0; }
.bl-disclaimer a { color: inherit; text-decoration: underline; }
