/* ==========================================================================
   Homepage Design — matches the GIG-style reference layout
   Color palette: dark brown/maroon headers, orange/gold accents, black footer
   Scoped to the front page (body.home) so archive/single templates are untouched.
   ========================================================================== */

:root {
	--jk-brown: #6b4a2f;
	--jk-brown-dark: #4a3220;
	--jk-orange: #c8781f;
	--jk-tan: #fbeedc;
	--jk-text: #333;
	--jk-muted: #888;
	--jk-glow: rgba(200, 120, 31, .55);
}



/* ---- Top header bar restyle ---- */

.header .logo h1 a {
	color: var(--jk-brown-dark);
	font-weight: 800;
	letter-spacing: .5px;
}
.sitenav ul li a {
	text-transform: uppercase;
	font-weight: 600;
	font-size: 13px;
}
.sitenav ul li a:hover {
	color: var(--jk-orange);
}

/* ---- Page shell: centered, generous side margins, sidebar forced to the right ---- */
body.home .container {
	max-width: 1250px;
	margin: 0 auto;
	padding: 0 32px;
	box-sizing: border-box;
}
body.home #page_content {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 33.33%;
	column-gap: 40px;
	align-items: start;
	padding: 24px 0;
}
body.home .home-main {
	grid-column: 1;
	float: none;
	width: auto;
	min-width: 0;
}
body.home #sidebar.job-sidebar {
	grid-column: 2;
	float: none;
	width: auto;
	/* separation line between sidebar and posts */
	border-left: 1px solid #e6e2db;
	padding-left: 30px;
}



/* ---- Hero: hero post + 3 mini cards, ALL inside one black box ---- */
.home-hero {
	position: relative;
	background: #1b120b;
	color: #fff;
	border-radius: 4px;
	padding: 28px;
	margin-bottom: 30px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}
/* The whole hero post (title, text, image) is one clickable link, side by
   side: text on the left, image on the right, matching the reference. */
.home-hero-main {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 28px;
	width: 100%;
	color: #fff;
	text-decoration: none;
}
.home-hero-main-text {
	flex: 1 1 320px;
}
.home-hero-main:hover .home-hero-btn {
	background: #ffffff;
}
.home-hero-main:hover .home-hero-img img {
	transform: scale(1.02);
}
.home-hero-tag {
	    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #FFDBBB;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.home-hero-tag::before {
	content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FFDBBB;
}
.home-hero-main h2 { margin: 0 0 12px; font-size: 26px; line-height: 1.3; color: #fff; }
.home-hero-main p { color: #b8a798; font-size: 14px; margin-bottom: 18px !important; max-width: 380px; }
.home-hero-img { flex: 1 1 320px; margin-top: 0; }
.home-hero-img img { width: 100%; max-width: 100%; border-radius: 4px; display: block; transition: transform .35s ease; }

.home-hero-btn {
	    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFDBBB;
    color: #4a3220;
    font-size: 13px;
    font-weight: 700;
    padding: 11px 20px;
    border-radius: 8px;
    transition: transform 0.2s ease, background 0.2s ease;
}
.home-hero-btn:hover {
	background: var(--jk-orange);
	box-shadow: 0 0 16px var(--jk-glow);
}

/* Mini cards sit directly on the hero's black background — no card chrome —
   as a full-width row underneath the main hero post. */
.home-hero-side {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	align-content: start;
}
.home-hero-mini {
	display: flex;
	flex-direction: column;
	background: #241a14;
    border: 1px solid #3a2c22;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
}

.home-hero-mini:hover {
	border-color: #997E67;
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.35);
}

.home-hero-mini-thumb {
	position: relative;
    aspect-ratio: 16 / 10;
    background: #2a2019;
    overflow: hidden;
}

.home-hero-mini-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}
/* Badge sits at the TOP-left of the mini thumbnail (the shared .home-badge
   class defaults to bottom-left, which is correct for the big grid cards
   but not here) — and stays visible even if the term name is short/long. */
.home-hero-mini-thumb .home-badge { top: 10px; bottom: auto; left: 10px; }
.home-hero-mini-title {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	margin-bottom: 14px;
        color: #fff
}
.home-hero-mini-byline { display: block; font-size: 11px; color: var(--jk-orange); }
.home-hero-mini:hover .home-hero-mini-thumb img { transform: scale(1.06); filter: brightness(1.08); }
.home-hero-mini:hover .home-hero-mini-thumb { box-shadow: 0 0 18px var(--jk-glow); }


/* Light variant (used in the featured/related row, on a white background) */
.home-hero-mini--light { color: var(--jk-text); }
.home-hero-mini--light .home-hero-mini-title { color: var(--jk-text); }
.home-hero-mini--light .home-hero-mini-byline { color: var(--jk-brown); }
.home-hero-mini--light:hover .home-hero-mini-title { color: var(--jk-orange); }

/* Badge shown inline (no image / not overlaid on a thumb) */
.home-badge--inline {
	display: inline-block;
	position: static;
	margin: 0 0 8px;
}

/* ---- Section headers ---- */
.home-section-bar {
	background: var(--jk-brown);
	color: #fff;

	font-weight: 700;
	letter-spacing: .5px;
	font-size: 14px;
	padding: 12px 18px;
	margin: 30px 0 18px;
	border-radius: 2px;
}

.home-section-bar-alt {
	background: none;
	color: var(--jk-brown-dark);
	border-bottom: 2px solid #eee;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 0;
}
.home-view-more { font-size: 12px; color: var(--jk-brown); text-transform: none; font-weight: 600; }

/* ---- Card grid ---- */
.home-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px;
}
.home-grid-3 { grid-template-columns: repeat(3, 1fr); }
.home-card {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 4px;
	overflow: hidden;
	transition: box-shadow .25s ease;
}
.home-card:hover { box-shadow: 0 4px 22px rgba(0,0,0,.08); }
.home-card-thumb { position: relative; overflow: hidden; }
.home-card-thumb img { width: 100%; height: 190px; object-fit: cover; display: block; transition: transform .35s ease, filter .35s ease; }
.home-card:hover .home-card-thumb img { transform: scale(1.06); filter: brightness(1.05); }
.home-badge {
	position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(20, 14, 10, 0.85);
    color: #FFDBBB;
    font-size: 10px;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 999px;
    backdrop-filter: blur(2px);
    font-weight: 700;
    letter-spacing: 0.04em;
}
.home-card-body { padding: 16px; }
/* No-image cards get a touch more top padding since there's no thumb above the badge */
.home-card--no-thumb .home-card-body { padding-top: 18px; }
.home-card-title { font-size: 17px; line-height: 1.35; margin: 0 0 8px; }
.home-card-title a { color: var(--jk-text); text-decoration: none; }
.home-card:hover .home-card-title a { color: var(--jk-orange); }
.home-card-meta { font-size: 11px; color: var(--jk-muted); text-transform: uppercase; margin-bottom: 10px; }
.home-card-excerpt { font-size: 13px; color: #555; margin-bottom: 14px; }
.home-readmore {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	color: #FFDBBB
}
.home-hero-mini-content {
	padding: 14px 16px 16px;
}
.home-card:hover .home-readmore {
	background: var(--jk-orange);
	box-shadow: 0 0 14px var(--jk-glow);
}

/* ---- "Latest News" carousel ---- */
.home-news-carousel {
	position: relative;
	padding: 0 46px;
}
.home-news-track {
	display: flex;
	overflow: hidden;
}
.home-news-slide {
	flex: 0 0 100%;
	min-width: 100%;
}
.home-news-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid #e6e2db;
	background: #fff;
	color: var(--jk-brown-dark);
	font-size: 16px;
	cursor: pointer;
	transition: box-shadow .2s ease, background .2s ease, color .2s ease;
}
.home-news-arrow:hover { background: var(--jk-brown); color: #fff; box-shadow: 0 0 14px var(--jk-glow); }
.home-news-arrow--prev { left: 0; }
.home-news-arrow--next { right: 0; }
.home-news-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.home-news-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: none;
	background: #ddd;
	cursor: pointer;
	padding: 0;
}
.home-news-dot.is-active { background: var(--jk-brown); }

/* ---- Featured / Related row (light card + 2 stacked mini cards) ---- */
.home-featured-row {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin: 30px 0;
	padding: 22px;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 4px;
}
.home-featured-main { flex: 1 1 380px; }
.home-featured-thumb { position: relative; border-radius: 4px; overflow: hidden; margin-bottom: 14px; }
.home-featured-thumb img { width: 100%; max-height: 340px; object-fit: cover; display: block; transition: transform .35s ease; }
.home-featured-main:hover .home-featured-thumb img { transform: scale(1.03); }
.home-featured-title { font-size: 22px; line-height: 1.35; margin: 0 0 8px; }
.home-featured-title a { color: var(--jk-text); text-decoration: none; }
.home-featured-main:hover .home-featured-title a { color: var(--jk-orange); }
.home-featured-byline { font-size: 12px; color: var(--jk-muted); text-transform: uppercase; }
.home-featured-side {
	flex: 1 1 260px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.home-featured-side .home-hero-mini { display: flex; gap: 12px; align-items: flex-start; }
.home-featured-side .home-hero-mini-thumb { flex: 0 0 90px; width: 90px; }
.home-featured-side .home-hero-mini-thumb img { height: 64px; }
.home-featured-side .home-hero-mini-title { padding-top: 0; }

/* ---- "News Updates" closing section (replaces the old "View All Jobs" button) ---- */
.home-news-updates {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}
.home-news-updates-main { flex: 1 1 400px; }
.home-news-updates-main .home-card-thumb img { height: 260px; }
.home-news-updates-list {
	flex: 1 1 300px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.home-news-item {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid #eee;
	text-decoration: none;
}
.home-news-updates-list a.home-news-item:last-child { border-bottom: none; }
.home-news-item-thumb { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 4px; overflow: hidden; }
.home-news-item-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.home-news-item:hover .home-news-item-thumb img { transform: scale(1.08); }
.home-news-item-title { font-size: 14px; font-weight: 700; color: var(--jk-text); line-height: 1.35; }
.home-news-item:hover .home-news-item-title { color: var(--jk-orange); }
.home-news-item-date { font-size: 11px; color: var(--jk-muted); text-transform: uppercase; margin-top: 4px; }

/* ---- Sidebar ---- */
.job-sidebar-box {
	background: #FFF8F1;
    border: 1px solid #CCBEB1;
    overflow: hidden;    
    margin: 20px auto;
}
.job-sidebar-search .search-form { display: flex; }
.job-sidebar-search input[type="search"] {
	flex: 1;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 2px 0 0 2px;
}
.job-sidebar-search button,
.job-sidebar-search input[type="submit"] {
	background: var(--jk-brown);
	color: #fff;
	border: none;
	padding: 0 18px;
	text-transform: uppercase;
	font-size: 12px;
	border-radius: 0 2px 2px 0;
	cursor: pointer;
	transition: background .2s ease;
}
.job-sidebar-search button:hover,
.job-sidebar-search input[type="submit"]:hover { background: var(--jk-orange); }
.job-sidebar-title {
	    background: linear-gradient(90deg, #664930, #997E67, #664930);
    background-size: 200% 100%;
    color: #FFDBBB;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0;
    padding: 12px 16px;
}
.job-recent-list { list-style: none; margin: 0; padding: 5px; }
.job-recent-list li {     
    padding: 12px 10px !important;
    border-bottom: 1px solid #EADFD3 !important;
    border-radius: 8px;
    transition: background 0.25s ease, transform 0.25s ease, padding-left 0.25s ease; }
.job-recent-list li:hover { background: #F3E7DA; }
.job-recent-list li a:hover {   color: #866a52 !important; }
.job-recent-list li:last-child { border-bottom: none; }
.job-recent-list a { color: var(--jk-text); text-decoration: none; font-size: 14px; font-weight: 600; }
.job-recent-list a:hover { color: var(--jk-orange); }
.job-recent-meta { font-size: 11px; color: #a8917d; text-transform: uppercase; margin-top: 4px; }
.job-recent-cat {     color: #997E67;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    transition: transform 0.2s ease; margin-left: 6px; }

.job-cat-pill-grid { display: flex; flex-wrap: wrap; gap: 9px; padding: 18px 16px; }
.job-cat-pill {
	    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 16px;
    background: linear-gradient(135deg, #FFDBBB, #F3D0AE);
    border: 1px solid #CCBEB1;
    border-radius: 999px;
    color: #664930;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.25s ease, background 0.3s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.3s ease;
}
.job-cat-pill .dot {     width: 6px;
    height: 6px;
    display: inline-flex;
    border-radius: 50%;
    background: #997E67;
    flex-shrink: 0;
    margin-right: 5px;
}
.job-cat-pill:hover { background: linear-gradient(135deg, #997E67, #664930);
    border-color: #664930;
    color: #FFDBBB;
    box-shadow: 0 10px 20px rgba(102, 73, 48, 0.35); }

.job-cat-pill:hover .dot{    background: #FFDBBB;}

/* ---- Footer restyle ---- */
#footer-wrapper { background: #17110b; color: #ccc; }
.copyright-wrapper { background: #0e0a06; padding: 14px 0; }
.copyright-txt, .footer-links a { color: #bbb; font-size: 12px; }
.footer-links a { margin: 0 8px; text-decoration: none; }
.footer-links a:hover { color: var(--jk-orange); }




.home-section-bar {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	min-height: 60px;
	padding: 0 20px;
	margin: 28px 0 20px;
	background: #6f4b32;
	border-left: 4px solid #ffd9bb;
	box-sizing: border-box;
}

.home-section-mark {
	width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #FFDBBB !important;
    flex-shrink: 0 !important;
    box-shadow: 0 0 0 4px rgba(255, 219, 187, 0.2) !important;
}

.home-section-label {
	color: #ffffff;
	font-size: 25px;
	font-weight: 700;
	line-height: 1;
}

.home-section-accent {
	color: #ffdbbb;
	font-size: 25px;
	font-weight: 700;
	line-height: 1;
}

.jk-updates-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.jk-updates-card {
	background: #ffffff;
	border: 1px solid #e5e0dc;
	border-radius: 14px;
	overflow: hidden;
	box-sizing: border-box;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}




/* IMAGE */

.jk-updates-image {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.jk-updates-image-link {
	display: block;
	width: 100%;
	height: 100%;
}

.jk-updates-image img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	transition: transform 0.35s ease;
}




/* IMAGE CATEGORY BADGE */

.jk-updates-category {
	position: absolute;
	left: 14px;
	bottom: 0;
	z-index: 5;

	display: inline-block;

	padding: 6px 11px;

	background: #8b6d54;
	color: #ffffff !important;

	font-size: 12px;
	font-weight: 700;
	line-height: 1;

	text-decoration: none !important;
	text-transform: uppercase;
}

.jk-updates-category:hover {
	background: #6f513d;
	color: #ffffff !important;
}


/* CONTENT */

.jk-updates-content {
	padding: 28px 32px 32px;
}


/* TITLE */

.jk-updates-title {
	margin: 0 0 14px;
	font-size: 18px;
	line-height: 1.35;
	font-weight: 700;
}

.jk-updates-title a {
	color: #222222;
	text-decoration: none;
}

.jk-updates-title a:hover {
	color: #8b6d54;
}


/* DATE + CATEGORY */

.jk-updates-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px;

	margin-bottom: 20px;

	font-size: 12px;
	line-height: 1.4;
	color: #999999;
}

.jk-updates-date {
	color: #999999;
}

.jk-updates-separator {
	color: #999999;
}

.jk-updates-meta-category {
	color: #8b6d54;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: 600;
}

.jk-updates-meta-category:hover {
	color: #6f513d;

}


/* DESCRIPTION */

.jk-updates-description {
	margin-bottom: 24px;

	color: #666666;

	font-size: 14px;
	line-height: 1.7;
}


/* READ MORE */

.jk-updates-readmore {
	display: inline-block;

	padding: 6px 20px;

	background: #8b6d54;
	color: #ffffff !important;

	font-size: 13px;
	font-weight: 700;

	text-decoration: none !important;
	text-transform: uppercase;

	border-radius: 2px;

	transition: background 0.2s ease;
}

.jk-updates-readmore:hover {
	background: #6f513d;
	color: #ffffff !important;
}


/* NO IMAGE */

.jk-updates-category--inline {
	position: static;
	margin-bottom: 15px;
}


/* MOBILE */

@media (max-width: 900px) {

	.jk-updates-grid {
		grid-template-columns: 1fr;
	}

}

@media (max-width: 600px) {

	.jk-updates-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.jk-updates-image {
		height: 220px;
	}

	.jk-updates-content {
		padding: 22px;
	}

	.jk-updates-title {
		font-size: 21px;
	}

	.jk-updates-description {
		font-size: 15px;
	}

}

/* =========================================================
   LATEST NEWS
   ========================================================= */

.jk-news-heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 22px;
	margin-top: 40px;
	padding: 0 0 18px;

}

.jk-news-heading-left h2 {
	margin: 0;
	color: #222222;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}

.jk-news-heading-left h2::after {
	content: "";
	display: block;
	width: 50px;
	height: 1px;
	margin-top: 18px;
	background: #8b6d54;
}

.jk-news-view-more {
	display: inline-block;
	padding: 0px 18px;
	border: 1px solid #e2ddd8;
	border-radius: 20px;
	color: #999999;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
}

.jk-news-view-more:hover {
	color: #8b6d54;
	border-color: #8b6d54;
}


/* =========================================================
   CAROUSEL
   ========================================================= */

.jk-news-carousel {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.jk-news-track {
	display: flex;
	width: 100%;
	margin: 0;
	padding: 0;
	transition: transform 0.5s ease;
	will-change: transform;
}


/* =========================================================
   CARD
   ========================================================= */

.jk-news-card {
	position: relative;

	flex: 0 0 33.333333%;
	width: 33.333333%;

	margin: 0;
	padding: 0;

	background: #ffffff;

	border: 1px solid #eeeeee;
	border-radius: 10px;

	overflow: hidden;

	box-sizing: border-box;

	box-shadow: 0 5px 18px rgba(0, 0, 0, 0.05);
}


/* =========================================================
   IMAGE
   ========================================================= */

.jk-news-image {
	position: relative;

	display: block;

	width: 100%;


	margin: 0;
	padding: 0;

	overflow: hidden;

	background: #f5f5f5;
}

.jk-news-image-link {
	display: block;

	width: 100%;
	height: 100%;

	margin: 0;
	padding: 0;

	text-decoration: none;
}

.jk-news-image img {
	display: block;

	width: 100%;
	height: 100%;

	margin: 0;
	padding: 0;

	object-fit: cover;

	transition: transform 0.35s ease;
}

.jk-news-card:hover .jk-news-image img {
	transform: scale(1.03);
}


/* =========================================================
   CATEGORY BADGE
   ========================================================= */

.jk-news-category {
	position: absolute;

	left: 0;
	bottom: 0;

	z-index: 5;

	display: inline-block;

	padding: 6px 11px;

	background: #8b6d54;
	color: #ffffff !important;

	font-size: 10px;
	font-weight: 700;
	line-height: 1;

	text-decoration: none !important;
	text-transform: uppercase;
}

.jk-news-category:hover {
	background: #6f513d;
	color: #ffffff !important;
}


/* =========================================================
   CONTENT
   ========================================================= */

.jk-news-content {
	padding: 0 18px 18px;
}


/* =========================================================
   TITLE
   ========================================================= */

.jk-news-title {
	margin: 0 0 12px;

	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;

	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.jk-news-title a {
	color: #222222;
	text-decoration: none;
}

.jk-news-title a:hover {
	color: #8b6d54;
}


/* =========================================================
   DATE
   ========================================================= */

.jk-news-date {
	margin-bottom: 18px;

	color: #999999;

	font-size: 12px;
	line-height: 1.4;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.jk-news-description {
	margin-bottom: 22px;

	color: #666666;

	font-size: 12px;
	line-height: 1.7;

	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}


/* =========================================================
   READ MORE
   ========================================================= */

.jk-news-readmore {
	display: inline-block;

	padding: 2px 20px;

	background: #8b6d54;
	color: #ffffff !important;

	font-size: 11px;
	font-weight: 700;

	text-decoration: none !important;
	text-transform: uppercase;

	border-radius: 2px;
}

.jk-news-readmore:hover {
	background: #6f513d;
	color: #ffffff !important;
}


/* =========================================================
   ARROWS
   HIDDEN BY DEFAULT
   ========================================================= */
.jk-news-arrow {
	position: absolute;
	top: 18%;
	z-index: 20;

	width: 50px;
	height: 50px;

	padding: 0;
	border: 0;
	border-radius: 50%;

	background: #ffffff;
	color: #222222;

	font-size: 27px;
	line-height: 50px;

	cursor: pointer;

	box-shadow: 0 3px 15px rgba(0, 0, 0, 0.12);

	transform: translateY(-50%);

	opacity: 0;
	visibility: hidden;
	pointer-events: none;

	transition:
		opacity 0.2s ease,
		visibility 0.2s ease,
		background 0.2s ease,
		color 0.2s ease;
}




/*
 * Show arrows ONLY when a card is hovered.
 * :has() checks whether the carousel contains
 * a hovered card.
 */
.jk-news-carousel:hover .jk-news-arrow {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}





.jk-news-arrow-prev {
	left: 0px;
}

.jk-news-arrow-next {
	right: 0px;
}


/* =========================================================
   DOTS
   ========================================================= */

.jk-news-dots {
	display: flex;
	justify-content: center;
	align-items: center;

	gap: 8px;

	margin-top: 28px;
}

.jk-news-dot {
	width: 10px;
	height: 10px;

	padding: 0;

	border: 1px solid #bdbdbd;
	border-radius: 50%;

	background: transparent;

	cursor: pointer;
}

.jk-news-dot.is-active {
	background: #8b6d54;
	border-color: #8b6d54;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

	.jk-news-heading {
		margin-bottom: 18px;
	}

	.jk-news-heading-left h2 {
		font-size: 20px;
	}

	.jk-news-view-more {
		font-size: 13px;
		padding: 6px 14px;
	}


	.jk-news-card {
		flex: 0 0 100%;
		width: 100%;
	}


	.jk-news-image {
		height: 230px;
	}


	.jk-news-content {
		padding: 18px 20px 22px;
	}


	.jk-news-title {
		font-size: 21px;
	}


	.jk-news-description {
		font-size: 15px;
	}


	.jk-news-arrow {
		width: 42px;
		height: 42px;

		font-size: 23px;
		line-height: 42px;
	}


	.jk-news-arrow-prev {
		left: 5px;
	}

	.jk-news-arrow-next {
		right: 5px;
	}

}

/* =========================================================
   LATEST UPDATES - TEXT ONLY
   Same styling as jk-updates cards
   No image / no badge
   ========================================================= */

.jk-text-updates-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}


/* CARD */

.jk-text-updates-card {
	background: #ffffff;
	border: 1px solid #e5e0dc;
	border-radius: 14px;
	overflow: hidden;
	box-sizing: border-box;

	transition: box-shadow 0.25s ease, transform 0.25s ease;
}



/* CONTENT */

.jk-text-updates-content {
	padding: 28px 32px 32px;
}


/* TITLE */

.jk-text-updates-title {
	margin: 0 0 14px;

	font-size: 18px;
	line-height: 1.35;
	font-weight: 700;
}

.jk-text-updates-title a {
	color: #222222;
	text-decoration: none;
}

.jk-text-updates-title a:hover {
	color: #8b6d54;
}


/* DATE + CATEGORY */

.jk-text-updates-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px;

	margin-bottom: 20px;

	font-size: 12px;
	line-height: 1.4;
	color: #999999;
}

.jk-text-updates-date {
	color: #999999;
}

.jk-text-updates-separator {
	color: #999999;
}

.jk-text-updates-meta-category {
	color: #8b6d54;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: 600;
}

.jk-text-updates-meta-category:hover {
	color: #6f513d;
}


/* DESCRIPTION */

.jk-text-updates-description {
	margin-bottom: 24px;

	color: #666666;

	font-size: 14px;
	line-height: 1.7;

	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}


/* READ MORE */

.jk-text-updates-readmore {
	display: inline-block;

	padding: 6px 20px;

	background: #8b6d54;
	color: #ffffff !important;

	font-size: 13px;
	font-weight: 700;

	text-decoration: none !important;
	text-transform: uppercase;

	border-radius: 2px;

	transition: background 0.2s ease;
}

.jk-text-updates-readmore:hover {
	background: #6f513d;
	color: #ffffff !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

	.jk-text-updates-grid {
		grid-template-columns: 1fr;
	}

}


@media (max-width: 600px) {

	.jk-text-updates-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.jk-text-updates-content {
		padding: 22px;
	}

	.jk-text-updates-title {
		font-size: 21px;
	}

	.jk-text-updates-description {
		font-size: 15px;
	}

}

/* =========================================================
   NEWS UPDATES
   ========================================================= */

.jk-news-updates-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(300px, 1.05fr);
	gap: 0px;
	align-items: start;
}


/* =========================================================
   MAIN CARD
   ========================================================= */

.jk-news-updates-main-card {
	background: #ffffff;
	overflow: hidden;
}


/* IMAGE */

.jk-news-updates-main-image {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.jk-news-updates-main-image-link {
	display: block;
	width: 100%;
}

.jk-news-updates-main-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;

	transition: transform 0.35s ease;
}

.jk-news-updates-main-card:hover
.jk-news-updates-main-image img {
	transform: scale(1.03);
}


/* MAIN CATEGORY BADGE */

.jk-news-updates-main-category {
	position: absolute;
	left: 0;
	bottom: 0;

	z-index: 5;

	display: inline-block;

	padding: 6px 11px;

	background: #8b6d54;
	color: #ffffff !important;

	font-size: 10px;
	font-weight: 700;
	line-height: 1;

	text-decoration: none !important;
	text-transform: uppercase;
}

.jk-news-updates-main-category:hover {
	background: #6f513d;
	color: #ffffff !important;
}


/* MAIN CONTENT */

.jk-news-updates-main-content {
	padding: 20px 0 0;
}


/* TITLE */

.jk-news-updates-main-title {
	margin: 0 0 12px;

	font-size: 20px;
	line-height: 1.3;
	font-weight: 700;
}

.jk-news-updates-main-title a {
	color: #222222;
	text-decoration: none;
}

.jk-news-updates-main-title a:hover {
	color: #8b6d54;
}


/* DATE + CATEGORY */

.jk-news-updates-main-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px;

	margin-bottom: 20px;

	font-size: 12px;
	line-height: 1.4;
	color: #999999;
}

.jk-news-updates-main-date {
	color: #999999;
}

.jk-news-updates-main-separator {
	color: #999999;
}

.jk-news-updates-main-meta-category {
	color: #8b6d54;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: 600;
}

.jk-news-updates-main-meta-category:hover {
	color: #6f513d;
}


/* DESCRIPTION */

.jk-news-updates-main-description {
	color: #666666;

	font-size: 14px;
	line-height: 1.7;

	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}


/* =========================================================
   RIGHT SIDE LIST
   ========================================================= */

.jk-news-updates-list {
	display: flex;
	flex-direction: column;
	gap: 30px;
}


/* ITEM */

.jk-news-updates-item {
	display: flex;
	align-items: flex-start;
	gap: 22px;

	width: 100%;

	text-decoration: none;

	box-sizing: border-box;
}


/* THUMBNAIL */

.jk-news-updates-item-image {
	flex: 0 0 138px;
	width: 138px;
	height: 95px;

	overflow: hidden;
}

.jk-news-updates-item-image img {
	display: block;

	width: 100%;
	height: 100%;

	object-fit: cover;

	transition: transform 0.3s ease;
}

.jk-news-updates-item:hover
.jk-news-updates-item-image img {
	transform: scale(1.05);
}


/* CONTENT */

.jk-news-updates-item-content {
	flex: 1;
	min-width: 0;
}


/* TITLE */

.jk-news-updates-item-title {
	margin: 0 0 12px;

	color: #222222;

	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
}

.jk-news-updates-item:hover
.jk-news-updates-item-title {
	color: #8b6d54;
}


/* DATE */

.jk-news-updates-item-date {
	color: #999999;

	font-size: 11px;
	line-height: 1.4;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

	.jk-news-updates-layout {
		grid-template-columns: 1fr;
		gap: 35px;
	}

	.jk-news-updates-main-image img {
		height: 300px;
	}

	.jk-news-updates-list {
		gap: 22px;
	}

}


@media (max-width: 600px) {

	.jk-news-updates-layout {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.jk-news-updates-main-image img {
		height: 230px;
	}

	.jk-news-updates-main-title {
		font-size: 21px;
	}

	.jk-news-updates-main-description {
		font-size: 14px;
	}

	.jk-news-updates-list {
		gap: 20px;
	}

	.jk-news-updates-item {
		gap: 15px;
	}

	.jk-news-updates-item-image {
		flex: 0 0 100px;
		width: 100px;
		height: 75px;
	}

	.jk-news-updates-item-title {
		font-size: 14px;
	}

}

/* =========================================================
   FEATURED JOB SECTION
   ========================================================= */

.jk-featured-section {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr);
    gap: 10px;
    margin: 30px 0;
}


/* =========================================================
   MAIN FEATURED CARD
   ========================================================= */

.jk-featured-main {
    min-width: 0;
}

.jk-featured-main-card {
    position: relative;

    display: block;

    width: 100%;
    height: 445px;

    overflow: hidden;

    text-decoration: none !important;

    background: #241a14;

    border-radius: 0;

    box-sizing: border-box;
}


.jk-featured-main-image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;
}

.jk-featured-main-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.4s ease;
}


.jk-featured-main-card:hover .jk-featured-main-image img {
    transform: scale(1.03);
}


/* DARK OVERLAY */

.jk-featured-main-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.78) 0%,
            rgba(0, 0, 0, 0.28) 45%,
            rgba(0, 0, 0, 0.05) 75%
        );

    pointer-events: none;
}


/* MAIN CONTENT */

.jk-featured-main-content {
    position: absolute;

    left: 15px;
    right: 30px;
    bottom: 25px;

    z-index: 2;
}


/* BADGE */

.jk-featured-main-badge,
.jk-featured-mini-badge {
    display: inline-block;

    padding: 6px 10px;

    background: #8b6d54;

    color: #ffffff;

    font-size: 12px;
    font-weight: 700;

    line-height: 1.2;

    text-transform: uppercase;

    text-decoration: none;
}


/* TITLE */

.jk-featured-main-title {
    margin: 18px 0 18px;

    color: #ffffff !important;

    font-size: 20px;
    font-weight: 700;

    line-height: 1.18;

    text-decoration: none !important;
}


/* DATE */

.jk-featured-main-date {
    color: #ffffff;

    font-size: 12px;
    font-weight: 400;

    line-height: 1.4;

    opacity: 0.9;
}


/* =========================================================
   RIGHT SIDE
   ========================================================= */

.jk-featured-side {
    display: grid;

    grid-template-rows: repeat(2, 1fr);

    gap: 8px;

    min-width: 0;
}


.jk-featured-mini-card {
    position: relative;

    display: block;

    min-width: 0;
    min-height: 0;

    overflow: hidden;

    text-decoration: none !important;

    background: #241a14;
}


.jk-featured-mini-image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;
}


.jk-featured-mini-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.4s ease;
}


.jk-featured-mini-card:hover .jk-featured-mini-image img {
    transform: scale(1.04);
}


/* SIDE OVERLAY */

.jk-featured-mini-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.78) 0%,
            rgba(0, 0, 0, 0.25) 65%,
            rgba(0, 0, 0, 0.05) 100%
        );

    pointer-events: none;
}


/* SIDE CONTENT */

.jk-featured-mini-content {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 20px 14px;

    z-index: 2;
}


.jk-featured-mini-title {
    margin: 12px 0 8px;

    color: #ffffff !important;

    font-size: 12px;
    font-weight: 700;

    line-height: 1.3;

    text-decoration: none !important;
}


.jk-featured-mini-date {
    color: #ffffff;

    font-size: 10px;

    line-height: 1.3;

    opacity: 0.9;
}


/* =========================================================
   NO THUMB
   ========================================================= */

.jk-featured-main-card--no-thumb,
.jk-featured-mini-card--no-thumb {
    background: #241a14;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .jk-featured-section {
        grid-template-columns: 1fr;
    }

    .jk-featured-main-card {
        height: 400px;
    }

    .jk-featured-side {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 220px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .jk-featured-section {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .jk-featured-main-card {
        height: 350px;
    }

    .jk-featured-main-content {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

    .jk-featured-main-title {
        font-size: 25px;
        line-height: 1.2;
        margin: 14px 0;
    }

    .jk-featured-side {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(2, 220px);
    }

    .jk-featured-mini-title {
        font-size: 16px;
    }

}

/* =========================================================
   FINAL RESPONSIVE FIX
   Desktop → Tablet → Mobile
   Sidebar moves BELOW content on tablet/mobile
   ========================================================= */

/* ---------- GLOBAL HOMEPAGE WIDTH FIX ---------- */

body.home {
    overflow-x: hidden;
}

body.home .container {
    width: 100%;
    max-width: 1250px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 32px;
    padding-right: 32px;
    box-sizing: border-box;
}

body.home #page_content,
body.home #page_content *,
body.home #page_content *::before,
body.home #page_content *::after {
    box-sizing: border-box;
}


/* ---------- MAIN PAGE LAYOUT ---------- */

body.home #page_content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 33.33%);
    gap: 40px;
    align-items: start;

    width: 100%;
    max-width: 100%;
    padding: 24px 0;
}

body.home .home-main {
    grid-column: 1;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    float: none;
}

body.home #sidebar.job-sidebar {
    grid-column: 2;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    float: none;

    border-left: 1px solid #e6e2db;
    padding-left: 30px;
}


/* ---------- PREVENT CONTENT FROM OVERFLOWING ---------- */

body.home .home-main,
body.home .home-hero,
body.home .jk-updates-grid,
body.home .jk-news-carousel,
body.home .jk-news-track,
body.home .jk-featured-section,
body.home .jk-text-updates-grid,
body.home .jk-news-updates-layout {
    min-width: 0;
    max-width: 100%;
}


/* =========================================================
   HERO
   ========================================================= */

body.home .home-hero-main {
    min-width: 0;
    max-width: 100%;
}

body.home .home-hero-main-text {
    min-width: 0;
}

body.home .home-hero-img {
    min-width: 0;
    max-width: 100%;
}

body.home .home-hero-img img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}


/* =========================================================
   ALL NORMAL IMAGES
   ========================================================= */

body.home .jk-updates-image img,
body.home .jk-news-image img,
body.home .jk-featured-main-image img,
body.home .jk-featured-mini-image img,
body.home .jk-news-updates-main-image img,
body.home .jk-news-updates-item-image img {
    max-width: 100%;
}


/* =========================================================
   TABLET
   901px → 1100px
   ========================================================= */

@media (max-width: 1100px) {

    body.home .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    body.home #page_content {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 28px;
    }

    body.home #sidebar.job-sidebar {
        padding-left: 22px;
    }

    .home-hero {
        padding: 22px;
    }

    .home-hero-main {
        gap: 20px;
    }

    .home-hero-main h2 {
        font-size: 23px;
    }

    .jk-updates-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .jk-news-card {
        flex: 0 0 50%;
        width: 50%;
    }

    .jk-featured-section {
        grid-template-columns: minmax(0, 1.4fr) minmax(250px, 1fr);
    }

}


/* =========================================================
   TABLET / SMALL LAPTOP
   BELOW 900px

   MAIN CONTENT FIRST
   SIDEBAR COMPLETELY BELOW IT
   ========================================================= */

@media (max-width: 900px) {

    body.home .container {
        width: 100%;
        max-width: 100%;
        padding-left: 40px;
        padding-right: 40px;
    }

    body.home #page_content {
        display: flex;
        flex-direction: column;

        width: 100%;
        max-width: 100%;
        gap: 40px;

        padding-top: 20px;
        padding-bottom: 30px;
    }

    /* MAIN CONTENT */
    body.home .home-main {
        order: 1;

        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    /* SIDEBAR BELOW EVERYTHING */
    body.home #sidebar.job-sidebar {
        order: 2;

        width: 100%;
        max-width: 100%;
        min-width: 0;

        border-left: none;
        border-top: 1px solid #e6e2db;

        padding-left: 0;
        padding-top: 30px;
        margin-top: 0;
    }

    


    /* HERO */

    .home-hero {
        width: 100%;
        max-width: 100%;
        padding: 24px;
    }

    .home-hero-main {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
        align-items: center;
        gap: 24px;
    }

    .home-hero-main-text,
    .home-hero-img {
        width: 100%;
        min-width: 0;
    }

    .home-hero-img img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }


    /* TOP MINI CARDS */

    .home-hero-side {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }


    /* UPDATE CARDS */

    .jk-updates-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }


    /* TEXT UPDATE CARDS */

    .jk-text-updates-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }


    /* FEATURED */

    .jk-featured-section {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .jk-featured-main-card {
        height: 400px;
    }

    .jk-featured-side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: 220px;
    }


    /* NEWS UPDATES */

    .jk-news-updates-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .jk-news-updates-main-image img {
        height: auto;
        max-height: 400px;
        object-fit: contain;
    }


    /* SIDEBAR SEARCH */

    .job-sidebar-search .search-form {
        width: 100%;
        max-width: 100%;
    }

}


/* =========================================================
   MOBILE
   BELOW 600px
   ========================================================= */

@media (max-width: 600px) {

    body.home .container {
        width: 100%;
        max-width: 100%;
        padding-left: 30px;
        padding-right: 30px;
    }

    body.home #page_content {
        width: 100%;
        max-width: 100%;
        gap: 30px;
        padding-top: 15px;
    }


    /* MAIN */

    body.home .home-main {
        width: 100%;
        max-width: 100%;
    }


    /* SIDEBAR */

    body.home #sidebar.job-sidebar {
        width: 100%;
        max-width: 100%;

        padding-top: 24px;
    }

    .job-sidebar-box {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }


    /* =====================================================
       HERO
       ===================================================== */

    .home-hero {
        width: 100%;
        padding: 18px;
        margin-bottom: 24px;
    }

    .home-hero-main {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }

    .home-hero-main-text {
        width: 100%;
        flex: none;
    }

    .home-hero-main h2 {
        font-size: 23px;
        line-height: 1.3;
    }

    .home-hero-main p {
        font-size: 14px;
        max-width: 100%;
    }

    .home-hero-img {
        width: 100%;
        flex: none;
    }

    .home-hero-img img {
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: contain;
    }


    /* =====================================================
       HERO MINI CARDS
       ===================================================== */

    .home-hero-side {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .home-hero-mini {
        width: 100%;
        max-width: 100%;
    }

    .home-hero-mini-thumb {
        width: 100%;
        aspect-ratio: 16 / 10;
    }


    /* =====================================================
       SECTION HEADERS
       ===================================================== */

    .home-section-bar {
        width: 100%;
        min-height: 52px;
        padding: 0 14px;
        margin: 24px 0 16px;
    }

    .home-section-label,
    .home-section-accent {
        font-size: 20px;
    }


    /* =====================================================
       LATEST UPDATES
       ===================================================== */

    .jk-updates-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .jk-updates-card {
        width: 100%;
        max-width: 100%;
    }

    .jk-updates-image {
        width: 100%;
        height: auto;
    }

    .jk-updates-image-link {
        width: 100%;
        height: auto;
    }

    .jk-updates-image img {
        width: 100%;
        height: auto;
        min-height: 0;
        max-height: none;
        object-fit: contain;
    }

    .jk-updates-content {
        padding: 20px;
    }

    .jk-updates-title {
        font-size: 19px;
    }

    .jk-updates-description {
        font-size: 14px;
    }


    /* =====================================================
       LATEST NEWS
       ===================================================== */

    .jk-news-heading {
        width: 100%;
        margin-top: 30px;
        margin-bottom: 18px;
        padding-bottom: 14px;
    }

    .jk-news-heading-left h2 {
        font-size: 19px;
    }

    .jk-news-view-more {
        font-size: 11px;
        padding: 5px 11px;
    }

    .jk-news-carousel {
        width: 100%;
        max-width: 100%;
        padding: 0;
        overflow: hidden;
    }

    .jk-news-track {
        width: 100%;
        max-width: 100%;
    }

    .jk-news-card {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }

    .jk-news-image {
        width: 100%;
        height: auto;
    }

    .jk-news-image img {
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
    }

    .jk-news-content {
        padding: 18px 18px 20px;
    }

    .jk-news-title {
        font-size: 19px;
    }

    .jk-news-description {
        font-size: 14px;
    }

    .jk-news-arrow {
        display: none !important;
    }


    /* =====================================================
       FEATURED
       ===================================================== */

    .jk-featured-section {
        width: 100%;
        max-width: 100%;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .jk-featured-main-card {
        width: 100%;
        height: 320px;
    }

    .jk-featured-main-content {
        left: 16px;
        right: 16px;
        bottom: 18px;
    }

    .jk-featured-main-title {
        font-size: 22px;
        line-height: 1.2;
        margin: 12px 0;
    }

    .jk-featured-side {
        width: 100%;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(2, 200px);
    }


    /* =====================================================
       SECOND LATEST UPDATES
       ===================================================== */

    .jk-text-updates-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .jk-text-updates-card {
        width: 100%;
        max-width: 100%;
    }

    .jk-text-updates-content {
        padding: 20px;
    }

    .jk-text-updates-title {
        font-size: 19px;
    }

    .jk-text-updates-description {
        font-size: 14px;
    }


    /* =====================================================
       NEWS UPDATES BOTTOM
       ===================================================== */

    .jk-news-updates-layout {
        width: 100%;
        max-width: 100%;
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .jk-news-updates-main {
        width: 100%;
        max-width: 100%;
    }

    .jk-news-updates-main-image {
        width: 100%;
    }

    .jk-news-updates-main-image img {
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
    }

    .jk-news-updates-list {
        width: 100%;
        max-width: 100%;
        gap: 18px;
    }

    .jk-news-updates-item {
        width: 100%;
        max-width: 100%;
        gap: 12px;
    }

    .jk-news-updates-item-image {
        flex: 0 0 90px;
        width: 90px;
        height: 70px;
    }

    .jk-news-updates-item-content {
        min-width: 0;
        flex: 1;
    }

    .jk-news-updates-item-title {
        font-size: 13px;
        line-height: 1.4;
    }

}


/* =========================================================
   VERY SMALL PHONES
   BELOW 400px
   ========================================================= */

@media (max-width: 400px) {

    body.home .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .home-hero {
        padding: 14px;
    }

    .home-hero-main h2 {
        font-size: 21px;
    }

    .home-section-bar {
        min-height: 48px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .home-section-label,
    .home-section-accent {
        font-size: 18px;
    }

    .jk-updates-content,
    .jk-text-updates-content {
        padding: 16px;
    }

    .jk-updates-title,
    .jk-text-updates-title {
        font-size: 18px;
    }

    .jk-news-title {
        font-size: 18px;
    }

    .jk-news-updates-item-image {
        flex: 0 0 75px;
        width: 75px;
        height: 65px;
    }

}

/* =========================================================
   DESKTOP STICKY SIDEBAR
   ========================================================= */

@media (min-width: 901px) {

    body.home #sidebar.job-sidebar {
        align-self: start;
    }

    

}




/* =========================================================
   DESKTOP STICKY SIDEBAR
   ========================================================= */

@media (min-width: 901px) {

    /* Sidebar column ko content ke according rakho */
    body.home #sidebar.job-sidebar {
        align-self: start;
        height: auto;
        min-height: 0;
    }


}


/* =========================================================
   MOBILE / TABLET
   ========================================================= */

@media (max-width: 900px) {

    body.home #sidebar.job-sidebar {
        height: auto;
        min-height: 0;
    }


}

@media (min-width: 901px) {

    body.home #page_content,
    body.home .home-main,
    body.home .container {
        overflow: visible;
    }

}

/* =========================================
   SIDEBAR STICKY - DESKTOP ONLY
   ========================================= */

@media (min-width: 901px) {

    #page_content {
        align-items: flex-start;
    }

    #sidebar.job-sidebar {
        align-self: flex-start;
        height: auto;
        min-height: 0;
    }

    .job-sidebar-sticky {
        position: -webkit-sticky;
        position: sticky;

        /* Header ki height ke according */
        top: 20px;

        height: auto;
        max-height: none;

        /* IMPORTANT:
           sidebar ke andar scrollbar nahi chahiye */
        overflow: visible;
    }

}


/* =========================================
   MOBILE / TABLET
   ========================================= */

@media (max-width: 900px) {

    #sidebar.job-sidebar {
        position: static;
        width: 100%;
        height: auto;
    }

    .job-sidebar-sticky {
        position: static;
        top: auto;
        height: auto;
        max-height: none;
        overflow: visible;
    }

}



/* =========================================================
   SINGLE JOB PAGE
   SAME LAYOUT AS HOMEPAGE
   ========================================================= */

body.single-job_listing .single-job-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 32px;
    box-sizing: border-box;
}

body.single-job_listing .single-job-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 33.33%;
    column-gap: 40px;
    align-items: start;
    padding: 24px 0;
}


/* MAIN CONTENT */

body.single-job_listing .single-job-main {
    grid-column: 1;
    width: auto;
    min-width: 0;
    float: none;
}


/* SIDEBAR */

body.single-job_listing #sidebar.job-sidebar {
    grid-column: 2;
    width: auto;
    float: none;

    border-left: 1px solid #e6e2db;
    padding-left: 30px;
}


/* SAME STICKY BEHAVIOUR AS HOMEPAGE */

body.single-job_listing #sidebar .job-sidebar-sticky {
    position: sticky;
    top: 20px;
}


/* =========================================================
   SINGLE ARTICLE
   ========================================================= */

body.single-job_listing .gig-job-article {
    width: 100%;
    box-sizing: border-box;
}

body.single-job_listing .gig-entry-content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}


/* Don't allow content to create horizontal overflow */

body.single-job_listing .gig-entry-content img {
    max-width: 100%;
    height: auto;
}

body.single-job_listing .gig-entry-content iframe {
    max-width: 100%;
}

body.single-job_listing .gig-entry-content table {
    max-width: 100%;
}











/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    body.single-job_listing .single-job-container {
        padding: 0 20px;
    }

    body.single-job_listing .single-job-content {
        grid-template-columns: minmax(0, 1fr) 300px;
        column-gap: 24px;
    }

    body.single-job_listing #sidebar.job-sidebar {
        padding-left: 20px;
    }



}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    body.single-job_listing .single-job-container {
        width: 100%;
        max-width: 100%;
        padding: 0 14px;
        box-sizing: border-box;
    }

    body.single-job_listing .single-job-content {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 18px 0;
        gap: 28px;
    }


    /* MAIN FIRST */

    body.single-job_listing .single-job-main {
        width: 100%;
        min-width: 0;
        order: 1;
    }


    /* SIDEBAR BELOW MAIN CONTENT */

    body.single-job_listing #sidebar.job-sidebar {
        width: 100%;
        min-width: 0;
        order: 2;

        border-left: none;
        border-top: 1px solid #e6e2db;

        padding-left: 0;
        padding-top: 24px;
    }


    /* Disable sticky on mobile */

    body.single-job_listing #sidebar .job-sidebar-sticky {
        position: static;
    }


    /* Article */

    body.single-job_listing .gig-job-article {
        width: 100%;
    }

    body.single-job_listing .gig-job-title {
        font-size: 28px;
        line-height: 1.25;
    }

    body.single-job_listing .gig-entry-content {
        width: 100% !important;
        max-width: 100% !important;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }


    /* Images */

    body.single-job_listing .gig-entry-content img {
        display: block;
        width: auto;
        max-width: 100%;
        height: auto;
    }


    /* Tables */

    body.single-job_listing .gig-entry-content table {
                width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }


    

  

    /* Sidebar */

    body.single-job_listing .job-sidebar-box {
        width: 100%;
        margin: 16px 0;
    }

    body.single-job_listing .job-cat-pill-grid {
        width: 100%;
        box-sizing: border-box;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    body.single-job_listing .single-job-container {
        padding: 0 12px;
    }

    body.single-job_listing .single-job-content {
        padding-top: 12px;
    }

    body.single-job_listing .gig-job-title {
        font-size: 24px;
    }

    body.single-job_listing .gig-job-meta {
        font-size: 12px;
    }

    body.single-job_listing .gig-entry-content {
        font-size: 14px;
        line-height: 1.7;
    }

}

/* =========================================================
   SINGLE JOB PAGE - INDEX STYLE LAYOUT
   ========================================================= */

body.single-job_listing #page_content.single-job-content {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 33.33% !important;
    gap: 40px !important;
    align-items: start !important;
    width: 100% !important;
    box-sizing: border-box !important;
}


/* MAIN CONTENT - LEFT */

body.single-job_listing #page_content.single-job-content .single-job-main {
    grid-column: 1 !important;
    grid-row: 1 !important;

    width: 100% !important;
    min-width: 0 !important;
    float: none !important;
    margin: 0 !important;
}


/* SIDEBAR - RIGHT */

body.single-job_listing #page_content.single-job-content #sidebar.job-sidebar {
    grid-column: 2 !important;
    grid-row: 1 !important;

    width: auto !important;
    min-width: 0 !important;

    float: none !important;
    clear: none !important;

    margin: 0 !important;

    border-left: 1px solid #e6e2db !important;
    border-top: none !important;

    padding-left: 30px !important;
    padding-top: 0 !important;

    box-sizing: border-box !important;
}


/* STICKY SIDEBAR */

body.single-job_listing #page_content.single-job-content
.job-sidebar-sticky {
    position: sticky !important;
    position: -webkit-sticky !important;
    top: 20px !important;

    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    body.single-job_listing #page_content.single-job-content {
        grid-template-columns: minmax(0, 1fr) 300px !important;
        gap: 25px !important;
    }

    body.single-job_listing #page_content.single-job-content
    #sidebar.job-sidebar {
        padding-left: 20px !important;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    body.single-job_listing #page_content.single-job-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;

        width: 100% !important;
        padding: 18px 0 !important;
    }


    /* MAIN FIRST */

    body.single-job_listing #page_content.single-job-content
    .single-job-main {
        order: 1 !important;

        width: 100% !important;
        max-width: 100% !important;

        float: none !important;
    }


    /* SIDEBAR SECOND */

    body.single-job_listing #page_content.single-job-content
    #sidebar.job-sidebar {
        order: 2 !important;

        width: 100% !important;
        max-width: 100% !important;

        float: none !important;
        clear: both !important;

        border-left: none !important;
        border-top: 1px solid #e6e2db !important;

        padding-left: 0 !important;
        padding-top: 25px !important;

        margin: 0 !important;
    }


    /* NO STICKY ON MOBILE */

    body.single-job_listing #page_content.single-job-content
    .job-sidebar-sticky {
        position: static !important;
        top: auto !important;
    }


    /* ARTICLE */

    body.single-job_listing .gig-job-article {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }


    body.single-job_listing .gig-entry-content {
        width: 100% !important;
        max-width: 100% !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
    }


    body.single-job_listing .gig-entry-content img {
        max-width: 100% !important;
        height: auto !important;
    }




}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    body.single-job_listing #page_content.single-job-content {
        gap: 25px !important;
    }

    body.single-job_listing .gig-job-title {
        font-size: 25px !important;
        line-height: 1.25 !important;
    }

}

