/*
Theme Name: Janoob News Hebrew
Theme URI: https://he.janoob.net
Author: Janoob Agency
Author URI: https://janoob.net
Description: חדשות באר שבע והדרום — עיתון דיגיטלי עברי, SEO מלא.
Version: 1.13.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: janoob-he
*/

:root {
	--jhe-bg: #eef1f5;
	--jhe-paper: #ffffff;
	--jhe-ink: #111827;
	--jhe-muted: #5b6472;
	--jhe-line: #e2e6ec;
	--jhe-primary: #c40010;
	--jhe-primary-soft: #fde8ea;
	--jhe-accent: #8f000c;
	--jhe-local: #0d5c4a;
	--jhe-local-soft: #e6f4f0;
	--jhe-national: #1e3a5f;
	--jhe-national-soft: #e8eef5;
	--jhe-opinion: #5c3d0f;
	--jhe-opinion-soft: #f5efe4;
	--jhe-max-page: 100%;
	--jhe-pad-inline: 0.875rem;
	--jhe-font: "Heebo", "Assistant", "Segoe UI", Tahoma, Arial, sans-serif;
}

@media (min-width: 480px) {
	:root {
		--jhe-pad-inline: 1rem;
	}
}

@media (min-width: 640px) {
	:root {
		--jhe-max-page: 36rem;
	}
}

@media (min-width: 768px) {
	:root {
		--jhe-max-page: 42rem;
		--jhe-pad-inline: 1.125rem;
	}
}

@media (min-width: 1024px) {
	:root {
		--jhe-max-page: 52rem;
	}
}

@media (min-width: 1280px) {
	:root {
		--jhe-max-page: 60rem;
	}
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--jhe-font);
	font-size: 0.8125rem;
	line-height: 1.55;
	color: var(--jhe-ink);
	background: var(--jhe-bg);
	direction: rtl;
	text-align: right;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
}

@media (min-width: 640px) {
	body {
		font-size: 0.875rem;
		padding-block: 0.5rem;
	}
}

/* מעטפת מרכזית — mobile-first, מתרחבת ב-tablet/desktop */
.jhe-site {
	width: min(100% - 1rem, var(--jhe-max-page));
	max-width: 100%;
	margin-inline: auto;
	background: var(--jhe-paper);
	min-height: 100dvh;
	box-shadow: 0 1px 0 var(--jhe-line);
	padding-bottom: env(safe-area-inset-bottom, 0);
}

@media (min-width: 640px) {
	.jhe-site {
		border-radius: 0.375rem;
		box-shadow:
			0 0 0 1px var(--jhe-line),
			0 8px 28px rgba(17, 24, 39, 0.06);
		min-height: auto;
	}
}

a {
	color: var(--jhe-primary);
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

a:hover {
	color: var(--jhe-accent);
}

.jhe-thumb {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	border-radius: 0;
	background: var(--jhe-line);
}

.jhe-thumb--list,
.jhe-thumb--lead {
	aspect-ratio: auto;
}

.jhe-thumb--single {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	max-height: 16rem;
	object-fit: cover;
	border-radius: 0.35rem;
	border: 1px solid var(--jhe-line);
}

@media (min-width: 768px) {
	.jhe-thumb--single {
		max-height: 20rem;
	}
}

.jhe-skip {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.jhe-skip:focus {
	position: static;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0.5rem 1rem;
	clip: auto;
	background: var(--jhe-ink);
	color: #fff;
}

.jhe-wrap {
	width: 100%;
	margin-inline: auto;
	padding-inline: var(--jhe-pad-inline);
}

/* Masthead */
.jhe-masthead {
	background: linear-gradient(180deg, var(--jhe-primary-soft) 0%, var(--jhe-paper) 42%);
	border-bottom: 3px solid var(--jhe-primary);
	padding: 0.75rem 0 0.5rem;
}

.jhe-masthead__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem;
	padding-bottom: 0.45rem;
	border-bottom: 1px solid var(--jhe-line);
	font-size: 0.6875rem;
	color: var(--jhe-muted);
	font-weight: 600;
}

.jhe-search-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	margin: 0;
	padding: 0.2rem 0.45rem;
	border: 1px solid var(--jhe-line);
	border-radius: 0.35rem;
	background: var(--jhe-paper);
	color: var(--jhe-ink);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	line-height: 1.2;
}

.jhe-search-toggle:hover,
.jhe-search-toggle[aria-expanded="true"] {
	border-color: var(--jhe-primary);
	color: var(--jhe-primary);
}

.jhe-search-toggle__icon {
	font-size: 0.95rem;
	line-height: 1;
}

.jhe-search-panel {
	padding: 0.55rem 0 0.35rem;
	border-bottom: 1px solid var(--jhe-line);
}

.jhe-search-form {
	display: flex;
	gap: 0.4rem;
	align-items: stretch;
	width: 100%;
	max-width: 36rem;
	margin-inline: auto;
}

.jhe-search-form__input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 0.55rem 0.75rem;
	border: 1px solid var(--jhe-line);
	border-radius: 0.4rem;
	font: inherit;
	font-size: 0.9375rem;
	background: var(--jhe-paper);
	color: var(--jhe-ink);
}

.jhe-search-form__input:focus {
	outline: 2px solid var(--jhe-primary);
	outline-offset: 1px;
	border-color: var(--jhe-primary);
}

.jhe-search-form__submit {
	flex: 0 0 auto;
	padding: 0.55rem 0.9rem;
	border: 0;
	border-radius: 0.4rem;
	background: var(--jhe-primary);
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.jhe-search-form__submit:hover {
	filter: brightness(0.95);
}

.jhe-search-page__form {
	margin-top: 0.85rem;
}

.jhe-search-page__scope {
	margin: 0.35rem 0 0;
	color: var(--jhe-muted);
	font-size: 0.875rem;
	font-weight: 600;
}

.jhe-search-page__count {
	margin: 0 0 0.75rem;
	font-size: 0.8125rem;
	color: var(--jhe-muted);
	font-weight: 600;
}

.jhe-search-filters {
	margin-top: 0.85rem;
}

.jhe-search-filters__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.jhe-search-filters__link {
	display: inline-block;
	padding: 0.28rem 0.65rem;
	border: 1px solid var(--jhe-line);
	border-radius: 0.35rem;
	font-size: 0.8125rem;
	font-weight: 700;
	text-decoration: none;
	color: var(--jhe-ink);
	background: var(--jhe-paper);
}

.jhe-search-filters__link:hover,
.jhe-search-filters__link[aria-current="page"] {
	border-color: var(--jhe-primary);
	color: var(--jhe-primary);
	background: var(--jhe-primary-soft);
}

.jhe-search-empty {
	padding: 1.25rem 0 2rem;
}

.jhe-search-empty__hints {
	margin: 0.75rem 0 0;
	padding-inline-start: 1.2rem;
	color: var(--jhe-muted);
	font-size: 0.875rem;
}

.jhe-badge--search,
.jhe-badge--place {
	background: #eef2ff;
	color: #3730a3;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.jhe-masthead__brand {
	text-align: center;
	flex: 1 1 100%;
	padding: 0.35rem 0;
}

.jhe-masthead__identity {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
}

.jhe-masthead__logo {
	display: block;
	flex-shrink: 0;
	line-height: 0;
	text-decoration: none;
	border-radius: 0.45rem;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(17, 24, 39, 0.08);
	border: 1px solid rgba(196, 0, 16, 0.12);
	background: var(--jhe-paper);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.jhe-masthead__logo:hover {
	box-shadow: 0 4px 14px rgba(196, 0, 16, 0.14);
	transform: translateY(-1px);
}

.jhe-masthead__logo-img {
	display: block;
	width: clamp(3rem, 11vw, 3.75rem);
	height: clamp(3rem, 11vw, 3.75rem);
	object-fit: contain;
}

.jhe-logo-picture {
	display: block;
	line-height: 0;
}

.jhe-logo-picture .jhe-masthead__logo-img,
.jhe-logo-picture .jhe-article-mark__img {
	display: block;
}

.jhe-masthead__titles {
	min-width: 0;
}

@media (min-width: 480px) {
	.jhe-masthead__identity {
		flex-direction: row;
		align-items: center;
		gap: 0.85rem;
		text-align: start;
	}

	.jhe-masthead__brand {
		text-align: start;
	}

	.jhe-masthead__titles {
		flex: 1 1 auto;
	}
}

@media (min-width: 640px) {
	.jhe-masthead__logo-img {
		width: 4.25rem;
		height: 4.25rem;
	}
}

.jhe-masthead__title {
	margin: 0;
	font-size: clamp(1.1rem, 5.2vw, 1.55rem);
	font-weight: 900;
	letter-spacing: -0.02em;
	line-height: 1.12;
}

.jhe-masthead__title a {
	color: var(--jhe-ink);
	text-decoration: none;
}

.jhe-masthead__agency {
	margin: 0.35rem 0 0;
	font-size: clamp(0.75rem, 3.4vw, 0.9375rem);
	font-weight: 800;
	color: var(--jhe-primary);
	line-height: 1.35;
	padding-inline: 0.25rem;
	letter-spacing: 0.01em;
}

.jhe-masthead__tagline {
	margin: 0.2rem 0 0;
	font-size: clamp(0.6875rem, 3vw, 0.8125rem);
	font-weight: 600;
	color: var(--jhe-muted);
	line-height: 1.4;
	padding-inline: 0.25rem;
}

.jhe-nav {
	display: flex;
	flex-wrap: nowrap;
	gap: 0.2rem;
	justify-content: flex-start;
	padding: 0.45rem 0 0.55rem;
	font-size: 0.75rem;
	font-weight: 700;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.jhe-nav::-webkit-scrollbar {
	display: none;
}

@media (min-width: 640px) {
	.jhe-nav {
		flex-wrap: wrap;
		justify-content: center;
		overflow-x: visible;
		font-size: 0.8125rem;
		gap: 0.3rem 0.5rem;
	}
}

.jhe-nav a {
	color: var(--jhe-ink);
	text-decoration: none;
	padding: 0.35rem 0.5rem;
	border-radius: 0.2rem;
	white-space: nowrap;
	flex-shrink: 0;
	min-height: 2.25rem;
	display: inline-flex;
	align-items: center;
}

.jhe-nav a:hover,
.jhe-nav a[aria-current="page"] {
	background: var(--jhe-primary-soft);
	color: var(--jhe-primary);
}

/* Zone badges */
.jhe-badge {
	display: inline-block;
	font-size: 0.625rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	padding: 0.1rem 0.4rem;
	border-radius: 999px;
	text-transform: uppercase;
	vertical-align: middle;
}

.jhe-badge--local {
	background: var(--jhe-local-soft);
	color: var(--jhe-local);
}

.jhe-badge--national {
	background: var(--jhe-national-soft);
	color: var(--jhe-national);
}

.jhe-badge--opinion {
	background: var(--jhe-opinion-soft);
	color: var(--jhe-opinion);
}

.jhe-badge--preliminary {
	background: #fff3e0;
	color: #b45309;
}

/* Preliminary ticker (homepage) */
.jhe-rishoni-ticker {
	background: linear-gradient(180deg, #fff8f0 0%, var(--jhe-paper) 100%);
	border-bottom: 2px solid #f0c78a;
	padding: 0.65rem 0 0.75rem;
}

.jhe-rishoni-ticker__inner {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.jhe-rishoni-ticker__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
}

.jhe-rishoni-ticker__more {
	font-size: 0.6875rem;
	font-weight: 800;
	text-decoration: none;
	color: #b45309;
}

.jhe-rishoni-ticker__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.jhe-rishoni-ticker__item {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.35rem 0;
	border-bottom: 1px solid rgba(180, 83, 9, 0.12);
}

.jhe-rishoni-ticker__item:last-child {
	border-bottom: none;
}

.jhe-rishoni-ticker__item a {
	font-size: 0.8125rem;
	font-weight: 800;
	line-height: 1.35;
	color: var(--jhe-ink);
	text-decoration: none;
}

.jhe-rishoni-ticker__item a:hover {
	color: var(--jhe-primary);
}

.jhe-rishoni-ticker__item time {
	flex-shrink: 0;
	font-size: 0.6875rem;
	font-weight: 700;
	color: var(--jhe-muted);
	font-variant-numeric: tabular-nums;
}

.jhe-rishoni-ticker__note {
	margin: 0.15rem 0 0;
	font-size: 0.625rem;
	font-weight: 600;
	color: #9a6700;
	line-height: 1.4;
}

/* Preliminary archive /rishoni/ */
.jhe-rishoni {
	padding-block: 0.5rem 1.5rem;
}

.jhe-rishoni__head {
	margin-bottom: 1rem;
	padding-bottom: 0.75rem;
	border-bottom: 3px solid #b45309;
}

.jhe-rishoni__kicker {
	margin: 0 0 0.2rem;
	font-size: 0.6875rem;
	font-weight: 800;
	color: #b45309;
}

.jhe-rishoni__title {
	margin: 0 0 0.35rem;
	font-size: 1.5rem;
	font-weight: 900;
	line-height: 1.2;
}

.jhe-rishoni__date {
	margin: 0 0 0.35rem;
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--jhe-muted);
}

.jhe-rishoni__note {
	margin: 0;
	font-size: 0.75rem;
	font-weight: 600;
	color: #9a6700;
	line-height: 1.45;
}

.jhe-rishoni__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.75rem;
	margin-bottom: 1rem;
	font-size: 0.75rem;
	font-weight: 800;
}

.jhe-rishoni__nav a {
	text-decoration: none;
	color: #b45309;
}

.jhe-rishoni__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.jhe-rishoni__item {
	padding: 0.75rem 0.875rem;
	border: 1px solid var(--jhe-line);
	border-radius: 0.375rem;
	background: #fffdf8;
}

.jhe-rishoni__item-meta {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.35rem;
}

.jhe-rishoni__item-meta time {
	font-size: 0.6875rem;
	font-weight: 700;
	color: var(--jhe-muted);
}

.jhe-rishoni__item-title {
	margin: 0 0 0.35rem;
	font-size: 1rem;
	font-weight: 900;
	line-height: 1.3;
}

.jhe-rishoni__item-title a {
	color: var(--jhe-ink);
	text-decoration: none;
}

.jhe-rishoni__item-title a:hover {
	color: var(--jhe-primary);
}

.jhe-rishoni__item-excerpt {
	margin: 0 0 0.4rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--jhe-muted);
	line-height: 1.45;
}

.jhe-rishoni__item-more {
	font-size: 0.75rem;
	font-weight: 800;
	text-decoration: none;
}

.jhe-rishoni__empty {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--jhe-muted);
}

.jhe-single__rishoni-note {
	margin: 0 0 0.5rem;
	padding: 0.5rem 0.65rem;
	background: #fff3e0;
	border-inline-start: 3px solid #b45309;
	border-radius: 0.25rem;
	font-size: 0.75rem;
	font-weight: 700;
	color: #9a6700;
	line-height: 1.45;
}

.jhe-single__rishoni-foot {
	margin: 1rem 0 0;
	font-size: 0.8125rem;
	font-weight: 800;
}

.jhe-single--rishoni .jhe-single__title {
	font-size: 1.35rem;
}

/* Front: local hero strip */
.jhe-local-hero {
	background: linear-gradient(135deg, var(--jhe-local-soft) 0%, var(--jhe-paper) 55%);
	border-block: 2px solid var(--jhe-local);
	padding: 0.75rem 0;
}

.jhe-local-hero__label {
	margin: 0 0 0.5rem;
	font-size: 0.6875rem;
	font-weight: 900;
	color: var(--jhe-local);
	letter-spacing: 0.08em;
}

.jhe-local-hero__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.6rem;
}

.jhe-local-hero__item a {
	color: var(--jhe-ink);
	text-decoration: none;
	font-weight: 800;
	font-size: clamp(0.9rem, 4vw, 1.05rem);
	line-height: 1.4;
}

.jhe-local-hero__item a:hover {
	color: var(--jhe-primary);
}

.jhe-local-hero__meta {
	display: block;
	margin-top: 0.25rem;
	font-size: 0.6875rem;
	font-weight: 600;
	color: var(--jhe-muted);
}

/* Front grid — עמודה אחת במובייל; שתיים רק כשהמעטפת רחבה מספיק */
.jhe-front-grid {
	display: grid;
	gap: 1.1rem;
	padding: 1rem 0 1.25rem;
}

@media (min-width: 40rem) {
	.jhe-front-grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 11rem);
		gap: 1.25rem 1rem;
		align-items: start;
	}
}

@media (min-width: 768px) {
	.jhe-front-grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 14rem);
		gap: 1.5rem 1.25rem;
	}
}

@media (min-width: 1024px) {
	.jhe-front-grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 17rem);
	}
}

.jhe-section {
	margin-bottom: 1.25rem;
}

.jhe-section__head {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.35rem;
	margin-bottom: 0.65rem;
	padding-bottom: 0.35rem;
	border-bottom: 1.5px solid var(--jhe-ink);
}

@media (min-width: 480px) {
	.jhe-section__head {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}

.jhe-section__more {
	font-size: 0.75rem;
	font-weight: 700;
}

.jhe-article-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0;
}

.jhe-section__title {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 900;
	line-height: 1.35;
}

.jhe-article-list__item {
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--jhe-line);
}

.jhe-article-list__row {
	display: grid;
	gap: 0.65rem;
}

.jhe-article-list__row--has-media {
	grid-template-columns: 5.75rem minmax(0, 1fr);
	align-items: start;
	gap: 0.75rem;
}

.jhe-article-list__item--lead .jhe-article-list__row--has-media {
	grid-template-columns: 5.75rem minmax(0, 1fr);
}

@media (min-width: 640px) {
	.jhe-article-list__row--has-media,
	.jhe-article-list__item--lead .jhe-article-list__row--has-media {
		grid-template-columns: 7.5rem minmax(0, 1fr);
	}
}

.jhe-article-list__media {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 0.3rem;
	border: 1px solid var(--jhe-line);
	line-height: 0;
	background: var(--jhe-line);
	align-self: start;
}

.jhe-article-list__media .jhe-thumb {
	width: 100%;
	height: 100%;
}

.jhe-article-list__media:hover {
	border-color: var(--jhe-primary);
}

.jhe-article-list__body {
	min-width: 0;
}

.jhe-article-list__item:first-child {
	padding-top: 0;
}

.jhe-article-list__link {
	display: block;
	color: var(--jhe-ink);
	text-decoration: none;
	font-weight: 700;
	font-size: 0.8125rem;
	line-height: 1.4;
}

.jhe-article-list__link:hover {
	color: var(--jhe-primary);
}

.jhe-article-list__item--lead .jhe-article-list__link {
	font-size: 0.9rem;
	font-weight: 800;
}

@media (min-width: 640px) {
	.jhe-article-list__link {
		font-size: 0.875rem;
	}

	.jhe-article-list__item--lead .jhe-article-list__link {
		font-size: 0.9375rem;
	}
}

.jhe-article-list__excerpt {
	margin: 0.25rem 0 0;
	font-size: 0.8125rem;
	color: var(--jhe-muted);
	line-height: 1.5;
}

.jhe-article-list__meta {
	margin-top: 0.25rem;
	font-size: 0.6875rem;
	color: var(--jhe-muted);
	font-weight: 600;
}

.jhe-byline {
	margin: 0.35rem 0 0.15rem;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--jhe-opinion);
	line-height: 1.35;
}

.jhe-byline--compact {
	margin: 0.2rem 0 0;
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--jhe-opinion);
}

.jhe-byline__label {
	font-weight: 600;
	color: var(--jhe-muted);
}

.jhe-byline__name {
	font-weight: 800;
}

.jhe-sidebar-block {
	background: var(--jhe-bg);
	border: 1px solid var(--jhe-line);
	padding: 0.65rem 0.75rem;
	margin-bottom: 0.75rem;
	border-radius: 0.3rem;
}

.jhe-sidebar-block--opinion {
	border-color: var(--jhe-opinion);
	border-width: 1.5px;
}

.jhe-sidebar-block__title {
	margin: 0 0 0.5rem;
	font-size: 0.875rem;
	font-weight: 900;
	color: var(--jhe-opinion);
}

/* Single article */
.jhe-single {
	background: var(--jhe-paper);
	padding: 1rem 0 1.5rem;
}

.jhe-single__figure {
	margin: 0 0 0.85rem;
	line-height: 0;
}

.jhe-single__opening {
	--jhe-article-mark-size: calc(clamp(1.05rem, 4.8vw, 1.45rem) * 1.25 * 2);
}

.jhe-single__opening::after {
	content: "";
	display: table;
	clear: both;
}

.jhe-article-mark {
	float: inline-start;
	width: var(--jhe-article-mark-size);
	height: var(--jhe-article-mark-size);
	margin: 0.15rem 0 0.65rem;
	margin-inline-end: 0.85rem;
	padding: 0;
	line-height: 0;
	border-radius: 0.35rem;
	overflow: hidden;
	background: var(--jhe-paper);
	border: 1px solid var(--jhe-line);
	box-shadow: 0 1px 6px rgba(17, 24, 39, 0.06);
	shape-outside: margin-box;
}

.jhe-article-mark__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.jhe-single__header {
	margin-bottom: 1rem;
	padding-bottom: 0.65rem;
	border-bottom: 1px solid var(--jhe-line);
}

.jhe-single__title {
	margin: 0.5rem 0 0;
	font-size: clamp(1.05rem, 4.8vw, 1.45rem);
	font-weight: 900;
	line-height: 1.25;
}

.jhe-single__lead {
	margin: 0.5rem 0 0;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--jhe-muted);
	line-height: 1.55;
}

@media (min-width: 640px) {
	.jhe-single {
		padding: 1.15rem 0 1.75rem;
	}

	.jhe-single__opening {
		--jhe-article-mark-size: calc(1.45rem * 1.25 * 2);
	}

	.jhe-article-mark {
		margin-inline-end: 1rem;
		border-radius: 0.4rem;
	}

	.jhe-single__lead {
		font-size: 0.9375rem;
	}
}

.jhe-single__body {
	font-size: 0.875rem;
	line-height: 1.65;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.jhe-single__body h2,
.jhe-single__body h3 {
	margin: 1.75rem 0 0.75rem;
	font-weight: 800;
	line-height: 1.3;
}

.jhe-single__body p {
	margin: 0 0 1rem;
}

.jhe-single__header .jhe-byline {
	margin-top: 0.5rem;
	margin-bottom: 0.15rem;
	font-size: 0.9375rem;
}

.jhe-single__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.75rem;
	font-size: 0.75rem;
	color: var(--jhe-muted);
	font-weight: 600;
}

@media (min-width: 640px) {
	.jhe-single__meta {
		font-size: 0.8125rem;
		gap: 0.5rem 1rem;
	}
}

.jhe-single__facts {
	margin: 2rem 0;
	padding: 1rem 1.25rem;
	background: var(--jhe-bg);
	border-inline-start: 4px solid var(--jhe-primary);
	border-radius: 0.25rem;
}

.jhe-single__facts h2 {
	margin: 0 0 0.5rem;
	font-size: 0.9375rem;
	font-weight: 900;
}

.jhe-single__facts ul {
	margin: 0;
	padding-inline-start: 1.25rem;
}

.jhe-source-link {
	margin-top: 2rem;
	padding-top: 1rem;
	border-top: 1px dashed var(--jhe-line);
	font-size: 0.875rem;
}

/* Archive */
.jhe-archive-head {
	padding: 1.5rem 0;
	border-bottom: 2px solid var(--jhe-ink);
	margin-bottom: 1.5rem;
}

.jhe-archive-head h1 {
	margin: 0;
	font-size: clamp(1.2rem, 5vw, 1.5rem);
	font-weight: 900;
	line-height: 1.3;
}

.jhe-archive-desc {
	margin: 0.5rem 0 0;
	color: var(--jhe-muted);
	font-size: 0.9375rem;
}

/* Footer */
.jhe-footer {
	background: var(--jhe-ink);
	color: #e5e7eb;
	padding: 1.5rem 0;
	margin-top: 1.5rem;
	font-size: 0.8125rem;
	line-height: 1.55;
}

.jhe-footer a {
	color: #fca5a5;
}

.jhe-footer__grid {
	display: grid;
	gap: 1.25rem;
}

@media (min-width: 640px) {
	.jhe-footer__grid {
		grid-template-columns: 1.4fr 1fr;
		align-items: start;
		gap: 2rem;
	}
}

.jhe-footer__about p {
	margin: 0 0 0.45rem;
}

.jhe-footer__contact-title {
	margin: 0 0 0.65rem;
	font-size: 0.875rem;
	font-weight: 800;
	color: #fff;
}

.jhe-footer__contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.jhe-footer__contact-list a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	text-decoration: none;
	color: #e5e7eb;
	font-weight: 600;
	transition: color 0.15s ease;
}

.jhe-footer__contact-list a:hover {
	color: #fff;
}

.jhe-footer__wa {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.45rem 0.85rem;
	border-radius: 999px;
	background: #25d366;
	color: #fff !important;
	font-weight: 800;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.jhe-footer__wa:hover {
	background: #20bd5a;
	color: #fff !important;
}

.jhe-footer__wa--chat {
	background: transparent;
	color: #e5e7eb !important;
	box-shadow: none;
	padding-inline-start: 0.15rem;
	font-weight: 600;
}

.jhe-footer__wa--chat:hover {
	background: transparent;
	color: #fff !important;
}

.jhe-icon {
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
}

.jhe-footer__wa .jhe-icon {
	width: 1.05rem;
	height: 1.05rem;
}

.jhe-footer__title {
	margin: 0 0 0.5rem;
	font-weight: 800;
	color: #fff;
}

.jhe-footer__copy {
	margin: 1.5rem 0 0;
	padding-top: 1rem;
	border-top: 1px solid #374151;
	font-size: 0.75rem;
	color: #9ca3af;
}

/* Pagination */
.jhe-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
	padding: 2rem 0;
}

.jhe-pagination a,
.jhe-pagination span {
	padding: 0.4rem 0.75rem;
	border: 1px solid var(--jhe-line);
	border-radius: 0.25rem;
	font-weight: 700;
	font-size: 0.875rem;
	text-decoration: none;
	color: var(--jhe-ink);
	background: var(--jhe-paper);
}

.jhe-pagination .current {
	background: var(--jhe-primary);
	border-color: var(--jhe-primary);
	color: #fff;
}

/* Hide WordPress / Jetpack visitor UI */
#comments,
#respond,
.comment-respond,
.comment-form,
.jetpack-comment-form,
#jp-post-flair,
.sharedaddy,
.sd-sharing,
.post-likes-widget,
#wpadminbar {
	display: none !important;
}

/* Breadcrumbs */
.jhe-breadcrumbs {
	margin: 0 0 0.75rem;
	font-size: 0.6875rem;
	font-weight: 600;
	color: var(--jhe-muted);
}

.jhe-breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.jhe-breadcrumbs__item:not(:last-child)::after {
	content: "›";
	margin-inline-start: 0.35rem;
	color: var(--jhe-primary);
}

.jhe-breadcrumbs a {
	color: var(--jhe-muted);
	text-decoration: none;
}

.jhe-breadcrumbs a:hover {
	color: var(--jhe-primary);
}

/* ── Place anchor pages (Phase 1) ── */
.jhe-place {
	padding-block: 0.5rem 1.5rem;
}

.jhe-place__header {
	margin-bottom: 1rem;
	padding-bottom: 0.75rem;
	border-bottom: 3px solid var(--jhe-primary);
}

.jhe-place__kicker {
	margin: 0 0 0.25rem;
	font-size: 0.6875rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--jhe-local);
}

.jhe-place__title {
	margin: 0 0 0.5rem;
	font-size: 1.625rem;
	font-weight: 900;
	line-height: 1.2;
	color: var(--jhe-ink);
}

@media (min-width: 640px) {
	.jhe-place__title {
		font-size: 2rem;
	}
}

.jhe-place__lead {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.5;
	color: var(--jhe-muted);
}

.jhe-place__layout {
	display: grid;
	gap: 1.25rem;
}

@media (min-width: 768px) {
	.jhe-place__layout {
		grid-template-columns: 1fr min(14rem, 32%);
		align-items: start;
	}
}

.jhe-place__body {
	font-size: 0.9375rem;
	line-height: 1.65;
}

.jhe-place__body p {
	margin: 0 0 0.75rem;
}

.jhe-place-infobox {
	padding: 0.875rem 1rem;
	background: var(--jhe-local-soft);
	border: 1px solid var(--jhe-line);
	border-radius: 0.375rem;
	font-size: 0.8125rem;
}

.jhe-place-infobox__list {
	margin: 0;
}

.jhe-place-infobox__row {
	display: grid;
	grid-template-columns: 5.5rem 1fr;
	gap: 0.35rem 0.5rem;
	padding-block: 0.35rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.jhe-place-infobox__row:last-of-type {
	border-bottom: none;
}

.jhe-place-infobox__row dt {
	margin: 0;
	font-weight: 800;
	color: var(--jhe-ink);
}

.jhe-place-infobox__row dd {
	margin: 0;
	color: var(--jhe-muted);
	font-weight: 600;
}

.jhe-place-infobox__map {
	margin: 0.75rem 0 0;
}

.jhe-place-infobox__map-link {
	display: inline-block;
	padding: 0.4rem 0.65rem;
	background: var(--jhe-paper);
	border: 1px solid var(--jhe-line);
	border-radius: 0.25rem;
	font-weight: 700;
	font-size: 0.75rem;
	text-decoration: none;
	color: var(--jhe-local);
}

.jhe-place-infobox__sources {
	margin-top: 0.75rem;
	padding-top: 0.75rem;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.jhe-place-infobox__sources-title {
	margin: 0 0 0.35rem;
	font-size: 0.6875rem;
	font-weight: 800;
	color: var(--jhe-muted);
}

.jhe-place-infobox__sources-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.jhe-place-infobox__sources-list li {
	margin-block: 0.2rem;
}

.jhe-place-infobox__sources-list a {
	font-weight: 700;
	font-size: 0.75rem;
}

.jhe-place-news {
	margin-top: 1.5rem;
	padding-top: 1rem;
	border-top: 2px solid var(--jhe-line);
}

.jhe-place-news__title {
	margin: 0 0 0.75rem;
	font-size: 1.125rem;
	font-weight: 900;
	color: var(--jhe-ink);
}

.jhe-place-news__empty {
	margin: 0;
	font-size: 0.875rem;
	color: var(--jhe-muted);
	font-weight: 600;
}

.jhe-article-list--compact .jhe-article-list__excerpt {
	display: none;
}

/* Places hub archive */
.jhe-places-hub__head {
	margin-bottom: 1.25rem;
}

.jhe-places-hub__title {
	margin: 0 0 0.35rem;
	font-size: 1.5rem;
	font-weight: 900;
}

.jhe-places-hub__desc {
	margin: 0;
	font-size: 0.875rem;
	color: var(--jhe-muted);
	font-weight: 600;
	line-height: 1.5;
}

.jhe-places-hub__section {
	margin-bottom: 1.5rem;
}

.jhe-places-hub__region {
	margin: 0 0 0.65rem;
	padding-bottom: 0.35rem;
	font-size: 0.9375rem;
	font-weight: 900;
	color: var(--jhe-local);
	border-bottom: 2px solid var(--jhe-primary-soft);
}

.jhe-places-hub__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

@media (min-width: 480px) {
	.jhe-places-hub__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 768px) {
	.jhe-places-hub__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.jhe-place-card {
	margin: 0;
}

.jhe-place-card__link {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 0.75rem 0.875rem;
	min-height: 100%;
	background: var(--jhe-paper);
	border: 1px solid var(--jhe-line);
	border-radius: 0.375rem;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.jhe-place-card__link:hover {
	border-color: var(--jhe-primary);
	box-shadow: 0 4px 12px rgba(196, 0, 16, 0.08);
}

.jhe-place-card__type {
	font-size: 0.625rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--jhe-local);
}

.jhe-place-card__title {
	font-size: 1rem;
	font-weight: 900;
	color: var(--jhe-ink);
	line-height: 1.25;
}

.jhe-place-card__excerpt {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--jhe-muted);
	line-height: 1.45;
}

/* Hebrew related posts (replaces Jetpack Arabic "مرتبط") */
#jp-relatedposts {
	display: none !important;
}

.jhe-related {
	margin-top: 1.5rem;
	padding-top: 1rem;
	border-top: 2px solid var(--jhe-line);
}

.jhe-related__title {
	margin: 0 0 0.75rem;
	font-size: 1.125rem;
	font-weight: 900;
	color: var(--jhe-ink);
}

.jhe-related__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

@media (min-width: 640px) {
	.jhe-related__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.jhe-related__link {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	height: 100%;
	padding: 0.75rem;
	background: var(--jhe-paper);
	border: 1px solid var(--jhe-line);
	border-radius: 0.375rem;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.15s ease;
}

.jhe-related__link:hover {
	border-color: var(--jhe-primary);
}

.jhe-related__item-title {
	font-size: 0.875rem;
	font-weight: 800;
	line-height: 1.35;
	color: var(--jhe-ink);
}

.jhe-related__item-excerpt {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--jhe-muted);
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.jhe-related__item-date {
	font-size: 0.6875rem;
	font-weight: 700;
	color: var(--jhe-muted);
	margin-top: auto;
}

a.jhe-place-link {
	color: var(--jhe-local);
	font-weight: 700;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

a.jhe-place-link:hover {
	color: var(--jhe-primary);
}

/* Geo pillar landings */
.jhe-geo {
	padding-block: 0.5rem 1.5rem;
}

.jhe-geo__head {
	margin-bottom: 1rem;
	padding-bottom: 0.75rem;
	border-bottom: 3px solid var(--jhe-primary);
}

.jhe-geo__title {
	margin: 0 0 0.4rem;
	font-size: 1.5rem;
	font-weight: 900;
	line-height: 1.2;
}

.jhe-geo__lead {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--jhe-muted);
	line-height: 1.5;
}

.jhe-geo__body {
	font-size: 0.9375rem;
	line-height: 1.65;
	margin-bottom: 1.25rem;
}

.jhe-geo__body p {
	margin: 0 0 0.75rem;
}

.jhe-geo__section-title {
	margin: 0 0 0.65rem;
	font-size: 1.125rem;
	font-weight: 900;
}

.jhe-geo__place-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0;
}

.jhe-geo__place-link {
	display: inline-block;
	padding: 0.35rem 0.65rem;
	background: var(--jhe-local-soft);
	border-radius: 0.25rem;
	font-size: 0.8125rem;
	font-weight: 800;
	text-decoration: none;
	color: var(--jhe-local);
}

.jhe-geo__news {
	margin-top: 0.5rem;
	padding-top: 1rem;
	border-top: 2px solid var(--jhe-line);
}

.jhe-geo__empty {
	font-size: 0.875rem;
	color: var(--jhe-muted);
	font-weight: 600;
}

.jhe-geo__more {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	margin-top: 1.25rem;
	font-size: 0.8125rem;
	font-weight: 800;
}

.jhe-archive-head__title {
	margin: 0.35rem 0 0.5rem;
	font-size: 1.375rem;
	font-weight: 900;
	line-height: 1.25;
}

.jhe-archive-head__badge {
	margin: 0;
}

.jhe-archive-head__links {
	margin: 0.5rem 0 0;
	font-size: 0.75rem;
	font-weight: 700;
}

.jhe-footer__geo {
	margin: 0.35rem 0 0;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.6;
}

.jhe-footer__geo a {
	color: inherit;
	text-decoration: none;
}

.jhe-footer__geo a:hover {
	color: var(--jhe-primary);
	text-decoration: underline;
}

.jhe-place-faq {
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top: 2px solid var(--jhe-line);
}

.jhe-place-faq__title {
	margin: 0 0 0.65rem;
	font-size: 1.125rem;
	font-weight: 900;
}

.jhe-place-faq__item {
	margin-bottom: 0.4rem;
	padding: 0.5rem 0.65rem;
	border: 1px solid var(--jhe-line);
	border-radius: 0.25rem;
	background: var(--jhe-paper);
}

.jhe-place-faq__q {
	font-size: 0.875rem;
	font-weight: 800;
	cursor: pointer;
}

.jhe-place-faq__a {
	margin: 0.5rem 0 0;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--jhe-muted);
	line-height: 1.5;
}

.jhe-place__hubs {
	margin: 1rem 0 0;
	font-size: 0.8125rem;
	font-weight: 800;
}
