/*
Theme Name: HyreInsight
Author: HyreInsight
Description: Gutenberg-first HyreInsight marketing site theme.
Version: 2.2.0
Requires at least: 7.0
Requires PHP: 8.1
Text Domain: hyreinsight-wp
*/

:root { --hi-shell: 1240px; }
html { scroll-behavior: smooth; }
body { margin: 0; }
.hi-shell { width: 100%; max-width: var(--hi-shell); margin-inline: auto; padding-inline: 24px; }
.hi-main { min-height: calc(100vh - 72px); }
.hi-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; background: rgb(255 255 255 / .85); backdrop-filter: blur(12px); transition: border-color .2s ease; }
.admin-bar .hi-header { top: 32px; }
.hi-header.is-scrolled { border-color: #e2e8f0; }
.hi-header__inner { display: flex; height: 72px; align-items: center; justify-content: space-between; }
.hi-brand { display: flex; align-items: center; }
.hi-brand img { width: auto; height: 32px; }
.hi-nav__list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.hi-nav__list a { position: relative; display: block; border-radius: 8px; padding: 8px 14px; color: #475569; font-size: 14.5px; font-weight: 500; text-decoration: none; transition: color .2s ease; }
.hi-nav__list a:hover { color: #0f172a; }
.hi-nav__list .current-menu-item > a, .hi-nav__list .current_page_item > a { color: #0f172a; }
.hi-nav__list a::after { position: absolute; right: 14px; bottom: -1px; left: 14px; height: 2px; border-radius: 999px; background: #0b3cdc; content: ""; transform: scaleX(0); transform-origin: left center; transition: transform .25s ease; }
.hi-nav__list a:hover::after, .hi-nav__list .current-menu-item > a::after, .hi-nav__list .current_page_item > a::after { transform: scaleX(1); }
.hi-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; background: #0b3cdc; padding: 0 20px; color: #fff; font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif; font-size: 15px; font-weight: 600; text-decoration: none; box-shadow: 0 1px 2px rgb(11 60 220 / .35); transition: background .2s ease, box-shadow .2s ease; }
.hi-button:hover { background: #0930b0; box-shadow: 0 6px 18px -6px rgb(11 60 220 / .5); color: #fff; }
.hi-menu-toggle { display: none; width: 44px; height: 44px; place-items: center; border: 0; border-radius: 8px; background: transparent; color: #0f172a; }
.hi-menu-toggle__close { display: none; }
.hi-menu-toggle[aria-expanded="true"] .hi-menu-toggle__open { display: none; }
.hi-menu-toggle[aria-expanded="true"] .hi-menu-toggle__close { display: block; }
.hi-mobile-nav { border-top: 1px solid #e2e8f0; background: #fff; }
.hi-mobile-nav[hidden] { display: none; }
.hi-mobile-nav .hi-shell { padding-block: 16px; }
.hi-mobile-nav__list { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; }
.hi-mobile-nav__list a { display: block; border-radius: 8px; padding: 12px; color: #334155; font-size: 15px; font-weight: 500; text-decoration: none; }
.hi-mobile-nav__list .current-menu-item a, .hi-mobile-nav__list .current_page_item a { background: #e7ecfd; color: #0b3cdc; }
.hi-mobile-nav__cta { display: flex; margin-top: 8px; }
.hi-footer { border-top: 1px solid #e2e8f0; background: #fff; }
.hi-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-block: 64px 56px; }
.hi-footer__brand { max-width: 352px; }
.hi-footer__brand img { width: auto; height: 32px; }
.hi-footer__brand > p { margin: 16px 0 0; color: #475569; font-size: 15px; line-height: 1.625; }
.hi-footer h4 { margin: 0; color: #0f172a; font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.hi-footer ul { margin: 16px 0 0; padding: 0; list-style: none; }
.hi-footer li + li { margin-top: 12px; }
.hi-footer a { color: #475569; font-size: 14.5px; text-decoration: none; transition: color .2s ease; }
.hi-footer a:hover { color: #0b3cdc; }
.hi-footer__social { display: flex; gap: 8px; margin-top: 24px; }
.hi-footer__social a { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid #e2e8f0; border-radius: 8px; color: #334155; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 11px; font-weight: 600; }
.hi-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #e2e8f0; padding-block: 24px 40px; }
.hi-footer__bottom p { margin: 0; color: #64748b; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12.5px; }
.hi-footer__bottom div { display: flex; gap: 24px; }
.hi-footer__bottom a { color: #64748b; font-size: 13px; }
.twp-insights-index { border-bottom: 1px solid #e2e8f0; background: #f8fafc; }
.twp-insights-index__inner { width: 100%; max-width: 1120px; margin-inline: auto; padding: 72px 24px 96px; }
.twp-insights-index__hero { max-width: 900px; }
.twp-insights-index__eyebrow { margin: 0 0 14px; color: #0b3cdc; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.twp-insights-index__hero h1 { margin: 0; color: #0f172a; font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif; font-size: clamp(42px, 6vw, 72px); font-weight: 800; letter-spacing: -.045em; line-height: 1.05; }
.twp-insights-index__lead { max-width: 760px; margin: 28px 0 0; color: #475569; font-size: 20px; line-height: 1.65; }
.twp-insights-index__latest { margin-top: 64px; }
.twp-insights-index__latest > h2,
.twp-insights-index__topics > h2 { margin: 0 0 24px; color: #0f172a; font-size: 30px; letter-spacing: -.02em; }
.twp-insights-index__card { margin: 0; border: 1px solid #dbe3ef; border-radius: 18px; background: #fff; padding: 34px; box-shadow: 0 16px 40px -30px rgb(15 23 42 / .45); }
.twp-insights-index__card + .twp-insights-index__card { margin-top: 20px; }
.twp-insights-index__meta { margin: 0 0 12px; color: #64748b; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.twp-insights-index__card h3 { max-width: 860px; margin: 0; color: #0f172a; font-size: 30px; line-height: 1.25; }
.twp-insights-index__card h3 a { color: inherit; text-decoration: none; }
.twp-insights-index__card > p:not(.twp-insights-index__meta) { max-width: 820px; margin: 18px 0; color: #475569; font-size: 17px; line-height: 1.7; }
.twp-insights-index__article-link { color: #0b3cdc; font-weight: 700; text-decoration: none; }
.twp-insights-index__article-link:hover { color: #0930b0; }
.twp-insights-index__topics { margin-top: 64px; }
.twp-insights-index__topics ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.twp-insights-index__topics li { border-radius: 12px; background: #eef2f8; padding: 18px 20px; color: #253247; font-weight: 600; }
.twp-insights-index__cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 64px; border-top: 1px solid #dbe3ef; padding-top: 36px; }
.twp-insights-index__cta > p { max-width: 610px; margin: 0; color: #334155; font-size: 18px; line-height: 1.65; }
.twp-insights-index__cta > div { display: flex; flex: 0 0 auto; gap: 12px; }
.twp-insights-index__cta .hi-button { min-height: 52px; padding-inline: 28px; }
.twp-insights-index__cta .hi-button--secondary { border: 1px solid #cbd5e1; background: #fff; color: #0f172a; box-shadow: none; }
.twp-insights-index__cta .hi-button--secondary:hover { border-color: #0f172a; background: #f8fafc; color: #0f172a; box-shadow: none; }
.hi-article { background: #f8fafc; padding: 64px 24px 96px; }
.hi-article__header { width: 100%; max-width: 960px; margin-inline: auto; }
.hi-article__eyebrow { color: #0b3cdc; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.hi-article__header h1 { margin: 18px 0 0; color: #0f172a; font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif; font-size: clamp(42px, 6vw, 72px); font-weight: 800; letter-spacing: -.045em; line-height: 1.07; }
.hi-article__dek { max-width: 820px; margin: 28px 0 0; color: #475569; font-size: 21px; line-height: 1.65; }
.hi-article__meta { margin: 22px 0 0; color: #64748b; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.hi-article__content { width: 100%; max-width: 820px; margin: 56px auto 0; color: #334155; font-size: 18px; line-height: 1.75; }
.hi-article__content > p:first-child { color: #253247; font-size: 22px; line-height: 1.6; }
.hi-article__content p { margin: 0 0 22px; }
.hi-article__content h2 { margin: 56px 0 20px; color: #0f172a; font-size: 34px; letter-spacing: -.025em; line-height: 1.2; }
.hi-article__content h3 { margin: 36px 0 14px; color: #172033; font-size: 23px; line-height: 1.35; }
.hi-article__content ul,
.hi-article__content ol { margin: 0 0 26px; padding-left: 28px; }
.hi-article__content li { margin: 8px 0; padding-left: 4px; }
.hi-article__content a { color: #0b3cdc; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.hi-article__content a:hover { color: #0930b0; }
.hi-article__content .wp-block-table { overflow-x: auto; margin: 28px 0 34px; }
.hi-article__content table { width: 100%; border-collapse: collapse; border: 1px solid #dbe3ef; font-size: 16px; line-height: 1.5; }
.hi-article__content th { background: #eef2f8; color: #0f172a; font-weight: 700; text-align: left; }
.hi-article__content th,
.hi-article__content td { border: 1px solid #dbe3ef; padding: 14px 16px; vertical-align: top; }
@media (max-width: 1023px) {
  .hi-nav, .hi-header__cta { display: none; }
  .hi-menu-toggle { display: grid; }
  .hi-footer__grid { grid-template-columns: 1fr 1fr; }
  .twp-insights-index__cta { align-items: flex-start; flex-direction: column; }
}
@media (min-width: 1024px) { .hi-shell { padding-inline: 40px; } }
@media (max-width: 782px) { .admin-bar .hi-header { top: 46px; } }
@media (max-width: 639px) {
  .hi-footer__grid { grid-template-columns: 1fr; }
  .hi-footer__bottom { align-items: flex-start; flex-direction: column; }
	.twp-insights-index__inner { padding-block: 48px 72px; }
	.twp-insights-index__hero h1 { font-size: 42px; }
	.twp-insights-index__lead { font-size: 18px; }
	.twp-insights-index__card { padding: 24px; }
	.twp-insights-index__card h3 { font-size: 24px; }
	.twp-insights-index__topics ul { grid-template-columns: 1fr; }
	.twp-insights-index__cta > div { width: 100%; flex-direction: column; }
	.hi-article { padding: 42px 20px 72px; }
	.hi-article__header h1 { font-size: 40px; }
	.hi-article__dek { font-size: 19px; }
	.hi-article__content { margin-top: 42px; font-size: 17px; }
	.hi-article__content > p:first-child { font-size: 20px; }
	.hi-article__content h2 { font-size: 29px; }
}
