/* UPPERROOM ProLiant Careers — defaults match upperroom.co; every value can be overridden in the Elementor widget's Style tab. */

.urpj {
	--urpj-accent: #0839ee;
	--urpj-accent-hover: #030706;
	--urpj-text: #030706;
	--urpj-muted: #6b6f76;
	--urpj-border: #e2e2e2;
	--urpj-surface: #ffffff;
	--urpj-surface-alt: #f5f5f5;
	--urpj-radius: 0px;
	--urpj-gap: 24px;
	color: var(--urpj-text);
	font-family: inherit;
	line-height: 1.5;
	width: 100%;
}
.urpj *, .urpj *::before, .urpj *::after { box-sizing: border-box; }

.urpj-sr {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Filters ---------- */
.urpj-filters {
	display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 32px;
}
.urpj .urpj-input {
	font: inherit; font-size: 16px; line-height: 1.3;
	color: var(--urpj-text); background: var(--urpj-surface);
	border: 1px solid var(--urpj-text); border-radius: var(--urpj-radius);
	padding: 12px 16px; min-height: 48px; margin: 0; box-shadow: none;
}
.urpj .urpj-search { flex: 1 1 260px; }
.urpj .urpj-select {
	flex: 0 1 220px; appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
	background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
	background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
	background-size: 5px 5px; background-repeat: no-repeat;
}
.urpj .urpj-input:focus { outline: 2px solid var(--urpj-accent); outline-offset: 1px; }

/* ---------- Groups ---------- */
.urpj-group + .urpj-group { margin-top: 48px; }
.urpj .urpj-group-title {
	font-size: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em;
	margin: 0 0 12px; padding: 0 0 12px; border-bottom: 2px solid var(--urpj-text); color: var(--urpj-text);
}

/* ---------- Shared bits ---------- */
.urpj .urpj-title { overflow-wrap: anywhere; font-size: 20px; font-weight: 700; line-height: 1.25; margin: 0; color: var(--urpj-text); }
.urpj .urpj-title a { color: inherit; text-decoration: none; }
.urpj .urpj-title a:hover { color: var(--urpj-accent); }

.urpj .urpj-meta {
	list-style: none; margin: 6px 0 0; padding: 0;
	display: flex; flex-wrap: wrap; gap: 4px 0;
	font-size: 14px; color: var(--urpj-muted);
}
.urpj .urpj-meta li { margin: 0; padding: 0; }
.urpj .urpj-meta li + li::before { content: "•"; margin: 0 10px; opacity: .6; }

.urpj-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.urpj .urpj-btn {
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 14px; font-weight: 700; line-height: 1; text-decoration: none;
	padding: 15px 28px; border-radius: var(--urpj-radius);
	border: 2px solid var(--urpj-accent); background: var(--urpj-accent); color: #fff;
	transition: background-color .2s, color .2s, border-color .2s;
}
.urpj .urpj-btn:hover, .urpj .urpj-btn:focus-visible { background: var(--urpj-accent-hover); border-color: var(--urpj-accent-hover); color: #fff; }
.urpj .urpj-btn--details { background: transparent; color: var(--urpj-text); border-color: var(--urpj-text); }
.urpj .urpj-btn--details:hover, .urpj .urpj-btn--details:focus-visible { background: var(--urpj-text); color: #fff; border-color: var(--urpj-text); }

.urpj .urpj-desc { font-size: 16px; line-height: 1.65; }
.urpj .urpj-desc > :first-child { margin-top: 0; }
.urpj .urpj-desc > :last-child { margin-bottom: 0; }
.urpj .urpj-desc h1, .urpj .urpj-desc h2, .urpj .urpj-desc h3, .urpj .urpj-desc h4 { font-size: 1.05em; font-weight: 700; margin: 1.4em 0 .4em; }
.urpj .urpj-desc ul, .urpj .urpj-desc ol { padding-left: 1.3em; margin: .4em 0 1em; }
.urpj .urpj-desc img { max-width: 100%; height: auto; }

.urpj-empty {
	padding: 40px 24px; text-align: center; font-size: 18px;
	border: 1px solid var(--urpj-border); background: var(--urpj-surface-alt);
	border-radius: var(--urpj-radius);
}
.urpj-sample-note {
	font-size: 13px; padding: 8px 12px; margin-bottom: 16px;
	background: #fff8d6; border: 1px dashed #c9a400; color: #5c4a00;
}

/* ---------- Accordion ---------- */
.urpj--accordion .urpj-items { border-top: 1px solid var(--urpj-border); }
.urpj-acc { border-bottom: 1px solid var(--urpj-border); background: var(--urpj-surface); }
.urpj-acc-summary {
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	padding: 24px 4px; cursor: pointer; list-style: none;
}
.urpj-acc-summary::-webkit-details-marker { display: none; }
.urpj-acc-summary::marker { content: ""; }
.urpj-acc-summary:hover .urpj-title { color: var(--urpj-accent); }
.urpj-acc-summary:focus-visible { outline: 2px solid var(--urpj-accent); outline-offset: -2px; }
.urpj-acc-head { min-width: 0; }
.urpj-acc-icon {
	flex: 0 0 auto; position: relative; width: 36px; height: 36px;
	border: 2px solid var(--urpj-text); border-radius: var(--urpj-radius); color: var(--urpj-text);
	transition: background-color .2s, color .2s, border-color .2s;
}
.urpj-acc-icon::before, .urpj-acc-icon::after {
	content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px;
	background: currentColor; transform: translate(-50%, -50%); transition: transform .2s;
}
.urpj-acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.urpj-acc[open] .urpj-acc-icon { background: var(--urpj-text); color: #fff; }
.urpj-acc[open] .urpj-acc-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.urpj-acc-body { padding: 0 4px 32px; max-width: 820px; }

/* ---------- Cards ---------- */
.urpj-cards {
	display: grid; gap: var(--urpj-gap);
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
.urpj[style*="--urpj-columns"] .urpj-cards { grid-template-columns: repeat(var(--urpj-columns), minmax(0, 1fr)); }
@media (max-width: 1024px) { .urpj[style*="--urpj-columns"] .urpj-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px)  { .urpj[style*="--urpj-columns"] .urpj-cards { grid-template-columns: 1fr; } }
.urpj-card {
	display: flex; flex-direction: column;
	padding: 28px; background: var(--urpj-surface);
	border: 1px solid var(--urpj-text); border-radius: var(--urpj-radius);
	transition: box-shadow .2s, transform .2s;
}
.urpj-card:hover { box-shadow: 6px 6px 0 var(--urpj-text); transform: translate(-2px, -2px); }
.urpj-card .urpj-meta { flex-direction: column; gap: 2px; }
.urpj-card .urpj-meta li + li::before { display: none; }
.urpj .urpj-excerpt { font-size: 15px; margin: 14px 0 0; color: var(--urpj-text); }
.urpj-card .urpj-actions { margin-top: auto; padding-top: 24px; }

/* ---------- Table ---------- */
.urpj-table-wrap { width: 100%; }
.urpj .urpj-table { width: 100%; border-collapse: collapse; margin: 0; border: 0; font-size: 15px; background: transparent; }
.urpj .urpj-table th, .urpj .urpj-table td { text-align: left; vertical-align: top; border: 0; background: transparent; }
.urpj .urpj-table thead th {
	font-size: 15px; font-weight: 700; padding: 14px 16px; border-bottom: 2px solid var(--urpj-text); color: var(--urpj-text);
}
.urpj .urpj-table td { padding: 16px; border-bottom: 1px solid var(--urpj-border); }
.urpj .urpj-table .urpj-group-row th { padding: 28px 16px 10px; border-bottom: 1px solid var(--urpj-text); font-size: 15px; margin: 0; }
.urpj .urpj-table .urpj-title { font-size: 16px; color: var(--urpj-accent); text-decoration: none; font-weight: 700; }
.urpj .urpj-table .urpj-title:hover { text-decoration: underline; }
.urpj .urpj-row:hover td { background: var(--urpj-surface-alt); }

@media (max-width: 767px) {
	.urpj .urpj-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
	.urpj .urpj-table, .urpj .urpj-table tbody, .urpj .urpj-table tr, .urpj .urpj-table td, .urpj .urpj-table th { display: block; width: 100%; }
	.urpj .urpj-table .urpj-row { padding: 16px 0; border-bottom: 1px solid var(--urpj-border); }
	.urpj .urpj-table td { padding: 2px 0; border: 0; }
	.urpj .urpj-table td.urpj-cell-title { padding-bottom: 6px; }
	.urpj .urpj-table td.urpj-cell:empty { display: none; }
	.urpj .urpj-table td.urpj-cell::before { content: attr(data-label) ": "; font-weight: 700; color: var(--urpj-text); }
	.urpj .urpj-table td.urpj-cell { color: var(--urpj-muted); font-size: 14px; }
	.urpj .urpj-table .urpj-group-row th { padding: 28px 0 10px; }
	.urpj .urpj-row:hover td { background: transparent; }
}

@media (max-width: 600px) {
	.urpj-acc-summary { padding: 20px 0; gap: 16px; }
	.urpj-acc-body { padding: 0 0 28px; }
	.urpj .urpj-select { flex: 1 1 100%; }
	.urpj-card { padding: 22px; }
	.urpj .urpj-btn { width: 100%; }
}

[hidden].urpj-item, .urpj [hidden] { display: none !important; }
