/* Gantech Jobs Board — front-end styles
   Branding: Navy #0A1F44, Gold #F4C400, Text #5F5F5F, White #FFFFFF
   Headings: "Bebas Neue" — Body/UI: "Poppins" */

:root { --gjb-navy:#0A1F44; --gjb-gold:#F4C400; --gjb-text:#5F5F5F; --gjb-white:#FFFFFF; --gjb-border:#E7E9EE; --gjb-bg-soft:#F7F8FA; }

/* ---------- Stats bar ---------- */
.gjb-stats {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px;
	background: var(--gjb-navy);
	color: var(--gjb-white);
	border-radius: 14px;
	padding: 20px 28px;
	margin-bottom: 28px;
}
.gjb-stats__total { display: flex; align-items: baseline; gap: 10px; }
.gjb-stats__number { font-family: "Bebas Neue", sans-serif; font-size: 40px; line-height: 1; color: var(--gjb-gold); letter-spacing: .5px; }
.gjb-stats__label { font-family: "Poppins", sans-serif; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; opacity: .9; }
.gjb-stats__breakdown { display: flex; flex-wrap: wrap; gap: 10px 20px; list-style: none; margin: 0; padding: 0; margin-left: auto; }
.gjb-stats__breakdown li { font-family: "Poppins", sans-serif; font-size: 13px; opacity: .92; }
.gjb-stats__count { font-weight: 700; color: var(--gjb-gold); margin-right: 4px; }

/* ---------- Notices ---------- */
.gjb-notice {
	padding: 24px;
	border-radius: 12px;
	text-align: center;
	font-family: "Poppins", sans-serif;
	font-size: 15px;
}
.gjb-notice--empty {
	background: rgba(244, 196, 0, 0.12);
	border: 1px dashed rgba(244, 196, 0, 0.5);
	color: #FFFFFF;
	font-weight: 500;
}
.gjb-notice--error {
	background: #fdecea;
	border: 1px solid #f5c6cb;
	color: #a12622;
}
.gjb-notice--demo {
	background: #FFF6DA;
	border: 1px dashed #F4C400;
	color: #6B5300;
	margin-bottom: 18px;
}

/* ---------- Layout wrapper ---------- */
.gjb-jobs--grid .gjb-track {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.gjb-jobs--grid.gjb-cols-1 .gjb-track { grid-template-columns: 1fr; }
.gjb-jobs--grid.gjb-cols-2 .gjb-track { grid-template-columns: repeat(2, 1fr); }
.gjb-jobs--grid.gjb-cols-4 .gjb-track { grid-template-columns: repeat(4, 1fr); }

.gjb-jobs--carousel { position: relative; padding: 0 44px; }
.gjb-jobs--carousel .gjb-track {
	display: flex;
	gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.gjb-jobs--carousel .gjb-track::-webkit-scrollbar { display: none; }
.gjb-jobs--carousel .gjb-card {
	flex: 0 0 calc((100% - (24px * 2)) / 3);
	scroll-snap-align: start;
}
.gjb-jobs--carousel.gjb-cols-1 .gjb-card { flex-basis: 100%; }
.gjb-jobs--carousel.gjb-cols-2 .gjb-card { flex-basis: calc((100% - 24px) / 2); }
.gjb-jobs--carousel.gjb-cols-4 .gjb-card { flex-basis: calc((100% - (24px * 3)) / 4); }

.gjb-carousel-arrow {
	position: absolute;
	top: 40%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--gjb-border);
	background: var(--gjb-white);
	color: var(--gjb-navy);
	cursor: pointer;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	transition: background .2s ease, color .2s ease;
}
.gjb-carousel-arrow:hover { background: var(--gjb-gold); color: var(--gjb-navy); }
.gjb-carousel-arrow--prev { left: 0; }
.gjb-carousel-arrow--next { right: 0; }
.gjb-carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.gjb-carousel-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--gjb-border); cursor: pointer; transition: background .2s ease, transform .2s ease; }
.gjb-carousel-dots span.is-active { background: var(--gjb-gold); transform: scale(1.2); }

/* ---------- Card ---------- */
.gjb-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--gjb-white);
	border: 1px solid var(--gjb-border);
	border-radius: 16px;
	overflow: hidden;
	transition: box-shadow .25s ease, transform .25s ease;
}
.gjb-card__demo-ribbon {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	font-family: "Poppins", sans-serif;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	background: var(--gjb-white);
	color: var(--gjb-navy);
	padding: 4px 10px;
	border-radius: 999px;
	box-shadow: 0 2px 6px rgba(10,31,68,.18);
}
.gjb-card:hover { box-shadow: 0 14px 34px rgba(10,31,68,.12); transform: translateY(-3px); }
.gjb-card--hidden { display: none; }

.gjb-card__media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 21/9;
	background: linear-gradient(135deg, var(--gjb-navy) 0%, #17305e 100%);
	color: var(--gjb-white);
	text-decoration: none;
	cursor: pointer;
}
.gjb-card__media-icon { font-size: 34px; opacity: .28; }
.gjb-card__area {
	position: absolute;
	left: 16px;
	bottom: 12px;
	font-family: "Poppins", sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--gjb-white);
	opacity: .85;
}
.gjb-badge {
	position: absolute;
	top: 14px;
	right: 14px;
	font-family: "Poppins", sans-serif;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--gjb-gold);
	color: var(--gjb-navy);
}
.gjb-badge--full-time { background: #2FAE60; color: #fff; }
.gjb-badge--part-time { background: var(--gjb-navy); color: #fff; }
.gjb-badge--contract { background: var(--gjb-gold); color: var(--gjb-navy); }
.gjb-badge--internship { background: #8B8FA3; color: #fff; }
.gjb-badge--freelance { background: #8B8FA3; color: #fff; }

.gjb-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.gjb-card__body--no-image { padding-top: 24px; }
.gjb-card__inline-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.gjb-badge--inline { position: static; }
.gjb-card__area--inline { font-family: "Poppins", sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--gjb-text); opacity: .8; }
.gjb-card__title {
	font-family: "Bebas Neue", sans-serif;
	font-size: 22px;
	letter-spacing: .3px;
	line-height: 1.15;
	margin: 0 0 10px;
	color: var(--gjb-navy);
}
.gjb-card__title a { color: inherit; text-decoration: none; }
.gjb-card__title a:hover { color: var(--gjb-gold); }

.gjb-card__excerpt { font-family: "Poppins", sans-serif; font-size: 14px; line-height: 1.6; color: var(--gjb-text); margin: 0 0 14px; }

.gjb-card__meta { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.gjb-card__meta li { font-family: "Poppins", sans-serif; font-size: 13px; color: var(--gjb-text); display: flex; align-items: center; gap: 7px; }
.gjb-meta-ico { font-size: 13px; opacity: .8; }
.gjb-meta--closed { color: #A3231F; font-weight: 600; }

.gjb-card__footer { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }

.gjb-btn {
	font-family: "Poppins", sans-serif;
	font-weight: 600;
	font-size: 13.5px;
	letter-spacing: .02em;
	text-decoration: none;
	text-align: center;
	border-radius: 999px;
	padding: 11px 22px;
	background: var(--gjb-gold);
	color: var(--gjb-navy);
	border: 1px solid var(--gjb-gold);
	cursor: pointer;
	transition: background .2s ease, color .2s ease, transform .15s ease;
	flex: 1;
}
.gjb-btn:hover { background: #ffd633; transform: translateY(-1px); }
.gjb-btn--ghost { background: transparent; color: var(--gjb-navy); border-color: var(--gjb-border); }
.gjb-btn--ghost:hover { background: var(--gjb-bg-soft); border-color: var(--gjb-navy); }

/* ---------- Load More ---------- */
.gjb-load-more-wrap { display: flex; justify-content: center; margin-top: 28px; width: 100%; }
.gjb-load-more-btn { border: none; cursor: pointer; font-family: "Poppins", sans-serif; padding: 12px 30px; }
.gjb-load-more-btn.is-loading { opacity: .6; pointer-events: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.gjb-jobs--grid .gjb-track,
	.gjb-jobs--grid.gjb-cols-3 .gjb-track,
	.gjb-jobs--grid.gjb-cols-4 .gjb-track { grid-template-columns: repeat(2, 1fr); }
	.gjb-jobs--carousel .gjb-card,
	.gjb-jobs--carousel.gjb-cols-3 .gjb-card,
	.gjb-jobs--carousel.gjb-cols-4 .gjb-card { flex-basis: calc((100% - 24px) / 2); }
}
@media (max-width: 640px) {
	.gjb-stats { flex-direction: column; align-items: flex-start; gap: 14px; }
	.gjb-stats__breakdown { margin-left: 0; }
	.gjb-jobs--grid .gjb-track { grid-template-columns: 1fr !important; }
	.gjb-jobs--carousel .gjb-card { flex-basis: 88% !important; }
	.gjb-jobs--carousel { padding: 0 34px; }
	.gjb-carousel-arrow { width: 34px; height: 34px; }
	.gjb-card__footer { flex-direction: column; }
}

/* ---------- Job detail page ---------- */
.gjb-detail__hero {
	position: relative;
	background: linear-gradient(135deg, var(--gjb-navy) 0%, #17305e 100%);
	color: var(--gjb-white);
	padding: 100px 0 64px;
	overflow: hidden;
}
.gjb-detail__hero::before {
	content: "";
	position: absolute;
	top: -60px;
	right: -60px;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(244,196,0,.14) 0%, rgba(244,196,0,0) 70%);
	pointer-events: none;
}
.gjb-detail__breadcrumbs { font-family: "Poppins", sans-serif; font-size: 13px; opacity: .75; margin-bottom: 20px; }
.gjb-detail__breadcrumbs a { color: var(--gjb-white); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 1px; transition: border-color .2s ease, opacity .2s ease; }
.gjb-detail__breadcrumbs a:hover { border-color: var(--gjb-gold); opacity: 1; }
.gjb-detail__pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.gjb-detail__pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: "Poppins", sans-serif;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--gjb-gold);
	color: var(--gjb-navy);
}
.gjb-detail__pill--outline { background: rgba(255,255,255,.1); color: var(--gjb-white); border: 1px solid rgba(255,255,255,.3); }
.gjb-detail__title { font-family: "Bebas Neue", sans-serif; font-size: clamp(34px, 5vw, 54px); letter-spacing: .5px; margin: 0 0 18px; line-height: 1.05; max-width: 820px; }
.gjb-detail__meta { display: flex; flex-wrap: wrap; gap: 20px; font-family: "Poppins", sans-serif; font-size: 14px; opacity: .92; }
.gjb-detail__meta span { display: flex; align-items: center; gap: 7px; }

.gjb-detail__body { display: grid; grid-template-columns: 2fr 1fr; gap: 44px; padding: 15px 20px 20px; align-items: start; }

.gjb-detail__section { background: var(--gjb-white); border: 1px solid var(--gjb-border); border-radius: 16px; padding: 32px 34px; margin-bottom: 24px; }
.gjb-detail__main h2 { font-family: "Bebas Neue", sans-serif; color: var(--gjb-navy); font-size: 24px; letter-spacing: .3px; margin: 0 0 16px; padding-bottom: 14px; border-bottom: 2px solid var(--gjb-gold); display: inline-block; }
.gjb-detail__main p { font-family: "Poppins", sans-serif; font-size: 15px; line-height: 1.8; color: var(--gjb-text); margin: 0 0 14px; }
.gjb-detail__main p:last-child { margin-bottom: 0; }

.gjb-detail__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.gjb-detail__list li {
	font-family: "Poppins", sans-serif;
	font-size: 15px;
	line-height: 1.6;
	color: var(--gjb-text);
	display: flex;
	align-items: flex-start;
	gap: 10px;
}
.gjb-detail__list li::before {
	content: "\2713";
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: rgba(244,196,0,.18);
	color: var(--gjb-navy);
	font-size: 11px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 2px;
}

.gjb-detail__back { display: inline-flex; align-items: center; gap: 6px; font-family: "Poppins", sans-serif; font-size: 13.5px; font-weight: 600; color: var(--gjb-navy); text-decoration: none; margin-top: 6px; }
.gjb-detail__back:hover { color: var(--gjb-gold); }

.gjb-detail__sidebar { position: sticky; top: 24px; align-self: start; }
.gjb-detail__card { background: var(--gjb-white); border: 1px solid var(--gjb-border); border-radius: 16px; padding: 28px; box-shadow: 0 14px 34px rgba(10,31,68,.08); }
.gjb-detail__card-heading { font-family: "Bebas Neue", sans-serif; font-size: 18px; letter-spacing: .3px; color: var(--gjb-navy); margin: 0 0 18px; }
.gjb-detail__facts { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.gjb-detail__facts li { font-family: "Poppins", sans-serif; font-size: 13.5px; color: var(--gjb-text); display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--gjb-border); padding-bottom: 12px; }
.gjb-detail__facts li:last-child { border-bottom: none; padding-bottom: 0; }
.gjb-detail__facts li span { display: flex; align-items: center; gap: 7px; }
.gjb-detail__facts li strong { color: var(--gjb-navy); text-align: right; }

.gjb-detail__deadline { border-radius: 10px; padding: 12px 14px; margin-bottom: 20px; font-family: "Poppins", sans-serif; font-size: 13px; font-weight: 600; text-align: center; }
.gjb-detail__deadline--open { background: rgba(47,174,96,.12); color: #1c7a44; }
.gjb-detail__deadline--soon { background: rgba(244,196,0,.16); color: #8a6a00; }
.gjb-detail__deadline--closed { background: #fdecea; color: #a12622; }

.gjb-btn.gjb-detail__apply-btn { display: block; width: 100%; text-align: center; padding: 14px 22px; font-size: 15px; }
.gjb-detail__closed-notice { margin-top: 12px; font-family: "Poppins", sans-serif; font-size: 12.5px; color: #A3231F; text-align: center; line-height: 1.5; }

.gjb-detail__not-found { text-align: center; max-width: 480px; margin: 0 auto; }
.gjb-detail__not-found p { font-family: "Poppins", sans-serif; font-size: 15px; opacity: .9; margin: 0 0 26px; }

@media (max-width: 900px) {
	.gjb-detail__body { grid-template-columns: 1fr; padding: 15px 20px 20px; }
	.gjb-detail__sidebar { position: static; }
	.gjb-detail__hero { padding: 90px 0 46px; }
	.gjb-detail__section { padding: 26px 22px; }
}
