/* ==========================================================================
   HimNaukri theme – main stylesheet
   ========================================================================== */

:root {
	--hn-primary: #1f4fbf;
	--hn-primary-dark: #163a8f;
	--hn-accent: #22b573;
	--hn-ink: #142033;
	--hn-text: #4a5568;
	--hn-muted: #7a8699;
	--hn-line: #e5e9f0;
	--hn-bg: #ffffff;
	--hn-tint: #f4f7fb;
	--hn-navy: #0f1e3d;
	--hn-radius: 12px;
	--hn-shadow: 0 10px 30px -12px rgba(15, 30, 61, .18);
	--hn-shadow-lg: 0 24px 50px -20px rgba(15, 30, 61, .35);
	--hn-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--hn-head: "Poppins", var(--hn-font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font: 400 16px/1.65 var(--hn-font);
	color: var(--hn-text);
	background: var(--hn-bg);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--hn-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--hn-primary-dark); }
h1, h2, h3, h4, h5 { font-family: var(--hn-head); color: var(--hn-ink); line-height: 1.25; margin: 0 0 .6em; font-weight: 600; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }
.hn-skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 999; border-radius: 6px; }
.hn-skip:focus { left: 8px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--hn-accent) 60%, transparent); outline-offset: 2px; }

.hn-container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.hn-icon { flex: none; }

/* Buttons */
.hn-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 13px 24px; border-radius: 10px; border: 2px solid transparent;
	font: 600 15px/1 var(--hn-head); cursor: pointer; transition: all .2s; white-space: nowrap;
}
.hn-btn--sm { padding: 9px 16px; font-size: 14px; }
.hn-btn--block { width: 100%; }
.hn-btn--accent { background: var(--hn-accent); color: #fff; }
.hn-btn--accent:hover { background: color-mix(in srgb, var(--hn-accent) 85%, #000); color: #fff; transform: translateY(-1px); }
.hn-btn--primary { background: var(--hn-primary); color: #fff; }
.hn-btn--primary:hover { background: var(--hn-primary-dark); color: #fff; }
.hn-btn--outline { border-color: var(--hn-primary); color: var(--hn-primary); background: transparent; }
.hn-btn--outline:hover { background: var(--hn-primary); color: #fff; }
.hn-btn--ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.hn-btn--ghost:hover { background: #fff; color: var(--hn-navy); }
.hn-btn--white { background: #fff; color: var(--hn-ink); }
.hn-btn--white:hover { color: var(--hn-primary); transform: translateY(-1px); }
.hn-btn--wa { background: #25d366; color: #fff; }
.hn-btn--wa:hover { background: #1ebe5a; color: #fff; }
.hn-btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hn-link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.hn-link-arrow:hover .hn-icon { transform: translateX(3px); }
.hn-link-arrow .hn-icon { transition: transform .2s; }

/* ---------- Header ---------- */
.hn-header { position: sticky; top: 0; z-index: 50; padding-top: env(safe-area-inset-top); background: #fff; border-bottom: 1px solid var(--hn-line); transition: background .25s, box-shadow .25s; }
.hn-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }
.hn-header--overlay { position: fixed; inset: 0 0 auto; background: transparent; border-color: transparent; }
.hn-header--overlay:not(.is-stuck) .hn-menu > li > a,
.hn-header--overlay:not(.is-stuck) .hn-wordmark,
.hn-header--overlay:not(.is-stuck) .hn-nav-toggle { color: #fff; }
.hn-header--overlay:not(.is-stuck) .hn-wordmark__mark { color: rgba(255,255,255,.18); }
.hn-header--overlay:not(.is-stuck) .hn-wordmark small { color: rgba(255,255,255,.75); }
.hn-header.is-stuck { background: rgba(255,255,255,.97); -webkit-backdrop-filter: saturate(1.4) blur(8px); backdrop-filter: saturate(1.4) blur(8px); box-shadow: 0 6px 24px -14px rgba(15,30,61,.35); border-color: var(--hn-line); }
.hn-header__inner { transition: min-height .25s; }
.hn-header.is-stuck .hn-header__inner { min-height: 66px; }
.hn-header.is-stuck .hn-brand__logo { height: calc(var(--hn-logo-h, 44px) * .85); }
.hn-brand__logo { transition: height .25s; }
/* Sticky header switched off in Customizer: bar scrolls away with the page. */
.hn-sticky-off .hn-header { position: relative; }
.hn-sticky-off .hn-header--overlay { position: absolute; }
.hn-header__call { display: none; place-items: center; width: 42px; height: 42px; border-radius: 10px; color: #fff; background: var(--hn-accent); margin-left: auto; }
.hn-header__call:hover { color: #fff; }
.admin-bar .hn-header { top: 32px; }

.hn-wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--hn-ink); font: 600 1.45rem/1 var(--hn-head); }
.hn-wordmark:hover { color: inherit; }
.hn-wordmark__mark { color: var(--hn-primary); }
.hn-wordmark b { color: var(--hn-accent); font-weight: 700; }
/* Footer brand in logo colours: Him = brown, Naukri = blue */
.hn-footer .hn-brand__him { color: var(--hn-him, #8b4513); }
/* Header brand in logo colours: Him = brown, Naukri = dark blue */
.hn-header .hn-brand__him { color: var(--hn-him, #8b4513); }
.hn-header .hn-brand__naukri { color: var(--hn-naukri, #0f2f7a); }
/* Over the dark homepage hero the brand sits on a white badge so the colours stay readable */
.hn-header--overlay:not(.is-stuck) .hn-wordmark { background: #fff; color: var(--hn-ink); padding: 8px 16px 8px 10px; border-radius: 14px; box-shadow: 0 8px 24px -12px rgba(0,0,0,.45); }
.hn-header--overlay:not(.is-stuck) .hn-wordmark .hn-wordmark__mark { color: var(--hn-naukri, #0f2f7a); }
.hn-header--overlay:not(.is-stuck) .hn-wordmark small { color: var(--hn-muted); }
.hn-header--overlay:not(.is-stuck) .hn-brand__logo { filter: none; }
.hn-footer .hn-brand__naukri { color: var(--hn-naukri, #0f2f7a); }
.hn-wordmark--badge { background: #fff; padding: 10px 18px 10px 12px; border-radius: 14px; box-shadow: 0 8px 24px -12px rgba(0,0,0,.4); }
.hn-wordmark--badge .hn-wordmark__mark { color: var(--hn-naukri, #0f2f7a) !important; }
/* Without the badge, lift the colours slightly so they stay readable on the dark footer */
.hn-footer .hn-wordmark:not(.hn-wordmark--badge) .hn-brand__him { color: color-mix(in srgb, var(--hn-him, #8b4513) 55%, #fff); }
.hn-footer .hn-wordmark:not(.hn-wordmark--badge) .hn-brand__naukri { color: color-mix(in srgb, var(--hn-naukri, #0f2f7a) 55%, #fff); }
.hn-wordmark__text small { display: block; font: 500 .68rem/1.3 var(--hn-font); letter-spacing: .04em; color: var(--hn-muted); margin-top: 4px; }
.hn-brand__logo { height: var(--hn-logo-h, 44px); width: auto; max-width: 220px; object-fit: contain; flex: none; }
.hn-header--overlay:not(.is-stuck) .hn-brand__logo { filter: drop-shadow(0 1px 6px rgba(0,0,0,.25)); }
.hn-footer .hn-brand__logo { max-width: 200px; }

.hn-nav { display: flex; align-items: center; gap: 22px; }
.hn-menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.hn-menu li { position: relative; }
.hn-menu a { display: block; padding: 10px 12px; color: var(--hn-ink); font: 500 15px/1 var(--hn-head); border-radius: 8px; }
.hn-menu a:hover, .hn-menu .current-menu-item > a { color: var(--hn-accent) !important; }
/* Dropdown sub-menus (add sub-items in Appearance → Menus by dragging them under a parent) */
.hn-menu .menu-item-has-children > a { display: flex; align-items: center; gap: 6px; }
.hn-menu .menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); opacity: .7; transition: transform .2s; }
.hn-menu > .menu-item-has-children:hover > a::after { transform: translateY(1px) rotate(225deg); }
.hn-menu .sub-menu { position: absolute; top: 100%; left: 0; z-index: 5; min-width: 230px; list-style: none; padding: 8px; margin: 0; background: #fff; border-radius: 12px; border: 1px solid var(--hn-line); box-shadow: var(--hn-shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
.hn-menu > li > .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* hover bridge */
.hn-menu li:hover > .sub-menu, .hn-menu li:focus-within > .sub-menu, .hn-menu li.hn-touch-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.hn-menu .sub-menu a { color: var(--hn-ink) !important; padding: 11px 14px; font-size: 14.5px; border-radius: 8px; justify-content: space-between; }
.hn-menu .sub-menu a:hover { background: var(--hn-tint); color: var(--hn-primary) !important; }
.hn-menu .sub-menu .menu-item-has-children > a::after { transform: rotate(-45deg); }
.hn-menu .sub-menu .sub-menu { top: -9px; left: calc(100% + 8px); }
.hn-menu .sub-menu .sub-menu::before { content: ""; position: absolute; top: 0; bottom: 0; left: -12px; width: 12px; }
.hn-menu .hn-sub-toggle { display: none; }
.hn-nav-toggle { display: none; background: none; border: 0; color: var(--hn-ink); cursor: pointer; padding: 6px; }

/* ---------- Hero ---------- */
.hn-hero {
	position: relative; overflow: hidden; color: #fff;
	padding: 170px 0 150px;
	background:
		radial-gradient(1200px 500px at 85% -10%, color-mix(in srgb, var(--hn-accent) 40%, transparent), transparent 60%),
		radial-gradient(900px 500px at -10% 110%, rgba(255,255,255,.08), transparent 60%),
		linear-gradient(135deg, var(--hn-navy) 0%, var(--hn-primary-dark) 55%, var(--hn-primary) 100%);
}
.hn-hero--image { background: linear-gradient(rgba(10,20,45,.72), rgba(10,20,45,.6)), var(--hn-hero-img) center/cover no-repeat; padding-bottom: 170px; }
.hn-hero__inner { position: relative; z-index: 2; text-align: center; max-width: 980px; }
.hn-eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); font-size: 13px; font-weight: 500; letter-spacing: .02em; margin-bottom: 22px; }
.hn-hero__title { color: #fff; font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 700; margin-bottom: 16px; letter-spacing: -.01em; }
.hn-hero__sub { max-width: 680px; margin: 0 auto 36px; font-size: 1.08rem; color: rgba(255,255,255,.85); }
.hn-hero__mountains { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 200px; z-index: 1; }
.hn-hero__popular { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; font-size: 14px; }
.hn-hero__popular span { color: rgba(255,255,255,.75); margin-right: 4px; }
.hn-hero__popular a { color: #fff; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); }
.hn-hero__popular a:hover { background: var(--hn-accent); border-color: var(--hn-accent); }

/* Search form */
.hn-search { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 8px; background: #fff; padding: 10px; border-radius: 16px; box-shadow: var(--hn-shadow-lg); text-align: left; }
.hn-search__field { display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: 10px; color: var(--hn-muted); min-height: 54px; }
.hn-search__field + .hn-search__field { border-left: 1px solid var(--hn-line); border-radius: 0; }
.hn-search input, .hn-search select { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 500 15px var(--hn-font); color: var(--hn-ink); padding: 14px 0; appearance: none; -webkit-appearance: none; }
.hn-search select { cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a8699' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 2px center no-repeat; padding-right: 20px; }
.hn-search .hn-btn { min-height: 54px; padding-inline: 28px; }
.hn-search--bar { box-shadow: var(--hn-shadow); border: 1px solid var(--hn-line); }

/* ---------- Stats ---------- */
.hn-stats { position: relative; z-index: 3; margin-top: -70px; }
.hn-stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.hn-stat { display: flex; align-items: center; gap: 14px; padding: 24px 20px; background: #fff; border-radius: 16px; box-shadow: var(--hn-shadow-lg); border: 1px solid var(--hn-line); transition: transform .25s; }
.hn-stat:hover { transform: translateY(-4px); }
.hn-stat__icon { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; color: var(--hn-primary); background: color-mix(in srgb, var(--hn-primary) 10%, #fff); }
.hn-stat--placed .hn-stat__icon { color: var(--hn-accent); background: color-mix(in srgb, var(--hn-accent) 12%, #fff); }
.hn-stat--onroll .hn-stat__icon { color: #0e9bb5; background: #e4f6fa; }
.hn-stat--years .hn-stat__icon { color: #e8833a; background: #fdf0e6; }
.hn-stat--jobs .hn-stat__icon { color: #8a4fd8; background: #f3ecfc; }
@media (min-width: 1100px) {
	.hn-stats__grid { grid-template-columns: repeat(5, 1fr); }
	.hn-stat { flex-direction: column; align-items: flex-start; gap: 16px; padding: 26px 24px; }
}
.hn-stat__num { display: block; font: 700 1.85rem/1 var(--hn-head); color: var(--hn-ink); margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.hn-stat__label { font-size: 15px; color: var(--hn-muted); font-weight: 500; }

/* ---------- Sections ---------- */
.hn-section { padding: 90px 0; }
.hn-section--tint { background: var(--hn-tint); }
.hn-section--dark { background: var(--hn-navy); color: rgba(255,255,255,.8); }
.hn-section--dark h2 { color: #fff; }
.hn-section__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.hn-section__head h2 { margin: 0; }
.hn-section__head--center { flex-direction: column; align-items: center; text-align: center; }
.hn-kicker { display: inline-block; color: var(--hn-accent); font: 600 13px/1 var(--hn-head); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.hn-kicker--light { color: color-mix(in srgb, var(--hn-accent) 70%, #fff); }

/* Jobs list */
.hn-jobs { display: grid; gap: 16px; }
.hn-job { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding: 22px 24px; background: #fff; border: 1px solid var(--hn-line); border-radius: 14px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.hn-job:hover { border-color: color-mix(in srgb, var(--hn-primary) 35%, #fff); box-shadow: var(--hn-shadow); transform: translateY(-2px); }
.hn-job__logo { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 12px; background: color-mix(in srgb, var(--hn-primary) 9%, #fff); color: var(--hn-primary); font: 700 1.5rem var(--hn-head); overflow: hidden; }
.hn-job__logo img { width: 100%; height: 100%; object-fit: contain; }
.hn-job__logo--lg { width: 88px; height: 88px; background: #fff; font-size: 2rem; }
.hn-job__title { font-size: 1.1rem; margin-bottom: 8px; }
.hn-job__title a { color: var(--hn-ink); }
.hn-job__title a:hover { color: var(--hn-primary); }
.hn-job__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--hn-muted); }
.hn-job__meta li { display: inline-flex; align-items: center; gap: 6px; }
.hn-job__meta--light { color: rgba(255,255,255,.85); }
.hn-job__side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.hn-job__cat { font-size: 13px; color: var(--hn-muted); }
.hn-tag { display: inline-block; padding: 5px 12px; border-radius: 999px; font: 600 12px/1.2 var(--hn-head); background: color-mix(in srgb, var(--hn-accent) 14%, #fff); color: color-mix(in srgb, var(--hn-accent) 80%, #000); }
.hn-tag--part-time { background: #fdf0e6; color: #b85d1a; }
.hn-tag--contract { background: #f3ecfc; color: #6a35b5; }
.hn-tag--internship { background: #e7f1fe; color: #1f5fbf; }
.hn-tag--freelance { background: #fde8ee; color: #b5294f; }

/* Categories */
.hn-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.hn-cat { display: flex; flex-direction: column; gap: 4px; padding: 26px; background: #fff; border-radius: 14px; border: 1px solid var(--hn-line); color: var(--hn-ink); transition: .25s; }
.hn-cat strong { font: 600 1.05rem var(--hn-head); }
.hn-cat small { color: var(--hn-muted); }
.hn-cat__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; margin-bottom: 12px; color: var(--hn-primary); background: color-mix(in srgb, var(--hn-primary) 9%, #fff); transition: .25s; }
.hn-cat:hover { background: var(--hn-primary); color: #fff; border-color: var(--hn-primary); transform: translateY(-3px); box-shadow: var(--hn-shadow-lg); }
.hn-cat:hover small { color: rgba(255,255,255,.8); }
.hn-cat:hover .hn-cat__icon { background: rgba(255,255,255,.15); color: #fff; }

/* Steps */
.hn-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: s; }
.hn-step { position: relative; padding: 36px 30px; border-radius: 16px; background: #fff; border: 1px solid var(--hn-line); color: var(--hn-primary); }
.hn-step h3 { margin-top: 18px; }
.hn-step p { color: var(--hn-text); margin: 0; }
.hn-step__n { position: absolute; top: 22px; right: 26px; font: 700 2.6rem/1 var(--hn-head); color: var(--hn-tint); -webkit-text-stroke: 1px var(--hn-line); }

/* Split / feature list */
.hn-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hn-split p { font-size: 1.05rem; margin-bottom: 28px; }
.hn-feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.hn-feature-list li { display: flex; gap: 18px; padding: 22px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: var(--hn-accent); }
.hn-feature-list strong { display: block; color: #fff; font: 600 1.05rem var(--hn-head); margin-bottom: 4px; }
.hn-feature-list span { color: rgba(255,255,255,.7); font-size: 15px; }

/* Client marquee */
.hn-clients { padding-bottom: 80px; }
.hn-marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.hn-marquee__track { display: flex; gap: 24px; width: max-content; animation: hn-marquee calc(var(--hn-items, 8) * var(--hn-speed, 8s)) linear infinite; padding: 6px 0; }
.hn-marquee:hover .hn-marquee__track { animation-play-state: paused; }
@keyframes hn-marquee { to { transform: translateX(calc(-50% - 12px)); } }
.hn-logo { flex: none; display: grid; place-items: center; width: 190px; height: 96px; padding: 18px 24px; border-radius: 14px; background: #fff; border: 1px solid var(--hn-line); transition: .25s; }
.hn-logo img { max-height: 60px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .7; transition: .25s; }
.hn-logo:hover { box-shadow: var(--hn-shadow); border-color: transparent; }
.hn-logo:hover img { filter: none; opacity: 1; }
.hn-logo__text { font: 600 1rem var(--hn-head); color: var(--hn-ink); text-align: center; }
.hn-logo--placeholder { display: flex; gap: 8px; color: var(--hn-muted); font: 600 14px var(--hn-head); border-style: dashed; }
@media (prefers-reduced-motion: reduce) { .hn-marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .hn-marquee { mask-image: none; -webkit-mask-image: none; } }

/* Testimonials */
.hn-testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.hn-testimonial { margin: 0; padding: 30px; background: #fff; border-radius: 16px; border: 1px solid var(--hn-line); }
.hn-testimonial blockquote { margin: 0 0 20px; font-size: 1.02rem; color: var(--hn-ink); }
.hn-testimonial blockquote::before { content: "“"; display: block; font: 700 3rem/0.6 Georgia, serif; color: var(--hn-accent); margin-bottom: 8px; }
.hn-testimonial figcaption { display: flex; align-items: center; gap: 12px; }
.hn-testimonial figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.hn-testimonial small { display: block; color: var(--hn-muted); }

/* CTA cards */
.hn-cta-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.hn-cta-card { padding: 44px; border-radius: 20px; background: color-mix(in srgb, var(--hn-primary) 8%, #fff); color: var(--hn-primary); }
.hn-cta-card h3 { font-size: 1.5rem; margin: 16px 0 8px; }
.hn-cta-card p { color: var(--hn-text); margin-bottom: 22px; }
.hn-cta-card--accent { background: linear-gradient(135deg, var(--hn-accent), color-mix(in srgb, var(--hn-accent) 65%, var(--hn-primary))); color: #fff; }
.hn-cta-card--accent h3, .hn-cta-card--accent p { color: #fff; }

/* Posts */
.hn-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hn-posts--2 { grid-template-columns: repeat(2, 1fr); }
.hn-post { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--hn-line); display: flex; flex-direction: column; transition: .25s; }
.hn-post:hover { box-shadow: var(--hn-shadow); transform: translateY(-3px); }
.hn-post__thumb { aspect-ratio: 16/10; background: var(--hn-tint); display: grid; place-items: center; color: var(--hn-muted); overflow: hidden; }
.hn-post__thumb img { width: 100%; height: 100%; object-fit: cover; }
.hn-post__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.hn-post__body p { font-size: 15px; flex: 1; }
.hn-post__date { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--hn-muted); margin-bottom: 8px; }
.hn-post__title { font-size: 1.12rem; }
.hn-post__title a { color: var(--hn-ink); }

/* ---------- Inner pages ---------- */
.hn-banner { padding: 70px 0 60px; background: linear-gradient(135deg, var(--hn-navy), var(--hn-primary-dark)); color: #fff; position: relative; overflow: hidden; }
.hn-banner::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 420px; height: 260px; background: color-mix(in srgb, var(--hn-accent) 35%, transparent); filter: blur(80px); border-radius: 50%; }
.hn-banner .hn-container { position: relative; z-index: 1; }
.hn-banner__title { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 8px; }
.hn-banner__sub { color: rgba(255,255,255,.8); margin-bottom: 12px; }
.hn-crumbs { font-size: 14px; color: rgba(255,255,255,.65); display: flex; gap: 8px; }
.hn-crumbs a { color: #fff; }
.hn-banner--job .hn-tag { margin-bottom: 10px; }
.hn-jobhead { display: flex; align-items: center; gap: 26px; }

.hn-page { padding: 70px 0 90px; max-width: 980px; }
.hn-page__img { border-radius: 16px; margin-bottom: 30px; }
.hn-content { font-size: 1.02rem; }
.hn-content > * { max-width: 100%; }
.hn-content h2, .hn-content h3 { margin-top: 1.6em; }
.hn-content ul, .hn-content ol { padding-left: 1.3em; }
.hn-content li { margin-bottom: .5em; }
.hn-content li::marker { color: var(--hn-accent); }
.hn-lead { font-size: 1.15rem; color: var(--hn-ink); }

.hn-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; padding: 60px 0 90px; align-items: start; }
.hn-jobs-page .hn-layout { grid-template-columns: 260px minmax(0, 1fr); padding-top: 30px; }
.hn-jobs-page__search { margin-top: -34px; position: relative; z-index: 2; }
.hn-sidebar { display: grid; gap: 22px; position: sticky; top: 100px; }
.hn-card, .hn-sidebar .widget { padding: 26px; background: #fff; border: 1px solid var(--hn-line); border-radius: 16px; }
.hn-card h4, .widget-title { font-size: 1.05rem; margin-bottom: 16px; }
.hn-card--accent { background: var(--hn-primary); color: rgba(255,255,255,.85); border: 0; }
.hn-card--accent h4 { color: #fff; }
.hn-card--warn { display: flex; gap: 14px; background: #fff8ec; border-color: #f6dfb4; color: #a05a00; }
.hn-card--warn p { margin: 0; color: #6b4a14; font-size: 15px; }
.hn-overview { margin: 0; display: grid; gap: 16px; }
.hn-overview > div { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; color: var(--hn-primary); }
.hn-overview .hn-icon { grid-row: span 2; }
.hn-overview dt { font-size: 13px; color: var(--hn-muted); }
.hn-overview dd { margin: 0; font-weight: 600; color: var(--hn-ink); }
.hn-mini-jobs { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hn-mini-jobs a { color: var(--hn-ink); font-weight: 500; }
.hn-mini-jobs small { display: block; color: var(--hn-muted); }

.hn-filters { padding: 24px; background: #fff; border: 1px solid var(--hn-line); border-radius: 16px; position: sticky; top: 100px; }
.hn-filters h4 { font-size: 1rem; margin: 0 0 12px; }
.hn-filters summary { display: none; }
.hn-filters ul { list-style: none; margin: 0 0 24px; padding: 0; }
.hn-filters a { display: flex; justify-content: space-between; padding: 7px 0; color: var(--hn-text); font-size: 15px; }
.hn-filters a span { font-size: 12px; background: var(--hn-tint); padding: 2px 8px; border-radius: 999px; }
.hn-filters a:hover, .hn-filters a.is-active { color: var(--hn-primary); font-weight: 600; }

.hn-apply-box { margin-top: 40px; padding: 30px; border-radius: 16px; background: var(--hn-tint); border: 1px solid var(--hn-line); }
.hn-apply-box h3 { margin-top: 0; }

.hn-empty { text-align: center; padding: 50px 30px; border: 1px dashed var(--hn-line); border-radius: 16px; color: var(--hn-muted); }
.hn-empty h3 { margin-top: 12px; }
.hn-empty .hn-search { margin-top: 20px; }
.hn-admin-hint { font-size: 13px; color: #a05a00; background: #fff8ec; padding: 8px 14px; border-radius: 8px; display: inline-block; margin-top: 12px; }

/* Services grid (in page content) */
.hn-services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; margin: 30px 0; }
.hn-service { padding: 28px; border-radius: 16px; border: 1px solid var(--hn-line); background: #fff; transition: .25s; }
.hn-service:hover { box-shadow: var(--hn-shadow); transform: translateY(-3px); border-color: transparent; }
.hn-service__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; margin-bottom: 16px; color: #fff; background: linear-gradient(135deg, var(--hn-primary), color-mix(in srgb, var(--hn-primary) 60%, var(--hn-accent))); }
.hn-service h3 { margin: 0 0 8px; font-size: 1.1rem; }
.hn-service p { margin: 0; font-size: 15px; }
.hn-cta-box { margin-top: 40px; padding: 36px; border-radius: 18px; text-align: center; background: linear-gradient(135deg, var(--hn-navy), var(--hn-primary)); color: rgba(255,255,255,.85); }
.hn-cta-box h3 { color: #fff; font-size: 1.5rem; margin: 0 0 6px; }

/* Fraud alert */
.hn-alert-box { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; margin-bottom: 28px; border-radius: 14px; background: #fff1f0; border: 1px solid #ffd0cc; color: #c0392b; }
.hn-alert-box div { color: #6b2018; }

/* Job alert channels */
.hn-channels { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin: 30px 0; }
.hn-channel { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 14px; border: 1px solid var(--hn-line); background: #fff; color: var(--hn-ink); transition: .25s; }
.hn-channel:hover { box-shadow: var(--hn-shadow); transform: translateY(-2px); color: var(--hn-ink); }
.hn-channel > span:nth-child(2) { flex: 1; }
.hn-channel strong { display: block; font-family: var(--hn-head); }
.hn-channel small { color: var(--hn-muted); }
.hn-channel__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; color: #fff; background: var(--hn-primary); }
.hn-channel__icon svg { width: 24px; height: 24px; }
.hn-channel--telegram .hn-channel__icon { background: #229ed9; }
.hn-channel--whatsapp_group .hn-channel__icon { background: #25d366; }
.hn-channel--facebook .hn-channel__icon { background: #1877f2; }
.hn-channel--linkedin .hn-channel__icon { background: #0a66c2; }
.hn-channel--twitter .hn-channel__icon { background: #111; }
.hn-channel--instagram .hn-channel__icon { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }

/* Contact */
.hn-contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.hn-contact-card { display: flex; flex-direction: column; gap: 6px; padding: 28px; border-radius: 16px; border: 1px solid var(--hn-line); color: var(--hn-primary); background: #fff; }
.hn-contact-card svg { width: 28px; height: 28px; margin-bottom: 8px; }
.hn-contact-card strong { color: var(--hn-ink); font-family: var(--hn-head); }
.hn-contact-card span { color: var(--hn-text); word-break: break-word; }

/* Forms */
.hn-form fieldset { border: 1px solid var(--hn-line); border-radius: 16px; padding: 24px 26px 26px; margin: 0 0 22px; }
.hn-form legend { font: 600 1rem var(--hn-head); color: var(--hn-ink); padding: 0 8px; }
.hn-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.hn-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; color: var(--hn-ink); }
.hn-form__full { margin-top: 16px; }
.hn-form input, .hn-form select, .hn-form textarea, .search-field, .comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea {
	width: 100%; padding: 12px 14px; border: 1px solid var(--hn-line); border-radius: 10px; font: 400 15px var(--hn-font); color: var(--hn-ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.hn-form input:focus, .hn-form select:focus, .hn-form textarea:focus, .search-field:focus { outline: 0; border-color: var(--hn-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--hn-primary) 15%, transparent); }
.hn-hp { position: absolute; left: -9999px; }
.hn-notice { display: flex; gap: 10px; align-items: center; padding: 16px 20px; border-radius: 12px; margin-bottom: 22px; font-weight: 500; }
.hn-notice--ok { background: #e8f8f0; color: #157347; }
.hn-notice--err { background: #fff1f0; color: #c0392b; }
.search-form { display: flex; gap: 8px; }
.search-submit, .comment-form .submit { padding: 12px 18px; border: 0; border-radius: 10px; background: var(--hn-primary); color: #fff; font: 600 14px var(--hn-head); cursor: pointer; }

/* Pagination */
.pagination { margin-top: 36px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--hn-line); color: var(--hn-ink); font-weight: 600; }
.page-numbers.current, .page-numbers:hover { background: var(--hn-primary); border-color: var(--hn-primary); color: #fff; }
.post-navigation .nav-links { justify-content: space-between; margin-top: 40px; }

/* ---------- Footer ---------- */
.hn-footer { background: var(--hn-navy); color: rgba(255,255,255,.7); padding-top: 70px; font-size: 15px; }
.hn-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.hn-footer .widget-title { color: #fff; }
.hn-footer a { color: rgba(255,255,255,.75); }
.hn-footer a:hover { color: var(--hn-accent); }
.hn-wordmark--light { color: #fff; margin-bottom: 18px; }
.hn-wordmark--light .hn-wordmark__mark { color: var(--hn-primary); }
.hn-mobile-apply { display: none; }
.hn-footer__links, .hn-footer__contact, .hn-footer .widget ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hn-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.hn-footer__contact .hn-icon { color: var(--hn-accent); margin-top: 3px; }
.hn-social { display: flex; gap: 10px; margin-top: 20px; }
.hn-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); color: #fff; transition: .2s; }
.hn-social a:hover { background: var(--hn-accent); color: #fff; }
.hn-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: 14px; }
.hn-footer__bottom .hn-container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* WhatsApp float */
.hn-wa { position: fixed; right: calc(20px + env(safe-area-inset-right)); bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 60; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px; background: #25d366; color: #fff; font: 600 14px var(--hn-head); box-shadow: 0 12px 30px -10px rgba(37,211,102,.7); transition: transform .2s; }
.hn-wa svg { width: 26px; height: 26px; }
.hn-wa:hover { color: #fff; transform: translateY(-2px); }

/* Comments */
.hn-comments { margin-top: 50px; }
.comment-list { list-style: none; padding: 0; }
.comment-body { padding: 20px 0; border-bottom: 1px solid var(--hn-line); }
.comment-form p { margin-bottom: 14px; }

/* Block editor alignment */
.alignwide { margin-inline: -60px; max-width: calc(100% + 120px); }
.alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; }
.wp-block-button__link { border-radius: 10px; background: var(--hn-primary); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.hn-footer__grid { grid-template-columns: 1fr 1fr; }
	.hn-posts { grid-template-columns: repeat(2, 1fr); }
	.hn-split { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 960px) {
	.hn-nav-toggle { display: block; }
	.hn-nav { position: fixed; inset: 78px 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 14px 20px 24px; background: #fff; box-shadow: var(--hn-shadow-lg); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .25s; max-height: calc(100vh - 78px); overflow: auto; }
	.hn-nav.is-open { transform: none; opacity: 1; visibility: visible; }
	.admin-bar .hn-nav { top: 124px; }
	.hn-menu { flex-direction: column; }
	.hn-menu a, .hn-header--overlay:not(.is-stuck) .hn-menu > li > a { color: var(--hn-ink); padding: 14px 6px; border-bottom: 1px solid var(--hn-line); border-radius: 0; }
	.hn-menu .sub-menu, .hn-menu .sub-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; display: none; }
	.hn-menu li.is-open > .sub-menu { display: block; }
	.hn-menu .menu-item-has-children > a { padding-right: 52px; }
	.hn-menu .menu-item-has-children > a::after { display: none; }
	.hn-menu .hn-sub-toggle { display: grid; place-items: center; position: absolute; right: 0; top: 4px; width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--hn-tint); color: var(--hn-ink); cursor: pointer; }
	.hn-menu .hn-sub-toggle svg { transition: transform .2s; }
	.hn-menu li.is-open > .hn-sub-toggle svg { transform: rotate(180deg); }
	.hn-menu .sub-menu a { font-size: 16px; padding: 12px 6px; }
	.hn-header__cta { margin-top: 16px; }
	.hn-search { grid-template-columns: 1fr 1fr; }
	.hn-search__field:first-child { grid-column: 1 / -1; }
	.hn-search__field + .hn-search__field { border-left: 0; }
	.hn-search__field { background: var(--hn-tint); border-radius: 10px !important; }
	.hn-search .hn-btn { grid-column: 1 / -1; }
	.hn-layout, .hn-jobs-page .hn-layout { grid-template-columns: 1fr; }
	.hn-sidebar, .hn-filters { position: static; }
	.hn-steps { grid-template-columns: 1fr; }
	.hn-header__call { display: grid; }
	.hn-nav-toggle { margin-left: 4px; }
	.hn-header__inner { min-height: 66px; gap: 10px; }
	.hn-nav { inset: 66px 0 0; max-height: none; height: calc(100dvh - 66px); }
	.hn-menu a { font-size: 17px; }
	body.hn-nav-open { overflow: hidden; }
	.hn-filters summary { display: flex; align-items: center; gap: 8px; cursor: pointer; font: 600 15px var(--hn-head); color: var(--hn-ink); list-style: none; }
	.hn-filters summary::-webkit-details-marker { display: none; }
	.hn-filters[open] summary { margin-bottom: 16px; }
	.hn-filters { padding: 16px 18px; }
}

@media (max-width: 782px) { .admin-bar .hn-header { top: 46px; } }

@media (max-width: 680px) {
	body { font-size: 15px; }
	.hn-hero { padding: 130px 0 120px; }
	.hn-section { padding: 64px 0; }
	.hn-search { grid-template-columns: 1fr; }
	.hn-job { grid-template-columns: auto 1fr; padding: 18px; }
	.hn-job__side { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
	.hn-job__logo { width: 52px; height: 52px; }
	.hn-cta-split, .hn-posts, .hn-posts--2, .hn-form__grid, .hn-footer__grid { grid-template-columns: 1fr; }
	.hn-cta-card { padding: 32px 26px; }
	.hn-jobhead { flex-direction: column; align-items: flex-start; gap: 16px; }
	.hn-logo { width: 150px; height: 80px; }
	.hn-stats__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.hn-stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.hn-stat { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px 18px; }
	.hn-stat__icon { width: 48px; height: 48px; }
	.hn-stat__num { font-size: 1.6rem; }
	.hn-stat__label { font-size: 13px; }
	.hn-wa span { display: none; }
	.hn-wa { padding: 14px; }
	.alignwide { margin-inline: 0; max-width: 100%; }
	/* Mobile friendliness */
	.hn-container { width: calc(100% - 32px); }
	.hn-wordmark { font-size: 1.25rem; }
	.hn-wordmark__text small { font-size: .62rem; }
	.hn-header--overlay:not(.is-stuck) .hn-wordmark { padding: 6px 12px 6px 8px; }
	.hn-brand__logo { max-width: 150px; }
	input, select, textarea, .hn-search input, .hn-search select { font-size: 16px !important; } /* stops iOS zoom on focus */
	.hn-hero { padding: 110px 0 110px; }
	.hn-hero__sub { font-size: 1rem; margin-bottom: 26px; }
	.hn-hero__popular { gap: 6px; }
	.hn-banner { padding: 44px 0 40px; }
	.hn-jobs-page__search { margin-top: 20px; }
	.hn-layout { padding: 32px 0 60px; gap: 24px; }
	.hn-section__head { margin-bottom: 26px; }
	.hn-btn { padding: 14px 20px; min-height: 48px; }
	.hn-btn--sm { min-height: 40px; }
	.hn-btn-row .hn-btn { flex: 1 1 100%; }
	.hn-footer__links a, .hn-footer__contact a { display: inline-block; padding: 6px 0; }
	.hn-footer { padding-top: 50px; }
	.hn-footer__bottom .hn-container { flex-direction: column; text-align: center; padding-bottom: 70px; }
	.hn-form fieldset { padding: 18px 16px 20px; }
	.hn-cats { grid-template-columns: 1fr 1fr; gap: 12px; }
	.hn-cat { padding: 18px; }
	.hn-step { padding: 26px 22px; }
	.hn-mobile-apply { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -8px 24px -12px rgba(15,30,61,.35); }
	.hn-mobile-apply .hn-btn { flex: 1; padding-inline: 10px; }
	.hn-mobile-apply .hn-btn--outline { flex: 0 0 auto; }
	.single-job .hn-wa { display: none; }
	.single-job .hn-footer { padding-bottom: 70px; }
}

/* ==========================================================================
   Boxed standard-width layout + side ad columns
   ========================================================================== */
.hn-boxed { background: var(--hn-page-bg, #eef1f6); }
.hn-boxed .hn-site { max-width: var(--hn-site-w, 1240px); margin-inline: auto; background: var(--hn-bg); box-shadow: 0 0 50px -24px rgba(15, 30, 61, .3); overflow-x: clip; }
.hn-site .hn-container { width: min(1200px, 100% - 40px); }
.hn-boxed .hn-header--overlay { left: 0; right: 0; margin-inline: auto; max-width: var(--hn-site-w, 1240px); }
.hn-boxed .alignfull { margin-inline: 0; max-width: 100%; }
.hn-ad-rail { display: none; position: fixed; top: 100px; z-index: 40; width: var(--hn-rail-w, 160px); }
.admin-bar .hn-ad-rail { top: 132px; }
.hn-ad-rail--left { left: calc(50% - var(--hn-site-w, 1240px) / 2 - var(--hn-rail-w, 160px) - 20px); }
.hn-ad-rail--right { right: calc(50% - var(--hn-site-w, 1240px) / 2 - var(--hn-rail-w, 160px) - 20px); }
.hn-ad-widget { min-height: 600px; }
.hn-ad-widget + .hn-ad-widget { margin-top: 16px; }
.hn-ad-label { display: block; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--hn-muted); text-align: center; margin-bottom: 4px; }
.hn-ad-rail--empty a { display: flex; flex-direction: column; justify-content: center; gap: 8px; height: 600px; padding: 14px; border: 2px dashed #b8c2d3; border-radius: 12px; text-align: center; color: var(--hn-muted); font: 600 13px var(--hn-head); background: rgba(255,255,255,.5); }
.hn-ad-rail--empty small { font: 400 11px/1.4 var(--hn-font); }
@media (max-width: 960px) { .hn-ad-rail { display: none !important; } }
