/* 
 * 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;
}

/* זום על תמונות CTA */
.elementor-cta:hover .elementor-cta__bg {
	transform: scale(1.08);
	transition: transform 0.3s ease;
}

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

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

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

/* ניווט בין פוסטים במובייל */
@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;
	}

	/* פוסטים קשורים של Jetpack במובייל */
	#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;
	}

	.jp-relatedposts-post img {
		width: 100% !important;
		height: auto !important;
		display: block;
		margin: 10px auto 0;
	}

	.jp-relatedposts-headline em {
		font-size: 20px;
		font-weight: 900;
		margin-top: 3px;
		margin-bottom: 15px;
	}

	.jp-relatedposts-post-title a {
		font-size: 14px;
		color: #12594E;
		font-weight: 900;
		display: block;
		margin-top: 3px;
	}

	.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,
.archive h2.entry-title,
.search-results h2.entry-title {
	font-size: 24px;
	font-weight: 900;
}

@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="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;
}

/* ביטול outline על אייקונים */
.elementor-icon:focus {
	outline: none;
	box-shadow: none;
}

/* ביטול outline על חיפוש */
.elementor-search-form--skin-minimal:focus-within {
	outline-width: 0px;
	outline-style: none;
}

/* הפוטר */
#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;
	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;
}

#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;
	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;
}

#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;
	font-weight: normal;
	color: #12594E;
	text-decoration: none;
	line-height: 0.12;
}

.tagcloud a::after {
	content: ' / ';
	margin: 0 0.005em;
}

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

.tagcloud a:not(:last-child) {
	margin-right: 0.05em;
}

.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;
}

@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;
	}
}

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

.single-post h5 {
	font-family: 'narkiss-yair-variable', sans-serif;
	font-weight: 900;
	font-size: 18px;
	color: #12594E;
}

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

/* הסתרת כותרת Top Posts */
.elementor-widget-wp-widget-top-posts h5 {
	display: none !important;
}
/* תמונות בתוך פוסטים — רוחב מלא תמיד */
.single-post .entry-content img,
.single-post .elementor-widget-theme-post-content img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}
#jp-relatedposts h3.jp-relatedposts-headline em::before {
  display: none !important;
  border: none !important;
  content: none !important;
}
