@font-face {
  font-family: 'The Seasons';
  src: url('fonts/Fontspring-DEMO-theseasons-reg.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Inter', sans-serif;
  color: #1a1a1a;
  background: #f5f0eb;
}

/* Header */
header {
  text-align: center;
  padding: 2.5rem 1rem 1.5rem;
}

.site-logo {
  font-family: 'The Seasons', serif;
  font-size: 1.8rem;
  font-weight: normal;
  color: #1a1a1a;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.apostrophe {
  font-family: 'Inter', sans-serif;
}

/* Main */
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem 1.5rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Job Cards */
.job-card {
  background: #fff;
  border: 1px solid #e8e3de;
  border-radius: 12px;
  padding: 2rem;
}

.job-card h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

/* Tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.tag {
  background: #e8ece5;
  color: #3a3a3a;
  font-size: 0.82rem;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
}

.tag.time {
  background: #ddd8c4;
  color: #4a4a3a;
}

/* Actions */
.actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.btn-apply {
  display: inline-block;
  background: #7a8a6e;
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.6rem 1.4rem;
  border-radius: 20px;
  transition: opacity 0.2s;
}

.btn-apply:hover {
  opacity: 0.85;
}

.btn-details {
  background: none;
  border: none;
  color: #9a9590;
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.btn-details:hover {
  color: #6a6560;
}

.chevron {
  display: inline-block;
  font-size: 1rem;
  transition: transform 0.25s;
  line-height: 1;
}

/* Details (collapsed by default) */
.details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, margin-top 0.3s ease;
  margin-top: 0;
}

.job-card.open .details {
  max-height: 2000px;
  margin-top: 1.5rem;
}

.details h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  margin-top: 1.2rem;
  color: #1a1a1a;
}

.details h3:first-child {
  margin-top: 0;
}

.details p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: #3a3a3a;
  margin-bottom: 0.4rem;
}

.details ul {
  list-style: none;
  padding: 0;
}

.details li {
  font-size: 0.88rem;
  line-height: 1.65;
  color: #3a3a3a;
  padding-left: 1rem;
  position: relative;
  margin-bottom: 0.35rem;
}

.details li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #7a8a6e;
}

/* Responsive */
@media (max-width: 600px) {
  header {
    padding: 1.5rem 1rem 1rem;
  }

  .site-logo {
    font-size: 1.5rem;
  }

  main {
    padding: 0.75rem 1rem 2rem;
    gap: 1rem;
  }

  .job-card {
    padding: 1.4rem;
  }

  .job-card h2 {
    font-size: 1.15rem;
  }

  .tag {
    font-size: 0.75rem;
    padding: 0.3rem 0.7rem;
  }
}
