/*
 * College supplemental essay prompts (eduavenues.com/college-essay-prompts, EDU-1795).
 * Loaded after tokens.css and sat-act-tools.css, which carry the chrome, PageHero, sections,
 * term lists, FAQ, CTA and opt-in. This file only adds the prompt quotations and the hub list:
 * hairline rules, serif quotations, limits in tabular figures. No cards, pills or tints.
 */

/* ---------- At a glance ---------- */

.ep-facts {
  padding-top: 56px;
}

.ep-facts .sat-terms {
  margin-top: 0;
}

/* ---------- Prompt quotations ---------- */

.ep-instructions {
  max-width: 640px;
  color: var(--ea-muted);
  font-size: 15px;
  font-style: italic;
}

.ep-group {
  margin-top: 48px;
}

.ep-group h3 {
  margin: 0 0 8px;
  color: var(--ea-ink);
  font-size: 18px;
  line-height: 1.4;
}

.ep-requirement {
  margin: 0 0 8px;
  color: var(--ea-muted);
  font-size: 14px;
  font-weight: 600;
}

.ep-group .ep-instructions {
  margin-bottom: 16px;
}

.ep-prompts {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ea-ink);
}

.ep-prompts > li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 0 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--ea-line);
}

.ep-num {
  padding-top: 4px;
  color: var(--ea-faint);
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.ep-quote {
  margin: 0;
  color: var(--ea-ink);
  font-family: var(--ea-font-serif);
  font-size: 19px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.ep-quote p {
  margin: 0 0 12px;
}

.ep-quote p:last-child {
  margin-bottom: 0;
}

.ep-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 10px 0 0;
  color: var(--ea-muted);
  font-size: 14px;
}

.ep-limit {
  color: var(--ea-ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* ---------- Hub ---------- */

.ep-hub {
  padding-top: 56px;
}

.ep-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px 24px;
  max-width: 720px;
}

.ep-filters .sat-field label {
  display: block;
  margin-bottom: 6px;
  color: var(--ea-label);
  font-size: 14px;
  font-weight: 600;
}

.ep-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b7280' stroke-width='1.5'/%3E%3C/svg%3E");
  background-position: right 16px center;
  background-repeat: no-repeat;
  font-size: 16px;
  cursor: pointer;
}

.ep-count {
  margin: 28px 0 16px;
  color: var(--ea-muted);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.ep-colleges {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ea-ink);
}

.ep-college {
  border-bottom: 1px solid var(--ea-line);
}

.ep-college > a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 4px 24px;
  align-items: baseline;
  padding: 20px 0;
  color: inherit;
  font-weight: 400;
  text-decoration: none;
}

.ep-college-name {
  color: var(--ea-ink);
  font-family: var(--ea-font-serif);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
  transition: color 0.15s ease;
}

.ep-college > a:hover .ep-college-name {
  color: var(--ea-navy);
}

.ep-college-meta {
  color: var(--ea-muted);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.ep-hub-prompts {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.ep-hub-prompts > li {
  padding: 16px 0;
  border-top: 1px solid var(--ea-line);
}

.ep-hub-prompts .ep-quote {
  font-size: 17px;
}

.ep-empty {
  padding: 24px 0;
  color: var(--ea-muted);
}

/* ---------- Other colleges ---------- */

.ep-more {
  margin: 8px 0 20px;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 32px;
  border-top: 1px solid var(--ea-line);
}

.ep-more li {
  padding: 10px 0;
  border-bottom: 1px solid var(--ea-line);
  break-inside: avoid;
}

.ep-more a {
  font-weight: 500;
}

@media (max-width: 640px) {
  .ep-filters {
    grid-template-columns: minmax(0, 1fr);
  }

  .ep-college > a {
    grid-template-columns: minmax(0, 1fr);
  }

  .ep-prompts > li {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 0 10px;
  }

  .ep-quote {
    font-size: 18px;
  }

  .ep-more {
    columns: 1;
  }
}
