/* ==========================================================================
   Chakrie — Executive Homepage Styling
   Inspired by LinkedIn, Indeed, Glassdoor & Bdjobs
   ========================================================================== */

.home-page {
  color: var(--premium-ink, #0f172a);
  background: var(--premium-paper, #f8fafc);
  font-family: var(--font-body, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
}

.home-page *, .home-page *::before, .home-page *::after {
  box-sizing: border-box;
}

.home-page a {
  text-decoration: none;
}

/* ═══════════════════════════════ HERO SECTION ═══════════════════════════════ */
.home-page .hp-hero {
  position: relative;
  padding: 48px 0 64px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 40% at 80% 10%, rgba(46, 125, 50, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 90%, rgba(5, 150, 105, 0.05) 0%, transparent 50%),
    #f8fafc;
  border-bottom: 1px solid var(--premium-line, #e2e8f0);
}

.home-page .hp-hero__inner > .row {
  align-items: center;
}

/* Live Verified Badge */
.home-page .hp-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.05em;
  font-weight: 700;
  text-transform: uppercase;
  color: #256a29;
  background: #e8f5e9;
  border: 1px solid #c8e6c9;
  padding: 8px 16px;
  border-radius: 9999px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(46, 125, 50, 0.08);
}

.home-page .hp-hero__dot {
  width: 9px;
  height: 9px;
  background: #2e7d32;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.25);
  animation: hpDotPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes hpDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.15); }
}

/* Hero Typography */
.home-page .hp-hero__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.6vw, 60px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0 0 18px;
  color: var(--premium-ink, #0f172a);
}

.home-page .hp-hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, #2e7d32 0%, #2e7d32 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-page .hp-hero__title-sub {
  display: block;
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 700;
  color: #334155;
  margin-top: 8px;
  letter-spacing: -0.03em;
}

.home-page .hp-hero__sub {
  max-width: 560px;
  font-size: 18px;
  line-height: 1.7;
  color: #475569;
  margin: 0 0 30px;
  font-weight: 500;
}

/* ═══════════════════════════════ UNIFIED SEARCH BAR (Indeed / LinkedIn Benchmark) ═══════════════════════════════ */
.home-page .hp-search {
  display: flex;
  background: #ffffff;
  padding: 8px;
  border: 1.5px solid #cbd5e1;
  border-radius: 14px;
  box-shadow: 0 12px 36px -4px rgba(15, 23, 42, 0.1), 0 3px 8px rgba(15, 23, 42, 0.05);
  position: relative;
  z-index: 10;
  max-width: 680px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.home-page .hp-search:focus-within {
  border-color: #2e7d32;
  box-shadow: 0 14px 40px -4px rgba(46, 125, 50, 0.18), 0 0 0 3px rgba(46, 125, 50, 0.15);
}

.home-page .hp-search__field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  min-width: 0;
  flex: 1.5;
}

.home-page .hp-search__field + .hp-search__field {
  flex: 1.1;
  border-left: 1px solid #e2e8f0;
}

.home-page .hp-search__icon {
  color: #64748b;
  font-size: 20px;
  flex-shrink: 0;
}

.home-page .hp-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  height: 50px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  color: #0f172a;
  outline: none;
}

.home-page .hp-search input::placeholder {
  color: #94a3b8;
  font-weight: 400;
  font-size: 15px;
}

.home-page .hp-search__btn {
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #2e7d32 0%, #2e7d32 100%);
  color: #ffffff;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.25);
}

.home-page .hp-search__btn:hover {
  background: linear-gradient(135deg, #2e7d32 0%, #256a29 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(46, 125, 50, 0.35);
}

.home-page .hp-search__btn span {
  font-size: 18px;
  transition: transform 0.2s;
}

.home-page .hp-search__btn:hover span {
  transform: translateX(2px) translateY(-2px);
}

/* Popular Search Pills */
.home-page .hp-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.home-page .hp-tags__label {
  font-size: 14px;
  font-weight: 700;
  color: #475569;
  margin-right: 4px;
}

.home-page .hp-tag {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #334155 !important;
  transition: all 0.16s ease;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.home-page .hp-tag:hover {
  background: var(--theme-berry-soft, #e8f5e9);
  border-color: var(--theme-berry-border, #c8e6c9);
  color: var(--theme-berry, #2e7d32) !important;
  transform: translateY(-1px);
}

.home-page .hp-hero__app {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

.home-page .hp-store-badge {
  height: 34px;
  width: auto;
  border-radius: 6px;
  transition: transform 0.16s, box-shadow 0.16s;
}

.home-page .hp-store-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.1);
}

/* ═══════════════════════════════ HERO RIGHT: INTERACTIVE SHOWCASE CARD ═══════════════════════════════ */
.home-page .hp-career-art {
  position: relative;
  border-radius: 20px;
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid #334155;
  color: #ffffff;
  padding: 30px;
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Glow circles in background */
.home-page .hp-career-art::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 125, 50, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.home-page .hp-career-art::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.home-page .hp-career-art__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.home-page .hp-career-art__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  padding: 3px 9px;
  border-radius: 9999px;
  font-size: 11px;
}

.home-page .hp-career-art__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
}

/* Higher Studies gateway */
.home-page .hp-higher-studies {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(167, 243, 208, 0.28);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(22, 101, 52, 0.9), rgba(5, 150, 105, 0.72));
  color: #ffffff !important;
  box-shadow: 0 12px 28px rgba(2, 44, 34, 0.24);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.home-page .hp-higher-studies::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -44px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.home-page .hp-higher-studies:hover {
  transform: translateY(-2px);
  border-color: rgba(209, 250, 229, 0.5);
  box-shadow: 0 16px 34px rgba(2, 44, 34, 0.32);
}

.home-page .hp-higher-studies__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 21px;
}

.home-page .hp-higher-studies__content {
  min-width: 0;
}

.home-page .hp-higher-studies__eyebrow {
  display: block;
  margin-bottom: 3px;
  color: #a7f3d0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.home-page .hp-higher-studies strong {
  display: block;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.35;
}

.home-page .hp-higher-studies small {
  display: block;
  margin-top: 4px;
  color: #d1fae5;
  font-size: 11px;
  line-height: 1.5;
}

.home-page .hp-higher-studies__links {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.home-page .hp-higher-studies__links span {
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
}

.home-page .hp-higher-studies__arrow {
  position: relative;
  z-index: 1;
  margin-left: auto;
  color: #d1fae5;
  font-size: 17px;
  font-weight: 700;
  transition: transform 0.2s;
}

.home-page .hp-higher-studies:hover .hp-higher-studies__arrow {
  transform: translate(2px, -2px);
}

/* Spotlight Job Card within Hero */
.home-page .hp-showcase-job {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 18px;
  transition: transform 0.2s, border-color 0.2s;
}

.home-page .hp-showcase-job:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.25);
}

.home-page .hp-showcase-job__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.home-page .hp-showcase-job__logo {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2e7d32;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.home-page .hp-showcase-job__title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.home-page .hp-showcase-job__co {
  font-size: 12px;
  color: #cbd5e1;
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.home-page .hp-showcase-job__verified {
  color: #66bb6a;
  font-size: 13px;
}

.home-page .hp-showcase-job__chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.home-page .hp-showcase-job__chip {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}

.home-page .hp-showcase-job__chip--salary {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.home-page .hp-showcase-job__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
}

.home-page .hp-showcase-job__apply {
  background: #2e7d32;
  color: #ffffff !important;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  transition: background 0.16s;
}

.home-page .hp-showcase-job__apply:hover {
  background: #256a29;
}

/* Floating CV CTA Card within Hero */
.home-page .hp-career-art__card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #ffffff;
  color: #0f172a !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none !important;
}

.home-page .hp-career-art__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25);
}

.home-page .hp-career-art__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: #e8f5e9;
  border-radius: 10px;
  color: #2e7d32;
  font-size: 20px;
  flex-shrink: 0;
}

.home-page .hp-career-art__card strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.home-page .hp-career-art__card small {
  display: block;
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
}

.home-page .hp-career-art__card > span:last-child {
  margin-left: auto;
  color: #2e7d32;
  font-weight: 700;
}

.home-page .hp-career-art__bottom {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #64748b;
}

/* ═══════════════════════════════ PLATFORM STATS STRIP ═══════════════════════════════ */
.home-page .hp-stats {
  background: #ffffff;
  border-bottom: 1px solid var(--premium-line, #e2e8f0);
  padding: 36px 0;
}

.home-page .hp-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.home-page .hp-stat {
  padding: 0 28px;
  text-align: center;
}

.home-page .hp-stat + .hp-stat {
  border-left: 1px solid var(--premium-line, #e2e8f0);
}

.home-page .hp-stat__value {
  font-size: 38px;
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: var(--premium-ink, #0f172a);
}

.home-page .hp-stat__label {
  font-size: 15px;
  margin-top: 8px;
  color: #475569;
  font-weight: 600;
}

/* ═══════════════════════════════ SECTIONS COMMON ═══════════════════════════════ */
.home-page .hp-section {
  padding: 76px 0;
}

.home-page .hp-section--tight {
  padding: 60px 0;
}

.home-page .hp-section--white {
  background: #ffffff;
}

.home-page .hp-section--shell {
  background: var(--premium-paper, #f8fafc);
}

.home-page .hp-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 38px;
}

.home-page .hp-eyebrow {
  display: inline-block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--theme-berry, #2e7d32);
  margin-bottom: 8px;
}

.home-page .hp-title {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
  color: var(--premium-ink, #0f172a);
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 0;
}

.home-page .hp-sub {
  font-size: 17px;
  line-height: 1.6;
  margin: 10px 0 0;
  color: #475569;
  max-width: 620px;
  font-weight: 500;
}

.home-page .hp-more {
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--theme-primary, #2e7d32) !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.16s ease, color 0.16s ease;
}

.home-page .hp-more:hover {
  transform: translateX(4px);
  color: var(--theme-berry, #2e7d32) !important;
  text-decoration: underline;
}

/* ═══════════════════════════════ QUICK SERVICES HUB ═══════════════════════════════ */
.home-page .hp-quicklinks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.home-page .hp-quicklink {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: #ffffff;
  border: 1px solid var(--premium-line, #e2e8f0);
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
}

.home-page .hp-quicklink:hover {
  border-color: var(--theme-berry-border, #c8e6c9);
  background: var(--theme-berry-soft, #e8f5e9);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -2px rgba(46, 125, 50, 0.12);
}

.home-page .hp-quicklink__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 22px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.home-page .hp-quicklink:hover .hp-quicklink__icon {
  background: #ffffff;
  color: var(--theme-berry, #2e7d32);
}

.home-page .hp-quicklink__label {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
}

.home-page .hp-quicklink:hover .hp-quicklink__label {
  color: var(--theme-berry, #2e7d32);
}

/* ═══════════════════════════════ CATEGORIES GRID (Bdjobs Benchmark) ═══════════════════════════════ */
.home-page .hp-cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.home-page .hp-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 22px;
  background: #ffffff;
  border: 1px solid var(--premium-line, #e2e8f0);
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
}

.home-page .hp-cat:hover {
  border-color: var(--theme-berry-border, #c8e6c9);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -2px rgba(46, 125, 50, 0.12);
}

.home-page .hp-cat__name {
  color: #1e293b;
  font-size: 16px;
  font-weight: 600;
}

.home-page .hp-cat:hover .hp-cat__name {
  color: var(--theme-berry, #2e7d32);
}

.home-page .hp-cat__count {
  color: var(--theme-berry, #2e7d32);
  background: var(--theme-berry-soft, #e8f5e9);
  border: 1px solid var(--theme-berry-border, #c8e6c9);
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 800;
  padding: 4px 10px;
}

/* ═══════════════════════════════ LATEST JOBS & COMPANIES & POSTS ═══════════════════════════════ */
.home-page .hp-jobs,
.home-page .hp-cos,
.home-page .hp-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* Job Result Card on Home */
.home-page .hp-job,
.home-page .hp-post {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px;
  border-radius: 16px;
  border: 1px solid var(--premium-line, #e2e8f0);
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  text-decoration: none !important;
}

.home-page .hp-job:hover,
.home-page .hp-post:hover {
  border-color: var(--theme-berry-border, #c8e6c9);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -4px rgba(46, 125, 50, 0.12);
}

.home-page .hp-job__top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.home-page .hp-job__logo,
.home-page .hp-co__logo,
.home-page .hp-panel__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--premium-line, #e2e8f0);
  color: #2e7d32;
  font-size: 20px;
  font-weight: 800;
  overflow: hidden;
}

.home-page .hp-job__logo img,
.home-page .hp-co__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-page .hp-job__title {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
  letter-spacing: -0.02em;
  transition: color 0.16s;
}

.home-page .hp-job:hover .hp-job__title {
  color: var(--theme-berry, #2e7d32);
}

.home-page .hp-job__company {
  display: block;
  color: #475569;
  font-size: 15px;
  font-weight: 500;
  margin-top: 4px;
}

.home-page .hp-job__meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.home-page .hp-chip {
  font-size: 13px;
  font-weight: 600;
  color: #2e7d32;
  background: #e8f5e9;
  border: 1px solid #c8e6c9;
  padding: 4px 10px;
  border-radius: 6px;
}

.home-page .hp-chip--muted {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #475569;
}

.home-page .hp-job__foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--premium-line-subtle, #f1f5f9);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: #64748b;
  font-size: 14px;
}

.home-page .hp-job__cta {
  color: var(--theme-berry, #2e7d32);
  font-weight: 700;
  font-size: 14px;
}

/* Company Card on Home */
.home-page .hp-co {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--premium-line, #e2e8f0);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
}

.home-page .hp-co:hover {
  border-color: var(--theme-berry-border, #c8e6c9);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -4px rgba(46, 125, 50, 0.12);
}

.home-page .hp-co__name {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
}

.home-page .hp-co:hover .hp-co__name {
  color: var(--theme-berry, #2e7d32);
}

.home-page .hp-co__meta {
  display: block;
  font-size: 14px;
  color: #64748b;
  margin-top: 4px;
}

.home-page .hp-co__count {
  color: #059669;
  font-weight: 700;
  font-size: 14px;
}

/* ═══════════════════════════════ TWO TRACKS (Candidates vs Employers) ═══════════════════════════════ */
.home-page .hp-tracks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.home-page .hp-track {
  position: relative;
  overflow: hidden;
  padding: 48px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--premium-line, #e2e8f0);
  box-shadow: var(--theme-shadow-sm);
}

.home-page .hp-track--dark {
  background: linear-gradient(145deg, #0f2e14 0%, #0f2e14 100%);
  border-color: #1e293b;
  color: #ffffff;
  box-shadow: 0 16px 40px -4px rgba(15, 46, 20, 0.35);
}

.home-page .hp-track__title {
  max-width: 440px;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin: 16px 0 16px;
  color: var(--premium-ink, #0f172a);
}

.home-page .hp-track__sub {
  max-width: 420px;
  font-size: 16px;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 26px;
}

.home-page .hp-track__list {
  list-style: none;
  padding: 0;
  margin: 0 0 34px;
  display: grid;
  gap: 14px;
}

.home-page .hp-track__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: #334155;
  font-weight: 500;
}

.home-page .hp-track__tick {
  color: #059669;
  font-weight: 800;
}

.home-page .hp-track--dark .hp-track__title {
  color: #ffffff;
}

.home-page .hp-track--dark .hp-track__sub,
.home-page .hp-track--dark .hp-track__item {
  color: #cbd5e1;
}

.home-page .hp-track--dark .hp-eyebrow {
  color: #86e08a;
}

.home-page .hp-track--dark .hp-track__tick {
  color: #34d399;
}

.home-page .hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 10px;
  background: var(--theme-gradient-primary);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.25);
  text-decoration: none !important;
}

.home-page .hp-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(46, 125, 50, 0.35);
}

.home-page .hp-track--dark .hp-btn {
  background: linear-gradient(135deg, #66bb6a 0%, #2e7d32 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(46, 125, 50, 0.3);
}

.home-page .hp-track--dark .hp-btn:hover {
  background: linear-gradient(135deg, #6fbf73 0%, #256a29 100%);
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.45);
}

/* Timeline Feed on Home */
.home-page .hp-post__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-page .hp-post__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  background: #e8f5e9;
  color: #2e7d32;
  font-weight: 700;
  overflow: hidden;
  border: 1px solid #c8e6c9;
}

.home-page .hp-post__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-page .hp-post__name {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.home-page .hp-post__time {
  font-size: 13px;
  color: #64748b;
  margin-top: 2px;
}

.home-page .hp-post__text {
  font-size: 16px;
  color: #334155;
  line-height: 1.6;
  margin: 0;
}

.home-page .hp-post__metrics {
  display: flex;
  gap: 18px;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  border-top: 1px solid var(--premium-line-subtle, #f1f5f9);
  padding-top: 16px;
  margin-top: auto;
}

/* Platform Tools Grid */
.home-page .hp-tools {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.home-page .hp-tool {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--premium-line, #e2e8f0);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--theme-shadow-sm);
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.home-page .hp-tool:hover {
  border-color: var(--theme-berry-border, #c8e6c9);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -4px rgba(46, 125, 50, 0.12);
}

.home-page .hp-tool__eyebrow {
  color: var(--theme-berry, #2e7d32);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.home-page .hp-tool__title {
  font-size: 21px;
  letter-spacing: -0.03em;
  line-height: 1.3;
  font-weight: 800;
  color: var(--premium-ink, #0f172a);
  margin-bottom: 12px;
}

.home-page .hp-tool__sub {
  font-size: 15px;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 26px;
}

.home-page .hp-tool__cta {
  font-size: 15px;
  font-weight: 700;
  color: var(--theme-primary, #2e7d32);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.home-page .hp-tool:hover .hp-tool__cta {
  color: var(--theme-berry, #2e7d32);
}

/* Mobile App Banner */
.home-page .hp-app {
  background: linear-gradient(135deg, #0f2e14 0%, #15471a 70%, #1d4f20 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 48px 52px;
  color: #ffffff;
  box-shadow: 0 18px 40px -4px rgba(15, 46, 20, 0.28);
}

.home-page .hp-app__title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin: 0 0 12px;
}

.home-page .hp-app__sub {
  font-size: 17px;
  color: #cbd5e1;
  line-height: 1.7;
  max-width: 520px;
  margin: 0;
}

.home-page .hp-app__links {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}

.home-page .hp-app__link {
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  transition: all 0.16s ease;
}

.home-page .hp-app__link:hover {
  background: #ffffff;
  color: #0f172a !important;
}

.home-page .hp-posts__empty {
  grid-column: 1 / -1;
  padding: 36px;
  border: 1px dashed var(--premium-line, #e2e8f0);
  border-radius: 14px;
  color: #64748b;
  font-size: 15px;
  text-align: center;
}

/* ═══════════════════════════════ RESPONSIVE ═══════════════════════════════ */
@media (max-width: 1199.98px) {
  .home-page .hp-tools { grid-template-columns: repeat(2, 1fr); }
  .home-page .hp-quicklinks { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991.98px) {
  .home-page .hp-hero { padding-top: 36px; }
  .home-page .hp-career-art { margin-top: 36px; }
  .home-page .hp-cats,
  .home-page .hp-jobs,
  .home-page .hp-cos,
  .home-page .hp-posts { grid-template-columns: repeat(2, 1fr); }
  .home-page .hp-tracks { grid-template-columns: 1fr; }
  .home-page .hp-app { flex-direction: column; align-items: flex-start; padding: 32px; }
}

@media (max-width: 767.98px) {
  .home-page .hp-hero { padding: 28px 0 42px; }
  .home-page .hp-hero__title { font-size: 34px; }
  .home-page .hp-search { flex-direction: column; padding: 10px; gap: 8px; }
  .home-page .hp-search__field { padding: 0 4px; }
  .home-page .hp-search__field + .hp-search__field { border-left: none; border-top: 1px solid #e2e8f0; padding-top: 8px; }
  .home-page .hp-search__btn { width: 100%; height: 44px; margin-top: 4px; }
  .home-page .hp-stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .home-page .hp-stat:nth-child(3) { border-left: none; }
  .home-page .hp-cats,
  .home-page .hp-jobs,
  .home-page .hp-cos,
  .home-page .hp-posts { grid-template-columns: 1fr; }
  .home-page .hp-quicklinks { grid-template-columns: 1fr; }
  .home-page .hp-tools { grid-template-columns: 1fr; }
  .home-page .hp-track { padding: 28px 24px; }
  .home-page .hp-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .home-page .hp-career-art { padding: 22px; }
  .home-page .hp-higher-studies { padding: 16px; }
}
