/* Listing pages: /blog/ and /colecoes-musicais/. Built on home.css, brand.css and guias.css. */
.header nav a[aria-current="page"] { color: var(--purple); }
.listing-hero { padding-block: 48px 44px; max-width: 820px; }
.listing-hero .eyebrow { color: var(--purple); margin-bottom: 18px; }
.listing-hero h1 { font-size: clamp(36px, 4.5vw, 60px); line-height: 1.08; letter-spacing: -2px; }
.listing-hero h1 span { color: var(--purple); }

.listing-grid { list-style: none; margin: 0; padding: 0 0 72px; display: grid; gap: 28px; }
.collection-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.listing-grid > li { display: flex; min-width: 0; }

.listing-card { display: flex; flex-direction: column; width: 100%; overflow: hidden; background: #fffdf6; border: 1px solid var(--line); border-radius: 24px; transition: transform .2s, box-shadow .2s; }
.listing-body { display: flex; flex-direction: column; flex: 1; gap: 12px; padding: 24px 26px 28px; }
.listing-body h2 { font-size: 25px; line-height: 1.2; letter-spacing: -.6px; }
.listing-body h2 a:hover { color: var(--purple); }
.listing-body > p:not(.listing-tags) { color: var(--muted); font-size: 15px; line-height: 1.65; }
.listing-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.listing-tags span, .listing-tags time { padding: 5px 12px; border: 1px solid var(--line); border-radius: 30px; font-size: 12px; font-weight: 800; line-height: 1.4; }
.listing-body .button { margin-top: auto; align-self: flex-start; min-height: 52px; padding: 14px 22px; gap: 14px; font-size: 14px; }
.listing-body .text-link { margin-top: auto; align-self: flex-start; color: var(--purple); }

.collection-image { display: block; aspect-ratio: 1; background: var(--lilac); }
.collection-image img { width: 100%; height: 100%; object-fit: cover; }

.post-image { display: flex; justify-content: center; height: 300px; padding-top: 30px; overflow: hidden; background: var(--lilac); }
.post-grid > li:nth-child(2n) .post-image { background: var(--mint); }
.post-image img { width: 210px; height: auto; align-self: flex-start; border-radius: 22px 22px 0 0; box-shadow: 0 12px 25px #2927351a; }

@media (hover: hover) {
  .listing-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px #29273514; }
}
@media (prefers-reduced-motion: reduce) {
  .listing-card { transition: none; }
  .listing-card:hover { transform: none; }
}
@media (max-width: 1000px) {
  .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .listing-hero { padding-block: 30px 28px; }
  .listing-hero h1 { font-size: 39px; letter-spacing: -1.5px; }
  .collection-grid, .post-grid { grid-template-columns: 1fr; gap: 20px; }
  .listing-grid { padding-bottom: 48px; }
  .listing-body { padding: 20px 20px 24px; }
  .listing-body h2 { font-size: 23px; }
  .post-image { height: 240px; padding-top: 24px; }
  .post-image img { width: 170px; }
}
@media (max-width: 360px) {
  .listing-hero h1 { font-size: 34px; }
}
