/* Vacancy Job Alert Dynamic Homepage */
.vja-home {
  background: #f6f7f9;
  padding: 24px 0 40px;
}

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

.vja-wrap {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
}

.vja-hero {
  background: #ffffff;
  border: 1px solid #e6e8ec;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
}

.vja-kicker {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #b42318;
}

.vja-hero h1 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.15;
  color: #111827;
}

.vja-intro {
  max-width: 850px;
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: #4b5563;
}

.vja-search {
  display: flex;
  gap: 8px;
  max-width: 700px;
  margin-top: 18px;
}

.vja-search input {
  flex: 1;
  min-width: 0;
  height: 46px;
  border: 1px solid #cfd4dc;
  border-radius: 8px;
  padding: 0 14px;
  font: inherit;
  background: #fff;
}

.vja-search button {
  height: 46px;
  border: 0;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 700;
  color: #fff;
  background: #b42318;
  cursor: pointer;
}

.vja-category-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.vja-category-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: #1f3a5f;
}

.vja-updates {
  background: #fff;
  border: 1px solid #e6e8ec;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.vja-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.vja-title-row h2 {
  margin: 0;
  font-size: 22px;
  color: #111827;
}

.vja-title-row span {
  font-size: 13px;
  color: #6b7280;
}

.vja-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.vja-quick-card {
  display: block;
  min-height: 98px;
  border: 1px solid #e3e6eb;
  border-radius: 9px;
  padding: 12px;
  text-decoration: none;
  color: #111827;
  background: #fff;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.vja-quick-card:hover {
  transform: translateY(-1px);
  border-color: #b9c2cf;
  box-shadow: 0 4px 14px rgba(16, 24, 40, .07);
}

.vja-quick-label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #b42318;
}

.vja-quick-card strong {
  display: block;
  font-size: 14px;
  line-height: 1.4;
}

.vja-main-grid,
.vja-secondary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
  align-items: start;
}

.vja-section {
  overflow: hidden;
  border: 1px solid #d8dde6;
  border-radius: 10px;
  background: #fff;
}

.vja-section-title {
  margin: 0;
  padding: 11px 14px;
  font-size: 19px;
  line-height: 1.25;
  text-align: center;
  color: #fff;
  background: #b42318;
}

.vja-section-body {
  padding: 4px 14px 0;
}

.vja-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vja-link-list li {
  position: relative;
  margin: 0;
  padding: 9px 0 9px 16px;
  border-bottom: 1px solid #edf0f3;
}

.vja-link-list li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 17px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b42318;
}

.vja-link-list a {
  color: #164e91;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.vja-link-list a:hover {
  text-decoration: underline;
}

.vja-more {
  display: block;
  padding: 11px 14px;
  text-align: right;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  color: #164e91;
  background: #f8fafc;
}

.vja-empty {
  margin: 12px 0;
  color: #6b7280;
}

.vja-guide-copy {
  padding: 14px;
}

.vja-guide-copy h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #111827;
}

.vja-guide-copy h3:not(:first-child) {
  margin-top: 16px;
}

.vja-guide-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #4b5563;
}

.vja-seo-copy {
  border: 1px solid #e0e4ea;
  border-radius: 10px;
  background: #fff;
  padding: 18px;
}

.vja-seo-copy h2 {
  margin: 0 0 8px;
  font-size: 20px;
  color: #111827;
}

.vja-seo-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #4b5563;
}

@media (max-width: 900px) {
  .vja-category-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .vja-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .vja-main-grid,
  .vja-secondary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .vja-home {
    padding-top: 12px;
  }
  .vja-wrap {
    width: min(100% - 18px, 1180px);
  }
  .vja-hero {
    padding: 16px;
    border-radius: 9px;
  }
  .vja-intro {
    font-size: 15px;
  }
  .vja-search {
    display: grid;
    grid-template-columns: 1fr auto;
  }
  .vja-search button {
    padding: 0 14px;
  }
  .vja-category-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .vja-title-row {
    display: block;
  }
  .vja-title-row span {
    display: block;
    margin-top: 3px;
  }
  .vja-quick-grid,
  .vja-main-grid,
  .vja-secondary-grid {
    grid-template-columns: 1fr;
  }
  .vja-section-title {
    font-size: 18px;
  }
  .vja-link-list a {
    font-size: 15px;
  }
}
