/* Softfootball Career Guide: uses the theme's colours (Settings) and fonts. */
.sfcg {
	--sfcg-ink: var(--sf-ink, #12201A);
	--sfcg-muted: var(--sf-muted, #4A5A51);
	--sfcg-ground: var(--sf-ground, #F5F6F1);
	--sfcg-sage: var(--sf-sage, #E4EBDF);
	--sfcg-line: var(--sf-card-line, #DDE2D9);
	--sfcg-card: var(--sf-card, #FFFFFF);
	--sfcg-green: var(--sf-green, #1F6F43);
	--sfcg-accent: var(--sf-accent, #9BE15D);
	--sfcg-button: var(--sf-search-button, #8BB453);
	--sfcg-display: var(--sf-display, Nunito, Arial, sans-serif);
	color: var(--sfcg-ink);
	font-size: 18px;
	line-height: 1.6;
}
.sfcg p { margin: 0 0 16px; }
.sfcg a { color: var(--sfcg-green); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.sfcg a:hover { text-decoration-thickness: 3px; }
.sfcg a:focus-visible, .sfcg button:focus-visible, .sfcg input:focus-visible { outline: 3px solid var(--sfcg-accent); outline-offset: 2px; }
.sfcg-muted { color: var(--sfcg-muted); }
.sfcg .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Headings */
.sfcg-h1 { margin: 0 0 18px; font-family: var(--sfcg-display); font-size: clamp(34px, 4.6vw, 52px); line-height: 1.1; font-weight: 800; letter-spacing: -.01em; text-transform: none; color: var(--sfcg-ink); }
.sfcg-h2 { margin: 0 0 18px; font-family: var(--sfcg-display); font-size: clamp(26px, 2.8vw, 34px); line-height: 1.15; font-weight: 800; letter-spacing: -.01em; text-transform: none; color: var(--sfcg-ink); }
.sfcg-h3 { margin: 28px 0 10px; font-family: var(--sfcg-display); font-size: 22px; line-height: 1.25; font-weight: 800; text-transform: none; letter-spacing: 0; color: var(--sfcg-ink); }

/* Buttons */
.sfcg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 6px; background: var(--sfcg-button); box-shadow: 0 2px 0 rgba(0, 0, 0, .18); color: #FFFFFF !important; font: inherit; font-size: 18px; font-weight: 700; line-height: 1.2; text-decoration: none !important; cursor: pointer; }
.sfcg-btn:hover { filter: brightness(.94); }
.sfcg-btn:active { transform: translateY(2px); box-shadow: none; }
.sfcg-btn--ghost { background: #FFFFFF; color: var(--sfcg-ink) !important; box-shadow: inset 0 0 0 2px var(--sfcg-line); }
.sfcg-btn--ghost:hover { filter: none; box-shadow: inset 0 0 0 2px var(--sfcg-ink); }
.sfcg-btn--big { min-height: 60px; padding: 0 34px; font-size: 20px; }
.sfcg-btn--small { min-height: 42px; padding: 0 18px; font-size: 16px; }
.sfcg-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Band at the top of the guide's pages (search, title) */
.sfcg-band { background: var(--sfcg-ground); padding: 36px 0 40px; border-bottom: 1px solid var(--sfcg-line); }
.sfcg-band .sf-crumbs { margin-bottom: 18px; }
.sfcg-band__intro { max-width: 760px; color: var(--sfcg-muted); font-size: 20px; margin: 0 !important; }
.sfcg-band__title { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.sfcg-band__title .sfcg-h1 { margin: 0; }
.sfcg-band__icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 56px; width: 56px; height: 56px; border-radius: 14px; background: var(--sfcg-card); color: var(--sfcg-green); box-shadow: inset 0 0 0 1px var(--sfcg-line); }
.sfcg-band__icon .sfcg-icon { width: 30px; height: 30px; }

/* Search */
.sfcg-search { margin: 0; max-width: 820px; }
.sfcg-search__label { display: block; margin: 0 0 10px; font-size: 20px; font-weight: 600; }
.sfcg-search__row { display: flex; gap: 14px; }
.sfcg-search__input { flex: 1 1 auto; min-width: 0; height: 54px; padding: 0 14px; border: 2px solid var(--sfcg-ink); border-radius: 0; background: #FFFFFF; color: var(--sfcg-ink); font: inherit; font-size: 19px; box-shadow: none; }
.sfcg-search__input::placeholder { color: #7A847E; opacity: 1; }
.sfcg-search__input:focus { outline: 3px solid var(--sfcg-accent); outline-offset: 0; box-shadow: inset 0 0 0 2px var(--sfcg-ink); }
.sfcg-search__go { flex: 0 0 auto; min-height: 54px; }
.sfcg-search--side .sfcg-search__label { font-size: 18px; font-weight: 800; }
.sfcg-search--side .sfcg-search__row { flex-direction: column; gap: 10px; }
.sfcg-search--side .sfcg-search__input { height: 50px; font-size: 17px; }
.sfcg-search--side .sfcg-search__go { align-self: flex-start; min-height: 46px; padding: 0 22px; font-size: 17px; }
.sfcg-search--block { padding: 22px; background: var(--sfcg-ground); border-radius: 12px; }

/* Body and two-column layout */
.sfcg-body { padding-top: 44px; padding-bottom: 20px; }
.sfcg-cols { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.sfcg-section { margin: 0 0 44px; scroll-margin-top: 90px; }
.sfcg-section + .sfcg-section { padding-top: 36px; border-top: 1px solid var(--sfcg-line); }
.sfcg-body + .sfcg-section, .sfcg-section.sf-wrap { padding-top: 20px; border-top: 0; }
.sfcg-lead { font-size: 20px; }
.sfcg-text > :last-child { margin-bottom: 0; }
.sfcg-text ul, .sfcg-text ol { margin: 0 0 16px; padding-left: 24px; }
.sfcg-text li { margin-bottom: 6px; }

/* Portal */
.sfcg-portal__figure { margin: 0 0 28px; overflow: hidden; border-radius: 4px; background: var(--sfcg-sage); }
.sfcg-portal__img { display: block; width: 100%; height: auto; aspect-ratio: 32 / 15; object-fit: cover; }
.sfcg-ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 8px; }
.sfcg-way { padding: 22px 22px 8px; background: var(--sfcg-ground); border-top: 5px solid var(--sfcg-button); }
.sfcg-way__title { margin: 0 0 14px; font-family: var(--sfcg-display); font-size: 26px; line-height: 1.2; font-weight: 800; text-transform: none; letter-spacing: 0; }
.sfcg-quiz-promo { padding-top: 4px; }
.sfcg-quiz-promo__title { margin: 0 0 16px; font-family: var(--sfcg-display); font-size: 30px; line-height: 1.15; font-weight: 800; text-transform: none; letter-spacing: -.01em; }
.sfcg-quiz-promo .sfcg-btn { margin-top: 4px; }

/* Cards: popular careers */
.sfcg-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.sfcg-card { display: flex; flex-direction: column; padding: 22px; margin: 0; background: var(--sfcg-card); border: 1px solid var(--sfcg-line); border-radius: 12px; transition: box-shadow .2s, transform .2s; }
.sfcg-card:hover { box-shadow: 0 10px 30px rgba(0, 0, 0, .08); transform: translateY(-2px); }
.sfcg-card__title { margin: 0 0 8px; font-size: 21px; line-height: 1.3; font-weight: 800; text-transform: none; letter-spacing: 0; }
.sfcg-card__text { color: var(--sfcg-muted); font-size: 16px; flex: 1 1 auto; }
.sfcg-card__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin: 0 !important; font-size: 15px; font-weight: 700; }
.sfcg-card__jobs { color: var(--sfcg-green); }

/* Sector tiles */
.sfcg-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.sfcg-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 20px; background: var(--sfcg-ground); border: 1px solid var(--sfcg-line); border-radius: 12px; color: var(--sfcg-ink) !important; text-decoration: none !important; transition: border-color .2s, background .2s; }
.sfcg-tile:hover { border-color: var(--sfcg-green); background: var(--sfcg-card); }
.sfcg-tile .sfcg-icon { color: var(--sfcg-green); margin-bottom: 6px; }
.sfcg-tile__name { font-size: 18px; font-weight: 800; line-height: 1.3; }
.sfcg-tile__count { color: var(--sfcg-muted); font-size: 15px; }

/* Result lists */
.sfcg-count { font-weight: 700; font-size: 19px; }
.sfcg-results { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--sfcg-line); }
.sfcg-result { margin: 0; padding: 20px 0; border-bottom: 1px solid var(--sfcg-line); }
.sfcg-result__title { margin: 0 0 4px; font-size: 22px; line-height: 1.3; font-weight: 800; text-transform: none; letter-spacing: 0; }
.sfcg-result__alt { margin: 0 0 6px !important; color: var(--sfcg-muted); font-size: 16px; }
.sfcg-result__text { margin: 0 !important; font-size: 17px; }
.sfcg-results--grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); column-gap: 32px; border-top: 0; }
.sfcg-results--grid .sfcg-result { border-top: 1px solid var(--sfcg-line); border-bottom: 0; }
.sfcg-empty { padding: 24px; background: var(--sfcg-ground); border-radius: 8px; }
.sfcg-empty .sfcg-h3 { margin-top: 0; }
.sfcg-bullets, .sfcg-checks, .sfcg-links { margin: 0 0 18px; padding: 0 0 0 22px; }
.sfcg-bullets li { margin: 0 0 8px; padding-left: 4px; }
.sfcg-links { padding: 0; list-style: none; }
.sfcg-links li { margin: 0 0 10px; }
.sfcg-link-strong { font-weight: 800; font-size: 19px; }

/* Explore by sector */
.sfcg-sectors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin: 0; padding: 0; list-style: none; }
.sfcg-sector { display: flex; gap: 18px; margin: 0; padding: 24px 0; border-bottom: 1px solid var(--sfcg-line); }
.sfcg-sector__icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 52px; width: 52px; height: 52px; border-radius: 12px; background: var(--sfcg-ground); color: var(--sfcg-green); }
.sfcg-sector__title { margin: 0 0 8px; font-size: 24px; line-height: 1.25; font-weight: 800; text-transform: none; letter-spacing: 0; }
.sfcg-sector__body p { margin-bottom: 8px; }
.sfcg-sector__careers { color: var(--sfcg-muted); font-size: 16px; }

/* Side boxes */
.sfcg-side { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 24px; }
.admin-bar .sfcg-side { top: 56px; }
.sfcg-side__box { padding: 22px; background: var(--sfcg-ground); border-top: 5px solid var(--sfcg-button); }
.sfcg-side__title { margin: 0 0 16px; font-family: var(--sfcg-display); font-size: 26px; line-height: 1.2; font-weight: 800; text-transform: none; letter-spacing: -.01em; }
.sfcg-side__box .sfcg-links { margin-bottom: 22px; }
.sfcg-side__sectors { margin: 18px 0 10px !important; font-size: 16px; }
.sfcg-side__box > :last-child { margin-bottom: 0; }
.sfcg-toc { padding: 0 0 0 16px; border-left: 4px solid var(--sfcg-line); }
.sfcg-toc__title { margin: 0 0 10px; font-size: 17px; font-weight: 800; text-transform: none; letter-spacing: 0; }
.sfcg-toc ol { margin: 0; padding: 0; list-style: none; }
.sfcg-toc li { margin: 0 0 8px; font-size: 16px; line-height: 1.4; }
.sfcg-toc a { text-decoration: none; }
.sfcg-toc a:hover { text-decoration: underline; }
.sfcg-toc a[aria-current] { color: var(--sfcg-ink); font-weight: 800; }

/* Career profile: breadcrumbs, hero and facts */
.sfcg-crumbs { background: var(--sf-page-bg, #FFFFFF); }
.sfcg-crumbs .sf-crumbs { padding: 14px 0; font-size: 16px; }
.sfcg-hero { background: var(--sfcg-ground); padding: 44px 0 40px; }
.sfcg-hero .sfcg-h1 { margin-bottom: 14px; }
.sfcg-hero__alt { margin: 0 0 18px !important; color: var(--sfcg-muted); font-size: clamp(20px, 2.2vw, 26px); line-height: 1.35; }
.sfcg-hero__summary { max-width: 780px; font-size: 20px; margin: 0 0 30px !important; }
.sfcg-facts { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px 48px; }
.sfcg-fact__head { margin: 0 0 18px; padding-bottom: 10px; border-bottom: 1px solid #B9C2BC; font-family: var(--sf-body, inherit); font-size: 20px; font-weight: 600; line-height: 1.3; text-transform: none; letter-spacing: 0; }
.sfcg-fact__head span { font-size: 16px; font-weight: 400; }
.sfcg-fact__body { display: flex; align-items: flex-start; gap: 18px; }
.sfcg-fact__icon { flex: 0 0 44px; width: 44px; height: 44px; color: var(--sfcg-ink); }
.sfcg-fact__icon--money { display: inline-flex; align-items: center; justify-content: center; font-size: 46px; font-weight: 800; line-height: 1; }
.sfcg-fact__value { margin: 0 !important; font-size: 24px; line-height: 1.25; }
.sfcg-fact__value span { display: block; margin-top: 4px; font-size: 18px; }
.sfcg-pay { flex: 1 1 auto; min-width: 0; }
.sfcg-pay__ends { display: flex; justify-content: space-between; gap: 12px; margin: 0 !important; }
.sfcg-pay__amount { font-size: 24px; line-height: 1.25; }
.sfcg-pay__bar { position: relative; display: block; height: 4px; margin: 10px 0; background: var(--sfcg-ink); }
.sfcg-pay__bar::before, .sfcg-pay__bar::after { content: ""; position: absolute; top: -7px; width: 4px; height: 18px; background: var(--sfcg-ink); }
.sfcg-pay__bar::before { left: 0; }
.sfcg-pay__bar::after { right: 0; }
.sfcg-pay__ends--labels { font-size: 18px; }

/* Career profile: sections */
.sfcg-route { margin-top: 26px; }
.sfcg-route .sfcg-h3 { margin-top: 0; }
.sfcg-route__intro { font-weight: 600; }
.sfcg-checks { padding: 0; list-style: none; }
.sfcg-checks li { position: relative; margin: 0 0 10px; padding-left: 34px; }
.sfcg-checks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 18px; height: 10px; border-left: 3px solid var(--sfcg-green); border-bottom: 3px solid var(--sfcg-green); transform: rotate(-45deg); }
.sfcg-story .sfcg-text { margin-bottom: 18px; }
.sfcg-video { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 8px; background: #000; }
.sfcg-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sfcg-jobs { margin: 0 0 20px; padding: 0; }
.sfcg-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.sfcg-more li { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 18px; background: var(--sfcg-ground); border-left: 5px solid var(--sfcg-button); }
.sfcg-more a { font-weight: 800; font-size: 18px; line-height: 1.3; }
.sfcg-more span { color: var(--sfcg-muted); font-size: 16px; }
.sfcg-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sfcg-chips a { display: inline-block; padding: 8px 16px; border: 1px solid var(--sfcg-line); border-radius: 999px; background: var(--sfcg-card); color: var(--sfcg-ink); font-size: 16px; font-weight: 700; text-decoration: none; }
.sfcg-chips a:hover { border-color: var(--sfcg-green); color: var(--sfcg-green); }
.sfcg-note { margin: 8px 0 0 !important; color: var(--sfcg-muted); font-size: 15px; }

/* Browse: filters and A–Z */
.sfcg-browse { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 48px; align-items: start; }
.sfcg-filters { position: sticky; top: 24px; padding: 22px; background: var(--sfcg-ground); }
.admin-bar .sfcg-filters { top: 56px; }
.sfcg-filters__title { margin: 0 0 14px; font-size: 24px; font-weight: 800; text-transform: none; letter-spacing: 0; }
.sfcg-filters__group { margin: 0 0 18px; padding: 0; border: 0; }
.sfcg-filters__group legend { margin-bottom: 10px; padding: 0; font-weight: 800; font-size: 18px; }
.sfcg-check { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 10px; font-size: 17px; line-height: 1.35; cursor: pointer; }
.sfcg-check input { flex: 0 0 22px; width: 22px; height: 22px; margin: 0; accent-color: var(--sfcg-green); cursor: pointer; }
.sfcg-check small { color: var(--sfcg-muted); font-size: 14px; }
.sfcg-filters__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.sfcg-filters__actions .sfcg-btn { min-height: 46px; font-size: 17px; }
.sfcg-filters__clear { font-size: 16px; }
.sfcg-az { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; }
.sfcg-az a { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; border-radius: 6px; background: var(--sfcg-ground); font-weight: 800; text-decoration: none; }
.sfcg-az a:hover { background: var(--sfcg-sage); }
.sfcg-letter { margin: 0 0 28px; scroll-margin-top: 90px; }
.sfcg-letter__head { margin: 0 0 6px; font-size: 30px; font-weight: 800; color: var(--sfcg-green); text-transform: none; letter-spacing: 0; }

/* Skills assessment */
.sfcg-quiz { max-width: 820px; margin-bottom: 24px; scroll-margin-top: 110px; }
.sfcg-quiz__progress { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.sfcg-quiz__bar { position: relative; flex: 1 1 auto; height: 10px; overflow: hidden; border-radius: 999px; background: var(--sfcg-sage); }
.sfcg-quiz__bar span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 999px; background: var(--sfcg-green); transition: width .25s; }
.sfcg-quiz__count { flex: 0 0 auto; color: var(--sfcg-muted); font-size: 16px; font-weight: 700; }
.sfcg-quiz__set { margin: 0; padding: 32px; border: 1px solid var(--sfcg-line); border-radius: 14px; background: var(--sfcg-card); box-shadow: 0 10px 30px rgba(18, 32, 26, .06); }
.sfcg-quiz__text { float: left; width: 100%; margin: 0 0 26px; padding: 0; font-family: var(--sfcg-display); font-size: clamp(24px, 3vw, 32px); font-weight: 800; line-height: 1.25; outline: none; }
.sfcg-quiz__answers { clear: both; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.sfcg-answer { min-height: 64px; padding: 10px; border: 2px solid var(--sfcg-line); border-radius: 10px; background: var(--sfcg-ground); color: var(--sfcg-ink); font: inherit; font-size: 16px; font-weight: 700; line-height: 1.25; cursor: pointer; transition: border-color .15s, background .15s; }
.sfcg-answer:hover { border-color: var(--sfcg-green); background: #FFFFFF; }
.sfcg-answer[aria-pressed="true"] { border-color: var(--sfcg-green); background: var(--sfcg-green); color: #FFFFFF; }
.sfcg-quiz__back { margin-top: 18px; padding: 6px 0; border: 0; background: none; color: var(--sfcg-green); font: inherit; font-size: 17px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sfcg-quiz__back[hidden] { display: none; }
.sfcg-matches { margin: 0 0 24px; padding: 0; list-style: none; counter-reset: m; }
.sfcg-match { display: flex; gap: 18px; margin: 0 0 16px; padding: 22px; border: 1px solid var(--sfcg-line); border-radius: 14px; background: var(--sfcg-card); }
.sfcg-match:first-child { border: 2px solid var(--sfcg-green); }
.sfcg-match__icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 52px; height: 52px; border-radius: 12px; background: var(--sfcg-ground); color: var(--sfcg-green); }
.sfcg-match__body { flex: 1 1 auto; min-width: 0; }
.sfcg-match__title { margin: 0 0 6px; font-size: 24px; font-weight: 800; text-transform: none; letter-spacing: 0; }
.sfcg-match__pct { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--sfcg-green); }
.sfcg-match__bar { position: relative; flex: 0 1 220px; height: 8px; overflow: hidden; border-radius: 999px; background: var(--sfcg-sage); }
.sfcg-match__bar span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: var(--sfcg-green); }
.sfcg-match__careers { font-size: 16px; }

/* Embedded (shortcode, Builder) */
.sfcg-embed { font-size: 17px; }
.sfcg-embed .sfcg-h2 { margin-bottom: 14px; }

@media (max-width: 960px) {
	.sfcg-cols, .sfcg-browse { grid-template-columns: 1fr; gap: 32px; }
	.sfcg-side, .sfcg-filters { position: static; }
	.sfcg-facts { grid-template-columns: 1fr 1fr; }
	.sfcg-fact--salary { grid-column: 1 / -1; max-width: 560px; }
	.sfcg-sectors { grid-template-columns: 1fr; }
	.sfcg-quiz__answers { grid-template-columns: 1fr; }
	.sfcg-answer { min-height: 54px; text-align: left; padding: 10px 16px; }
}
@media (max-width: 640px) {
	.sfcg { font-size: 17px; }
	.sfcg-band { padding: 26px 0 30px; }
	.sfcg-band__intro, .sfcg-hero__summary, .sfcg-lead { font-size: 18px; }
	.sfcg-search__label { font-size: 18px; }
	.sfcg-search__row { flex-direction: column; gap: 10px; }
	.sfcg-search__go { align-self: flex-start; }
	.sfcg-ways, .sfcg-more { grid-template-columns: 1fr; }
	.sfcg-facts { grid-template-columns: 1fr; gap: 26px; }
	.sfcg-hero { padding: 30px 0 32px; }
	.sfcg-pay__amount, .sfcg-fact__value { font-size: 21px; }
	.sfcg-quiz__set { padding: 22px 18px; }
	.sfcg-match { flex-direction: column; gap: 12px; padding: 18px; }
	.sfcg-portal__img { aspect-ratio: 16 / 10; }
}
