/* 
 * Top Posts Widget styles for Jetpack
 */

/* 2-Column Grid Layout */

.widgets-grid-layout {
	width: 100%;
}

.widgets-grid-layout:before,
.widgets-grid-layout:after {
	content: " ";
	display: table;
}

.widgets-grid-layout:after {
	clear: both;
}

.widget-grid-view-image {
	float: left;
	max-width: 50%;
}

.widget-grid-view-image a {
	display: block;
	margin: 0 2px 4px 0;
}

.widget-grid-view-image:nth-child(even) {
	float: right;
}

.widget-grid-view-image:nth-child(even) a {
	margin: 0 0 4px 2px;
}

.widgets-grid-layout .widget-grid-view-image img {
	max-width: 100%;
	height: auto;
}

/* Multi-Column Grid Layout */

.widgets-multi-column-grid ul {
	overflow: hidden;
	padding: 0;
	margin: 0;
	list-style-type: none;
}

.widgets-multi-column-grid ul li {
	background: none;
	clear: none;
	float: left;
	margin: 0 -5px -3px 0;
	padding: 0 8px 6px 0;
	border: none;
	list-style-type: none !important;
}

.widgets-multi-column-grid ul li a {
	background: none;
	margin: 0;
	padding: 0;
	border: 0;
}

.widgets-multi-column-grid .avatar {
	vertical-align: middle;
}

/* List Layout */

.widgets-list-layout {
	padding: 0;
	margin: 0;
	list-style-type: none;
}

.widgets-list-layout li:before,
.widgets-list-layout li:after {
	content:"";
	display:table;
}
.widgets-list-layout li:after {
	clear:both;
}
.widgets-list-layout li {
	zoom:1;
	margin-bottom: 1em;
	list-style-type: none !important;
}

.widgets-list-layout .widgets-list-layout-blavatar {
	float: left;
	width: 21.276596%;
	max-width: 40px;
	height: auto;
}

.widgets-list-layout-links {
	float: right;
	width: 73.404255%;
}

.widgets-list-layout span {
	opacity: 0.5;
}

.widgets-list-layout span:hover {
	opacity: 0.8;
}

.elementor-cta:hover .elementor-cta__bg {
    transform: scale(1.08); /* שנה את הערך כאן כדי לשלוט בכמות הזום */
    transition: transform 0.3s ease; /* מהירות ואופן הזום */
}


/* החלת עיגול פינות על כל התמונות באתר */
.elementor-widget-container img {
    border-radius: 10px;
}

@media only screen and (max-width: 768px) {
    .elementor-post-navigation__link__prev .post-navigation__prev--title,
    .elementor-post-navigation__link__next .post-navigation__next--title {
        white-space: normal; /* מאפשר שבירת שורות */
        overflow: visible; /* ביטול קיצור הטקסט באמצעות "..." */
        text-overflow: unset; /* ביטול אפקט ה-"..." */
        word-wrap: break-word; /* שבירת המילים אם הן ארוכות מדי */
        line-height: 1.2; /* ריווח בין השורות במצב רגיל */
        font-weight: 400; /* משקל רגיל במובייל */
    }

    #jp-relatedposts {
        width: 100% !important;
        box-sizing: border-box;
    }

    .jp-relatedposts-items {
        width: 100% !important;
        box-sizing: border-box;
    }

    .jp-relatedposts-post {
        width: 100% !important;
        box-sizing: border-box;
        margin: 0 !important;
        padding: 0 !important;
        display: block; /* לוודא שהפוסטים יוצגו אחד מתחת לשני */
        margin-bottom: 10px; /* ריווח של 10 פיקסלים בין פוסט לפוסט */
    }

    .jp-relatedposts-post img {
        width: 100% !important;
        height: auto !important;
        display: block;
        margin: 10px auto 0; /* ריווח של 10 פיקסלים מעל התמונה */
    }

    .jp-relatedposts-headline em {
        font-size: 20px; /* גובה כותרת של 20 פיקסלים */
        font-weight: 900;
        margin-top: 3px; /* ריווח של 3 פיקסלים מעל הכותרת */
        margin-bottom: 15px; /* ריווח של 15 פיקסלים מתחת לכותרת */
    }

    .jp-relatedposts-post-title a {
        font-size: 14px; /* גובה כותרת של 14 פיקסלים */
        color: #12594E;
        font-weight: 900;
        display: block; /* לוודא שהכותרת תהיה בלוק חדש */
        margin-top: 3px; /* ריווח של 3 פיקסלים מעל הכותרת */
    }

    .jp-relatedposts-post-img {
        margin-bottom: 5px; /* ריווח בין התמונות לכותרות */
    }
}
}


/* כותרות בארכיונים (תגיות, קטגוריות וחיפוש) */
.archive .elementor-widget-heading .elementor-heading-title[class*=elementor-size-]>a,
.search-results .elementor-widget-heading .elementor-heading-title[class*=elementor-size-]>a {
    font-size: 24px;
    font-weight: 900;
}

.archive h2.entry-title,
.search-results h2.entry-title {
    font-size: 24px;
    font-weight: 900;
}

/* שינוי כותרות במסכים קטנים (עד 767 פיקסלים) */
@media (max-width: 767px) {
    .archive .elementor-widget-heading .elementor-heading-title[class*=elementor-size-]>a,
    .search-results .elementor-widget-heading .elementor-heading-title[class*=elementor-size-]>a,
    .archive h2.entry-title,
    .search-results h2.entry-title {
        font-weight: 400 !important; /* לא בולד */
    }
}


/* עבור כפתור בארכיון תגיות */
div[data-id="d2d5506"] span.elementor-button-content-wrapper {
    border: none !important;
    background: none !important;
    color: inherit !important;
    text-decoration: underline !important;
    text-decoration-thickness: 2.0px !important;
    text-underline-offset: 4px !important;
    text-decoration-color: #12594E !important;
}

div[data-id="d2d5506"] span.elementor-button-content-wrapper span.elementor-button-text {
    text-decoration: none !important;
}

/* עבור כפתור בארכיון קטגוריות */
div[data-id="d2d5506"] span.elementor-button-content-wrapper {
    border: none !important;
    background: none !important;
    color: inherit !important;
    text-decoration: underline !important;
    text-decoration-thickness: 2.0px !important;
    text-underline-offset: 4px !important;
    text-decoration-color: #12594E !important;
}

div[data-id="d2d5506"] span.elementor-button-content-wrapper span.elementor-button-text {
    text-decoration: none !important;
}

/* עבור כפתור בארכיון חיפוש */
div[data-id="d2d5506"] span.elementor-button-content-wrapper {
    border: none !important;
    background: none !important;
    color: inherit !important;
    text-decoration: underline !important;
    text-decoration-thickness: 2.0px !important;
    text-underline-offset: 4px !important;
    text-decoration-color: #12594E !important;
}

div[data-id="d2d5506"] span.elementor-button-content-wrapper span.elementor-button-text {
    text-decoration: none !important;
}


.elementor-icon:focus {
    outline: none;
    box-shadow: none;
}



/* הסרת עיגול פינות מהתמונות בהאדר */
#header img {
    border-radius: 0;
}



/* הסרת עיגול פינות מהתמונות בהאדר */
#header2 img {
    border-radius: 0;
}


/* הסרת עיגול פינות מהתמונות בפוטר */
#footer img {
    border-radius: 0;
}

/* הפוטר */
#subscribe-footer #subscribe-field-wp-widget-blog_subscription::placeholder {
    color: #F8F6F3;
}

/* טקסט ההרשמה בפוטר */
#subscribe-footer #subscribe-text p {
    font-weight: 900;
    color: #F8F6F3;
    line-height: 1.2; /* גובה שורה */
    font-size: 18px; /* גודל טקסט */
}

/* תיבת המייל בפוטר */
#subscribe-footer #subscribe-email {
    position: relative;
    width: calc(100% - 100px); /* התיבה תתפוס את כל הרוחב חוץ מהכפתור */
    display: inline-block; /* השתמש בתצוגת inline-block כדי לשים את הכפתור בצד */
    vertical-align: middle; /* יישור אנכי */
}

#subscribe-footer #subscribe-email input[type="email"] {
    border: none; /* ביטול גבולות מסביב לתיבה */
    border-bottom: 2px solid #F8F6F3; /* קו תחתון בצבע הרצוי */
    border-radius: 0; /* ביטול עיגול פינות */
    color: #F8F6F3; /* צבע הטקסט בתיבה */
    background-color: #12594E; /* צבע הרקע של התיבה */
    padding: 0px;
    font-size: 16px; /* גודל הטקסט בתיבה */
    box-sizing: border-box; /* כולל גבולות במידה הכוללת */
}

/* כפתור ההרשמה בפוטר */
#subscribe-footer #subscribe-submit {
    display: inline-block; /* הצג את הכפתור בצד תיבת המייל */
    vertical-align: middle; /* יישור אנכי */
    margin-left: 0; /* ביטול רווח בין הכפתור לתיבת המייל */
    padding-top: 0; /* ביטול רווח בין הכפתור לקו התחתון */
    position: absolute; /* מיקום מוחלט */
    left: 0; /* צמיד את הכפתור לשמאל הווידג'ט */
}

/* עיצוב כפתור ההרשמה בפוטר */
#subscribe-footer #subscribe-submit button {
    font-weight: 900;
    font-size: 18px;
    color: #F8F6F3;
    border: none; /* ביטול מסגרת מסביב לכפתור */
    background: none; /* ביטול רקע של כפתור */
    padding: 0; /* ביטול ריווח פנימי */
    margin: 0; /* ביטול ריווח חיצוני */
    position: relative; /* מאפשר שינוי מיקום הכפתור */
}

/* קו תחתון בעזרת ::after עבור הפוטר */
#subscribe-footer #subscribe-submit button::after {
    content: ''; /* תוכן ריק ליצירת קו */
    display: block;
    width: 100%; /* קו בתור עורך של הכפתור */
    height: 2px; /* עובי הקו */
    background: #F8F6F3; /* צבע הקו */
    position: absolute;
    bottom: -2px; /* המרחק בין הטקסט לקו התחתון */
    left: 0;
}


/* הסיידבר */
#subscribe-sidebar #subscribe-field-wp-widget-blog_subscription::placeholder {
    color: #12594E; /* צבע טקסט כהה */
}

/* טקסט ההרשמה בסיידבר */
#subscribe-sidebar #subscribe-text p {
    font-weight: 900;
    color: #12594E; /* צבע טקסט כהה */
    line-height: 1.2; /* גובה שורה */
    font-size: 18px; /* גודל טקסט */
}

/* תיבת המייל בסיידבר */
#subscribe-sidebar #subscribe-email {
    position: relative;
    width: calc(100% - 80px); /* התיבה תתפוס את כל הרוחב חוץ מהכפתור */
    display: inline-block; /* השתמש בתצוגת inline-block כדי לשים את הכפתור בצד */
    vertical-align: middle; /* יישור אנכי */
}

#subscribe-sidebar #subscribe-email input[type="email"] {
    border: none; /* ביטול גבולות מסביב לתיבה */
    border-bottom: 2px solid #12594E; /* קו תחתון בצבע כהה */
    border-radius: 0; /* ביטול עיגול פינות */
    color: #12594E; /* צבע הטקסט בתיבה */
    background-color: #F8F6F3; /* צבע הרקע של התיבה בהיר */
    padding: 0px;
    font-size: 16px; /* גודל הטקסט בתיבה */
    box-sizing: border-box; /* כולל גבולות במידה הכוללת */
}

/* כפתור ההרשמה בסיידבר */
#subscribe-sidebar #subscribe-submit {
    display: inline-block; /* הצג את הכפתור בצד תיבת המייל */
    vertical-align: middle; /* יישור אנכי */
    margin-left: 0; /* ביטול רווח בין הכפתור לתיבת המייל */
    padding-top: 0; /* ביטול רווח בין הכפתור לקו התחתון */
    position: absolute; /* מיקום מוחלט */
    left: 0; /* צמיד את הכפתור לשמאל הווידג'ט */
}

/* עיצוב כפתור ההרשמה בסיידבר */
#subscribe-sidebar #subscribe-submit button {
    font-weight: 900;
    font-size: 18px;
    color: #12594E; /* צבע טקסט כהה */
    border: none; /* ביטול מסגרת מסביב לכפתור */
    background: none; /* ביטול רקע של כפתור */
    padding: 0; /* ביטול ריווח פנימי */
    margin: 0; /* ביטול ריווח חיצוני */
    position: relative; /* מאפשר שינוי מיקום הכפתור */
}

/* קו תחתון בעזרת ::after עבור הסיידבר */
#subscribe-sidebar #subscribe-submit button::after {
    content: ''; /* תוכן ריק ליצירת קו */
    display: block;
    width: 100%; /* קו בתור עורך של הכפתור */
    height: 2px; /* עובי הקו */
    background: #12594E; /* צבע הקו כהה */
    position: absolute;
    bottom: -2px; /* המרחק בין הטקסט לקו התחתון */
    left: 0;
}



.tagcloud a {	
    font-family: 'NARKIS', sans-serif;
    font-size: 16px !important;  /* force all tags to the same size */
    font-weight: normal;
    color: #12594E;
    text-decoration: none;
    line-height: 0.12;  /* reduce the line spacing */
}

.tagcloud a::after {
    content: ' / ';
    margin: 0 0.005em;  /* reduce the space before and after the slash */
}

.tagcloud a:last-child::after {
    content: '';
}

.tagcloud a:not(:last-child) {
    margin-right: 0.05em;  /* reduce the right margin between tags */
}

.elementor-widget-wp-widget-tag_cloud .elementor-widget-container h5 {
    display: none;
}}

.elementor-widget-heading .elementor-heading-title[class*=elementor-size-]>a {
    font-size: 25px;
    font-weight: 900;


}


.elementor-search-form--skin-minimal:focus-within {
    outline-width: 0px;
    outline-style: none;
}


@media only screen and (min-width: 768px) {
    .elementor-widget-heading .elementor-heading-title[class*=elementor-size-]>a {
        font-family: 'narkiss-yair-variable', sans-serif;
        font-size: 27px;
        font-weight: 900;
    }
}

div[data-id="2bf5b49"] span.elementor-button-content-wrapper {
    border: none !important;
    background: none !important;
    color: inherit !important;
    text-decoration: underline !important;
    text-decoration-thickness: 2.0px !important;
    text-underline-offset: 4px !important;
    text-decoration-color: #12594E !important;
}

div[data-id="2bf5b49"] span.elementor-button-content-wrapper span.elementor-button-text {
    text-decoration: none !important;
}



/* הגדרת סגנון ל-H2 בפוסטים */
.single-post h2 {
    font-family: 'narkiss-yair-variable', sans-serif;
    font-weight: 900;
    font-size: 27px;
	color: #12594E;
}


/* הגדרת סגנון ל-H2 בפוסטים */
.single-post h5 {
    font-family: 'narkiss-yair-variable', sans-serif;
    font-weight: 900;
    font-size: 18px;
    color: #12594E;
}


/* כל הבולד במובייל הופך למשקל רגיל */
@media (max-width: 767px) {
    * {
        font-weight: 400 !important;
    }}

/* Ensure the widget title is hidden */
.elementor-widget-wp-widget-top-posts h5 {
    display: none !important;