/* Listing-only styles: category shelves and compact landscape cards. */
.catalog-header {
  display: grid;
  place-items: center;
  min-height: clamp(130px, 15vw, 180px);
  padding: 32px var(--page-gutter);
  background: var(--navy);
  color: white;
  text-align: center;
}
.catalog-header h1 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -.035em;
}
.catalog-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.catalog-card {
  min-width: 0;
  border: 1px solid #e6eaf0;
  border-radius: 12px;
  background: white;
  box-shadow: 0 2px 4px #17243b03;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.catalog-card:hover {
  border-color: #b8c9ee;
  box-shadow: 0 4px 14px #17243b09;
}
.catalog-card__link {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 14px 16px;
  height: 100%;
  padding: 16px;
  border-radius: inherit;
}
.catalog-card__cover {
  width: 92px;
  min-width: 0;
}
.catalog-card__cover > img {
  width: 100%;
  height: auto;
  max-height: 92px;
  object-fit: contain;
  border-radius: 6px;
}
.catalog-card__cover .blog-card__placeholder {
  aspect-ratio: 16 / 10;
  border-radius: 6px;
}
.catalog-card__body {
  min-width: 0;
  min-height: 86px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}
.catalog-card__category {
  display: block;
  color: var(--brand);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .015em;
  overflow-wrap: anywhere;
}
.catalog-card h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.45;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.catalog-card__link:hover h3 { color: var(--brand); }
.catalog-card time { font-size: 11px; color: var(--muted); }
.catalog-card__footer {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #eef1f5;
  padding-top: 11px;
}
.catalog-card__read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: var(--brand);
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
}
.catalog-card__read svg { width: 14px; height: 14px; }
.catalog-category {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  min-width: 0;
}
.catalog-row-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 14px;
}
.catalog-all, .catalog-back {
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
}
.catalog-all:hover, .catalog-back:hover { text-decoration: underline; }
.catalog-back { display: inline-block; margin-bottom: 22px; }
.catalog-arrows { display: flex; gap: 6px; }
.catalog-arrows[hidden] { display: none; }
.catalog-arrows button {
  width: 32px;
  height: 32px;
  border: 1px solid #d8dfeb;
  border-radius: 50%;
  background: white;
  color: var(--ink);
  cursor: pointer;
}
.catalog-arrows button:hover:not(:disabled) { background: #eef3ff; border-color: var(--brand); }
.catalog-arrows button:disabled { opacity: .3; cursor: default; }
.catalog-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: #c7d3e8 transparent;
  padding: 4px 3px 12px;
  margin: -4px -3px 0;
}
.catalog-track > .catalog-card {
  flex: 0 0 350px;
  scroll-snap-align: start;
}
.catalog-track:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
@media (min-width: 901px) and (max-width: 1100px) {
  .catalog-results { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .catalog-results { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .catalog-track > .catalog-card { flex-basis: 88%; }
  .catalog-card__link { grid-template-columns: 80px minmax(0, 1fr); gap: 12px; padding: 14px; }
  .catalog-card__cover { width: 80px; }
  .catalog-card__cover > img { max-height: 80px; }
  .catalog-card__body { min-height: 78px; }
  .catalog-card h3 { font-size: 13px; }
  .catalog-category { margin-top: 26px; padding-top: 22px; }
  .catalog-row-actions { gap: 8px; }
  .catalog-arrows button { width: 30px; height: 30px; }
  .catalog-all { font-size: 11px; }
  .catalog-category .blog-section-heading { align-items: center; flex-wrap: wrap; }
}
