/*
Theme Name:   Hotel Jobs (GeneratePress child)
Description:  Clean, fast, Indeed-style design for hotel job boards. Works with the Hotel Job Board plugin. Change the brand colour in Appearance → Customize → Hotel Jobs.
Author:       Dollar Design
Template:     generatepress
Version:      1.0.5
Requires PHP: 7.4
Text Domain:  hotel-jobs-theme
License:      GPL-2.0-or-later
*/

/* ---------- Base ---------- */
body {
	font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", sans-serif;
	color: var(--hjb-text, #3a4458);
	background: var(--hjb-bg, #f5f7fb);
	-webkit-font-smoothing: antialiased;
}
html[lang="hi"] body { font-family: "Noto Sans Devanagari", "Plus Jakarta Sans", system-ui, sans-serif; }
h1, h2, h3, h4, h5, h6 { color: var(--hjb-ink, #172033); font-weight: 750; letter-spacing: -.01em; }
a { color: var(--hjb-brand); }
a:hover, a:focus { color: var(--hjb-brand-dark); }
::selection { background: var(--hjb-brand-soft); }

/* GeneratePress buttons follow the brand. */
button, html input[type="button"], input[type="reset"], input[type="submit"], a.button, a.wp-block-button__link:not(.has-background) {
	background-color: var(--hjb-brand); color: #fff; border-radius: 10px; font-weight: 600;
}
button:hover, html input[type="button"]:hover, input[type="submit"]:hover, a.button:hover, button:focus, input[type="submit"]:focus, a.button:focus {
	background-color: var(--hjb-brand-dark); color: #fff;
}
.hjb-btn:not(.hjb-btn--primary):not(.hjb-btn--wa):not(.hjb-btn--danger) { background-color: #fff; color: var(--hjb-ink); }
.hjb-btn--ghost:not(.hjb-btn--primary) { background-color: transparent !important; }
.hjb-link { background: none !important; color: var(--hjb-brand) !important; }

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--hjb-line, #e2e6ee); }
/* Whole header stays on top while scrolling (replaces GeneratePress' sticky menu). */
.site-header { position: sticky; top: 0; z-index: 999; transition: box-shadow .2s ease; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.hjt-scrolled .site-header { box-shadow: 0 6px 24px rgba(23, 32, 51, .08); }
.hjt-scrolled .site-header .inside-header { padding-top: 8px; padding-bottom: 8px; }
.inside-header { transition: padding .2s ease; }
/* If GeneratePress sticky navigation or mobile header is switched on, keep it clean too. */
.main-navigation.is_stuck, .main-navigation.navigation-stick, #sticky-navigation, #mobile-header { background: #fff !important; box-shadow: 0 6px 24px rgba(23, 32, 51, .08); }
.navigation-branding .site-logo img, .navigation-branding img.is-logo-image, .sticky-navigation-logo img, #mobile-header .site-logo img, .site-logo.mobile-header-logo img {
	width: auto !important; height: auto !important; max-height: 40px; max-width: 180px; object-fit: contain;
}
#mobile-header .menu-toggle, #mobile-header .mobile-bar-items a { color: var(--hjb-ink); }
.inside-header { padding-top: 12px; padding-bottom: 12px; }
.site-logo img, .site-header .header-image, .site-logo .custom-logo {
	/* Beat GeneratePress' "Logo width" setting so the logo never stretches or squashes. */
	width: auto !important; height: auto !important; max-height: 52px; max-width: 240px; object-fit: contain;
}
.main-title a { color: var(--hjb-brand); font-weight: 800; }
.main-navigation, .main-navigation ul ul { background: transparent; }
.main-navigation .main-nav ul li a { color: var(--hjb-ink); font-weight: 600; padding-left: 14px; padding-right: 14px; }
.main-navigation .main-nav ul li:hover > a, .main-navigation .main-nav ul li.current-menu-item > a { color: var(--hjb-brand); }
.main-navigation .main-nav ul ul { background: #fff; box-shadow: 0 10px 30px rgba(23, 32, 51, .12); border-radius: 10px; }
.menu-toggle { color: var(--hjb-ink); background: transparent !important; }

.hjt-bar { display: flex; align-items: center; gap: 10px; margin-left: 12px; text-transform: none; letter-spacing: normal; }
.main-navigation .menu-bar-items .hjt-bar a.hjb-btn--primary, .hjt-bar a.hjb-btn--primary, .hjt-bar a.hjb-btn--primary:hover, .hjt-bar a.hjb-btn--primary:focus {
	color: #fff !important; background-color: var(--hjb-brand) !important; text-transform: none; line-height: 1.2;
}
.main-navigation .menu-bar-items .hjt-bar a.hjb-btn--primary:hover { background-color: var(--hjb-brand-dark) !important; }
.main-navigation .menu-bar-items .hjt-bar .hjt-signin { line-height: 1.2; text-transform: none; }
.main-navigation .menu-bar-items .hjb-lang a { line-height: 1.2; }
.hjt-bar .hjb-btn { padding: 8px 14px; font-size: .92rem; }
.hjt-bar .hjt-signin { font-weight: 600; text-decoration: none; color: var(--hjb-ink); padding: 8px 6px; white-space: nowrap; }
.hjt-bar .hjt-signin:hover { color: var(--hjb-brand); }

/* ---------- Home ---------- */
.hjt-home .site-content { display: block; }
.hjt-hero { position: relative; overflow: hidden; background: var(--hjb-brand); color: #fff; padding: 64px 16px 72px; }
.hjt-hero::before { content: ""; position: absolute; inset: 0; background:
	radial-gradient(600px 300px at 85% 10%, rgba(255, 255, 255, .14), transparent 70%),
	radial-gradient(500px 260px at 5% 100%, rgba(0, 0, 0, .18), transparent 70%); pointer-events: none; }
.hjt-hero::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 380px; height: 380px; border-radius: 50%; border: 48px solid rgba(255, 255, 255, .07); pointer-events: none; }
.hjt-hero__in { position: relative; max-width: 920px; margin: 0 auto; text-align: center; }
.hjt-badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 7px 16px; border-radius: 999px; background: var(--hjb-accent); color: #1d1600; font-weight: 800; font-size: .95rem; letter-spacing: .02em; text-transform: uppercase; box-shadow: 0 6px 20px rgba(0, 0, 0, .18); }
.hjt-badge span { font-size: 1.05em; }
.hjt-hero h1 { color: #fff; font-size: clamp(2rem, 1.2rem + 3vw, 3.2rem); line-height: 1.12; margin: 0 0 12px; }
.hjt-hero p.hjt-hero__sub { font-size: clamp(1.02rem, .95rem + .4vw, 1.2rem); color: rgba(255, 255, 255, .88); margin: 0 auto 28px; max-width: 640px; }
.hjt-hero .hjb-search { text-align: left; margin-bottom: 18px; border: 0; box-shadow: 0 18px 50px rgba(0, 0, 0, .25); }
.hjt-popular { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; font-size: .92rem; color: rgba(255, 255, 255, .85); }
.hjt-popular a { color: #fff; text-decoration: none; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); font-weight: 600; }
.hjt-popular a:hover { background: rgba(255, 255, 255, .26); color: #fff; }
.hjt-trust { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 26px; font-size: .9rem; color: rgba(255, 255, 255, .85); }
.hjt-trust span::before { content: "✓"; color: var(--hjb-accent); font-weight: 800; margin-right: 6px; }

.hjt-section { max-width: 1180px; margin: 0 auto; padding: 48px 16px 8px; }
.hjt-section--tight { padding-top: 32px; }
.hjt-section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.hjt-section__head h2 { margin: 0; font-size: clamp(1.35rem, 1.1rem + .9vw, 1.8rem); }
.hjt-section__head a { font-weight: 700; text-decoration: none; }
.hjt-section__head a::after { content: " →"; }

.hjt-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.hjt-step { background: #fff; border: 1px solid var(--hjb-line); border-radius: 14px; padding: 22px; position: relative; }
.hjt-step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--hjb-brand-soft); color: var(--hjb-brand); font-weight: 800; margin-bottom: 12px; }
.hjt-step h3 { margin: 0 0 6px; font-size: 1.1rem; }
.hjt-step p { margin: 0; color: var(--hjb-muted); }

.hjt-cta { max-width: 1148px; margin: 48px auto 0; border-radius: 18px; padding: 34px 32px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap;
	background: linear-gradient(120deg, var(--hjb-ink), #23324f); color: #fff; }
.hjt-cta h2 { color: #fff; margin: 0 0 6px; font-size: clamp(1.35rem, 1.1rem + .9vw, 1.8rem); }
.hjt-cta p { margin: 0; color: rgba(255, 255, 255, .8); max-width: 620px; }
.hjt-cta__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.hjt-cta .hjb-btn--primary { background: var(--hjb-accent) !important; border-color: var(--hjb-accent); color: #1d1600 !important; }
.hjt-cta .hjb-btn--primary:hover { filter: brightness(.95); }
.hjt-cta .hjb-btn:not(.hjb-btn--primary) { background: transparent !important; border-color: rgba(255, 255, 255, .35); color: #fff !important; }

.hjt-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hjt-post { background: #fff; border: 1px solid var(--hjb-line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: box-shadow .15s, border-color .15s; }
.hjt-post:hover { border-color: #b9c7de; box-shadow: var(--hjb-shadow); }
.hjt-post img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.hjt-post__body { padding: 16px 18px 18px; }
.hjt-post__body h3 { font-size: 1.05rem; margin: 0 0 6px; line-height: 1.35; }
.hjt-post__body p { margin: 0; color: var(--hjb-muted); font-size: .92rem; }
.hjt-home-content { max-width: 860px; margin: 0 auto; padding: 40px 16px 0; }

/* ---------- Blog & pages ---------- */
.separate-containers .inside-article, .separate-containers .comments-area, .separate-containers .page-header, .one-container .container, .separate-containers .paging-navigation, .inside-page-header {
	border-radius: 14px; border: 1px solid var(--hjb-line, #e2e6ee);
}
.hjb-screen .inside-article { background: transparent; border: 0; padding: 0; }
.hjb-screen.page .entry-header { margin-bottom: 8px; }
.entry-title { line-height: 1.2; }
.page .entry-header .entry-title, .single .entry-header .entry-title { font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.6rem); margin-bottom: 8px; }
.entry-content { line-height: 1.75; }
.widget-area .widget { border-radius: 14px; border: 1px solid var(--hjb-line, #e2e6ee); }
.post-image img { border-radius: 10px; }


/* ---------- Blog ---------- */
.hjt-blog .site-content { display: block; }
.hjt-blog .site.grid-container { max-width: none; padding: 0; }
.hjt-bloglist, .hjt-article-wrap { max-width: 1180px; margin: 0 auto; padding: 32px 16px 0; }
.hjt-crumbs { font-size: .9rem; color: var(--hjb-muted); margin: 0 0 12px; }
.hjt-crumbs a { color: var(--hjb-muted); text-decoration: none; }
.hjt-crumbs a:hover { color: var(--hjb-brand); }
.hjt-bloghead { margin-bottom: 28px; }
.hjt-bloghead h1 { font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.6rem); margin: 0 0 8px; }
.hjt-bloghead__intro { color: var(--hjb-muted); max-width: 720px; font-size: 1.05rem; }
.hjt-bloghead__intro p { margin: 0; }
.hjt-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hjt-cats a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--hjb-line); background: #fff; color: var(--hjb-ink); text-decoration: none; font-weight: 600; font-size: .9rem; }
.hjt-cats a:hover, .hjt-cats a.is-active { background: var(--hjb-brand); border-color: var(--hjb-brand); color: #fff; }

.hjt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.hjt-card { background: #fff; border: 1px solid var(--hjb-line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; }
.hjt-card:hover { box-shadow: 0 10px 30px rgba(23, 32, 51, .08); transform: translateY(-2px); }
.hjt-card__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--hjb-brand-soft); }
.hjt-card__img img, .hjt-card__img .hjt-ph { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.hjt-card:hover .hjt-card__img img { transform: scale(1.03); }
.hjt-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.hjt-card__title { font-size: 1.15rem; line-height: 1.35; margin: 0; }
.hjt-card__title a { color: var(--hjb-ink); text-decoration: none; }
.hjt-card__title a:hover { color: var(--hjb-brand); }
.hjt-card__excerpt { margin: 0; color: var(--hjb-muted); font-size: .95rem; line-height: 1.6; }
.hjt-meta { margin: auto 0 0; display: flex; gap: 8px; flex-wrap: wrap; color: var(--hjb-muted); font-size: .85rem; }
.hjt-cat { align-self: flex-start; display: inline-block; padding: 4px 10px; border-radius: 6px; background: var(--hjb-brand-soft); color: var(--hjb-brand); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; text-decoration: none; }
.hjt-cat:hover { background: var(--hjb-brand); color: #fff; }
.hjt-ph { display: grid; place-items: center; background: linear-gradient(135deg, var(--hjb-brand), var(--hjb-brand-dark)); color: #fff; font-weight: 800; font-size: 1.1rem; padding: 16px; text-align: center; }
.hjt-pager, .hjt-bloglist .pagination { margin: 32px 0 0; }
.hjt-bloglist .nav-links { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.hjt-bloglist .nav-links .page-numbers { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--hjb-line); border-radius: 10px; background: #fff; color: var(--hjb-ink); text-decoration: none; font-weight: 600; }
.hjt-bloglist .nav-links .current { background: var(--hjb-brand); border-color: var(--hjb-brand); color: #fff; }
.hjt-empty { color: var(--hjb-muted); }
.hjt-cta--inline { margin: 40px 0 0; max-width: none; }

.hjt-article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.hjt-article { min-width: 0; background: #fff; border: 1px solid var(--hjb-line); border-radius: 18px; padding: 32px 40px 36px; }
.hjt-article__head { margin-bottom: 20px; }
.hjt-article__head .hjt-cat { margin-bottom: 12px; }
.hjt-article__title { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); line-height: 1.18; margin: 0 0 12px; }
.hjt-article__img { margin: 0 0 28px; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--hjb-brand-soft); }
.hjt-article__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hjt-article__content { font-size: 1.08rem; line-height: 1.8; color: var(--hjb-text); max-width: 760px; }
.hjt-article__content h2 { font-size: 1.6rem; margin: 1.8em 0 .6em; line-height: 1.25; }
.hjt-article__content h3 { font-size: 1.3rem; margin: 1.5em 0 .5em; }
.hjt-article__content img { border-radius: 12px; height: auto; }
.hjt-article__content a { text-decoration: underline; text-underline-offset: 3px; }
.hjt-article__content blockquote { margin: 1.5em 0; padding: 14px 20px; border-left: 4px solid var(--hjb-brand); background: var(--hjb-brand-soft); border-radius: 0 10px 10px 0; font-style: normal; }
.hjt-share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--hjb-line); }
.hjt-share span { font-weight: 700; color: var(--hjb-ink); margin-right: 4px; }
.hjt-share a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--hjb-line); text-decoration: none; color: var(--hjb-ink); font-weight: 600; font-size: .88rem; }
.hjt-share a:hover { border-color: var(--hjb-brand); color: var(--hjb-brand); }
.hjt-article .hjt-cta--inline { margin-top: 32px; padding: 26px 26px; border-radius: 16px; }
.hjt-article .hjt-cta h2 { font-size: 1.35rem; }

.hjt-side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 18px; }
.admin-bar .hjt-side { top: 132px; }
.hjt-side__box { background: #fff; border: 1px solid var(--hjb-line); border-radius: 16px; padding: 20px; }
.hjt-side__box h2 { font-size: 1.1rem; margin: 0 0 12px; }
.hjt-side__box p { color: var(--hjb-muted); margin: 0 0 12px; font-size: .95rem; }
.hjt-side__box--brand { background: var(--hjb-brand); border-color: var(--hjb-brand); }
.hjt-side__box--brand h2 { color: #fff; }
.hjb-search--side { flex-direction: column; padding: 8px; gap: 0; margin: 0; box-shadow: none; border: 0; }
.hjb-search--side .hjb-search__field + .hjb-search__field { border-left: 0; border-top: 1px solid var(--hjb-line); }
.hjb-search--side .hjb-btn { margin-top: 8px; width: 100%; }
.hjt-side__jobs { list-style: none; margin: 0; padding: 0; }
.hjt-side__jobs li { margin: 0; border-top: 1px solid var(--hjb-line); }
.hjt-side__jobs li:first-child { border-top: 0; }
.hjt-side__jobs a { display: block; padding: 10px 0; text-decoration: none; }
.hjt-side__jobs strong { display: block; color: var(--hjb-ink); line-height: 1.35; }
.hjt-side__jobs span { font-size: .85rem; color: var(--hjb-muted); }
.hjt-side__jobs a:hover strong { color: var(--hjb-brand); }
.hjt-side__more { display: inline-block; margin-top: 8px; font-weight: 700; text-decoration: none; }
.hjt-related { margin-top: 48px; }
.hjt-article .comments-area { margin-top: 32px; padding: 0; border: 0; }
.hjt-article textarea, .hjt-article input[type="text"], .hjt-article input[type="email"], .hjt-article input[type="url"] { width: 100%; max-width: 100%; box-sizing: border-box; border: 1px solid #cfd6e2; border-radius: 10px; padding: 10px 12px; }
.hjt-related > h2 { font-size: 1.6rem; margin: 0 0 18px; }

@media (max-width: 1024px) {
	.hjt-article-grid { grid-template-columns: minmax(0, 1fr); }
	.hjt-side { position: static; }
}
@media (max-width: 860px) { .hjt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
	.hjt-grid { grid-template-columns: 1fr; }
	.hjt-article { padding: 20px 18px 24px; border-radius: 14px; }
	.hjt-article__content { font-size: 1.02rem; }
	.hjt-bloglist, .hjt-article-wrap { padding-top: 20px; }
}

/* ---------- Footer ---------- */
.hjt-footer { background: var(--hjb-ink, #172033); color: rgba(255, 255, 255, .78); margin-top: 64px; font-size: .95rem; }
.hjt-footer__in { max-width: 1180px; margin: 0 auto; padding: 48px 16px 24px; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.hjt-footer h2 { color: #fff; font-size: 1rem; margin: 0 0 12px; }
.hjt-footer ul { list-style: none; margin: 0; padding: 0; }
.hjt-footer li { margin: 0 0 8px; }
.hjt-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.hjt-footer a:hover { color: #fff; text-decoration: underline; }
.hjt-footer__brand img { max-height: 46px; width: auto; background: #fff; border-radius: 10px; padding: 6px 10px; margin-bottom: 12px; }
.hjt-footer__brand .hjt-footer__name { color: #fff; font-weight: 800; font-size: 1.2rem; display: block; margin-bottom: 8px; }
.hjt-footer__safe { margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .06); font-size: .85rem; }
.hjt-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.hjt-footer__bottom div { max-width: 1180px; margin: 0 auto; padding: 16px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; }
.site-footer .site-info { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
	.hjt-steps, .hjt-posts { grid-template-columns: 1fr; }
	.hjt-footer__in { grid-template-columns: 1fr 1fr; }
	.hjt-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
	.hjt-bar .hjt-signin { display: none; }
	.hjt-bar .hjb-lang { display: none; }
	.hjt-mobile-lang { display: block !important; text-align: center; padding: 10px 0 0; }
}
@media (max-width: 600px) {
	.hjt-hero { padding: 40px 16px 48px; }
	.hjt-hero::after { display: none; }
	.hjt-badge { font-size: .78rem; padding: 6px 12px; margin-bottom: 14px; }
	.hjt-trust { font-size: .82rem; gap: 6px 14px; }
	.hjt-cta { margin: 32px 16px 0; padding: 26px 20px; }
	.hjt-bar .hjb-btn { padding: 7px 10px; font-size: .85rem; }
	.site-logo img, .site-header .header-image, .site-logo .custom-logo { max-height: 40px; max-width: 170px; }
}
.hjt-mobile-lang { display: none; }
