/* Main page essay filters and list styles. */
.essays-list { display: flex; flex-direction: column; }

.essay-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--fg);
  cursor: pointer;
  transition: padding-left .3s, background .3s;
  gap: 16px;
}
.essay-row:hover {
  padding-left: 24px;
  background: rgba(255,184,0,0.05);
}

.essay-left  { flex: 1; min-width: 0; }

.essay-title {
  font-family: 'Lora', 'Inter', 'Noto Serif SC', serif;
  font-size: 17px;
  font-weight: 600;
  display: block;
}

.essay-excerpt {
  font-family: 'Lora', 'Inter', 'Noto Serif SC', serif;
  font-size: 13px;
  color: var(--muted);
  margin-top: 5px;
  display: block;
  line-height: 1.5;
}

.essay-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.essay-tag {
  font-family: 'Lora', 'Inter', 'Noto Serif SC', serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c3);
}

.essay-meta {
  font-family: 'Lora', 'Inter', 'Noto Serif SC', serif;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.essay-arr {
  font-size: 16px;
  color: var(--muted);
  transition: transform .2s ease, color .2s ease;
  display: inline-block;
}
.essay-row:hover .essay-arr {
  transform: translateX(5px);
  color: var(--c3);
}

.essay-filter-shell {
  margin: 0 0 52px;
}
.essay-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.essay-filter-primary {
  align-items: center;
  border-bottom: 1px solid var(--line);
  gap: 36px;
}
.essay-subfilter {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: baseline;
  column-gap: 24px;
  row-gap: 0;
  margin-top: 10px;
  color: var(--muted);
}
.essay-filter-primary + .essay-subfilter {
  padding-top: 8px;
}
.essay-type-filter {
  margin-top: 8px;
}
.essay-subfilter .ef-label {
  width: auto;
  min-width: 0;
  margin-right: 0;
  font-family: 'Lora', 'Inter', 'Noto Serif SC', serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  color: color-mix(in srgb, var(--muted) 74%, var(--bg));
}
.essay-subfilter .ef-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  min-width: 0;
}
.essay-filter .ef-chip {
  font-family: 'Lora', 'Inter', 'Noto Serif SC', serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 18px 10px 0;
  margin-right: 24px;
  border-radius: 0;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  transition: color .16s ease, border-color .16s ease;
  user-select: none;
  line-height: 1;
  appearance: none;
}
.essay-filter .ef-chip:hover {
  color: var(--fg);
}
.essay-filter .ef-chip.active {
  color: var(--fg);
  border-bottom-color: var(--c3);
  box-shadow: none;
}
.essay-filter .ef-chip.active:hover { color: var(--fg); }
.essay-filter-primary .ef-chip {
  padding: 0 0 10px;
  margin-right: 0;
}
.essay-subfilter .ef-chip {
  min-height: auto;
  padding: 3px 0 4px;
  margin: 0;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  transition: color .16s ease, border-color .16s ease;
}
.essay-subfilter .ef-chip:hover {
  color: var(--fg);
  border-color: transparent;
}
.essay-subfilter .ef-chip.active {
  color: var(--fg);
  border-color: var(--c3);
  background: transparent;
  box-shadow: none;
}
.essay-subfilter .ef-chip.active:hover { color: var(--fg); }
.essay-type-filter .ef-chip {
  font-weight: 600;
  color: var(--muted);
}
.essay-type-filter .ef-chip.active {
  color: var(--fg);
}
.essay-filter .ef-more {
  display: inline-block; padding: 3px 12px; font-size: 11px;
  color: var(--muted); cursor: pointer; user-select: none;
}
.essay-filter .ef-more:hover { color: var(--fg); }
.photo-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  margin: 0 0 22px;
  border-bottom: 1px solid var(--line);
}
.photo-filter .ef-chip {
  font-family: 'Lora', 'Inter', 'Noto Serif SC', serif;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0 9px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  transition: color .16s ease, border-color .16s ease;
}
.photo-filter .ef-chip:hover {
  color: var(--fg);
}
.photo-filter .ef-chip.active {
  color: var(--fg);
  border-bottom-color: var(--c2);
}
