/**
 * AutoPilot Jobs Theme — Modern Skin Styles
 *
 * Tech startup / SaaS job board. Dark hero, bold typography,
 * full-width card grid, glass navbar.
 *
 * CSS prefix: .apjm- (AutoPilot Jobs Modern)
 *
 * @package AutoPilotJobsTheme
 * @since   1.2.0
 */

/* ── Design Tokens ── */
.apj-skin-modern {
  --apjm-primary: #6366f1;
  --apjm-primary-dark: #4f46e5;
  --apjm-primary-light: #e0e7ff;
  --apjm-accent: #a78bfa;
  --apjm-bg: #fafafa;
  --apjm-surface: #ffffff;
  --apjm-dark: #0f1117;
  --apjm-text: #18181b;
  --apjm-text-secondary: #52525b;
  --apjm-muted: #71717a;
  --apjm-border: #e4e4e7;
  --apjm-hero-bg: linear-gradient(
    135deg,
    #1e1b4b 0%,
    #312e81 50%,
    #1e1b4b 100%
  );
  --apjm-radius: 16px;
  --apjm-radius-sm: 10px;
  --apjm-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  --apjm-shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --apjm-glow: 0 0 0 3px rgba(99, 102, 241, 0.15);
  --apjm-font:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --apjm-transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.apj-skin-modern body {
  background: var(--apjm-bg);
}

/* ── Container ── */
.apjm-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ════════════════════════════════════════════════════════════════════
   HEADER — Glass Navbar + Hero
   ════════════════════════════════════════════════════════════════════ */

/* Glass navbar */
.apjm-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.admin-bar .apjm-navbar {
  top: 32px;
}

.apjm-navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 24px;
}

.apjm-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--apjm-text);
  text-decoration: none;
  letter-spacing: -0.3px;
}

.apjm-brand:hover {
  color: var(--apjm-primary);
}

/* Center nav */
.apjm-nav {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.apjm-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--apjm-text-secondary);
  text-decoration: none;
  transition: color var(--apjm-transition);
}

.apjm-nav a:hover {
  color: var(--apjm-primary);
}

/* CTA button */
.apjm-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--apjm-primary);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--apjm-transition);
}

.apjm-cta-btn:hover {
  background: var(--apjm-primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

/* ── Hero Section ── */
.apjm-hero {
  background: var(--apjm-hero-bg);
  padding: 72px 24px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* Decorative background pattern */
.apjm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 20% 50%,
      rgba(99, 102, 241, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 80% 20%,
      rgba(167, 139, 250, 0.2) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.apjm-hero > * {
  position: relative;
}

.apjm-hero-title {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1px;
  margin: 0 0 12px;
  line-height: 1.15;
}

.apjm-hero-subtitle {
  font-size: 18px;
  opacity: 0.75;
  margin: 0 0 8px;
  font-weight: 400;
}

.apjm-hero-stats {
  font-size: 14px;
  opacity: 0.6;
  margin: 0 0 36px;
}

/* Hero search */
.apjm-hero-search {
  max-width: 640px;
  margin: 0 auto 24px;
  display: flex;
  gap: 10px;
  background: #fff;
  border-radius: 100px;
  padding: 6px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.apjm-hero-search input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: 100px;
  font-size: 15px;
  color: var(--apjm-text);
  outline: none;
  background: transparent;
}

.apjm-hero-search input::placeholder {
  color: #a1a1aa;
}

.apjm-hero-search button {
  padding: 14px 28px;
  background: var(--apjm-primary);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--apjm-transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.apjm-hero-search button:hover {
  background: var(--apjm-primary-dark);
}

/* Hero category pills */
.apjm-hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.apjm-hero-tag {
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--apjm-transition);
}

.apjm-hero-tag:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

/* ════════════════════════════════════════════════════════════════════
   ARCHIVE — Card Grid
   ════════════════════════════════════════════════════════════════════ */

/* Active filter chips */
.apjm-active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 20px 0 8px;
}

.apjm-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--apjm-primary-light);
  color: var(--apjm-primary);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
}

.apjm-filter-chip-remove {
  display: flex;
  align-items: center;
  color: var(--apjm-primary);
  opacity: 0.6;
}

.apjm-filter-chip-remove:hover {
  opacity: 1;
}

.apjm-filter-clear {
  font-size: 13px;
  color: var(--apjm-muted);
  text-decoration: underline;
  margin-left: 8px;
}

.apjm-filter-clear:hover {
  color: var(--apjm-text);
}

/* Sort bar */
.apjm-sort-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0 24px;
}

.apjm-result-count {
  font-size: 14px;
  color: var(--apjm-muted);
}

.apjm-sort-select {
  padding: 8px 36px 8px 14px;
  border: 1px solid var(--apjm-border);
  border-radius: var(--apjm-radius-sm);
  font-size: 13px;
  color: var(--apjm-text);
  background: var(--apjm-surface);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%2371717a'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
}

/* Card Grid */
.apjm-job-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.apjm-job-card {
  background: var(--apjm-surface);
  border: 1px solid var(--apjm-border);
  border-radius: var(--apjm-radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: all var(--apjm-transition);
}

.apjm-job-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--apjm-shadow-lg);
  border-color: var(--apjm-primary);
}

.apjm-job-card:hover .apjm-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Card top area */
.apjm-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.apjm-card-logo {
  width: 48px;
  height: 48px;
  border-radius: var(--apjm-radius-sm);
  overflow: hidden;
  border: 1px solid var(--apjm-border);
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.apjm-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.apjm-card-new-badge {
  padding: 4px 10px;
  background: #dcfce7;
  color: #166534;
  font-size: 11px;
  font-weight: 700;
  border-radius: 100px;
}

/* Card info */
.apjm-card-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  letter-spacing: -0.2px;
}

.apjm-card-title a {
  color: var(--apjm-text);
  text-decoration: none;
}

.apjm-card-title a:hover {
  color: var(--apjm-primary);
}

.apjm-card-company {
  font-size: 14px;
  color: var(--apjm-text-secondary);
  margin: 4px 0 0;
  font-weight: 500;
}

.apjm-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--apjm-muted);
  align-items: center;
}

.apjm-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.apjm-card-meta svg {
  width: 15px;
  height: 15px;
}

.apjm-card-salary {
  font-weight: 700;
  color: #059669;
  font-size: 15px;
}

.apjm-card-salary-null {
  color: #d4d4d8;
  font-style: italic;
  font-size: 12px;
}

/* Card footer */
.apjm-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.apjm-card-types {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.apjm-card-type-badge {
  padding: 4px 10px;
  background: var(--apjm-primary-light);
  color: var(--apjm-primary);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
}

.apjm-card-remote-pill {
  padding: 4px 10px;
  background: #ecfdf5;
  color: #047857;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
}

.apjm-card-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--apjm-primary-light);
  color: var(--apjm-primary);
  opacity: 0;
  transform: translateX(-8px);
  transition: all var(--apjm-transition);
  flex-shrink: 0;
}

.apjm-card-time {
  font-size: 12px;
  color: #a1a1aa;
}

/* ── Load More / Pagination ── */
.apjm-load-more {
  text-align: center;
  padding: 32px 0;
}

.apjm-load-more-btn {
  padding: 14px 40px;
  background: var(--apjm-surface);
  border: 1px solid var(--apjm-border);
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  color: var(--apjm-text);
  cursor: pointer;
  transition: all var(--apjm-transition);
}

.apjm-load-more-btn:hover {
  border-color: var(--apjm-primary);
  color: var(--apjm-primary);
  box-shadow: var(--apjm-glow);
}

/* Pagination */
.apjm-pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 32px 0;
}

.apjm-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--apjm-border);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--apjm-text-secondary);
  text-decoration: none;
  transition: all var(--apjm-transition);
}

.apjm-pagination .page-numbers:hover {
  border-color: var(--apjm-primary);
  color: var(--apjm-primary);
}

.apjm-pagination .page-numbers.current {
  background: var(--apjm-primary);
  color: #fff;
  border-color: var(--apjm-primary);
}

/* ── Empty State ── */
.apjm-empty {
  text-align: center;
  padding: 80px 20px;
}

.apjm-empty-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  color: #d4d4d8;
}

.apjm-empty-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--apjm-text);
  margin: 0 0 8px;
}

.apjm-empty-text {
  font-size: 15px;
  color: var(--apjm-muted);
  margin: 0;
}

/* ════════════════════════════════════════════════════════════════════
   SINGLE — Full-width with Dark Header
   ════════════════════════════════════════════════════════════════════ */

/* Back link */
.apjm-back-nav {
  padding: 24px 0 0;
}

.apjm-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--apjm-muted);
  text-decoration: none;
  transition: color var(--apjm-transition);
}

.apjm-back-link:hover {
  color: var(--apjm-primary);
}

/* Job hero block — solid dark, distinct from archive gradient hero */
.apjm-job-hero {
  background: #1a1a2e;
  padding: 48px 0;
  margin-top: 4px;
  color: #fff;
  border-bottom: 3px solid var(--apjm-primary);
}

.apjm-job-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 28px;
  align-items: center;
}

.apjm-job-hero-logo {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.apjm-job-hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.apjm-job-hero-info {
  flex: 1;
  min-width: 0;
}

.apjm-job-hero-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 12px;
  line-height: 1.2;
}

.apjm-job-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  font-size: 15px;
  opacity: 0.85;
}

.apjm-job-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.apjm-job-hero-types {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.apjm-job-hero-type {
  padding: 5px 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
}

/* Sticky apply */
.apjm-sticky-apply {
  flex-shrink: 0;
}

.apjm-apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: #fff;
  color: var(--apjm-primary);
  border: none;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--apjm-transition);
}

.apjm-apply-btn:hover {
  background: #e0e7ff;
  color: var(--apjm-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ── 3-Column Single Grid ── */
.apjm-single-grid {
  display: grid;
  grid-template-columns: 260px 1fr 260px;
  gap: 24px;
  align-items: start;
  padding: 40px 0;
}

.apjm-single-sidebar {
  position: sticky;
  top: 84px;
}

.apjm-single-main {
  min-width: 0;
}

/* ── Summary Card ── */
.apjm-summary-card {
  background: var(--apjm-surface);
  border: 1px solid var(--apjm-border);
  border-radius: var(--apjm-radius);
  padding: 24px;
  margin-bottom: 16px;
}

.apjm-summary-card h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--apjm-muted);
  margin: 0 0 16px;
}

.apjm-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--apjm-border);
  font-size: 14px;
}

.apjm-summary-label {
  color: var(--apjm-muted);
  flex-shrink: 0;
  white-space: nowrap;
}

.apjm-summary-value {
  font-weight: 500;
  color: var(--apjm-text);
  text-align: right;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.apjm-summary-apply {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  margin-top: 18px;
  background: var(--apjm-primary);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--apjm-transition);
}

.apjm-summary-apply:hover {
  background: var(--apjm-primary-dark);
  color: #fff;
}

/* ── Job Content (in center column) ── */
.apjm-job-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--apjm-text);
  margin: 0 0 16px;
  letter-spacing: -0.3px;
}

.apjm-job-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--apjm-text);
  margin: 28px 0 12px;
}

.apjm-job-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--apjm-text-secondary);
  margin-bottom: 16px;
}

.apjm-job-content ul,
.apjm-job-content ol {
  padding-left: 24px;
  margin: 16px 0;
}

.apjm-job-content li {
  font-size: 16px;
  line-height: 1.75;
  color: var(--apjm-text-secondary);
  margin-bottom: 8px;
}

/* ── Similar Jobs ── */
.apjm-similar-jobs h4 {
  margin-top: 0;
}

.apjm-similar-job-item {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--apjm-border);
  text-decoration: none;
  transition: all var(--apjm-transition);
}

.apjm-similar-job-item:hover {
  padding-left: 10px;
}

.apjm-similar-job-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--apjm-text);
  margin: 0 0 4px;
}

.apjm-similar-job-company {
  font-size: 12px;
  color: var(--apjm-muted);
  margin: 0;
}

/* ════════════════════════════════════════════════════════════════════
   FOOTER — Dark
   ════════════════════════════════════════════════════════════════════ */

.apjm-footer {
  background: var(--apjm-dark);
  color: #a1a1aa;
  padding: 64px 0 0;
  border-top: 3px solid var(--apjm-primary);
}

.apjm-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.apjm-footer-brand h3 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: -0.3px;
}

.apjm-footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.apjm-footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #71717a;
  margin: 0 0 16px;
}

.apjm-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.apjm-footer-col li {
  margin-bottom: 10px;
}

.apjm-footer-col a {
  font-size: 14px;
  color: #a1a1aa;
  text-decoration: none;
  transition: color var(--apjm-transition);
}

.apjm-footer-col a:hover {
  color: #fff;
}

.apjm-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.apjm-footer-bottom p {
  margin: 0;
}

/* ════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .apjm-job-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .apjm-navbar-inner {
    gap: 12px;
  }

  .apjm-nav {
    display: none;
  }

  .apjm-hero-title {
    font-size: 30px;
  }

  .apjm-hero-search {
    flex-direction: column;
    background: transparent;
    box-shadow: none;
    gap: 10px;
  }

  .apjm-hero-search input {
    background: #fff;
    border-radius: 100px;
  }

  .apjm-hero-search button {
    border-radius: 100px;
    justify-content: center;
  }

  .apjm-job-grid {
    grid-template-columns: 1fr;
  }

  .apjm-job-hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .apjm-job-hero-meta {
    justify-content: center;
  }

  .apjm-job-hero-types {
    justify-content: center;
  }

  .apjm-sticky-apply {
    width: 100%;
  }

  .apjm-apply-btn {
    width: 100%;
    justify-content: center;
  }

  .apjm-single-grid {
    grid-template-columns: 1fr;
  }

  .apjm-single-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .apjm-single-sidebar .apjm-summary-card {
    margin-bottom: 0;
  }

  .apjm-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 480px) {
  .apjm-hero {
    padding: 48px 16px;
  }

  .apjm-hero-title {
    font-size: 26px;
  }

  .apjm-single-grid {
    padding: 24px 0;
  }

  .apjm-single-sidebar {
    grid-template-columns: 1fr;
  }

  .apjm-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .apjm-footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media screen and (max-width: 782px) {
  .admin-bar .apjm-navbar {
    top: 46px;
  }
}

/* ════════════════════════════════════════════════════════════════════
   COMPONENTS — Badges, Views (Modern Skin)
   ════════════════════════════════════════════════════════════════════ */

/* Sponsored badge — indigo gradient pill */
.apj-skin-modern .apj-badge-sponsored {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, var(--apjm-accent), var(--apjm-primary));
  color: #fff;
  vertical-align: middle;
  margin-left: 8px;
}

.apj-skin-modern .apj-job-card--sponsored {
  border: 1px solid var(--apjm-primary);
  box-shadow: 0 0 0 1px var(--apjm-primary-light);
}

/* Featured badge — outlined indigo */
.apj-skin-modern .apj-badge-featured {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  background: var(--apjm-primary-light);
  color: var(--apjm-primary-dark);
  vertical-align: middle;
  margin-left: 8px;
}

.apj-skin-modern .apj-job-card--featured {
  border: 1px solid var(--apjm-primary-light);
}

/* Card views count */
.apj-skin-modern .apjm-card-views {
  font-size: 11px;
  color: var(--apjm-muted);
  margin-left: 8px;
}

/* Shortcode job cards (Popular Jobs, Related Jobs, etc.) */
.apj-skin-modern .apj-shortcode-job-card {
  background: var(--apjm-surface);
  border: 1px solid var(--apjm-border);
  border-radius: 12px;
  padding: 20px;
  transition: box-shadow 0.2s;
}

.apj-skin-modern .apj-shortcode-job-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.apj-skin-modern .apj-shortcode-job-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px;
}

.apj-skin-modern .apj-shortcode-job-title a {
  color: var(--apjm-text);
  text-decoration: none;
}

.apj-skin-modern .apj-shortcode-job-title a:hover {
  color: var(--apjm-primary);
}

.apj-skin-modern .apj-shortcode-job-meta {
  font-size: 14px;
  color: var(--apjm-muted);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 0;
  border-bottom: 1px solid var(--apjm-border);
}

.apj-skin-modern .apj-shortcode-job-card:last-child .apj-shortcode-job-meta {
  border-bottom: none;
}

.apj-skin-modern .apj-shortcode-job-views {
  font-size: 11px;
  color: var(--apjm-muted);
  margin-left: auto;
}

.apj-skin-modern .apj-related-jobs {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--apjm-border);
}

.apj-skin-modern .apj-related-jobs__title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--apjm-muted);
  margin: 0 0 16px;
}
