/* GetReskilled Jobs Board. Matches the current board's look; colours are variables the theme can override. */
.grnz {
	--grnz-primary: #2e3192;
	--grnz-primary-dark: #22256f;
	--grnz-red: #d9534f;
	--grnz-red-dark: #c1403c;
	--grnz-banner: #dbe7fb;
	--grnz-border: #dfe1e6;
	--grnz-text: #1d1d1f;
	--grnz-muted: #5c6070;
	--grnz-placeholder: #8a8f9c;
	--grnz-radius: 16px;
	--grnz-caret: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M0 0h12L6 7z' fill='%236b7080'/%3E%3C/svg%3E");
	box-sizing: border-box;
	color: var(--grnz-text);
}
.grnz *, .grnz *::before, .grnz *::after { box-sizing: inherit; }
.grnz-wrap { max-width: none; margin: 0 var(--grnz-edge-right, 0px) 0 var(--grnz-edge-left, 0px); padding: 26px 0 48px; }
.grnz-heading { font-size: 24px; font-weight: 600; line-height: 1.3; margin: 0 0 10px; color: var(--grnz-text); }
.grnz-subheading { font-size: 1.35rem; font-weight: 600; margin: 36px 0 14px; }
.grnz-back { color: var(--grnz-muted); margin: 0 0 16px; }
.grnz-back a { color: inherit; }
.grnz .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.grnz-hp { position: absolute !important; left: -9999px !important; }

/* Buttons */
.grnz-btn { display: inline-block; background: var(--grnz-primary); color: #fff !important; border: 0; border-radius: 4px; padding: 8px 18px; font-size: 15px; font-weight: 500; line-height: 1.3; text-decoration: none !important; cursor: pointer; text-align: center; }
.grnz-btn:hover, .grnz-btn:focus { background: var(--grnz-primary-dark); }
.grnz-btn-red { background: var(--grnz-red); }
.grnz-btn-red:hover, .grnz-btn-red:focus { background: var(--grnz-red-dark); }
.grnz-btn-block { display: block; width: 100%; }
.grnz-panel { background: #fff; border: 1px solid var(--grnz-border); border-radius: 10px; padding: 20px; }

/*
 * Form controls. Themes often fix the height and line-height of select boxes,
 * which clips the text, so sizing is set firmly here. Sizes match the current board.
 */
.grnz select,
.grnz input[type=text],
.grnz input[type=email],
.grnz input[type=search],
.grnz input[type=number],
.grnz input[type=password] {
	height: 39px !important;
	min-height: 0 !important;
	line-height: 1.3 !important;
	padding: 7px 12px !important;
	font-size: 15px !important;
	font-family: inherit;
	color: var(--grnz-text) !important;
	background-color: #fff !important;
	border: 1px solid var(--grnz-border) !important;
	border-radius: 4px !important;
	box-shadow: none !important;
	margin: 0 !important;
	text-indent: 0 !important;
	vertical-align: middle;
	max-width: 100%;
}
.grnz input::placeholder { color: var(--grnz-placeholder); opacity: 1; }
.grnz select {
	padding-right: 30px !important;
	text-overflow: ellipsis;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	background-image: var(--grnz-caret) !important;
	background-repeat: no-repeat !important;
	background-position: right 11px center !important;
	background-size: 9px 5px !important;
	cursor: pointer;
}
.grnz select.grnz-default { color: var(--grnz-placeholder) !important; }
.grnz select option { color: var(--grnz-text); }
.grnz select:focus, .grnz input:focus { outline: none !important; border-color: var(--grnz-primary) !important; box-shadow: inset 0 0 0 1px var(--grnz-primary) !important; }

/* Alert banner: full width strip; its content is left-aligned and lined up with the page (the script sets the inner box's padding to match the logo). */
.grnz-banner { position: relative; padding: 36px 0 34px; text-align: left; }
/* The blue strip is painted behind the banner across the whole window, so the content stays in the page's own column. No script needed. */
.grnz-banner::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); background: var(--grnz-banner); border-top: 1px solid #c9d6ee; border-bottom: 1px solid #c9d6ee; z-index: -1; }
.grnz-board-page { position: relative; z-index: 0; }
body:has(.grnz-board-page) { overflow-x: clip; }
.grnz-banner-inner { max-width: none; margin: 0 var(--grnz-edge-right, 0px) 0 var(--grnz-edge-left, 0px); padding: 0; }
.grnz-banner h2 { margin: 0 0 6px; font-size: 26px; font-weight: 600; line-height: 1.25; color: var(--grnz-text); }
.grnz-banner > .grnz-banner-inner > p { margin: 0 0 22px; max-width: 720px; font-size: 15px; line-height: 1.5; color: #3d4252; }
.grnz-banner-form { display: flex; flex-wrap: wrap; gap: 10px 12px; justify-content: flex-start; align-items: center; }
.grnz-banner-text { font-size: 14px; color: var(--grnz-text); white-space: nowrap; }
.grnz .grnz-banner-form select,
.grnz .grnz-banner-form input[type=email] { border-color: #fff !important; height: 40px !important; }
.grnz .grnz-banner-form select[name=frequency] { width: 108px !important; text-overflow: clip; }
.grnz .grnz-banner-form select[name=category] { width: 166px !important; }
.grnz .grnz-banner-form input[type=email] { width: 199px !important; }
.grnz .grnz-banner-form .grnz-btn { height: 40px; padding: 0 22px; font-size: 15px; line-height: 40px; margin-left: 4px; }
.grnz-banner-msg { margin: 12px 0 0 !important; color: var(--grnz-primary) !important; font-weight: 600; font-size: 14px; }

/* Board layout: cards about three quarters, filters about a quarter */
.grnz-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, 23%); gap: 24px; align-items: start; }
.grnz-sidebar { position: sticky; top: 24px; }
.grnz-filters { background: #fff; border: 1px solid var(--grnz-border); border-radius: 10px; padding: 19px 19px 18px; display: grid; gap: 18px; }
.grnz-field span { display: block; font-size: 13px; font-weight: 400; color: var(--grnz-muted); line-height: 1.3; margin-bottom: 4px; }
.grnz .grnz-field select, .grnz .grnz-field input { width: 100% !important; height: 39px !important; }
.grnz-check { display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--grnz-text); }
.grnz-check input { width: 13px; height: 13px; margin: 0; }
.grnz-filters .grnz-btn { width: 100%; height: 40px; padding: 0; line-height: 40px; font-size: 15px; margin-top: 0; }
.grnz-filters-toggle { display: none; }

/* Job cards */
.grnz-cards { display: grid; gap: 12px; }
.grnz-card { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--grnz-border); border-radius: 10px; padding: 19px 19px 19px 19px; transition: box-shadow .15s, border-color .15s; }
.grnz-card:hover { border-color: #c9ccd6; box-shadow: 0 4px 14px rgba(20, 30, 80, .06); }
.grnz-pinned { border-left: 3px solid var(--grnz-primary); }
.grnz-card > .grnz-logo, .grnz-card > .grnz-logo-placeholder { align-self: start; margin-top: 0; }
.grnz-logo, .grnz-logo-placeholder { width: 44px; height: 44px; object-fit: contain; display: block; }
.grnz-logo-placeholder { background: #f3f4f7; border-radius: 4px; }
.grnz-card-title { font-size: 18px; font-weight: 400; line-height: 1.3; margin: 0 0 4px; }
.grnz-card-title a { color: var(--grnz-text); text-decoration: none; }
.grnz-card-title a:hover { color: var(--grnz-primary); text-decoration: underline; }
.grnz-card-meta { margin: 0 0 9px; color: var(--grnz-muted); font-size: 14px; line-height: 1.4; }
.grnz-card-meta span { margin: 0 3px; }
.grnz-tag { display: inline-block; background: #fff; color: var(--grnz-muted); border: 1px solid #b9bdc8; border-radius: 4px; padding: 1px 8px; font-size: 14px; line-height: 1.4; text-decoration: none; }
.grnz-tags { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.grnz-tag:hover { border-color: var(--grnz-primary); color: var(--grnz-primary); }
.grnz-card-side { text-align: right; min-width: 64px; }
.grnz-age { color: var(--grnz-muted); font-size: 14px; white-space: nowrap; }
.grnz-clock { display: inline-block; width: 11px; height: 11px; border: 1px solid currentColor; border-radius: 50%; margin-right: 3px; vertical-align: -1px; position: relative; }
.grnz-clock::after { content: ""; position: absolute; left: 4px; top: 2px; width: 3px; height: 3px; border-left: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.grnz-card-apply { display: none; height: 34px; line-height: 34px; padding: 0 28px; min-width: 110px; font-size: 14px; }
@media (hover: hover) {
	.grnz-card:hover .grnz-age, .grnz-card:focus-within .grnz-age { display: none; }
	.grnz-card:hover .grnz-card-apply, .grnz-card:focus-within .grnz-card-apply { display: inline-block; }
}
.grnz-closed .grnz-card { opacity: .65; }
.grnz .grnz-empty { background: #fff; border: 1px dashed var(--grnz-border); border-radius: 10px; padding: 19px; margin: 0; color: var(--grnz-muted); font-size: 14px; line-height: 1.5; }

/* Pagination and footer links */
.grnz-pages { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; align-items: center; }
.grnz-pages a, .grnz-pages span { padding: 9px 14px; border: 1px solid var(--grnz-border); border-radius: 6px; text-decoration: none; background: #fff; color: var(--grnz-text); }
.grnz-pages .grnz-current { background: var(--grnz-primary); color: #fff; border-color: var(--grnz-primary); }
.grnz-pages .grnz-gap { border: 0; background: none; }
.grnz-footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; border-top: 1px solid var(--grnz-border); margin-top: 48px; padding-top: 22px; }
.grnz-footer-links a { color: var(--grnz-muted); }
/* Board: Companies, Post a Job and Employer Login in a column under the filters. */
.grnz-side-links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 20px; padding: 0 20px; }
.grnz-side-links a { color: var(--grnz-muted); font-size: 15px; line-height: 1.4; }
.grnz-side-links a:hover, .grnz-side-links a:focus { color: var(--grnz-primary); }
.grnz-footer-links-phone { display: none; }

/* Job page */
.grnz-job-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 26%); gap: 24px; align-items: start; }
.grnz-job-head h1 { font-size: 26px; font-weight: 500; line-height: 1.3; margin: 0 0 6px; }
.grnz-job-head { border-bottom: 1px solid var(--grnz-border); padding-bottom: 14px; margin-bottom: 18px; }
.grnz-salary { font-weight: 600; margin: 0; }
.grnz-description { line-height: 1.65; font-size: 15px; overflow-wrap: anywhere; }
.grnz-job-side { display: grid; gap: 14px; position: sticky; top: 24px; }
.grnz-apply-box { text-align: center; }
.grnz-logo-large { width: 88px; height: 88px; object-fit: contain; margin: 0 auto 10px; display: block; }
.grnz-company { font-weight: 600; font-size: 15px; margin: 0 0 14px; }
.grnz-apply-box .grnz-btn { height: 38px; line-height: 38px; padding: 0 12px; font-size: 15px; }
.grnz-share { margin-top: 20px; }
.grnz-share p { margin: 0 0 8px; color: var(--grnz-muted); }
.grnz-share a { display: inline-flex; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--grnz-border); color: var(--grnz-primary); align-items: center; justify-content: center; font-weight: 700; text-decoration: none; margin: 0 3px; }
.grnz-notice { background: #fff6e5; border: 1px solid #f3d38a; border-radius: 10px; padding: 14px 18px; margin-bottom: 20px; }

/* Companies and home */
.grnz-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.grnz-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; background: #fff; border: 1px solid var(--grnz-border); border-radius: var(--grnz-radius); padding: 22px; text-decoration: none; color: inherit; }
.grnz-tile:hover { border-color: var(--grnz-primary); }
.grnz-tile img, .grnz-tile .grnz-logo-placeholder { width: 80px; height: 80px; object-fit: contain; }
.grnz-tile span { color: var(--grnz-muted); }
.grnz-company-head { display: flex; gap: 26px; align-items: flex-start; margin-bottom: 26px; }
.grnz-hero { text-align: center; padding: 44px 16px; }
.grnz-hero-search { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.grnz .grnz-hero-search input, .grnz .grnz-hero-search select { min-width: 220px; }
.grnz-featured { margin: 36px 0; }
.grnz-more { text-align: center; margin-top: 18px; }

/* Employer pages */
.grnz-employer form { display: grid; gap: 16px; max-width: 760px; }
.grnz-employer .grnz-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grnz .grnz-employer .grnz-field input, .grnz .grnz-employer .grnz-field select { min-height: 50px !important; }
.grnz-employer table { width: 100%; border-collapse: collapse; background: #fff; }
.grnz-employer th, .grnz-employer td { text-align: left; padding: 12px; border-bottom: 1px solid var(--grnz-border); }
.grnz-msg { background: var(--grnz-banner); border-radius: 8px; padding: 12px 16px; }
.grnz-error { background: #fdecec; border-radius: 8px; padding: 12px 16px; }
.grnz-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

/* Tablet and phone */
/* Space above the board can be adjusted in Settings (used when the script cannot measure the page). */
.grnz-board-page { margin-top: var(--grnz-top-offset, 0px); }

/* The Apply bar only exists on phones. */
.grnz-apply-bar { display: none; }

@media (max-width: 900px) {
	.grnz-wrap { padding: 20px 0 40px; }
	.grnz select, .grnz input[type=text], .grnz input[type=email], .grnz input[type=search], .grnz input[type=number], .grnz input[type=password] { font-size: 16px !important; height: 40px !important; }
	.grnz .grnz-field select, .grnz .grnz-field input, .grnz .grnz-banner-form select, .grnz .grnz-banner-form input[type=email] { height: 40px !important; }
	.grnz-layout, .grnz-job-layout, .grnz-columns { grid-template-columns: 1fr; }
	.grnz-sidebar { position: static; order: -1; }
	.grnz-results { order: 2; }
	.grnz-filters-toggle { display: block; width: 100%; margin-bottom: 12px; min-height: 44px; background: #fff; color: var(--grnz-primary) !important; border: 1px solid var(--grnz-primary); }
	.grnz-filters-toggle:hover, .grnz-filters-toggle:focus { background: #f3f4fb; }
	.grnz-open .grnz-filters-toggle { margin-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
	.grnz-open .grnz-filters { border-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; margin-bottom: 16px; }
	.grnz-check input { width: 20px; height: 20px; }
	.grnz-share a { width: 44px; height: 44px; }
	.grnz-job-side { order: -1; }
	.grnz-card-apply, .grnz-pages a, .grnz-pages span { min-height: 40px; line-height: 40px; }
	.grnz-card-apply { min-width: 140px; padding: 0 20px; }
	.grnz-sidebar .grnz-filters { display: none; }
	.grnz-side-links { display: none; }
	.grnz-footer-links-phone { display: flex; }
	.grnz-sidebar.grnz-open .grnz-filters { display: grid; }
	.grnz-job-side { position: static; }
	.grnz-banner { padding: 22px 0 20px; }
	.grnz-banner-inner { margin: 0; }
	.grnz-wrap { margin-left: 0; margin-right: 0; }
	.grnz-banner h2 { font-size: 20px; }
	.grnz-banner > .grnz-banner-inner > p { margin-bottom: 4px; }
	.grnz-banner-text { display: none; }
	.grnz-banner-form { display: block; }
	.grnz .grnz-banner-form select, .grnz .grnz-banner-form input[type=email] { display: block; width: 100% !important; height: 44px !important; margin-top: 10px !important; }
	.grnz .grnz-banner-form .grnz-btn { display: block; width: 100%; height: 48px; line-height: 48px; margin-top: 10px; font-size: 16px; }
}
@media (max-width: 600px) {
	.grnz-heading { font-size: 21px; }
	.grnz-card { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 16px; }
	.grnz-card-title { font-size: 17px; }
	.grnz-card-side { grid-column: 2; text-align: left; }
	.grnz-card-apply { display: inline-block; }
	.grnz-card-side { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
	.grnz-age { margin-right: 0; }
	.grnz-filters { padding: 16px; }
	.grnz-employer .grnz-row { grid-template-columns: 1fr; }
	.grnz-company-head { flex-direction: column; }
	.grnz-apply-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; border-top: 1px solid var(--grnz-border); padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); }
	.grnz-apply-bar .grnz-btn { min-height: 48px; line-height: 48px; padding-top: 0; padding-bottom: 0; font-size: 16px; }
	.grnz-job { padding-bottom: 90px; }
	.grnz-apply-box .grnz-btn-block { display: none; }
	.grnz-logo-large { width: 72px; height: 72px; }
	.grnz-apply-box { padding: 16px; }
}

/* Theme paragraphs and headings carry their own margins; inside the board, ours win. */
.grnz .grnz-heading { margin-top: 0; }
.grnz .grnz-results > :first-child, .grnz .grnz-sidebar > :first-child { margin-top: 0; }
.grnz .grnz-card-body > :last-child { margin-bottom: 0; }
