/* Built In-style demo clone - no external assets required. */

@font-face {
  font-family: "Montserrat";
  src: url("/static/fonts/montserrat-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --font-display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", system-ui, sans-serif;
  --font-text: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", system-ui, sans-serif;
  --font-montserrat: var(--font-display);
  --navy: #04003f;
  --navy-2: #07006c;
  --indigo: #374886;
  --blue: #244fe7;
  --blue-2: #5480fa;
  --purple: #6147d7;
  --magenta: #aa2fbe;
  --pink: #cc1e8a;
  --mint: #4fe2c1;
  --pale: #eaeefd;
  --bg: #f3f5ff;
  --border: #d9ddf4;
  --border-2: #c2cef4;
  --text: #04003f;
  --body: #374886;
  --muted: #717488;
  --white: #ffffff;
  --shadow: 0 6px 22px rgba(4, 0, 63, .08);
}

* { box-sizing: border-box; }
html {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  display: flex !important;
  flex-direction: column !important;
  font-family: var(--font-text);
  color: var(--text);
  background: var(--white);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.008em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
#main-content {
  flex: 1 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  transition: opacity 0.12s ease-in-out;
}
#main-content.page-loading {
  opacity: 0.55;
}

/* ---------- Seamless SPA Turbo Router Progress Bar ---------- */
#turbo-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #244fe7 0%, #00c2ff 50%, #00d38d 100%);
  box-shadow: 0 0 12px rgba(0, 194, 255, 0.9), 0 0 4px #00c2ff;
  z-index: 9999999;
  pointer-events: none;
  opacity: 0;
  transition: width 0.2s cubic-bezier(0.1, 0.9, 0.2, 1), opacity 0.25s ease;
}
#turbo-progress.active {
  opacity: 1;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.028em; line-height: 1.14; margin-top: 0; }
p { margin-top: 0; }
.container { width: min(1200px, 100%); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; margin: 0 auto; }
.icon { flex-shrink: 0; }

/* ---------- header ---------- */
.site-header { background: #034f9a; color: var(--white); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(15, 60, 80, 0.15); }
.site-header .container {
  width: min(1360px, 96%) !important;
  max-width: 1360px !important;
  padding: 0 24px !important;
}
.header-inner {
  height: 84px;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 32px !important;
}
.site-header .brand {
  display: inline-flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  margin-right: 12px !important;
  justify-self: auto !important;
}
.site-header .main-nav {
  display: flex !important;
  align-items: center !important;
  gap: 28px !important;
  margin-right: auto !important;
  justify-self: auto !important;
}
.site-header .header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  margin-left: auto !important;
  justify-self: auto !important;
}
.brand { display: inline-flex; align-items: center; color: #fff; flex-shrink: 0; font-size: 28px; font-weight: 800; letter-spacing: -2.1px; line-height: 1; justify-self: center; }
.brand-built { display: inline-block; }
.brand-in { display: inline-block; border: 3px solid #fff; border-top: 0; padding: 0 5px 2px 3px; margin-left: 2px; line-height: 1.02; }
.demo-pill { margin-left: 10px; background: var(--magenta); color: #fff; border-radius: 999px; font-size: 8px; font-weight: 800; letter-spacing: .1em; padding: 4px 7px; align-self: flex-start; transform: translateY(-6px); }
.main-nav { display: flex; align-items: center; gap: 28px; justify-self: start; white-space: nowrap; }
.nav-link { color: #fff; font-size: 15px; font-weight: 700; opacity: .92; position: relative; padding: 8px 0; white-space: nowrap; }
.nav-link:hover, .nav-link.active { opacity: 1; }
.nav-link.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #ffffff; border-radius: 3px 3px 0 0; }
.header-actions { display: flex; align-items: center; gap: 18px; justify-self: end; white-space: nowrap; }
.icon-btn { border: 0; background: transparent; color: inherit; display: inline-flex; align-items: center; justify-content: center; padding: 6px; border-radius: 8px; }
.icon-btn:hover { background: rgba(255,255,255,.12); }
.header-auth { color: #fff; font-size: 15px; font-weight: 700; white-space: nowrap; }
.header-auth:hover { color: var(--mint); }
.header-sep { color: rgba(255,255,255,.45); font-size: 13px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 2px solid transparent; border-radius: 6px; padding: 12px 20px; font-size: 12px; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; line-height: 1.2; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 15px 26px; font-size: 13px; }
.btn-sm { padding: 9px 14px; font-size: 11px; }
.btn-block { width: 100%; }
.btn-magenta { background: var(--magenta); color: #fff; }
.btn-magenta:hover { background: #8f22a2; }
.btn-white { background: #fff; color: var(--purple); }
.btn-white:hover { background: var(--pale); }
.btn-blue { background: var(--blue-2); color: #fff; }
.btn-blue:hover { background: var(--blue); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #1d3fb9; }
.btn-outline { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--pale); }
.btn-outline-light { background: transparent; color: #fff; border-color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.employer-btn { padding: 10px 16px; font-size: 11px; }
.user-dropdown { position: relative; }
.user-avatar { width: 38px; height: 38px; border-radius: 50%; border: 2px solid rgba(255,255,255,.9); background: #ffffff; padding: 0; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.2); transition: transform .15s ease, box-shadow .15s ease; }
.user-avatar:hover { transform: scale(1.08); box-shadow: 0 4px 12px rgba(0,0,0,.3); }
.user-avatar-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dropdown-menu { position: absolute; right: 0; top: 48px; width: 240px; background: #fff; color: var(--text); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.08); border: 1px solid rgba(0,0,0,0.08); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .15s ease; z-index: 1000 !important; }
.user-dropdown:hover .dropdown-menu, .user-dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-head { padding: 8px 10px 10px; border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.dropdown-user-row { display: flex; align-items: center; gap: 10px; }
.dropdown-avatar-thumb { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 1.5px solid #e2e8f0; flex-shrink: 0; }
.dropdown-user-info { overflow: hidden; line-height: 1.25; }
.dropdown-user-info strong { display: block; font-size: 13px; color: #0f172a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dropdown-user-info span { display: block; font-size: 11px; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.account-avatar-img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid #e2e8f0; flex-shrink: 0; }
.dropdown-menu a, .dropdown-menu button { display: flex; align-items: center; gap: 9px; width: 100%; padding: 9px 12px; border-radius: 6px; color: var(--body); font-size: 12px; font-weight: 700; background: none; border: 0; text-align: left; }
.dropdown-menu a:hover, .dropdown-menu button:hover { background: var(--bg); color: var(--blue); }
.mobile-menu-btn { display: none; }
.mobile-nav { display: none; background: #023d77; border-top: 1px solid rgba(255,255,255,.12); padding: 10px 24px 18px; }
.mobile-nav.open { display: grid; gap: 2px; }
.mobile-nav .nav-link { display: block; padding: 10px 0; }
.search-overlay { position: fixed; top: calc(76px + var(--header-promo-offset, 0px)); left: 0; right: 0; background: rgba(30,120,155,.985); z-index: 99; padding: 28px 0 40px; box-shadow: 0 20px 40px rgba(4,0,63,.25); }
.search-overlay-bar { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 10px; padding: 8px 12px; color: var(--muted); }
.search-overlay-bar input { flex: 1; border: 0; outline: 0; font-size: 18px; color: var(--text); padding: 10px 4px; }
.search-overlay-bar .icon-btn { color: var(--muted); }
.global-search-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; color: #fff; }
.global-search-results h3 { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mint); margin: 0 0 10px; }
.global-search-results a { display: block; color: #fff; background: rgba(255,255,255,.08); border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; font-size: 13px; font-weight: 600; }
.global-search-results a:hover { background: rgba(255,255,255,.16); }
.global-search-results small { display: block; color: #b7bac9; font-size: 10px; font-weight: 500; margin-top: 2px; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 300; background: var(--navy); color: #fff; border-left: 4px solid var(--mint); border-radius: 8px; padding: 14px 18px; font-size: 13px; font-weight: 700; box-shadow: var(--shadow); opacity: 0; transform: translateY(14px); pointer-events: none; transition: .2s ease; max-width: 340px; }
.toast.show { opacity: 1; transform: translateY(0); }
.toast.error { border-left-color: var(--pink); }

/* ---------- home hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #5b7cf8 0%, #8e9cff 44%, #e0e2ff 100%); padding: 56px 0 64px; }
.hero::before { content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.28), transparent 65%); top: -330px; left: -120px; }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(170,47,190,.18), transparent 65%); bottom: -300px; right: -100px; }
.hero-inner { position: relative; z-index: 1; text-align: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid rgba(255,255,255,.9); border-radius: 999px; padding: 8px 16px; color: #fff; background: rgba(255,255,255,.08); font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.hero-badge.light { background: #fff; border-color: #fff; color: var(--navy-2); }
.hero h1 { font-size: clamp(36px, 5.1vw, 66px); max-width: 980px; margin: 26px auto 18px; color: var(--navy); letter-spacing: -.05em; }
.purple-dot { color: var(--purple); }
.hero-sub { max-width: 720px; margin: 0 auto; color: var(--navy-2); font-size: 16px; font-weight: 600; line-height: 1.6; }
.hero-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin: 28px 0 48px; }
.brand-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 980px; margin: 0 auto 28px; }
.brand-logo-card { min-height: 104px; display: flex; align-items: center; justify-content: center; gap: 12px; background: rgba(255,255,255,.86); border: 1px solid rgba(255,255,255,.9); border-radius: 10px; color: var(--navy); box-shadow: 0 4px 14px rgba(4,0,63,.07); transition: transform .15s ease, background .15s ease; }
.brand-logo-card:hover { transform: translateY(-3px); background: #fff; }
.brand-logo-name { font-size: 15px; font-weight: 800; letter-spacing: -.03em; }
.explore-companies { min-width: 420px; }
.feature-strip { background: #fff; padding: 28px 0 44px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card { display: flex; align-items: center; gap: 14px; border: 1px solid var(--border); border-radius: 9px; padding: 16px; background: #fff; }
.feature-icon { width: 50px; height: 50px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--bg); color: var(--fi); flex-shrink: 0; }
.feature-card strong { display: block; font-size: 14px; }
.feature-card span { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.section { padding: 72px 0; }
.section-title { font-size: clamp(28px, 3.3vw, 40px); color: var(--navy-2); margin-bottom: 10px; }
.section-title.center, .section-sub.center { text-align: center; }
.section-sub { color: var(--body); font-size: 15px; margin-bottom: 0; }
.start-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 900px; margin: 34px auto 28px; }
.start-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid var(--border-2); background: #f8f9ff; border-radius: 9px; padding: 22px 24px; color: var(--navy-2); font-size: 17px; font-weight: 800; }
.start-link:hover { background: var(--pale); border-color: var(--blue); }
.start-link .icon { color: var(--blue); }
.resource-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 900px; margin: 0 auto; }
.resource-accordion { border: 1px solid var(--border); border-radius: 9px; background: #fff; }
.resource-accordion summary { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; font-size: 14px; font-weight: 800; cursor: pointer; list-style: none; color: var(--navy-2); }
.resource-accordion summary::-webkit-details-marker { display: none; }
.resource-accordion[open] summary .icon { transform: rotate(180deg); }
.resource-links { display: grid; gap: 10px; padding: 0 20px 18px; }
.resource-links a { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--blue); }
.resource-links a:hover { text-decoration: underline; }
.stats-band { background: var(--bg); padding: 48px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats-grid strong { display: block; font-size: 38px; color: var(--blue); letter-spacing: -.05em; }
.stats-grid span { font-size: 12px; color: var(--muted); font-weight: 600; }
.category-section { background: #fff; }
.category-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 980px; margin: 30px auto 0; }
.category-chip { border: 1px solid var(--border-2); border-radius: 999px; padding: 10px 17px; color: var(--navy-2); font-size: 13px; font-weight: 700; background: #fff; }
.category-chip:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.cta-band { background: linear-gradient(100deg, #04003f, #4d1096 58%, #aa2fbe); color: #fff; padding: 48px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-inner h2 { font-size: 32px; margin-bottom: 8px; }
.cta-inner p { color: rgba(255,255,255,.8); font-size: 14px; max-width: 680px; margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-shrink: 0; }

/* ---------- search heroes ---------- */
.search-hero { background: linear-gradient(180deg, #5b7cf8 0%, #aeb5ff 100%); padding: 28px 0 24px; }
.job-search-form { display: grid; grid-template-columns: 1.65fr 1fr 1fr; gap: 12px; align-items: center; }
.search-input-wrap, .select-wrap, .location-wrap, .pill-select { background: #fff; border-radius: 8px; min-height: 58px; }
.search-input-wrap { display: flex; align-items: center; overflow: hidden; }
.search-input-wrap input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 14px 16px; font-size: 14px; color: var(--text); font-weight: 600; }
.search-input-wrap input::placeholder, .location-wrap input::placeholder { color: var(--muted); font-weight: 500; }
.search-submit { width: 44px; height: 44px; margin-right: 6px; border: 0; border-radius: 6px; background: var(--magenta); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.select-wrap, .location-wrap { display: flex; align-items: center; gap: 9px; padding: 0 14px; color: var(--muted); }
.select-wrap select, .location-wrap input, .pill-select select { border: 0; outline: 0; background: transparent; color: var(--text); font-size: 14px; font-weight: 600; width: 100%; appearance: none; -webkit-appearance: none; }
.location-wrap input { padding: 0; }
.select-caret { color: var(--blue); pointer-events: none; }
.locate-btn { border: 0; background: transparent; color: var(--blue); margin-left: auto; padding: 4px; }
.filter-pills { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 4px; }
.pill-select { min-height: 38px; display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; background: rgba(255,255,255,.42); border: 1.5px solid var(--blue); border-radius: 999px; color: var(--navy-2); }
.pill-select select { font-size: 12px; font-weight: 800; color: var(--navy-2); cursor: pointer; max-width: 150px; }
.pill-select .icon { color: var(--navy-2); }
.all-filters { position: relative; }
.all-filters > summary { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border: 1.5px solid var(--blue); border-radius: 999px; background: rgba(255,255,255,.42); color: var(--navy-2); font-size: 12px; font-weight: 800; cursor: pointer; list-style: none; }
.all-filters > summary::-webkit-details-marker { display: none; }
.all-filters-body { position: absolute; top: 46px; left: 0; z-index: 30; width: 290px; background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow); padding: 16px; display: grid; gap: 12px; }
.all-filters-body label { display: grid; gap: 6px; font-size: 12px; font-weight: 700; color: var(--navy-2); }
.all-filters-body select { width: 100%; border: 1px solid var(--border); border-radius: 6px; padding: 9px; background: #fff; font-size: 13px; }
.check-line { display: flex !important; align-items: center; gap: 8px; }
.check-line input { accent-color: var(--blue); width: 16px; height: 16px; }
.text-link { display: inline-flex; align-items: center; gap: 5px; color: var(--blue); font-size: 13px; font-weight: 800; }
.text-link:hover { text-decoration: underline; }
.reset-link { margin-left: 2px; }
.save-alert-btn { margin-left: auto; height: 38px; padding: 0 14px; background: rgba(255,255,255,.42); border-color: var(--navy-2); color: var(--navy-2); }
.companies-hero h1 { font-size: 28px; color: var(--navy); margin: 0 0 18px; letter-spacing: -.04em; }
.company-search-form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.company-search-form .location-wrap.large { flex: 1.6; min-width: 260px; }
.company-search-form .pill-select { background: rgba(255,255,255,.42); }
.search-company-btn { width: 48px; height: 48px; padding: 0; flex-shrink: 0; }

/* ---------- results ---------- */
.results-section { background: var(--bg); padding: 28px 0 80px; min-height: 55vh; }
.results-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.results-head h1, .results-head h2 { font-size: 25px; color: var(--navy-2); margin: 0 0 4px; }
.results-head p { color: var(--muted); font-size: 12px; margin: 0; }
.light-count { color: var(--muted); font-size: 17px; font-weight: 500; }
.results-count { background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 8px 14px; color: var(--indigo); font-size: 11px; font-weight: 800; white-space: nowrap; }
.job-list, .company-list { display: grid; gap: 12px; }
.company-list { gap: 18px; }
.job-card { position: relative; display: grid; grid-template-columns: minmax(250px, 1.45fr) minmax(180px, .85fr) minmax(140px, .65fr) 88px; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--border); border-left: 6px solid var(--accent); border-radius: 10px; padding: 16px 18px; box-shadow: 0 2px 10px rgba(4,0,63,.045); }
.job-card:hover { box-shadow: var(--shadow); }
.job-card-primary { display: flex; align-items: center; gap: 16px; min-width: 0; }
.company-logo { display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--logo-bg); color: var(--logo-fg); font-weight: 800; letter-spacing: -.06em; flex-shrink: 0; line-height: 1; }
.job-card-title { min-width: 0; }
.job-company { display: block; color: var(--blue); font-size: 13px; font-weight: 700; }
.job-card-title h3 { font-size: 17px; margin: 4px 0 0; color: var(--text); font-weight: 700; line-height: 1.3; }
.job-card-title h3 a { color: inherit; }
.job-card-title h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.job-card-title h3 a:hover { color: var(--blue); }
.job-card-meta { display: grid; gap: 7px; align-content: center; font-size: 12px; color: var(--body); min-width: 0; }
.meta-chip { width: fit-content; display: inline-flex; align-items: center; gap: 5px; background: var(--pale); border-radius: 999px; padding: 4px 10px; font-size: 11px; font-weight: 700; }
.meta-item { display: flex; align-items: center; gap: 6px; }
.meta-item .icon { color: var(--blue); }
.meta-link { position: relative; z-index: 2; color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.right-meta { border-left: 1px solid #e7eafb; padding-left: 16px; }
.job-card-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.save-btn { position: relative; z-index: 2; border: 0; background: transparent; color: var(--blue); padding: 8px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.save-btn:hover { background: var(--pale); }
.save-btn.saved { color: var(--pink); }
.save-btn.saved svg { fill: currentColor; }
.job-expand { position: static; }
.job-expand > summary { position: relative; z-index: 2; list-style: none; display: inline-flex; padding: 8px; color: var(--navy-2); cursor: pointer; border-radius: 50%; }
.job-expand > summary::-webkit-details-marker { display: none; }
.job-expand[open] > summary { background: var(--pale); transform: rotate(180deg); }
.job-expand-body { position: absolute; left: 0; right: 0; top: calc(100% - 2px); z-index: 20; background: #fff; border: 1px solid var(--border); border-top: 0; border-radius: 0 0 10px 10px; padding: 20px 22px; box-shadow: var(--shadow); }
.job-expand-body p { font-size: 13px; color: var(--body); line-height: 1.7; }
.skills-line { font-size: 12px !important; }
.applied-badge { display: inline-flex; align-items: center; gap: 4px; width: fit-content; margin-top: 7px; background: #e5fff9; color: #007a5a; border-radius: 999px; padding: 3px 9px; font-size: 10px; font-weight: 800; }
.job-card.compact { grid-template-columns: 1fr auto; padding: 12px 14px; border-left-width: 4px; gap: 10px; }
.job-card.compact .company-logo { width: 46px !important; height: 46px !important; font-size: 14px !important; }
.job-card.compact .job-card-title h3 { font-size: 14px; }
.job-card.compact .job-card-meta, .job-card.compact .job-expand { display: none; }
.compact-job-list { display: grid; gap: 10px; }

/* ---------- company cards ---------- */
.company-card { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; background: #fff; border: 1px solid var(--border); border-left: 6px solid var(--accent); border-radius: 10px; padding: 22px; box-shadow: 0 2px 12px rgba(4,0,63,.045); }
.company-card-head { display: flex; align-items: center; gap: 14px; }
.company-name { display: block; color: var(--blue); font-size: 21px; font-weight: 800; letter-spacing: -.035em; }
.company-industries { color: var(--body); font-size: 12px; margin: 3px 0 0; }
.company-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 16px 0; font-size: 12px; color: var(--body); }
.company-meta span, .company-meta a { display: inline-flex; align-items: center; gap: 5px; }
.company-meta a { color: var(--blue); font-weight: 700; }
.company-meta .icon { color: var(--blue); }
.hiring-now { background: #e5fff9; color: #007a5a; border-radius: 999px; padding: 4px 10px; font-weight: 800; }
.hiring-now i { width: 7px; height: 7px; border-radius: 50%; background: #009036; }
.company-tagline { font-size: 15px; color: var(--text); margin: 12px 0 6px; }
.company-desc { font-size: 13px; color: #3a3b41; line-height: 1.65; margin: 0 0 16px; }
.position-band { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; background: var(--pale); border-radius: 7px; padding: 12px 14px; font-size: 12px; color: var(--navy-2); }
.position-band-link { color: var(--blue); font-weight: 800; }
.position-band-link:hover { text-decoration: underline; }
.company-card-side { display: grid; gap: 10px; align-content: start; }
.photo-frame { position: relative; height: var(--photo-h, 180px); border-radius: 12px; overflow: hidden; background: var(--pale); }
.photo-frame > svg { width: 100%; height: 100%; display: block; }
.photo-label { position: absolute; right: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 4px; background: rgba(255,255,255,.9); color: var(--navy-2); border-radius: 999px; padding: 5px 9px; font-size: 10px; font-weight: 800; }
.follow-btn.followed { background: #fceef6; border-color: var(--pink); color: var(--pink); }

/* ---------- articles ---------- */
.article-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.article-search { display: flex; align-items: center; gap: 8px; min-width: 320px; background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 6px 8px 6px 14px; color: var(--muted); }
.article-search input { flex: 1; border: 0; outline: 0; font-size: 13px; color: var(--text); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-pill { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border-2); border-radius: 999px; padding: 8px 14px; background: #fff; color: var(--navy-2); font-size: 12px; font-weight: 800; }
.filter-pill:hover, .filter-pill.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.featured-article { margin-bottom: 34px; }
.article-card { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 18px; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 14px; margin-bottom: 14px; }
.article-card.featured { grid-template-columns: 1fr; padding: 16px; }
.article-card.featured .photo-frame { height: 320px !important; }
.article-card.featured .article-body { padding: 12px 8px 4px; }
.article-card.featured .article-body h3 { font-size: 28px; }
.article-card.featured .article-body p { font-size: 15px; }
.article-photo .photo-frame { height: 112px !important; }
.article-category { display: inline-block; color: var(--magenta); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.article-category.light { color: var(--mint); }
.article-body h3 { font-size: 18px; margin: 6px 0 8px; }
.article-body h3 a { color: var(--text); }
.article-body h3 a:hover { color: var(--blue); }
.article-body p { font-size: 13px; color: var(--body); line-height: 1.6; margin: 0 0 10px; }
.article-byline { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--muted); }
.article-byline.large { font-size: 13px; margin-top: 20px; }
.author-dot { width: 18px; height: 18px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.article-grid .article-card { grid-template-columns: 1fr; }
.article-grid .article-photo .photo-frame { height: 150px !important; }
.article-list { display: grid; gap: 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin: 36px 0 16px; }
.section-head h2 { font-size: 25px; color: var(--navy-2); margin: 0; }
.newsletter-band { background: var(--navy); color: #fff; padding: 46px 0; }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.newsletter-inner .icon { color: var(--mint); }
.newsletter-inner h2 { font-size: 26px; margin: 8px 0 6px; }
.newsletter-inner p { color: #b7bac9; font-size: 13px; margin: 0; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input { min-width: 280px; border: 0; border-radius: 6px; padding: 14px 16px; font-size: 13px; outline: 0; }
.article-stats { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 28px; }
.article-stats span { font-size: 12px; color: var(--body); font-weight: 600; }
.article-stats strong { display: block; font-size: 26px; color: var(--blue); letter-spacing: -.04em; }
.article-detail-hero { background: linear-gradient(120deg, var(--article-accent), #07006c); color: #fff; }
.article-detail-hero h1 { color: #fff; max-width: 900px; }
.article-detail-hero .hero-sub { color: rgba(255,255,255,.86); }
.article-detail-hero .breadcrumb, .article-detail-hero .breadcrumb a { color: rgba(255,255,255,.82); }
.article-detail-hero .article-byline { color: rgba(255,255,255,.82); }
.article-detail-section { background: #fff; }
.article-content { padding: 28px 0; font-size: 16px; color: var(--body); line-height: 1.85; }
.article-content p { margin: 0 0 18px; }
.article-content h2 { color: var(--text); font-size: 26px; margin: 28px 0 12px; }
.article-content blockquote { border-left: 4px solid var(--magenta); background: var(--bg); border-radius: 0 8px 8px 0; padding: 16px 20px; margin: 24px 0; color: var(--navy-2); font-weight: 700; }
.related-list { display: grid; gap: 12px; }
.related-list a { display: block; padding-bottom: 12px; border-bottom: 1px solid #eef0fb; }
.related-list strong { display: block; font-size: 13px; color: var(--text); line-height: 1.4; }
.related-list span { font-size: 11px; color: var(--muted); }

/* ---------- generic page hero ---------- */
.page-hero { background: linear-gradient(120deg, #eaeefd 0%, #d8dcff 100%); padding: 36px 0 50px; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(34px, 4.3vw, 52px); max-width: 920px; margin: 18px 0 10px; color: var(--navy); letter-spacing: -.045em; }
.page-hero .hero-sub { color: var(--body); font-size: 16px; max-width: 760px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; color: var(--body); }
.breadcrumb a { color: var(--blue); font-weight: 700; }
.crumb-sep { color: #b7bac9; }
.salaries-hero { background: linear-gradient(120deg, #e5fff9, #d8dcff); }
.articles-hero { background: linear-gradient(120deg, #fceef6, #d8dcff); }
.awards-hero, .remote-hero { background: linear-gradient(120deg, #07006c, #6147d7 62%, #aa2fbe); color: #fff; }
.awards-hero h1, .remote-hero h1 { color: #fff; }
.awards-hero .hero-sub, .remote-hero .hero-sub { color: rgba(255,255,255,.85); }
.awards-hero .breadcrumb, .remote-hero .breadcrumb, .awards-hero .breadcrumb a, .remote-hero .breadcrumb a { color: rgba(255,255,255,.82); }
.salary-form, .dict-search { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.salary-form .pill-select.large { border: 0; border-radius: 8px; min-height: 56px; padding: 0 16px; background: #fff; flex: 1; min-width: 240px; }
.salary-form .search-input-wrap { flex: 1.2; min-width: 240px; border: 1px solid var(--border); }
.dict-search { background: #fff; border-radius: 10px; padding: 8px 10px 8px 16px; max-width: 720px; }
.dict-search input { flex: 1; min-width: 180px; border: 0; outline: 0; font-size: 14px; color: var(--text); }

/* ---------- detail layouts ---------- */
.detail-hero { background: var(--bg); padding: 28px 0 36px; border-bottom: 1px solid var(--border); }
.job-detail-head { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 20px; align-items: start; margin-top: 20px; }
.job-detail-title h1 { font-size: 32px; margin: 6px 0 14px; }
.detail-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.detail-chips span { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 600; color: var(--body); }
.detail-chips .icon { color: var(--blue); }
.detail-actions { display: grid; gap: 10px; min-width: 180px; }
.save-btn.large { border: 1px solid var(--blue); border-radius: 6px; background: #fff; padding: 10px 14px; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.detail-section, .company-detail-section { background: var(--bg); padding: 44px 0 80px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.detail-main { display: grid; gap: 20px; min-width: 0; }
.content-card, .side-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 24px; }
.content-card h2 { font-size: 24px; color: var(--navy-2); margin: 0 0 14px; }
.content-card h3 { font-size: 18px; margin: 26px 0 10px; }
.content-card p { color: var(--body); font-size: 14px; line-height: 1.75; }
.content-card .lead { font-size: 17px; font-weight: 700; color: var(--text); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.card-head h2 { margin: 0; }
.card-head span { color: var(--muted); font-size: 12px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--body); font-size: 14px; }
.check-list .icon { color: #009036; margin-top: 2px; }
.check-list.light li { color: #fff; }
.check-list.light .icon { color: var(--mint); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; background: var(--pale); color: var(--navy-2); border-radius: 999px; padding: 6px 12px; font-size: 11px; font-weight: 700; }
.tag-link:hover { background: var(--blue); color: #fff; }
.apply-form { display: grid; gap: 14px; }
.apply-form label, .stacked-form label, .modal-card label, .side-card label { display: grid; gap: 6px; font-size: 12px; font-weight: 800; color: var(--navy-2); }
.apply-form textarea, .employer-form textarea { width: 100%; border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; font-size: 14px; resize: vertical; outline: 0; }
.apply-form textarea:focus, input:focus, select:focus, .employer-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(36,79,231,.12); }
.signin-cta p { color: var(--body); font-size: 14px; }
.signin-cta .btn { margin-bottom: 10px; }
.applied-success { display: flex; align-items: flex-start; gap: 12px; background: #e5fff9; border-radius: 8px; padding: 16px; color: #007a5a; }
.applied-success strong { display: block; }
.applied-success span { display: block; font-size: 13px; margin-top: 2px; }
.applied-success a { color: #007a5a; text-decoration: underline; }
.detail-side { display: grid; gap: 16px; }
.side-card h3 { font-size: 17px; margin: 0 0 12px; }
.side-card p { font-size: 13px; color: var(--body); line-height: 1.65; }
.glance-list { margin: 0; display: grid; }
.glance-list div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #eef0fb; font-size: 13px; }
.glance-list div:last-child { border-bottom: 0; }
.glance-list dt { color: var(--muted); }
.glance-list dd { margin: 0; font-weight: 700; text-align: right; }
.company-side-card { text-align: center; }
.company-side-card .company-logo { margin: 0 auto 10px; }
.company-side-card h3 a { color: var(--text); }
.side-meta { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--muted); margin: 6px 0; }
.side-card .btn { margin-top: 12px; }
.tip-card { background: var(--pale); border-color: var(--border-2); }
.tip-card > .icon { color: var(--magenta); }
.mini-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.mini-list li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--body); }
.mini-list li .icon { color: var(--blue); }
.mini-list li span, .mini-list li strong { margin-left: auto; color: var(--blue); font-weight: 800; }

/* ---------- company detail ---------- */
.company-cover { height: 160px; background: linear-gradient(100deg, var(--cover-accent), #6147d7); }
.cover-badge { display: inline-flex; align-items: center; gap: 7px; margin-top: 24px; border: 1px solid rgba(255,255,255,.65); border-radius: 999px; padding: 6px 12px; color: #fff; font-size: 11px; font-weight: 800; }
.company-header { background: #fff; padding: 24px 0 0; border-bottom: 1px solid var(--border); }
.company-header-grid { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; gap: 20px; align-items: center; margin-top: 16px; }
.cover-logo { margin-top: -64px; border: 5px solid #fff; box-shadow: var(--shadow); }
.company-title-row { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.company-title-row h1 { font-size: 38px; margin: 0; }
.company-header-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; font-size: 13px; color: var(--body); }
.company-header-meta .icon { color: var(--blue); }
.company-header-meta span { color: #b7bac9; }
.tabs { display: flex; gap: 26px; margin-top: 26px; overflow-x: auto; }
.tab { display: inline-flex; align-items: center; gap: 6px; padding: 14px 2px; border-bottom: 3px solid transparent; color: var(--body); font-size: 13px; font-weight: 800; white-space: nowrap; }
.tab:hover, .tab.active { color: var(--blue); }
.tab.active { border-color: var(--blue); }
.tab-count { background: var(--pale); color: var(--blue); border-radius: 999px; padding: 2px 7px; font-size: 10px; }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.team-card { display: flex; align-items: center; gap: 10px; border: none !important; outline: none !important; box-shadow: none !important; background: transparent !important; padding: 12px 6px; color: var(--blue) !important; text-decoration: none; transition: transform .15s ease; }
.team-card:hover, .team-card:focus, .team-card:active, .team-card:focus-visible { border: none !important; outline: none !important; box-shadow: none !important; background: transparent !important; text-decoration: underline; }
.team-card strong { flex: 1; font-size: 13.5px; font-weight: 700; color: var(--blue) !important; }
.team-card span { color: #5480fa !important; font-size: 11.5px; font-weight: 600; }
.team-card .icon { color: var(--blue) !important; }
.office-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.office-card { border: 1px solid var(--border); border-radius: 9px; padding: 18px; }
.office-card .icon { color: var(--blue); }
.office-card h3 { font-size: 17px; margin: 8px 0 2px; }
.office-card span { color: var(--blue); font-size: 11px; font-weight: 800; }
.office-card p { color: var(--body); font-size: 12px; margin: 8px 0 0; }
.culture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.culture-grid .icon { color: var(--magenta); }
.culture-grid h3 { font-size: 16px; margin: 8px 0 6px; }
.culture-grid p { font-size: 13px; color: var(--body); }
.perks-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 20px; }
.perk-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--body); padding: 8px 0; }
.perk-item .icon { color: #009036; }
.faq-item { border-bottom: 1px solid #e3e7f7; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; font-weight: 800; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item p { color: var(--body); font-size: 14px; margin: 0 0 16px; }

/* ---------- tables / data ---------- */
.table-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 15px 16px; text-align: left; border-bottom: 1px solid #eef0fb; font-size: 13px; vertical-align: middle; }
th { background: #f8f9ff; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
tbody tr:last-child td { border-bottom: 0; }
td a { color: var(--text); font-weight: 700; }
td a:hover { color: var(--blue); }
td > span { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.salary-bar { height: 8px; background: var(--pale); border-radius: 999px; overflow: hidden; margin-bottom: 6px; min-width: 140px; }
.salary-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--magenta)); border-radius: 999px; }
.range-text { color: var(--muted); font-size: 11px; }
.trend { color: #009036; font-weight: 800; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.info-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 22px; }
.info-card .icon { color: var(--blue); }
.info-card h3 { font-size: 17px; margin: 10px 0 8px; }
.info-card p { font-size: 13px; color: var(--body); line-height: 1.7; margin: 0; }
.faq-block { margin-top: 42px; }
.faq-block h2 { font-size: 26px; margin-bottom: 10px; }
.faq-block details { border-bottom: 1px solid var(--border); }
.faq-block summary { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; font-weight: 800; cursor: pointer; list-style: none; }
.faq-block summary::-webkit-details-marker { display: none; }
.faq-block p { color: var(--body); font-size: 14px; }
.salary-summary { display: flex; flex-wrap: wrap; gap: 44px; }
.salary-summary span { display: block; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.salary-summary strong { display: block; color: var(--blue); font-size: 32px; letter-spacing: -.05em; margin: 5px 0; }
.salary-summary em { font-style: normal; color: #009036; font-size: 12px; font-weight: 700; }
.status-pill { display: inline-block; background: #e5fff9; color: #007a5a; border-radius: 999px; padding: 5px 10px; font-size: 11px; font-weight: 800; }
.tracker-table td span { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }

/* ---------- discovery ---------- */
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hub-card { position: relative; background: #fff; border: 1px solid var(--border); border-top: 5px solid var(--hub); border-radius: 10px; padding: 22px 22px 48px; transition: transform .15s ease, box-shadow .15s ease; }
.hub-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.hub-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--pale); color: var(--hub); display: inline-flex; align-items: center; justify-content: center; }
.hub-card h3 { font-size: 18px; margin: 14px 0 6px; }
.hub-card p { color: var(--muted); font-size: 12px; margin: 0; }
.hub-arrow { position: absolute; right: 18px; bottom: 18px; color: var(--hub); }
.hub-company-grid { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.hub-company { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 10px 14px; color: var(--text); font-size: 13px; font-weight: 800; }
.hub-company:hover { border-color: var(--blue); }
.dict-list { display: grid; gap: 12px; }
.dict-entry { display: grid; grid-template-columns: 56px 1fr; gap: 16px; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 18px; }
.dict-letter { width: 48px; height: 48px; border-radius: 8px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; }
.dict-entry h3 { font-size: 17px; margin: 0 0 6px; }
.dict-entry h3 span { color: var(--muted); font-size: 12px; font-weight: 600; margin-left: 8px; letter-spacing: 0; }
.dict-entry p { font-size: 13px; color: var(--body); margin: 0; }
.award-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.award-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--border); border-radius: 8px; padding: 14px; color: var(--navy-2); font-size: 13px; font-weight: 800; }
.award-link span { display: inline-flex; align-items: center; gap: 8px; }
.award-link .icon { color: var(--magenta); }
.award-link:hover { background: var(--pale); }
.winner-list { display: grid; gap: 10px; }
.winner-card { display: flex; align-items: center; gap: 14px; border: 1px solid var(--border); border-radius: 8px; padding: 12px; }
.winner-card strong { display: block; font-size: 14px; }
.winner-card span { display: block; color: var(--muted); font-size: 11px; }
.winner-card .rank { margin-left: auto; font-size: 20px; font-weight: 800; color: var(--magenta); }
.search-result-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 36px; }
.search-result-columns h2 { font-size: 20px; }
.search-result { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 12px; margin-bottom: 8px; }
.search-result > span { display: grid; font-size: 13px; font-weight: 700; color: var(--text); }
.search-result small { color: var(--muted); font-size: 10px; font-weight: 500; }

/* ---------- account / dashboard ---------- */
.auth-page { background: linear-gradient(120deg, #eaeefd, #f8f9ff); padding: 60px 0 72px; min-height: 72vh; }
.auth-grid { display: grid; grid-template-columns: 1fr 460px; gap: 48px; align-items: center; }
.auth-intro h1 { font-size: clamp(34px, 4vw, 48px); margin: 20px 0 14px; }
.auth-intro p { color: var(--body); font-size: 15px; line-height: 1.75; max-width: 560px; }
.auth-intro .check-list { margin-top: 24px; }
.auth-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 32px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 30px; }
.auth-card h2 { font-size: 26px; margin-bottom: 18px; }
.auth-card form { display: grid; gap: 14px; }
.auth-card label, .side-card form label { display: grid; gap: 6px; font-size: 12px; font-weight: 800; color: var(--navy-2); }
.auth-card input, .auth-card select, .side-card input, .side-card select, .stacked-form input, .employer-form input, .employer-form select, .modal-card input, .modal-card select { width: 100%; border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; font-size: 14px; color: var(--text); background: #fff; outline: 0; }
.auth-card input:disabled { background: #f3f5ff; color: var(--muted); }
.auth-switch { text-align: center; color: var(--muted); font-size: 13px; margin: 18px 0 0; }
.demo-credentials { background: var(--bg); border: 1px dashed #b7bac9; border-radius: 8px; padding: 14px; font-size: 12px; color: var(--body); line-height: 1.8; margin-top: 18px; }
.demo-credentials strong { color: var(--text); }
.demo-credentials.wide { max-width: 520px; margin: 28px auto 0; text-align: center; }
.form-error, .form-success { display: flex; align-items: center; gap: 7px; border-radius: 7px; padding: 10px 12px; font-size: 12px; font-weight: 700; margin-bottom: 14px; }
.form-error { background: #fceef6; color: #a5166a; }
.form-success { background: #e5fff9; color: #007a5a; }
.narrow-page { padding: 72px 0; }
.narrow-page .auth-card { max-width: 560px; margin: 0 auto; text-align: center; }
.auth-icon { width: 68px; height: 68px; border-radius: 50%; background: var(--pale); color: var(--blue); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.auth-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 22px 0; }
.dashboard-hero { background: linear-gradient(120deg, #07006c, #6147d7 70%, #aa2fbe); color: #fff; }
.dashboard-hero h1 { color: #fff; }
.dashboard-hero .hero-sub { color: rgba(255,255,255,.85); }
.dashboard-hero .breadcrumb, .dashboard-hero .breadcrumb a { color: rgba(255,255,255,.82); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.stat-card { display: grid; gap: 4px; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 20px; }
.stat-card > span { width: 42px; height: 42px; border-radius: 50%; background: var(--pale); color: var(--stat, var(--blue)); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.stat-card strong { font-size: 32px; letter-spacing: -.05em; }
.stat-card small { color: var(--muted); font-size: 11px; font-weight: 800; }
.dashboard-columns { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; margin-bottom: 20px; }
.activity-list { display: grid; gap: 0; margin-bottom: 18px; }
.activity-item { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #eef0fb; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: #009036; flex-shrink: 0; }
.activity-item strong { display: block; font-size: 13px; }
.activity-item small { color: var(--muted); font-size: 11px; }
.alert-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--border); border-radius: 8px; padding: 14px; margin-bottom: 10px; }
.alert-row > div { display: flex; align-items: center; gap: 12px; }
.alert-row > div > .icon { color: var(--blue); }
.alert-row strong { display: block; font-size: 13px; }
.alert-row span { color: var(--muted); font-size: 11px; }
.icon-btn.danger { color: var(--pink); }
.stacked-form { display: grid; gap: 14px; max-width: 560px; }
.employer-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.employer-form label { display: grid; gap: 6px; font-size: 12px; font-weight: 800; color: var(--navy-2); }
.employer-form .full { grid-column: 1 / -1; }
.simple-stack { display: grid; gap: 16px; }
.simple-stack p { margin: 0; }

/* ---------- account workspace ---------- */
.account-page { background: #f5f7fb; padding: 38px 0 64px; min-height: 70vh; }
.account-page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.account-page-heading h1 { margin: 5px 0 7px; font-size: clamp(29px, 3.2vw, 38px); }
.account-page-heading p { color: var(--muted); margin: 0; }
.account-eyebrow { color: var(--blue); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.account-layout { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 22px; align-items: start; }
.account-sidebar { position: sticky; top: 96px; padding: 18px 12px 12px; background: #fff; border: 1px solid #e6eaf2; border-radius: 14px; box-shadow: 0 5px 20px rgba(22, 38, 77, .045); }
.account-identity { display: flex; align-items: center; gap: 11px; padding: 3px 8px 18px; border-bottom: 1px solid #edf0f5; }
.account-avatar { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 13px; background: #eaf0ff; color: var(--blue); font-size: 13px; font-weight: 900; }
.account-identity strong, .account-identity small { display: block; overflow: hidden; max-width: 154px; text-overflow: ellipsis; white-space: nowrap; }
.account-identity strong { font-size: 12px; }
.account-identity small { color: var(--muted); font-size: 10px; margin-top: 2px; }
.account-nav { display: grid; gap: 4px; padding: 14px 0; }
.account-nav-link { display: flex; align-items: center; gap: 11px; min-height: 42px; padding: 0 11px; border-radius: 8px; color: #64708a; font-size: 12px; font-weight: 700; transition: background .15s, color .15s; }
.account-nav-link:hover { background: #f4f6fb; color: var(--navy); }
.account-nav-link.active { background: #edf2ff; color: var(--blue); }
.account-sidebar-footer { padding: 12px 8px 2px; border-top: 1px solid #edf0f5; }
.account-sidebar-footer > span { display: block; overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 10px; }
.account-sidebar-footer form { margin: 0; }
.account-sidebar-footer button { display: inline-flex; align-items: center; gap: 9px; padding: 4px 0; border: 0; background: transparent; color: #788198; font: inherit; font-size: 11px; font-weight: 700; }
.account-content { min-width: 0; display: grid; gap: 18px; }
.account-welcome { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; background: linear-gradient(115deg, #fff 50%, #f0f4ff); border: 1px solid #e6eaf2; border-radius: 14px; }
.account-welcome h2 { margin: 0 0 5px; font-size: 21px; }
.account-welcome p { color: var(--muted); font-size: 12px; margin: 0; }
.account-content .stat-grid { gap: 12px; margin: 0; }
.account-content .stat-card { min-width: 0; padding: 16px; border-radius: 12px; box-shadow: 0 3px 14px rgba(22, 38, 77, .035); }
.account-content .stat-card > span { width: 36px; height: 36px; }
.account-content .stat-card strong { font-size: 27px; }
.account-content .content-card { min-width: 0; margin: 0; padding: 21px; border-radius: 12px; box-shadow: 0 3px 14px rgba(22, 38, 77, .035); }
.account-content .card-head { align-items: center; }
.account-content .card-head h2, .account-content > .content-card > h2 { margin: 0; font-size: 17px; }
.account-content .card-head p { color: var(--muted); margin: 5px 0 0; font-size: 11px; }
.account-content .dashboard-columns { gap: 14px; margin: 0; }
.account-content .dashboard-columns .content-card { padding: 20px; }
.account-content .activity-list { margin-top: 8px; }
.account-content .empty-state { padding: 26px 18px; }
.account-content .empty-icon { width: 48px; height: 48px; margin-bottom: 11px; }
.account-content .empty-state h3 { font-size: 15px; }
.account-alert-list { display: grid; gap: 10px; }
.alert-row { margin: 0; }
.alert-row-summary { min-width: 0; }
.alert-row-summary > div { min-width: 0; }
.alert-row-actions { display: flex; align-items: center; gap: 8px; }
.alert-edit { position: relative; }
.alert-edit > summary { list-style: none; cursor: pointer; }
.alert-edit > summary::-webkit-details-marker { display: none; }
.alert-edit-form { position: absolute; z-index: 4; top: calc(100% + 8px); right: 0; display: grid; width: min(320px, 82vw); gap: 10px; padding: 16px; background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 14px 38px rgba(4, 0, 63, .16); }
.alert-edit-form label, .alert-create-form label, .employer-job-edit-form label { display: grid; gap: 5px; color: var(--navy-2); font-size: 11px; font-weight: 800; }
.alert-edit-form input, .alert-edit-form select, .alert-create-form input, .alert-create-form select, .employer-job-edit-form input, .employer-job-edit-form select, .employer-job-edit-form textarea { width: 100%; min-width: 0; border: 1px solid var(--border); border-radius: 7px; padding: 10px 11px; color: var(--text); background: #fff; font: inherit; font-size: 12px; }
.alert-edit-form .btn { justify-self: start; }
.alert-create-form { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(140px, .7fr) auto; align-items: end; gap: 12px; margin-top: 14px; }
.account-content .stacked-form { max-width: 620px; }
.account-content .stacked-form label { display: grid; gap: 6px; color: var(--navy-2); font-size: 11px; font-weight: 800; }
.account-content .stacked-form input { width: 100%; border: 1px solid var(--border); border-radius: 8px; padding: 12px; color: var(--text); font: inherit; font-size: 13px; }
.profile-stat-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.profile-stat-list span { padding: 13px; border: 1px solid #edf0f5; border-radius: 9px; color: var(--muted); font-size: 10px; }
.profile-stat-list strong { display: block; margin-top: 5px; color: var(--text); font-size: 13px; }
.job-posting-tag { display: inline-flex; align-items: center; padding: 6px 9px; border-radius: 999px; background: #e8f8f2; color: #16835d; font-size: 10px; font-weight: 800; white-space: nowrap; }
.employer-job-list { display: grid; gap: 10px; }
.employer-job-row { padding: 15px; border: 1px solid #e9edf4; border-radius: 10px; background: #fff; }
.employer-job-summary { display: flex; align-items: center; gap: 12px; }
.employer-job-mark { width: 84px; height: 84px; flex: 0 0 84px; display: grid; place-items: center; }
.employer-job-info { min-width: 0; flex: 1; }
.employer-job-info a { color: var(--text); }
.employer-job-info a:hover { color: var(--blue); }
.employer-job-info strong { display: block; font-size: 13px; }
.employer-job-info span { display: block; color: var(--muted); font-size: 10px; margin-top: 4px; }
.job-status-badge { padding: 5px 9px; border-radius: 999px; background: #e8f8f2; color: #16835d; font-size: 10px; font-weight: 800; }
.job-status-badge.closed { background: #f0f1f5; color: #6f7789; }
.employer-job-actions { display: flex; align-items: center; gap: 8px; justify-content: flex-end; margin-top: 11px; }
.employer-job-edit > summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; }
.employer-job-edit > summary::-webkit-details-marker { display: none; }
.employer-job-edit-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; padding-top: 16px; }
.employer-job-edit-form .full { grid-column: 1 / -1; }
.employer-job-edit-form textarea { resize: vertical; }
.btn-quiet-danger { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 7px 11px; border: 1px solid #f0d9df; border-radius: 7px; background: #fff; color: #b43b59; font: inherit; font-size: 10px; font-weight: 800; }
.btn-quiet-danger:hover { background: #fff5f7; }
.btn-quiet-danger:disabled { color: #7e899a; background: #f4f5f8; border-color: #e5e7ee; cursor: default; }
.tracker-table td .application-delete-form { margin-top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- modal / pagination / empty ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4,0,63,.58); }
.modal-card { position: relative; z-index: 1; width: min(440px, 100%); background: #fff; border-radius: 14px; padding: 28px; box-shadow: 0 24px 60px rgba(4,0,63,.3); }
.modal-card h2 { font-size: 24px; margin-bottom: 6px; }
.modal-card > p { color: var(--body); font-size: 13px; margin-bottom: 20px; }
.modal-card form { display: grid; gap: 14px; }
.modal-close { position: absolute; top: 10px; right: 10px; color: var(--body); }
.pagination-wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.pagination-count { color: var(--muted); font-size: 12px; }
.pagination { display: flex; flex-wrap: wrap; gap: 6px; }
.page-link { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 6px; background: #fff; color: var(--blue); font-size: 12px; font-weight: 800; padding: 8px 12px; }
.page-link:hover, .page-link.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.page-link.disabled { color: #b7bac9; background: #f8f9ff; cursor: default; }
.page-ellipsis { padding: 8px 4px; color: var(--muted); }
.empty-state { background: #fff; border: 1px dashed #b7bac9; border-radius: 12px; padding: 48px 24px; text-align: center; }
.empty-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--pale); color: var(--blue); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.empty-state h3, .empty-state h1 { margin-bottom: 8px; }
.empty-state p { color: var(--muted); font-size: 14px; max-width: 480px; margin: 0 auto 18px; }
.large-empty { padding: 72px 24px; }
.large-empty h1 { font-size: 36px; }
.muted { color: var(--muted); font-size: 13px; }

/* ---------- footer ---------- */
.site-footer { margin-top: auto !important; flex-shrink: 0 !important; width: 100% !important; background: #034f9a; color: #fff; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer-brand p { color: rgba(255, 255, 255, 0.92); font-size: 13px; line-height: 1.7; max-width: 280px; margin: 16px 0; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border: 1.5px solid rgba(255,255,255,.6); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; transition: background .15s ease; }
.footer-social a:hover { background: rgba(255,255,255,.22); }
.footer-col h3 { color: #ffffff; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; text-shadow: 0 1px 2px rgba(0,0,0,0.12); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-col a { color: rgba(255, 255, 255, 0.9); font-size: 13.5px; transition: color .15s ease; }
.footer-col a:hover { color: #ffffff; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(255,255,255,.28); margin-top: 40px; padding-top: 20px; color: rgba(255, 255, 255, 0.88); font-size: 11px; }
.footer-bottom a { color: #ffffff; text-decoration: underline; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .header-inner { gap: 20px; }
  .main-nav { gap: 20px; }
  .job-card { grid-template-columns: minmax(220px, 1.3fr) minmax(160px, .9fr) 84px; }
  .job-card .right-meta { display: none; }
  .company-card { grid-template-columns: 1fr 280px; }
  .detail-grid { grid-template-columns: minmax(0, 1fr) 280px; }
  .footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .global-search-results { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
  .main-nav, .header-auth, .header-sep, .employer-btn { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .search-overlay { top: calc(66px + var(--header-promo-offset, 0px)); }
  .hero { padding: 44px 0 52px; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .stats-grid, .info-grid, .hub-grid, .article-grid, .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .job-search-form { grid-template-columns: 1fr; }
  .job-search-form .filter-pills { grid-column: auto; }
  .save-alert-btn { margin-left: 0; }
  .company-card, .detail-grid, .auth-grid, .dashboard-columns, .search-result-columns { grid-template-columns: 1fr; }
  .company-card-side { grid-template-columns: 1fr 1fr; }
  .company-card-side .photo-frame { grid-column: 1 / -1; }
  .job-detail-head, .company-header-grid { grid-template-columns: 1fr; }
  .cover-logo { margin-top: -54px; }
  .detail-actions { grid-template-columns: 1fr 1fr; }
  .newsletter-inner, .cta-inner { flex-direction: column; align-items: flex-start; }
  .global-search-results { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .salary-summary { gap: 24px; }
}
@media (max-width: 620px) {
  .container { padding: 0 16px; }
  .brand { font-size: 24px; }
  .demo-pill { display: none; }
  .hero h1 { font-size: 34px; }
  .hero-buttons { margin-bottom: 34px; }
  .explore-companies { min-width: 0; width: 100%; }
  .feature-grid, .stats-grid, .start-links, .resource-grid, .info-grid, .hub-grid, .article-grid, .stat-grid, .team-grid, .office-grid, .culture-grid, .perks-grid, .award-grid, .employer-form, .company-card-side { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .feature-strip { padding: 24px 0 32px; }
  .results-head { flex-direction: column; align-items: flex-start; }
  .job-card { grid-template-columns: 1fr auto; gap: 10px; padding: 14px; }
  .job-card-meta, .right-meta { display: none; }
  .job-card-actions { grid-column: 2; grid-row: 1; }
  .job-card-primary { grid-column: 1; }
  .company-logo { width: 52px !important; height: 52px !important; font-size: 15px !important; }
  .article-card { grid-template-columns: 1fr; }
  .article-photo .photo-frame, .article-grid .article-photo .photo-frame { height: 170px !important; }
  .article-card.featured .photo-frame { height: 220px !important; }
  .article-search { min-width: 0; width: 100%; }
  .newsletter-form { width: 100%; flex-direction: column; }
  .newsletter-form input { min-width: 0; }
  .detail-actions { grid-template-columns: 1fr; }
  .tabs { gap: 18px; }
  .all-filters-body { left: auto; right: 0; width: min(290px, calc(100vw - 32px)); }
  .global-search-results { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .modal-card { padding: 22px; }
  .page-hero { padding: 28px 0 38px; }
  .auth-card { padding: 24px; }
  .company-search-form .pill-select { flex: 1; }
  .dict-entry { grid-template-columns: 44px 1fr; gap: 12px; padding: 14px; }
  .dict-letter { width: 40px; height: 40px; font-size: 18px; }
}

/* ---------- LinkedIn-style company & job views ---------- */
.linkedin-style .results-section { background: #f4f5f7; }
.linkedin-style .companies-hero { background: #fff; border-bottom: 1px solid var(--border); padding: 26px 0 20px; }
.linkedin-style .companies-hero h1 { font-size: 25px; color: var(--navy-2); margin-bottom: 16px; }
.linkedin-style .company-search-form .location-wrap.large { border: 1px solid var(--border); }
.linkedin-style .company-search-form .pill-select { background: #fff; }
.linkedin-style .company-list { gap: 10px; }
.linkedin-style .results-head h2 { color: var(--navy-2); }

.li-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 20px; box-shadow: 0 1px 3px rgba(4,0,63,.06); }
.li-card h2 { font-size: 20px; color: var(--navy-2); margin: 0 0 12px; }
.li-card h3 { font-size: 16px; color: var(--text); margin: 22px 0 10px; }
.li-card p { color: var(--body); font-size: 14px; line-height: 1.7; margin: 0 0 12px; }
.li-card p:last-child { margin-bottom: 0; }
.li-card-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.li-card-head h2 { margin: 0; }
.li-card-head span { color: var(--muted); font-size: 12px; }
.li-muted { color: var(--muted); font-size: 13px; }
.li-link { display: inline-flex; align-items: center; gap: 5px; color: var(--blue); font-size: 13px; font-weight: 800; }
.li-link:hover { text-decoration: underline; }
.li-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1.5px solid transparent; border-radius: 999px; padding: 9px 16px; font-size: 13px; font-weight: 800; line-height: 1.2; transition: background .15s ease, transform .15s ease; white-space: nowrap; }
.li-btn:hover { transform: translateY(-1px); }
.li-btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.li-btn-primary:hover { background: #1d3fb9; }
.li-btn-outline { background: #fff; color: var(--blue); border-color: var(--blue); }
.li-btn-outline:hover { background: var(--pale); }
.li-btn-subtle { background: transparent; color: var(--body); border-color: transparent; }
.li-btn-subtle:hover { background: var(--pale); }
.li-btn-block { width: 100%; }
.li-btn-lg { padding: 11px 20px; font-size: 14px; }
.li-btn.followed { background: #fceef6; color: var(--pink); border-color: var(--pink); }
.li-avatar { border-radius: 10px; }
.li-avatar-link { display: inline-flex; flex-shrink: 0; }

/* directory card */
.li-company-card { padding: 18px 20px; }
.li-company-top { display: flex; align-items: flex-start; gap: 14px; }
.li-company-ident { flex: 1; min-width: 0; }
.li-company-name { display: block; color: var(--text); font-size: 19px; font-weight: 800; letter-spacing: -.03em; }
.li-company-name:hover { color: var(--blue); }
.li-company-tagline { margin: 3px 0 5px; font-size: 13px; font-weight: 700; color: var(--body); }
.li-meta { font-size: 12px; color: var(--muted); line-height: 1.5; }
.li-company-desc { margin: 14px 0 0; font-size: 13px; color: #3a3b41; line-height: 1.6; }
.li-company-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #eef0fb; }
.li-chip-row { display: flex; flex-wrap: wrap; gap: 7px; }
.li-chip { display: inline-flex; align-items: center; background: var(--pale); color: var(--navy-2); border-radius: 999px; padding: 5px 10px; font-size: 11px; font-weight: 700; }
a.li-chip:hover { background: var(--blue); color: #fff; }
.li-card-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #eef0fb; }

/* job card */
.li-job-list { display: flex; flex-direction: column; gap: 0; }
.li-job-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid #eef0fb;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 0;
  position: relative;
}
.li-job-card:first-child { padding-top: 4px; }
.li-job-card:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.li-job-card.compact { padding: 14px 0; }
.li-job-card.compact:first-child { padding-top: 2px; }
.li-job-card.compact:last-child { padding-bottom: 0; }
.li-job-card .li-avatar-link {
  display: inline-flex;
  flex-shrink: 0;
  align-self: flex-start;
}
.li-job-card .li-avatar {
  border-radius: 8px;
  border: 1px solid #eef0fb;
  background: #ffffff;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.li-job-card .li-avatar img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.li-job-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 84px;
}
.li-job-card.compact .li-job-body {
  min-height: 80px;
}
.li-job-title { display: block; color: var(--navy-2, #04003f); font-size: 16px; font-weight: 800; line-height: 1.3; }
.li-job-title:hover { color: var(--blue, #244fe7); }
.li-job-card.compact .li-job-title { font-size: 15px; font-weight: 800; line-height: 1.3; }
.li-job-company { display: block; color: var(--blue, #244fe7); font-size: 13px; font-weight: 700; margin-top: 2px; }
.li-meta { font-size: 12px; color: var(--muted, #64748b); line-height: 1.5; margin-top: 2px; }
.li-job-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
.li-job-tags span { background: var(--pale, #eef3ff); color: var(--navy-2, #04003f); border-radius: 999px; padding: 4px 10px; font-size: 11px; font-weight: 700; }
.li-job-tags .li-applied { display: inline-flex; align-items: center; gap: 4px; background: #e5fff9; color: #007a5a; }
.li-save-btn { margin-left: auto; color: var(--blue); border: 0; background: transparent; padding: 8px; border-radius: 50%; align-self: flex-start; }
.li-save-btn.saved { color: var(--pink); }
.li-save-btn.saved svg { fill: currentColor; }

/* company profile */
.li-cover { position: relative; height: 190px; overflow: hidden; background: linear-gradient(110deg, var(--cover-accent), #4d1096 55%, #07006c); }
.li-cover-art { position: absolute; inset: 0; overflow: hidden; }
.li-cover-art span { position: absolute; border-radius: 50%; background: rgba(255,255,255,.10); }
.li-cover-art span:nth-child(1) { width: 360px; height: 360px; top: -190px; right: -70px; }
.li-cover-art span:nth-child(2) { width: 220px; height: 220px; bottom: -140px; left: 8%; background: rgba(79,226,193,.16); }
.li-cover-art span:nth-child(3) { width: 130px; height: 130px; top: 40px; left: 42%; background: rgba(255,255,255,.07); }
.li-cover-inner { position: relative; z-index: 1; padding-top: 24px; }
.li-cover .breadcrumb, .li-cover .breadcrumb a { color: rgba(255,255,255,.86); }
.li-cover-badge { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; padding: 6px 12px; color: #fff; font-size: 11px; font-weight: 800; }
.li-profile-wrap { background: #f4f5f7; padding-bottom: 0; }
.li-profile-card { position: relative; margin-top: -70px; padding: 22px 24px; }
.li-profile-top { display: grid; grid-template-columns: 100px minmax(0, 1fr) auto; gap: 20px; align-items: center; }
.li-profile-logo { border: 4px solid #fff; border-radius: 14px; box-shadow: var(--shadow); }
.li-profile-ident h1 { font-size: 30px; margin: 0 0 4px; }
.li-profile-tagline { margin: 0 0 8px; font-size: 15px; font-weight: 700; color: var(--body); }
.li-profile-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.li-tabs { display: flex; gap: 4px; margin-top: 18px; border-bottom: 1px solid var(--border); overflow-x: auto; }
.li-tab { display: inline-flex; align-items: center; gap: 5px; padding: 12px 16px; border-bottom: 3px solid transparent; color: var(--body); font-size: 13px; font-weight: 800; white-space: nowrap; }
.li-tab:hover, .li-tab.active { color: var(--blue); }
.li-tab.active { border-color: var(--blue); }
.li-tab-count { background: var(--pale); color: var(--blue); border-radius: 999px; padding: 2px 7px; font-size: 10px; }
.li-content { background: #f4f5f7; padding: 24px 0 70px; }
.li-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.li-col-main, .li-col-side { display: grid; gap: 16px; min-width: 0; }
.li-side-card h3 { font-size: 16px; margin: 0 0 12px; color: var(--navy-2); }
.li-side-logo { margin-bottom: 10px; }
.li-side-list { display: grid; margin: 0; }
.li-side-list div, .li-detail { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #eef0fb; }
.li-side-list div:last-child, .li-detail:last-child { border-bottom: 0; }
.li-side-list dt { color: var(--muted); font-size: 12px; }
.li-side-list dd { margin: 0; font-size: 12px; font-weight: 700; text-align: right; }
.li-side-card .li-btn { margin-top: 12px; }
.li-similar-list { display: grid; }
.li-similar { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #eef0fb; }
.li-similar:last-child { border-bottom: 0; }
.li-similar strong { display: block; font-size: 13px; color: var(--text); }
.li-similar small { display: block; color: var(--muted); font-size: 11px; }
.li-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; margin: 0; }
.li-detail { display: block; }
.li-detail dt { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.li-detail dd { margin: 5px 0 0; font-size: 13px; font-weight: 600; color: var(--text); }
.li-lead { font-size: 16px; font-weight: 700; color: var(--text); }
.li-team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.li-team { display: flex; align-items: center; gap: 9px; border: none !important; outline: none !important; box-shadow: none !important; background: transparent !important; padding: 12px 6px; color: var(--blue) !important; text-decoration: none; transition: transform .15s ease; }
.li-team:hover, .li-team:focus, .li-team:active, .li-team:focus-visible { border: none !important; outline: none !important; box-shadow: none !important; background: transparent !important; text-decoration: underline; }
.li-team strong { flex: 1; font-size: 13.5px; font-weight: 700; color: var(--blue) !important; }
.li-team span { color: #5480fa !important; font-size: 11.5px; font-weight: 600; }
.li-team .icon { color: var(--blue) !important; }
.li-office-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.li-office { display: flex; align-items: flex-start; gap: 10px; border: 1px solid var(--border); border-radius: 8px; padding: 14px; }
.li-office > .icon { color: var(--blue); margin-top: 2px; }
.li-office strong { display: block; font-size: 13px; }
.li-office span { display: block; color: var(--blue); font-size: 11px; font-weight: 700; }
.li-office small { display: block; color: var(--muted); font-size: 11px; margin-top: 3px; }
.li-culture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.li-culture-grid > div > .icon { color: var(--magenta); }
.li-culture-grid strong { display: block; font-size: 14px; margin: 7px 0 5px; }
.li-culture-grid p { font-size: 12px; color: var(--body); margin: 0; }
.li-perks-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 18px; }
.li-perk { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--body); padding: 6px 0; }
.li-perk .icon { color: #009036; }
.li-post-list { display: grid; gap: 14px; }
.li-post { border: 1px solid var(--border); border-radius: 9px; overflow: hidden; }
.li-post .photo-frame { height: 150px !important; border-radius: 12px; }
.li-post-body { padding: 14px; }
.li-post-title { display: block; font-size: 15px; font-weight: 800; color: var(--text); }
.li-post-title:hover { color: var(--blue); }
.li-post-body p { font-size: 13px; color: var(--body); margin: 6px 0; }
.li-faq { border-bottom: 1px solid #e3e7f7; }
.li-faq:last-child { border-bottom: 0; }
.li-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; font-weight: 800; cursor: pointer; list-style: none; }
.li-faq summary::-webkit-details-marker { display: none; }
.li-faq[open] summary .icon { transform: rotate(180deg); }
.li-faq p { font-size: 13px; color: var(--body); margin: 0 0 14px; }
.li-check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.li-check-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--body); }
.li-check-list .icon { color: #009036; margin-top: 2px; }

/* job detail */
.li-job-hero { background: #f4f5f7; padding: 24px 0 0; }
.li-job-hero .breadcrumb { margin-bottom: 16px; }
.li-job-header { padding: 22px; }
.li-job-header-main { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 18px; align-items: center; }
.li-job-header-info h1 { font-size: 26px; margin: 4px 0 8px; }
.li-job-header-actions { display: flex; align-items: center; gap: 8px; }
.li-apply-form { display: grid; gap: 12px; }
.li-apply-form label { display: grid; gap: 6px; font-size: 12px; font-weight: 800; color: var(--navy-2); }
.li-apply-form textarea { width: 100%; border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; font-size: 14px; outline: 0; resize: vertical; }
.li-apply-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(36,79,231,.12); }
.li-signin p { color: var(--body); font-size: 14px; }
.li-signin .li-btn { margin-bottom: 8px; }
.li-applied-box { display: flex; align-items: flex-start; gap: 12px; background: #e5fff9; color: #007a5a; border-radius: 8px; padding: 14px; }
.li-applied-box strong { display: block; }
.li-applied-box span { display: block; font-size: 13px; margin-top: 2px; }
.li-applied-box a { color: #007a5a; text-decoration: underline; }
.li-company-side-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }

@media (max-width: 900px) {
  .li-grid, .li-profile-top, .li-job-header-main { grid-template-columns: 1fr; }
  .li-profile-actions, .li-job-header-actions { justify-content: flex-start; }
  .li-detail-grid, .li-team-grid, .li-office-grid, .li-culture-grid, .li-perks-grid { grid-template-columns: 1fr; }
  .li-company-top { flex-wrap: wrap; }
  .li-company-card .li-follow-btn { margin-left: auto; }
  .li-col-side { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .li-cover { height: 150px; }
  .li-profile-card { margin-top: -50px; padding: 18px; }
  .li-profile-logo { width: 72px !important; height: 72px !important; font-size: 22px !important; }
  .li-profile-ident h1 { font-size: 26px; }
  .li-tab { padding: 10px 12px; }
  .li-job-card { flex-wrap: wrap; }
  .li-save-btn { margin-left: 0; }
  .li-col-side { grid-template-columns: 1fr; }
  .li-company-foot { flex-direction: column; align-items: flex-start; }
}

/* ---------- home page v2 — distinct editorial layout ---------- */
.home-v2 { background: #f7f9fc; }
.home-v2 .hv2-hero { background: linear-gradient(115deg, #eef3ff 0%, #ffffff 52%, #e9f0ff 100%); border-bottom: 1px solid #dfe5f0; padding: 62px 0 66px; }
.home-v2 .hv2-hero-inner { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); gap: 54px; align-items: center; }
.home-v2 .hv2-eyebrow { display: inline-flex; align-items: center; gap: 7px; color: var(--blue); background: #fff; border: 1px solid #d8e2fb; border-radius: 999px; padding: 7px 13px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.home-v2 .hv2-hero h1 { font-size: clamp(38px, 4.5vw, 60px); color: var(--navy); letter-spacing: -.055em; line-height: 1.06; margin: 22px 0 16px; max-width: 700px; }
.home-v2 .hv2-dot { color: var(--blue-2); }
.home-v2 .hv2-hero-sub { color: var(--body); font-size: 15px; line-height: 1.7; max-width: 620px; margin: 0; font-weight: 500; }
.home-v2 .hv2-search { display: grid; grid-template-columns: 1.45fr 1fr auto; gap: 8px; align-items: center; background: #fff; border: 1px solid #dbe2ef; border-radius: 14px; padding: 9px; margin: 28px 0 16px; box-shadow: 0 10px 28px rgba(4, 0, 63, .07); }
.home-v2 .hv2-search label { display: flex; align-items: center; gap: 9px; padding: 0 12px; border-right: 1px solid #e7ebf4; color: var(--muted); min-height: 42px; }
.home-v2 .hv2-search input { border: 0; outline: 0; width: 100%; font-size: 14px; font-weight: 600; color: var(--navy); background: transparent; }
.home-v2 .hv2-search input::placeholder { color: #98a0b3; font-weight: 500; }
.home-v2 .hv2-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 9px; padding: 11px 16px; font-size: 12px; font-weight: 800; letter-spacing: .02em; border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.home-v2 .hv2-btn:hover { transform: translateY(-1px); text-decoration: none; }
.home-v2 .hv2-btn-primary { background: var(--blue); color: #fff; box-shadow: 0 5px 14px rgba(36, 79, 231, .22); }
.home-v2 .hv2-btn-primary:hover { background: #1a3fc7; }
.home-v2 .hv2-btn-light { background: #eef3ff; color: var(--blue); border-color: #d8e2fb; padding: 9px 13px; }
.home-v2 .hv2-btn-white { background: #fff; color: var(--blue); }
.home-v2 .hv2-btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .65); }
.home-v2 .hv2-flow { display: flex; flex-wrap: wrap; gap: 8px; }
.home-v2 .hv2-flow-pill { display: inline-flex; align-items: center; gap: 6px; background: #eef1f6; border: 1px solid #dce2ec; color: #58657d; border-radius: 999px; padding: 8px 13px; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.home-v2 .hv2-flow-pill:hover { background: #fff; border-color: #9fb4ef; color: var(--blue); }
.home-v2 .hv2-snapshot { background: #fff; border: 1px solid #dfe5f0; border-radius: 18px; box-shadow: 0 14px 40px rgba(4, 0, 63, .08); padding: 22px; }
.home-v2 .hv2-snapshot-head { display: flex; align-items: center; justify-content: space-between; color: var(--navy); font-size: 13px; font-weight: 800; margin-bottom: 4px; }
.home-v2 .hv2-live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(79, 226, 193, .18); }
.home-v2 .hv2-snapshot-row { display: grid; grid-template-columns: auto 1fr auto auto; gap: 12px; align-items: center; padding: 15px 0; border-bottom: 1px solid #edf0f6; color: var(--navy); }
.home-v2 .hv2-snapshot-row:hover { text-decoration: none; }
.home-v2 .hv2-snapshot-row:hover strong { color: var(--blue); }
.home-v2 .hv2-snapshot-icon { width: 38px; height: 38px; border-radius: 10px; background: #eef3ff; color: var(--blue); display: inline-flex; align-items: center; justify-content: center; }
.home-v2 .hv2-snapshot-row strong { display: block; font-size: 13px; }
.home-v2 .hv2-snapshot-row small { display: block; font-size: 10px; color: var(--muted); margin-top: 2px; font-weight: 600; }
.home-v2 .hv2-snapshot-count { font-size: 22px; font-weight: 800; color: var(--blue); letter-spacing: -.04em; }
.home-v2 .hv2-snapshot-row > .icon { color: #aab3c7; }
.home-v2 .hv2-mentor { margin-top: 17px; padding: 14px; border-radius: 12px; background: #f4f7ff; display: grid; grid-template-columns: auto 1fr auto; gap: 11px; align-items: center; }
.home-v2 .hv2-mentor-icon { width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--blue); display: inline-flex; align-items: center; justify-content: center; }
.home-v2 .hv2-mentor strong { font-size: 12px; display: block; }
.home-v2 .hv2-mentor p { font-size: 10px; color: var(--muted); margin: 2px 0 0; }

.home-v2 .hv2-section { padding: 62px 0; }
.home-v2 .hv2-opportunities { background: #fff; border-top: 1px solid #e5eaf3; border-bottom: 1px solid #e5eaf3; }
.home-v2 .hv2-company-section { background: #f7f9fc; }
.home-v2 .hv2-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; margin-bottom: 22px; }
.home-v2 .hv2-section-kicker { color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.home-v2 .hv2-section-head h2 { font-size: clamp(26px, 3vw, 38px); color: var(--navy); margin: 7px 0 8px; letter-spacing: -.045em; }
.home-v2 .hv2-section-head p { color: var(--body); font-size: 13px; line-height: 1.6; margin: 0; max-width: 680px; }
.home-v2 .hv2-text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-size: 12px; font-weight: 800; white-space: nowrap; }
.home-v2 .hv2-text-link:hover { text-decoration: underline; }
.home-v2 .hv2-filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; }
.home-v2 .hv2-filter { background: #eef1f6; border: 1px solid #dce2ec; color: #5b6780; border-radius: 999px; padding: 8px 14px; font-size: 11px; font-weight: 700; }
.home-v2 .hv2-filter:hover { background: #fff; border-color: #9fb4ef; color: var(--blue); }
.home-v2 .hv2-filter.active { background: #fff; border-color: #9fb4ef; color: var(--blue); box-shadow: inset 0 0 0 1px rgba(36, 79, 231, .08); }
.home-v2 .hv2-filter-note { margin-left: auto; color: var(--muted); font-size: 11px; }

.home-v2 .hv2-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.home-v2 .hv2-news-card { background: #fff; border: 1px solid #dfe5f0; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 18px rgba(4, 0, 63, .05); display: flex; flex-direction: column; }
.home-v2 .hv2-news-visual { position: relative; height: 138px; display: block; background: linear-gradient(135deg, var(--hv2-accent), #244fe7); overflow: hidden; }
.home-v2 .hv2-news-visual::before { content: ""; position: absolute; width: 190px; height: 190px; border-radius: 50%; background: rgba(255, 255, 255, .14); top: -80px; right: -40px; }
.home-v2 .hv2-news-visual::after { content: ""; position: absolute; width: 130px; height: 130px; border-radius: 50%; border: 18px solid rgba(255, 255, 255, .12); bottom: -70px; left: -30px; }
.home-v2 .hv2-news-badge { position: absolute; top: 12px; left: 12px; z-index: 1; background: rgba(255, 255, 255, .92); color: var(--navy); border-radius: 999px; padding: 5px 10px; font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.home-v2 .hv2-news-glyph { position: absolute; right: 18px; bottom: 14px; z-index: 1; color: #fff; opacity: .88; }
.home-v2 .hv2-news-body { padding: 17px; display: flex; flex-direction: column; flex: 1; }
.home-v2 .hv2-news-kicker { font-size: 9px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 800; }
.home-v2 .hv2-news-body h3 { font-size: 16px; color: var(--navy); margin: 8px 0 8px; line-height: 1.32; }
.home-v2 .hv2-news-body h3 a { color: inherit; }
.home-v2 .hv2-news-body h3 a:hover { color: var(--blue); }
.home-v2 .hv2-news-body p { font-size: 12px; color: var(--body); line-height: 1.6; margin: 0 0 15px; flex: 1; }
.home-v2 .hv2-news-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid #edf0f6; padding-top: 11px; font-size: 10px; color: var(--muted); }
.home-v2 .hv2-news-foot a { display: inline-flex; align-items: center; gap: 4px; color: var(--blue); font-weight: 800; }

.home-v2 .hv2-job-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.home-v2 .hv2-job-card { background: #fff; border: 1px solid #dfe5f0; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 4px 18px rgba(4, 0, 63, .05); }
.home-v2 .hv2-job-visual { position: relative; aspect-ratio: 1 / 1; background: linear-gradient(140deg, var(--hv2-accent), #244fe7 78%); overflow: hidden; }
.home-v2 .hv2-visual-kicker { position: absolute; top: 14px; left: 14px; z-index: 2; background: rgba(255, 255, 255, .92); color: var(--navy); border-radius: 999px; padding: 5px 10px; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.home-v2 .hv2-visual-logo { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2; width: 88px; height: 88px; border-radius: 20px; display: inline-flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 800; background: var(--logo-bg); color: var(--logo-fg); box-shadow: 0 14px 30px rgba(4, 0, 63, .22); }
.home-v2 .hv2-visual-shape { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.home-v2 .hv2-visual-shape.shape-a { width: 190px; height: 190px; top: -70px; right: -55px; }
.home-v2 .hv2-visual-shape.shape-b { width: 120px; height: 120px; bottom: -50px; left: -30px; border: 16px solid rgba(255, 255, 255, .10); }
.home-v2 .hv2-visual-caption { position: absolute; bottom: 14px; right: 14px; z-index: 2; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 1px 4px rgba(4, 0, 63, .3); }
.home-v2 .hv2-job-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.home-v2 .hv2-job-top { display: flex; justify-content: space-between; gap: 10px; font-size: 9px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 800; }
.home-v2 .hv2-job-company { color: var(--navy); }
.home-v2 .hv2-job-title { font-size: 16px; line-height: 1.3; color: #5480fa; margin: 8px 0 8px; letter-spacing: -.025em; }
.home-v2 .hv2-job-desc { font-size: 11px; color: var(--body); line-height: 1.55; margin: 0 0 11px; }
.home-v2 .hv2-job-meta { display: flex; flex-wrap: wrap; gap: 9px; font-size: 10px; color: var(--muted); margin-bottom: 10px; }
.home-v2 .hv2-job-meta span { display: inline-flex; align-items: center; gap: 4px; }
.home-v2 .hv2-job-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.home-v2 .hv2-chip { background: #eef1f6; border: 1px solid #dce2ec; color: #5b6780; border-radius: 999px; padding: 4px 8px; font-size: 9px; font-weight: 700; }
.home-v2 .hv2-job-details { margin-top: auto; border-top: 1px solid #edf0f6; padding-top: 10px; }
.home-v2 .hv2-job-details summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: flex-end; gap: 5px; color: var(--blue); font-size: 11px; font-weight: 800; }
.home-v2 .hv2-job-details summary::-webkit-details-marker { display: none; }
.home-v2 .hv2-job-details[open] summary .icon { transform: rotate(180deg); }
.home-v2 .hv2-job-detail-body { margin-top: 9px; background: #f7f9fc; border: 1px solid #e7ebf4; border-radius: 8px; padding: 10px; font-size: 10px; color: var(--body); line-height: 1.55; }
.home-v2 .hv2-job-detail-body p { margin: 0 0 8px; }

.home-v2 .hv2-company-grid { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: repeat(2, minmax(180px, auto)); gap: 16px; }
.home-v2 .hv2-company-card { background: #fff; border: 1px solid #dfe5f0; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 18px rgba(4, 0, 63, .05); display: flex; flex-direction: column; }
.home-v2 .hv2-company-card.featured { grid-row: span 2; }
.home-v2 .hv2-company-banner { position: relative; height: 76px; background: linear-gradient(110deg, var(--hv2-accent), #4d1096 72%, #6147d7); overflow: hidden; flex-shrink: 0; }
.home-v2 .hv2-company-card.featured .hv2-company-banner { height: 150px; }
.home-v2 .hv2-company-banner::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; border: 22px solid rgba(255, 255, 255, .10); top: -90px; right: -30px; }
.home-v2 .hv2-company-banner-label { position: absolute; top: 13px; left: 15px; color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; z-index: 1; }
.home-v2 .hv2-company-banner-mark { position: absolute; right: 18px; bottom: 8px; color: rgba(255, 255, 255, .22); font-size: 56px; font-weight: 800; letter-spacing: -.08em; line-height: 1; z-index: 1; }
.home-v2 .hv2-company-card.featured .hv2-company-banner-mark { font-size: 110px; bottom: -8px; }
.home-v2 .hv2-company-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.home-v2 .hv2-company-head { display: flex; align-items: center; gap: 12px; }
.home-v2 .hv2-company-head h3 { font-size: 17px; color: var(--navy); margin: 0 0 3px; }
.home-v2 .hv2-company-head h3 a { color: inherit; }
.home-v2 .hv2-company-head h3 a:hover { color: var(--blue); }
.home-v2 .hv2-company-head span { font-size: 10px; color: var(--muted); }
.home-v2 .hv2-company-body > p { font-size: 12px; color: var(--body); line-height: 1.6; margin: 12px 0; flex: 1; }
.home-v2 .hv2-company-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.home-v2 .hv2-company-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid #edf0f6; padding-top: 11px; }
.home-v2 .hv2-company-foot strong { font-size: 11px; color: var(--blue); }

.home-v2 .hv2-stats { background: #fff; border-top: 1px solid #e5eaf3; border-bottom: 1px solid #e5eaf3; padding: 34px 0; }
.home-v2 .hv2-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.home-v2 .hv2-stats-grid > div + div { border-left: 1px solid #e5eaf3; }
.home-v2 .hv2-stats-grid strong { display: block; font-size: 32px; color: var(--blue); letter-spacing: -.05em; }
.home-v2 .hv2-stats-grid span { font-size: 11px; color: var(--muted); font-weight: 700; }
.home-v2 .hv2-category-section { padding-bottom: 68px; }
.home-v2 .hv2-category-cloud { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 4px; }
.home-v2 .hv2-cta { background: linear-gradient(105deg, #244fe7, #5480fa 62%, #6147d7); color: #fff; padding: 44px 0; }
.home-v2 .hv2-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.home-v2 .hv2-cta h2 { font-size: 28px; margin: 0 0 8px; }
.home-v2 .hv2-cta p { color: rgba(255, 255, 255, .84); font-size: 13px; margin: 0; max-width: 680px; }
.home-v2 .hv2-cta-actions { display: flex; gap: 10px; flex-shrink: 0; }

@media (max-width: 1000px) {
  .home-v2 .hv2-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .home-v2 .hv2-news-grid, .home-v2 .hv2-job-grid { grid-template-columns: repeat(2, 1fr); }
  .home-v2 .hv2-company-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .home-v2 .hv2-company-card.featured { grid-row: auto; }
  .home-v2 .hv2-company-card.featured .hv2-company-banner { height: 100px; }
  .home-v2 .hv2-snapshot { max-width: 620px; }
}
@media (max-width: 620px) {
  .home-v2 .hv2-hero { padding: 42px 0 48px; }
  .home-v2 .hv2-hero h1 { font-size: 36px; }
  .home-v2 .hv2-search { grid-template-columns: 1fr; }
  .home-v2 .hv2-search label { border-right: 0; border-bottom: 1px solid #e7ebf4; padding: 10px 12px; }
  .home-v2 .hv2-search .hv2-btn { width: 100%; }
  .home-v2 .hv2-section { padding: 46px 0; }
  .home-v2 .hv2-section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .home-v2 .hv2-filter-note { margin-left: 0; width: 100%; }
  .home-v2 .hv2-news-grid, .home-v2 .hv2-job-grid { grid-template-columns: 1fr; }
  .home-v2 .hv2-job-visual { aspect-ratio: 16 / 10; }
  .home-v2 .hv2-visual-logo { width: 72px; height: 72px; font-size: 23px; }
  .home-v2 .hv2-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .home-v2 .hv2-stats-grid > div + div { border-left: 0; }
  .home-v2 .hv2-cta-inner { flex-direction: column; align-items: flex-start; }
  .home-v2 .hv2-cta-actions { flex-wrap: wrap; }
  .home-v2 .hv2-snapshot-row { grid-template-columns: auto 1fr auto; }
  .home-v2 .hv2-snapshot-row > .icon { display: none; }
  .home-v2 .hv2-mentor { grid-template-columns: auto 1fr; }
  .home-v2 .hv2-mentor .hv2-btn { grid-column: 1 / -1; width: 100%; }
}

/* ==========================================================================
   USER DESIGN RULE:
   "all button with color on text instead of black, never add color behind,
    and never have border too"
   ========================================================================== */

/* 1. Universal Focus Reset: Prevent any black focus outline/border on click or focus */
button:focus,
button:focus-visible,
a:focus,
a:focus-visible,
input[type="button"]:focus,
input[type="submit"]:focus,
.btn:focus,
.btn:focus-visible,
.li-btn:focus,
.li-btn:focus-visible,
.team-card:focus,
.team-card:focus-visible,
.li-team:focus,
.li-team:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
  border-color: transparent !important;
}

/* 2. Button Styling: Colored text, transparent background, zero border */
button,
.btn,
.btn-primary,
.btn-outline,
.btn-blue,
.btn-magenta,
.btn-white,
.li-btn,
.li-btn-primary,
.li-btn-outline,
.li-btn-subtle,
.li-follow-btn,
.team-card,
.li-team,
.btn-builtin-apply,
.btn-builtin-save,
.btn-builtin-share,
.filter-pill {
  color: var(--blue, #244fe7) !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* 3. Button Hover / Active: Remains transparent, no border, subtle hover text color */
button:hover, button:active,
.btn:hover, .btn:active,
.btn-primary:hover, .btn-primary:active,
.btn-outline:hover, .btn-outline:active,
.btn-blue:hover, .btn-blue:active,
.btn-magenta:hover, .btn-magenta:active,
.li-btn:hover, .li-btn:active,
.li-btn-primary:hover, .li-btn-primary:active,
.li-btn-outline:hover, .li-btn-outline:active,
.li-btn-subtle:hover, .li-btn-subtle:active,
.li-follow-btn:hover, .li-follow-btn:active,
.team-card:hover, .team-card:active,
.li-team:hover, .li-team:active,
.btn-builtin-apply:hover, .btn-builtin-apply:active,
.btn-builtin-save:hover, .btn-builtin-save:active,
.btn-builtin-share:hover, .btn-builtin-share:active,
.filter-pill:hover, .filter-pill:active {
  color: var(--blue-hover, #004182) !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  text-decoration: underline !important;
}

/* 4. Child Elements inside Buttons inherit color */
button span,
button strong,
button i,
button svg,
.btn span,
.btn strong,
.btn i,
.btn svg,
.li-btn span,
.li-btn strong,
.li-btn i,
.li-btn svg,
.btn-builtin-apply span,
.btn-builtin-apply i,
.btn-builtin-save span,
.btn-builtin-save i,
.btn-builtin-share span,
.btn-builtin-share i {
  color: inherit !important;
  stroke: currentColor !important;
}

/* 5. Header Action Buttons (readable over dark navy site header) */
.site-header .btn,
.site-header .employer-btn,
.site-header a.employer-btn {
  font-size: 11.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em !important;
  color: #ffffff !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  white-space: nowrap !important;
}

.site-header .btn:hover,
.site-header .employer-btn:hover {
  color: #ffffff !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  text-decoration: underline !important;
}

/* === BUILTIN CLONE HOME STYLES EMBEDDED === */

/* Container Layout */
.container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* ==========================================================================
   HOME SHOWCASE & EDITORIAL PORTAL STYLES
   Directly derived from C:\Users\DELL\Downloads\Builtin-Clone\Builtin-Clone
   ========================================================================== */

/* Sub-Navigation Bar */
.home-subnav-bar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
}
.home-subnav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  gap: 16px;
  overflow-x: auto;
}
.home-subnav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}
.subnav-item {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-2, #07006c);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.subnav-item:hover,
.subnav-item.active {
  color: var(--blue, #244fe7);
  border-bottom-color: var(--blue, #244fe7);
}
.home-subnav-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}
.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #10b981;
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
  animation: pulse 2s infinite;
}
.subnav-explore-btn {
  font-size: 12px;
  font-weight: 800;
  color: var(--blue, #244fe7) !important;
  text-decoration: none;
  background: transparent !important;
  border: none !important;
}
.subnav-explore-btn:hover {
  text-decoration: underline;
}

/* Section Common Headers */
.editorial-sec-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid #0f172a;
  margin-bottom: 18px;
}
.editorial-sec-title {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0f172a;
}
.editorial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue, #244fe7);
}

/* Editorial Showcase 12-Col Grid */
.home-editorial-section {
  padding: 28px 0 36px;
}
.editorial-grid-12 {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 32px;
  align-items: start;
}

/* Left 8 Cols (Today's Picks) */
.todays-picks-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: stretch;
}
.article-lead-card {
  display: flex;
  flex-direction: column;
  padding-top: 2px;
  height: 100%;
}
.article-lead-img-wrap {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  margin-bottom: 22px;
  background: #0f172a;
  aspect-ratio: 16 / 10;
  min-height: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.article-lead-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.article-lead-card:hover .article-lead-img-wrap img {
  transform: scale(1.02);
}
.article-lead-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.article-kicker {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue, #244fe7);
  margin-bottom: 6px;
}
.article-lead-card .article-kicker {
  margin-top: 4px;
  margin-bottom: 8px;
}
.article-lead-title {
  font-size: 21px;
  font-weight: 900;
  line-height: 1.28;
  color: #0f172a;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.article-lead-title a {
  color: inherit;
  text-decoration: none;
}
.article-lead-title a:hover {
  color: var(--blue, #244fe7);
}
.article-lead-excerpt {
  font-size: 13.5px;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 16px;
}
.article-author-tag {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-top: auto;
}
.article-lead-card .article-author-tag {
  margin-top: auto;
}

/* Stacked Stories in Today's Picks */
.todays-picks-stacked {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.stacked-story {
  display: flex;
  flex-direction: column;
}
.stacked-story + .stacked-story {
  padding-top: 18px;
  border-top: 1px solid #e2e8f0;
}
.stacked-img-wrap {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  margin-bottom: 10px;
  aspect-ratio: 16 / 10;
  background: #f1f5f9;
}
.stacked-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.stacked-story:hover .stacked-img-wrap img {
  transform: scale(1.03);
}
.stacked-title {
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.35;
  color: #0f172a;
  margin: 0 0 8px;
}
.stacked-title a {
  color: inherit;
  text-decoration: none;
}
.stacked-title a:hover {
  color: var(--blue, #244fe7);
}

/* Right 4 Cols (Most Recent) */
.most-recent-list {
  display: flex;
  flex-direction: column;
}
.recent-row-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid #e2e8f0;
  text-decoration: none;
}
.recent-row-item:first-child {
  padding-top: 0;
}
.recent-row-item:last-child {
  border-bottom: none;
}
.recent-row-left {
  flex: 1;
  min-width: 0;
}
.recent-row-title {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
  margin: 4px 0 6px;
  transition: color 0.15s ease;
}
.recent-row-item:hover .recent-row-title {
  color: var(--blue, #244fe7);
}
.recent-thumb-img {
  width: 96px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

/* ==========================================================================
   Section 3: Best Tech & Engineering Jobs (3x3 Grid)
   ========================================================================== */
.home-best-jobs-section {
  padding: 32px 0 40px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}
.best-jobs-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 12px;
}
.best-jobs-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.best-jobs-title {
  font-size: 22px;
  font-weight: 900;
  color: #0f172a;
  margin: 0;
}
.flame-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fee2e2;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
}
.best-jobs-grid-3x3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.best-job-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
}
.best-job-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}
.best-job-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.best-job-logo {
  width: 80px !important;
  height: 80px !important;
  border-radius: 12px !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  padding: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
}
.best-job-role-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin: 0 0 3px;
  transition: color 0.15s ease;
}
.best-job-card:hover .best-job-role-title {
  color: var(--blue, #244fe7);
}
.best-job-company-name {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}
.best-job-salary {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--blue, #244fe7);
  margin: 10px 0 12px;
}
.best-job-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}
.best-job-pill {
  font-size: 11px;
  font-weight: 700;
  color: #475569;
}
.best-job-action {
  font-size: 12px;
  font-weight: 800;
  color: var(--blue, #244fe7) !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
}

/* ==========================================================================
   Section 4: Split Company Directory & Featured Poster
   ========================================================================== */
.home-split-directory-section {
  padding: 44px 0;
}
.split-dir-grid {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 28px;
  align-items: stretch;
}
.poster-card-wrap {
  border-radius: 12px;
  overflow: hidden;
  background: #09005f;
  display: block;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(9, 0, 95, 0.12);
  transition: transform 0.2s ease;
  height: 100%;
}
.poster-card-wrap:hover {
  transform: translateY(-2px);
}
.poster-card-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.dir-content-wrap {
  display: flex;
  flex-direction: column;
}
.dir-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}
.dir-header-title-box {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dir-header-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #eff6ff;
  color: var(--blue, #244fe7);
  display: flex;
  align-items: center;
  justify-content: center;
}
.dir-title {
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
  margin: 0;
}
.dir-subtitle {
  font-size: 12px;
  color: #64748b;
  margin: 2px 0 0;
}
.dir-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.dir-input-wrap {
  flex: 1;
  min-width: 200px;
  position: relative;
}
.dir-input-wrap input {
  width: 100%;
  padding: 8px 12px 8px 32px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 12.5px;
  outline: none;
}
.dir-input-wrap input:focus {
  border-color: var(--blue, #244fe7);
}
.dir-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
}
.dir-select {
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 12.5px;
  background: #ffffff;
  color: #0f172a;
  outline: none;
}
.dir-count-pill {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue, #244fe7);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 2px 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
}
.dir-companies-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 520px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f8fafc;
}
.dir-companies-list::-webkit-scrollbar {
  width: 6px;
}
.dir-companies-list::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 8px;
}
.dir-companies-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.dir-companies-list::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
.dir-scroll-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: #64748b;
  padding: 8px 4px 0;
  margin-top: 6px;
  border-top: 1px dashed #e2e8f0;
}
.dir-company-row {
  background: #ffffff;
  border: none !important;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.dir-company-row:hover {
  background: #f8fafc !important;
  border-color: transparent !important;
}
.dir-company-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.dir-logo-box {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.dir-comp-name {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
}
.dir-comp-tagline {
  font-size: 11.5px;
  color: #64748b;
  margin: 2px 0 4px;
}
.dir-comp-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.dir-tag-pill {
  font-size: 10.5px;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 4px;
}
.dir-company-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.dir-roles-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.dir-badge-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 7px;
  border-radius: 9999px;
  border: 1.5px solid #244fe7;
  background: transparent !important;
  color: #244fe7 !important;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  box-sizing: border-box;
}
.dir-roles-label {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}
.dir-jobs-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #dcfce7 !important;
  color: #166534 !important;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px !important;
  border-radius: 9999px !important;
  white-space: nowrap;
}
.dir-view-btn {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--blue, #244fe7) !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.dir-view-btn:hover {
  text-decoration: underline !important;
}

/* ==========================================================================
   Section 5: Latest Opportunities Carousel
   ========================================================================== */
.home-opportunities-section {
  padding: 36px 0 48px;
}
.opp-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.opp-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 6px;
  border-bottom: 2px solid #0f172a;
}
.opp-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.opp-arrow-btn {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue, #244fe7) !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
}
.opp-arrow-btn:hover {
  color: #004182 !important;
  transform: scale(1.1);
}
.opp-carousel-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.opp-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.opp-card:hover {
  transform: translateY(-2px);
  border-color: var(--blue, #244fe7);
}
.opp-card-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0f172a;
  position: relative;
}
.opp-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.opp-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.opp-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.opp-company-logo {
  width: 64px !important;
  height: 64px !important;
  border-radius: 10px !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  padding: 5px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
}
.opp-company-name {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 4px;
}
.opp-job-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin: 0 0 10px;
}
.opp-job-title a {
  color: inherit;
  text-decoration: none;
}
.opp-job-title a:hover {
  color: var(--blue, #244fe7);
}
.opp-card-meta {
  font-size: 11.5px;
  color: #64748b;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.opp-salary-badge {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 14px;
}
.opp-apply-btn {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--blue, #244fe7) !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}
.opp-apply-btn:hover {
  text-decoration: underline !important;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 860px) {
  .editorial-grid-12 {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .split-dir-grid {
    grid-template-columns: 1fr;
  }
  .poster-card-wrap {
    max-height: 240px;
  }
  .best-jobs-grid-3x3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .opp-carousel-track {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .todays-picks-layout {
    grid-template-columns: 1fr;
  }
  .article-lead-img-wrap {
    aspect-ratio: 16 / 10;
    min-height: auto;
    margin-bottom: 16px;
  }
  .best-jobs-grid-3x3 {
    grid-template-columns: 1fr;
  }
  .opp-carousel-track {
    grid-template-columns: 1fr;
  }
  .dir-company-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .dir-company-right {
    width: 100%;
    justify-content: space-between;
  }
}


/* ==========================================================================
   USER STRICT DESIGN RULE:
   - ALL BUTTONS WITH COLOR ON TEXT INSTEAD OF BLACK
   - NEVER ADD COLOR BEHIND (BACKGROUND: TRANSPARENT)
   - NEVER HAVE BORDER (BORDER: NONE)
   ========================================================================== */
.subnav-item,
.subnav-explore-btn,
.best-job-action,
.dir-view-btn,
.opp-apply-btn,
.opp-arrow-btn,
.flame-pill {
  color: #244fe7 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.subnav-item:hover,
.subnav-item.active,
.subnav-explore-btn:hover,
.best-job-action:hover,
.dir-view-btn:hover,
.opp-apply-btn:hover,
.opp-arrow-btn:hover {
  color: #1d4ed8 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  text-decoration: underline !important;
}

.subnav-item.active {
  border-bottom: 2px solid #244fe7 !important;
  border-radius: 0 !important;
  text-decoration: none !important;
}


/* ==========================================================================
   ARTICLE EDITORIAL PAGE (BBC & BUILT IN STANDARD)
   ========================================================================== */
.article-detail-page-container {
  background: #ffffff;
  min-height: 100vh;
  padding-bottom: 80px;
}
.article-breadcrumb-bar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 0;
}
.article-breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #64748b;
  flex-wrap: wrap;
}
.article-breadcrumb-inner a {
  color: #07006c;
  text-decoration: none;
  font-weight: 600;
}
.article-breadcrumb-inner a:hover {
  color: #244fe7;
  text-decoration: underline;
}
.crumb-sep {
  color: #cbd5e1;
}
.crumb-current {
  color: #1e293b;
  font-weight: 600;
  max-width: 480px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.editorial-canvas-wrapper {
  padding: 36px 0 60px;
}
.editorial-narrow-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.editorial-kicker-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.editorial-kicker-pill {
  color: #ffffff;
  background: #0f172a;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.editorial-topic-text {
  font-size: 12.5px;
  font-weight: 700;
  color: #244fe7;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.editorial-star-headline {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.25;
  color: #0f172a;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  font-family: var(--font-montserrat, var(--font-display));
}
.editorial-excerpt-lead {
  font-size: 18px;
  line-height: 1.6;
  color: #334155;
  font-weight: 500;
  margin: 0 0 24px;
  border-left: 3px solid #244fe7;
  padding-left: 16px;
}

/* Byline Bar */
.editorial-byline-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 24px;
}
.byline-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.byline-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e2e8f0;
}
.byline-author-name {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}
.byline-sub-role {
  font-size: 12px;
  color: #64748b;
}
.byline-right-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: #64748b;
  flex-wrap: wrap;
}
.byline-timestamp {
  display: flex;
  align-items: center;
  gap: 6px;
}
.byline-read-time {
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 700;
  color: #334155;
}

/* Social Share Bar */
.editorial-share-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}
.share-links-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.share-btn {
  font-size: 12.5px;
  font-weight: 700;
  color: #244fe7 !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
}
.share-btn:hover {
  color: #003366 !important;
  text-decoration: underline;
}

/* Hero Media Figure */
.editorial-hero-figure {
  margin: 0 0 32px 0;
}
.editorial-hero-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 18px;
  background: #0f172a;
  display: block;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.editorial-hero-caption {
  font-size: 12.5px;
  color: #64748b;
  margin-top: 10px;
  font-style: italic;
  line-height: 1.5;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 12px;
}

/* Story Narrative Body */
.editorial-story-body {
  margin-bottom: 48px;
}
.editorial-subheading {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 36px 0 16px;
  line-height: 1.35;
  letter-spacing: -0.015em;
  font-family: var(--font-montserrat, var(--font-display));
}
.editorial-lead-para {
  font-size: 18px;
  line-height: 1.8;
  color: #1e293b;
  font-weight: 600;
  margin-bottom: 20px;
}
.editorial-para {
  font-size: 16.5px;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 20px;
}

/* Rich WYSIWYG Editor Content Rendering */
.editorial-story-body p {
  font-size: 16.5px;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 20px;
}
.editorial-story-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  margin: 18px 0;
  display: block;
}
.editorial-story-body img[align="left"],
.editorial-story-body img[style*="float: left"],
.editorial-story-body img[style*="float:left"] {
  float: left;
  margin: 4px 24px 20px 0;
}
.editorial-story-body img[align="right"],
.editorial-story-body img[style*="float: right"],
.editorial-story-body img[style*="float:right"] {
  float: right;
  margin: 4px 0 20px 24px;
}
.editorial-story-body img[style*="margin-left: auto"][style*="margin-right: auto"] {
  margin-left: auto;
  margin-right: auto;
  display: block;
}
.editorial-story-body mark,
.editorial-story-body span[style*="background-color"] {
  border-radius: 4px;
  padding: 2px 6px;
  font-weight: 500;
}
.editorial-story-body ul, .editorial-story-body ol {
  padding-left: 28px;
  margin-bottom: 24px;
  color: #334155;
  font-size: 16.5px;
  line-height: 1.8;
}
.editorial-story-body li {
  margin-bottom: 8px;
}
.editorial-story-body blockquote {
  border-left: 4px solid #3874ff;
  padding: 14px 22px;
  margin: 28px 0;
  background: #f0f7ff;
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: #1e3a8a;
  font-size: 17px;
  line-height: 1.7;
}
.editorial-story-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 15px;
}
.editorial-story-body th, .editorial-story-body td {
  border: 1px solid #e2e8f0;
  padding: 12px 16px;
  text-align: left;
}
.editorial-story-body th {
  background: #f8fafc;
  font-weight: 700;
  color: #0f172a;
}

/* Inline Figures Interspersed (BBC Style) */
.editorial-inline-figure {
  margin: 32px 0;
}
.editorial-inline-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 440px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}
.editorial-inline-caption {
  font-size: 12px;
  color: #64748b;
  margin-top: 8px;
  font-style: italic;
  line-height: 1.45;
}

/* Stat Metrics Panel */
.editorial-stat-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  margin: 36px 0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}
.stat-card-title {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.stat-card-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}
.stat-metric-cell {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
}
.stat-metric-val {
  font-size: 28px;
  font-weight: 900;
  color: #244fe7;
  line-height: 1.1;
  margin-bottom: 4px;
}
.stat-metric-lbl {
  font-size: 12.5px;
  font-weight: 600;
  color: #64748b;
  line-height: 1.35;
}

/* Pullquote Box */
.editorial-quote-box {
  background: #f8fafc;
  border-left: 4px solid #244fe7;
  border-radius: 0 14px 14px 0;
  margin: 36px 0;
  padding: 24px 28px;
  position: relative;
}
.editorial-quote-decor {
  font-size: 54px;
  line-height: 1;
  color: #cbd5e1;
  font-family: Georgia, serif;
  position: absolute;
  top: 10px;
  right: 20px;
}
.editorial-quote-p {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
  color: #0f172a;
  margin: 0 0 10px;
  font-style: italic;
}
.editorial-quote-cite {
  font-size: 12.5px;
  font-weight: 700;
  color: #244fe7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
}

/* Tags Strip */
.editorial-tags-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  margin: 32px 0;
}
.tags-label {
  font-size: 12.5px;
  font-weight: 800;
  color: #0f172a;
  margin-right: 6px;
}
.tag-pill-link {
  font-size: 12px;
  font-weight: 700;
  color: #244fe7 !important;
  background: transparent !important;
  border: none !important;
  text-decoration: none;
}
.tag-pill-link:hover {
  text-decoration: underline;
}

/* Sources Footnote */
.editorial-sources-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px 20px;
  margin: 28px 0;
  font-size: 12px;
  color: #475569;
  line-height: 1.55;
}
.sources-header {
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Author Bio Card */
.editorial-author-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  margin: 36px 0;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.author-card-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.author-card-name {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px;
}
.author-card-role {
  font-size: 12.5px;
  font-weight: 700;
  color: #244fe7;
  margin: 0 0 6px;
}
.author-card-bio {
  font-size: 13px;
  line-height: 1.55;
  color: #475569;
  margin: 0;
}

/* Bottom Curated & Trending Reading Section */
.editorial-bottom-related-section {
  border-top: 2px solid #0f172a;
  margin-top: 56px;
  padding-top: 40px;
}
.related-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
}
.related-eyebrow {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #244fe7;
  display: block;
  margin-bottom: 4px;
}
.related-heading {
  font-size: 24px;
  font-weight: 900;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.02em;
}
.link-all-articles {
  font-size: 13px;
  font-weight: 800;
  color: #244fe7 !important;
  background: transparent !important;
  border: none !important;
  text-decoration: none;
}
.link-all-articles:hover {
  text-decoration: underline;
}

/* 3-Column Highlights Grid */
.related-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.related-article-card {
  display: flex;
  flex-direction: column;
  background: transparent !important;
  border: none !important;
  border-radius: 0;
  box-shadow: none !important;
  overflow: visible;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.related-article-card:hover {
  transform: translateY(-3px);
  box-shadow: none !important;
}
.related-time-row {
  font-family: var(--font-montserrat, var(--font-display));
  font-size: 12px;
  font-weight: 700;
  color: #244fe7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.related-title {
  font-family: var(--font-montserrat, var(--font-display));
  font-size: 18px;
  font-weight: 700;
  color: #001a33;
  line-height: 1.35;
  margin: 0 0 12px 0;
  letter-spacing: -0.2px;
  transition: color 0.15s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-article-card:hover .related-title {
  color: #244fe7;
}
.related-thumb-wrapper {
  position: relative;
  width: 100%;
  height: 250px;
  border-radius: 14px;
  overflow: hidden;
  background: #0f172a;
  margin-bottom: 12px;
}
.related-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.related-article-card:hover .related-thumb {
  transform: scale(1.05);
}
.related-category-pill {
  display: none !important;
}
.related-content {
  padding: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.related-excerpt {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.55;
  margin: 0 0 12px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}

/* Trending Stories List (Bottom of Screenshot) */
.trending-stories-section {
  border-top: 1px solid #e2e8f0;
  padding-top: 36px;
  margin-top: 48px;
}
.trending-section-title {
  font-family: var(--font-montserrat, var(--font-display));
  font-size: 14.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #001a33;
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.trending-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #244fe7;
}
.trending-stories-list {
  display: flex;
  flex-direction: column;
}
.trending-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid #e2e8f0;
  text-decoration: none;
  transition: transform 0.15s ease;
}
.trending-row-item:last-child {
  border-bottom: none;
}
.trending-row-left {
  flex: 1;
  min-width: 0;
}
.trending-time-pill {
  font-family: var(--font-montserrat, var(--font-display));
  font-size: 13px;
  font-weight: 700;
  color: #244fe7;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.trending-title {
  font-family: var(--font-montserrat, var(--font-display));
  font-size: 18.5px;
  font-weight: 700;
  color: #001a33;
  line-height: 1.3;
  margin: 0 0 8px;
  letter-spacing: -0.2px;
  transition: color 0.15s ease;
}
.trending-row-item:hover .trending-title {
  color: #244fe7;
}
.trending-excerpt {
  font-size: 14px;
  line-height: 1.55;
  color: #475569;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.trending-thumb {
  width: 230px;
  height: 145px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.trending-row-item:hover .trending-thumb {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .editorial-star-headline {
    font-size: 26px;
  }
  .related-articles-grid {
    grid-template-columns: 1fr;
  }
  .trending-row-item {
    flex-direction: column-reverse;
  }
  .trending-thumb {
    width: 100%;
    height: 160px;
  }
}


.dir-roles-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.dir-badge-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 7px;
  border-radius: 9999px;
  border: 1.5px solid #244fe7;
  background: transparent !important;
  color: #244fe7 !important;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  box-sizing: border-box;
}
.dir-roles-label {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}
.dir-jobs-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #dcfce7 !important;
  color: #166534 !important;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px !important;
  border-radius: 9999px !important;
  white-space: nowrap;
}

/* ==========================================================================
   STICKY FOOTER LAYOUT (GUARANTEED ACROSS ALL PAGES)
   ========================================================================== */
html {
  height: 100% !important;
  scroll-behavior: smooth;
}

body {
  min-height: 100% !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  margin: 0;
  display: flex !important;
  flex-direction: column !important;
}

#main-content {
  flex: 1 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
}

.site-footer {
  margin-top: auto !important;
  flex-shrink: 0 !important;
  width: 100% !important;
}

/* Also ensure narrow-page and auth-page stretch and center nicely */
.narrow-page,
.narrow-shell #main-content,
.auth-page-shell #main-content {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* ==========================================================================
   ENHANCED SIGN-IN GATE / REQUIRED CARD
   ========================================================================== */
.signin-gate-section {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 20px 72px;
  width: 100%;
  background: radial-gradient(circle at 50% 25%, #f0f4ff 0%, #f8faff 50%, #ffffff 100%);
}

.signin-gate-card {
  max-width: 620px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  padding: 44px 40px 36px !important;
  box-shadow: 0 20px 48px -12px rgba(4, 0, 63, 0.08), 0 2px 6px rgba(0, 0, 0, 0.03) !important;
  position: relative;
  overflow: hidden;
}

.signin-gate-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #244fe7, #aa2fbe, #00d38d);
}

.auth-gate-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.auth-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #eff4ff 0%, #dbeafe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #244fe7;
  box-shadow: 0 8px 24px -4px rgba(36, 79, 231, 0.22), 0 0 0 6px #f6f8fe;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.signin-gate-card:hover .auth-icon-wrap {
  transform: scale(1.06);
}

.auth-gate-shield-svg {
  width: 32px;
  height: 32px;
  color: #244fe7;
}

.auth-gate-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #244fe7;
  background: #eff4ff;
  border: 1px solid #dbeafe;
  padding: 4px 14px;
  border-radius: 999px;
}

.signin-gate-title {
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #04003f;
  margin: 0 0 10px;
  line-height: 1.2;
}

.signin-gate-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto 26px;
}

.signin-gate-perks {
  display: grid;
  gap: 12px;
  text-align: left;
  margin: 0 0 28px;
  background: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: 14px;
  padding: 18px 20px;
}

.gate-perk-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.perk-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #244fe7;
  flex-shrink: 0;
  margin-top: 1px;
}

.perk-text {
  display: flex;
  flex-direction: column;
}

.perk-text strong {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.perk-text span {
  font-size: 12px;
  color: #64748b;
  line-height: 1.45;
  margin-top: 1px;
}

.auth-gate-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 26px;
}

.gate-action-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: #244fe7 !important;
  background: transparent !important;
  border: none !important;
  padding: 6px 4px !important;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.gate-action-btn:hover {
  transform: translateX(3px) !important;
  opacity: 0.82;
}

.auth-gate-sep {
  color: #cbd5e1;
  font-weight: 800;
  font-size: 16px;
}

.gate-demo-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 22px;
  text-align: left;
}

.gate-demo-head {
  margin-bottom: 14px;
}

.gate-demo-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #244fe7;
  display: block;
  margin-bottom: 3px;
}

.gate-demo-head p {
  font-size: 12px;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

.gate-demo-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.gate-demo-form {
  margin: 0;
}

/* User's button rule:
   All button with color on text instead of black,
   NEVER add color behind (transparent background),
   NEVER have border too (zero border). */
.gate-demo-btn {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 10px 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: #244fe7 !important;
  cursor: pointer;
  text-align: left;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.gate-demo-btn:hover {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  transform: translateX(4px) !important;
  opacity: 0.85;
}

.demo-btn-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.demo-role-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #244fe7;
  display: block;
}

.demo-btn-title {
  font-size: 13px;
  font-weight: 700;
  color: #244fe7;
  display: block;
  margin-top: 2px;
}

.demo-arrow {
  color: #244fe7;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.gate-demo-btn:hover .demo-arrow {
  transform: translateX(4px);
}

.gate-demo-credentials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px dashed #e2e8f0;
  font-size: 12px;
  color: #64748b;
}

.creds-label {
  font-weight: 700;
  color: #0f172a;
}

.creds-val {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  color: #334155;
  background: #f1f5f9;
  padding: 2px 7px;
  border-radius: 4px;
}

.creds-dot {
  color: #cbd5e1;
}

@media (max-width: 640px) {
  .signin-gate-card {
    padding: 32px 20px 24px !important;
  }
  .gate-demo-buttons {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .signin-gate-title {
    font-size: 24px;
  }
  .auth-gate-actions {
    flex-direction: column;
    gap: 8px;
  }
  .auth-gate-sep {
    display: none;
  }
}

/* ---------- promo running ticker ---------- */
:root {
  --header-promo-offset: 36px;
}
.promo-running-bar {
  background: #023d77;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  height: 36px;
  max-height: 36px;
  overflow: hidden;
  position: relative;
  z-index: 99;
  transition: opacity 0.5s ease, max-height 0.5s ease, padding 0.5s ease;
}
.promo-running-bar.is-hidden {
  display: none !important;
}
.promo-running-bar.promo-fade-out {
  opacity: 0;
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-top: 0;
  border-bottom: 0;
}
.promo-running-inner {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 24px;
}
.promo-ticker-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}
.promo-ticker-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: promoMarquee 26s linear 2 forwards;
  will-change: transform;
  flex-shrink: 0;
}
.promo-ticker-viewport:hover .promo-ticker-track {
  animation-play-state: paused;
}
@keyframes promoMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
.promo-ticker-text {
  font-size: 13px;
  color: #e5ebff;
  font-weight: 500;
  letter-spacing: 0.015em;
  padding: 0 6px;
}
.promo-ticker-dot {
  color: rgba(255, 255, 255, 0.35);
  font-size: 8px;
  margin: 0 16px;
}

@media (max-width: 860px) {
  :root {
    --header-promo-offset: 32px;
  }
  .promo-running-bar { height: 32px; max-height: 32px; }
  .promo-ticker-text { font-size: 12px; }
}

/* ==========================================================================
   MANDATORY BRAND LOGO STANDARD: 84PX x 84PX, NO BACKGROUND, NO BORDER
   Rule: All company & brand logos default to exactly 84px x 84px (matching
   /jobs) with NO background (transparent) and NO border around the brand.
   ========================================================================== */
.company-logo,
.brand-img-logo,
.li-avatar,
.best-job-logo,
.dir-logo-box,
.opp-company-logo,
.flagship-logo-box,
#hero-logo-box,
.hero-brand-logo,
.cover-logo,
.li-profile-logo,
.li-side-logo,
.spotlight-company-logo,
.company-logo-tile,
.preview-logo-box,
.job-card-logo,
.li-company-card .li-avatar,
.li-company-card .brand-img-logo {
  width: 84px !important;
  height: 84px !important;
  min-width: 84px !important;
  min-height: 84px !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
}

.brand-img-logo,
.company-logo.brand-img-logo,
.company-logo img,
.brand-img-logo img,
.best-job-logo,
.dir-logo-box,
.opp-company-logo,
.flagship-logo-box,
#hero-logo-box,
.hero-brand-logo {
  background: transparent !important;
}

.company-logo img,
.brand-img-logo img,
.li-avatar img,
.best-job-logo img,
.dir-logo-box img,
.opp-company-logo img,
.flagship-logo-box img,
#hero-logo-box img,
.hero-brand-logo img,
.cover-logo img,
.li-profile-logo img,
.li-side-logo img,
.spotlight-company-logo img {
  width: 100% !important;
  height: 100% !important;
  max-width: 84px !important;
  max-height: 84px !important;
  object-fit: contain !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  display: block !important;
}


/* ==========================================================================
   LOGISTIC WAVES BRAND & CIRCLE EMBLEM LOGO
   ========================================================================== */
.brand-logistic-waves {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none !important;
  color: #ffffff !important;
  font-family: var(--font-display) !important;
  font-size: 20px !important;
  letter-spacing: -0.02em !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.brand-circle-emblem-wrap {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  overflow: hidden !important;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.brand-logistic-waves:hover .brand-circle-emblem-wrap {
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(0, 194, 255, 0.45);
  border-color: #00c2ff;
}

.brand-circle-emblem {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
}

.brand-text-lw {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-lw-main {
  font-size: 20px !important;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.brand-lw-accent {
  font-size: 20px !important;
  font-weight: 900;
  color: #00c2ff;
  letter-spacing: -0.01em;
}

/* Footer brand adjustments */
.footer-brand .brand-logistic-waves {
  margin-bottom: 12px;
}
.footer-brand .brand-circle-emblem-wrap {
  width: 44px;
  height: 44px;
}
.footer-brand .brand-lw-main {
  font-size: 19px;
}
.footer-brand .brand-lw-accent {
  font-size: 19px;
}

@media (max-width: 768px) {
  .brand-lw-main,
  .brand-lw-accent {
    font-size: 17px;
  }
  .brand-circle-emblem-wrap {
    width: 40px;
    height: 40px;
  }
}


/* ==========================================================================
   FINAL OVERRIDE: 84PX x 84PX BRAND LOGOS, NO BG, NO BORDER
   ========================================================================== */
.company-logo,
.brand-img-logo,
.li-avatar,
.best-job-logo,
.dir-logo-box,
.opp-company-logo,
.flagship-logo-box,
#hero-logo-box,
.hero-brand-logo,
.cover-logo,
.li-profile-logo,
.li-side-logo,
.spotlight-company-logo,
.li-company-card .li-avatar,
.li-company-card .brand-img-logo {
  width: 84px !important;
  height: 84px !important;
  min-width: 84px !important;
  min-height: 84px !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.brand-img-logo,
.company-logo.brand-img-logo {
  background: transparent !important;
  background-color: transparent !important;
}

.company-logo img,
.brand-img-logo img,
.li-avatar img,
.best-job-logo img,
.dir-logo-box img,
.opp-company-logo img,
.flagship-logo-box img,
#hero-logo-box img,
.hero-brand-logo img,
.cover-logo img,
.li-profile-logo img,
.li-side-logo img,
.spotlight-company-logo img {
  width: 100% !important;
  height: 100% !important;
  max-width: 84px !important;
  max-height: 84px !important;
  object-fit: contain !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Header icon and brand accent contrast on #034f9a */
.site-header .search-trigger,
.site-header .icon-btn {
  color: #ffffff !important;
}
.site-header .search-trigger svg {
  stroke: #ffffff !important;
  color: #ffffff !important;
}
.site-header .brand-lw-accent,
.site-footer .brand-lw-accent {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}
.site-header .brand-lw-main,
.site-footer .brand-lw-main {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}


/* ==========================================================================
   NEW LOGISTICS WAVES BRAND DIAMOND LOGO & #034f9a COLOR SCHEME
   ========================================================================== */
.brand-logistic-waves {
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px !important;
  text-decoration: none !important;
  user-select: none;
  padding: 4px 0;
}

.brand-diamond-wrap {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  min-height: 56px !important;
  flex-shrink: 0 !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease !important;
  filter: drop-shadow(0 4px 12px rgba(2, 132, 199, 0.22)) drop-shadow(0 2px 4px rgba(15, 23, 42, 0.08)) !important;
}

.brand-diamond-logo {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}

.brand-logistic-waves:hover .brand-diamond-wrap {
  transform: scale(1.06) rotate(2deg);
  filter: drop-shadow(0 6px 16px rgba(56, 189, 248, 0.55));
}

.brand-text-lw {
  display: inline-flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 3px !important;
  line-height: 1 !important;
  text-align: left !important;
}

.brand-title-row {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 7px !important;
  line-height: 1.05 !important;
  white-space: nowrap !important;
}

.brand-lw-main {
  font-family: var(--font-display) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: #FFFFFF !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.brand-lw-accent {
  font-family: var(--font-display) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: #FFFFFF !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.brand-sub-row {
  font-family: var(--font-display) !important;
  font-size: 8px !important;
  font-weight: 700 !important;
  letter-spacing: 0.34em !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.88) !important;
  line-height: 1 !important;
  margin-top: 2px !important;
  transition: color 0.2s ease !important;
  white-space: nowrap !important;
}

.brand-logistic-waves:hover .brand-sub-row {
  color: #38bdf8 !important;
}

.footer-brand .brand-logistic-waves {
  margin-bottom: 14px;
}
.footer-brand .brand-diamond-wrap {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
}
.footer-brand .brand-lw-main,
.footer-brand .brand-lw-accent {
  font-size: 19px !important;
}
.footer-brand .brand-sub-row {
  font-size: 8px !important;
}

@media (max-width: 768px) {
  .header-inner {
    height: 70px !important;
  }
  .brand-diamond-wrap {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
  }
  .brand-lw-main, .brand-lw-accent {
    font-size: 17px !important;
  }
  .brand-sub-row {
    font-size: 7.5px !important;
    letter-spacing: 0.28em !important;
  }
}

/* ==========================================================================
/* ==========================================================================
/* ==========================================================================
/* ==========================================================================
/* ==========================================================================
/* ==========================================================================
   AUTHENTIC HEADER + ROUNDED HERO CARD IN SIGNATURE BLUE (#034f9a)
   Matches user reference Image 1: Clean solid header bar on top,
   and rounded rectangle hero card ("fit in rectable") below it.
   ========================================================================== */

/* Make sure the site-header is always displayed with pure solid blue #034f9a */
.site-header {
  background: #034f9a !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  box-shadow: 0 2px 10px rgba(15, 60, 80, 0.15) !important;
}

/* ==========================================================================
   ENTERPRISE LOGISTICS WAVES HERO - SMOKE WHITE + ULTRA HD PHOTOGRAPHY
   ========================================================================== */
.lw-hero-banner-section.smoke-white-hero {
  position: relative !important;
  width: 100% !important;
  background: #f8fafc !important;
  overflow: hidden !important;
  padding: 0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.smoke-white-hero .hero-shell {
  position: relative !important;
  width: 100% !important;
  min-height: 360px !important;
  background: #f8fafc !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  isolation: isolate !important;
  overflow: hidden !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
}

/* 1. Crystal-Clear Ultra-HD Logistics Photograph (Flat Fit Right Frame) */
.smoke-white-hero .hero-photo-hd {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 38% !important;
  z-index: 1 !important;
  background-image: url("/static/images/login_concept_hero_bg.jpg") !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  opacity: 1 !important;
}

.smoke-white-hero .hero-bg-slide {
  position: absolute !important;
  inset: 0 !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  opacity: 0;
  transition: opacity 1.2s ease-in-out !important;
  will-change: opacity;
}

.smoke-white-hero .hero-bg-slide.active {
  opacity: 1 !important;
}

.smoke-white-hero .hero-slide-dots {
  position: absolute;
  right: 28px;
  bottom: 18px;
  z-index: 5;
  display: flex;
  gap: 8px;
  align-items: center;
}

.smoke-white-hero .hero-slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.25);
  transition: width 0.25s ease, background 0.25s ease;
}

.smoke-white-hero .hero-slide-dot.active {
  width: 22px;
  background: #ffffff;
}

/* 2. Seamless Smoke-White Cinematic Gradient Mask */
.smoke-white-hero .hero-smoke-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  background: linear-gradient(
    90deg,
    #f8fafc 0%,
    #f8fafc 38%,
    rgba(248, 250, 252, 0.90) 45%,
    rgba(248, 250, 252, 0.45) 54%,
    rgba(248, 250, 252, 0.08) 64%,
    transparent 74%
  ) !important;
  pointer-events: none !important;
}

/* 3. Hero Inner Container */
.smoke-white-hero .hero-inner-wrap {
  position: relative !important;
  z-index: 3 !important;
  width: min(1360px, 94%) !important;
  max-width: 1360px !important;
  margin: 0 auto !important;
  padding: 38px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

@media (max-width: 860px) {
  .smoke-white-hero .hero-shell {
    min-height: 0 !important;
  }
  .smoke-white-hero .hero-photo-hd {
    left: 0 !important;
  }
  .smoke-white-hero .hero-smoke-overlay {
    background: linear-gradient(
      180deg,
      rgba(248, 250, 252, 0.94) 0%,
      rgba(248, 250, 252, 0.90) 65%,
      rgba(248, 250, 252, 0.78) 100%
    ) !important;
  }
  .smoke-white-hero .hero-inner-wrap {
    padding: 28px 16px !important;
  }
}

/* 4. Left-Aligned Content */
.smoke-white-hero .hero-content {
  max-width: 660px !important;
  text-align: left !important;
}

.hero-eyebrow-smoke {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 6px 14px 6px 12px !important;
  border-radius: 9999px !important;
  background: #eff6ff !important;
  border: 1px solid #bfdbfe !important;
  color: #1d4ed8 !important;
  font-family: var(--font-text) !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  margin-bottom: 20px !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08) !important;
}

.eyebrow-dot-blue {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #2563eb !important;
  display: inline-block !important;
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.6) !important;
}

.hero-headline-smoke {
  font-family: var(--font-text) !important;
  font-size: clamp(38px, 4.2vw, 56px) !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
  color: #0b192c !important;
  letter-spacing: -0.03em !important;
  margin: 0 0 18px 0 !important;
}

.hero-headline-smoke .hero-hl-blue {
  color: #0284c7 !important;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.hero-subtitle-smoke {
  font-family: var(--font-text) !important;
  font-size: 17px !important;
  line-height: 1.65 !important;
  color: #334155 !important;
  font-weight: 500 !important;
  margin: 0 0 32px 0 !important;
  max-width: 580px !important;
}

.smoke-white-hero .hero-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
  align-items: center !important;
  margin-bottom: 32px !important;
}

.smoke-white-hero .hero-btn-primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #0071e3 !important;
  color: #ffffff !important;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", var(--font-text) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.2 !important;
  padding: 11px 22px !important;
  border-radius: 980px !important;
  text-decoration: none !important;
  border: 1px solid #0071e3 !important;
  box-shadow: none !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
  cursor: pointer !important;
}

.smoke-white-hero .hero-btn-primary:hover {
  background: #0077ed !important;
  border-color: #0077ed !important;
  transform: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
}

.smoke-white-hero .hero-btn-secondary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: transparent !important;
  border: 1px solid #0071e3 !important;
  color: #0071e3 !important;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", var(--font-text) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.2 !important;
  padding: 11px 22px !important;
  border-radius: 980px !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
  cursor: pointer !important;
}

.smoke-white-hero .hero-btn-secondary:hover {
  background: #0071e3 !important;
  border-color: #0071e3 !important;
  transform: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
}

.smoke-white-hero .hero-yt-badge {
  background: #ff0000 !important;
  color: #ffffff !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 11px !important;
  flex-shrink: 0 !important;
}

.hero-features-smoke {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 24px !important;
  padding-top: 24px !important;
  border-top: 1px solid #e2e8f0 !important;
  max-width: 620px !important;
}

.feat-item-smoke {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-family: var(--font-text) !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #334155 !important;
}

.feat-item-smoke i {
  color: #0284c7 !important;
  font-size: 15px !important;
}

/* ==========================================================================
   NEW LOGISTICS WAVES DIRECTORY POSTER CARD (REPLACING OLD METFONE POSTER)
   ========================================================================== */
.poster-card-wrap.lw-poster-showcase {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(3, 79, 154, 0.16);
  display: flex;
  flex-direction: column;
  min-height: 520px;
  height: 100%;
  background: #02264d;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.poster-card-wrap.lw-poster-showcase:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(3, 79, 154, 0.25);
}

.lw-poster-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.lw-poster-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transform: scale(1.03);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.poster-card-wrap.lw-poster-showcase:hover .lw-poster-bg-img {
  transform: scale(1.08);
}

.lw-poster-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(3, 79, 154, 0.32) 0%,
    rgba(2, 38, 77, 0.68) 38%,
    rgba(1, 23, 49, 0.94) 75%,
    rgba(1, 15, 33, 0.99) 100%
  );
}

.lw-poster-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 26px 24px;
  box-sizing: border-box;
}

.lw-poster-top {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.lw-poster-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #034f9a;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.lw-poster-top-badge i {
  font-size: 13px;
  color: #034f9a;
}

.lw-poster-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 14px 6px 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.lw-poster-emblem-wrap {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lw-poster-emblem-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lw-poster-brand-text {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.lw-poster-middle {
  margin: auto 0;
  padding: 24px 0 16px;
}

.lw-poster-title {
  font-family: var(--font-display);
  font-size: 29px;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: -0.025em;
  margin: 0 0 12px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.lw-poster-subtitle {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 20px 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.lw-poster-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #ffffff;
  color: #034f9a;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  transition: all 0.2s ease;
  width: fit-content;
}

.lw-poster-cta-btn:hover {
  background: #f0f7ff;
  color: #023366;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.lw-poster-cta-btn i {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.lw-poster-cta-btn:hover i {
  transform: translateX(3px);
}

.lw-poster-social-proof {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.lw-poster-avatars {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.lw-poster-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  object-fit: cover;
  margin-left: -8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.lw-poster-avatar:first-child {
  margin-left: 0;
}

.lw-poster-count-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(3, 79, 154, 0.85);
  backdrop-filter: blur(4px);
  border: 2px solid #ffffff;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  margin-left: -8px;
  letter-spacing: 0.02em;
}

.lw-poster-proof-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  letter-spacing: -0.01em;
}


/* Explicit overrides for images inside .poster-card-wrap */
.poster-card-wrap .lw-poster-emblem-wrap {
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.poster-card-wrap .lw-poster-emblem-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}

.poster-card-wrap .lw-poster-avatars {
  display: flex !important;
  align-items: center !important;
  margin-bottom: 8px !important;
}

.poster-card-wrap .lw-poster-avatar {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  border-radius: 50% !important;
  border: 2px solid #ffffff !important;
  object-fit: cover !important;
  margin-left: -8px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25) !important;
  display: block !important;
  flex-shrink: 0 !important;
}

.poster-card-wrap .lw-poster-avatar:first-child {
  margin-left: 0 !important;
}

.poster-card-wrap .lw-poster-count-pill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 36px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  background: rgba(3, 79, 154, 0.95) !important;
  backdrop-filter: blur(4px) !important;
  border: 2px solid #ffffff !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  margin-left: -8px !important;
  letter-spacing: 0.02em !important;
  flex-shrink: 0 !important;
}

@media (max-width: 860px) {
  .account-layout { grid-template-columns: minmax(0, 1fr); }
  .account-sidebar { position: static; padding: 12px; }
  .account-sidebar-footer { display: none; }
  .account-nav { display: flex; overflow-x: auto; gap: 5px; padding: 10px 0 0; scrollbar-width: none; }
  .account-nav::-webkit-scrollbar { display: none; }
  .account-nav-link { flex: 0 0 auto; padding: 0 10px; }
  .site-header .main-nav, .site-header .header-auth, .site-header .header-sep,
  .site-header .employer-btn, .site-header .user-dropdown,
  .site-header .header-actions > a[href="/admin"] { display: none !important; }
  .site-header .header-actions { gap: 8px !important; }
  .site-header .mobile-menu-btn { display: inline-flex !important; }
}

@media (max-width: 620px) {
  .account-page { padding: 25px 0 42px; }
  .account-page-heading { align-items: flex-start; }
  .account-page-heading > .btn { flex: 0 0 auto; padding: 9px 10px; font-size: 11px; }
  .account-content .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-content .content-card { padding: 16px; }
  .account-welcome { align-items: flex-start; padding: 17px; }
  .account-welcome .btn { padding: 8px; font-size: 10px; white-space: nowrap; }
  .account-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
  .account-nav-link { min-width: 0; }
  .alert-create-form, .employer-job-edit-form, .profile-stat-list { grid-template-columns: minmax(0, 1fr); }
  .employer-job-edit-form .full { grid-column: auto; }
  .employer-job-mark, .employer-job-mark .company-logo { width: 84px !important; height: 84px !important; min-width: 84px !important; min-height: 84px !important; }
  .job-status-badge { align-self: flex-start; }
}


/* ==========================================================================
   SMOKE WHITE HEADER & FOOTER OVERRIDES
   ========================================================================== */
.site-header {
  background: #f8fafc !important;
  color: #0f172a !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05) !important;
}

.site-header .main-nav a {
  color: #334155 !important;
  font-weight: 700 !important;
  font-size: 14.5px !important;
  transition: color 0.18s ease !important;
}

.site-header .main-nav a:hover,
.site-header .main-nav a.active {
  color: #0284c7 !important;
}

.site-header .brand-lw-main {
  color: #0f172a !important;
  font-weight: 900 !important;
  text-shadow: none !important;
}

.site-header .brand-lw-accent {
  color: #0284c7 !important;
  font-weight: 900 !important;
  text-shadow: none !important;
}

.site-header .brand-sub-row {
  color: #64748b !important;
  font-weight: 700 !important;
}

.site-header .search-trigger,
.site-header .icon-btn {
  color: #334155 !important;
}

.site-header .search-trigger svg {
  stroke: #334155 !important;
  color: #334155 !important;
}

.site-header .search-trigger:hover,
.site-header .icon-btn:hover {
  color: #0284c7 !important;
}

.site-header .search-trigger:hover svg {
  stroke: #0284c7 !important;
}

.site-header .header-auth a,
.site-header .header-actions a {
  color: #0f172a !important;
  font-weight: 700 !important;
}

.site-header .employer-btn,
.site-header a.employer-btn {
  background: transparent !important;
  color: #0066cc !important;
  border: 1.5px solid #0066cc !important;
  border-radius: 9999px !important;
  padding: 6px 16px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
  text-transform: none !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.site-header .employer-btn:hover,
.site-header a.employer-btn:hover {
  background: #0066cc !important;
  color: #ffffff !important;
  border-color: #0066cc !important;
  text-decoration: none !important;
}

@media (max-width: 860px) {
  .site-header {
    height: auto !important;
  }
  .site-header .container {
    width: 100% !important;
    padding: 0 14px !important;
  }
  .site-header .header-inner {
    height: 66px !important;
    gap: 10px !important;
  }
  .site-header .main-nav,
  .site-header .header-auth,
  .site-header .header-sep,
  .site-header .employer-btn,
  .site-header a.employer-btn,
  .site-header .user-dropdown,
  .site-header .header-actions > a[href="/admin"] {
    display: none !important;
  }
  .site-header .header-actions {
    gap: 6px !important;
    flex-shrink: 0 !important;
  }
  .site-header .mobile-menu-btn {
    display: inline-flex !important;
  }
}

@media (max-width: 480px) {
  .site-header .brand {
    margin-right: 4px !important;
    min-width: 0 !important;
  }
  .brand-logistic-waves {
    gap: 8px !important;
  }
  .site-header .brand-diamond-wrap {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
  }
  .site-header .brand-lw-main,
  .site-header .brand-lw-accent {
    font-size: 15px !important;
  }
  .site-header .brand-sub-row {
    font-size: 6.5px !important;
    letter-spacing: 0.2em !important;
  }
}

/* Promo Ticker Bar */
.promo-running-bar,
.promo-ticker {
  background: #ffffff !important;
  border-top: 1px solid #0071e3 !important;
  border-bottom: 1px solid #0071e3 !important;
  color: #0071e3 !important;
}

.promo-ticker-text {
  color: #0071e3 !important;
  font-weight: 500 !important;
}

.promo-ticker-dot {
  color: #0071e3 !important;
  opacity: 0.6 !important;
}

/* Smoke White Footer */
.site-footer {
  background: #f8fafc !important;
  color: #1e293b !important;
  border-top: 1px solid #e2e8f0 !important;
  padding: 56px 0 24px !important;
}

.site-footer .brand-lw-main {
  color: #0f172a !important;
  text-shadow: none !important;
}

.site-footer .brand-lw-accent {
  color: #0284c7 !important;
  text-shadow: none !important;
}

.site-footer .brand-sub-row {
  color: #64748b !important;
}

.site-footer p {
  color: #475569 !important;
}

.site-footer h3,
.site-footer h4,
.site-footer .footer-col-title {
  color: #0f172a !important;
  font-weight: 800 !important;
}

.site-footer a {
  color: #64748b !important;
  transition: color 0.18s ease !important;
}

.site-footer a:hover {
  color: #0284c7 !important;
}

.site-footer .footer-social a {
  background: #ffffff !important;
  color: #334155 !important;
  border: 1px solid #e2e8f0 !important;
}

.site-footer .footer-social a:hover {
  background: #0284c7 !important;
  color: #ffffff !important;
  border-color: #0284c7 !important;
}

.site-footer .footer-bottom {
  border-top: 1px solid #e2e8f0 !important;
  color: #64748b !important;
}

.site-footer .footer-bottom a {
  color: #475569 !important;
}

.site-footer .footer-bottom a:hover {
  color: #0284c7 !important;
}


/* ==========================================================================
   2-COLUMN EDITORIAL LAYOUT & RIGHT POPULAR SIDEBAR (User Reference Style)
   ========================================================================== */
.editorial-two-col-container {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 44px !important;
  max-width: 1220px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  box-sizing: border-box !important;
}

.editorial-main-column {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  max-width: 780px !important;
}

.editorial-sidebar-column {
  width: 350px !important;
  min-width: 350px !important;
  max-width: 350px !important;
  position: sticky !important;
  top: 90px !important;
  align-self: flex-start !important;
  flex-shrink: 0 !important;
}

.editorial-category-badge {
  background: #004b87;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-block;
}

/* Audio Player Bar */
.article-audio-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 18px;
  margin: 20px 0 28px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03);
}

.audio-play-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #004b87;
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, transform 0.15s ease;
  font-size: 12px;
}

.audio-play-btn:hover {
  background: #0284c7;
  transform: scale(1.05);
}

.audio-track-wrap {
  flex: 1;
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.audio-track-fill {
  height: 100%;
  background: #0284c7;
  border-radius: 3px;
  transition: width 0.2s ease;
}

.audio-time-label {
  font-family: var(--font-mono, monospace);
  font-size: 11.5px;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.audio-volume-badge {
  color: #64748b;
  font-size: 13px;
  display: flex;
  align-items: center;
}

/* Sidebar Column */
.editorial-sidebar-column {
  min-width: 0;
  position: sticky;
  top: 88px;
  align-self: start;
}

.sidebar-popular-block {
  background: #ffffff;
  border-radius: 12px;
}

.sidebar-popular-header {
  font-family: var(--font-montserrat, var(--font-display));
  font-size: 20px;
  font-weight: 800;
  color: #004b87;
  margin: 0 0 16px 0;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
  border-left: 3.5px solid #004b87;
  padding-left: 10px;
  line-height: 1.2;
}

/* Featured Top Hero Story */
.sidebar-popular-hero {
  display: block;
  text-decoration: none;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
  background: #0f172a;
  position: relative;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.sidebar-popular-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.18);
}

.sidebar-hero-media {
  position: relative;
  width: 100%;
  height: 200px;
}

.sidebar-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sidebar-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 14px 12px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(10, 25, 47, 0.88) 65%, rgba(10, 25, 47, 0.98) 100%);
  color: #ffffff;
}

.sidebar-hero-headline {
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.35;
  color: #ffffff;
  margin: 0 0 6px 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sidebar-hero-date {
  font-size: 11px;
  font-weight: 600;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Sidebar Popular List */
.sidebar-popular-list {
  display: flex;
  flex-direction: column;
}

.sidebar-popular-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 6px;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  transition: background 0.15s ease, padding 0.15s ease;
  border-radius: 6px;
}

.sidebar-popular-item:hover {
  background: #f8fafc;
  padding-left: 10px;
}

.sidebar-item-thumb-wrap {
  width: 96px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  background: #e2e8f0;
  flex-shrink: 0;
}

.sidebar-item-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.sidebar-popular-item:hover .sidebar-item-thumb {
  transform: scale(1.06);
}

.sidebar-item-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 62px;
}

.sidebar-item-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.35;
  margin: 0 0 4px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s ease;
}

.sidebar-popular-item:hover .sidebar-item-title {
  color: #0284c7;
}

.sidebar-item-meta {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 5px;
}

.sidebar-meta-cat {
  color: #004b87;
  font-weight: 700;
}

.sidebar-meta-dot {
  color: #cbd5e1;
}

.sidebar-meta-time {
  color: #64748b;
}

/* Responsive Layout */
@media (max-width: 1024px) {
  .editorial-two-col-container {
    flex-direction: column !important;
    gap: 36px !important;
    padding: 0 16px !important;
  }
  .editorial-main-column {
    max-width: 100% !important;
    width: 100% !important;
  }
  .editorial-sidebar-column {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    position: static !important;
    border-top: 2px solid #e2e8f0 !important;
    padding-top: 28px !important;
    margin-top: 10px !important;
  }
}

/* ==========================================================================
   Section 4: Welcome-to-the-Jungle Style Company Showcase Carousel
   ========================================================================== */
.home-companies-wttj {
  background: #ffffff;
  padding: 0 0 44px;
  border-top: none;
  border-bottom: none;
}
.wttj-tabs-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 26px;
}
.wttj-tabs {
  display: flex;
  align-items: center;
  gap: 26px;
  overflow-x: auto;
  max-width: 100%;
  padding-bottom: 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.wttj-tabs::-webkit-scrollbar {
  display: none;
}
.wttj-tab {
  background: transparent;
  border: none;
  border-bottom: 2.5px solid transparent;
  padding: 6px 2px 10px;
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 500;
  color: #52525b;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.wttj-tab:hover {
  color: #0f172a;
}
.wttj-tab.active {
  color: #0f172a;
  font-weight: 700;
  border-bottom-color: #eab308;
}
.wttj-carousel-shell {
  position: relative;
}
.wttj-carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.wttj-carousel-track::-webkit-scrollbar {
  display: none;
}
.wttj-card {
  flex: 0 0 330px;
  width: 330px;
  min-width: 0;
  background: #ffffff;
  border: 1px solid #e5e4dd;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wttj-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}
.wttj-cover-link {
  display: block;
  width: 100%;
  height: 158px;
  overflow: hidden;
  background: #e2e8f0;
  flex-shrink: 0;
}
.wttj-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}
.wttj-card:hover .wttj-cover-img {
  transform: scale(1.03);
}
.wttj-logo-badge {
  width: 72px;
  height: 72px;
  margin: -38px 0 14px 20px;
  position: relative;
  z-index: 2;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
  flex-shrink: 0;
}
.wttj-logo-badge.has-svg {
  padding: 10px;
}
.wttj-logo-badge img {
  width: 100%;
  height: 100%;
  max-width: 52px;
  max-height: 52px;
  object-fit: contain;
  display: block;
}
.wttj-logo-badge > div {
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  border-radius: 0 !important;
  font-size: 22px !important;
}
.wttj-card-body {
  padding: 0 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.wttj-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #0f172a;
  margin: 0 0 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wttj-name a {
  color: inherit;
  text-decoration: none;
}
.wttj-name a:hover {
  color: #0066cc;
}
.wttj-meta-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 22px;
}
.wttj-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-text);
  font-size: 13px;
  line-height: 1.4;
  color: #475569;
  min-width: 0;
}
.wttj-meta-row i {
  width: 14px;
  text-align: center;
  font-size: 12px;
  color: #64748b;
  flex-shrink: 0;
}
.wttj-meta-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.wttj-footer {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.wttj-jobs-link {
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  white-space: nowrap;
}
.wttj-jobs-link:hover {
  color: #0066cc;
  text-decoration: underline;
}
.wttj-follow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 18px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.wttj-follow-btn:hover {
  border-color: #0f172a;
  background: #f8fafc;
}
.wttj-follow-btn.followed {
  background: #eff6ff;
  border-color: #0066cc;
  color: #0066cc;
}
.wttj-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #111827;
  color: #ffffff;
  border: 2px solid #ffffff;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  transition: opacity 0.15s ease, transform 0.15s ease, background 0.15s ease;
}
.wttj-nav-btn:hover {
  background: #0f172a;
  transform: translateY(-50%) scale(1.05);
}
.wttj-nav-prev {
  left: -10px;
}
.wttj-nav-next {
  right: -10px;
}
.wttj-nav-btn.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.wttj-section-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}
.wttj-all-link {
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 600;
  color: #0066cc;
  text-decoration: none;
}
.wttj-all-link:hover {
  text-decoration: underline;
}
@media (max-width: 768px) {
  .home-companies-wttj {
    padding: 0 0 28px;
  }
  .wttj-tabs-wrap {
    justify-content: flex-start;
    margin-bottom: 18px;
  }
  .wttj-tabs {
    gap: 18px;
  }
  .wttj-card {
    flex: 0 0 min(304px, 82vw);
    width: min(304px, 82vw);
  }
  .wttj-nav-btn {
    display: none;
  }
  .wttj-section-foot {
    justify-content: center;
    margin-top: 10px;
  }
}

/* ---- Interaction polish (buttons, motion, touch) ---- */
/* Respect people who ask their device for less motion; also stops the endless "live" pulse. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
/* Clear keyboard focus ring on every button/link (accessibility + looks professional). */
a:focus-visible, button:focus-visible, .btn:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(36, 79, 231, .45);
  outline-offset: 2px;
}
/* Disabled / busy buttons look and behave disabled (no double clicks). */
.btn:disabled, button:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
/* Press feedback so buttons feel responsive, only for mouse/touch devices that can hover. */
.btn:active:not(:disabled) { transform: translateY(1px); }
/* Comfortable tap targets on phones. */
@media (pointer: coarse) {
  .btn, button, select, input[type="submit"] { min-height: 44px; }
}

/* ---- Homepage hero: job search + numbers strip ---- */
.hero-search { display:flex; gap:8px; max-width:560px; margin:0 0 18px; background:#fff; border-radius:8px; padding:6px; box-shadow:0 6px 24px rgba(0,20,60,.18); }
.hero-search input { flex:1; min-width:0; border:0; outline:0; padding:12px 14px; font-size:15px; background:transparent; color:#0f1b3d; }
.hero-search-btn { border:0; border-radius:6px; background:#244fe7; color:#fff; font-weight:800; font-size:13px; letter-spacing:.04em; text-transform:uppercase; padding:0 20px; min-height:44px; }
.hero-search-btn:hover { background:#1a3fc4; }
.hero-stats { display:flex; flex-wrap:wrap; gap:6px 20px; align-items:center; margin:0; font-size:13px; color:inherit; opacity:.92; }
.hero-stats strong { font-size:16px; }
.hero-stats a { font-weight:700; text-decoration:underline; text-underline-offset:3px; color:inherit; }
@media (max-width:560px){ .hero-search{flex-direction:column;} .hero-search-btn{width:100%;} }

/* ---- Homepage: trending topics + newsletter band ---- */
.home-topics { background:#fff; border-bottom:1px solid #e5e9f2; }
.home-topics-inner { display:flex; flex-wrap:wrap; align-items:center; gap:8px 10px; padding-top:14px; padding-bottom:14px; }
.home-topics-label { font-size:11px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:#64748b; margin-right:4px; }
.topic-chip { font-size:13px; font-weight:600; color:#1e2a4a; background:none; border:0; padding:6px 10px; text-decoration:none; transition:color .15s; -webkit-tap-highlight-color:transparent; }
.topic-chip:hover, .topic-chip:focus-visible, .topic-chip:active { color:#244fe7; }
.home-news-band { background:#0f1b3d; color:#fff; padding:44px 0; }
.home-news-inner { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:20px 40px; }
.home-news-band h2 { margin:0 0 6px; font-size:26px; line-height:1.2; color:#fff; }
.home-news-band p { margin:0; color:#c5cff0; font-size:15px; max-width:520px; }
.home-news-form { display:flex; gap:8px; flex:1; min-width:280px; max-width:460px; }
.home-news-form input { flex:1; min-width:0; border:0; border-radius:8px; padding:13px 14px; font-size:15px; }
.home-news-form .btn { white-space:nowrap; }
@media (max-width:560px){ .home-news-form{flex-direction:column;max-width:none;} .home-news-band h2{font-size:22px;} }
.home-news-btn { border:0; border-radius:8px; background:#244fe7; color:#fff; font-weight:800; font-size:13px; letter-spacing:.04em; text-transform:uppercase; padding:0 24px; min-height:46px; white-space:nowrap; }
.home-news-btn:hover { background:#3a63f0; }
.home-news-form .home-news-btn { background:#244fe7 !important; color:#fff !important; border-radius:8px !important; padding:0 24px !important; box-shadow:none !important; }
.home-news-form .home-news-btn:hover { background:#3a63f0 !important; }

/* ---- EXPERIMENT: square corners on the home page only (delete this block to restore rounded corners) ---- */
body.page-home *, body.page-home *::before, body.page-home *::after { border-radius: 0 !important; }

/* ---- Home: two big banners ---- */
.home-banners { padding: 56px 0 24px; background: #fff; }
.home-banners-head { margin-bottom: 22px; }
.home-banners-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #64748b; }
.home-banners-head h2 { margin: 6px 0 0; font-size: 30px; line-height: 1.15; letter-spacing: -.01em; color: #0f1b3d; }
.home-banners-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.home-banner { position: relative; display: block; overflow: hidden; border-radius: 14px; background: #e8eef9; text-decoration: none; color: inherit; box-shadow: 0 10px 28px rgba(15, 27, 61, .12); }
.home-banner img { display: block; width: 100%; height: 380px; object-fit: cover; transition: transform .5s ease; }
.home-banner:hover img { transform: scale(1.04); }
.home-banner-cap { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; justify-content: space-between; align-items: center; gap: 14px; background: rgba(255,255,255,.96); padding: 14px 18px; border-radius: 10px; }
.home-banner-cap strong { display: block; font-size: 17px; color: #0f1b3d; }
.home-banner-cap small { display: block; margin-top: 3px; font-size: 12.5px; color: #5b6784; }
.home-banner-cap em { font-style: normal; font-weight: 800; font-size: 12.5px; color: #1d4fe0; white-space: nowrap; }
.home-banner:hover .home-banner-cap em { text-decoration: underline; }
@media (max-width: 820px) { .home-banners-grid { grid-template-columns: 1fr; } .home-banner img { height: 260px; } .home-banners-head h2 { font-size: 24px; } }

/* ---- Top utility bar + dropdown menus with arrows ---- */
.site-topbar { background: #1f2a37; color: #e5eaf2; font-size: 13px; position: relative; z-index: 101; }
.site-topbar .container { width: min(1360px, 96%); max-width: 1360px; padding: 0 24px; margin: 0 auto; }
.site-topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 16px; }
.site-topbar-links { display: flex; gap: 26px; }
.site-topbar a { color: #fff; font-weight: 600; text-decoration: none; opacity: .92; }
.site-topbar a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.site-topbar-right { display: flex; align-items: center; gap: 18px; }
.site-topbar-right a { font-size: 14px; line-height: 1; }
.site-topbar .topbar-search { background: transparent !important; border: 0 !important; color: #cbd5e1 !important; padding: 4px !important; min-height: 0 !important; cursor: pointer; display: inline-flex; box-shadow: none !important; }
.site-topbar .topbar-search:hover { color: #fff !important; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-caret { display: inline-block; width: 6px; height: 6px; margin: -2px 0 0 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; opacity: .75; }
.nav-item.has-drop:hover .nav-caret, .nav-item.has-drop:focus-within .nav-caret { transform: rotate(225deg) translate(-2px, -2px); }
.nav-drop { position: absolute; top: 100%; left: -14px; min-width: 210px; padding: 8px 0; background: #fff; border: 1px solid #e3e8f2; box-shadow: 0 14px 34px rgba(15, 27, 61, .18); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 200; }
.nav-item.has-drop:hover .nav-drop, .nav-item.has-drop:focus-within .nav-drop { opacity: 1; visibility: visible; transform: none; }
.nav-drop a { display: block; padding: 10px 20px; color: #1b2742 !important; font-size: 14px; font-weight: 600; opacity: 1 !important; white-space: nowrap; text-decoration: none; }
.nav-drop a:hover { background: #f1f5fc; color: #0a5fd0 !important; }
@media (max-width: 960px) { .site-topbar-links a:nth-child(n+3) { display: none; } .site-topbar-links { gap: 18px; } }
@media (max-width: 560px) { .site-topbar { font-size: 12px; } .site-topbar-right { gap: 12px; } }
body.auth-page-shell .site-topbar { display: none !important; }

/* ---- Home: topics bar, lead story, courses, small screens ---- */
.page-home .home-topics .home-topics-inner { padding-top:14px !important; padding-bottom:14px !important; }
@media (min-width:681px){
  .page-home .article-lead-img-wrap { flex:1 1 auto; aspect-ratio:auto; min-height:300px; position:relative; }
  .page-home .article-lead-img-wrap img { position:absolute; inset:0; }
  .page-home .article-lead-content { flex:0 0 auto; }
  .page-home .article-lead-excerpt { margin-bottom:14px; }
}
.home-courses { padding:56px 0; background:#fff; }
.home-courses-head { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:8px 20px; margin-bottom:22px; }
.home-courses-head h2 { margin:0; font-size:28px; line-height:1.2; color:#0f1b3d; }
.home-courses-head a { font-size:13px; font-weight:700; color:#0066cc; text-decoration:none; }
.home-courses-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:22px; }
.home-course { display:flex; flex-direction:column; border:1px solid #e5e9f2; background:#fff; color:inherit; text-decoration:none; transition:box-shadow .2s, transform .2s; }
.home-course:hover, .home-course:focus-visible { box-shadow:0 12px 28px rgba(15,27,61,.12); transform:translateY(-3px); }
.home-course img { display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; background:#e8eef9; }
.home-course-body { display:flex; flex-direction:column; flex:1; gap:8px; padding:16px; }
.home-course-channel { font-size:10.5px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:#244fe7; }
.home-course strong { font-size:15px; line-height:1.35; color:#0f172a; }
.home-course small { margin-top:auto; font-size:12px; font-weight:600; color:#64748b; }
@media (max-width:980px){ .home-courses-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:640px){
  .page-home .home-topics .home-topics-inner { flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; }
  .page-home .home-topics-inner > * { flex:0 0 auto; }
  .page-home .home-topics-label { display:none; }
  .page-home .smoke-white-hero .hero-subtitle-smoke { font-size:15px !important; margin-bottom:20px !important; }
  .page-home .smoke-white-hero .hero-actions { flex-wrap:nowrap !important; gap:10px !important; margin-bottom:18px !important; }
  .page-home .smoke-white-hero .hero-actions > a { flex:1; justify-content:center; text-align:center; padding-left:10px !important; padding-right:10px !important; }
  .page-home .hero-search { flex-direction:row; }
  .page-home .hero-search input { padding:10px 8px; font-size:14px; text-overflow:ellipsis; }
  .page-home .hero-search-btn { width:auto; padding:0 12px; font-size:11.5px; }
  .home-courses { padding:40px 0; }
  .home-courses-head h2 { font-size:22px; }
  .home-courses-grid { grid-template-columns:1fr; gap:14px; }
}

/* ---- Header search: card below the header, dimmed page behind ---- */
.search-overlay { bottom:0; padding:12px 0 0; background:rgba(11,25,44,.55); box-shadow:none; }
.search-overlay .search-overlay-inner { max-width:760px; max-height:calc(100% - 24px); overflow-y:auto; background:#fff; border-radius:14px; padding:16px !important; box-shadow:0 24px 60px rgba(11,25,44,.3); }
.search-overlay .search-overlay-bar { border:2px solid #d8e0ee; border-radius:10px; padding:4px 8px 4px 14px; }
.search-overlay .search-overlay-bar:focus-within { border-color:#244fe7; }
.search-overlay .search-overlay-bar input { min-width:0; background:transparent; font-size:16px; }
.search-overlay .search-overlay-bar input:focus, .search-overlay .search-overlay-bar input:focus-visible { outline:none; border:0; box-shadow:none; }
.search-overlay .global-search-results { margin-top:16px; color:#0f1b3d; }
.search-overlay .global-search-results:empty { display:none; }
.search-overlay .global-search-results h3 { color:#64748b; }
.search-overlay .global-search-results a { color:#0f1b3d; background:#f3f6fb; }
.search-overlay .global-search-results a[href]:hover { background:#e5edfb; }
.search-overlay .global-search-results small { color:#64748b; }

/* ---- One shared page width: header, top bar, sections and footer line up ----
   Content is 1332px wide on large screens, with 10px left and right on small ones.
   Change --site-width / --site-gutter here to resize the whole public site. */
:root { --site-width:1332px; --site-gutter:10px; }
html body .container:not(.search-overlay-inner),
html body .site-header .container,
html body .site-topbar .container,
html body .smoke-white-hero .hero-inner-wrap,
html body .builtin-breadcrumb-inner,
html body .flagship-hero-container,
html body .builtin-layout {
  box-sizing:border-box !important;
  width:100% !important;
  max-width:calc(var(--site-width) + 2 * var(--site-gutter)) !important;
  margin-left:auto !important;
  margin-right:auto !important;
  padding-left:var(--site-gutter) !important;
  padding-right:var(--site-gutter) !important;
}
/* These wrappers added their own side space or width on top of the shared one. */
html body .signin-gate-section, html body .builtin-hero { padding-left:0 !important; padding-right:0 !important; }
html body #view-article .container,
html body #view-article .editorial-carousels,
html body #view-article .editorial-carousels-container {
  max-width:calc(var(--site-width) + 2 * var(--site-gutter)) !important;
  padding-left:var(--site-gutter) !important;
  padding-right:var(--site-gutter) !important;
}

/* ---- Filtered articles: newspaper-style section page (no cards) ---- */
.news-page { background:#fff; padding:0 0 64px; color:#111418; }
.news-page, .news-page * , .news-page *::before { border-radius:0 !important; }
.news-sections { display:flex; gap:26px; overflow-x:auto; scrollbar-width:none; border-bottom:1px solid #dcdfe4; }
.news-sections a { flex:0 0 auto; padding:14px 0 12px; font-size:13px; font-weight:600; color:#3c4350; text-decoration:none; border-bottom:2px solid transparent; }
.news-sections a:hover, .news-sections a:focus-visible { color:#244fe7; }
.news-sections a[aria-current="page"] { color:#244fe7; border-bottom-color:#244fe7; }
.news-head { display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:16px 40px; padding:34px 0 16px; border-bottom:3px solid #111418; }
.news-page h1, .news-page h2, .news-page h3 { font-family:Georgia,"Times New Roman",serif; font-weight:700; letter-spacing:-.01em; }
.news-head h1 { margin:0; font-size:44px; line-height:1.1; color:#111418; }
.news-head p { margin:8px 0 0; font-size:13px; color:#69707d; }
.news-head form { display:flex; align-items:center; border-bottom:1px solid #111418; }
.news-head form input[type="search"] { width:260px; max-width:60vw; border:0; background:transparent; padding:8px 0; font-size:14px; box-shadow:none; outline:0; }
.news-head form:focus-within { border-bottom-color:#244fe7; box-shadow:0 1px 0 #244fe7; }
.news-head form button { border:0; background:none; padding:8px 0 8px 14px; font-size:13px; font-weight:700; color:#111418; cursor:pointer; }
.news-head form button:hover { color:#244fe7; }
.news-img { display:block; overflow:hidden; background:#eef0f3; }
.news-img img { display:block; width:100%; height:100%; object-fit:cover; }
.news-page h2 a, .news-page h3 a { color:inherit; text-decoration:none; }
.news-page h2 a:hover, .news-page h3 a:hover { color:#244fe7; }
.news-kicker { display:block; margin-bottom:8px; font-size:12px; font-style:italic; color:#244fe7; }
.news-lead { display:grid; grid-template-columns:minmax(0,7fr) minmax(0,5fr); gap:40px; align-items:center; padding:32px 0; border-bottom:1px solid #dcdfe4; }
.news-lead .news-img { aspect-ratio:16/10; }
.news-lead h2 { margin:0 0 14px; font-size:36px; line-height:1.18; }
.news-lead .news-excerpt { font-size:17px; }
.news-row { display:grid; grid-template-columns:minmax(0,1fr) 240px; gap:40px; align-items:start; padding:26px 0; border-bottom:1px solid #dcdfe4; }
.news-row .news-img { aspect-ratio:3/2; }
.news-row .news-text { max-width:760px; }
.news-row h3 { margin:0 0 8px; font-size:23px; line-height:1.28; }
.news-excerpt { margin:0 0 12px; font-size:15px; line-height:1.6; color:#454c59; }
.news-byline { margin:0; font-size:12px; color:#69707d; }
@media (max-width:760px){
  .news-head { padding-top:24px; }
  .news-head h1 { font-size:30px; }
  .news-head form { width:100%; }
  .news-head form input[type="search"] { flex:1; max-width:none; }
  .news-lead { grid-template-columns:1fr; gap:16px; padding:22px 0; }
  .news-lead h2 { font-size:26px; margin-bottom:10px; }
  .news-lead .news-excerpt { font-size:15px; }
  .news-row { grid-template-columns:minmax(0,1fr) 96px; gap:16px; padding:20px 0; }
  .news-row h3 { font-size:17px; }
  .news-row .news-excerpt { display:none; }
  .news-row .news-img { aspect-ratio:1; }
}

/* ---- Contact page (shares the employers page style) ---- */
.contact-page .emp-tools { border-top:0; padding-top:48px; }
.contact-grid { display:grid; grid-template-columns:minmax(0,7fr) minmax(0,4fr); gap:64px; align-items:start; }
.contact-page h1 { font-size:clamp(32px,4vw,50px); line-height:1.1; }
.contact-topics { margin-top:30px; border-top:3px solid #111418; }
.contact-links { display:flex; flex-wrap:wrap; gap:8px 22px; margin-top:12px !important; }
.contact-links a { color:#244fe7; font-weight:700; text-decoration:none; border-bottom:1px solid currentColor; }
.contact-card { background:#0f1b3d; color:#fff; padding:32px; }
.emp-page .contact-card h2 { color:#fff; font-size:26px; margin-bottom:8px; }
.contact-card p { margin-top:10px; color:#c5cff0; line-height:1.6; }
.contact-card dl { margin:0; }
.contact-card dl > div { padding:16px 0; border-bottom:1px solid rgba(255,255,255,.18); }
.contact-card dl > div:last-child { border-bottom:0; padding-bottom:0; }
.contact-card dt { font-size:13px; font-style:italic; color:#9fb4f5; }
.contact-card dd { margin:4px 0 0; font-size:17px; overflow-wrap:anywhere; }
.contact-card dd a { color:#fff; font-weight:700; }
@media (max-width:900px){ .contact-grid { grid-template-columns:1fr; gap:32px; } .contact-card { padding:24px; } }

/* ---- Employers landing page ---- */
.emp-page, .emp-page * { border-radius:0 !important; }
.emp-page { background:#fff; color:#111418; }
.emp-page h1, .emp-page h2, .emp-page h3 { font-family:Georgia,"Times New Roman",serif; font-weight:700; letter-spacing:-.01em; color:#111418; margin:0; }
.emp-page p { margin:0; }
.emp-page img { display:block; width:100%; height:100%; object-fit:cover; }
.emp-hero { padding:56px 0; border-bottom:1px solid #dcdfe4; }
.emp-hero-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:56px; align-items:center; }
.emp-hero img { aspect-ratio:7/5; height:auto; }
.emp-kicker { margin-bottom:14px !important; font-size:14px; font-style:italic; color:#244fe7; }
.emp-page .emp-hero h1 { font-size:clamp(34px,4.6vw,60px); line-height:1.08; }
.emp-lead { max-width:520px; margin-top:20px !important; font-size:18px; line-height:1.6; color:#454c59; }
.emp-actions { display:flex; flex-wrap:wrap; align-items:center; gap:16px 28px; margin-top:30px; }
.emp-button { display:inline-flex; align-items:center; min-height:50px; padding:0 26px; background:#244fe7; border:1px solid #244fe7; color:#fff !important; font-size:15px; font-weight:700; text-decoration:none; }
.emp-button:hover, .emp-button:focus-visible { background:#1a3fc4; border-color:#1a3fc4; }
.emp-button.light { background:#fff; border-color:#fff; color:#0f1b3d !important; }
.emp-button.light:hover, .emp-button.light:focus-visible { background:#dfe6fb; border-color:#dfe6fb; }
.emp-link { padding-bottom:2px; border-bottom:1px solid currentColor; color:#111418; font-size:15px; font-weight:700; text-decoration:none; }
.emp-link:hover { color:#244fe7; }
.emp-link.light { color:#fff; }
.emp-link.light:hover { color:#c5cff0; }
.emp-steps { padding:60px 0; }
.emp-page .emp-steps h2, .emp-page .emp-tools h2 { font-size:32px; line-height:1.2; }
.emp-steps ol { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:32px; margin:32px 0 0; padding:0; list-style:none; }
.emp-steps li { border-top:3px solid #111418; padding-top:18px; }
.emp-num { display:block; margin-bottom:18px; font-family:Georgia,"Times New Roman",serif; font-size:44px; line-height:1; color:#244fe7; }
.emp-page .emp-steps h3, .emp-page .emp-feature h3 { margin-bottom:8px; font-size:20px; line-height:1.3; }
.emp-steps li p, .emp-feature p { font-size:15px; line-height:1.6; color:#454c59; }
.emp-tools { padding:60px 0; border-top:1px solid #dcdfe4; }
.emp-tools-grid { display:grid; grid-template-columns:minmax(0,5fr) minmax(0,6fr); gap:56px; align-items:stretch; }
.emp-tools img { min-height:320px; }
.emp-page .emp-tools h2 { margin-bottom:10px; }
.emp-feature { padding:22px 0; border-bottom:1px solid #dcdfe4; }
.emp-feature:last-child { border-bottom:0; padding-bottom:0; }
.emp-close { padding:52px 0; background:#0f1b3d; }
.emp-close-inner { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:24px 48px; }
.emp-page .emp-close h2 { color:#fff; font-size:30px; }
.emp-close p { margin-top:8px; color:#c5cff0; font-size:16px; }
.emp-close .emp-actions { margin-top:0; }
@media (max-width:900px){
  .emp-hero { padding:32px 0 40px; }
  .emp-hero-grid, .emp-tools-grid { grid-template-columns:1fr; gap:30px; }
  .emp-steps, .emp-tools { padding:40px 0; }
  .emp-steps ol { grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px 20px; }
  .emp-tools img { min-height:0; aspect-ratio:16/10; height:auto; }
}
@media (max-width:560px){
  .emp-steps ol { grid-template-columns:1fr; }
  .emp-page .emp-steps h2, .emp-page .emp-tools h2 { font-size:26px; }
  .emp-button { width:100%; justify-content:center; }
}

/* ---- Header and footer frame: wider than the page sections on large screens ----
   Sections stay at --site-width. Change --frame-width to resize the top bar, header and footer. */
:root { --frame-width:1640px; }
html body .site-topbar .container,
html body .site-header .container,
html body .site-footer .container {
  max-width:calc(var(--frame-width) + 2 * var(--site-gutter)) !important;
}

/* Company cover: the shared container rule removed its top space. */
html body .li-cover .li-cover-inner { padding-top:28px !important; }
@media (max-width:640px){ html body .li-cover .li-cover-inner { padding-top:16px !important; } }
/* Articles slider dots: stop the global tap-target height stretching them. */
html body #view-article .carousel-dot { min-height:0 !important; padding:0 !important; }
/* Articles page: square images, no curved corners. */
html body #view-article :is(.feature-media, .carousel-slides-wrap, .carousel-slide, .carousel-slide-link, .mini .thumb, .card-media, .video-media, .top-story-badge, img) { border-radius:0 !important; }
html body #view-article .feature-card .feature-media { border-radius:0 !important; }
html body #view-article .editorial-carousels-container .four-grid .card .card-media { border-radius:0 !important; }
