/* Rec & Ledger Candidates – front end */
:root {
	--rlc-navy: #002b53;
	--rlc-navy-2: #0b3d6b;
	--rlc-teal: #03a0a6;
	--rlc-teal-d: #027f84;
	--rlc-mist: #e8f8f8;
	--rlc-line: #e3e8ee;
	--rlc-text: #1f2d3d;
	--rlc-muted: #5b6b7c;
	--rlc-radius: 10px;
	--rlc-shadow: 0 1px 2px rgba(0, 43, 83, .06), 0 6px 18px rgba(0, 43, 83, .06);
}
.rlc-directory, .rlc-featured, .rlc-profile { color: var(--rlc-text); }
.rlc-directory *, .rlc-featured *, .rlc-profile * { box-sizing: border-box; }

/* Buttons */
.rlc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--rlc-navy); color: #fff !important; border: 2px solid var(--rlc-navy); border-radius: 6px; padding: 10px 18px; font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none !important; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.rlc-btn:hover, .rlc-btn:focus { background: var(--rlc-teal); border-color: var(--rlc-teal); }
.rlc-btn-ghost { background: transparent; color: var(--rlc-navy) !important; }
.rlc-btn-ghost:hover, .rlc-btn-ghost:focus { background: var(--rlc-mist); border-color: var(--rlc-teal); color: var(--rlc-navy) !important; }
.rlc-btn-light { background: var(--rlc-teal); border-color: var(--rlc-teal); }
.rlc-btn-light:hover { background: #fff; color: var(--rlc-navy) !important; border-color: #fff; }
.rlc-btn-block { width: 100%; }

/* Search bar */
.rlc-searchbar { display: grid; grid-template-columns: 1.6fr 1fr auto; gap: 12px; align-items: end; background: var(--rlc-navy); padding: 20px; border-radius: var(--rlc-radius); margin-bottom: 24px; }
.rlc-sb-field label { display: block; color: #cfe6ef; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.rlc-sb-field input, .rlc-sb-field select { width: 100%; height: 46px; border: 0; border-radius: 6px; padding: 0 14px; font-size: 15px; background: #fff; color: var(--rlc-text); }
.rlc-sb-go { height: 46px; background: var(--rlc-teal); border-color: var(--rlc-teal); }
.rlc-sb-go:hover { background: #fff; border-color: #fff; color: var(--rlc-navy) !important; }

/* Layout */
.rlc-layout { display: grid; grid-template-columns: 270px 1fr; gap: 28px; align-items: start; }
.rlc-filters { background: #fff; border: 1px solid var(--rlc-line); border-radius: var(--rlc-radius); padding: 18px; position: sticky; top: 20px; }
.rlc-filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.rlc-filters-head strong { color: var(--rlc-navy); font-size: 17px; }
.rlc-clear { font-size: 13px; color: var(--rlc-teal-d); }
.rlc-group { border-top: 1px solid var(--rlc-line); padding: 12px 0; }
.rlc-group summary { cursor: pointer; font-weight: 700; color: var(--rlc-navy); list-style: none; display: flex; justify-content: space-between; }
.rlc-group summary::-webkit-details-marker { display: none; }
.rlc-group summary::after { content: "–"; color: var(--rlc-teal); }
.rlc-group:not([open]) summary::after { content: "+"; }
.rlc-group > *:not(summary) { margin-top: 10px; }
.rlc-group select, .rlc-skill-search { width: 100%; height: 38px; border: 1px solid var(--rlc-line); border-radius: 6px; padding: 0 10px; background: #fff; font-size: 14px; }
.rlc-range { display: flex; align-items: center; gap: 8px; }
.rlc-range span { color: var(--rlc-muted); font-size: 13px; }
.rlc-opt { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 14px; cursor: pointer; }
.rlc-opt input { accent-color: var(--rlc-teal); width: 16px; height: 16px; margin: 0; }
.rlc-opt span { flex: 1; }
.rlc-opt em { font-style: normal; font-size: 12px; color: var(--rlc-muted); background: #f3f6f9; border-radius: 999px; padding: 0 7px; }
.rlc-skill-list { max-height: 230px; overflow: auto; padding-right: 4px; }
.rlc-now { border-top: 1px solid var(--rlc-line); padding-top: 12px; font-weight: 600; color: var(--rlc-navy); }

/* Results */
.rlc-results-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.rlc-count { margin: 0; color: var(--rlc-muted); }
.rlc-count strong { color: var(--rlc-navy); font-size: 20px; }
.rlc-sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--rlc-muted); margin: 0; }
.rlc-sort select { height: 38px; border: 1px solid var(--rlc-line); border-radius: 6px; padding: 0 10px; background: #fff; }
.rlc-toggle-filters { display: none; padding: 7px 14px; }
.rlc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.rlc-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Card */
.rlc-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rlc-line); border-radius: var(--rlc-radius); padding: 20px; box-shadow: var(--rlc-shadow); transition: transform .15s, box-shadow .15s, border-color .15s; }
.rlc-card:hover { transform: translateY(-2px); border-color: #bfe7e8; box-shadow: 0 10px 28px rgba(0, 43, 83, .10); }
.rlc-card.is-featured { border-top: 4px solid var(--rlc-teal); }
.rlc-card-top { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.rlc-ref { background: var(--rlc-navy); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .4px; border-radius: 4px; padding: 3px 8px; }
.rlc-flag { background: var(--rlc-teal); color: #fff; font-size: 12px; font-weight: 600; border-radius: 4px; padding: 3px 8px; }
.rlc-sector, .rlc-tag { background: var(--rlc-mist); color: var(--rlc-teal-d); font-size: 12px; font-weight: 600; border-radius: 4px; padding: 3px 8px; }
.rlc-card-title { font-size: 19px; line-height: 1.3; margin: 0 0 10px; }
.rlc-card-title a { color: var(--rlc-navy); text-decoration: none; }
.rlc-card-title a:hover { color: var(--rlc-teal-d); }
.rlc-facts, .rlc-hero-facts { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--rlc-muted); }
.rlc-facts li, .rlc-hero-facts li { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.rlc-facts li::before, .rlc-hero-facts li::before { content: ""; width: 15px; height: 15px; flex: 0 0 15px; background: var(--rlc-teal); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.rlc-i-loc { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.3 7 13 7 13s7-7.7 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E"); }
.rlc-i-sal { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14.5 3C11.5 3 9 5.4 9 8.5V11H6v2h3v4H6v2h12v-2h-7v-4h4v-2h-4V8.5C11 6.6 12.6 5 14.5 5c1 0 1.9.4 2.6 1.1l1.4-1.4A5.6 5.6 0 0 0 14.5 3z'/%3E%3C/svg%3E"); }
.rlc-i-exp { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 3h4a2 2 0 0 1 2 2v2h4a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h4V5a2 2 0 0 1 2-2zm0 4h4V5h-4v2z'/%3E%3C/svg%3E"); }
.rlc-i-type { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 10.6V6h-2v7.4l5 3 1-1.7-4-2.1z'/%3E%3C/svg%3E"); }
.rlc-i-avail { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E"); }
.rlc-card-summary { font-size: 14px; color: var(--rlc-text); margin: 0 0 12px; line-height: 1.55; }
.rlc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.rlc-chip { background: #f2f6f9; color: var(--rlc-navy); border: 1px solid var(--rlc-line); border-radius: 999px; padding: 3px 10px; font-size: 12.5px; }
.rlc-chip-more { background: var(--rlc-mist); color: var(--rlc-teal-d); border-color: #bfe7e8; }
.rlc-chips-lg .rlc-chip { font-size: 14px; padding: 5px 12px; }
.rlc-card-foot { margin-top: auto; display: flex; gap: 8px; }
.rlc-card-foot .rlc-btn { flex: 1; padding: 9px 12px; font-size: 14px; }

.rlc-pages { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.rlc-pages .page-numbers { display: inline-block; min-width: 38px; text-align: center; padding: 8px 12px; border: 1px solid var(--rlc-line); border-radius: 6px; color: var(--rlc-navy); text-decoration: none; background: #fff; }
.rlc-pages .page-numbers.current, .rlc-pages a.page-numbers:hover { background: var(--rlc-navy); border-color: var(--rlc-navy); color: #fff; }
.rlc-empty { text-align: center; padding: 40px 20px; border: 2px dashed var(--rlc-line); border-radius: var(--rlc-radius); background: #fff; }
.rlc-empty h3 { color: var(--rlc-navy); margin-top: 0; }

.rlc-featured-more { text-align: center; margin-top: 22px; }

/* Profile */
.rlc-single-page .site-content > .ast-container, .rlc-single-page #content > .ast-container { max-width: 100%; padding: 0; display: block; }
.rlc-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.rlc-hero { background: linear-gradient(135deg, var(--rlc-navy) 0%, var(--rlc-navy-2) 60%, #075a7a 100%); color: #fff; padding: 34px 0 40px; }
.rlc-back { color: #bfe7e8 !important; font-size: 14px; text-decoration: none; display: inline-block; margin-bottom: 16px; }
.rlc-back:hover { color: #fff !important; }
.rlc-hero-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.rlc-hero .rlc-ref { background: var(--rlc-teal); }
.rlc-hero .rlc-tag { background: rgba(255, 255, 255, .12); color: #fff; }
.rlc-tag-placed { background: #6b7a89 !important; }
.rlc-tag-interviewing { background: #b7791f !important; }
.rlc-hero-title { color: #fff; font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin: 0 0 14px; }
.rlc-hero-facts { color: #d9e7f2; font-size: 15px; margin-bottom: 22px; gap: 8px 22px; }
.rlc-hero-facts li::before { background: #5fd3d7; }
.rlc-body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; padding-top: 32px; padding-bottom: 48px; align-items: start; }
.rlc-section { background: #fff; border: 1px solid var(--rlc-line); border-radius: var(--rlc-radius); padding: 24px; margin-bottom: 20px; }
.rlc-section h2, .rlc-box h2 { font-size: 20px; color: var(--rlc-navy); margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--rlc-mist); }
.rlc-content > *:last-child { margin-bottom: 0; }
.rlc-ticks { list-style: none; margin: 0; padding: 0; }
.rlc-ticks li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.rlc-ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--rlc-mist); color: var(--rlc-teal-d); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.rlc-timeline { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 2px solid var(--rlc-mist); }
.rlc-timeline > li { position: relative; padding: 0 0 22px 8px; margin: 0; }
.rlc-timeline > li:last-child { padding-bottom: 0; }
.rlc-timeline > li::before { content: ""; position: absolute; left: -30px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--rlc-teal); }
.rlc-tl-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.rlc-tl-head h3 { font-size: 17px; margin: 0; color: var(--rlc-navy); }
.rlc-tl-dates { font-size: 13px; color: var(--rlc-teal-d); font-weight: 600; background: var(--rlc-mist); border-radius: 4px; padding: 2px 8px; }
.rlc-tl-org { color: var(--rlc-muted); font-size: 14px; margin: 4px 0 8px; font-style: italic; }
.rlc-timeline ul { margin: 6px 0 0 18px; }
.rlc-timeline ul li { margin-bottom: 4px; }
.rlc-edu { list-style: none; margin: 0; padding: 0; }
.rlc-edu li { display: flex; flex-direction: column; padding: 10px 0; border-bottom: 1px solid var(--rlc-line); }
.rlc-edu li:last-child { border-bottom: 0; }
.rlc-edu span { color: var(--rlc-muted); font-size: 14px; }
.rlc-notice { background: #fff8e5; border: 1px solid #f3d58b; border-radius: var(--rlc-radius); padding: 14px 18px; }
.rlc-side { position: sticky; top: 20px; }
.rlc-box { background: #fff; border: 1px solid var(--rlc-line); border-radius: var(--rlc-radius); padding: 22px; margin-bottom: 20px; box-shadow: var(--rlc-shadow); }
.rlc-dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 14px; }
.rlc-dl dt { color: var(--rlc-muted); margin: 0; }
.rlc-dl dd { margin: 0; font-weight: 600; color: var(--rlc-navy); text-align: right; }
.rlc-box-enquire { border-top: 4px solid var(--rlc-teal); }
.rlc-enquire h3 { font-size: 20px; color: var(--rlc-navy); margin: 0 0 6px; }
.rlc-enquire-intro { font-size: 14px; color: var(--rlc-muted); }
.rlc-enquire label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; color: var(--rlc-navy); }
.rlc-enquire input, .rlc-enquire textarea { width: 100%; border: 1px solid #cfd8e3; border-radius: 6px; padding: 9px 12px; font-size: 15px; }
.rlc-enquire input:focus, .rlc-enquire textarea:focus { outline: 2px solid var(--rlc-teal); border-color: var(--rlc-teal); }
.rlc-enquire p { margin: 0 0 12px; }
.rlc-hp { position: absolute !important; left: -9999px !important; }
.rlc-msg { padding: 10px 12px; border-radius: 6px; font-weight: 600; }
.rlc-ok { background: #e7f7ee; color: #1a7f37; }
.rlc-err { background: #fdecec; color: #b42318; }

/* Responsive */
@media (max-width: 1024px) {
	.rlc-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rlc-body { grid-template-columns: 1fr; }
	.rlc-side { position: static; }
}
@media (max-width: 860px) {
	.rlc-layout { grid-template-columns: 1fr; }
	.rlc-filters { display: none; position: static; }
	.rlc-filters.is-open { display: block; }
	.rlc-toggle-filters { display: inline-flex; }
	.rlc-searchbar { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.rlc-grid, .rlc-grid-3 { grid-template-columns: 1fr; }
	.rlc-dl dd { text-align: left; }
}

/* Grid / list view switch */
.rlc-results-head { gap: 12px; }
.rlc-results-tools { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.rlc-view { display: inline-flex; border: 1px solid var(--rlc-line); border-radius: 6px; overflow: hidden; background: #fff; }
.rlc-view button { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 36px; border: 0; background: #fff; color: var(--rlc-muted); cursor: pointer; padding: 0; }
.rlc-view button + button { border-left: 1px solid var(--rlc-line); }
.rlc-view button:hover { color: var(--rlc-navy); background: var(--rlc-mist); }
.rlc-view button[aria-pressed="true"] { background: var(--rlc-navy); color: #fff; }
.rlc-view svg { width: 18px; height: 18px; fill: currentColor; }

.rlc-grid.is-list { grid-template-columns: 1fr; gap: 14px; }
.rlc-grid.is-list .rlc-card { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) 150px; grid-template-areas: "top summary foot" "title summary foot" "facts chips foot"; column-gap: 24px; row-gap: 6px; align-items: start; padding: 18px 20px; }
.rlc-grid.is-list .rlc-card:hover { transform: none; }
.rlc-grid.is-list .rlc-card.is-featured { border-top-width: 1px; border-left: 4px solid var(--rlc-teal); }
.rlc-grid.is-list .rlc-card-top { grid-area: top; margin-bottom: 0; }
.rlc-grid.is-list .rlc-card-title { grid-area: title; margin: 0; font-size: 18px; }
.rlc-grid.is-list .rlc-facts { grid-area: facts; margin: 4px 0 0; gap: 4px 14px; font-size: 13.5px; }
.rlc-grid.is-list .rlc-card-summary { grid-area: summary; margin: 0; font-size: 13.5px; color: var(--rlc-muted); }
.rlc-grid.is-list .rlc-chips { grid-area: chips; margin: 4px 0 0; align-self: end; }
.rlc-grid.is-list .rlc-card-foot { grid-area: foot; flex-direction: column; justify-content: center; align-self: center; margin: 0; }
.rlc-grid.is-list .rlc-card-foot .rlc-btn { flex: none; width: 100%; }
@media (max-width: 1024px) {
	.rlc-grid.is-list .rlc-card { grid-template-columns: minmax(0, 1fr) 140px; grid-template-areas: "top foot" "title foot" "facts foot" "summary summary" "chips chips"; }
}
@media (max-width: 640px) {
	.rlc-view { display: none; }
	.rlc-grid.is-list .rlc-card { display: flex; }
	.rlc-grid.is-list .rlc-card-foot { flex-direction: row; margin-top: 12px; }
	.rlc-grid.is-list .rlc-card-foot .rlc-btn { flex: 1; }
}
