/* ==========================================================================
   Careers page (/job-opportunities-swp/, card #686, Jay's approved mockup 4 Nov 2026): open sections, no boxes.
   Loaded only where the content has "swp-car" classes (inc/enqueue.php). The content is Flatsome elements (sections,
   rows, columns, Text, Image, Button) with these classes, so the team edits words, photos and links in UX Builder.
   Fonts: Cormorant ("SWP Serif", --swp-serif) for the eyebrow, the headings and the quotes; Lato for the rest.
   Colours (BRAND.md): green-ink #2f3f2e, green-heading #3f573e, brand-green #70926e (large type only), text #3d4a3b,
   muted #666, lines #e3e6e0; the bands' backgrounds are the sections' own colour option (#eef3ec, #f3efe7).
   1. shared  2. hero + collage  3. facts line  4. green band + steps  5. the quote  6. why + goal  7. openings
   8. warm band: words + benefits  9. ready  10. transparency note  11. phones
   ========================================================================== */

/* 0. Cormorant italic for this page's italic lines (the eyebrow, the quotes): the site's "SWP Serif" (fonts.css) has the
   upright 600 only, so the browser slanted it by itself. The Global Select plugin's latin italic 400 file (SIL OFL 1.1),
   copied to the theme; one face for every italic weight here (no fake bold). Loaded only on this page, when used. */
@font-face {
	font-family: "SWP Serif";
	font-style: italic;
	font-weight: 400 600;
	font-display: swap;
	src: url("../../fonts/cormorant-garamond-italic/cormorant-garamond-400-italic-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 1. Shared ------------------------------------------------------------------------------------------------------- */
.swp-car { color: #3d4a3b; }
.swp-car :where(h1, h2, .swp-car-h3) { margin: 0; font-family: var(--swp-serif); font-weight: 600; letter-spacing: 0; text-transform: none; color: #2f3f2e; }
.swp-car :where(h2) { font-size: clamp(34px, 3.6vw, 48px); line-height: 1.05; }
.swp-car p { margin: 0 0 14px; }
.swp-car :is(ul, ol) { margin: 0; padding: 0; }
.swp-car .col-inner :is(ul, ol) > li { margin-left: 0; } /* Flatsome indents list items (.col-inner ul li) */
.swp-car .swp-car-label { margin: 0 0 8px; font: 700 13px/1.3 Lato, "Lato Fallback", Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #3f573e; }
/* body links: ink, a thin #666 underline (CLAUDE.md links rule; never a green line) */
.swp-car .col-inner a:not(.button) { color: #2f3f2e; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: #666; text-underline-offset: 3px; }
@media (hover: hover) { .swp-car .col-inner a:not(.button):hover { text-decoration-color: #2f3f2e; } }
/* the box button (dark green-ink, square, Title Case) and the text-link button */
.swp-car .button.swp-car-btn { display: inline-flex; align-items: center; min-height: 48px; margin: 0 22px 10px 0; padding: 0 26px; border: 2px solid #2f3f2e; border-radius: 0; background: #2f3f2e; color: #fff; font: 700 16px/1 Lato, "Lato Fallback", Arial, sans-serif; letter-spacing: 0; text-transform: none; box-shadow: none; }
.swp-car .button.swp-car-btn:focus-visible { outline: 2px solid #3f573e; outline-offset: 2px; }
.swp-car .button.swp-car-textlink { min-height: 48px; margin: 0 0 10px; padding: 0; border: 0; background: none; color: #2f3f2e; font: 700 16px/48px Lato, "Lato Fallback", Arial, sans-serif; letter-spacing: 0; text-transform: none; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: #666; text-underline-offset: 4px; box-shadow: none; }
@media (hover: hover) {
	.swp-car .button.swp-car-btn:hover { border-color: #3f573e; background: #3f573e; color: #fff; }
	.swp-car .button.swp-car-textlink:hover { color: #2f3f2e; text-decoration-color: #2f3f2e; }
}

/* 2. Hero + collage ------------------------------------------------------------------------------------------------ */
.swp-car-hero .swp-car-eyebrow { margin: 0 0 12px; font: italic 500 26px/1.2 var(--swp-serif); color: #70926e; }
.swp-car-hero h1 { margin: 0 0 20px; font-size: clamp(44px, 6vw, 78px); line-height: .98; text-wrap: balance; }
.swp-car-hero .swp-car-lead { max-width: 32em; margin: 0 0 22px; font-size: 19px; line-height: 1.6; }
.swp-car-collage > .col-inner { display: grid; grid-template-columns: 3fr 2fr; grid-template-rows: 170px 170px; gap: 12px; }
.swp-car-collage > .col-inner > .img { width: 100% !important; margin: 0; } /* Flatsome prints the image's width inline */
.swp-car-collage > .col-inner > .img:first-of-type { grid-row: span 2; }
.swp-car-collage .img-inner { height: 100%; border-radius: 6px; overflow: hidden; }
.swp-car-collage .img-inner img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* 3. Facts line --------------------------------------------------------------------------------------------------- */
.swp-car-facts { display: flex; flex-wrap: wrap; gap: 10px 36px; padding-top: 22px !important; border-top: 1px solid #e3e6e0; list-style: none; font-size: 15px; color: #555; }
.swp-car-facts li { list-style: none; }
.swp-car-facts strong { color: #2f3f2e; }

/* 4. Green band + steps ------------------------------------------------------------------------------------------- */
.swp-car-band h2 { margin-bottom: 14px; }
.swp-car-band .swp-car-band__lead { max-width: 28em; font-size: 17px; line-height: 1.6; }
.swp-car-steps { counter-reset: swp-car-step; list-style: none; }
.swp-car-steps > li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid #d6e0d2; font-size: 18px; line-height: 1.45; list-style: none; counter-increment: swp-car-step; }
.swp-car-steps > li:last-child { border-bottom: 0; }
.swp-car-steps > li::before { content: counter(swp-car-step); flex: none; width: 24px; font: italic 500 22px/1.1 var(--swp-serif); color: #3f573e; }

/* 5. The quote ---------------------------------------------------------------------------------------------------- */
.swp-car-quote { text-align: center; }
.swp-car-quote blockquote { margin: 0 auto; padding: 0; border: 0; background: none; max-width: 22em; font: italic 500 clamp(30px, 4vw, 46px)/1.2 var(--swp-serif); color: #2f3f2e; }
.swp-car-quote blockquote p { margin: 0; }
.swp-car-quote .swp-car-quote__more { max-width: 36em; margin: 16px auto 0; font: italic 400 21px/1.45 var(--swp-serif); color: #3d4a3b; }
.swp-car-who { margin: 14px 0 0 !important; font-size: 15px; color: #666; }

/* 6. Why + goal --------------------------------------------------------------------------------------------------- */
.swp-car-why { text-align: left; }
.swp-car-why .swp-car-h3 { margin: 0 0 10px; font-size: 28px; line-height: 1.15; }
.swp-car-why p { font-size: 16px; line-height: 1.6; }
.swp-car-why .swp-car-kicker { margin: 0 0 6px; font: italic 500 20px/1.3 var(--swp-serif); color: #3f573e; }
.swp-car-goal { max-width: 46em; margin: 8px auto 0 !important; text-align: center; font-size: 17px; line-height: 1.6; }

/* 7. Openings ----------------------------------------------------------------------------------------------------- */
.swp-car-open h2 { margin-bottom: 12px; }
.swp-car-open .swp-car-open__lead { max-width: 44em; font-size: 16px; line-height: 1.6; }
.swp-car-open .swp-car-open__more { font-size: 16px; color: #555; }
.swp-car-jobs { list-style: none; }
.swp-car-jobs > li { list-style: none; border-bottom: 1px solid #e3e6e0; }
.swp-car-jobs > li:last-child { border-bottom: 0; }
.swp-car .col-inner .swp-car-jobs a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; min-height: 44px; padding: 12px 0; box-sizing: border-box; color: #3d4a3b; text-decoration: none; }
.swp-car-job { font-size: 17px; }
.swp-car-tag { flex: none; font-size: 13px; color: #666; white-space: nowrap; }
@media (hover: hover) { .swp-car .col-inner .swp-car-jobs a:hover .swp-car-job { text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: #666; text-underline-offset: 3px; } }
.swp-car .col-inner .swp-car-jobs a:focus-visible { outline: 2px solid #3f573e; outline-offset: 2px; }
.swp-car-note { margin: 10px 0 0 !important; font-size: 14px; color: #666; }

/* 8. Cream band (#1236, Jay's mock FINAL-B): "What you get" on top, centred; "In their words" below, six tiles three across
   (five quote cards + the team photo). --------------------------------------------------------------------------------- */
.swp-car-gets, .swp-car-words { text-align: center; }
.swp-car-gets .swp-car-gets__line { margin: 6px 0 0; font-size: 17px; color: #555; }
.swp-car-gets ul { display: grid; grid-template-columns: repeat(2, max-content); justify-content: center; gap: 4px 72px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 18px; line-height: 1.9; text-align: left; }
.swp-car-gets ul > li { position: relative; margin: 0; padding: 0 0 0 26px; list-style: none; }
.swp-car-gets ul > li::before { content: ""; position: absolute; left: 0; top: 0.95em; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: #5d7d59; }
.swp-car-words h2 { margin-top: 26px; }
/* the tiles: white on the cream, 30px padding, 6px corners, a thin border and a soft shadow; a row's tiles are equally high */
.swp-car-voices > .col { padding-bottom: 30px; }
.swp-car-voices > .col > .col-inner, .swp-car-voices > .col > .col-inner > .text { height: 100%; }
.swp-car-voice { box-sizing: border-box; height: 100%; margin: 0; padding: 30px; border: 1px solid #e3dccd; border-radius: 6px; background: #fff; box-shadow: 0 1px 3px rgba(47, 63, 46, .07); }
.swp-car-voice > :last-child { margin-bottom: 0 !important; }
/* a quote's title: the site's Cormorant, as written (Title Case, in curly quotes) */
.swp-car .swp-car-voice .swp-car-voice__title { margin: 0 0 12px; font: 500 27px/1.2 var(--swp-serif); letter-spacing: 0; text-transform: none; color: #557553; }
.swp-car-voice blockquote { margin: 0; padding: 0; border: 0; background: none; font: 400 21px/1.4 var(--swp-serif); color: #2f3f2e; }
.swp-car-voice blockquote p { margin: 0 0 8px; }
.swp-car-voice .swp-car-who { margin-top: 6px !important; color: #6b5d48; }

/* 8b. The team photo: the sixth tile, the same size as the cards in its row, 6px corners, the photo fills it (cover; held a
   little left of centre, as in the mock: at this shape five of the six faces fit whole). Under 1100px it shows whole. */
.swp-car-teamcol .img, .swp-car-teamcol .img-inner { height: 100%; }
.swp-car-teamcol .img-inner { position: relative; min-height: 260px; border-radius: 6px; overflow: hidden; }
.swp-car-teamcol img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; border-radius: 6px; }

/* 9. Ready -------------------------------------------------------------------------------------------------------- */
.swp-car-ready .swp-car-ready__title { margin: 0 0 6px; font-weight: 700; font-size: 18px; color: #2f3f2e; }
.swp-car-ready p { font-size: 16px; line-height: 1.55; }

/* 10. Transparency in Coverage note (the words and link as on the old page) ----------------------------------------- */
.swp-car-tic p { max-width: 70em; margin: 0 0 8px; font-size: 16px; color: #666; } /* the old spans' 75% = 12px, as before */
/* #1224: centred, at the 880px reading width */
.swp-car-tic > .col { flex-basis: 100%; max-width: 880px; margin-left: auto; margin-right: auto; text-align: center; }
.swp-car-tic p { margin-left: auto; margin-right: auto; }

/* #1236: under 1100px (three tiles across are too narrow below that) the tiles go one per row (photo last, whole) and the benefits list is one centred column */
@media (max-width: 1099px) {
	.swp-car-voices > .col { flex-basis: 100%; max-width: 100%; }
	.swp-car-teamcol .img-inner { min-height: 0; }
	.swp-car-teamcol img { position: static; height: auto; }
	.swp-car-gets ul { grid-template-columns: max-content; }
}

/* 11. Phones ------------------------------------------------------------------------------------------------------ */
@media (max-width: 849px) {
	.swp-car-collage > .col-inner { grid-template-rows: 130px 130px; gap: 8px; }
	.swp-car-hero .swp-car-lead { font-size: 17px; }
	.swp-car-facts { gap: 8px 24px; font-size: 14px; }
	.swp-car-steps > li { font-size: 17px; }
	.swp-car-quote .swp-car-quote__more { font-size: 19px; }
	.swp-car-voices > .col { padding-bottom: 20px; }
	.swp-car-voice { padding: 28px; }
}
