/**
 * Local fonts — Cairo + IBM Plex Sans Arabic (self-hosted)
 * font-display: swap for better FCP / LCP
 */

/* Cairo — Arabic (variable weights) */
@font-face {
	font-family: "Cairo";
	font-style: normal;
	font-weight: 500 800;
	font-display: swap;
	size-adjust: 100%;
	ascent-override: 95%;
	descent-override: 25%;
	line-gap-override: 0%;
	src: url("../fonts/cairo-arabic.woff2") format("woff2");
	unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

/* Cairo — Latin */
@font-face {
	font-family: "Cairo";
	font-style: normal;
	font-weight: 500 800;
	font-display: swap;
	src: url("../fonts/cairo-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* IBM Plex Sans Arabic — 400 */
@font-face {
	font-family: "IBM Plex Sans Arabic";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/ibm-400-arabic.woff2") format("woff2");
	unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
	font-family: "IBM Plex Sans Arabic";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/ibm-400-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* IBM Plex Sans Arabic — 500 */
@font-face {
	font-family: "IBM Plex Sans Arabic";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/ibm-500-arabic.woff2") format("woff2");
	unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
	font-family: "IBM Plex Sans Arabic";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/ibm-500-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* IBM Plex Sans Arabic — 600 */
@font-face {
	font-family: "IBM Plex Sans Arabic";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/ibm-600-arabic.woff2") format("woff2");
	unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
	font-family: "IBM Plex Sans Arabic";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/ibm-600-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/**
 * Main stylesheet — HostGad Jobs
 * Direction: deep teal + warm gold, Arabic-first, performance-minded
 */

:root {
	--hgj-ink: #0a1f1e;
	--hgj-forest: #0b3d3a;
	--hgj-teal: #14635e;
	--hgj-mint: #2a9d8f;
	--hgj-gold: #e8a838;
	--hgj-gold-deep: #c4841f;
	--hgj-sand: #f3efe6;
	--hgj-paper: #faf8f4;
	--hgj-white: #ffffff;
	--hgj-muted: #5c6f6d;
	--hgj-line: rgba(11, 61, 58, 0.12);
	--hgj-radius: 14px;
	--hgj-radius-sm: 8px;
	--hgj-shadow: 0 18px 40px rgba(10, 31, 30, 0.12);
	--hgj-font-display: "Cairo", sans-serif;
	--hgj-font-body: "IBM Plex Sans Arabic", sans-serif;
	--hgj-header-h: 72px;
	--hgj-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--hgj-max: 1180px;
}

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

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	overflow-x: hidden;
	max-width: 100%;
}

body.hgj-theme {
	margin: 0;
	font-family: var(--hgj-font-body);
	font-size: 1.05rem;
	line-height: 1.7;
	color: var(--hgj-ink);
	background:
		radial-gradient(1200px 600px at 100% -10%, rgba(42, 157, 143, 0.12), transparent 55%),
		radial-gradient(900px 500px at 0% 20%, rgba(232, 168, 56, 0.08), transparent 50%),
		linear-gradient(180deg, var(--hgj-paper) 0%, #eef4f2 100%);
	min-height: 100vh;
	overflow-x: hidden;
	max-width: 100%;
	position: relative;
	width: 100%;
}

body.hgj-nav-open {
	overflow: hidden;
}

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

a {
	color: var(--hgj-teal);
	text-decoration: none;
}

a:hover {
	color: var(--hgj-gold-deep);
}

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

.hgj-skip-link {
	position: absolute;
	top: -100px;
	inset-inline-start: 16px;
	background: var(--hgj-gold);
	color: var(--hgj-ink);
	padding: 0.6rem 1rem;
	z-index: 9999;
	border-radius: var(--hgj-radius-sm);
	font-weight: 700;
}

.hgj-skip-link:focus {
	top: 12px;
}

/* ——— Buttons ——— */
.hgj-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.65rem 1.25rem;
	border-radius: 999px;
	font-family: var(--hgj-font-display);
	font-weight: 700;
	font-size: 0.95rem;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform 0.25s var(--hgj-ease), background 0.25s, box-shadow 0.25s;
	text-decoration: none;
	line-height: 1.2;
}

.hgj-btn:hover {
	transform: translateY(-2px);
}

.hgj-btn--accent {
	background: linear-gradient(135deg, var(--hgj-gold) 0%, #f0c05a 100%);
	color: var(--hgj-ink);
	box-shadow: 0 8px 24px rgba(232, 168, 56, 0.35);
}

.hgj-btn--accent:hover {
	color: var(--hgj-ink);
	box-shadow: 0 12px 28px rgba(232, 168, 56, 0.45);
}

.hgj-btn--ghost {
	background: rgba(255, 255, 255, 0.08);
	color: var(--hgj-sand);
	border-color: rgba(243, 239, 230, 0.25);
}

.hgj-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.16);
	color: var(--hgj-white);
}

.hgj-btn--outline {
	background: transparent;
	color: var(--hgj-sand);
	border-color: rgba(243, 239, 230, 0.45);
}

.hgj-btn--outline:hover {
	background: rgba(255, 255, 255, 0.1);
	color: var(--hgj-white);
}

.hgj-btn--outline-dark {
	background: transparent;
	color: var(--hgj-forest);
	border-color: rgba(11, 61, 58, 0.28);
}

.hgj-btn--outline-dark:hover {
	background: var(--hgj-forest);
	color: var(--hgj-white);
	border-color: var(--hgj-forest);
}

.hgj-btn--lg {
	padding: 0.9rem 1.7rem;
	font-size: 1.05rem;
}

.hgj-btn--solid {
	background: var(--hgj-forest);
	color: var(--hgj-sand);
}

.hgj-btn--solid:hover {
	background: var(--hgj-teal);
	color: var(--hgj-white);
}

/* ——— Header ——— */
.hgj-header {
	position: relative;
	z-index: 50;
}

.hgj-header__bar {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #ffffff;
	border-bottom: 1px solid rgba(11, 61, 58, 0.08);
	box-shadow: 0 6px 24px rgba(10, 31, 30, 0.05);
	color: var(--hgj-ink);
}

.hgj-header.is-scrolled .hgj-header__bar {
	box-shadow: 0 10px 30px rgba(10, 31, 30, 0.1);
}

.hgj-header__inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 1rem 1.5rem;
	max-width: var(--hgj-max);
	margin: 0 auto;
	padding: 0.75rem 1.25rem;
	min-height: 74px;
}

.hgj-header.is-scrolled .hgj-header__inner {
	min-height: 64px;
	padding-block: 0.45rem;
}

.hgj-brand {
	justify-self: start;
}

.hgj-brand__mark {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	color: inherit;
	text-decoration: none;
}

.hgj-brand__mark:hover {
	color: inherit;
}

.hgj-brand__icon {
	color: var(--hgj-gold);
	display: grid;
	place-items: center;
	filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.12));
	transition: transform 0.4s var(--hgj-ease);
}

.hgj-brand__mark:hover .hgj-brand__icon {
	transform: rotate(-6deg) scale(1.05);
}

.hgj-brand__icon-bg {
	fill: #0a2e2c;
}

.hgj-brand__text {
	display: flex;
	flex-direction: column;
	gap: 0.05rem;
}

.hgj-brand__name {
	font-family: var(--hgj-font-display);
	font-weight: 800;
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	letter-spacing: -0.02em;
	line-height: 1.15;
	color: var(--hgj-forest);
}

.hgj-brand__tag {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--hgj-gold-deep);
	opacity: 0.95;
}

.hgj-brand__logo .custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.hgj-brand__logo .custom-logo {
	max-height: 48px;
	width: auto;
}

.hgj-nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	position: relative;
	z-index: 130;
	border: 1px solid rgba(11, 61, 58, 0.18);
	border-radius: 10px;
	background: var(--hgj-sand);
	cursor: pointer;
	align-items: center;
	justify-content: center;
	justify-self: end;
	grid-column: 3;
	grid-row: 1;
}

.hgj-nav-toggle__bars,
.hgj-nav-toggle__bars::before,
.hgj-nav-toggle__bars::after {
	display: block;
	width: 20px;
	height: 2px;
	background: var(--hgj-forest);
	border-radius: 2px;
	position: relative;
	transition: transform 0.3s var(--hgj-ease), opacity 0.2s;
}

.hgj-nav-toggle__bars::before,
.hgj-nav-toggle__bars::after {
	content: "";
	position: absolute;
	inset-inline-start: 0;
}

.hgj-nav-toggle__bars::before { top: -6px; }
.hgj-nav-toggle__bars::after { top: 6px; }

.hgj-nav-toggle[aria-expanded="true"] .hgj-nav-toggle__bars {
	background: transparent;
}

.hgj-nav-toggle[aria-expanded="true"] .hgj-nav-toggle__bars::before {
	top: 0;
	transform: rotate(45deg);
}

.hgj-nav-toggle[aria-expanded="true"] .hgj-nav-toggle__bars::after {
	top: 0;
	transform: rotate(-45deg);
}

.hgj-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	justify-self: center;
	width: 100%;
	min-width: 0;
}

.hgj-nav__list {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.15rem;
	list-style: none;
	margin: 0;
	padding: 0.2rem;
	background: #f4f7f6;
	border: 1px solid rgba(11, 61, 58, 0.08);
	border-radius: 999px;
}

.hgj-nav__list > li {
	position: relative;
}

.hgj-nav__list > li > a {
	display: block;
	padding: 0.55rem 1rem;
	color: #1a2e2c;
	font-family: var(--hgj-font-display);
	font-weight: 700;
	font-size: 0.92rem;
	border-radius: 999px;
	position: relative;
	white-space: nowrap;
	transition: background 0.2s;
}

.hgj-nav__list > li > a::after {
	display: none;
}

.hgj-nav__list > li > a:hover,
.hgj-nav__list > li.current-menu-item > a,
.hgj-nav__list > li.current_page_item > a {
	color: var(--hgj-forest);
	background: #ffffff;
	box-shadow: 0 4px 14px rgba(10, 31, 30, 0.08);
}

.hgj-nav__list .sub-menu {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	inset-inline-start: 50%;
	transform: translateX(-50%);
	min-width: 200px;
	background: var(--hgj-white);
	color: var(--hgj-ink);
	border-radius: 12px;
	box-shadow: var(--hgj-shadow);
	border: 1px solid var(--hgj-line);
	padding: 0.5rem;
	list-style: none;
	z-index: 20;
}

.hgj-nav__list > li:hover > .sub-menu,
.hgj-nav__list > li:focus-within > .sub-menu {
	display: block;
	animation: hgj-fade-up 0.25s var(--hgj-ease);
}

.hgj-nav__list .sub-menu a {
	display: block;
	padding: 0.55rem 0.75rem;
	color: var(--hgj-ink);
	border-radius: 8px;
	font-weight: 600;
}

.hgj-nav__list .sub-menu a:hover {
	background: var(--hgj-sand);
	color: var(--hgj-forest);
}

.hgj-header__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.55rem;
	justify-self: end;
}

.hgj-header__actions .hgj-btn {
	padding: 0.55rem 1.05rem;
	font-size: 0.88rem;
}

.hgj-nav__actions,
.hgj-nav__mobile-actions {
	display: none;
}

.hgj-nav__drawer-head,
.hgj-nav__close {
	display: none;
}

/* ——— Hero ——— */
.hgj-hero--banner {
	position: relative;
	z-index: 1;
	margin: 0;
	padding: 1.25rem 1.25rem 0.5rem;
	background: linear-gradient(180deg, #f7fafc 0%, transparent 100%);
}

.hgj-hero__shine {
	display: none;
}

.hgj-hero__frame {
	position: relative;
	z-index: 1;
	margin: 0 auto;
	max-width: 980px;
	line-height: 0;
	border-radius: 18px;
	overflow: hidden;
	border: 1px solid rgba(11, 61, 58, 0.08);
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
	background: #fff;
	aspect-ratio: 2 / 1;
}

.hgj-hero__image {
	display: block;
	width: 100%;
	height: 100%;
	max-height: none;
	object-fit: cover;
	object-position: center center;
}

@keyframes hgj-fade-up {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ——— Main layout ——— */
.hgj-main {
	max-width: var(--hgj-max);
	margin: 0 auto;
	padding: 2.5rem 1.25rem 3.5rem;
}

.hgj-section-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.75rem;
	flex-wrap: wrap;
}

.hgj-section-head h2 {
	margin: 0;
	font-family: var(--hgj-font-display);
	font-size: clamp(1.6rem, 3vw, 2.1rem);
	font-weight: 800;
	color: var(--hgj-forest);
	letter-spacing: -0.02em;
}

.hgj-section-head p {
	margin: 0.35rem 0 0;
	color: var(--hgj-muted);
	max-width: 40ch;
}

/* Job cards */
.hgj-jobs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
	gap: 1.25rem;
}

.hgj-job-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--hgj-white);
	border: 1px solid var(--hgj-line);
	border-radius: var(--hgj-radius);
	padding: 1.25rem;
	transition: transform 0.3s var(--hgj-ease), box-shadow 0.3s;
	overflow: hidden;
}

.hgj-job-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 3px;
	background: linear-gradient(90deg, var(--hgj-mint), var(--hgj-gold));
	opacity: 0;
	transition: opacity 0.3s;
}

.hgj-job-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--hgj-shadow);
	border-color: rgba(20, 99, 94, 0.25);
}

.hgj-job-card:hover::before {
	opacity: 1;
}

.hgj-job-card.is-featured {
	border-color: rgba(232, 168, 56, 0.45);
	background: linear-gradient(165deg, #fffef9 0%, #fff 60%);
}

.hgj-job-card__badge {
	align-self: flex-start;
	margin-bottom: 0.75rem;
	padding: 0.2rem 0.65rem;
	font-size: 0.72rem;
	font-weight: 700;
	font-family: var(--hgj-font-display);
	color: var(--hgj-ink);
	background: var(--hgj-gold);
	border-radius: 999px;
}

.hgj-job-card__title {
	margin: 0 0 0.4rem;
	font-family: var(--hgj-font-display);
	font-size: 1.2rem;
	font-weight: 800;
	line-height: 1.35;
}

.hgj-job-card__title a {
	color: var(--hgj-forest);
}

.hgj-job-card__title a:hover {
	color: var(--hgj-gold-deep);
}

.hgj-job-card__company {
	margin: 0 0 0.85rem;
	color: var(--hgj-muted);
	font-weight: 500;
	font-size: 0.95rem;
}

.hgj-job-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
}

.hgj-job-card__meta li {
	padding: 0.25rem 0.6rem;
	font-size: 0.78rem;
	font-weight: 600;
	background: var(--hgj-sand);
	color: var(--hgj-forest);
	border-radius: 6px;
}

.hgj-job-card__footer {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding-top: 0.85rem;
	border-top: 1px solid var(--hgj-line);
}

.hgj-job-card__salary {
	font-family: var(--hgj-font-display);
	font-weight: 700;
	color: var(--hgj-teal);
	font-size: 0.95rem;
}

.hgj-date {
	font-size: 0.82rem;
	color: var(--hgj-muted);
}

/* Single job — direction:ltr على الشبكة فقط حتى لا ينعكس عرض الأعمدة في RTL */
.hgj-single-job-layout {
	display: grid;
	direction: ltr;
	grid-template-columns: 300px minmax(0, 1fr);
	grid-template-areas: "side main";
	gap: 1.5rem;
	align-items: start;
}

.hgj-job-main {
	grid-area: main;
	direction: rtl;
	min-width: 0;
	max-width: 100%;
}

.hgj-job-aside {
	grid-area: side;
	direction: rtl;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
	min-width: 0;
	max-width: 100%;
}

.hgj-job-hero-bar {
	background: var(--hgj-white);
	border: 1px solid var(--hgj-line);
	border-radius: var(--hgj-radius);
	padding: 1.75rem;
	margin-bottom: 1.5rem;
}

.hgj-job-featured {
	margin: 0 0 1.5rem;
	border-radius: var(--hgj-radius);
	overflow: hidden;
	border: 1px solid var(--hgj-line);
	background: #fff;
	box-shadow: 0 12px 32px rgba(10, 31, 30, 0.06);
}

.hgj-job-featured__img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 420px;
	object-fit: contain;
	object-position: center;
	background: linear-gradient(180deg, #f7faf8, #fff);
}

.hgj-job-featured__cap {
	margin: 0;
	padding: 0.75rem 1rem;
	font-size: 0.9rem;
	color: var(--hgj-muted);
	border-top: 1px solid var(--hgj-line);
}

.hgj-job-hero-bar h1 {
	margin: 0 0 0.5rem;
	font-family: var(--hgj-font-display);
	font-size: clamp(1.7rem, 3.5vw, 2.4rem);
	font-weight: 800;
	color: var(--hgj-forest);
}

.hgj-job-facts {
	display: grid;
	gap: 0.75rem;
	margin: 0;
	width: 100%;
	box-sizing: border-box;
}

.hgj-job-facts dt {
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--hgj-muted);
	margin: 0;
}

.hgj-job-facts dd {
	margin: 0.15rem 0 0;
	font-family: var(--hgj-font-display);
	font-weight: 700;
	color: var(--hgj-forest);
	overflow-wrap: anywhere;
	word-break: break-word;
}

.hgj-apply-box {
	width: 100%;
	box-sizing: border-box;
	background: linear-gradient(165deg, var(--hgj-forest), #0e4f4a);
	color: var(--hgj-sand);
	border-radius: var(--hgj-radius);
	padding: 1.5rem;
	box-shadow: var(--hgj-shadow);
}

.hgj-job-other {
	margin: 0;
	width: 100%;
	box-sizing: border-box;
}

.hgj-job-other .hgj-side-jobs {
	margin-top: 0.35rem;
}

.hgj-job-other .hgj-side-jobs a {
	min-width: 0;
}

.hgj-apply-box h3 {
	margin: 0 0 0.5rem;
	font-family: var(--hgj-font-display);
	font-size: 1.25rem;
}

.hgj-apply-box p {
	margin: 0 0 1.25rem;
	opacity: 0.85;
	font-size: 0.95rem;
}

.hgj-apply-box .hgj-btn {
	width: 100%;
	box-sizing: border-box;
}

.hgj-content {
	background: var(--hgj-white);
	border: 1px solid var(--hgj-line);
	border-radius: var(--hgj-radius);
	padding: 1.75rem;
}

.hgj-content h2,
.hgj-content h3 {
	font-family: var(--hgj-font-display);
	color: var(--hgj-forest);
}

.hgj-page-title {
	margin: 0 0 1.5rem;
	font-family: var(--hgj-font-display);
	font-size: clamp(1.8rem, 4vw, 2.5rem);
	font-weight: 800;
	color: var(--hgj-forest);
}

.hgj-empty {
	text-align: center;
	padding: 3rem 1rem;
	color: var(--hgj-muted);
}

.hgj-pagination {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 2.5rem;
	flex-wrap: wrap;
}

.hgj-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 0.75rem;
	border-radius: 8px;
	background: var(--hgj-white);
	border: 1px solid var(--hgj-line);
	color: var(--hgj-forest);
	font-weight: 700;
	font-family: var(--hgj-font-display);
}

.hgj-pagination .page-numbers.current,
.hgj-pagination .page-numbers:hover {
	background: var(--hgj-forest);
	color: var(--hgj-sand);
	border-color: var(--hgj-forest);
}

/* Ads */
.hgj-ad-zone {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 1rem auto;
	max-width: var(--hgj-max);
	padding: 0 1.25rem;
	min-height: 0;
}

.hgj-ad-zone .widget {
	width: 100%;
	text-align: center;
}

.hgj-ad--below-header {
	margin-top: 1rem;
}

/* Sidebar widgets */
.widget {
	margin-bottom: 1.5rem;
}

.widget-title {
	font-family: var(--hgj-font-display);
	font-size: 1.1rem;
	font-weight: 800;
	color: var(--hgj-forest);
	margin: 0 0 0.75rem;
}

/* ——— Footer ——— */
.hgj-footer {
	position: relative;
	margin-top: 3rem;
	background: linear-gradient(180deg, #062826 0%, #041c1b 100%);
	color: #f3efe6;
}

.hgj-footer__wave {
	color: #eef4f2;
	line-height: 0;
	transform: translateY(-1px);
}

.hgj-footer__wave svg {
	width: 100%;
	height: 48px;
	display: block;
}

.hgj-footer__top {
	display: grid;
	grid-template-columns: 1.1fr 1.4fr;
	gap: 2.5rem;
	max-width: var(--hgj-max);
	margin: 0 auto;
	padding: 1rem 1.25rem 2.5rem;
}

.hgj-footer__brand {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	margin-bottom: 1rem;
	color: #ffffff;
	text-decoration: none;
}

.hgj-footer__brand:hover {
	color: #ffffff;
}

.hgj-footer__brand-name {
	font-family: var(--hgj-font-display);
	font-weight: 800;
	font-size: 1.6rem;
	color: #ffffff;
	letter-spacing: -0.02em;
}

.hgj-footer__brand-sub {
	font-size: 0.75rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #f5c65c;
	font-weight: 600;
}

.hgj-footer__pitch {
	margin: 0 0 1.25rem;
	max-width: 36ch;
	line-height: 1.7;
	color: #ffffff;
}

.hgj-footer__search {
	display: flex;
	gap: 0.5rem;
	max-width: 420px;
}

.hgj-footer__search input[type="search"] {
	flex: 1;
	min-width: 0;
	padding: 0.75rem 1rem;
	border: 1px solid #d5d0c6;
	border-radius: 999px;
	background: #faf8f4;
	color: #0a1f1e;
	font-family: var(--hgj-font-body);
	font-size: 0.95rem;
}

.hgj-footer__search input[type="search"]::placeholder {
	color: #5c6f6d;
	opacity: 1;
}

.hgj-footer__search input[type="search"]:focus {
	outline: 2px solid #f5c65c;
	outline-offset: 2px;
}

.hgj-footer__search .hgj-btn--accent {
	background: #f5c65c;
	color: #0a1f1e;
	box-shadow: none;
	border: 1px solid #d4a12e;
}

.hgj-footer__search .hgj-btn--accent:hover {
	background: #ffd166;
	color: #0a1f1e;
}

.hgj-footer__columns {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.35rem;
}

.hgj-footer__heading {
	margin: 0 0 1rem;
	padding-bottom: 0.55rem;
	border-bottom: 1px solid rgba(245, 198, 92, 0.45);
	font-family: var(--hgj-font-display);
	font-size: 1rem;
	font-weight: 800;
	color: #ffffff;
}

.hgj-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.55rem;
}

.hgj-footer__links a {
	color: #ffffff;
	font-weight: 500;
	transition: transform 0.2s;
	display: inline-block;
}

.hgj-footer__links a:hover {
	color: #ffffff;
	opacity: 0.88;
	transform: translateX(-3px);
}

.hgj-footer__more {
	color: #ffffff !important;
	font-weight: 700 !important;
	margin-top: 0.25rem;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.hgj-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin-top: 1rem;
}

.hgj-footer__social a {
	display: inline-flex;
	align-items: center;
	padding: 0.4rem 0.85rem;
	border-radius: 999px;
	border: 1px solid rgba(245, 198, 92, 0.55);
	color: #ffd166;
	font-size: 0.85rem;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.2s;
}

.hgj-footer__social a:hover {
	background: rgba(245, 198, 92, 0.18);
	color: #ffffff;
}

.hgj-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	max-width: var(--hgj-max);
	margin: 0 auto;
	padding: 1.25rem 1.25rem 1.75rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.9rem;
}

.hgj-footer__copy {
	margin: 0;
	color: #ffffff;
}

.hgj-footer__copy strong {
	color: #ffffff;
}

.hgj-footer__credit {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: #ffffff;
	font-weight: 600;
	font-family: var(--hgj-font-display);
	font-size: 0.85rem;
}

.hgj-footer__pulse {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--hgj-mint);
	transform: scale(1);
	opacity: 1;
	animation: hgj-pulse 2s ease-out infinite;
	will-change: transform, opacity;
}

@keyframes hgj-pulse {
	0% {
		transform: scale(1);
		opacity: 1;
	}
	70% {
		transform: scale(1.85);
		opacity: 0;
	}
	100% {
		transform: scale(1);
		opacity: 0;
	}
}

/* ——— Responsive ——— */
@media (max-width: 960px) {
	.hgj-hero--banner {
		padding: 1rem 1rem 0.25rem;
	}

	.hgj-hero--banner .hgj-hero__frame {
		max-width: 100%;
		border-radius: 14px;
	}

	.hgj-hero--banner .hgj-hero__image {
		max-height: 260px;
		object-fit: cover;
		object-position: center center;
	}

	.hgj-footer__top {
		grid-template-columns: 1fr;
	}

	.hgj-single-job-layout {
		grid-template-columns: 1fr;
		grid-template-areas:
			"main"
			"side";
	}

	.hgj-apply-box {
		position: static;
	}
}

@media (max-width: 980px) {
	.hgj-nav-toggle {
		display: inline-flex;
		position: relative;
		z-index: 140;
	}

	.hgj-header__inner {
		grid-template-columns: 1fr auto;
		position: relative;
	}

	.hgj-header__actions {
		display: none;
	}

	.hgj-header__bar {
		position: sticky;
		top: 0;
		z-index: 100;
	}

	.hgj-nav {
		position: fixed;
		top: 0;
		bottom: 0;
		inset-inline-start: 0;
		inset-inline-end: auto;
		width: min(88vw, 360px);
		max-width: calc(100% - 2rem);
		height: 100dvh;
		height: 100vh;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		justify-self: auto;
		gap: 1rem;
		padding: calc(5rem + env(safe-area-inset-top, 0px)) 1.15rem calc(1.35rem + env(safe-area-inset-bottom, 0px));
		background:
			radial-gradient(420px 220px at 100% 0%, rgba(232, 168, 56, 0.16), transparent 55%),
			linear-gradient(165deg, #ffffff 0%, #f4f8f6 100%);
		border: 0;
		border-inline-end: 1px solid rgba(11, 61, 58, 0.1);
		box-shadow: 18px 0 48px rgba(10, 31, 30, 0.22);
		z-index: 130;
		/* Hide toward the start edge (no page-width expansion) */
		transform: translate3d(-105%, 0, 0);
		visibility: hidden;
		opacity: 0;
		pointer-events: none;
		transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease, visibility 0.22s;
		overflow-x: hidden;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	html[dir="rtl"] .hgj-nav {
		transform: translate3d(105%, 0, 0);
		box-shadow: -18px 0 48px rgba(10, 31, 30, 0.22);
	}

	.hgj-nav.is-open,
	html[dir="rtl"] .hgj-nav.is-open {
		transform: translate3d(0, 0, 0) !important;
		visibility: visible;
		opacity: 1;
		pointer-events: auto;
		animation: none;
	}

	.hgj-nav__drawer-head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 0.75rem;
		margin-bottom: 0.25rem;
	}

	.hgj-nav__drawer-title {
		margin: 0;
		font-family: var(--hgj-font-display);
		font-size: 1.2rem;
		font-weight: 800;
		color: var(--hgj-forest);
	}

	.hgj-nav__close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 42px;
		height: 42px;
		border: 1px solid rgba(11, 61, 58, 0.14);
		border-radius: 12px;
		background: #fff;
		color: var(--hgj-forest);
		font-size: 1.4rem;
		line-height: 1;
		cursor: pointer;
	}

	/* Backdrop behind the drawer (never above it) */
	.hgj-nav-backdrop {
		display: none;
		position: fixed;
		inset: 0;
		z-index: 10050;
		background: rgba(6, 40, 38, 0.55);
		backdrop-filter: blur(3px);
		-webkit-backdrop-filter: blur(3px);
		border: 0;
		padding: 0;
		margin: 0;
		cursor: pointer;
	}

	body.hgj-nav-open .hgj-nav-backdrop {
		display: block;
	}

	body.hgj-nav-open .hgj-header {
		z-index: 10100;
	}

	.hgj-nav-toggle {
		z-index: 10120 !important;
	}

	.hgj-nav {
		z-index: 10110 !important;
	}

	.hgj-nav__list {
		flex-direction: column;
		align-items: stretch;
		border-radius: 16px;
		padding: 0.4rem;
		background: #fff;
		border: 1px solid rgba(11, 61, 58, 0.08);
		box-shadow: 0 10px 28px rgba(10, 31, 30, 0.05);
	}

	.hgj-nav__list > li > a {
		color: var(--hgj-forest);
		padding: 0.95rem 1rem;
		border-radius: 12px;
		white-space: normal;
		min-height: 48px;
		font-size: 1rem;
		display: flex;
		align-items: center;
	}

	.hgj-nav__list > li > a:hover,
	.hgj-nav__list > li.current-menu-item > a,
	.hgj-nav__list > li.current_page_item > a {
		background: linear-gradient(135deg, rgba(42, 157, 143, 0.12), rgba(232, 168, 56, 0.14));
		box-shadow: none;
		color: var(--hgj-forest);
	}

	.hgj-nav__list .sub-menu {
		position: static;
		display: none;
		transform: none;
		inset-inline-start: auto;
		box-shadow: none;
		border: none;
		background: #f4f8f6;
		margin-top: 0.25rem;
		border-radius: 12px;
	}

	.hgj-nav__list > li:hover > .sub-menu,
	.hgj-nav__list > li:focus-within > .sub-menu,
	.hgj-nav__list > li.is-open > .sub-menu {
		display: block;
	}

	.hgj-nav__list .sub-menu a {
		color: var(--hgj-forest);
		padding: 0.7rem 0.9rem;
	}

	.hgj-nav__mobile-actions {
		display: flex;
		flex-direction: column;
		gap: 0.55rem;
		margin-top: auto;
		padding-top: 0.85rem;
	}

	.hgj-nav__mobile-actions .hgj-btn {
		width: 100%;
		min-height: 48px;
	}
}

@media (max-width: 800px) {
	.hgj-footer__columns {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 520px) {
	.hgj-footer__columns {
		grid-template-columns: 1fr;
	}

	.hgj-footer__search {
		flex-direction: column;
	}

	.hgj-hero__card--3 {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* ——— Single Article (full width + sidebar) ——— */
body.single-post .hgj-main {
	max-width: min(1240px, 100%);
}

.hgj-post-shell {
	width: 100%;
	animation: hgj-fade-up 0.55s var(--hgj-ease) both;
}

.hgj-post-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 1.75rem;
	align-items: start;
}

.hgj-post-layout__main {
	min-width: 0;
}

.hgj-article {
	max-width: none;
	margin: 0;
	background: #fff;
	border: 1px solid var(--hgj-line);
	border-radius: 22px;
	padding: 1.75rem 1.75rem 2rem;
	box-shadow: 0 14px 40px rgba(10, 31, 30, 0.06);
}

.hgj-article__header {
	text-align: start;
	margin-bottom: 1.35rem;
}

.hgj-article__cats {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 0.45rem;
	margin-bottom: 0.85rem;
}

.hgj-article__cat {
	display: inline-flex;
	align-items: center;
	padding: 0.3rem 0.85rem;
	font-family: var(--hgj-font-display);
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--hgj-forest);
	background: linear-gradient(135deg, rgba(42, 157, 143, 0.12), rgba(232, 168, 56, 0.14));
	border: 1px solid rgba(20, 99, 94, 0.15);
	border-radius: 999px;
	transition: transform 0.25s var(--hgj-ease), background 0.25s;
}

.hgj-article__cat:hover {
	transform: translateY(-2px);
	color: var(--hgj-ink);
	background: var(--hgj-gold);
	border-color: transparent;
}

.hgj-article__title {
	margin: 0 0 1rem;
	font-family: var(--hgj-font-display);
	font-weight: 800;
	font-size: clamp(1.75rem, 3.8vw, 2.55rem);
	line-height: 1.28;
	letter-spacing: -0.025em;
	color: var(--hgj-forest);
	text-wrap: balance;
}

.hgj-article__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 0.65rem 0.85rem;
	color: var(--hgj-muted);
	font-size: 0.92rem;
}

.hgj-article__author {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
}

.hgj-article__avatar img {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--hgj-white);
	box-shadow: 0 4px 12px rgba(10, 31, 30, 0.15);
}

.hgj-article__by {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	line-height: 1.25;
	text-align: start;
}

.hgj-article__by-label {
	font-size: 0.72rem;
	opacity: 0.8;
}

.hgj-article__by-name {
	font-family: var(--hgj-font-display);
	font-weight: 700;
	color: var(--hgj-forest);
}

.hgj-article__sep {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: rgba(11, 61, 58, 0.3);
}

.hgj-article__updated {
	font-size: 0.85rem;
}

.hgj-article__featured {
	margin: 0 0 1.5rem;
	border-radius: 18px;
	overflow: hidden;
	background: var(--hgj-forest);
	box-shadow: 0 16px 36px rgba(10, 31, 30, 0.12);
	position: relative;
}

.hgj-article__featured::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 28%;
	background: linear-gradient(180deg, transparent, rgba(6, 40, 38, 0.35));
	pointer-events: none;
}

.hgj-article__featured-img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
	transform: scale(1.01);
	transition: transform 0.8s var(--hgj-ease);
}

.hgj-article__featured:hover .hgj-article__featured-img {
	transform: scale(1.04);
}

.hgj-article__caption {
	margin: 0;
	padding: 0.65rem 1rem;
	font-size: 0.85rem;
	color: rgba(243, 239, 230, 0.85);
	background: var(--hgj-forest);
	text-align: center;
	position: relative;
	z-index: 1;
}

.hgj-article__lead {
	margin: 0 0 1.5rem;
	padding: 1.1rem 1.25rem;
	font-size: 1.12rem;
	line-height: 1.75;
	color: var(--hgj-forest);
	font-weight: 500;
	background: linear-gradient(135deg, rgba(42, 157, 143, 0.08), rgba(232, 168, 56, 0.1));
	border-inline-start: 4px solid var(--hgj-gold);
	border-radius: 12px;
}

.hgj-article__body.hgj-content {
	padding: 0;
	font-size: 1.08rem;
	line-height: 1.9;
}

.hgj-article__body > *:first-child {
	margin-top: 0;
}

.hgj-article__body p {
	margin: 0 0 1.25rem;
}

.hgj-article__body h2,
.hgj-article__body h3,
.hgj-article__body h4 {
	margin: 2rem 0 0.85rem;
	line-height: 1.35;
	letter-spacing: -0.02em;
}

.hgj-article__body h2 {
	position: relative;
	display: block;
	margin: 2.35rem 0 1.15rem;
	padding: 0.95rem 1.15rem 0.95rem 1.15rem;
	padding-inline-start: 1.35rem;
	font-family: var(--hgj-font-display);
	font-size: clamp(1.35rem, 2.6vw, 1.7rem);
	font-weight: 800;
	line-height: 1.4;
	letter-spacing: -0.02em;
	color: #062826;
	background:
		linear-gradient(105deg, rgba(42, 157, 143, 0.12) 0%, rgba(232, 168, 56, 0.1) 48%, rgba(255, 255, 255, 0) 100%);
	border: 1px solid rgba(11, 61, 58, 0.08);
	border-radius: 14px;
	border-inline-start: 0;
	box-shadow: 0 10px 28px rgba(10, 31, 30, 0.04);
	overflow: hidden;
	isolation: isolate;
}

.hgj-article__body h2::before {
	content: "";
	position: absolute;
	inset-block: 0.55rem;
	inset-inline-start: 0.55rem;
	width: 5px;
	border-radius: 999px;
	background: linear-gradient(180deg, #e8a838 0%, #2a9d8f 55%, #0b3d3a 100%);
	box-shadow: 0 0 0 4px rgba(232, 168, 56, 0.12);
}

.hgj-article__body h2::after {
	content: "";
	position: absolute;
	inset-inline-end: 0;
	inset-block-start: -22px;
	width: 88px;
	height: 88px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(232, 168, 56, 0.18) 0%, transparent 68%);
	pointer-events: none;
	z-index: -1;
}

.hgj-article__body h2 + p {
	margin-top: 0.35rem;
}

/* عناوين الوظيفة المفردة — بطاقة بتدريج لوني */
.single-hgj_job .hgj-job-main > .hgj-content h2 {
	position: relative;
	display: block;
	margin: 2.1rem 0 1.05rem;
	padding: 0.95rem 1.15rem;
	padding-inline-start: 1.35rem;
	font-family: var(--hgj-font-display);
	font-size: clamp(1.28rem, 2.4vw, 1.6rem);
	font-weight: 800;
	line-height: 1.4;
	letter-spacing: -0.02em;
	color: #062826;
	background:
		linear-gradient(105deg, rgba(42, 157, 143, 0.14) 0%, rgba(232, 168, 56, 0.12) 45%, rgba(255, 255, 255, 0.35) 100%);
	border: 1px solid rgba(11, 61, 58, 0.08);
	border-radius: 14px;
	border-inline-start: 0;
	box-shadow: 0 10px 28px rgba(10, 31, 30, 0.04);
	overflow: hidden;
	isolation: isolate;
}

.single-hgj_job .hgj-job-main > .hgj-content h2::before {
	content: "";
	position: absolute;
	inset-block: 0.55rem;
	inset-inline-start: 0.55rem;
	width: 5px;
	border-radius: 999px;
	background: linear-gradient(180deg, #e8a838 0%, #2a9d8f 55%, #0b3d3a 100%);
	box-shadow: 0 0 0 4px rgba(232, 168, 56, 0.12);
	z-index: 1;
}

.single-hgj_job .hgj-job-main > .hgj-content h2::after {
	content: "";
	position: absolute;
	inset-inline-end: -12px;
	inset-block-start: -28px;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(232, 168, 56, 0.22) 0%, transparent 70%);
	pointer-events: none;
	z-index: 0;
}

.single-hgj_job .hgj-job-main > .hgj-content h2 + p {
	margin-top: 0.35rem;
}

.single-hgj_job .hgj-job-main > .hgj-content h3 {
	margin: 1.5rem 0 0.65rem;
	font-family: var(--hgj-font-display);
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--hgj-forest);
	padding-inline-start: 0.75rem;
	border-inline-start: 3px solid rgba(232, 168, 56, 0.65);
	line-height: 1.4;
	background: none;
	box-shadow: none;
}

.hgj-article__body h3 {
	font-size: 1.28rem;
	position: relative;
	padding-inline-start: 0.85rem;
	border-inline-start: 3px solid rgba(232, 168, 56, 0.65);
}

.hgj-article__body ul,
.hgj-article__body ol {
	margin: 0 0 1.35rem;
	padding-inline-start: 1.35rem;
}

.hgj-article__body li {
	margin-bottom: 0.45rem;
}

.hgj-article__body li::marker {
	color: var(--hgj-gold-deep);
}

.hgj-article__body blockquote {
	margin: 1.75rem 0;
	padding: 1.25rem 1.5rem;
	background: var(--hgj-sand);
	border-inline-start: 4px solid var(--hgj-mint);
	border-radius: 0 var(--hgj-radius-sm) var(--hgj-radius-sm) 0;
	font-family: var(--hgj-font-display);
	font-weight: 600;
	font-size: 1.12rem;
	color: var(--hgj-forest);
}

.hgj-article__body blockquote p:last-child {
	margin-bottom: 0;
}

.hgj-article__body a {
	text-decoration: underline;
	text-decoration-color: rgba(232, 168, 56, 0.55);
	text-underline-offset: 3px;
}

.hgj-article__body img {
	border-radius: var(--hgj-radius-sm);
	margin: 1.5rem auto;
}

.hgj-article__body figure {
	margin: 1.75rem 0;
}

.hgj-article__body figcaption {
	margin-top: 0.5rem;
	text-align: center;
	font-size: 0.85rem;
	color: var(--hgj-muted);
}

.hgj-article__body pre,
.hgj-article__body code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.9em;
}

.hgj-article__body pre {
	overflow-x: auto;
	padding: 1rem 1.15rem;
	background: #0a1f1e;
	color: #e8f5f2;
	border-radius: var(--hgj-radius-sm);
}

.hgj-article__body :not(pre) > code {
	padding: 0.15rem 0.4rem;
	background: var(--hgj-sand);
	border-radius: 4px;
	color: var(--hgj-teal);
}

.hgj-article__pages {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
	margin-top: 1.5rem;
	font-family: var(--hgj-font-display);
	font-weight: 700;
}

.hgj-article__tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin-top: 1.75rem;
	padding: 1.05rem 1.15rem;
	background: #f7faf8;
	border: 1px solid var(--hgj-line);
	border-radius: 14px;
}

.hgj-article__tags-label {
	font-family: var(--hgj-font-display);
	font-weight: 800;
	color: var(--hgj-forest);
	font-size: 0.9rem;
}

.hgj-article__tags-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.hgj-article__tags-list a {
	padding: 0.3rem 0.75rem;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--hgj-teal);
	background: #fff;
	border-radius: 999px;
	transition: background 0.2s, transform 0.2s;
}

.hgj-article__tags-list a:hover {
	background: var(--hgj-forest);
	color: var(--hgj-sand);
	transform: translateY(-1px);
}

.hgj-article__nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-top: 1.75rem;
}

.hgj-article__nav-link {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 1.1rem 1.15rem;
	background: #f7faf8;
	border: 1px solid var(--hgj-line);
	border-radius: 14px;
	color: inherit;
	transition: transform 0.25s var(--hgj-ease), box-shadow 0.25s;
	min-height: 92px;
}

.hgj-article__nav-link:hover {
	transform: translateY(-3px);
	box-shadow: var(--hgj-shadow);
	border-color: rgba(20, 99, 94, 0.28);
	color: inherit;
}

.hgj-article__nav-link.is-empty {
	visibility: hidden;
	pointer-events: none;
}

.hgj-article__nav-link--next {
	text-align: end;
	align-items: flex-end;
}

.hgj-article__nav-label {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--hgj-gold-deep);
	font-family: var(--hgj-font-display);
}

.hgj-article__nav-title {
	font-family: var(--hgj-font-display);
	font-weight: 800;
	font-size: 1rem;
	line-height: 1.4;
	color: var(--hgj-forest);
}

/* Sidebar */
.hgj-post-sidebar {
	min-width: 0;
}

.hgj-post-sidebar__sticky {
	position: sticky;
	top: 92px;
	display: grid;
	gap: 1rem;
}

.hgj-sidebar-card {
	background: #fff;
	border: 1px solid var(--hgj-line);
	border-radius: 18px;
	padding: 1.15rem 1.1rem;
	box-shadow: 0 10px 28px rgba(10, 31, 30, 0.05);
}

.hgj-sidebar-card__head {
	margin-bottom: 0.95rem;
}

.hgj-sidebar-card__eyebrow {
	display: inline-block;
	margin-bottom: 0.3rem;
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--hgj-gold-deep);
	letter-spacing: 0.04em;
}

.hgj-sidebar-card__title {
	margin: 0;
	font-family: var(--hgj-font-display);
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--hgj-forest);
}

.hgj-sidebar-card__text {
	margin: 0 0 0.9rem;
	color: rgba(243, 239, 230, 0.88);
	line-height: 1.65;
	font-size: 0.95rem;
}

.hgj-sidebar-card--cta {
	background:
		radial-gradient(280px 140px at 100% 0%, rgba(232, 168, 56, 0.22), transparent 55%),
		linear-gradient(155deg, #062826, #0b3d3a 55%, #125851);
	border: 0;
	color: #f3efe6;
}

.hgj-sidebar-card--cta .hgj-sidebar-card__title {
	color: #fff;
	margin-bottom: 0.55rem;
}

.hgj-sidebar-card--cta .hgj-btn {
	width: 100%;
	margin-bottom: 0.65rem;
}

.hgj-sidebar-card__link {
	display: inline-block;
	color: rgba(243, 239, 230, 0.9);
	font-weight: 700;
	font-size: 0.9rem;
}

.hgj-sidebar-card__link:hover {
	color: var(--hgj-gold);
}

.hgj-latest-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}

.hgj-latest-list__link {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	gap: 0.75rem;
	align-items: center;
	color: inherit;
	text-decoration: none;
	padding: 0.35rem;
	border-radius: 12px;
	transition: background 0.2s ease;
}

.hgj-latest-list__link:hover {
	background: #f4f8f6;
	color: inherit;
}

.hgj-latest-list__thumb {
	display: block;
	width: 64px;
	height: 64px;
	border-radius: 12px;
	overflow: hidden;
	background: linear-gradient(135deg, #0b3d3a, #2a9d8f);
	flex-shrink: 0;
}

.hgj-latest-list__thumb img,
.hgj-latest-list__placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hgj-latest-list__placeholder {
	background: linear-gradient(135deg, rgba(232, 168, 56, 0.35), rgba(42, 157, 143, 0.45));
}

.hgj-latest-list__meta {
	display: grid;
	gap: 0.25rem;
	min-width: 0;
}

.hgj-latest-list__title {
	font-family: var(--hgj-font-display);
	font-weight: 800;
	font-size: 0.92rem;
	line-height: 1.4;
	color: var(--hgj-forest);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hgj-latest-list__date {
	font-size: 0.78rem;
	color: var(--hgj-muted);
}

.hgj-sidebar-more {
	display: inline-block;
	margin-top: 0.85rem;
	font-family: var(--hgj-font-display);
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--hgj-teal);
}

.hgj-sidebar-more:hover {
	color: var(--hgj-gold-deep);
}

.hgj-side-cats {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.4rem;
}

.hgj-side-cats a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.55rem 0.65rem;
	border-radius: 10px;
	color: var(--hgj-forest);
	font-weight: 600;
	font-size: 0.9rem;
	background: #f7faf8;
	transition: background 0.2s, transform 0.2s;
}

.hgj-side-cats a:hover {
	background: #eaf3f0;
	color: var(--hgj-forest);
	transform: translateX(-2px);
}

.hgj-side-cats__name {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hgj-side-cats__count {
	flex-shrink: 0;
	min-width: 1.8rem;
	padding: 0.12rem 0.45rem;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--hgj-line);
	font-size: 0.75rem;
	font-weight: 800;
	color: var(--hgj-gold-deep);
	text-align: center;
}

.hgj-side-jobs {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.55rem;
}

.hgj-side-jobs a {
	display: grid;
	gap: 0.2rem;
	padding: 0.7rem 0.75rem;
	border-radius: 12px;
	border: 1px solid var(--hgj-line);
	background: #fafcfb;
	color: inherit;
	transition: box-shadow 0.2s, transform 0.2s;
}

.hgj-side-jobs a:hover {
	border-color: rgba(20, 99, 94, 0.28);
	box-shadow: 0 8px 20px rgba(10, 31, 30, 0.06);
	transform: translateY(-1px);
	color: inherit;
}

.hgj-side-jobs__title {
	font-family: var(--hgj-font-display);
	font-weight: 800;
	font-size: 0.9rem;
	line-height: 1.4;
	color: var(--hgj-forest);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hgj-side-jobs__company {
	font-size: 0.78rem;
	color: var(--hgj-muted);
}

.hgj-side-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.hgj-side-chip {
	display: inline-flex;
	padding: 0.4rem 0.75rem;
	border-radius: 999px;
	background: linear-gradient(135deg, rgba(42, 157, 143, 0.12), rgba(232, 168, 56, 0.14));
	border: 1px solid rgba(20, 99, 94, 0.12);
	color: var(--hgj-forest);
	font-family: var(--hgj-font-display);
	font-weight: 700;
	font-size: 0.82rem;
}

.hgj-side-chip:hover {
	background: var(--hgj-gold);
	color: var(--hgj-ink);
	border-color: transparent;
}

.hgj-sidebar-latest .hgj-latest-list {
	max-height: none;
}

.hgj-post-sidebar__widgets .widget {
	background: #fff;
	border: 1px solid var(--hgj-line);
	border-radius: 18px;
	padding: 1.1rem;
	margin-bottom: 1rem;
	box-shadow: 0 10px 28px rgba(10, 31, 30, 0.05);
}

.hgj-post-sidebar__widgets .widget-title {
	margin: 0 0 0.85rem;
	font-family: var(--hgj-font-display);
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--hgj-forest);
}

.hgj-article__related {
	margin-top: 2.25rem;
	padding-top: 0.25rem;
}

.hgj-article__related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.hgj-related-card {
	display: flex;
	flex-direction: column;
	background: var(--hgj-white);
	border: 1px solid var(--hgj-line);
	border-radius: var(--hgj-radius);
	overflow: hidden;
	color: inherit;
	transition: transform 0.3s var(--hgj-ease), box-shadow 0.3s;
}

.hgj-related-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--hgj-shadow);
	color: inherit;
}

.hgj-related-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: linear-gradient(135deg, var(--hgj-forest), var(--hgj-mint));
}

.hgj-related-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--hgj-ease);
}

.hgj-related-card:hover .hgj-related-card__media img {
	transform: scale(1.06);
}

.hgj-related-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	padding: 1rem;
}

.hgj-related-card__title {
	font-family: var(--hgj-font-display);
	font-weight: 800;
	font-size: 0.98rem;
	line-height: 1.4;
	color: var(--hgj-forest);
}

.hgj-related-card__date {
	font-size: 0.8rem;
	color: var(--hgj-muted);
}

@media (max-width: 980px) {
	.hgj-post-layout {
		grid-template-columns: 1fr;
	}

	.hgj-post-sidebar__sticky {
		position: static;
		grid-template-columns: 1fr;
	}
}

@media (max-width: 800px) {
	.hgj-article {
		padding: 1.2rem 1rem 1.4rem;
		border-radius: 16px;
	}

	.hgj-article__body h2 {
		padding: 0.85rem 0.95rem;
		padding-inline-start: 1.15rem;
		font-size: 1.28rem;
		border-radius: 12px;
	}

	.hgj-article__related-grid {
		grid-template-columns: 1fr;
	}

	.hgj-article__nav {
		grid-template-columns: 1fr;
	}

	.hgj-article__nav-link--next {
		text-align: start;
		align-items: flex-start;
	}

	.hgj-article__body.hgj-content {
		padding: 0;
	}
}

@media (min-width: 701px) and (max-width: 980px) {
	.hgj-post-sidebar__sticky {
		grid-template-columns: 1fr 1fr;
		align-items: start;
	}

	.hgj-sidebar-card--cta {
		grid-column: 1 / -1;
	}
}

@media (max-width: 520px) {
	.hgj-article__featured-img {
		aspect-ratio: 4 / 3;
	}

	.hgj-article__meta {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}

	.hgj-article__sep {
		display: none;
	}
}

/* ——— Homepage blog cards ——— */
.hgj-blog-section {
	margin-top: 3.5rem;
	padding-top: 0.5rem;
}

.hgj-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.35rem;
}

.hgj-post-card {
	display: flex;
	flex-direction: column;
	background: var(--hgj-white);
	border: 1px solid var(--hgj-line);
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 10px 28px rgba(10, 31, 30, 0.05);
	transition: transform 0.3s var(--hgj-ease), box-shadow 0.3s;
}

.hgj-post-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 22px 44px rgba(10, 31, 30, 0.12);
	border-color: rgba(20, 99, 94, 0.22);
}

.hgj-post-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: linear-gradient(135deg, #0b3d3a, #2a9d8f 55%, #e8a838);
}

.hgj-post-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.55s var(--hgj-ease);
}

.hgj-post-card:hover .hgj-post-card__img {
	transform: scale(1.07);
}

.hgj-post-card__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 45%, rgba(6, 40, 38, 0.45));
	pointer-events: none;
}

.hgj-post-card__placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	min-height: 180px;
	color: rgba(255, 255, 255, 0.85);
	font-size: 2rem;
}

.hgj-post-card__placeholder-icon {
	width: 56px;
	height: 56px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.25);
}

.hgj-post-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	padding: 1.15rem 1.2rem 1.25rem;
	flex: 1;
}

.hgj-post-card__cat {
	align-self: flex-start;
	padding: 0.22rem 0.7rem;
	font-family: var(--hgj-font-display);
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--hgj-forest);
	background: linear-gradient(135deg, rgba(42, 157, 143, 0.14), rgba(232, 168, 56, 0.16));
	border-radius: 999px;
}

.hgj-post-card__title {
	margin: 0;
	font-family: var(--hgj-font-display);
	font-size: 1.12rem;
	font-weight: 800;
	line-height: 1.4;
}

.hgj-post-card__title a {
	color: var(--hgj-forest);
}

.hgj-post-card__title a:hover {
	color: var(--hgj-gold-deep);
}

.hgj-post-card__excerpt {
	margin: 0;
	color: var(--hgj-muted);
	font-size: 0.94rem;
	line-height: 1.7;
	flex: 1;
}

.hgj-post-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: 0.35rem;
	padding-top: 0.85rem;
	border-top: 1px solid var(--hgj-line);
}

.hgj-post-card__more {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-family: var(--hgj-font-display);
	font-weight: 700;
	font-size: 0.88rem;
	color: var(--hgj-teal);
}

.hgj-post-card__more:hover {
	color: var(--hgj-gold-deep);
}

.hgj-post-card__more span {
	transition: transform 0.25s var(--hgj-ease);
}

.hgj-post-card:hover .hgj-post-card__more span {
	transform: translateX(-3px);
}

@media (max-width: 960px) {
	.hgj-blog-grid {
		grid-template-columns: 1fr;
		max-width: 520px;
	}
}

@media (min-width: 700px) and (max-width: 960px) {
	.hgj-blog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-width: none;
	}
}

/* ——— Jobs archive page ——— */
.hgj-jobs-archive__hero {
	margin: 0 0 2rem;
	padding: 1.75rem 1.5rem;
	border-radius: 20px;
	background:
		radial-gradient(600px 220px at 100% 0%, rgba(232, 168, 56, 0.16), transparent 60%),
		radial-gradient(500px 200px at 0% 100%, rgba(42, 157, 143, 0.14), transparent 55%),
		linear-gradient(145deg, #0b3d3a 0%, #14635e 55%, #0e4f4a 100%);
	color: #f3efe6;
	box-shadow: 0 18px 40px rgba(10, 31, 30, 0.14);
}

.hgj-jobs-archive__eyebrow {
	display: inline-block;
	margin: 0 0 0.65rem;
	padding: 0.28rem 0.75rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--hgj-gold);
	border: 1px solid rgba(232, 168, 56, 0.35);
	border-radius: 999px;
	background: rgba(232, 168, 56, 0.1);
}

.hgj-jobs-archive__title {
	margin: 0 0 0.65rem;
	font-family: var(--hgj-font-display);
	font-size: clamp(1.8rem, 4vw, 2.5rem);
	font-weight: 800;
	line-height: 1.2;
	color: #fff;
}

.hgj-jobs-archive__lead {
	margin: 0;
	max-width: 48ch;
	color: rgba(243, 239, 230, 0.85);
	line-height: 1.7;
}

.hgj-jobs-archive__count {
	margin: 1rem 0 0;
	font-family: var(--hgj-font-display);
	font-weight: 600;
	color: rgba(243, 239, 230, 0.9);
}

.hgj-jobs-archive__count strong {
	color: var(--hgj-gold);
	font-size: 1.15em;
}

.hgj-jobs-grid--archive {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
	gap: 1.35rem;
}

/* Job card with image */
.hgj-job-card {
	padding: 0;
	overflow: hidden;
}

.hgj-job-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: linear-gradient(135deg, #0b3d3a, #2a9d8f 60%, #c4841f);
}

.hgj-job-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.55s var(--hgj-ease);
}

.hgj-job-card:hover .hgj-job-card__img {
	transform: scale(1.06);
}

.hgj-job-card__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 50%, rgba(6, 40, 38, 0.4));
	pointer-events: none;
}

.hgj-job-card__placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	width: 100%;
	height: 100%;
	min-height: 170px;
	color: rgba(255, 255, 255, 0.9);
	padding: 1rem;
	text-align: center;
}

.hgj-job-card__placeholder-mark {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.22);
	color: #f3efe6;
}

.hgj-job-card__placeholder-text {
	font-family: var(--hgj-font-display);
	font-weight: 700;
	font-size: 0.95rem;
	opacity: 0.92;
}

.hgj-job-card__badge {
	position: absolute;
	top: 0.85rem;
	inset-inline-start: 0.85rem;
	z-index: 2;
	margin: 0;
}

.hgj-job-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	padding: 1.15rem 1.2rem 1.2rem;
	flex: 1;
}

.hgj-job-card__cats {
	font-size: 0.78rem;
	font-weight: 700;
	font-family: var(--hgj-font-display);
}

.hgj-job-card__cats a {
	display: inline-flex;
	padding: 0.18rem 0.6rem;
	border-radius: 999px;
	background: rgba(42, 157, 143, 0.12);
	color: var(--hgj-forest);
	margin-inline-end: 0.25rem;
}

.hgj-job-card__title {
	margin: 0;
}

.hgj-job-card__company {
	margin: 0;
}

.hgj-job-card__meta {
	margin: 0.15rem 0 0;
}

.hgj-job-card__footer {
	margin-top: auto;
}

.hgj-job-card__more {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	font-family: var(--hgj-font-display);
	font-weight: 700;
	font-size: 0.88rem;
	color: var(--hgj-teal);
}

.hgj-job-card__more:hover {
	color: var(--hgj-gold-deep);
}

.hgj-job-card:hover .hgj-job-card__more span {
	transform: translateX(-3px);
	display: inline-block;
	transition: transform 0.25s var(--hgj-ease);
}

@media (max-width: 700px) {
	.hgj-jobs-archive__hero {
		padding: 1.35rem 1.15rem;
		border-radius: 16px;
	}
}

.hgj-job-card__role {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	align-items: center;
	max-height: 4.2rem;
	overflow: hidden;
}

.hgj-job-card__role a {
	display: inline-flex;
	padding: 0.22rem 0.7rem;
	border-radius: 999px;
	font-family: var(--hgj-font-display);
	font-size: 0.78rem;
	font-weight: 700;
	color: #0b3d3a;
	background: linear-gradient(135deg, rgba(42, 157, 143, 0.16), rgba(232, 168, 56, 0.18));
}

.hgj-job-card__role a:hover {
	background: var(--hgj-gold);
	color: var(--hgj-ink);
}

.hgj-terms-more {
	display: inline-flex;
	align-items: center;
	padding: 0.22rem 0.55rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 800;
	color: #0b3d3a;
	background: rgba(11, 61, 58, 0.08);
}

/* ——— Submit job form ——— */
.hgj-submit {
	max-width: 980px;
	margin: 0 auto;
}

.hgj-submit__hero {
	margin-bottom: 1.75rem;
	padding: 1.6rem 1.4rem;
	border-radius: 18px;
	background:
		radial-gradient(500px 180px at 100% 0%, rgba(232, 168, 56, 0.18), transparent 60%),
		linear-gradient(145deg, #0b3d3a, #14635e);
	color: #f3efe6;
}

.hgj-submit__eyebrow {
	display: inline-block;
	margin: 0 0 0.55rem;
	padding: 0.25rem 0.7rem;
	border-radius: 999px;
	border: 1px solid rgba(232, 168, 56, 0.35);
	color: var(--hgj-gold);
	font-size: 0.78rem;
	font-weight: 700;
}

.hgj-submit__title {
	margin: 0 0 0.55rem;
	font-family: var(--hgj-font-display);
	font-size: clamp(1.7rem, 4vw, 2.3rem);
	font-weight: 800;
	color: #fff;
}

.hgj-submit__lead {
	margin: 0;
	max-width: 46ch;
	line-height: 1.7;
	color: rgba(243, 239, 230, 0.88);
}

.hgj-submit__grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 1.25rem;
	align-items: start;
}

.hgj-submit__card {
	margin: 0;
	padding: 1.25rem 1.2rem 1.4rem;
	border: 1px solid var(--hgj-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 12px 30px rgba(10, 31, 30, 0.05);
	min-width: 0;
}

.hgj-submit__card legend {
	padding: 0 0.35rem;
	font-family: var(--hgj-font-display);
	font-weight: 800;
	font-size: 1.05rem;
	color: var(--hgj-forest);
}

.hgj-field {
	margin: 0 0 0.95rem;
}

.hgj-field label {
	display: block;
	margin-bottom: 0.4rem;
	font-weight: 700;
	font-family: var(--hgj-font-display);
	font-size: 0.9rem;
	color: var(--hgj-forest);
}

.hgj-field input,
.hgj-field select,
.hgj-field textarea {
	width: 100%;
	padding: 0.75rem 0.9rem;
	border: 1px solid rgba(11, 61, 58, 0.16);
	border-radius: 10px;
	background: #fbfcfa;
	font-family: var(--hgj-font-body);
	font-size: 0.98rem;
	color: var(--hgj-ink);
	transition: box-shadow 0.2s;
}

.hgj-field input:focus,
.hgj-field select:focus,
.hgj-field textarea:focus {
	outline: none;
	border-color: var(--hgj-mint);
	box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.18);
	background: #fff;
}

.hgj-field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.85rem;
}

.hgj-submit__note {
	margin: 0.5rem 0 1rem;
	padding: 0.85rem 1rem;
	border-radius: 10px;
	background: rgba(232, 168, 56, 0.12);
	border: 1px solid rgba(232, 168, 56, 0.28);
	color: #6b4e12;
	font-size: 0.9rem;
	line-height: 1.6;
}

.hgj-submit__note p {
	margin: 0;
}

.hgj-submit__btn {
	width: 100%;
}

.hgj-submit__alert {
	padding: 1.1rem 1.2rem;
	border-radius: 14px;
	margin-bottom: 1.25rem;
	font-weight: 600;
}

.hgj-submit__alert--ok {
	background: rgba(42, 157, 143, 0.12);
	border: 1px solid rgba(42, 157, 143, 0.3);
	color: #0b3d3a;
}

.hgj-submit__alert--ok p {
	margin: 0.4rem 0 0;
	font-weight: 500;
}

.hgj-submit__alert--err {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}

.hgj-hp {
	position: absolute !important;
	left: -9999px !important;
	opacity: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
}

@media (max-width: 860px) {
	.hgj-submit__grid,
	.hgj-field-row {
		grid-template-columns: 1fr;
	}
}

/* ——— Auth / Register (redesign) ——— */
body.hgj-auth-page .hgj-main {
	max-width: none;
	padding: 1.25rem 1rem 2.5rem;
}

.hgj-auth-shell {
	width: min(1100px, 100%);
	margin: 0 auto;
}

.hgj-auth-shell__inner {
	display: grid;
	grid-template-columns: 0.95fr 1.05fr;
	gap: 0;
	overflow: hidden;
	border-radius: 24px;
	border: 1px solid rgba(11, 61, 58, 0.1);
	box-shadow: 0 24px 60px rgba(10, 31, 30, 0.12);
	background: #fff;
	min-height: 640px;
}

.hgj-auth-brand {
	padding: 2.4rem 2rem;
	background:
		radial-gradient(500px 280px at 0% 0%, rgba(232, 168, 56, 0.28), transparent 60%),
		radial-gradient(420px 260px at 100% 100%, rgba(42, 157, 143, 0.25), transparent 55%),
		linear-gradient(160deg, #062826 0%, #0b3d3a 48%, #14635e 100%);
	color: #f3efe6;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.hgj-auth-brand__eyebrow {
	display: inline-flex;
	align-self: flex-start;
	margin: 0 0 1rem;
	padding: 0.35rem 0.85rem;
	border-radius: 999px;
	border: 1px solid rgba(232, 168, 56, 0.4);
	color: #f0c05a;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.hgj-auth-brand__title {
	margin: 0 0 0.85rem;
	font-family: var(--hgj-font-display);
	font-size: clamp(1.8rem, 3.4vw, 2.55rem);
	line-height: 1.25;
	font-weight: 800;
	color: #fff;
	letter-spacing: -0.02em;
}

.hgj-auth-brand__text {
	margin: 0 0 1.5rem;
	max-width: 30ch;
	line-height: 1.8;
	color: rgba(243, 239, 230, 0.88);
	font-size: 1.05rem;
}

.hgj-auth-brand__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.7rem;
}

.hgj-auth-brand__list li {
	position: relative;
	padding: 0.75rem 0.9rem 0.75rem 0.9rem;
	padding-inline-start: 2.2rem;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	font-weight: 600;
}

.hgj-auth-brand__list li::before {
	content: "";
	position: absolute;
	inset-inline-start: 0.85rem;
	top: 50%;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	transform: translateY(-50%);
	background: var(--hgj-gold);
	box-shadow: 0 0 0 4px rgba(232, 168, 56, 0.2);
}

.hgj-auth-box {
	padding: 1.75rem 1.6rem 1.9rem;
	background: #fff;
}

.hgj-auth-box__tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.35rem;
	margin-bottom: 1.25rem;
	padding: 0.3rem;
	border-radius: 14px;
	background: #eef3f1;
}

.hgj-auth-box__tab {
	text-align: center;
	padding: 0.8rem 0.5rem;
	border-radius: 11px;
	font-family: var(--hgj-font-display);
	font-weight: 800;
	font-size: 0.95rem;
	color: #5c6f6d;
	transition: 0.2s ease;
}

.hgj-auth-box__tab.is-active {
	background: #fff;
	color: var(--hgj-forest);
	box-shadow: 0 8px 20px rgba(10, 31, 30, 0.08);
}

.hgj-auth-alert {
	margin-bottom: 1rem;
	padding: 0.85rem 1rem;
	border-radius: 12px;
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
	font-weight: 700;
}

.hgj-auth-step {
	margin: 0 0 0.7rem;
	font-family: var(--hgj-font-display);
	font-weight: 800;
	font-size: 0.92rem;
	color: var(--hgj-forest);
}

.hgj-auth-roles {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
	margin-bottom: 1.25rem;
}

.hgj-auth-role {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 1rem 0.9rem;
	border-radius: 16px;
	border: 2px solid rgba(11, 61, 58, 0.12);
	background: #fbfcfa;
	cursor: pointer;
	transition: 0.2s ease;
}

.hgj-auth-role input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.hgj-auth-role.is-on,
.hgj-auth-role:has(input:checked) {
	border-color: var(--hgj-mint);
	background: linear-gradient(165deg, rgba(42, 157, 143, 0.12), rgba(232, 168, 56, 0.1));
	box-shadow: 0 12px 28px rgba(20, 99, 94, 0.12);
}

.hgj-auth-role__badge {
	align-self: flex-start;
	margin-bottom: 0.25rem;
	padding: 0.18rem 0.55rem;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 800;
	font-family: var(--hgj-font-display);
	color: #fff;
	background: var(--hgj-teal);
}

.hgj-auth-role__badge--gold {
	background: var(--hgj-gold-deep);
	color: #fff;
}

.hgj-auth-role__name {
	font-family: var(--hgj-font-display);
	font-weight: 800;
	font-size: 1.05rem;
	color: var(--hgj-forest);
}

.hgj-auth-role__desc {
	font-size: 0.84rem;
	line-height: 1.5;
	color: var(--hgj-muted);
}

.hgj-auth-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.85rem;
	margin-bottom: 1.1rem;
}

.hgj-auth-field {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	margin: 0;
}

.hgj-auth-field--full {
	grid-column: 1 / -1;
}

.hgj-auth-field span {
	font-family: var(--hgj-font-display);
	font-weight: 700;
	font-size: 0.88rem;
	color: var(--hgj-forest);
}

.hgj-auth-field input {
	width: 100%;
	padding: 0.85rem 0.95rem;
	border: 1px solid rgba(11, 61, 58, 0.16);
	border-radius: 12px;
	background: #f7faf8;
	font-family: var(--hgj-font-body);
	font-size: 1rem;
	color: var(--hgj-ink);
	transition: box-shadow 0.2s, background 0.2s;
}

.hgj-auth-field input:focus {
	outline: none;
	border-color: var(--hgj-mint);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(42, 157, 143, 0.16);
}

.hgj-auth-remember {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1rem;
	font-weight: 600;
	color: var(--hgj-forest);
}

.hgj-auth-note {
	margin: 0 0 1rem;
	font-size: 0.86rem;
	line-height: 1.65;
	color: var(--hgj-muted);
}

.hgj-auth-submit {
	width: 100%;
	border: 0;
	cursor: pointer;
	padding: 0.95rem 1rem;
	border-radius: 999px;
	font-family: var(--hgj-font-display);
	font-weight: 800;
	font-size: 1.05rem;
	color: #0a1f1e;
	background: linear-gradient(135deg, #e8a838, #f0c05a);
	box-shadow: 0 12px 28px rgba(232, 168, 56, 0.35);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hgj-auth-submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 32px rgba(232, 168, 56, 0.42);
}

.hgj-auth-logged {
	padding: 1.25rem;
	border-radius: 16px;
	background: rgba(42, 157, 143, 0.1);
	border: 1px solid rgba(42, 157, 143, 0.25);
}

.hgj-auth-logged p {
	margin: 0 0 1rem;
	color: var(--hgj-forest);
	font-weight: 600;
}

.hgj-auth-logged__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
}

@media (max-width: 900px) {
	.hgj-auth-shell__inner {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.hgj-auth-brand {
		padding: 1.6rem 1.25rem;
	}

	.hgj-auth-brand__text {
		max-width: none;
	}

	.hgj-auth-box {
		padding: 1.25rem 1rem 1.5rem;
	}
}

@media (max-width: 560px) {
	.hgj-auth-roles,
	.hgj-auth-grid {
		grid-template-columns: 1fr;
	}
}

/* ——— About page ——— */
.hgj-about {
	display: grid;
	gap: 1.75rem;
}

.hgj-about__hero {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	align-items: stretch;
	padding: 2.1rem 1.6rem;
	border-radius: 24px;
	background:
		radial-gradient(720px 280px at 100% 0%, rgba(232, 168, 56, 0.22), transparent 55%),
		radial-gradient(560px 240px at 0% 100%, rgba(42, 157, 143, 0.28), transparent 50%),
		linear-gradient(145deg, #052422, #0b3d3a 48%, #125851);
	color: #f3efe6;
	overflow: hidden;
	position: relative;
}

.hgj-about__hero::after {
	content: "";
	position: absolute;
	inset: auto 0 -40% auto;
	width: 280px;
	height: 280px;
	border-radius: 50%;
	background: rgba(232, 168, 56, 0.08);
	pointer-events: none;
}

.hgj-about__eyebrow,
.hgj-contact__eyebrow {
	display: inline-block;
	margin: 0 0 0.75rem;
	color: var(--hgj-gold);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.hgj-about__brand {
	margin: 0 0 0.85rem;
	font-family: var(--hgj-font-display);
	font-size: clamp(2.2rem, 5.5vw, 3.4rem);
	font-weight: 800;
	color: #fff;
	line-height: 1.15;
}

.hgj-about__lead {
	margin: 0;
	max-width: 52ch;
	font-size: 1.08rem;
	line-height: 1.85;
	color: rgba(243, 239, 230, 0.9);
}

.hgj-about__visual {
	margin: 0;
	border-radius: 22px;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--hgj-line);
	box-shadow: 0 18px 48px rgba(10, 31, 30, 0.1);
}

.hgj-about__visual img,
.hgj-about__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1024 / 424;
	object-fit: cover;
	content-visibility: auto;
}

.hgj-about__visual-cap {
	margin: 0;
	padding: 1rem 1.2rem 1.15rem;
	font-size: 0.98rem;
	line-height: 1.75;
	color: var(--hgj-muted);
	background: linear-gradient(180deg, #f7faf8, #fff);
}

.hgj-about__visual-cap strong {
	color: var(--hgj-forest);
	font-family: var(--hgj-font-display);
}

.hgj-about__highlights {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.85rem;
}

.hgj-about__hl {
	padding: 1.1rem 1rem;
	border-radius: 16px;
	background: #fff;
	border: 1px solid var(--hgj-line);
	box-shadow: 0 8px 22px rgba(10, 31, 30, 0.04);
}

.hgj-about__hl strong {
	display: block;
	margin-bottom: 0.35rem;
	font-family: var(--hgj-font-display);
	font-size: 0.98rem;
	color: var(--hgj-forest);
	line-height: 1.45;
}

.hgj-about__hl span {
	color: var(--hgj-muted);
	font-size: 0.9rem;
	line-height: 1.65;
}

.hgj-about__block {
	padding: 0.25rem 0;
}

.hgj-about__h {
	margin: 0 0 0.85rem;
	font-family: var(--hgj-font-display);
	font-size: clamp(1.45rem, 3vw, 1.9rem);
	font-weight: 800;
	color: var(--hgj-forest);
}

.hgj-about__sub {
	margin: 0 0 1.15rem;
	color: var(--hgj-muted);
	line-height: 1.8;
	max-width: 60ch;
}

.hgj-about__prose {
	display: grid;
	gap: 0.85rem;
	font-size: 1.05rem;
	line-height: 1.9;
	color: var(--hgj-ink, #1a2e2c);
}

.hgj-about__prose a {
	color: var(--hgj-teal, #14635e);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.hgj-about__specs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.hgj-about__spec {
	padding: 1.25rem 1.15rem 1.15rem;
	border-radius: 18px;
	background:
		linear-gradient(#fff, #fff) padding-box,
		linear-gradient(145deg, rgba(20, 99, 94, 0.35), rgba(232, 168, 56, 0.25)) border-box;
	border: 1px solid transparent;
	box-shadow: 0 10px 28px rgba(10, 31, 30, 0.04);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hgj-about__spec:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 36px rgba(10, 31, 30, 0.08);
}

.hgj-about__spec h3 {
	margin: 0 0 0.85rem;
	padding-bottom: 0.65rem;
	border-bottom: 1px solid rgba(11, 61, 58, 0.1);
	font-family: var(--hgj-font-display);
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--hgj-forest);
}

.hgj-about__spec ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.45rem;
}

.hgj-about__spec li {
	position: relative;
	padding-inline-start: 1.1rem;
	color: var(--hgj-muted);
	line-height: 1.65;
	font-size: 0.96rem;
}

.hgj-about__spec li::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 0.55em;
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 50%;
	background: var(--hgj-gold-deep, #c4841a);
}

.hgj-about__goal {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 1.35rem;
	align-items: stretch;
	padding: 1.6rem;
	border-radius: 22px;
	background:
		radial-gradient(500px 200px at 0% 0%, rgba(232, 168, 56, 0.12), transparent 55%),
		linear-gradient(160deg, #f4f8f6, #fff);
	border: 1px solid var(--hgj-line);
}

.hgj-about__goal-copy h2 {
	margin: 0 0 0.75rem;
	font-family: var(--hgj-font-display);
	font-size: 1.65rem;
	font-weight: 800;
	color: var(--hgj-forest);
}

.hgj-about__goal-copy p {
	margin: 0 0 0.75rem;
	color: var(--hgj-muted);
	line-height: 1.85;
}

.hgj-about__goal-copy p:last-child {
	margin-bottom: 0;
}

.hgj-about__pillars {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}

.hgj-about__pillars li {
	padding: 1rem 1.05rem;
	border-radius: 14px;
	background: #fff;
	border: 1px solid rgba(11, 61, 58, 0.08);
}

.hgj-about__pillars strong {
	display: block;
	margin-bottom: 0.2rem;
	font-family: var(--hgj-font-display);
	color: var(--hgj-forest);
}

.hgj-about__pillars span {
	color: var(--hgj-muted);
	font-size: 0.92rem;
	line-height: 1.6;
}

.hgj-about__social-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem;
}

.hgj-about__social-link {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem;
	padding: 1.1rem 1.2rem;
	border-radius: 16px;
	background: #0b3d3a;
	color: #f3efe6;
	text-decoration: none;
	transition: transform 0.2s ease, background 0.2s ease;
}

.hgj-about__social-link:hover {
	transform: translateY(-2px);
	background: #125851;
	color: #fff;
}

.hgj-about__social-label {
	font-family: var(--hgj-font-display);
	font-weight: 800;
}

.hgj-about__social-cta {
	font-size: 0.88rem;
	opacity: 0.85;
}

.hgj-about__cta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1.25rem;
	flex-wrap: wrap;
	padding: 1.55rem 1.4rem;
	border-radius: 20px;
	background: linear-gradient(145deg, #0b3d3a, #14635e);
	color: #f3efe6;
}

.hgj-about__cta h2 {
	margin: 0 0 0.35rem;
	font-family: var(--hgj-font-display);
	font-size: 1.45rem;
	color: #fff;
}

.hgj-about__cta p {
	margin: 0;
	opacity: 0.88;
}

.hgj-about__cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

/* ——— Contact page ——— */
.hgj-contact__hero {
	margin-bottom: 1.75rem;
	padding: 2rem 1.5rem;
	border-radius: 22px;
	background:
		radial-gradient(560px 220px at 0% 0%, rgba(232, 168, 56, 0.18), transparent 55%),
		radial-gradient(480px 200px at 100% 100%, rgba(42, 157, 143, 0.22), transparent 50%),
		linear-gradient(145deg, #062826, #0b3d3a 50%, #125851);
	color: #f3efe6;
}

.hgj-contact__title {
	margin: 0 0 0.65rem;
	font-family: var(--hgj-font-display);
	font-size: clamp(2rem, 4.5vw, 2.8rem);
	font-weight: 800;
	color: #fff;
}

.hgj-contact__lead {
	margin: 0;
	max-width: 46ch;
	line-height: 1.8;
	color: rgba(243, 239, 230, 0.9);
}

.hgj-contact__layout {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 1.25rem;
	align-items: start;
}

.hgj-contact__info-card,
.hgj-contact__tips,
.hgj-contact__social {
	padding: 1.25rem 1.15rem;
	border-radius: 16px;
	background: #fff;
	border: 1px solid var(--hgj-line);
	box-shadow: 0 10px 28px rgba(10, 31, 30, 0.05);
}

.hgj-contact__info-card,
.hgj-contact__social {
	margin-bottom: 1rem;
}

.hgj-contact__info-card h2,
.hgj-contact__tips h3,
.hgj-contact__social h3,
.hgj-contact__form-title {
	margin: 0 0 1rem;
	font-family: var(--hgj-font-display);
	font-weight: 800;
	color: var(--hgj-forest);
}

.hgj-contact__info-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.9rem;
}

.hgj-contact__info-list li span {
	display: block;
	margin-bottom: 0.2rem;
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--hgj-muted);
}

.hgj-contact__info-list a,
.hgj-contact__info-list strong {
	font-family: var(--hgj-font-display);
	font-weight: 700;
	color: var(--hgj-forest);
}

.hgj-contact__social {
	display: grid;
	gap: 0.55rem;
}

.hgj-contact__social a {
	display: block;
	padding: 0.7rem 0.85rem;
	border-radius: 12px;
	background: #f4f8f6;
	color: var(--hgj-forest);
	font-weight: 700;
	text-decoration: none;
	transition: background 0.2s ease;
}

.hgj-contact__social a:hover {
	background: #e7f1ee;
}

.hgj-contact__tips ul {
	margin: 0;
	padding-inline-start: 1.1rem;
	color: var(--hgj-muted);
	line-height: 1.8;
}

.hgj-contact__tips a {
	color: var(--hgj-teal, #14635e);
	font-weight: 700;
}

.hgj-contact__form {
	padding-top: 1.35rem;
}

@media (max-width: 900px) {
	.hgj-about__specs,
	.hgj-about__goal,
	.hgj-about__social-row,
	.hgj-about__highlights,
	.hgj-contact__layout {
		grid-template-columns: 1fr;
	}
}

@media (min-width: 601px) and (max-width: 900px) {
	.hgj-about__highlights {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ——— Homepage job search ——— */
.hgj-home-search {
	margin: 0.5rem 0 1.75rem;
	padding: 0;
	width: 100%;
}

.hgj-home-search__wrap {
	width: 100%;
	padding: 1.35rem 1.25rem 1.4rem;
	border-radius: 20px;
	background:
		radial-gradient(520px 180px at 100% 0%, rgba(232, 168, 56, 0.14), transparent 55%),
		linear-gradient(160deg, #f4f8f6, #fff);
	border: 1px solid var(--hgj-line);
	box-shadow: 0 12px 32px rgba(10, 31, 30, 0.05);
}

.hgj-home-search__title {
	margin: 0 0 0.35rem;
	font-family: var(--hgj-font-display);
	font-size: clamp(1.25rem, 3vw, 1.55rem);
	font-weight: 800;
	color: var(--hgj-forest);
}

.hgj-home-search__lead {
	margin: 0 0 1rem;
	color: var(--hgj-muted);
	line-height: 1.7;
}

.hgj-job-search {
	width: 100%;
}

.hgj-job-search__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0.65rem;
	width: 100%;
}

.hgj-job-search__field {
	margin: 0;
	flex: 1 1 160px;
	min-width: 0;
}

.hgj-job-search__field--q {
	flex: 2 1 220px;
}

.hgj-job-search__field input,
.hgj-job-search__field select {
	display: block;
	width: 100%;
	box-sizing: border-box;
	min-height: 3rem;
	padding: 0.7rem 0.95rem;
	border: 1px solid rgba(11, 61, 58, 0.14);
	border-radius: 12px;
	background: #fff;
	color: var(--hgj-forest);
	font: inherit;
	appearance: none;
	-webkit-appearance: none;
}

.hgj-job-search__field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230b3d3a' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: left 0.9rem center;
	padding-inline-start: 2rem;
}

.hgj-job-search__field input:focus,
.hgj-job-search__field select:focus {
	outline: 2px solid rgba(20, 99, 94, 0.35);
	outline-offset: 1px;
	border-color: rgba(20, 99, 94, 0.45);
}

.hgj-job-search__submit {
	flex: 0 0 auto;
	min-height: 3rem;
	white-space: nowrap;
	padding-inline: 1.35rem;
}

.hgj-jobs-archive__search {
	margin: 0 0 1.5rem;
	width: 100%;
}

@media (max-width: 800px) {
	.hgj-job-search__field,
	.hgj-job-search__field--q,
	.hgj-job-search__submit {
		flex: 1 1 100%;
	}

	.hgj-job-search__submit {
		width: 100%;
	}
}

/* =========================================================
   Mobile / tablet polish — all pages
   ========================================================= */
@media (max-width: 1100px) {
	.hgj-footer__top {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.hgj-footer__columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 980px) {
	.hgj-main {
		padding: 1.5rem 1rem 2.5rem;
	}

	.hgj-section-head {
		align-items: stretch;
		flex-direction: column;
	}

	.hgj-section-head .hgj-btn {
		align-self: stretch;
		width: 100%;
	}

	.hgj-jobs-grid,
	.hgj-jobs-grid--archive {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.hgj-brand__logo .custom-logo {
		max-height: 40px;
	}

	.hgj-hero--banner {
		padding: 0.85rem 0.85rem 0.15rem;
	}

	.hgj-hero--banner .hgj-hero__image {
		max-height: 220px;
		object-fit: cover;
		object-position: center top;
	}

	.hgj-home-search__wrap {
		padding: 1.1rem 1rem 1.15rem;
		border-radius: 16px;
	}

	.hgj-about__hero,
	.hgj-contact__hero,
	.hgj-jobs-archive__hero,
	.hgj-submit__hero {
		padding: 1.35rem 1.1rem;
		border-radius: 16px;
	}

	.hgj-about__cta,
	.hgj-story__cta {
		flex-direction: column;
		align-items: stretch;
	}

	.hgj-about__cta-actions,
	.hgj-story__cta-actions {
		width: 100%;
	}

	.hgj-about__cta-actions .hgj-btn,
	.hgj-story__cta-actions .hgj-btn {
		flex: 1 1 100%;
		width: 100%;
	}

	.hgj-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
	}
}

@media (max-width: 700px) {
	body.hgj-theme {
		font-size: 1rem;
	}

	.hgj-main {
		padding: 1.15rem 0.85rem 2rem;
	}

	.hgj-btn {
		min-height: 44px;
		padding: 0.7rem 1.1rem;
	}

	.hgj-btn--lg {
		width: 100%;
		padding: 0.85rem 1.2rem;
	}

	.hgj-job-search__field input,
	.hgj-job-search__field select,
	.hgj-field input,
	.hgj-field select,
	.hgj-field textarea,
	.hgj-auth-field input,
	.hgj-auth-field select,
	.hgj-auth-field textarea,
	.hgj-footer__search input[type="search"] {
		font-size: 16px; /* يمنع تكبير iOS عند التركيز */
		min-height: 48px;
	}

	.hgj-job-search__submit {
		min-height: 48px;
		width: 100%;
	}

	.hgj-footer__columns {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.hgj-footer__search {
		flex-direction: column;
		max-width: none;
	}

	.hgj-footer__search .hgj-btn {
		width: 100%;
	}

	.hgj-about__visual {
		border-radius: 14px;
	}

	.hgj-about__visual-cap {
		padding: 0.85rem 1rem 1rem;
		font-size: 0.92rem;
	}

	.hgj-about__brand {
		font-size: clamp(1.7rem, 8vw, 2.4rem);
	}

	.hgj-about__lead,
	.hgj-contact__lead,
	.hgj-jobs-archive__lead {
		max-width: none;
		font-size: 0.98rem;
	}

	.hgj-contact__info-card,
	.hgj-contact__tips,
	.hgj-contact__social,
	.hgj-about__spec,
	.hgj-about__hl {
		padding: 1rem 0.95rem;
	}

	.hgj-submit__card,
	.hgj-contact__form.hgj-submit__card {
		padding: 1.1rem 0.95rem;
		border-radius: 14px;
	}

	.hgj-auth-shell__inner {
		border-radius: 16px;
	}

	.hgj-pagination {
		gap: 0.35rem;
	}

	.hgj-pagination .page-numbers {
		min-width: 40px;
		min-height: 40px;
		padding: 0.45rem;
	}

	.hgj-job-card__meta {
		flex-direction: column;
		align-items: flex-start;
	}

	.hgj-content table {
		display: block;
		width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.hgj-content pre,
	.hgj-content iframe,
	.hgj-content embed,
	.hgj-content video {
		max-width: 100%;
	}

	.hgj-content iframe {
		width: 100% !important;
	}
}

@media (max-width: 480px) {
	.hgj-header__inner {
		padding: 0.55rem 0.75rem;
		min-height: 60px;
		gap: 0.65rem;
	}

	.hgj-brand__name {
		font-size: 1.15rem;
	}

	.hgj-nav-toggle {
		width: 42px;
		height: 42px;
	}

	.hgj-hero--banner .hgj-hero__image {
		max-height: 170px;
		border-radius: 12px;
	}

	.hgj-hero--banner .hgj-hero__frame {
		border-radius: 12px;
	}

	.hgj-section-head h2 {
		font-size: 1.35rem;
	}

	.hgj-home-search__title {
		font-size: 1.15rem;
	}

	.hgj-job-card__body,
	.hgj-post-card__body {
		padding: 0.95rem;
	}

	.hgj-about__highlights {
		gap: 0.65rem;
	}

	.hgj-footer__top {
		padding: 0.75rem 0.85rem 1.75rem;
	}

	.hgj-footer__bottom {
		padding: 1rem 0.85rem 1.35rem;
	}

	.hgj-footer__brand-name {
		font-size: 1.35rem;
	}

	.hgj-footer__pitch {
		font-size: 0.92rem;
		max-width: none;
	}
}

/* Touch devices: reduce hover lift that feels jumpy */
@media (hover: none) {
	.hgj-btn:hover,
	.hgj-job-card:hover,
	.hgj-post-card:hover,
	.hgj-about__spec:hover,
	.hgj-related-card:hover {
		transform: none;
	}

	.hgj-footer__links a:hover {
		transform: none;
	}
}

/* Safe areas (notch / home indicator) */
@supports (padding: max(0px)) {
	.hgj-header__inner,
	.hgj-main,
	.hgj-footer__top,
	.hgj-footer__bottom {
		padding-inline-start: max(0.85rem, env(safe-area-inset-right));
		padding-inline-end: max(0.85rem, env(safe-area-inset-left));
	}

	.hgj-footer__bottom {
		padding-bottom: max(1.35rem, env(safe-area-inset-bottom));
	}
}


/* ——— Hard lock: no horizontal scroll on mobile ——— */
@media (max-width: 980px) {
	html,
	body,
	body.hgj-theme {
		overflow-x: hidden !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	.hgj-header,
	.hgj-header__bar,
	.hgj-header__inner,
	.hgj-main,
	.hgj-footer,
	.hgj-footer__top,
	.hgj-footer__bottom,
	.hgj-hero,
	.hgj-hero__frame,
	.hgj-section,
	.hgj-post-shell,
	.hgj-post-layout,
	.hgj-article,
	.hgj-home-search,
	.hgj-home-search__wrap,
	.hgj-ad-zone,
	.hgj-about,
	.hgj-contact {
		max-width: 100%;
		overflow-x: clip;
	}

	.hgj-footer__wave,
	.hgj-footer__wave svg {
		max-width: 100%;
		overflow: hidden;
	}

	.hgj-ad-zone,
	.hgj-ad-zone iframe,
	.hgj-ad-zone ins,
	.quads-location,
	.adsbygoogle {
		max-width: 100% !important;
		overflow-x: hidden;
	}

	.hgj-content table,
	.hgj-article__body table {
		display: block;
		width: 100% !important;
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.hgj-content img,
	.hgj-article__body img,
	.hgj-hero__image {
		max-width: 100% !important;
		height: auto;
	}

	/* Closed drawer must not create scroll gutter */
	.hgj-nav:not(.is-open) {
		visibility: hidden !important;
		pointer-events: none !important;
	}
}
