/* Woke page. Category poster-card rules stay in category.css; this file
   adds the criteria filter, list layout, and chips. Do not edit site.css
   or category.css from here. */

.woke-page h1.type-h1 { text-wrap: balance; }

.woke-lede {
  color: #595959;
  max-width: 46rem;
  margin: 12px 0 20px;
  font-size: 16px;
  line-height: 1.55;
  text-wrap: pretty;
}

.woke-page .type-filters {
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  margin: 12px 0 0;
  padding: 0;
}

.woke-page .type-filter {
  color: #111;
  white-space: nowrap;
  cursor: pointer;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 999px;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
  display: inline-flex;
}

.woke-page .type-filter:hover { background: #f7f7f7; }

.woke-page .type-filter.on {
  color: #fff;
  background: #111;
  border-color: #111;
}

.woke-page .type-filter .type-count { color: #595959; }
.woke-page .type-filter.on .type-count { color: #ffffffb3; }

.woke-home-list,
.woke-page-list {
  gap: 0;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.woke-home-list { border-top: 1px solid var(--line, #e6e6e6); }
.woke-page-list { margin-top: 8px; }

/* Poster width matches a category-grid column at the same viewport:
   2 / 3 / 4 / 5 columns, 14px gutters — same math as .type-poster-grid. */
.woke-page-list {
  --woke-poster-cols: 2;
  --woke-poster-gap: 14px;
}
@media (min-width: 640px) {
  .woke-page-list { --woke-poster-cols: 3; }
}
@media (min-width: 900px) {
  .woke-page-list { --woke-poster-cols: 4; }
}
@media (min-width: 1200px) {
  .woke-page-list { --woke-poster-cols: 5; }
}

.woke-item {
  border-bottom: 1px solid var(--line, #e6e6e6);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 0;
  position: relative;
}

@media (width >= 640px) {
  .woke-item {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
  }
}

.woke-item .poster-tile {
  flex: 0 0 auto;
  width: calc((100% - (var(--woke-poster-cols) - 1) * var(--woke-poster-gap)) / var(--woke-poster-cols));
  max-width: none;
  min-width: 0;
  scroll-snap-align: unset;
}

/* Category stage/aspect rules are scoped to .type-poster-grid; mirror them
   so mixed-type posters here are the same size and shape. */
.woke-page-list .poster-stage {
  width: 100%;
  aspect-ratio: 2 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.woke-page-list .poster-tile.shelf-tall .poster-stage { aspect-ratio: 2 / 3; }
.woke-page-list .poster-tile.shelf-sq .poster-stage { aspect-ratio: 1 / 1; }
.woke-page-list .poster-tile.shelf-wide .poster-stage { aspect-ratio: 16 / 9; }
.woke-page-list .poster-frame { width: 100%; height: 100%; }
.woke-page-list .poster-art-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.woke-page-list .poster-art { aspect-ratio: auto; }
.woke-page-list .poster-hit {
  display: block;
  color: #111;
  text-decoration: none;
  min-width: 0;
}
.woke-page-list .star-bit { color: #111; }
.woke-page-list .poster-tile .type-badge {
  position: absolute;
  right: 8px;
  top: auto;
  bottom: 8px;
  z-index: 3;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  text-decoration: none;
}
.woke-page-list .type-badge .type-ico {
  width: 22px;
  height: 22px;
  display: block;
  background: var(--ico) center / contain no-repeat;
  filter: drop-shadow(0 0 1px #fff);
}

.woke-item-main {
  color: #111;
  letter-spacing: -.025em;
  flex: 1;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  display: flex;
  text-decoration: none;
}

.woke-item-copy { flex: auto; min-width: 0; }

.woke-item-title {
  overflow-wrap: anywhere;
  text-wrap: pretty;
  display: inline;
  font-size: 18px; /* was inherited 16px; ~1.125× on mobile */
  line-height: 1.3;
}
@media (width >= 640px) {
  .woke-item-title {
    font-size: 21px; /* 1.3125× of the previous 16px on desktop */
    line-height: 1.25;
  }
}

.woke-item-meta {
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #888;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 500;
  display: block;
}

.woke-item-main:hover .woke-item-title {
  text-underline-offset: 3px;
  text-decoration: underline;
}

.woke-mark {
  color: var(--red, #d51920);
  letter-spacing: 0;
  font-weight: 600;
  font-size: inherit;
  white-space: nowrap;
}

.woke-arrow {
  vertical-align: -2px;
  width: 14px;
  height: 14px;
  color: var(--red, #d51920);
  margin-left: 2px;
  display: inline-block;
}

.woke-item-chips {
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 6px;
  display: flex;
}

@media (width >= 640px) {
  .woke-item-chips {
    flex-shrink: 0;
    justify-content: flex-end;
    max-width: 42%;
  }
}

.woke-item-chips .pill {
  color: #595959;
  white-space: nowrap;
  background: #f7f7f7;
  border-radius: 999px;
  align-items: center;
  gap: 4px;
  height: auto;
  min-height: 36px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  text-decoration: none;
}

.woke-item-chips .pill.woke {
  background: var(--red, #d51920);
  color: #fff;
}

.woke-item-chips .pill:hover { background: #ececec; }
.woke-item-chips .pill.woke:hover {
  background: var(--red, #d51920);
  color: #fff;
}

.woke-page .empty {
  margin: 16px 0 0;
  color: #595959;
  font-size: 16px;
  text-wrap: pretty;
}

/* Current Access / mobile "WOKE" item. */
.access-menu a[aria-current="page"],
.menu-full nav a[aria-current="page"] { font-weight: 650; }
