/*
Theme Name: Just Hanan
Theme URI: https://www.justhanan.com
Author: Hanan
Description: Custom theme for Just Hanan - Human Lifestyle Magazine
Version: 16.3
Text Domain: just-hanan
*/

:root {
	--jh-green: #2f5542;
	--jh-dark: #16261e;
	--jh-red: #e90d0d;
	--jh-grey-line: #d9d9d9;
	--jh-grey-soft: #f0f0f0;
	--jh-text: #626262;
	--jh-ink-text: #1a1a1a;
	--jh-white: #ffffff;
}

* {
	box-sizing: border-box;
}

a,
button,
input,
select,
textarea {
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
	margin: 0;
	padding: 0;
	font-family: 'DM Sans', sans-serif;
	font-weight: 400;
	font-size: 17px;
	line-height: 1.6;
	color: var(--jh-text);
	background: var(--jh-white);
}

p {
	margin: 0 0 26px 0;
}

.jh-main ul, .jh-main ol,
.jh-article ul, .jh-article ol {
	margin: 0 0 26px 0;
	padding-left: 22px;
}

p:has( + ul.is-style-jh-list-no-gap-above ),
p:has( + ol.is-style-jh-list-no-gap-above ),
p:has( + ul.is-style-jh-list-no-gap-both ),
p:has( + ol.is-style-jh-list-no-gap-both ) {
	margin-bottom: 0;
}

ul.is-style-jh-list-no-gap-above,
ol.is-style-jh-list-no-gap-above,
ul.is-style-jh-list-no-gap-both,
ol.is-style-jh-list-no-gap-both {
	margin-top: 0;
}

ul.is-style-jh-list-no-gap-below,
ol.is-style-jh-list-no-gap-below,
ul.is-style-jh-list-no-gap-both,
ol.is-style-jh-list-no-gap-both {
	margin-bottom: 0;
}

.jh-main li, .jh-article li {
	margin: 0 0 6px 0;
	line-height: 1.6;
}

.jh-main li:last-child, .jh-article li:last-child {
	margin-bottom: 0;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'DM Sans', sans-serif;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
	margin: 0 0 15px 0;
}

h1 { font-size: 40px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }

a {
	color: var(--jh-green);
	text-decoration: none;
}

.jh-main :where(h1, h2, h3, h4, h5, h6, p) a,
.jh-article :where(h1, h2, h3, h4, h5, h6, p) a {
	color: inherit;
}

.jh-main :where(h1, h2, h3, h4, h5, h6, p) a:hover,
.jh-article :where(h1, h2, h3, h4, h5, h6, p) a:hover,
.jh-main :where(h1, h2, h3, h4, h5, h6, p) a:hover *,
.jh-article :where(h1, h2, h3, h4, h5, h6, p) a:hover * {
	color: var(--jh-red) !important;
	text-decoration-color: var(--jh-red) !important;
	-webkit-text-decoration-color: var(--jh-red) !important;
}

.jh-underline:has( a:hover ) {
	color: var(--jh-red) !important;
	text-decoration-color: var(--jh-red) !important;
	-webkit-text-decoration-color: var(--jh-red) !important;
}

img {
	max-width: 100%;
	height: auto;
}

/* ---------- Header ---------- */

.jh-header {
	position: sticky;
	top: 0;
	z-index: 9999;
	background: var(--jh-white);
}

.jh-topbar {
	background: var(--jh-green);
	display: flex;
	justify-content: space-around;
	align-items: center;
}

.jh-topbar a {
	display: block;
	padding: 6px 8px;
	color: var(--jh-white);
	font-size: 15px;
	font-weight: 500;
}

.jh-topbar a:hover {
	background: var(--jh-red);
	color: var(--jh-white);
}

.jh-topbar a.jh-topbar-lang {
	display: flex;
	align-items: center;
	gap: 8px;
}

.jh-topbar .jh-flag {
	border: 0;
}

.jh-logobar {
	display: flex;
	align-items: center;
	padding: 18px 20px 10px 20px;
	background: var(--jh-white);
}

.jh-logo {
	display: inline-block;
	line-height: 1;
}

.jh-logo img {
	height: 74px;
	width: auto;
	display: block;
}

.jh-logo-text {
	display: block;
	font-size: 46px;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: #1a1a1a;
}

.jh-logo-text em {
	font-style: normal;
	color: #9a9a9a;
}

.jh-logo-sub {
	display: block;
	font-size: 17px;
	font-weight: 500;
	letter-spacing: 0.35em;
	color: #1a1a1a;
	text-align: right;
	margin-top: 2px;
}

.jh-navbar {
	position: relative;
	border-top: 1px solid var(--jh-grey-line);
	border-bottom: 1px solid var(--jh-grey-line);
	background: var(--jh-white);
}

.jh-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	list-style: none;
	margin: 0 auto;
	padding: 0 var(--jh-article-pad);
	max-width: var(--jh-page-outer);
}

.jh-nav-item {
	position: relative;
}

.jh-toggle {
	display: block;
	background: none;
	border: 0;
	margin: 0;
	padding: 4px 10px;
	font-family: 'DM Sans', sans-serif;
	font-size: 17px;
	font-weight: 400;
	color: var(--jh-green);
	cursor: pointer;
	line-height: 1.35;
}

.jh-toggle:hover {
	background: var(--jh-grey-line);
	color: var(--jh-green);
}

.jh-nav-item:first-child .jh-toggle {
	padding-left: 0;
}

.jh-nav-item:last-child .jh-toggle {
	padding-right: 0;
}

.jh-nav-burger .jh-toggle {
	font-size: 20px;
	color: var(--jh-green);
}

.jh-panel {
	display: none;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	min-width: 210px;
	background: var(--jh-white);
	border: 1px solid var(--jh-grey-line);
	z-index: 10000;
}

.jh-panel.is-open {
	display: block;
}

.jh-panel-left {
	left: 0;
	transform: none;
}

.jh-nav-item:last-child .jh-panel {
	left: auto;
	right: 0;
	transform: none;
}

.jh-panel ul {
	list-style: none;
	margin: 0;
	padding: 8px 0;
}

.jh-panel li {
	margin: 0;
}

.jh-panel a {
	display: block;
	padding: 2px 22px;
	color: var(--jh-green);
	font-size: 16px;
	line-height: 1.35;
	white-space: nowrap;
}

.jh-panel a:hover {
	background: var(--jh-grey-soft);
}

.jh-close {
	display: none;
	position: absolute;
	top: 4px;
	right: 10px;
	background: none;
	border: 0;
	padding: 2px 6px;
	font-family: 'DM Sans', sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	color: var(--jh-green);
	cursor: pointer;
}

.jh-close:hover {
	color: var(--jh-red);
}

.jh-empty {
	display: block;
	padding: 9px 22px;
	color: #9a9a9a;
	font-size: 15px;
	white-space: nowrap;
}

/* ---------- Article header ---------- */

:root {
	--jh-article-width: 1000px;
	--jh-article-pad: 20px;
	--jh-article-outer: calc(var(--jh-article-width) + (var(--jh-article-pad) * 2));
	--jh-page-width: 1305px;
	--jh-page-outer: calc(var(--jh-page-width) + (var(--jh-article-pad) * 2));
	--jh-artbar-h: 82px;
	--jh-content-top: 15px;
}

.jh-artbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: var(--jh-artbar-h);
	z-index: 9999;
	background: var(--jh-white);
	border-bottom: 1px solid var(--jh-grey-line);
}

body.admin-bar .jh-artbar {
	top: 32px;
}

.jh-artbar-inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	height: 100%;
	max-width: var(--jh-article-outer);
	margin: 0 auto;
	padding: 0 var(--jh-article-pad);
}

.jh-artbar-page .jh-artbar-inner {
	max-width: var(--jh-page-outer);
}

.jh-artbar-back {
	justify-self: start;
	display: block;
	color: #8a8a8a;
	padding: 6px 2px;
}

.jh-artbar-back svg {
	width: 40px;
	height: 16px;
	display: block;
}

.jh-artbar-back:hover {
	color: var(--jh-red);
}

.jh-artbar-logo {
	justify-self: center;
	display: block;
}

.jh-artbar-logo img {
	height: 62px;
	width: auto;
	display: block;
}

.jh-artbar-lang {
	justify-self: end;
}

.jh-artbar-lang a {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 500;
	color: var(--jh-green);
}

.jh-artbar-lang a:hover {
	color: var(--jh-red);
}

.jh-article {
	max-width: var(--jh-article-outer);
	margin: 0 auto;
	padding: calc(var(--jh-artbar-h) + var(--jh-content-top)) var(--jh-article-pad) 60px var(--jh-article-pad);
}

@media (max-width: 900px) {

	:root {
		--jh-artbar-h: 66px;
		--jh-article-pad: 14px;
	}

	.jh-artbar-back svg {
		width: 30px;
		height: 14px;
	}

	.jh-artbar-logo img {
		height: 48px;
	}

	.jh-artbar-lang a {
		font-size: 14px;
		gap: 6px;
	}

	.jh-article {
		padding-bottom: 40px;
	}
}

/* Headings in articles */

.jh-article h1 {
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color: #2f5542;
	font-size: clamp(38px, 5.8vw, 65px);
	font-weight: 900;
	line-height: 1;
	margin: 0 0 10px 0;
}

.jh-article h2 {
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color: #000000;
	font-size: clamp(32px, 3.1vw, 32px);
	font-weight: 400;
	line-height: 1.2;
	margin: 0 0 10px 0;
}

/* ---------- Slide-out menu ---------- */

.jh-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.45);
	z-index: 10000;
}

.jh-overlay.is-open {
	display: block;
}

.jh-burger-panel {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	width: 380px;
	max-width: 84%;
	background: var(--jh-white);
	border-right: 1px solid var(--jh-grey-line);
	z-index: 10001;
	overflow-y: auto;
	padding: 18px 26px 40px 26px;
	transform: translateX(-100%);
	transition: transform 0.25s ease;
}

.jh-burger-panel.is-open {
	transform: translateX(0);
}

.jh-burger-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.jh-burger-logo img {
	height: 52px;
	width: auto;
	display: block;
}

.jh-burger-close {
	background: none;
	border: 0;
	padding: 2px 4px;
	font-family: 'DM Sans', sans-serif;
	font-size: 20px;
	font-weight: 500;
	line-height: 1;
	color: var(--jh-green);
	cursor: pointer;
}

.jh-burger-close:hover {
	color: var(--jh-red);
}

.jh-rule {
	border: 0;
	border-top: 1px solid var(--jh-grey-line);
	margin: 16px 0;
}

.jh-burger-heading {
	margin: 0 0 4px 0;
	font-family: 'DM Sans', sans-serif;
	font-size: 17px;
	font-weight: 700;
	color: var(--jh-green);
}

.jh-burger-panel ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.jh-burger-panel li {
	margin: 0;
}

.jh-burger-panel a {
	display: block;
	padding: 4px 0;
	font-size: 17px;
	line-height: 1.4;
	color: var(--jh-green);
}

.jh-burger-panel a:hover {
	color: var(--jh-red);
}

.jh-burger-panel a.jh-lang {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 15px;
}

.jh-flag {
	width: 22px;
	height: 11px;
	flex-shrink: 0;
	display: block;
	border: 1px solid #c4c4c4;
}

.jh-burger-continents a {
	padding-left: 22px;
}

.jh-burger-originals a {
	padding-left: 22px;
}

.jh-burger-panel .jh-empty {
	padding: 4px 0;
	white-space: normal;
}

@media (max-width: 900px) {

	.jh-burger-panel {
		width: 320px;
		padding: 16px 22px 36px 22px;
	}

	.jh-burger-logo img {
		height: 44px;
	}

	.jh-topbar a {
		font-size: 16px;
		padding: 8px 4px;
	}

	.jh-logo img {
		height: 60px;
	}

	.jh-logo-text {
		font-size: 32px;
	}

	.jh-logo-sub {
		font-size: 13px;
	}

	.jh-toggle {
		font-size: 16px;
		padding: 10px 4px;
	}

	.jh-nav-burger .jh-toggle {
		font-size: 19px;
	}

	.jh-nav-item {
		position: static;
	}

	.jh-panel,
	.jh-nav-item:last-child .jh-panel {
		left: 0;
		right: 0;
		width: auto;
		min-width: 0;
		transform: none;
		border-left: 0;
		border-right: 0;
	}

	.jh-close {
		display: block;
	}

	.jh-panel ul {
		padding: 12px 0 8px 0;
	}

	.jh-panel a {
		font-size: 17px;
		padding: 3px 20px;
		line-height: 1.35;
	}

	.jh-empty {
		font-size: 16px;
		padding: 6px 20px;
	}
}


/* ---------- Page content ---------- */

.jh-main {
	max-width: var(--jh-page-outer);
	margin: 0 auto;
	padding: var(--jh-content-top) var(--jh-article-pad) 50px var(--jh-article-pad);
}

/* Headings on pages */

.jh-main h1 {
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color: #2f5542;
	font-size: clamp(32px, 4.6vw, 50px);
	font-weight: 900;
	line-height: 1;
	margin: 0 0 10px 0;
}

.jh-main h2 {
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color: #2f5542;
	font-size: clamp(24px, 2.9vw, 30px);
	font-weight: 900;
	line-height: 1;
	margin: 0 0 10px 0;
}

.jh-main h3 {
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color: #000000;
	font-size: clamp(32px, 3.1vw, 32px);
	font-weight: 400;
	line-height: 1.2;
	margin: 0 0 10px 0;
}

.jh-main h2.jh-country-section-heading {
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color: #000000;
	font-size: clamp(32px, 3.1vw, 32px);
	font-weight: 400;
	line-height: 1.2;
	margin: 0 0 10px 0;
}

.jh-country-top-item {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	text-decoration: none;
	margin: 20px 0;
}

.jh-country-top-image {
	width: 35%;
	height: auto;
	display: block;
	flex-shrink: 0;
}

.jh-country-top-text {
	width: 65%;
}

.jh-country-top-item:hover .jh-showcase-title,
.jh-country-top-item:hover .jh-showcase-seo {
	color: var(--jh-red);
}

.jh-country-green-rule {
	border: 0;
	border-top: 1px solid var(--jh-green);
	width: 100%;
	margin: 30px auto;
}

.jh-country-red-rule {
	border: 0;
	border-top: 3px solid var(--jh-red);
	width: 100%;
	margin: 30px auto;
}

@media (max-width: 700px) {
	.jh-country-top-item {
		flex-direction: column;
	}

	.jh-country-top-image,
	.jh-country-top-text {
		width: 100%;
	}

	.jh-country-red-rule {
		width: 60%;
	}
}

.jh-country-explore-heading {
	font-family: 'DM Sans', sans-serif;
	font-weight: 700;
	font-size: 17px;
	line-height: 1.1;
	color: var(--jh-green);
	margin: 40px 0 4px 0;
}

.jh-country-explore-heading + .jh-continent-switcher {
	margin-top: 0;
}

.jh-main-minimal {
	padding-top: calc(var(--jh-artbar-h) + var(--jh-content-top));
}

.jh-main > *:first-child {
	margin-top: 0;
}

.jh-main .alignwide {
	max-width: 1800px;
	margin-left: calc(50% - 900px);
	margin-right: calc(50% - 900px);
	width: auto;
}

.jh-main .alignfull {
	max-width: none;
	width: auto;
	margin-left: calc(50% - 50vw + (var(--jh-scrollbar, 0px) / 2));
	margin-right: calc(50% - 50vw + (var(--jh-scrollbar, 0px) / 2));
}

.jh-main .alignfull:first-child {
	margin-top: calc(-1 * var(--jh-content-top));
}

@media (max-width: 1840px) {

	.jh-main .alignwide {
		max-width: none;
		margin-left: calc(50% - 50vw + (var(--jh-scrollbar, 0px) / 2));
		margin-right: calc(50% - 50vw + (var(--jh-scrollbar, 0px) / 2));
	}
}


/* Cover block used as a hero */

.wp-block-cover .wp-block-cover__inner-container > * {
	margin-top: 0;
	margin-bottom: 0;
}

.wp-block-cover .wp-block-cover__inner-container > * + * {
	margin-top: 0;
}

.wp-block-cover h1,
.wp-block-cover h2,
.wp-block-cover h3,
.wp-block-cover h4 {
	margin: 0;
	font-size: clamp(26px, 5.4vw, 50px);
	font-weight: 900;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.wp-block-cover p {
	margin: 0;
	font-size: clamp(16px, 3.2vw, 30px);
	font-weight: 600;
	line-height: 1.25;
}

.wp-block-cover .wp-block-cover__inner-container {
	padding-left: 16px;
	padding-right: 16px;
}

@media (max-width: 900px) {

	.wp-block-cover {
		min-height: 250px !important;
	}
}

@media (max-width: 600px) {

	.wp-block-cover {
		min-height: 220px !important;
	}
}

/* ---------- Continent switcher + country list ---------- */

.jh-continent-page {
	max-width: 600px;
}

.jh-continent-intro > *:last-child {
	margin-bottom: 0;
}

.jh-continent-switcher {
	margin: 10px 0 30px 0;
}

ul.jh-continent-switcher-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
}

.jh-continent-switcher-list li {
	margin: 0;
}

.jh-continent-switcher-list li + li::before {
	content: "\00a0|\00a0";
	color: var(--jh-text);
}

.jh-continent-switcher-list a {
	color: var(--jh-text);
	text-decoration: underline;
	text-underline-offset: 3px;
	font-weight: 400;
}

.jh-continent-switcher-list a:hover {
	color: var(--jh-red);
}

.jh-continent-switcher-list .current-menu-item a {
	font-weight: 700;
}

.jh-country-letter {
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color: var(--jh-green);
	font-size: 30px;
	font-weight: 700;
	line-height: 1;
	margin: 34px 0 12px 0;
}

.jh-country-letter:first-of-type {
	margin-top: 0;
}

.jh-country-name {
	margin: 0 0 6px 0;
}

.jh-country-name a {
	color: var(--jh-text);
}

.jh-country-name a:hover {
	color: var(--jh-red);
}

.jh-country-empty {
	color: #9a9a9a;
}

/* ---------- Drop cap ---------- */

p.is-style-jh-dropcap-green:first-letter,
p.is-style-jh-dropcap-red:first-letter {
	float: left;
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-weight: 400;
	font-size: 64px;
	line-height: 0.8;
	padding-right: 8px;
	padding-top: 4px;
}

p.is-style-jh-dropcap-green:first-letter {
	color: var(--jh-green);
}

p.is-style-jh-dropcap-red:first-letter {
	color: var(--jh-red);
}

/* ---------- Article intro ---------- */

.jh-article-intro-label {
	margin: 0 0 6px 0;
	font-family: 'DM Mono', monospace;
	font-size: 13px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	line-height: 1;
}

.jh-article-intro-label,
.jh-article-intro-label a {
	color: var(--jh-red);
	text-decoration: none;
}

.jh-article-intro-label a:hover {
	color: var(--jh-green);
}

.jh-label-sep {
	display: inline-block;
	width: 1px;
	height: 0.8em;
	background: currentColor;
	margin: 0 8px;
	vertical-align: middle;
}

.jh-article-intro h1 {
	margin-bottom: 24px;
}

.jh-has-short-intro h1 {
	margin-bottom: 6px;
}

.jh-article-short-intro {
	font-family: 'DM Sans', sans-serif;
	font-size: 17px;
	font-weight: 700;
	font-style: italic;
	color: #000000;
	margin: 0 0 16px 0;
}

.jh-article-meta {
	margin: 10px 0 26px 0;
	font-family: 'DM Mono', monospace;
	font-size: 13px;
	letter-spacing: 0.03em;
	color: #a1a1a1;
}

.jh-article-meta a {
	color: var(--jh-red);
	text-decoration: none;
}

.jh-article-meta a:hover {
	color: var(--jh-green);
}

.jh-meta-sep {
	color: #a1a1a1;
	margin: 0 5px;
}

/* ---------- Article closing ---------- */

.jh-closing-top {
	margin-top: 40px;
}

.jh-closing-author-name {
	margin: 0 0 4px 0;
	font-family: 'DM Sans', sans-serif;
	font-weight: 700;
	font-size: 22px;
	color: var(--jh-text);
}

.jh-closing-author-name a {
	color: inherit;
	text-decoration: none;
}

.jh-closing-author-name a:hover {
	color: var(--jh-red);
}

.jh-closing-author-bio {
	margin: 0 0 18px 0;
	font-size: 15px;
	color: var(--jh-text);
}

.jh-closing-rule {
	border: 0;
	border-top: 1px solid var(--jh-grey-line);
	margin: 0 0 3px 0;
}

.jh-credits-line {
	margin: 0;
	font-family: 'DM Mono', monospace;
	font-size: 13px;
	letter-spacing: -0.09em;
	color: #a1a1a1;
}

.jh-credits-line .jh-meta-sep {
	margin: 0 3px;
}

.jh-credits-line a {
	color: #a1a1a1;
	text-decoration: none;
}

.jh-credits-line a:hover {
	color: var(--jh-red);
}

.jh-tag-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 30px 0 0 0;
}

.jh-tag-chip {
	display: inline-block;
	padding: 6px 14px;
	border: 1px solid var(--jh-red);
	font-family: 'DM Mono', monospace;
	font-size: 13px;
	letter-spacing: 0.03em;
	color: var(--jh-red);
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.jh-tag-chip:hover {
	background: var(--jh-red);
	color: #ffffff;
}

.jh-more-country {
	margin-top: 40px;
}

.jh-more-country-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 16px;
}

.jh-more-country-item {
	display: block;
	text-decoration: none;
}

.jh-more-country-image {
	width: 100%;
	height: auto;
	display: block;
	margin-bottom: 10px;
}

.jh-more-country-title {
	display: block;
	font-family: 'DM Sans', sans-serif;
	font-weight: 700;
	font-size: 17px;
	line-height: 1.35;
	color: var(--jh-text);
}

.jh-more-country-item:hover .jh-more-country-title {
	color: var(--jh-red);
}

@media (max-width: 700px) {
	.jh-more-country-grid {
		grid-template-columns: 1fr;
	}
}

.jh-you-might-like {
	margin-top: 40px;
}

.jh-like-heading {
	font-family: 'DM Sans', sans-serif;
	font-weight: 700;
	font-size: 20px;
	color: var(--jh-text);
	margin: 0 0 6px 0;
}

.jh-like-subtitle {
	font-size: 17px;
	color: var(--jh-text);
	margin: 0 0 20px 0;
}

.jh-like-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px 24px;
}

.jh-like-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	text-decoration: none;
}

.jh-like-image {
	width: 45%;
	max-width: 220px;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	flex-shrink: 0;
	display: block;
}

.jh-like-title {
	font-family: 'DM Sans', sans-serif;
	font-weight: 700;
	font-size: 17px;
	line-height: 1.35;
	color: var(--jh-text);
	margin-top: 0;
}

.jh-like-item:hover .jh-like-title {
	color: var(--jh-red);
}

@media (max-width: 700px) {
	.jh-like-grid {
		grid-template-columns: 1fr;
	}
}

.jh-comments-section {
	margin-top: 50px;
}

.jh-comments-heading {
	font-family: 'DM Sans', sans-serif;
	font-weight: 700;
	font-size: 28px;
	color: var(--jh-text);
	margin: 0 0 20px 0;
}

.jh-comment-list {
	list-style: none;
	margin: 0 0 30px 0;
	padding: 0;
}

.jh-comment-list li.comment {
	margin: 0 0 20px 0;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--jh-grey-line);
}

.jh-comment-list .comment-author .fn {
	font-weight: 700;
	font-style: normal;
	color: var(--jh-text);
}

.jh-comment-list .comment-meta {
	font-size: 13px;
	color: #a1a1a1;
	margin-bottom: 6px;
}

.jh-comment-list .comment-meta a {
	color: #a1a1a1;
}

.jh-comment-list img.avatar {
	border-radius: 50%;
	margin-right: 10px;
	vertical-align: middle;
}

#reply-title {
	font-family: 'DM Sans', sans-serif;
	font-weight: 700;
	font-size: 16px;
	letter-spacing: 0.03em;
	color: var(--jh-text);
	margin: 0 0 14px 0;
}

.jh-comment-notes {
	color: var(--jh-text);
	margin: 0 0 18px 0;
}

.jh-comment-field {
	margin: 0 0 16px 0;
}

.jh-comment-field label {
	display: block;
	font-family: 'DM Mono', monospace;
	font-size: 13px;
	margin-bottom: 6px;
	color: var(--jh-text);
}

.jh-comment-field input,
.jh-comment-field textarea {
	display: block;
	width: 100%;
	padding: 10px 12px;
	font-family: 'DM Sans', sans-serif;
	font-size: 15px;
	color: #1a1a1a;
	background: #ffffff;
	border: 1px solid var(--jh-grey-line);
}

.jh-comment-submit {
	display: inline-block;
	padding: 10px 26px;
	font-family: 'DM Mono', monospace;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #ffffff;
	background: var(--jh-green);
	border: 0;
	cursor: pointer;
}

.jh-comment-submit:hover {
	background: var(--jh-dark);
}

.jh-topic-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin-top: 30px;
}

.jh-topic-grid-item {
	display: block;
	text-decoration: none;
}

.jh-topic-grid-image {
	width: 100%;
	height: auto;
	display: block;
}

.jh-topic-grid-title {
	display: block;
	margin-top: 10px;
	font-family: 'DM Sans', sans-serif;
	font-weight: 700;
	font-size: 17px;
	line-height: 1.35;
	color: var(--jh-text);
}

.jh-topic-grid-item:hover .jh-topic-grid-title {
	color: var(--jh-red);
}

.jh-topic-more {
	margin-top: 30px;
	text-align: center;
}

.jh-topic-more-btn {
	display: inline-block;
	padding: 0;
	font-family: 'DM Sans', sans-serif;
	font-size: 17px;
	font-weight: 400;
	color: var(--jh-text);
	background: none;
	border: 0;
	text-decoration: underline;
	cursor: pointer;
}

.jh-topic-more-btn:hover {
	color: var(--jh-red);
}

.jh-topic-more-btn:disabled {
	opacity: 0.6;
	cursor: default;
}

.jh-topic-empty {
	margin-top: 30px;
	color: var(--jh-text);
}

.jh-showcase-featured {
	display: block;
	text-align: center;
	text-decoration: none;
	margin: 30px 0;
}

.jh-showcase-featured .jh-showcase-title,
.jh-showcase-featured .jh-showcase-seo {
	display: block;
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
}

.jh-showcase-featured-image {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto 10px auto;
}

.jh-showcase-title {
	display: block;
	font-family: 'DM Sans', sans-serif;
	font-weight: 700;
	font-size: 17px;
	line-height: 1.1;
	color: var(--jh-text);
}

.jh-showcase-title--big {
	font-size: 26px;
}

.jh-showcase-featured:hover .jh-showcase-title {
	color: var(--jh-red);
}

.jh-showcase-seo {
	display: block;
	margin-top: 2px;
	font-family: 'DM Sans', sans-serif;
	font-weight: 400;
	font-size: 17px;
	line-height: 1.35;
	color: var(--jh-text);
}

.jh-showcase-featured:hover .jh-showcase-seo {
	color: var(--jh-red);
}

.jh-showcase-row-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin: 30px 0;
}

.jh-showcase-row-item {
	display: block;
	text-decoration: none;
}

.jh-showcase-row-image {
	width: 100%;
	height: auto;
	display: block;
	margin-bottom: 10px;
}

.jh-showcase-row-item .jh-showcase-title {
	text-align: left;
}

.jh-showcase-row-item:hover .jh-showcase-title {
	color: var(--jh-red);
}

.jh-showcase-explore {
	margin: 30px 0 0 0;
}

.jh-showcase-explore a {
	color: var(--jh-text);
	text-decoration: underline;
}

.jh-showcase-explore a:hover {
	color: var(--jh-red);
}

.jh-originals-green-rule {
	border: 0;
	border-top: 1px solid var(--jh-green);
	width: 100%;
	margin: 30px auto;
}

.jh-originals-red-rule {
	border: 0;
	border-top: 3px solid var(--jh-red);
	width: 60%;
	margin: 30px auto;
}

.jh-main h3.jh-originals-subtitle,
.jh-article h3.jh-originals-subtitle {
	text-align: center;
	color: var(--jh-green);
}

.jh-originals-rest-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px 30px;
	margin: 30px 0;
}

.jh-originals-rest-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	text-decoration: none;
}

.jh-originals-rest-image {
	width: 35%;
	height: auto;
	display: block;
	flex-shrink: 0;
}

.jh-originals-rest-title {
	width: 65%;
	font-family: 'DM Sans', sans-serif;
	font-weight: 700;
	font-size: 17px;
	line-height: 1.35;
	color: var(--jh-text);
}

.jh-originals-rest-item:hover .jh-originals-rest-title {
	color: var(--jh-red);
}

@media (max-width: 700px) {
	.jh-originals-rest-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 700px) {
	.jh-topic-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}

	.jh-showcase-row-2 {
		gap: 16px;
	}
}

.jh-author-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin-top: 30px;
}

.jh-author-grid-item {
	display: flex;
	flex-direction: column;
	text-decoration: none;
}

.jh-author-grid-image {
	width: 100%;
	height: auto;
	display: block;
	margin-bottom: 10px;
}

.jh-author-item-title {
	font-family: 'DM Sans', sans-serif;
	font-weight: 700;
	font-size: 17px;
	line-height: 1.35;
	color: var(--jh-text);
	text-decoration: none;
}

a.jh-author-item-title:hover,
.jh-author-grid-item:hover .jh-author-item-title {
	color: var(--jh-red);
}

.jh-author-item-meta {
	display: block;
	margin: 6px 0 0 0;
	font-family: 'DM Mono', monospace;
	font-size: 13px;
	letter-spacing: -0.09em;
	color: #a1a1a1;
}

.jh-author-item-meta .jh-meta-sep {
	margin: 0 3px;
}

.jh-author-rule {
	border: 0;
	border-top: 1px solid var(--jh-red);
	width: 100%;
	margin: 60px auto;
}

.jh-author-list {
	margin: 0 0 20px 0;
}

.jh-author-list-item {
	margin: 0 0 22px 0;
}

.jh-author-years {
	margin-top: 10px;
	border-top: 1px solid var(--jh-green);
}

.jh-author-year {
	border-bottom: 1px solid var(--jh-green);
}

.jh-author-year-toggle {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	width: 100%;
	padding: 14px 0;
	background: none;
	border: 0;
	font-family: 'DM Sans', sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: #a1a1a1;
	cursor: pointer;
	transition: color 0.15s ease;
}

.jh-author-year-toggle:hover {
	color: var(--jh-red);
}

.jh-author-year-icon {
	display: inline-block;
	font-size: 18px;
	color: inherit;
	transition: transform 0.15s ease;
}

.jh-author-year-toggle.is-open .jh-author-year-icon {
	transform: rotate(90deg);
}

.jh-author-year-body {
	padding: 0 0 18px 0;
}

@media (max-width: 700px) {
	.jh-author-grid {
		grid-template-columns: 1fr;
	}
}

/* ---------- Contact form ---------- */

.jh-contact-page {
	max-width: 1000px;
}

.jh-contact-page .jh-contact-form {
	max-width: none;
}

.jh-contact-form {
	max-width: 640px;
	margin: 30px 0;
	padding-left: 24px;
	border-left: 4px solid var(--jh-green);
}

.jh-contact-form label {
	display: block;
	font-family: 'DM Mono', monospace;
	font-size: 13px;
	letter-spacing: 0.05em;
	color: var(--jh-text);
	margin: 18px 0 6px 0;
}

.jh-contact-form label:first-of-type {
	margin-top: 0;
}

.jh-contact-form input[type="text"],
.jh-contact-form input[type="email"],
.jh-contact-form textarea {
	display: block;
	width: 100%;
	padding: 10px 12px;
	font-family: 'DM Sans', sans-serif;
	font-size: 15px;
	color: #1a1a1a;
	background: #ffffff;
	border: 1px solid var(--jh-grey-line);
}

.jh-contact-form textarea {
	min-height: 140px;
	resize: vertical;
}

.jh-contact-form button {
	display: inline-block;
	margin-top: 20px;
	padding: 10px 26px;
	font-family: 'DM Mono', monospace;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #ffffff;
	background: var(--jh-green);
	border: 0;
	cursor: pointer;
}

.jh-contact-form button:hover {
	background: var(--jh-dark);
}

.jh-form-success {
	color: var(--jh-green);
	font-weight: 700;
}

/* ---------- Footer ---------- */

.jh-footer {
	background: #2f5542;
	color: #b9c4bd;
	margin-top: 60px;
	text-align: center;
}

.jh-footer-inner {
	max-width: none;
	margin: 0;
	padding: 46px 20px 34px 20px;
	text-align: center;
}

.jh-footer p,
.jh-footer li,
.jh-footer h2 {
	text-align: center;
}

.jh-footer a {
	color: #b9c4bd;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.jh-footer a:hover {
	color: #d9d9d9;
}

.jh-footer .jh-footer-name {
	font-weight: 700;
	font-size: 18px;
	color: #e4eae6;
	margin: 0 0 6px 0;
}

.jh-footer .jh-footer-intro {
	display: block;
	max-width: 760px;
	margin: 0 auto 20px auto;
	padding: 0;
	font-size: 16px;
	line-height: 1.7;
	text-align: center;
}

.jh-footer-links ul,
.jh-footer-legal ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.jh-footer-links li {
	margin: 0 0 4px 0;
}

.jh-footer-rule {
	border: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	margin: 26px auto;
	width: 76%;
	max-width: 1000px;
}

/* Stats */

.jh-footer-stats {
	margin: 0 auto;
}

.jh-footer .jh-stats-title {
	font-weight: 700;
	font-size: 15px;
	color: #e4eae6;
	margin: 0 0 18px 0;
}

.jh-footer .jh-stat-label {
	font-size: 14px;
	line-height: 1.5;
	margin: 0;
}

.jh-footer .jh-stat-value {
	font-weight: 700;
	font-size: 16px;
	line-height: 1.5;
	color: #e4eae6;
	margin: 0;
}

.jh-footer .jh-stars {
	color: #e8b84b;
	font-size: 17px;
	letter-spacing: 4px;
	margin: 2px 0 18px 0;
}

.jh-footer .jh-footer-origin {
	font-weight: 700;
	font-size: 15px;
	color: #e4eae6;
	margin: 0;
}

/* Subscribe */

.jh-subscribe {
	max-width: 640px;
	margin: 0 auto;
}

.jh-footer .jh-subscribe-title {
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: #e4eae6;
	margin: 0 0 10px 0;
}

.jh-footer .jh-subscribe-blurb {
	font-size: 15px;
	line-height: 1.7;
	margin-bottom: 16px;
}

.jh-subscribe-form {
	margin: 0 0 12px 0;
}

.jh-subscribe-label {
	display: block;
	font-family: 'DM Sans', sans-serif;
	font-size: 14px;
	margin-bottom: 8px;
	color: #b9c4bd;
}

.jh-subscribe-form input[type="email"] {
	display: block;
	width: 100%;
	max-width: 380px;
	margin: 0 auto 12px auto;
	padding: 10px 12px;
	font-family: 'DM Sans', sans-serif;
	font-size: 16px;
	color: #1a1a1a;
	background: #dfe4e0;
	border: 1px solid rgba(255, 255, 255, 0.25);
}

.jh-subscribe-form button {
	padding: 8px 22px;
	font-family: 'DM Sans', sans-serif;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.1em;
	color: #e4eae6;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.45);
	cursor: pointer;
}

.jh-subscribe-form button:hover {
	background: #e90d0d;
	border-color: #e90d0d;
	color: #ffffff;
}

.jh-footer .jh-subscribe-note {
	font-size: 13px;
	line-height: 1.6;
	color: #9aa79f;
}

.jh-footer .jh-subscribe-done,
.jh-footer .jh-subscribe-error {
	font-weight: 700;
	color: #e4eae6;
	margin-bottom: 0;
}

/* Bottom line */

.jh-footer .jh-footer-copy {
	font-size: 13px;
	color: #9aa79f;
	margin: 0;
}

.jh-footer-legal li {
	display: inline;
}

.jh-footer-legal li + li::before {
	content: " | ";
	color: #8b978f;
}

.jh-footer-legal a {
	font-size: 13px;
	color: #9aa79f;
}

@media (max-width: 900px) {

	.jh-footer-inner {
		padding: 34px 16px 28px 16px;
	}

	.jh-footer .jh-footer-intro {
		font-size: 15px;
	}

	.jh-footer .jh-stats-title {
		margin-bottom: 16px;
	}

	.jh-footer .jh-stat-value {
		margin-bottom: 0;
	}

	.jh-footer .jh-stars {
		margin: 2px 0 16px 0;
	}

	.jh-footer .jh-subscribe-title {
		font-size: 18px;
	}

	.jh-subscribe-form input[type="email"] {
		max-width: 260px;
	}
}

/* Restore green hover on the article intro label and meta line, overriding the general content-link red hover */
.jh-article-intro-label a:hover,
.jh-article-intro-label a:hover *,
.jh-article-meta a:hover,
.jh-article-meta a:hover * {
	color: var(--jh-green) !important;
}


/* Match embed (YouTube/Vimeo) and native Video block caption text style to Article Image captions, without changing spacing */
.wp-block-embed figcaption,
.wp-block-embed .wp-element-caption,
.wp-block-embed__caption,
.wp-block-video figcaption,
.wp-block-video .wp-element-caption {
	font-size: 14px;
	color: #888888;
	text-align: left;
}

/* Cap the height of uploaded videos on desktop, so reel/portrait-format videos don't dominate the page. Landscape videos are already short enough and stay unaffected. Mobile is untouched, since it already looks correct. */
@media (min-width: 701px) {
	.wp-block-video video {
		max-height: 500px;
		width: auto;
		max-width: 100%;
		display: block;
		margin: 0 auto;
	}

	.wp-block-video figcaption,
	.wp-block-video .wp-element-caption {
		text-align: center;
	}
}

/* On desktop, the hero image and the article's label/title sit side by side, 50/50. Mobile stays fully stacked, unchanged. */
@media (min-width: 701px) {
	.jh-hero-row {
		display: flex;
		align-items: flex-start;
		gap: 40px;
	}

	.jh-hero-row > * {
		width: 50%;
		flex-shrink: 0;
	}

	.jh-hero-row .jh-article-intro-top h1 {
		margin-bottom: 0;
	}
}

/* Article title ~15% smaller on desktop only; mobile keeps its original size untouched */
@media (min-width: 701px) {
	.jh-article h1 {
		font-size: clamp(38px, 4.9vw, 55px);
	}
}

/* Article Image block, desktop only: cap image height at 450px (proportionally narrower images shrink automatically), and center the image and its caption. Mobile is untouched. The image is centered directly (not the whole block), which leaves hero images completely unaffected since they're never height-capped in the first place. */
@media (min-width: 701px) {
	.jh-article-image img {
		max-height: 450px !important;
		width: auto !important;
		max-width: 100% !important;
		display: block;
		margin-left: auto;
		margin-right: auto;
	}

	.jh-article-image .jh-article-image-caption {
		text-align: center;
		margin-left: auto !important;
		margin-right: auto !important;
	}

	.jh-hero-row .jh-article-image img {
		max-height: none;
		width: 100%;
		margin: 0;
	}

	.jh-hero-row .jh-article-image-caption {
		text-align: left;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
}
