@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  --ink: #12100e;
  --paper: #f9f6f1;
  --saffron: #e07b00;
  --green: #1a5c38;
  --border: #e0d8cc;
  --white: #ffffff;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
}

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

body {
  font-family: 'DM Sans', Georgia, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
}

.container { max-width: 860px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  background: var(--ink);
  padding: 16px 0;
  border-bottom: 3px solid var(--saffron);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.logo { color: #fff; font-size: 1.3rem; font-weight: 700; text-decoration: none; letter-spacing: -0.5px; }
.logo span { color: var(--saffron); }
nav a { color: #ccc; text-decoration: none; margin-left: 20px; font-size: 0.9rem; transition: color 0.2s; }
nav a:hover { color: var(--saffron); }

/* Main */
main.container { padding: 36px 20px 60px; }

/* Typography */
h1 { font-size: 1.9rem; line-height: 1.3; margin-bottom: 12px; }
h2 { font-size: 1.25rem; margin: 32px 0 12px; color: var(--green); border-left: 3px solid var(--saffron); padding-left: 10px; }
h3 { font-size: 1.05rem; margin: 24px 0 10px; color: var(--green); }
h4 { font-size: 0.95rem; margin-bottom: 6px; }
p { margin-bottom: 14px; font-size: 0.95rem; }

/* Lang badge */
.lang-badge {
  display: inline-block;
  background: var(--saffron);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

/* Article meta */
.article-meta {
  font-size: 0.78rem;
  color: #777;
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.article-meta a { color: var(--saffron); }
.multi-badge {
  background: #eaf4ee;
  color: var(--green);
  padding: 2px 10px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.7rem;
}

.intro { font-size: 1.05rem; color: #333; margin-bottom: 20px; }
.closing { background: #eaf4ee; border-left: 3px solid var(--green); padding: 14px 18px; border-radius: 0 8px 8px 0; font-size: 0.95rem; margin-top: 10px; }

/* Tables */
.details-table, .dates-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
  border-radius: 8px;
  overflow: hidden;
}
.details-table td, .dates-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}
.details-table tr:last-child td, .dates-table tr:last-child td { border-bottom: none; }
.details-table td.label { font-weight: 600; width: 40%; background: #f5f0e8; }
.dates-table td:first-child { font-weight: 500; }

/* Steps */
.apply-steps { padding-left: 22px; margin-bottom: 20px; }
.apply-steps li { margin-bottom: 9px; font-size: 0.92rem; }

/* FAQs */
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}
.faq-item h4 { color: var(--green); }

/* Lang divider */
.lang-divider { border: none; border-top: 2px dashed var(--border); margin: 44px 0; }
.lang-section { margin-bottom: 20px; }

/* Homepage */
.subtitle { color: #777; margin-bottom: 32px; font-size: 0.9rem; }
.no-articles { color: #999; font-style: italic; }
.jobs-grid { display: grid; gap: 14px; }
.job-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  border-left: 4px solid var(--saffron);
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s;
}
.job-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.12); }
.job-card h2 { font-size: 1rem; margin: 0 0 6px; }
.job-card h2 a { color: var(--ink); text-decoration: none; }
.job-card h2 a:hover { color: var(--saffron); }
.job-card .date { font-size: 0.75rem; color: #999; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: #aaa;
  padding: 20px 0;
  margin-top: 60px;
  font-size: 0.82rem;
  text-align: center;
}
.site-footer a { color: #ccc; }
.site-footer a:hover { color: var(--saffron); }

/* Responsive */
@media (max-width: 600px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.1rem; }
  .details-table td.label { width: 45%; }
  .article-meta { gap: 8px; }
}
