/* CLAT 2026 Results — Knowledge Nation Law Centre */

.clat26-page {
  --clat26-navy: #0a225f;
  --clat26-gold: #e6ad38;
  --clat26-ink: #1c1915;
  --clat26-muted: #4a5568;
  --clat26-line: #e4dfd4;
  --clat26-paper: #f7f5f0;
  --clat26-soft: #f3efe6;
}

.clat26-page .sem-wrap {
  max-width: 1120px;
}

.clat26-intro {
  margin: 0 0 28px;
  color: var(--clat26-muted);
  line-height: 1.75;
  font-size: 1.02rem;
}

.clat26-intro a {
  color: #8a6a14;
  font-weight: 700;
  text-decoration: none;
}

.clat26-intro a:hover,
.clat26-intro a:focus {
  text-decoration: underline;
}

.clat26-panel {
  background: #fff;
  border: 1px solid var(--clat26-line);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(28, 25, 21, 0.06);
  overflow: hidden;
  margin: 0 0 36px;
}

.clat26-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: flex-end;
  justify-content: space-between;
  padding: 16px 18px;
  background: linear-gradient(180deg, #fff 0%, var(--clat26-soft) 100%);
  border-bottom: 1px solid var(--clat26-line);
  position: sticky;
  top: 0;
  z-index: 5;
}

.clat26-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex: 1 1 280px;
}

.clat26-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 180px;
  flex: 1 1 200px;
}

.clat26-field label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clat26-navy);
  font-family: "Roboto Condensed", "Open Sans", sans-serif;
}

.clat26-field input,
.clat26-field select {
  appearance: none;
  border: 1px solid #d8d2c6;
  border-radius: 10px;
  background: #fff;
  padding: 10px 12px;
  font-size: 0.95rem;
  color: var(--clat26-ink);
  line-height: 1.3;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.clat26-field input:focus,
.clat26-field select:focus {
  outline: none;
  border-color: var(--clat26-gold);
  box-shadow: 0 0 0 3px rgba(230, 173, 56, 0.25);
}

.clat26-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex: 0 0 auto;
  min-width: 140px;
}

.clat26-count {
  font-family: "Roboto Condensed", "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--clat26-navy);
  margin: 0;
}

.clat26-hint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--clat26-muted);
}

.clat26-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-height: min(70vh, 780px);
  overflow-y: auto;
}

.clat26-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 860px;
  font-size: 0.94rem;
}

.clat26-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--clat26-navy);
  color: #fff;
  font-family: "Roboto Condensed", "Open Sans", sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: left;
  padding: 14px 16px;
  white-space: nowrap;
  border-bottom: 3px solid var(--clat26-gold);
}

.clat26-table tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--clat26-line);
  color: #2d3748;
  vertical-align: middle;
}

.clat26-table tbody tr:nth-child(even) td {
  background: #fbfaf7;
}

.clat26-table tbody tr:hover td {
  background: #fff8e8;
}

.clat26-table .clat26-name {
  font-weight: 700;
  color: var(--clat26-ink);
}

.clat26-table .clat26-id {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86rem;
  color: #475569;
  letter-spacing: 0.02em;
}

.clat26-air {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.2rem;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-family: "Roboto Condensed", "Open Sans", sans-serif;
  background: #eef2ff;
  color: var(--clat26-navy);
  line-height: 1.2;
}

.clat26-air.is-top {
  background: linear-gradient(135deg, #f5d78e 0%, var(--clat26-gold) 100%);
  color: #3a2a05;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset;
}

.clat26-college {
  font-weight: 600;
  color: var(--clat26-navy);
}

.clat26-empty {
  display: none;
  padding: 28px 20px;
  text-align: center;
  color: var(--clat26-muted);
  background: var(--clat26-paper);
  border-top: 1px solid var(--clat26-line);
}

.clat26-empty.is-visible {
  display: block;
}

.clat26-section {
  margin: 0 0 32px;
}

.clat26-section h2 {
  font-family: "Roboto Condensed", "Open Sans", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--clat26-navy);
  margin: 0 0 10px;
}

.clat26-section p {
  margin: 0 0 12px;
  color: var(--clat26-muted);
  line-height: 1.75;
}

.clat26-section a {
  color: #8a6a14;
  font-weight: 700;
}

.clat26-faq {
  margin: 0;
  padding: 0;
  list-style: none;
}

.clat26-faq details {
  border: 1px solid var(--clat26-line);
  border-radius: 12px;
  background: #fff;
  margin: 0 0 10px;
  padding: 0;
  overflow: hidden;
}

.clat26-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 18px;
  font-weight: 700;
  color: var(--clat26-ink);
  font-family: "Roboto Condensed", "Open Sans", sans-serif;
  position: relative;
}

.clat26-faq summary::-webkit-details-marker {
  display: none;
}

.clat26-faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--clat26-gold);
  font-weight: 800;
  font-size: 1.15rem;
}

.clat26-faq details[open] summary::after {
  content: "–";
}

.clat26-faq details p {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--clat26-muted);
  line-height: 1.7;
}

.clat26-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0 0;
}

.clat26-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  font-family: "Roboto Condensed", "Open Sans", sans-serif;
  letter-spacing: 0.02em;
}

.clat26-cta .clat26-btn-primary {
  background: var(--clat26-gold);
  color: #2c2a26;
}

.clat26-cta .clat26-btn-primary:hover,
.clat26-cta .clat26-btn-primary:focus {
  filter: brightness(0.96);
  color: #2c2a26;
}

.clat26-cta .clat26-btn-ghost {
  background: transparent;
  color: var(--clat26-navy);
  border: 1px solid #c9c2b4;
}

.clat26-cta .clat26-btn-ghost:hover,
.clat26-cta .clat26-btn-ghost:focus {
  border-color: var(--clat26-navy);
}

/* Card stack on narrow screens */
@media (max-width: 720px) {
  .clat26-toolbar {
    position: static;
  }

  .clat26-meta {
    align-items: flex-start;
    width: 100%;
  }

  .clat26-table-wrap {
    max-height: none;
    overflow: visible;
  }

  .clat26-table {
    min-width: 0;
    border-collapse: collapse;
  }

  .clat26-table thead {
    display: none;
  }

  .clat26-table tbody tr {
    display: block;
    margin: 0 14px 14px;
    border: 1px solid var(--clat26-line);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(28, 25, 21, 0.04);
  }

  .clat26-table tbody tr:nth-child(even) td,
  .clat26-table tbody tr:hover td {
    background: transparent;
  }

  .clat26-table tbody td {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    gap: 8px;
    padding: 10px 14px;
    border-bottom: 1px solid #efeae0;
  }

  .clat26-table tbody td:last-child {
    border-bottom: 0;
  }

  .clat26-table tbody td::before {
    content: attr(data-label);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #64748b;
    align-self: center;
  }

  .clat26-table tbody td.clat26-name {
    background: linear-gradient(180deg, var(--clat26-soft), #fff);
    border-bottom: 1px solid var(--clat26-line);
    font-size: 1.05rem;
  }
}
