/* CS Jobs Importer — public styles. Plain, theme-friendly; override in your theme. */
.csji-main { padding: 40px 0; }
.csji-container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Dark hero band under the menu, matching the site's inner pages
   (dark photo + navy overlay, pulled up under the sticky header). */
.csji-hero {
	position: relative;
	margin-top: -200px;
	background-color: #111441;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}
.csji-hero::before {
	content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0;
	background-color: #111441; opacity: 0.7;
}
.csji-hero-inner {
	position: relative; z-index: 1;
	max-width: 1080px; margin: 0 auto; padding: 150px 20px 70px;
	min-height: 450px; box-sizing: border-box;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	text-align: center;
}
.csji-hero h1.csji-hero-title {
	color: #fff; font-family: "Noto Serif", Georgia, serif;
	font-size: 55px; line-height: 1.2; font-weight: 400; margin: 0;
}
.csji-hero p.csji-hero-sub { color: #fff; opacity: 0.9; margin: 14px 0 0; font-size: 18px; }
@media (max-width: 767px) {
	.csji-hero-inner { min-height: 365px; padding-top: 130px; }
	.csji-hero h1.csji-hero-title { font-size: 38px; }
}
.csji-narrow { max-width: 720px; }
.csji-title { font-size: 2rem; margin: 0 0 16px; }
.csji-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.csji-filters input[type="search"], .csji-filters input[type="text"], .csji-filters select {
	padding: 10px 12px; border: 1px solid #ccd0d4; border-radius: 4px; font-size: 15px;
}
.csji-count { color: #555; margin: 0 0 18px; }
.csji-list { display: grid; gap: 16px; }
.csji-card-job { border: 1px solid #e2e4e7; border-radius: 8px; padding: 20px; background: #fff; }
.csji-card-job h2 { font-size: 1.25rem; margin: 0 0 8px; }
.csji-card-job h2 a { text-decoration: none; color: inherit; }
.csji-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: #555; font-size: 14px; margin-bottom: 12px; }
.csji-meta-big { font-size: 16px; margin-bottom: 20px; }
.csji-cat { background: #f0f2f5; border-radius: 20px; padding: 2px 12px; }
.csji-btn { display: inline-block; padding: 10px 22px; border-radius: 4px; border: 1px solid #1e5aa8;
	color: #1e5aa8; text-decoration: none; font-weight: 600; background: #fff; cursor: pointer; }
.csji-btn-primary { background: #1e5aa8; color: #fff; }
.csji-btn:hover { opacity: .9; }
.csji-pagination { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 6px; }
.csji-page { padding: 6px 12px; border: 1px solid #ccd0d4; border-radius: 4px; text-decoration: none; color: #1e5aa8; }
.csji-page.csji-current { background: #1e5aa8; color: #fff; border-color: #1e5aa8; }
.csji-description { margin: 24px 0; line-height: 1.7; }
.csji-description h2, .csji-description h3 { margin-top: 1.4em; }
.csji-actions { margin: 20px 0; }
.csji-back { margin-bottom: 12px; }
.csji-empty { color: #777; }
.csji-notice { padding: 12px 16px; border-radius: 4px; margin-bottom: 16px; }
.csji-success { background: #e7f6ec; border: 1px solid #46b450; }
.csji-error { background: #fbeaea; border: 1px solid #dc3232; }
.csji-apply-form p { margin: 0 0 14px; }
.csji-apply-form label { display: block; font-weight: 600; margin-bottom: 4px; }
.csji-apply-form input[type="text"], .csji-apply-form input[type="email"],
.csji-apply-form input[type="tel"], .csji-apply-form textarea {
	width: 100%; max-width: 100%; padding: 10px 12px; border: 1px solid #ccd0d4; border-radius: 4px; font-size: 15px;
}
.csji-hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.csji-consent label { font-weight: 400; }
@media (max-width: 640px) {
	.csji-filters input, .csji-filters select, .csji-filters button { width: 100%; }
}

/* Terms and Conditions modal (job application consent line). */
.csji-terms-link { color: #d42b4d; text-decoration: underline; font-weight: 600; }
.csji-terms-link:hover { color: #a91f3e; }
.csji-modal[hidden] { display: none !important; }
.csji-modal {
	position: fixed; inset: 0; z-index: 99999;
	display: flex; align-items: center; justify-content: center;
	padding: 20px; box-sizing: border-box;
}
.csji-modal-backdrop {
	position: absolute; inset: 0; background: rgba(10, 22, 40, 0.72);
}
.csji-modal-box {
	position: relative; background: #fff; border-radius: 10px;
	width: 100%; max-width: 720px; max-height: 88vh;
	display: flex; flex-direction: column; overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.csji-modal-head {
	display: flex; align-items: center; justify-content: space-between;
	padding: 18px 24px 12px; border-bottom: 1px solid #e6e8ee;
}
.csji-modal-head h2 { margin: 0; font-size: 1.35rem; color: #0a1628; }
.csji-modal-close {
	background: none; border: none; font-size: 30px; line-height: 1;
	color: #5b6472; cursor: pointer; padding: 0 4px;
}
.csji-modal-close:hover { color: #0a1628; }
.csji-modal-body {
	overflow-y: auto; padding: 6px 24px 24px;
	font-size: 15px; line-height: 1.7; color: #333;
}
.csji-modal-body h3 { color: #0a1628; margin: 1.4em 0 0.5em; font-size: 1.05rem; }
.csji-modal-body ul { padding-left: 20px; }
.csji-modal-body li { margin-bottom: 6px; }
.csji-terms-kicker { color: #5b6472; }
.csji-terms-pdf { margin-top: 20px; }
.csji-modal-foot {
	padding: 14px 24px; border-top: 1px solid #e6e8ee; text-align: right;
}
@media (max-width: 640px) {
	.csji-modal { padding: 12px; }
	.csji-modal-box { max-height: 92vh; }
	.csji-modal-head, .csji-modal-foot { padding-left: 16px; padding-right: 16px; }
	.csji-modal-body { padding-left: 16px; padding-right: 16px; }
}
