/* ==========================================================================
   HireUA archive templates (v0.3.8+): Case Studies index, Testimonials index,
   Resources index. Loaded with landing.css (sections, section heads, proof
   cards, testimonial cards, proof strip, Big CTA, filter bar) on those
   templates only. Buttons follow the final rule: darker shade of own colour.
   ========================================================================== */
.hu-archive { display: block; color: var(--hu-ink); }
.hu-archive a { color: inherit; }

/* ---- Case Studies: one featured story ---- */
.hu-feature-case { display: grid; grid-template-columns: 1.05fr .95fr; gap: 42px; align-items: center; padding: 22px; border: 1px solid var(--hu-line); border-radius: 11px; background: var(--hu-white); box-shadow: 0 22px 60px rgba(var(--hu-navy-rgb), .08); }
.hu-feature-case .hu-feature-video { border-radius: 8px; clip-path: inset(0 round 8px); }
.hu-feature-copy { display: flex; flex-direction: column; align-items: flex-start; padding: 12px 12px 12px 2px; }
.hu-feature-copy > * { margin: 0; }
.hu-section .hu-company-pill--yellow { background: var(--hu-yellow); color: var(--hu-navy); }
.hu-feature-stat { margin-top: 16px !important; color: var(--hu-blue); font-size: 64px; font-weight: 900; line-height: .9; letter-spacing: -.065em; }
.hu-feature-metric { margin-top: 6px !important; color: var(--hu-blue); font-size: 9px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.hu-feature-title { margin-top: 14px !important; color: var(--hu-navy); font-size: 30px; font-weight: 800; line-height: 1.06; letter-spacing: -.04em; }
.hu-feature-text { margin-top: 12px !important; color: var(--hu-muted); font-size: 15px; line-height: 1.62; }
.hu-feature-copy .hu-role-pill { margin-top: 16px !important; }
.hu-feature-copy .wp-block-buttons { margin-top: 20px !important; }

/* ---- Testimonials: proof wall ---- */
.hu-testimonial-wall .hu-testimonial-grid { align-items: stretch; }
.hu-loadmore { display: flex; justify-content: center; margin-top: 28px; }
.hu-loadmore .wp-block-button__link { cursor: pointer; font-family: inherit; }

/* ---- Resources ---- */
.hu-resource-top { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; }
.hu-featured-guide { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 390px; padding: 34px; overflow: hidden; border-radius: 10px; background: var(--hu-navy); color: var(--hu-white); }
.hu-featured-guide::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(var(--hu-blue-rgb), .5), transparent 34%); }
.hu-featured-guide.has-image::before { background: linear-gradient(180deg, rgba(var(--hu-navy-rgb), .35) 0%, rgba(var(--hu-navy-rgb), .92) 62%), radial-gradient(circle at 80% 20%, rgba(var(--hu-blue-rgb), .45), transparent 34%); }
.hu-featured-guide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hu-featured-guide > :not(img) { position: relative; margin: 0; }
.hu-featured-guide .hu-eyebrow { color: var(--hu-yellow); }
.hu-featured-guide h2 { margin: 12px 0 !important; max-width: 640px; color: var(--hu-white); font-size: clamp(32px, 3.8vw, 46px); font-weight: 800; line-height: 1; letter-spacing: -.05em; }
.hu-featured-guide h2 a { color: inherit; text-decoration: none; }
.hu-featured-guide p:not(.hu-eyebrow) { max-width: 620px; color: #C1CEDE; font-size: 14px; line-height: 1.6; }
.hu-featured-guide .wp-block-buttons { margin-top: 18px !important; }
.hu-resource-side { display: grid; gap: 14px; }
.hu-resource-card { display: flex; flex-direction: column; align-items: flex-start; padding: 25px; border: 1px solid var(--hu-line); border-radius: 9px; background: var(--hu-white); color: var(--hu-ink); }
.hu-resource-card > * { margin: 0; }
.hu-resource-card.is-yellow { border-color: var(--hu-yellow-hover); background: var(--hu-yellow); }
.hu-resource-card.is-yellow .hu-eyebrow { color: var(--hu-navy); }
.hu-resource-card h3 { margin: 10px 0 !important; color: var(--hu-navy); font-size: 24px; font-weight: 800; line-height: 1.12; letter-spacing: -.03em; }
.hu-resource-card p:not(.hu-eyebrow) { color: var(--hu-muted); font-size: 13px; line-height: 1.56; }
.hu-resource-card.is-yellow p:not(.hu-eyebrow) { color: #273750; }
.hu-card-link { margin-top: 15px !important; font-size: 11px; font-weight: 850; }
.hu-archive .hu-card-link a { color: var(--hu-blue); text-decoration: none; }
.hu-archive .hu-card-link a:hover { color: var(--hu-blue-hover); }
.hu-resource-card.is-yellow .hu-card-link a { color: var(--hu-navy); }
.hu-resource-card.is-yellow .hu-card-link a:hover { color: var(--hu-navy-hover); text-decoration: underline; }

.hu-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hu-guide-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--hu-line); border-radius: 9px; background: var(--hu-white); transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease; }
.hu-guide-card:hover, .hu-guide-card:focus-within { border-color: rgba(var(--hu-blue-rgb), .45); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(var(--hu-navy-rgb), .08); }
.hu-guide-thumb { position: relative; height: 150px; overflow: hidden; background: linear-gradient(135deg, var(--hu-navy), var(--hu-blue)); }
.hu-guide-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hu-guide-tag { position: absolute; left: 14px; bottom: 12px; margin: 0; padding: 6px 8px; border-radius: 999px; background: var(--hu-yellow); color: var(--hu-navy); font-size: 8px; font-weight: 900; letter-spacing: .08em; line-height: 1; text-transform: uppercase; } /* v0.3.48 real topic names */
.hu-guide-body { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.hu-guide-body > * { margin: 0; }
.hu-guide-meta { color: var(--hu-muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hu-guide-card h3 { margin: 12px 0 8px !important; color: var(--hu-navy); font-size: 21px; font-weight: 800; line-height: 1.16; letter-spacing: -.03em; }
.hu-guide-card h3 a { color: inherit; text-decoration: none; }
.hu-guide-card h3 a::after { content: ""; position: absolute; inset: 0; }
/* v0.3.53: scoped to the card body text only (was every <p>, which also greyed/resized the pill and the Read Guide link) */
.hu-guide-card .hu-guide-body > p:not(.hu-guide-meta):not(.hu-card-link) { color: var(--hu-muted); font-size: 13px; line-height: 1.56; }
.hu-archive .hu-guide-card .hu-card-link { color: var(--hu-blue); font-size: 11px; font-weight: 850; }
.hu-archive .hu-guide-card:hover .hu-card-link { color: var(--hu-blue-hover); }
.hu-guide-card .hu-card-link { margin-top: auto !important; padding-top: 15px; color: var(--hu-blue); }
.hu-guide-card:hover .hu-card-link { color: var(--hu-blue-hover); }
.hu-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 30px; }
.hu-pagination a, .hu-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; padding: 0 12px; border: 1px solid var(--hu-line); border-radius: 999px; background: var(--hu-white); color: var(--hu-navy); font-size: 12px; font-weight: 800; text-decoration: none; }
.hu-pagination a:hover { background: var(--hu-white-hover); }
.hu-pagination .current { background: var(--hu-navy); border-color: var(--hu-navy); color: var(--hu-white); }

.hu-founder-wrap { padding: 36px; border-radius: 10px; background: var(--hu-navy); color: var(--hu-white); }
.hu-founder-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 22px; }
.hu-founder-head > * , .hu-founder-head > div > * { margin: 0; }
.hu-founder-head .hu-eyebrow { color: var(--hu-yellow); }
.hu-founder-head h2 { margin-top: 8px !important; color: var(--hu-white); font-size: clamp(34px, 4vw, 46px); font-weight: 800; line-height: 1.02; letter-spacing: -.05em; }
.hu-founder-head p:not(.hu-eyebrow) { max-width: 520px; color: #AFC0D5; font-size: 14px; line-height: 1.6; }
.hu-founder-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hu-founder-card { position: relative; display: flex; flex-direction: column; padding: 24px; border: 1px solid rgba(var(--hu-white-rgb), .12); border-radius: 8px; background: rgba(var(--hu-white-rgb), .05); color: var(--hu-white); transition: border-color .16s ease, background-color .16s ease; }
.hu-founder-card:hover, .hu-founder-card:focus-within { border-color: rgba(var(--hu-white-rgb), .26); background: rgba(var(--hu-white-rgb), .07); }
.hu-founder-card > * { margin: 0; }
.hu-founder-date { color: var(--hu-yellow); font-size: 9px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.hu-founder-card h3 { margin: 10px 0 !important; color: var(--hu-white); font-size: 25px; font-weight: 800; line-height: 1.12; letter-spacing: -.03em; }
.hu-founder-card h3 a { color: inherit; text-decoration: none; }
.hu-founder-card h3 a::after { content: ""; position: absolute; inset: 0; }
.hu-founder-card p:not(.hu-founder-date) { color: #B8C5D7; font-size: 13px; line-height: 1.55; }
.hu-founder-more { margin-top: auto !important; padding-top: 14px; color: var(--hu-yellow); font-size: 11px; font-weight: 850; }
.hu-founder-card:hover .hu-founder-more { color: var(--hu-yellow-hover); }
.hu-founder-all { margin: 22px 0 0 !important; }
.hu-founder-all a { color: var(--hu-yellow) !important; font-size: 12px; font-weight: 850; text-decoration: none; }
.hu-founder-all a:hover { color: var(--hu-yellow-hover) !important; text-decoration: underline; }

/* Founder Files signup (the ONE global opt-in, restyled for the archive) */
.hu-archive .ff-optin { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; margin: 0; padding: 32px; border: 1px solid var(--hu-yellow-hover); border-radius: 9px; background: var(--hu-yellow); color: var(--hu-navy); }
.hu-archive .ff-optin h2 { margin: 0 0 8px; color: var(--hu-navy); font-size: 34px; font-weight: 800; line-height: 1.08; letter-spacing: -.04em; }
.hu-archive .ff-optin p { margin: 0; color: #273750; font-size: 14px; line-height: 1.55; }
.hu-archive .ff-optin-form { display: flex; gap: 8px; }
.hu-archive .ff-optin-form input { min-width: 260px; height: 50px; padding: 0 14px; border: 1px solid rgba(var(--hu-navy-rgb), .2); border-radius: 5px; background: var(--hu-white); color: var(--hu-ink); font: inherit; font-size: 14px; }
.hu-archive .ff-optin-form button { min-height: 50px; padding: 0 20px; border: 1px solid var(--hu-navy); border-radius: 5px; background: var(--hu-navy); color: var(--hu-white); font: inherit; font-size: 13px; font-weight: 850; white-space: nowrap; cursor: pointer; transition: background-color .16s ease; }
.hu-archive .ff-optin-form button:is(:hover, :focus-visible, :active) { background: var(--hu-navy-hover); border-color: var(--hu-navy-hover); }

@media (max-width: 920px) {
	.hu-feature-case, .hu-resource-top, .hu-guide-grid, .hu-founder-grid, .hu-archive .ff-optin { grid-template-columns: minmax(0, 1fr); }
	.hu-feature-case { gap: 22px; padding: 16px; }
	.hu-feature-copy { padding: 4px 6px 8px; }
	.hu-feature-stat { font-size: 52px; }
	.hu-featured-guide { min-height: 330px; padding: 26px; }
	.hu-founder-wrap { padding: 26px 20px; }
	.hu-founder-head { flex-direction: column; align-items: flex-start; gap: 12px; }
	.hu-archive .ff-optin { padding: 26px 22px; }
	.hu-archive .ff-optin-form { flex-direction: column; }
	.hu-archive .ff-optin-form input { min-width: 0; width: 100%; }
}
