/* מאפשר גלילה חלקה ונעימה לכל האתר */
html {
    scroll-behavior: smooth;
}

/* מוסיף מרווח נשימה בחלק העליון רק במסכי מחשב */
@media (min-width: 768px) {
    html {
        scroll-padding-top: 100px;
    }
}

/* מוודא שהתמונות שומרות על פרופורציה ולא נמרחות */
img {
    max-width: 100%;
    height: auto !important;
}

/* הקופסה הראשית של תפריט הניווט */
.jump-to-box {
    background-color: #f8f9fa;
    border-right: 4px solid #3e7b73;
    border-radius: 6px;
    padding: 15px 10px 5px 10px;
    margin: 30px 0;
    max-width: 100%;
}

/* כותרת התפריט */
.jump-to-title {
    font-size: 1.25rem; /* הגדלנו את כותרת התפריט */
    font-weight: bold;
    color: #222;
    margin-bottom: 8px; /* צמצמנו בחצי את הרווח שמתחת לכותרת */
}

/* רשימת הקישורים */
.jump-to-list {
    list-style-type: none !important;
    padding-right: 0;
    margin: 0 !important;
    margin-bottom: 0 !important; /* מכריח את הרשימה לא לדחוף רווח תחתון עצמאי */
    padding-bottom: 0 !important;
}

/* כל פריט ברשימה */
.jump-to-list li {
    margin-bottom: 4px !important; /* צמצמנו משמעותית את הרווח בין השורות */
    line-height: 1.4 !important; /* דורס את המרווח הגלובלי של האתר כדי להדק את הרשימה */
}

.jump-to-list li:last-child {
    margin-bottom: 0;
}

/* עיצוב הקישורים עצמם */
.jump-to-list a {
    font-size: 1.1rem; /* הגדלנו את הטקסט כדי שיהיה יותר קריא ובולט */
    color: #444;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

/* אפקט מעבר עכבר */
.jump-to-list a:hover {
    color: #3e7b73;
    text-decoration: underline;
}
