html.page-cover {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

.cover-filters {
  position: sticky;
  top: var(--site-header-h);
  z-index: 35;
  margin: 0 -1rem 0.75rem;
  padding: 0.5rem 1rem 0.75rem;
  background: #fff;
}

.cover-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  flex-shrink: 0;
  border-radius: 9999px;
  border: 1px solid #e5e5e5;
  background: #fff;
  padding: 0.375rem 0.875rem;
  font-size: 13px;
  font-weight: 500;
  color: #737373;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.filter-btn:hover:not(.is-active) {
  border-color: #111;
  color: #111;
}

.filter-btn.is-active {
  border-color: #111;
  background: #111;
  color: #fff;
  font-weight: 600;
}

.cover-program {
  margin-top: 2.5rem;
  scroll-margin-top: calc(var(--site-header-h) + 4.25rem);
}

.cover-program:first-of-type {
  margin-top: 0.75rem;
}

.cover-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 1rem;
}

.cover-heading {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.06em;
  color: #111;
}

.cover-heading-bar {
  display: block;
  flex-shrink: 0;
  width: 3px;
  height: 14px;
  margin-top: 0.3em;
  background: #000;
  border-radius: 1px;
}

.cover-playlist {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  flex-shrink: 0;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #737373;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.15s ease;
}

.cover-playlist .ext-arrow {
  font-size: 10px;
  color: #a3a3a3;
  transition: color 0.15s ease;
}

.cover-playlist:hover {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cover-playlist:hover .ext-arrow {
  color: #111;
}

.cover-subheading {
  margin: 1.25rem 0 0.75rem;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #737373;
}

.cover-subheading:first-child {
  margin-top: 0;
}

.cover-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.cover-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #f0f0f0;
  border-radius: 0.75rem;
  background: #fff;
  color: inherit;
  transition: transform 0.2s ease;
}

@media (hover: hover) {
  .cover-card:hover {
    transform: translateY(-2px);
  }
}

.cover-card-link {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  color: inherit;
}

.cover-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #f5f5f5;
}

.cover-card-body {
  min-width: 0;
  padding: 0.625rem 0.75rem 0.75rem;
}

.cover-card-date {
  margin: 0 0 0.2rem;
  font-family: Oswald, Pretendard, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #888;
}

.cover-card-title {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.cover-card-meta {
  margin: 0.25rem 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  color: #737373;
}

.cover-card-links {
  margin: 0;
  padding: 0 0.75rem 0.65rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
  line-height: 1.35;
}

.cover-card-tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  color: #737373;
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: keep-all;
  transition: color 0.15s ease;
}

.cover-card-tag:hover {
  color: #111;
}

.cover-extras {
  margin: 0.75rem 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.6rem;
  font-size: 11.5px;
  line-height: 1.4;
}

.cover-extras-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #888;
  flex-shrink: 0;
}

.cover-extras-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}

.cover-extras-sep {
  color: #d4d4d4;
  font-size: 10px;
  user-select: none;
}

.cover-extra-link {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  color: #525252;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.cover-extra-link .ext-arrow {
  font-size: 10px;
  color: #a3a3a3;
  transition: color 0.15s ease;
}

.cover-extra-link:hover {
  color: #000;
}

.cover-extra-link:hover .ext-arrow {
  color: #000;
}

.cover-hint {
  margin: 2.5rem 0 0;
  text-align: center;
  font-size: 11px;
  line-height: 1.625;
  color: #a3a3a3;
}

@media (min-width: 768px) {
  .cover-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}
