/* OEM Team & Careers — styles for the shortcode output only.
   Values from the OEM Yacht Service design system (tokens.json). Layout, headings and spacing of the
   pages themselves live in the Elementor templates. */

:root {
	--oem-tc-red: #e40034;
	--oem-tc-red-deep: #b5002a;
	--oem-tc-ink: #1b1b1f;
	--oem-tc-charcoal: #4d4d54;
	--oem-tc-c10: #ececee;
	--oem-tc-c30: #c9c9cd;
	--oem-tc-paper: #f6f6f7;
	--oem-tc-font: "Source Sans 3", "Acumin Pro", "Helvetica Neue", Arial, sans-serif;
}

.oem-eyebrow, .oem-label {
	font: 700 12px/1.3 var(--oem-tc-font);
	letter-spacing: .14em;
	text-transform: uppercase;
	margin: 0;
}
.oem-eyebrow { color: var(--oem-tc-red); display: inline-flex; align-items: center; gap: 12px; }
.oem-eyebrow__rule { width: 32px; height: 2px; background: currentColor; display: inline-block; }
.oem-label { color: var(--oem-tc-charcoal); }

.oem-quote { font: 300 24px/1.35 var(--oem-tc-font); color: var(--oem-tc-charcoal); margin: 0; max-width: 600px; }
.oem-rule { width: 64px; height: 4px; background: var(--oem-tc-red); margin-top: 28px; }

.oem-h2 { font: 700 42px/1.2 var(--oem-tc-font); letter-spacing: -.01em; color: var(--oem-tc-ink); margin: 0; }
.oem-h3 { font: 700 32px/1.2 var(--oem-tc-font); letter-spacing: -.01em; color: var(--oem-tc-ink); margin: 0 0 16px; }
.oem-lead { font: 400 18px/1.5 var(--oem-tc-font); color: var(--oem-tc-charcoal); margin: 16px 0 0; }
.oem-on-dark { color: #fff; }
.oem-lead.oem-on-dark { color: rgba(255, 255, 255, .86); }

/* Facts (team) */
.oem-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; margin: 0; max-width: 640px; }
.oem-facts > div { display: flex; flex-direction: column; gap: 6px; }
.oem-facts dt { font: 700 12px var(--oem-tc-font); letter-spacing: .14em; text-transform: uppercase; color: var(--oem-tc-charcoal); }
.oem-facts dd { margin: 0; font: 400 18px/1.4 var(--oem-tc-font); color: var(--oem-tc-ink); }
.oem-facts__badges { display: flex; flex-wrap: wrap; gap: 8px; }

.oem-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.oem-badge { font: 600 11.5px var(--oem-tc-font); padding: 3px 9px; border-radius: 4px; border: 1px solid var(--oem-tc-c30); color: var(--oem-tc-ink); }

/* Buttons */
.oem-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.oem-btn { display: inline-flex; align-items: center; justify-content: center; font: 600 16px/1 var(--oem-tc-font); padding: 14px 24px; border-radius: 4px; border: 1px solid transparent; text-decoration: none; transition: background .12s cubic-bezier(.2, .7, .2, 1); }
.oem-btn--primary { background: var(--oem-tc-red); color: #fff; }
.oem-btn--primary:hover { background: var(--oem-tc-red-deep); color: #fff; }
.oem-btn--secondary { background: #fff; color: var(--oem-tc-ink); border-color: var(--oem-tc-c30); }
.oem-btn--secondary:hover { border-color: var(--oem-tc-ink); color: var(--oem-tc-ink); }
.oem-btn--ghost-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.oem-btn--ghost-dark:hover { border-color: #fff; color: #fff; }
.oem-btn--block { width: 100%; box-sizing: border-box; }
.oem-btn:focus-visible, .oem-chip:focus-visible, .oem-contact:focus-visible, .oem-projects__card:focus-visible { outline: 2px solid var(--oem-tc-ink); outline-offset: 3px; }

/* Lists */
.oem-listblock { margin: 0 0 48px; }
.oem-list { margin: 0; padding-left: 22px; font: 400 18px/1.65 var(--oem-tc-font); color: var(--oem-tc-charcoal); }
.oem-list li + li { margin-top: 6px; }

/* Projects */
.oem-section-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
.oem-section-head .oem-eyebrow { margin-bottom: 16px; }
.oem-more { font: 700 16px var(--oem-tc-font); color: var(--oem-tc-red); text-decoration: none; }
.oem-projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.oem-projects__card { display: flex; flex-direction: column; background: #fff; border-radius: 10px; overflow: hidden; color: var(--oem-tc-ink); text-decoration: none; }
.oem-projects__img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; height: auto; }
.oem-projects__img--empty { background: var(--oem-tc-c30); }
.oem-projects__body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 8px; }
.oem-projects__title { font: 600 22px/1.25 var(--oem-tc-font); }
.oem-projects__text { font: 400 16px/1.5 var(--oem-tc-font); color: var(--oem-tc-charcoal); }

/* Vacancy: at a glance + contact */
.oem-glance { border: 1px solid var(--oem-tc-c10); border-radius: 6px; padding: 28px; display: flex; flex-direction: column; gap: 18px; background: #fff; }
.oem-glance dl { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.oem-glance dl > div { display: flex; justify-content: space-between; gap: 16px; font: 400 16px var(--oem-tc-font); }
.oem-glance dt { color: var(--oem-tc-charcoal); }
.oem-glance dd { margin: 0; font-weight: 600; text-align: right; color: var(--oem-tc-ink); }
.oem-contact { display: flex; gap: 16px; align-items: center; border: 1px solid var(--oem-tc-c10); border-radius: 6px; padding: 24px; color: var(--oem-tc-ink); text-decoration: none; margin-top: 24px; background: #fff; }
.oem-contact__img { width: 72px; height: 90px; flex: 0 0 72px; object-fit: cover; }
.oem-contact__img--empty { background: var(--oem-tc-c10); display: block; }
.oem-contact__body { display: flex; flex-direction: column; gap: 4px; }
.oem-contact__name { font: 600 19px var(--oem-tc-font); }
.oem-contact__role { font: 400 15px var(--oem-tc-font); color: var(--oem-tc-charcoal); }

/* Loop items, breadcrumb, filter */
.oem-card-label { font: 700 12px/1.3 var(--oem-tc-font); letter-spacing: .14em; text-transform: uppercase; color: var(--oem-tc-red); }
.oem-card-meta { font: 400 16px/1.4 var(--oem-tc-font); color: var(--oem-tc-charcoal); }
.oem-breadcrumb { display: flex; gap: 8px; font: 400 15px var(--oem-tc-font); color: var(--oem-tc-charcoal); }
.oem-breadcrumb a { color: var(--oem-tc-charcoal); border-bottom: 1px solid currentColor; text-decoration: none; }
.oem-breadcrumb [aria-current] { color: var(--oem-tc-ink); font-weight: 600; }
.oem-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.oem-chip { font: 600 14px var(--oem-tc-font); padding: 10px 16px; border-radius: 999px; border: 1px solid var(--oem-tc-c30); background: #fff; color: var(--oem-tc-ink); text-decoration: none; }
.oem-chip.is-active, .oem-chip:hover { background: var(--oem-tc-ink); border-color: var(--oem-tc-ink); color: #fff; }

@media (max-width: 767px) {
	.oem-h2 { font-size: 30px; }
	.oem-h3 { font-size: 26px; }
	.oem-quote { font-size: 20px; }
	.oem-facts { gap: 20px 16px; }
	.oem-buttons .oem-btn { flex: 1 1 140px; }
	.oem-buttons .oem-btn--primary { flex-basis: 100%; }
	.oem-projects { grid-template-columns: minmax(0, 1fr); }
}

/* Project gallery */
.oem-gallery-wrap .oem-eyebrow { margin-bottom: 16px; }
.oem-gallery__title { margin-bottom: 32px; }
.oem-gallery { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.oem-gallery--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.oem-gallery--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.oem-gallery__item { margin: 0; }
.oem-gallery__item a { display: block; overflow: hidden; background: var(--oem-tc-c10); }
.oem-gallery__item img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: opacity .2s cubic-bezier(.2, .7, .2, 1); }
.oem-gallery__item a:hover img { opacity: .82; }
.oem-gallery__item a:focus-visible { outline: 2px solid var(--oem-tc-ink); outline-offset: 3px; }
.oem-gallery__item figcaption { font: 400 14px/1.45 var(--oem-tc-font); color: var(--oem-tc-charcoal); margin-top: 8px; }
@media (max-width: 1024px) { .oem-gallery--4, .oem-gallery--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .oem-gallery { gap: 10px; } }

/* Project client reference */
.oem-reference { margin: 0; max-width: 860px; }
.oem-reference .oem-eyebrow { margin-bottom: 24px; }
.oem-reference__quote { margin: 0; padding: 0; border: 0; quotes: none; }
.oem-reference__quote p { margin: 0; font: 300 30px/1.35 var(--oem-tc-font); color: var(--oem-tc-ink); }
.oem-reference__by { display: flex; flex-direction: column; gap: 2px; margin-top: 28px; padding-top: 20px; position: relative; }
.oem-reference__by::before { content: ""; position: absolute; left: 0; top: 0; width: 64px; height: 4px; background: var(--oem-tc-red); }
.oem-reference__name { font: 700 17px/1.4 var(--oem-tc-font); color: var(--oem-tc-ink); }
.oem-reference__title { font: 400 16px/1.4 var(--oem-tc-font); color: var(--oem-tc-charcoal); }
@media (max-width: 767px) { .oem-reference__quote p { font-size: 22px; } }
