/*
Theme Name: Jamiah Hello Elementor
Theme URI: https://jamiahscholarsintl.com/
Template: hello-elementor
Author: Jamiah Scholars International
Author URI: https://jamiahscholarsintl.com/
Description: A bilingual (Bangla / English) Hello Elementor child theme for madrasas and Islamic institutions. Ships a brand header and footer, Elementor widgets with paired English and Bangla content, an academic-institution homepage template inspired by the Islamic University of Madinah, and full Elementor Theme Builder support.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jamiah-hello
Domain Path: /languages
Tags: education, elementor, one-column, custom-logo, custom-menu, translation-ready, rtl-language-support, accessibility-ready
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */

:root {
	--jh-green: #0b5d1e;
	--jh-green-dark: #074414;
	--jh-green-deep: #04291a;
	--jh-gold: #c9a227;
	--jh-gold-soft: #e9d68f;
	--jh-gold-tint: #faf3dc;
	--jh-cream: #fbf9f2;
	--jh-tint: #f2f6f1;
	--jh-surface: #ffffff;
	--jh-ink: #14251b;
	--jh-body: #33453a;
	--jh-muted: #5d6f63;
	--jh-border: #e0e8df;
	--jh-radius-sm: 8px;
	--jh-radius: 14px;
	--jh-radius-lg: 24px;
	--jh-shadow-sm: 0 2px 10px rgba(4, 41, 26, 0.06);
	--jh-shadow: 0 14px 40px rgba(4, 41, 26, 0.1);
	--jh-shadow-lg: 0 28px 70px rgba(4, 41, 26, 0.18);
	--jh-wrap: 1200px;
	--jh-gutter: clamp(18px, 4vw, 40px);
	--jh-font-en: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
	--jh-font-bn: "Hind Siliguri", "Poppins", "Noto Sans Bengali", sans-serif;
	--jh-font-ar: "Amiri", "Traditional Arabic", serif;
	--jh-font: var(--jh-font-en);
	--jh-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

html[lang^="bn"],
html[lang^="bn"] body,
body.jh-lang-bn {
	--jh-font: var(--jh-font-bn);
}

html[lang^="ar"] body {
	--jh-font: var(--jh-font-ar);
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	box-sizing: border-box;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

body.jh-theme {
	margin: 0;
	color: var(--jh-body);
	background-color: var(--jh-cream);
	font-family: var(--jh-font);
	font-size: 16px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

html[lang^="bn"] body.jh-theme {
	font-size: 17px;
	line-height: 1.85;
}

.jh-theme h1,
.jh-theme h2,
.jh-theme h3,
.jh-theme h4,
.jh-theme h5,
.jh-theme h6 {
	color: var(--jh-ink);
	font-family: var(--jh-font);
	font-weight: 700;
	line-height: 1.22;
	letter-spacing: -0.01em;
}

html[lang^="bn"] .jh-theme h1,
html[lang^="bn"] .jh-theme h2,
html[lang^="bn"] .jh-theme h3 {
	line-height: 1.45;
	letter-spacing: 0;
}

.jh-theme a {
	color: var(--jh-green);
	text-decoration-color: rgba(11, 93, 30, 0.35);
	text-underline-offset: 3px;
	transition: color 0.2s var(--jh-ease), text-decoration-color 0.2s var(--jh-ease);
}

.jh-theme a:hover,
.jh-theme a:focus {
	color: var(--jh-green-dark);
	text-decoration-color: currentColor;
}

.jh-theme img,
.jh-theme svg,
.jh-theme video {
	max-width: 100%;
	height: auto;
}

.jh-theme :focus-visible {
	outline: 3px solid var(--jh-gold);
	outline-offset: 3px;
	border-radius: 4px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	top: 8px;
	left: 8px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 12px 18px;
	clip: auto;
	background: var(--jh-green-deep);
	color: #fff;
	border-radius: var(--jh-radius-sm);
	text-decoration: none;
	font-weight: 600;
}

/* ==========================================================================
   2. Layout helpers
   ========================================================================== */

.jh-wrap {
	width: 100%;
	max-width: var(--jh-wrap);
	margin-inline: auto;
	padding-inline: var(--jh-gutter);
}

.jh-section {
	padding-block: clamp(52px, 7vw, 92px);
}

.jh-section--tint {
	background: var(--jh-tint);
}

.jh-section--cream {
	background: var(--jh-cream);
}

.jh-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	color: var(--jh-green);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.jh-eyebrow::before {
	content: "";
	width: 26px;
	height: 2px;
	background: var(--jh-gold);
	border-radius: 2px;
}

.jh-lead {
	color: var(--jh-muted);
	font-size: 1.05rem;
	max-width: 62ch;
}

/* ==========================================================================
   3. Buttons and badges
   ========================================================================== */

.jh-btn,
.jh-theme .jh-btn {
	--jh-btn-bg: var(--jh-green);
	--jh-btn-fg: #fff;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 26px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--jh-btn-bg);
	color: var(--jh-btn-fg);
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 10px 24px rgba(11, 93, 30, 0.22);
	transition: transform 0.2s var(--jh-ease), background-color 0.2s var(--jh-ease),
		color 0.2s var(--jh-ease), box-shadow 0.2s var(--jh-ease);
}

.jh-btn:hover,
.jh-btn:focus,
.jh-theme .jh-btn:hover,
.jh-theme .jh-btn:focus {
	transform: translateY(-2px);
	background: var(--jh-green-dark);
	color: var(--jh-btn-fg);
	box-shadow: 0 16px 32px rgba(11, 93, 30, 0.28);
}

.jh-btn--gold,
.jh-theme .jh-btn--gold {
	--jh-btn-bg: var(--jh-gold);
	--jh-btn-fg: #231d05;
	box-shadow: 0 10px 24px rgba(201, 162, 39, 0.3);
}

.jh-btn--gold:hover,
.jh-btn--gold:focus,
.jh-theme .jh-btn--gold:hover,
.jh-theme .jh-btn--gold:focus {
	background: #d9b23a;
	color: var(--jh-btn-fg);
}

.jh-btn--ghost,
.jh-theme .jh-btn--ghost {
	--jh-btn-bg: transparent;
	--jh-btn-fg: currentColor;
	border-color: rgba(255, 255, 255, 0.55);
	box-shadow: none;
}

.jh-btn--ghost:hover,
.jh-btn--ghost:focus,
.jh-theme .jh-btn--ghost:hover,
.jh-theme .jh-btn--ghost:focus {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
}

.jh-btn svg {
	width: 18px;
	height: 18px;
	flex: none;
}

.jh-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px;
	border-radius: 999px;
	background: var(--jh-gold-tint);
	color: #6f5710;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.jh-badge--dot::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--jh-gold);
	box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.18);
}

/* ==========================================================================
   4. Utility bar / header
   ========================================================================== */

.jh-topbar {
	background: var(--jh-green-deep);
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.82rem;
}

.jh-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 44px;
	flex-wrap: wrap;
}

.jh-topbar a {
	color: inherit;
	text-decoration: none;
}

.jh-topbar a:hover,
.jh-topbar a:focus {
	color: var(--jh-gold-soft);
}

.jh-topbar__meta {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
}

.jh-topbar__meta span,
.jh-topbar__meta a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.jh-topbar svg {
	width: 15px;
	height: 15px;
	color: var(--jh-gold);
	flex: none;
}

.jh-topbar__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 5px 12px;
	border-radius: 999px;
	background: rgba(201, 162, 39, 0.16);
	color: var(--jh-gold-soft) !important;
	font-weight: 600;
}

.jh-site-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--jh-border);
	backdrop-filter: saturate(180%) blur(10px);
}

.jh-site-header.is-scrolled {
	box-shadow: var(--jh-shadow-sm);
}

.jh-site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 82px;
}

.jh-brand {
	display: inline-flex;
	align-items: center;
	gap: 13px;
	text-decoration: none;
	flex: none;
}

.jh-brand__mark {
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: radial-gradient(circle at 30% 25%, #147a2b, var(--jh-green-dark));
	color: var(--jh-gold-soft);
	box-shadow: inset 0 0 0 2px rgba(201, 162, 39, 0.65);
	flex: none;
	overflow: hidden;
}

.jh-brand__mark img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 50%;
}

.jh-brand__mark svg {
	width: 27px;
	height: 27px;
}

.jh-brand__text {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

.jh-brand__name {
	color: var(--jh-ink);
	font-size: 1.08rem;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.jh-brand__alt {
	color: var(--jh-muted);
	font-size: 0.66rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.jh-nav {
	margin-inline-start: auto;
}

.jh-nav ul {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.jh-nav li {
	position: relative;
}

.jh-nav a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 13px;
	border-radius: 999px;
	color: var(--jh-ink);
	font-size: 0.92rem;
	font-weight: 500;
	text-decoration: none;
	transition: background-color 0.2s var(--jh-ease), color 0.2s var(--jh-ease);
}

.jh-nav a:hover,
.jh-nav a:focus,
.jh-nav .current-menu-item > a,
.jh-nav .current_page_item > a {
	background: var(--jh-tint);
	color: var(--jh-green);
}

.jh-nav .sub-menu {
	position: absolute;
	top: calc(100% + 10px);
	inset-inline-start: 0;
	z-index: 20;
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 230px;
	padding: 10px;
	border: 1px solid var(--jh-border);
	border-radius: var(--jh-radius);
	background: #fff;
	box-shadow: var(--jh-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.2s var(--jh-ease), transform 0.2s var(--jh-ease), visibility 0.2s;
}

.jh-nav li:hover > .sub-menu,
.jh-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.jh-nav .sub-menu a {
	width: 100%;
	border-radius: var(--jh-radius-sm);
	font-size: 0.89rem;
}

.jh-header__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: none;
}

.jh-header__cta {
	padding: 12px 20px;
	font-size: 0.87rem;
}

.jh-langswitch {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	padding: 3px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
}

.jh-langswitch__link {
	padding: 7px 11px;
	border-radius: 999px;
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
	transition: background-color 0.2s var(--jh-ease), color 0.2s var(--jh-ease);
}

.jh-langswitch__link:hover,
.jh-langswitch__link:focus {
	color: #fff;
	text-decoration: none;
}

.jh-langswitch__link[aria-current="true"] {
	background: var(--jh-gold);
	color: #231d05;
}

.jh-langswitch--light {
	border-color: var(--jh-border);
	background: #fff;
}

.jh-langswitch--light .jh-langswitch__link {
	color: var(--jh-muted);
}

.jh-langswitch--light .jh-langswitch__link[aria-current="true"] {
	color: #231d05;
}

.jh-nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--jh-border);
	border-radius: 12px;
	background: #fff;
	color: var(--jh-ink);
	cursor: pointer;
}

.jh-nav-toggle svg {
	width: 22px;
	height: 22px;
}

.jh-mobile-nav {
	display: none;
	border-top: 1px solid var(--jh-border);
	background: #fff;
}

.jh-mobile-nav.is-open {
	display: block;
}

.jh-mobile-nav ul {
	margin: 0;
	padding: 10px var(--jh-gutter) 20px;
	list-style: none;
}

.jh-mobile-nav li {
	border-bottom: 1px solid var(--jh-border);
}

.jh-mobile-nav li:last-child {
	border-bottom: 0;
}

.jh-mobile-nav a {
	display: block;
	padding: 13px 0;
	color: var(--jh-ink);
	font-weight: 500;
	text-decoration: none;
}

.jh-mobile-nav .sub-menu {
	padding-inline-start: 16px;
	border-bottom: 0;
}

.jh-mobile-nav .sub-menu a {
	font-size: 0.92rem;
	color: var(--jh-muted);
}

.jh-mobile-nav__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 0 var(--jh-gutter) 22px;
}

@media (max-width: 1080px) {
	.jh-header__actions .jh-header__cta {
		display: none;
	}
}

@media (max-width: 1160px) {
	.jh-topbar__address {
		display: none !important;
	}
}

@media (max-width: 700px) {
	.jh-topbar__mail {
		display: none !important;
	}

	.jh-topbar__inner {
		padding-block: 8px;
		gap: 10px;
	}

	.jh-topbar__meta {
		gap: 10px 14px;
	}
}

@media (max-width: 960px) {
	.jh-nav,
	.jh-header__actions .jh-langswitch {
		display: none;
	}

	.jh-nav-toggle {
		display: inline-flex;
	}

	.jh-site-header__inner {
		min-height: 70px;
		gap: 12px;
	}

	.jh-brand {
		min-width: 0;
		gap: 10px;
	}

	.jh-brand__text {
		min-width: 0;
	}

	.jh-brand__name {
		font-size: 1rem;
	}
}

@media (max-width: 480px) {
	.jh-brand__mark {
		width: 42px;
		height: 42px;
	}

	.jh-brand__name {
		font-size: 0.93rem;
		line-height: 1.3;
	}

	.jh-brand__alt {
		font-size: 0.58rem;
		letter-spacing: 0.08em;
	}
}

@media (max-width: 360px) {
	.jh-brand__alt {
		display: none;
	}
}

/* ==========================================================================
   5. Hero widget
   ========================================================================== */

.jh-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: clamp(56px, 8vw, 108px);
	background:
		radial-gradient(120% 120% at 85% 0%, rgba(201, 162, 39, 0.28), transparent 55%),
		linear-gradient(135deg, var(--jh-green-deep) 0%, var(--jh-green-dark) 45%, #0f6b28 100%);
	color: #fff;
}

.jh-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: url("assets/images/pattern.svg");
	background-size: 460px auto;
	background-position: right -80px top -60px;
	opacity: 0.13;
	pointer-events: none;
}

.jh-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(32px, 5vw, 68px);
	align-items: center;
}

.jh-hero__content {
	max-width: 620px;
}

.jh-hero__kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	padding: 7px 16px;
	border: 1px solid rgba(233, 214, 143, 0.45);
	border-radius: 999px;
	background: rgba(201, 162, 39, 0.16);
	color: var(--jh-gold-soft);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.jh-theme .jh-hero__title {
	margin: 0 0 18px;
	color: #fff;
	font-size: clamp(2rem, 4.4vw, 3.35rem);
	line-height: 1.14;
	letter-spacing: -0.02em;
}

html[lang^="bn"] .jh-theme .jh-hero__title {
	font-size: clamp(1.9rem, 4vw, 3.1rem);
	line-height: 1.4;
	letter-spacing: 0;
}

.jh-hero__subtitle {
	margin: 0 0 28px;
	color: rgba(255, 255, 255, 0.84);
	font-size: clamp(1rem, 1.3vw, 1.15rem);
	max-width: 56ch;
}

.jh-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.jh-hero__note {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 28px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.85rem;
}

.jh-hero__note::before {
	content: "";
	width: 34px;
	height: 1px;
	background: var(--jh-gold);
}

.jh-hero__media {
	position: relative;
}

.jh-hero__frame {
	position: relative;
	overflow: hidden;
	border-radius: 26px;
	box-shadow: var(--jh-shadow-lg);
	aspect-ratio: 4 / 3.4;
	background: rgba(255, 255, 255, 0.08);
}

.jh-hero__frame::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
	pointer-events: none;
}

.jh-hero__frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.jh-hero__placeholder {
	display: grid;
	place-items: center;
	height: 100%;
	padding: 28px;
	background:
		linear-gradient(140deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02)),
		repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 14px, transparent 14px 28px);
	color: rgba(255, 255, 255, 0.72);
	text-align: center;
}

.jh-hero__placeholder svg {
	width: 74px;
	height: 74px;
	margin-bottom: 14px;
	color: var(--jh-gold-soft);
	opacity: 0.9;
}

.jh-hero__placeholder > div {
	width: 100%;
	max-width: 430px;
}

.jh-hero__countdown {
	margin-top: 22px;
}

.jh-hero__countdown .jh-countdown {
	gap: clamp(12px, 2vw, 20px);
	padding-top: 18px;
}

.jh-hero__countdown .jh-countdown__head {
	min-width: 0;
}

.jh-hero__countdown .jh-countdown__clock {
	width: 100%;
	justify-content: center;
}

@media (max-width: 560px) {
	.jh-hero__countdown .jh-countdown__unit {
		min-width: 54px;
		padding: 10px 8px 8px;
	}

	.jh-hero__countdown .jh-countdown__unit--days {
		min-width: 66px;
	}
}

.jh-hero__badge {
	position: absolute;
	inset-inline-end: -10px;
	bottom: -18px;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 20px;
	border-radius: 16px;
	background: #fff;
	color: var(--jh-ink);
	box-shadow: var(--jh-shadow);
	font-size: 0.83rem;
	font-weight: 600;
}

.jh-hero__badge strong {
	color: var(--jh-green);
	font-size: 1.25rem;
	line-height: 1;
}

@media (max-width: 900px) {
	.jh-hero__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.jh-hero__media {
		order: -1;
		max-width: 560px;
	}

	.jh-hero__frame {
		aspect-ratio: 16 / 10;
	}
}

@media (max-width: 520px) {
	.jh-hero__badge {
		inset-inline-end: 0;
		bottom: -14px;
		padding: 10px 14px;
	}

	.jh-hero__actions .jh-btn {
		flex: 1 1 100%;
	}
}

/* ==========================================================================
   6. Stats widget
   ========================================================================== */

.jh-stats {
	position: relative;
	background: var(--jh-green);
	color: #fff;
	padding-block: clamp(44px, 6vw, 70px);
	overflow: hidden;
}

.jh-stats::after {
	content: "";
	position: absolute;
	inset-inline-end: -60px;
	top: -80px;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(201, 162, 39, 0.28), transparent 68%);
}

.jh-stats__head {
	margin-bottom: 34px;
	text-align: center;
}

.jh-theme .jh-stats__head h2 {
	margin: 0 0 8px;
	color: #fff;
	font-size: clamp(1.5rem, 2.6vw, 2.1rem);
}

.jh-stats__head p {
	margin: 0;
	color: rgba(255, 255, 255, 0.72);
}

.jh-stats__grid {
	position: relative;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 18px;
}

.jh-stat {
	padding: 22px 18px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: var(--jh-radius);
	background: rgba(255, 255, 255, 0.06);
	text-align: center;
	backdrop-filter: blur(4px);
}

.jh-stat__value {
	display: block;
	color: var(--jh-gold-soft);
	font-size: clamp(1.9rem, 3.4vw, 2.7rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.jh-stat__label {
	display: block;
	margin-top: 6px;
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.9rem;
}

/* ==========================================================================
   7. Programs widget
   ========================================================================== */

.jh-programs__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 34px;
	flex-wrap: wrap;
}

.jh-programs__head h2 {
	margin: 0;
	font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.jh-programs__head p {
	margin: 10px 0 0;
	color: var(--jh-muted);
	max-width: 60ch;
}

.jh-programs__grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(var(--jh-cols, 3), minmax(0, 1fr));
}

.jh-program {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 26px 24px;
	border: 1px solid var(--jh-border);
	border-radius: var(--jh-radius-lg);
	background: #fff;
	text-decoration: none;
	color: inherit;
	box-shadow: var(--jh-shadow-sm);
	transition: transform 0.25s var(--jh-ease), box-shadow 0.25s var(--jh-ease),
		border-color 0.25s var(--jh-ease);
}

.jh-program:hover,
.jh-program:focus {
	transform: translateY(-4px);
	border-color: rgba(201, 162, 39, 0.55);
	box-shadow: var(--jh-shadow);
	color: inherit;
}

.jh-program__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: var(--jh-tint);
	color: var(--jh-green);
}

.jh-program__icon svg {
	width: 26px;
	height: 26px;
	stroke: currentColor;
	fill: none;
}

.jh-program__icon i {
	font-size: 24px;
}

.jh-program__title {
	margin: 0;
	font-size: 1.12rem;
	color: var(--jh-ink);
}

.jh-program__desc {
	margin: 0;
	color: var(--jh-muted);
	font-size: 0.92rem;
	line-height: 1.7;
}

.jh-program__more {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding-top: 8px;
	color: var(--jh-green);
	font-size: 0.85rem;
	font-weight: 600;
}

.jh-program__more svg {
	width: 15px;
	height: 15px;
}

@media (max-width: 1000px) {
	.jh-programs__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.jh-programs__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ==========================================================================
   8. Notices widget
   ========================================================================== */

.jh-notices {
	padding: 8px 0;
}

.jh-notices__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}

.jh-notices__head h2,
.jh-notices__head h3 {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 1.28rem;
}

.jh-notices__head h2 svg,
.jh-notices__head h3 svg {
	width: 22px;
	height: 22px;
	color: var(--jh-gold);
}

.jh-notices__all {
	font-size: 0.85rem;
	font-weight: 600;
}

.jh-notices__list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--jh-border);
}

.jh-notices__list li {
	border-bottom: 1px solid var(--jh-border);
}

.jh-notices__list a,
.jh-notices__static {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 17px 6px;
	color: var(--jh-ink);
	font-size: 0.95rem;
	font-weight: 500;
	text-decoration: none;
	transition: background-color 0.2s var(--jh-ease), padding-inline-start 0.2s var(--jh-ease);
}

.jh-notices__list a::before,
.jh-notices__static::before {
	content: "";
	width: 9px;
	height: 9px;
	margin-top: 8px;
	flex: none;
	background: var(--jh-gold);
	transform: rotate(45deg);
}

.jh-notices__list a:hover,
.jh-notices__list a:focus {
	padding-inline-start: 14px;
	background: var(--jh-tint);
	color: var(--jh-green);
}

.jh-notices__date {
	margin-inline-start: auto;
	color: var(--jh-muted);
	font-size: 0.8rem;
	white-space: nowrap;
}

/* ==========================================================================
   9. Quick links widget
   ========================================================================== */

.jh-langswitch-wrap {
	display: flex;
	align-items: center;
}

.jh-split {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: clamp(24px, 4vw, 44px);
	align-items: start;
}

@media (max-width: 900px) {
	.jh-split {
		grid-template-columns: minmax(0, 1fr);
	}
}

.jh-quicklinks h2,
.jh-quicklinks h3 {
	margin: 0 0 16px;
	font-size: 1.28rem;
}

.jh-quicklinks__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.jh-quicklink {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	border: 1px solid var(--jh-border);
	border-radius: 12px;
	background: #fff;
	color: var(--jh-ink);
	font-size: 0.9rem;
	font-weight: 500;
	text-decoration: none;
	transition: border-color 0.2s var(--jh-ease), color 0.2s var(--jh-ease),
		transform 0.2s var(--jh-ease);
}

.jh-quicklink svg {
	width: 17px;
	height: 17px;
	color: var(--jh-green);
	flex: none;
}

.jh-quicklink:hover,
.jh-quicklink:focus {
	transform: translateY(-2px);
	border-color: var(--jh-gold);
	color: var(--jh-green);
}

.jh-quicklink--tint {
	background: var(--jh-tint);
	border-color: transparent;
}

/* ==========================================================================
   10. Feature cards
   ========================================================================== */

.jh-features__head {
	max-width: 760px;
	margin-bottom: 34px;
}

.jh-features__head h2 {
	margin: 0 0 12px;
	font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.jh-features__head p:last-child {
	margin-bottom: 0;
}

.jh-features__grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(var(--jh-cols, 4), minmax(0, 1fr));
}

.jh-feature {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 26px 22px;
	border: 1px solid var(--jh-border);
	border-radius: var(--jh-radius-lg);
	background: #fff;
	color: inherit;
	text-decoration: none;
	box-shadow: var(--jh-shadow-sm);
	transition: transform 0.25s var(--jh-ease), box-shadow 0.25s var(--jh-ease),
		border-color 0.25s var(--jh-ease);
}

.jh-feature:hover,
.jh-feature:focus {
	transform: translateY(-4px);
	border-color: rgba(201, 162, 39, 0.55);
	box-shadow: var(--jh-shadow);
	color: inherit;
}

.jh-feature__icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: var(--jh-gold-tint);
	color: #8a6c10;
}

.jh-feature__icon svg {
	width: 24px;
	height: 24px;
}

.jh-feature__title {
	margin: 0;
	font-size: 1.05rem;
}

.jh-feature__desc {
	margin: 0;
	color: var(--jh-muted);
	font-size: 0.9rem;
	line-height: 1.7;
}

.jh-features--plain .jh-feature {
	padding: 10px 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.jh-features--plain .jh-feature:hover,
.jh-features--plain .jh-feature:focus {
	transform: none;
	box-shadow: none;
}

.jh-features--plain .jh-feature__icon {
	background: var(--jh-tint);
	color: var(--jh-green);
}

/* ==========================================================================
   11. Admission call to action
   ========================================================================== */

.jh-cta-wrap {
	padding-block: clamp(10px, 2vw, 24px) clamp(52px, 7vw, 92px);
}

.jh-cta {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: clamp(24px, 4vw, 52px);
	padding: clamp(30px, 4.5vw, 58px);
	border-radius: 28px;
	background: linear-gradient(120deg, var(--jh-green-dark), var(--jh-green));
	box-shadow: var(--jh-shadow);
}

.jh-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: url("assets/images/pattern.svg");
	background-size: 320px auto;
	background-position: right -40px center;
	opacity: 0.14;
}

.jh-cta__content {
	position: relative;
	max-width: 640px;
}

.jh-cta__kicker {
	margin: 0 0 10px;
	color: var(--jh-gold-soft);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.jh-theme .jh-cta__title {
	margin: 0 0 12px;
	color: #fff;
	font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.jh-cta__text {
	margin: 0;
	color: rgba(255, 255, 255, 0.82);
}

.jh-cta__actions {
	position: relative;
	flex: none;
	text-align: center;
}

.jh-cta__note {
	margin: 12px 0 0;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.82rem;
}

@media (max-width: 900px) {
	.jh-cta {
		flex-direction: column;
		align-items: flex-start;
	}

	.jh-cta__actions {
		width: 100%;
		text-align: start;
	}
}

@media (max-width: 1000px) {
	.jh-features__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.jh-features__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ==========================================================================
   11b. Application deadline countdown
   ========================================================================== */

.jh-countdown {
	position: relative;
	flex: 1 0 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: clamp(18px, 3vw, 34px);
	padding-top: clamp(20px, 3vw, 30px);
	border-top: 1px solid rgba(233, 214, 143, 0.24);
}

.jh-countdown__head {
	min-width: 200px;
}

.jh-countdown__kicker {
	margin: 0 0 6px;
	color: var(--jh-gold-soft);
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.jh-countdown__date {
	margin: 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.88rem;
}

.jh-countdown__clock {
	display: flex;
	align-items: stretch;
	gap: clamp(8px, 1.4vw, 14px);
}

.jh-countdown__unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	gap: 9px;
	min-width: 66px;
	padding: 12px 12px 9px;
	border: 1px solid rgba(233, 214, 143, 0.3);
	border-radius: 14px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(4, 41, 26, 0.34));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 12px 24px rgba(2, 20, 10, 0.3);
}

.jh-countdown__unit--days {
	min-width: 82px;
	border-color: rgba(233, 214, 143, 0.55);
	background: linear-gradient(180deg, rgba(233, 214, 143, 0.26), rgba(4, 41, 26, 0.4));
}

.jh-countdown__value {
	display: block;
	color: var(--jh-gold-soft);
	font-size: clamp(1.9rem, 3.4vw, 2.5rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.01em;
	font-variant-numeric: tabular-nums;
	transform-origin: center bottom;
}

.jh-countdown__value.is-tick {
	animation: jh-count-tick 0.5s cubic-bezier(0.22, 0.68, 0.28, 1);
}

.jh-countdown__digits {
	display: flex;
	gap: 1px;
	color: #fff;
	font-size: clamp(1.4rem, 2.4vw, 1.8rem);
	font-weight: 600;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.jh-countdown__reel {
	display: inline-block;
	width: 0.68em;
	height: 1.2em;
	overflow: hidden;
	text-align: center;
}

.jh-countdown__track {
	display: flex;
	flex-direction: column;
	transition: transform 0.34s cubic-bezier(0.22, 0.68, 0.28, 1);
}

.jh-countdown__track > span {
	height: 1.2em;
	line-height: 1.2em;
}

.jh-countdown__label {
	color: rgba(255, 255, 255, 0.66);
	font-size: 0.64rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.jh-countdown__closed {
	margin: 0;
	color: var(--jh-gold-soft);
	font-weight: 600;
}

.jh-countdown[data-jh-numerals="bn"] .jh-countdown__reel {
	width: 0.8em;
}

.jh-countdown.is-closed .jh-countdown__clock {
	display: none;
}

@keyframes jh-count-tick {
	from {
		opacity: 0.15;
		transform: perspective(340px) rotateX(-70deg);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 900px) {
	.jh-countdown__clock {
		width: 100%;
		justify-content: space-between;
	}
}

@media (max-width: 560px) {
	.jh-countdown__unit {
		min-width: 0;
		flex: 1 1 0;
		padding: 10px 6px 8px;
	}

	.jh-countdown__unit--days {
		min-width: 0;
	}
}

/* ==========================================================================
   12. Elementor alignment
   ========================================================================== */

.jh-theme .elementor-section.elementor-section-boxed > .elementor-container {
	max-width: var(--jh-wrap);
}

.jh-theme .elementor-widget-heading .elementor-heading-title {
	font-family: var(--jh-font);
}

.jh-theme .elementor-button {
	font-family: inherit;
}

.jh-theme .elementor-button.jh-btn {
	border: 0;
}

/* ==========================================================================
   13. Footer
   ========================================================================== */

.jh-site-footer {
	background:
		radial-gradient(90% 130% at 12% 0%, rgba(201, 162, 39, 0.12), transparent 55%),
		var(--jh-green-deep);
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.92rem;
}

.jh-site-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
	gap: clamp(26px, 4vw, 52px);
	padding-block: clamp(48px, 6vw, 76px);
}

.jh-site-footer h3 {
	margin: 0 0 16px;
	color: #fff;
	font-size: 0.98rem;
	letter-spacing: 0.02em;
}

.jh-site-footer a {
	color: rgba(255, 255, 255, 0.78);
	text-decoration: none;
}

.jh-site-footer a:hover,
.jh-site-footer a:focus {
	color: var(--jh-gold-soft);
}

.jh-footer-brand {
	display: flex;
	align-items: center;
	gap: 13px;
	margin-bottom: 16px;
}

.jh-footer-brand .jh-brand__name {
	color: #fff;
}

.jh-footer-brand .jh-brand__alt {
	color: rgba(255, 255, 255, 0.55);
}

.jh-footer-about {
	max-width: 38ch;
	margin: 0 0 20px;
	line-height: 1.8;
}

.jh-footer-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.jh-footer-list li {
	padding-block: 6px;
}

.jh-footer-list a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.jh-footer-list a::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--jh-gold);
	opacity: 0.8;
}

.jh-footer-contact li {
	display: flex;
	gap: 10px;
	padding-block: 7px;
	align-items: flex-start;
}

.jh-footer-contact svg {
	width: 16px;
	height: 16px;
	margin-top: 4px;
	color: var(--jh-gold);
	flex: none;
}

.jh-social {
	display: flex;
	gap: 9px;
	margin-top: 8px;
}

.jh-social a {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	color: #fff;
	transition: background-color 0.2s var(--jh-ease), border-color 0.2s var(--jh-ease);
}

.jh-social a:hover,
.jh-social a:focus {
	background: var(--jh-gold);
	border-color: var(--jh-gold);
	color: #231d05;
}

.jh-social svg {
	width: 16px;
	height: 16px;
}

.jh-site-footer__partners {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 26px;
	align-items: center;
	padding-block: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.jh-site-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding-block: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.55);
}

.jh-site-footer__bottom p {
	margin: 0;
}

.jh-site-footer__bottom nav,
.jh-site-footer__bottom .jh-footer-list {
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
}

.jh-site-footer__bottom .jh-footer-list li {
	padding-block: 0;
}

.jh-site-footer__bottom .jh-footer-list a::before {
	display: none;
}

@media (max-width: 1000px) {
	.jh-site-footer__top {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.jh-site-footer__top {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ==========================================================================
   14. Content / entry helpers
   ========================================================================== */

.jh-main {
	min-height: 40vh;
}
/*
.jh-entry {
	padding-block: clamp(40px, 6vw, 76px);
}
*/
.jh-entry__inner {
	max-width: 100%;
	margin-inline: auto;
	padding-inline: var(--jh-gutter);
}

.jh-entry__inner > * {
	margin-block: 0 1.15em;
}

.jh-entry__title {
	font-size: clamp(1.7rem, 3vw, 2.4rem);
	display: none; /* now hide title */
}

.jh-entry__meta {
	color: var(--jh-muted);
	font-size: 0.85rem;
}

/* Elementor-built pages render their own full-width sections. */
.jh-main--elementor {
	min-height: 0;
	padding: 0;
}

.jh-entry--archive .jh-entry__inner {
	max-width: var(--jh-wrap);
}

.jh-entry__thumb {
	margin: 0 0 28px;
}

.jh-entry__thumb img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--jh-radius-lg);
}

.jh-entry__content > * {
	margin-block: 0 1.15em;
}

.jh-entry__content h2,
.jh-entry__content h3,
.jh-entry__content h4 {
	margin-top: 1.6em;
}

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

.jh-entry__content ul,
.jh-entry__content ol {
	padding-inline-start: 1.3em;
}

.jh-entry__content li {
	margin-block: 0.35em;
}

.jh-entry__content blockquote {
	margin: 1.6em 0;
	padding: 4px 0 4px 22px;
	border-inline-start: 3px solid var(--jh-gold);
	color: var(--jh-ink);
	font-style: italic;
}

.jh-entry__footer {
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid var(--jh-border);
}

.jh-entry__tags a {
	display: inline-block;
	margin: 0 6px 6px 0;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--jh-tint);
	color: var(--jh-ink);
	font-size: 0.78rem;
	text-decoration: none;
}

.jh-page-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin-top: 26px;
	font-size: 0.9rem;
}

.jh-page-links a,
.jh-page-links > span {
	min-width: 34px;
	padding: 6px 10px;
	text-align: center;
	border: 1px solid var(--jh-border);
	border-radius: var(--jh-radius-sm);
	text-decoration: none;
}

.post-navigation {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	margin-top: 44px;
}

.post-navigation a {
	display: block;
	height: 100%;
	padding: 16px 20px;
	border: 1px solid var(--jh-border);
	border-radius: var(--jh-radius-lg);
	background: #fff;
	text-decoration: none;
}

.post-navigation a:hover {
	border-color: var(--jh-green);
}

.jh-nav-label {
	display: block;
	margin-bottom: 4px;
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--jh-muted);
}

.comments-area,
.comment-respond {
	margin-top: 44px;
}

.jh-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
}

.jh-pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 40px;
}

.jh-card {
	padding: 26px;
	border: 1px solid var(--jh-border);
	border-radius: var(--jh-radius-lg);
	background: #fff;
	box-shadow: var(--jh-shadow-sm);
}

.jh-card h2 {
	margin: 0 0 6px;
	font-size: 1.2rem;
}

.jh-card__excerpt p {
	margin: 0;
	color: var(--jh-muted);
}

/* ==========================================================================
   15. Motion, RTL and print
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.jh-theme *,
	.jh-theme *::before,
	.jh-theme *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
}

[dir="rtl"] .jh-nav .sub-menu {
	inset-inline-start: auto;
	inset-inline-end: 0;
}

[dir="rtl"] .jh-program__more svg,
[dir="rtl"] .jh-notices__list a::before {
	transform: rotate(45deg);
}

@media print {
	.jh-topbar,
	.jh-site-header,
	.jh-site-footer,
	.jh-langswitch {
		display: none !important;
	}

	body.jh-theme {
		background: #fff;
		color: #000;
	}
}
