/* ==========================================================================
   Study Hub — blog listing + single article. New navy + green brand.
   Scoped to .hfe-studyhub / .hfe-article (+ the global header logo lockup).
   Loaded alongside style.css; does not restyle other templates.
   ========================================================================== */
:root {
	--hfe-brand: #1f9e4a;
	--hfe-brand-2: #17823b;
	--hfe-brand-wash: #e9f6ed;
	--hfe-amber: #c67a12;
	--hfe-amber-wash: #fbf1df;
	--hfe-navy-wash: #eef2fb;
}

/* --- header Subscribe button, brand green --- */
.hfe-btn--brand { background: linear-gradient(135deg, #27b357, var(--hfe-brand) 60%, var(--hfe-brand-2)); color: #fff; box-shadow: 0 10px 24px -8px rgba(31, 158, 74, .6); }
.hfe-btn--brand:hover { color: #fff; box-shadow: 0 16px 34px -8px rgba(31, 158, 74, .72); }
.hfe-btn--paper { background: linear-gradient(135deg, #e89a2b, var(--hfe-amber)); color: #3a2600; box-shadow: 0 10px 24px -8px rgba(198, 122, 18, .55); }
.hfe-btn--paper:hover { color: #3a2600; box-shadow: 0 16px 34px -8px rgba(198, 122, 18, .7); }

/* --- header logo lockup (global) --- */
.hfe-brand--logo { display: inline-flex; align-items: center; }
/* Specificity 0,2,0 so it beats the theme's `.hfe img { height:auto }` (0,1,1). */
.hfe-brand--logo .hfe-brand__logo { height: 50px; width: auto; max-width: 60vw; display: block; }
@media (max-width: 560px) { .hfe-brand--logo .hfe-brand__logo { height: 38px; } }

/* --- shared --- */
.hfe-studyhub, .hfe-article { padding-block: 10px 40px; }
.hfe-studyhub .dot, .hfe-article .dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .55; display: inline-block; }

/* =========================== LISTING =========================== */
.hfe-study-hero { padding-block: 34px 6px; }
.hfe-study-head { padding-block: 30px 10px; }
.hfe-study-hero__eyebrow { font-family: var(--hfe-head); font-weight: 800; letter-spacing: .09em; text-transform: uppercase; font-size: .72rem; color: var(--hfe-brand-2); }
.hfe-study-hero__title { font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 900; letter-spacing: -.02em; line-height: 1.12; margin-top: 10px; color: var(--hfe-navy); text-wrap: balance; }
.hfe-study-hero__sub { color: var(--hfe-muted); font-size: 1.06rem; max-width: 60ch; margin-top: 14px; }
.hfe-study-search { display: flex; gap: 10px; margin-top: 22px; max-width: 520px; }
.hfe-study-search input { flex: 1; min-width: 0; font: inherit; padding: 13px 16px; border: 1px solid var(--hfe-line); border-radius: 12px; background: var(--hfe-card); color: var(--hfe-ink); }
.hfe-study-search button { font-family: var(--hfe-head); font-weight: 800; border: 0; background: var(--hfe-navy); color: #fff; padding: 0 20px; border-radius: 12px; cursor: pointer; }
.hfe-study-chips { display: flex; gap: 9px; overflow-x: auto; padding-block: 24px 6px; scrollbar-width: none; }
.hfe-study-chips::-webkit-scrollbar { display: none; }
.hfe-chip { flex: 0 0 auto; font-family: var(--hfe-head); font-weight: 700; font-size: .85rem; border: 1px solid var(--hfe-line); background: var(--hfe-card); color: var(--hfe-ink-2); padding: 8px 15px; border-radius: 999px; white-space: nowrap; text-decoration: none; }
.hfe-chip.is-on, .hfe-chip:hover { background: var(--hfe-brand); border-color: var(--hfe-brand); color: #fff; }

.hfe-study-featured { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--hfe-card); border: 1px solid var(--hfe-line); border-radius: var(--hfe-radius-lg); overflow: hidden; box-shadow: var(--hfe-shadow); margin-top: 8px; }
.hfe-study-featured__media { min-height: 250px; display: block; background: linear-gradient(140deg, var(--hfe-navy), #15396a 60%, var(--hfe-brand-2)); background-size: cover; background-position: center; }
.hfe-study-featured__body { padding: 30px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.hfe-study-featured__ribbon { align-self: flex-start; background: var(--hfe-amber-wash); color: var(--hfe-amber); font-family: var(--hfe-head); font-weight: 800; font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
.hfe-study-featured__title { font-size: clamp(1.35rem, 3vw, 1.9rem); font-weight: 800; letter-spacing: -.01em; }
.hfe-study-featured__title a { color: var(--hfe-navy); }
.hfe-study-featured__body p { color: var(--hfe-muted); }

.hfe-study-sectionhead { display: flex; align-items: baseline; gap: 12px; margin: 36px 0 2px; }
.hfe-study-sectionhead h2 { font-size: 1.4rem; font-weight: 800; color: var(--hfe-navy); }
.hfe-study-sectionhead span { color: var(--hfe-muted-2); font-size: .9rem; font-weight: 600; }

.hfe-study-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 20px; }
.hfe-study-card { display: flex; flex-direction: column; background: var(--hfe-card); border: 1px solid var(--hfe-line); border-radius: var(--hfe-radius); overflow: hidden; box-shadow: var(--hfe-shadow); transition: transform .15s ease, box-shadow .15s ease; }
.hfe-study-card:hover { transform: translateY(-3px); box-shadow: var(--hfe-shadow-lg); }
.hfe-study-card__media { aspect-ratio: 16 / 9; display: grid; place-items: center; background: linear-gradient(145deg, var(--hfe-navy-wash), var(--hfe-brand-wash)); background-size: cover; background-position: center; }
.hfe-study-card__ph { font-family: var(--hfe-head); font-weight: 900; font-size: 2.3rem; color: rgba(11, 46, 107, .30); }
.hfe-study-card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.hfe-study-card__subj { font-family: var(--hfe-head); font-weight: 800; font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; color: var(--hfe-brand-2); }
.hfe-study-card__title { font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.hfe-study-card__title a { color: var(--hfe-navy); }
.hfe-study-card__excerpt { color: var(--hfe-muted); font-size: .9rem; flex: 1; }
.hfe-study-card__meta { display: flex; align-items: center; gap: 9px; color: var(--hfe-muted-2); font-size: .82rem; font-weight: 600; }

.hfe-study-pager { margin-top: 32px; }
.hfe-study-pager .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.hfe-study-pager .page-numbers { font-family: var(--hfe-head); font-weight: 700; min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--hfe-line); border-radius: 10px; color: var(--hfe-ink-2); text-decoration: none; }
.hfe-study-pager .page-numbers.current { background: var(--hfe-brand); border-color: var(--hfe-brand); color: #fff; }
.hfe-study-empty { color: var(--hfe-muted); padding: 30px 0; }

/* =========================== ARTICLE =========================== */
.hfe-article { max-width: 1120px; margin-inline: auto; }
.hfe-art-crumb { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; color: var(--hfe-muted-2); font-size: .82rem; font-weight: 600; padding-block: 22px 4px; }
.hfe-art-crumb a { color: var(--hfe-brand-2); }
.hfe-art-crumb .sep { opacity: .5; }
.hfe-art-tag { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hfe-art-subj { font-family: var(--hfe-head); font-weight: 800; font-size: .7rem; letter-spacing: .07em; text-transform: uppercase; color: var(--hfe-brand-2); text-decoration: none; }
.hfe-art-badge { font-family: var(--hfe-head); font-weight: 700; font-size: .66rem; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: var(--hfe-brand-wash); color: var(--hfe-brand-2); }
.hfe-art-title { font-size: clamp(1.8rem, 4.2vw, 2.6rem); font-weight: 900; letter-spacing: -.02em; line-height: 1.14; margin-top: 10px; color: var(--hfe-navy); text-wrap: balance; }
.hfe-art-meta { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; color: var(--hfe-muted-2); font-size: .88rem; font-weight: 600; margin-top: 16px; }
.hfe-art-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--hfe-navy), var(--hfe-brand)); color: #fff; font-family: var(--hfe-head); font-weight: 800; display: grid; place-items: center; font-size: .78rem; }

.hfe-art-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; padding-block: 26px 10px; }
@media (min-width: 861px) { .hfe-art-grid:has(.hfe-toc:not([hidden])) { grid-template-columns: 230px 1fr; } }
.hfe-toc[hidden] { display: none; }
.hfe-toc { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 3px; }
.hfe-toc__lbl { font-family: var(--hfe-head); font-weight: 800; font-size: .7rem; letter-spacing: .09em; text-transform: uppercase; color: var(--hfe-muted-2); margin-bottom: 8px; }
.hfe-toc a { text-decoration: none; color: var(--hfe-muted); font-size: .9rem; font-weight: 500; padding: 7px 12px; border-left: 2px solid var(--hfe-line); line-height: 1.3; }
.hfe-toc a.is-on { color: var(--hfe-brand-2); border-left-color: var(--hfe-brand); background: var(--hfe-brand-wash); font-weight: 700; border-radius: 0 7px 7px 0; }

.hfe-prose { min-width: 0; font-size: 1.06rem; color: var(--hfe-ink); line-height: 1.75; }
.hfe-prose > * + * { margin-top: 1.05em; }
.hfe-prose h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.01em; margin-top: 1.7em; color: var(--hfe-navy); scroll-margin-top: 100px; }
.hfe-prose h3 { font-size: 1.18rem; font-weight: 700; margin-top: 1.4em; color: var(--hfe-navy); scroll-margin-top: 100px; }
.hfe-prose p, .hfe-prose ul, .hfe-prose ol { max-width: 68ch; }
.hfe-prose ul, .hfe-prose ol { padding-left: 1.3em; }
.hfe-prose li { margin-top: .4em; }
.hfe-prose a { color: var(--hfe-brand-2); text-decoration: underline; text-underline-offset: 2px; }
.hfe-prose strong { font-weight: 700; }
.hfe-prose img { border-radius: 12px; }
.hfe-prose table { border-collapse: collapse; width: 100%; font-size: .96rem; }
.hfe-prose table th, .hfe-prose table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--hfe-line); }
.hfe-prose table thead th { background: var(--hfe-navy-wash); font-family: var(--hfe-head); font-weight: 800; color: var(--hfe-navy); font-size: .82rem; text-transform: uppercase; letter-spacing: .03em; }
.hfe-art-hero img { border-radius: 16px; }
.hfe-video-embed { position: relative; border-radius: 16px; overflow: hidden; box-shadow: var(--hfe-shadow); aspect-ratio: 16 / 9; }
.hfe-video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Any embed placed inside the article body (raw iframes, oEmbeds) stays inside
   the column and keeps a 16:9 ratio, so a fixed-size YouTube iframe can't
   overflow the page to the right. */
.hfe-prose iframe { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; box-shadow: var(--hfe-shadow); }
.hfe-prose figure, .hfe-prose .wp-block-embed, .hfe-prose .wp-block-embed__wrapper { max-width: 100%; margin-inline: 0; }

.hfe-mock-cta { margin-top: 1.6em; background: linear-gradient(135deg, var(--hfe-navy), #15396b 65%, var(--hfe-brand-2)); color: #fff; border-radius: 18px; padding: 24px 26px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hfe-mock-cta__ico { flex: 0 0 auto; width: 58px; height: 58px; border-radius: 14px; background: rgba(255, 255, 255, .14); display: grid; place-items: center; font-size: 1.7rem; }
.hfe-mock-cta__txt { flex: 1; min-width: 200px; }
.hfe-mock-cta__txt b { font-family: var(--hfe-head); font-weight: 800; font-size: 1.16rem; display: block; }
.hfe-mock-cta__txt span { opacity: .86; font-size: .94rem; }
.hfe-mock-cta__buy { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.hfe-mock-cta__buy a { background: #fff; color: var(--hfe-navy); font-family: var(--hfe-head); font-weight: 800; text-decoration: none; padding: 12px 24px; border-radius: 999px; }
.hfe-mock-cta__buy small { font-size: .78rem; opacity: .82; }

.hfe-art-related { margin-top: 44px; }
.hfe-art-related__head h2 { font-size: 1.4rem; font-weight: 800; color: var(--hfe-navy); margin-bottom: 14px; }
.hfe-art-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hfe-art-related__card { text-decoration: none; background: var(--hfe-card); border: 1px solid var(--hfe-line); border-radius: 12px; padding: 15px 16px; display: flex; flex-direction: column; gap: 7px; box-shadow: var(--hfe-shadow); }
.hfe-art-related__subj { font-family: var(--hfe-head); font-weight: 800; font-size: .66rem; letter-spacing: .07em; text-transform: uppercase; color: var(--hfe-brand-2); }
.hfe-art-related__card b { font-weight: 700; font-size: .98rem; color: var(--hfe-navy); line-height: 1.3; }

/* --- responsive --- */
@media (max-width: 860px) {
	.hfe-study-featured { grid-template-columns: 1fr; }
	.hfe-study-featured__media { min-height: 180px; }
	.hfe-study-grid { grid-template-columns: repeat(2, 1fr); }
	.hfe-art-grid { grid-template-columns: 1fr; gap: 18px; }
	.hfe-toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; padding: 14px; background: var(--hfe-card); border: 1px solid var(--hfe-line); border-radius: 12px; }
	.hfe-toc__lbl { width: 100%; margin: 0; }
	.hfe-toc a { border-left: 0; border: 1px solid var(--hfe-line); border-radius: 999px; padding: 6px 12px; font-size: .82rem; }
	.hfe-toc a.is-on { border-color: var(--hfe-brand); border-radius: 999px; }
	.hfe-art-related__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.hfe-study-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Jobs — archive (listing) + single job_vacancy. Navy + green, red urgency.
   Scoped to .hfe-jobs; all classes prefixed .hfe-j-. Reuses style.css tokens.
   ========================================================================== */
.hfe-jobs { --hfe-red-wash: #fbe9e9; --hfe-line-strong: #d2ded6; padding-block: 8px 44px; }
.hfe-jobs *, .hfe-jobs *::before, .hfe-jobs *::after { box-sizing: border-box; }
.hfe-jobs img, .hfe-jobs iframe { max-width: 100%; }

/* --- shared: key-fact chips, subject line --- */
.hfe-j-facts { display: flex; gap: 8px; flex-wrap: wrap; }
.hfe-j-fact { display: inline-flex; align-items: center; gap: 6px; font-family: var(--hfe-head); font-weight: 700; font-size: .8rem; background: var(--hfe-navy-wash); color: var(--hfe-navy); padding: 6px 11px; border-radius: 999px; }
.hfe-j-fact.date { background: var(--hfe-amber-wash); color: var(--hfe-amber); }
.hfe-j-fact.soon { background: var(--hfe-red-wash); color: var(--hfe-red); }
.hfe-j-subj { font-family: var(--hfe-head); font-weight: 800; font-size: .66rem; letter-spacing: .07em; text-transform: uppercase; color: var(--hfe-brand-2); }

/* =========================== LISTING =========================== */
.hfe-j-hero { padding-block: 30px 4px; }
.hfe-j-hero__meta { color: var(--hfe-muted-2); font-weight: 600; font-size: .85rem; display: flex; align-items: center; gap: 9px; margin-bottom: 10px; flex-wrap: wrap; }
.hfe-j-hero__live { display: inline-flex; align-items: center; gap: 6px; }
.hfe-j-hero__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--hfe-brand); display: inline-block; box-shadow: 0 0 0 3px var(--hfe-brand-wash); }
.hfe-j-eyebrow { font-family: var(--hfe-head); font-weight: 800; letter-spacing: .09em; text-transform: uppercase; font-size: .7rem; color: var(--hfe-brand-2); }
.hfe-j-hero__title { font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 900; letter-spacing: -.02em; line-height: 1.12; color: var(--hfe-navy); margin-top: 8px; text-wrap: balance; }
.hfe-j-hero__title em { font-style: normal; color: var(--hfe-brand-2); }
.hfe-j-hero__sub { color: var(--hfe-muted); font-size: 1.06rem; max-width: 58ch; margin-top: 12px; }
.hfe-j-search { display: flex; gap: 10px; margin-top: 20px; max-width: 560px; }
.hfe-j-search input { flex: 1; min-width: 0; font: inherit; padding: 13px 16px; border: 1px solid var(--hfe-line-strong); border-radius: 12px; background: var(--hfe-card); color: var(--hfe-ink); }
.hfe-j-search button { font-family: var(--hfe-head); font-weight: 800; border: 0; background: var(--hfe-navy); color: #fff; padding: 0 20px; border-radius: 12px; cursor: pointer; }

.hfe-j-chips { display: flex; gap: 9px; overflow-x: auto; padding-block: 22px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hfe-j-chips::-webkit-scrollbar { display: none; }
.hfe-j-chip { flex: 0 0 auto; font-family: var(--hfe-head); font-weight: 700; font-size: .84rem; border: 1px solid var(--hfe-line-strong); background: var(--hfe-card); color: var(--hfe-muted); padding: 8px 15px; border-radius: 999px; white-space: nowrap; text-decoration: none; }
.hfe-j-chip.is-on, .hfe-j-chip:hover { background: var(--hfe-brand); border-color: var(--hfe-brand); color: #fff; }

.hfe-j-list { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.hfe-j-card { display: flex; gap: 16px; align-items: center; background: var(--hfe-card); border: 1px solid var(--hfe-line); border-radius: var(--hfe-radius); padding: 16px 18px; box-shadow: var(--hfe-shadow); transition: transform .14s ease, box-shadow .14s ease; }
.hfe-j-card:hover { transform: translateY(-2px); box-shadow: var(--hfe-shadow-lg); }
.hfe-j-card__org { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 12px; background: var(--hfe-navy-wash); color: var(--hfe-navy); font-family: var(--hfe-head); font-weight: 900; display: grid; place-items: center; font-size: 1.02rem; }
.hfe-j-card__main { flex: 1; min-width: 0; }
.hfe-j-card__title { font-size: 1.06rem; font-weight: 700; letter-spacing: -.01em; margin: 3px 0 8px; color: var(--hfe-navy); line-height: 1.3; }
.hfe-j-card__title a { color: inherit; }
.hfe-j-card__title a:hover { color: var(--hfe-brand-2); }
.hfe-j-last { flex: 0 0 auto; text-align: right; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.hfe-j-last__d { font-family: var(--hfe-head); font-weight: 800; font-size: .82rem; color: var(--hfe-muted); }
.hfe-j-last__d b { color: var(--hfe-ink); display: block; font-size: .95rem; }
.hfe-j-last.soon .hfe-j-last__d b { color: var(--hfe-red); }
.hfe-j-view { background: var(--hfe-navy); color: #fff; font-family: var(--hfe-head); font-weight: 800; font-size: .8rem; text-decoration: none; padding: 9px 16px; border-radius: 999px; white-space: nowrap; }
.hfe-j-view:hover { color: #fff; opacity: .92; }
.hfe-j-empty { color: var(--hfe-muted); background: var(--hfe-card); border: 1px solid var(--hfe-line); border-radius: var(--hfe-radius); padding: 32px; text-align: center; box-shadow: var(--hfe-shadow); margin-top: 14px; }

.hfe-j-pager { margin-top: 28px; }
.hfe-j-pager .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.hfe-j-pager .page-numbers { font-family: var(--hfe-head); font-weight: 700; min-width: 40px; height: 40px; display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--hfe-line-strong); border-radius: 10px; color: var(--hfe-muted); text-decoration: none; }
.hfe-j-pager .page-numbers.current { background: var(--hfe-brand); border-color: var(--hfe-brand); color: #fff; }
.hfe-j-pager .page-numbers.dots { border: 0; }

/* =========================== SINGLE JOB =========================== */
.hfe-j-crumb { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; color: var(--hfe-muted-2); font-size: .82rem; font-weight: 600; padding-block: 22px 6px; }
.hfe-j-crumb a { color: var(--hfe-brand-2); text-decoration: none; }
.hfe-j-crumb .sep { opacity: .5; }
.hfe-j-head { background: var(--hfe-card); border: 1px solid var(--hfe-line); border-radius: 18px; padding: 24px 26px; box-shadow: var(--hfe-shadow); display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.hfe-j-head__org { flex: 0 0 auto; width: 62px; height: 62px; border-radius: 14px; background: linear-gradient(135deg, var(--hfe-navy), var(--hfe-brand)); color: #fff; font-family: var(--hfe-head); font-weight: 900; display: grid; place-items: center; font-size: 1.25rem; }
.hfe-j-head__body { flex: 1; min-width: 240px; }
.hfe-j-head__title { font-size: clamp(1.4rem, 3.4vw, 2rem); font-weight: 900; letter-spacing: -.01em; color: var(--hfe-navy); margin: 6px 0 14px; }

.hfe-j-grid { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; padding-block: 22px 10px; }
.hfe-j-main { min-width: 0; }
@media (min-width: 861px) { .hfe-j-side { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 90px); } }

.hfe-j-links { background: var(--hfe-card); border: 1px solid var(--hfe-line); border-radius: 16px; overflow: hidden; box-shadow: var(--hfe-shadow); }
.hfe-j-links__h { background: var(--hfe-navy); color: #fff; font-family: var(--hfe-head); font-weight: 800; padding: 13px 18px; font-size: .95rem; display: flex; align-items: center; gap: 8px; }
.hfe-j-links__b { padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.hfe-j-btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-family: var(--hfe-head); font-weight: 800; text-decoration: none; padding: 13px 16px; border-radius: 12px; font-size: .92rem; }
.hfe-j-btn .ar { opacity: .7; }
.hfe-j-btn--apply { background: linear-gradient(135deg, #27b357, var(--hfe-brand) 60%, var(--hfe-brand-2)); color: #fff; box-shadow: 0 10px 22px -10px var(--hfe-brand); }
.hfe-j-btn--apply:hover { color: #fff; }
.hfe-j-btn--pdf { background: var(--hfe-navy-wash); color: var(--hfe-navy); }
.hfe-j-btn--pdf:hover { color: var(--hfe-navy); }
.hfe-j-deadline { margin: 14px 18px 18px; background: var(--hfe-red-wash); color: var(--hfe-red); border-radius: 12px; padding: 12px 14px; font-weight: 700; font-size: .9rem; display: flex; align-items: center; gap: 9px; }
.hfe-j-cta { background: linear-gradient(135deg, var(--hfe-navy), #15396b 65%, var(--hfe-brand-2)); color: #fff; border-radius: 16px; padding: 18px 20px; margin-top: 16px; }
.hfe-j-cta b { font-family: var(--hfe-head); font-weight: 800; font-size: 1.02rem; display: block; margin-bottom: 4px; }
.hfe-j-cta span { opacity: .86; font-size: .88rem; }
.hfe-j-cta a { display: inline-block; margin-top: 12px; background: #fff; color: var(--hfe-navy); font-family: var(--hfe-head); font-weight: 800; text-decoration: none; padding: 10px 18px; border-radius: 999px; font-size: .88rem; }
.hfe-j-cta a:hover { color: var(--hfe-navy); }

.hfe-j-panel { background: var(--hfe-card); border: 1px solid var(--hfe-line); border-radius: 16px; box-shadow: var(--hfe-shadow); overflow: hidden; margin-bottom: 18px; }
.hfe-j-panel h2 { font-size: 1.05rem; font-weight: 800; color: var(--hfe-navy); padding: 15px 20px; border-bottom: 1px solid var(--hfe-line); display: flex; align-items: center; gap: 9px; }
.hfe-j-panel__b { padding: 6px 20px 16px; }
.hfe-j-table { border-collapse: collapse; width: 100%; font-size: .95rem; min-width: 0; }
.hfe-j-table td { text-align: left; padding: 11px 8px; border-bottom: 1px solid var(--hfe-line); vertical-align: top; color: var(--hfe-ink); }
.hfe-j-table tr:last-child td { border-bottom: 0; }
.hfe-j-table td:first-child { font-family: var(--hfe-head); font-weight: 700; color: var(--hfe-navy); width: 46%; }
.hfe-j-table tr.is-hot td { color: var(--hfe-red); font-weight: 700; }

.hfe-j-elig { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.hfe-j-elig li { position: relative; padding-left: 28px; color: var(--hfe-ink); font-size: .96rem; line-height: 1.5; min-width: 0; }
.hfe-j-elig li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--hfe-brand-wash); color: var(--hfe-brand-2); font-size: .72rem; font-weight: 800; display: grid; place-items: center; }

.hfe-j-prose { min-width: 0; font-size: 1rem; color: var(--hfe-ink); line-height: 1.7; }
.hfe-j-prose > * + * { margin-top: .8em; }
.hfe-j-prose h2 { font-size: 1.2rem; font-weight: 800; color: var(--hfe-navy); margin-top: 1.2em; }
.hfe-j-prose h3 { font-size: 1.05rem; font-weight: 700; color: var(--hfe-navy); margin-top: 1em; }
.hfe-j-prose ul, .hfe-j-prose ol { padding-left: 1.2em; }
.hfe-j-prose li { margin-top: .3em; }
.hfe-j-prose strong { font-weight: 700; }
.hfe-j-prose a { color: var(--hfe-brand-2); text-decoration: underline; text-underline-offset: 2px; }
.hfe-j-prose table { border-collapse: collapse; width: 100%; font-size: .95rem; display: block; overflow-x: auto; }
.hfe-j-prose table th, .hfe-j-prose table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--hfe-line); }

.hfe-j-steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.hfe-j-steps li { position: relative; padding: 4px 0 10px 40px; color: var(--hfe-ink); min-width: 0; }
.hfe-j-steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 50%; background: var(--hfe-brand-wash); color: var(--hfe-brand-2); font-family: var(--hfe-head); font-weight: 800; display: grid; place-items: center; font-size: .85rem; }

@media (max-width: 860px) {
	.hfe-j-card { flex-wrap: wrap; }
	.hfe-j-last { width: 100%; flex-direction: row; justify-content: space-between; align-items: center; }
	.hfe-j-grid { grid-template-columns: 1fr; }
	.hfe-j-side { order: -1; }
}
