.rd-job-wrapper {
  max-width: 900px;
  margin: 20px auto;
  padding: 10px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

.rd-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0px 2px 10px rgba(0,0,0,0.04);
}

.rd-card-title {
  font-size: 16px;
  font-weight: 800;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.rd-job-header-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.rd-job-header-item {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  padding: 12px;
  border-radius: 12px;
}

.rd-job-header-item span {
  display: block;
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 6px;
}

.rd-job-header-item b {
  font-size: 14px;
  color: #111827;
}

.rd-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.rd-subtitle {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 900;
  color: #111827;
}

.rd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.rd-table td {
  border: 1px solid #e5e7eb;
  padding: 10px;
}

.rd-muted {
  color: #6b7280;
  font-size: 13px;
}

.rd-links-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rd-link-btn {
  background: #2563eb;
  color: white;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.rd-link-btn.gray {
  background: #6b7280;
}

.rd-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rd-faq-item {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

.rd-faq-item summary {
  cursor: pointer;
  padding: 12px 14px;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
}

.rd-faq-answer {
  padding: 12px 14px;
  border-top: 1px solid #e5e7eb;
  background: #fff;
  font-size: 13px;
  color: #374151;
}

.rd-arrow {
  color: #6b7280;
}

.rd-vacancy-box {
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  padding: 12px;
  border-radius: 14px;
  margin-bottom: 12px;
}

.rd-vacancy-box h4 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 900;
}

.rd-vacancy-box p {
  margin: 0 0 10px;
  font-size: 13px;
  color: #374151;
}

.rd-doc-list {
  padding-left: 18px;
  margin: 0;
}

.rd-doc-list li {
  margin-bottom: 8px;
  font-size: 13px;
  color: #374151;
}

.rd-age-box {
  font-size: 13px;
  color: #374151;
  line-height: 1.6;
}

@media(max-width: 700px) {
  .rd-job-header-grid {
    grid-template-columns: 1fr;
  }

  .rd-two-col {
    grid-template-columns: 1fr;
  }
}


/* ===== HEADER BLOCK ===== */
.rd-header-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0px 2px 10px rgba(0,0,0,0.04);
  margin-bottom: 16px;
}

.rd-job-title {
  font-size: 20px;
  font-weight: 900;
  margin: 0 0 14px 0;
  color: #111827;
}

.rd-header-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.rd-header-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px;
  background: #f9fafb;
}

.rd-header-item span {
  font-size: 12px;
  color: #6b7280;
  display: block;
}

.rd-header-item b {
  font-size: 14px;
  color: #111827;
}

/* ===== IMPORTANT DATES + FEE ===== */
.rd-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.rd-subtitle {
  margin: 0 0 10px 0;
  font-size: 13px;
  font-weight: 800;
  color: #111827;
}

.rd-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.rd-table tr {
  border-bottom: 1px solid #e5e7eb;
}

.rd-table tr:last-child {
  border-bottom: none;
}

.rd-table td,
.rd-table th {
  padding: 10px 12px;
  font-size: 13px;
}

.rd-table td:first-child {
  font-weight: 700;
  color: #111827;
  background: #f9fafb;
  width: 55%;
}

.rd-table td:last-child {
  font-weight: 600;
  color: #374151;
  background: #ffffff;
}

/* ===== EXAM PATTERN ===== */
.rd-pattern-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.rd-pattern-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px;
  background: #f9fafb;
}

.rd-pattern-item span {
  font-size: 12px;
  color: #6b7280;
  display: block;
  margin-bottom: 5px;
}

.rd-pattern-item b {
  font-size: 14px;
  font-weight: 800;
  color: #111827;
}

/* ===== LINKS ===== */
.rd-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.rd-btn {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none !important;
  transition: 0.2s;
}

.rd-btn.blue {
  background: #2563eb;
  color: #fff !important;
}

.rd-btn.blue:hover {
  background: #1d4ed8;
}

.rd-btn.gray {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  color: #111827 !important;
}

.rd-btn.gray:hover {
  background: #e5e7eb;
}

/* ===== FAQ ===== */
.rd-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

details.rd-faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f9fafb;
  overflow: hidden;
}

details.rd-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 14px;
  font-size: 13px;
  font-weight: 800;
  color: #111827;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

details.rd-faq-item summary::-webkit-details-marker {
  display: none;
}

.rd-faq-answer {
  padding: 12px 14px;
  border-top: 1px solid #e5e7eb;
  background: #ffffff;
  font-size: 13px;
  color: #4b5563;
  line-height: 1.6;
}

/* ===== AGE CHECKER ===== */
.rd-age-box {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px;
}

.rd-age-box p {
  margin: 6px 0;
  font-size: 13px;
  color: #111827;
}

.rd-age-calc {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rd-age-calc label {
  font-size: 12px;
  font-weight: 700;
  color: #111827;
}

.rd-age-calc input {
  padding: 10px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  font-size: 13px;
}

.rd-age-btn {
  padding: 11px;
  border-radius: 12px;
  background: #2563eb;
  border: none;
  color: white;
  font-weight: 800;
  cursor: pointer;
  font-size: 13px;
}

.rd-age-btn:hover {
  background: #1d4ed8;
}

.rd-age-result {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 800;
  color: #111827;
}

/* ===== VACANCY COLLAPSE UI ===== */
.rd-vacancy-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 14px;
  border-radius: 12px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  font-weight: 900;
  font-size: 14px;
  color: #111827;
}

.rd-vacancy-toggle span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rd-vacancy-content {
  display: none;
  margin-top: 12px;
}

.rd-vacancy-content.active {
  display: block;
}

.rd-vacancy-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

/* Vacancy table */
.rd-vacancy-table th {
  background: #2563eb;
  color: white;
  font-size: 12px;
  padding: 10px;
  text-align: left;
}

.rd-vacancy-table td {
  font-size: 12px;
  padding: 10px;
  border-bottom: 1px solid #e5e7eb;
  background: white;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 700px) {
  .rd-two-col {
    grid-template-columns: 1fr;
  }
  .rd-header-grid {
    grid-template-columns: 1fr;
  }
  .rd-pattern-grid {
    grid-template-columns: 1fr;
  }
  .rd-links-grid {
    grid-template-columns: 1fr;
  }
}