.art-card-list {
  max-width: 1260px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

#articleship-loading {
  padding: 2rem 0;
}

/* ===== Job Card (confirmed design) ===== */

#art-card-list .job-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e7e9ee;
  border-radius: 20px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  padding: 1.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

#art-card-list .job-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
  border-color: rgba(245, 158, 11, 0.5);
}

/* Card header: logo left, company details center, badge right */
#art-card-list .job-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

#art-card-list .job-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  padding: 4px;
  border: 1px solid var(--border-light);
  background: #fff;
  color: #0a2540;
  font-size: 1.4rem;
  flex-shrink: 0;
  overflow: hidden;
}

#art-card-list .job-icon img {
  width: 100%;
  height: 100%;
  border-radius: 9px;
  object-fit: contain;
  background: #fff;
}

#art-card-list .job-type {
  align-self: flex-start;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

#art-card-list .job-card-copy {
  min-width: 0;
  flex: 1 1 auto;
}

#art-card-list .job-card-body {
  border-top: 1px solid #eceef2;
  border-bottom: 1px solid #eceef2;
}

/* Title + description */
#art-card-list .job-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0a2540;
  margin: 0 0 0.7rem;
  line-height: 1.25;
  font-family: var(--font-heading);
}

#art-card-list .job-summary {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #6b7280;
  margin: 0;
}

/* Meta row */
#art-card-list .job-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 1rem;
  margin-top: 1.25rem;
  padding: 1.1rem 0;
  border-top: 1px solid #eceef2;
  border-bottom: 1px solid #eceef2;
  font-size: 0.85rem;
  color: #6b7280;
}

#art-card-list .job-meta span {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

#art-card-list .job-meta i {
  margin-top: 0;
  color: #f59e0b;
}

#art-card-list .job-actions {
  display: flex;
  margin-top: 1.25rem;
}

#art-card-list .job-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 54px;
  padding: 1rem 1.25rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  border: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

#art-card-list .job-btn-outline {
  border: 1px solid #d7dbe3;
  background: transparent;
  color: #0a2540;
}

#art-card-list .job-btn-outline:hover {
  border-color: #0a2540;
  background: rgba(10, 37, 64, 0.06);
}

@media (max-width: 1200px) {
  .art-card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .art-card-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  #art-card-list .job-card-header {
    align-items: center;
    gap: 0.8rem;
  }

  #art-card-list .job-icon {
    width: 50px;
    height: 50px;
  }

  #art-card-list .job-type {
    padding: 0.35rem 0.65rem;
  }
}

/* ===== Stats strip, search, filters, modal, CTA (unchanged) ===== */

.art-stats-strip {
  background: var(--primary);
  padding: 1.4rem 0;
}

.art-hero-actions {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 1.5rem 0 0.5rem;
}

.art-stats-inner {
  display: flex;
  justify-content: center;
  gap: 3.5rem;
  flex-wrap: wrap;
}

.art-stat-item {
  text-align: center;
  color: #fff;
}

.art-stat-num {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--accent-gold);
  display: block;
  line-height: 1;
}

.art-stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
  margin-top: 0.25rem;
  display: block;
}

.art-search-wrapper {
  max-width: 700px;
  margin: 0 auto 2.5rem;
  position: relative;
}

.art-search-wrapper input {
  width: 100%;
  box-sizing: border-box;
  padding: 1rem 1.4rem 1rem 3.4rem;
  font-size: 0.95rem;
  font-family: var(--font-main);
  border: 2px solid var(--border-medium);
  border-radius: var(--radius-full);
  background: #fff;
  box-shadow: var(--shadow-md);
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.art-search-wrapper input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12), var(--shadow-md);
}

.art-search-wrapper input::placeholder {
  color: var(--text-light);
}

.art-search-icon {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1rem;
  pointer-events: none;
}

.art-filter-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.art-chip {
  padding: 0.42rem 1.1rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-medium);
  background: #fff;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.art-chip:hover,
.art-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.art-details-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: grid;
  place-items: center;
  padding: 1rem;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.art-details-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.art-details-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 25, 44, 0.72);
  backdrop-filter: blur(5px);
}

.art-details-dialog {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.2rem;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-xl);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.25s ease;
}

.art-details-modal.is-open .art-details-dialog {
  transform: translateY(0) scale(1);
}

.art-details-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--primary);
  cursor: pointer;
  font-size: 1rem;
}

.art-details-close:hover {
  background: var(--primary);
  color: #fff;
}

.art-details-kicker {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background: #d1fae5;
  color: #065f46;
  font-size: 0.78rem;
  font-weight: 800;
}

.art-details-dialog h2 {
  margin: 1rem 2rem 0.45rem 0;
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 1.8rem;
  line-height: 1.15;
}

.art-details-firm {
  color: var(--primary-accent);
  font-weight: 700;
}

.art-details-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin: 1rem 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.art-details-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.art-details-meta i {
  color: var(--accent-gold);
}

.art-details-section {
  margin-top: 1.25rem;
}

.art-details-section h3 {
  margin-bottom: 0.55rem;
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 1.05rem;
}

.art-details-section p,
.art-details-section ul {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.art-details-section ul {
  display: grid;
  gap: 0.35rem;
  padding-left: 1.2rem;
}

.art-details-section li::marker {
  color: var(--accent-gold);
}

.art-details-apply {
  margin-top: 1.5rem;
}

body.art-modal-open {
  overflow: hidden;
}

.art-no-results {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
  display: none;
}

.art-cta-box {
  max-width: 940px;
  margin: 3rem auto 0;
  background: var(--dark-gradient);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.art-cta-box h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 0.4rem;
}

.art-cta-box p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 0;
}

@media (max-width: 760px) {
  .art-stats-inner {
    gap: 1.8rem;
  }

  .art-cta-box {
    flex-direction: column;
    text-align: center;
  }

  .art-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .art-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .art-search-wrapper {
    margin-bottom: 1.8rem;
  }

  .art-filter-row {
    justify-content: flex-start;
  }

  .art-chip {
    flex: 1 1 calc(50% - 0.5rem);
    text-align: center;
  }

  .art-details-dialog {
    padding: 1.5rem;
  }
}