/* About > Student Achievements — layout comes from the shared .sp-* kit in base.css */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Open+Sans:wght@400;600&display=swap');

:root {
  --ach-red: #d32f2f;
  --ach-panel: #eaf1fb;
  --ach-serif: 'Cormorant Garamond', 'Cormorant', serif;
  --ach-sans: 'Open Sans', system-ui, sans-serif;
}

.ach-first { padding-top: 40px; }

/* ---------- Headings: caps, red, Cormorant 500, red underline ---------- */
.ach-head { text-align: center; margin: 0 auto 28px; }
.ach-head h2,
.ach-head h3 {
  display: inline-block;
  max-width: 100%;
  margin: 0;
  font-family: var(--ach-serif);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.25;
  color: var(--ach-red);
  padding-bottom: 8px;
  border-bottom: 3px solid var(--ach-red);
}
.ach-head h2 { font-size: 2.4rem; }
.ach-head h3 { font-size: 2rem; border-bottom-width: 2px; }

/* ---------- Image placeholder (2380 x 2436) ---------- */
.ach-ph {
  position: relative;
  margin: 0 auto 64px;
  width: 100%;
  max-width: 640px;
  aspect-ratio: var(--ratio, 2380 / 2436);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #eef2f7, #dde5ef);
  border: 2px dashed #b6c3d6;
  box-shadow: 0 10px 28px rgba(15, 40, 80, .10);
}
.ach-ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 2;
}
.ach-ph:has(img) { border: 0; }
.ach-ph-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #6b7c93;
  font-family: var(--ach-sans);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .5px;
}
.ach-ph-label i { font-size: 1.8rem; opacity: .7; }

/* ---------- Result analysis table ---------- */
.ach-result { margin: 0 auto 24px; }

.ach-table-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: var(--ach-panel);
  border-radius: 40px 120px 40px 40px;
  padding: 28px 36px;
}
.ach-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--ach-sans);
  color: #000;
}
.ach-table th {
  font-family: var(--ach-serif);
  font-size: 1.4rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ach-red);
  text-align: left;
  padding: 10px 14px 12px;
  border-bottom: 2px solid var(--ach-red);
}
.ach-table th:last-child,
.ach-table td:last-child { text-align: right; }

.ach-table td {
  padding: 16px 14px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #000;
  border-bottom: 1px solid rgba(0, 0, 0, .12);
}
.ach-table td:first-child { text-transform: uppercase; letter-spacing: .5px; }
.ach-table td:last-child { font-size: 1.25rem; }
.ach-table tbody tr:last-child td { border-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .ach-head h2 { font-size: 2rem; }
  .ach-head h3 { font-size: 1.7rem; }
  .ach-table-wrap { border-radius: 32px 96px 32px 32px; padding: 24px 24px; }
}
@media (max-width: 560px) {
  .ach-head h2 { font-size: 1.5rem; }
  .ach-head h3 { font-size: 1.4rem; }
  .ach-table-wrap { padding: 20px 14px; }
  .ach-table th { font-size: 1.15rem; padding: 8px 8px 10px; }
  .ach-table td { padding: 14px 8px; font-size: .95rem; }
  .ach-table td:last-child { font-size: 1.1rem; }
}