/* ═══════════════════════════════════════════
   COLLECTIONS — /collections/ ve /collections/<slug>/
   tools/build-collections.js uretir. Kartlar main.css (.bento-card)
   ve models.css (.md-card) siniflarini kullanir.
═══════════════════════════════════════════ */

.cl-page .cl-text { max-width: 760px; }
.cl-page h2.cl-h2 { margin-top: 2.6rem; }
.cl-sub { color: var(--muted); max-width: 760px; margin: -.3rem 0 1.4rem; font-size: .95rem; line-height: 1.7; }

.cl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.4rem;
  margin: 0 0 1rem;
}
.cl-item { display: flex; flex-direction: column; min-width: 0; }
.cl-item > .bento-card,
.cl-item > .md-card { flex: 1; }
.cl-item .bento-thumb { height: 190px; }
.cl-item .bento-body { padding: 1.2rem 1.3rem 1.3rem; }
.cl-item .bento-body h3 { font-size: 1.05rem; }
.cl-item .bento-arrow { margin-top: .8rem; }

.cl-tip {
  margin-top: .65rem;
  padding: .8rem 1rem .85rem;
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: 0 12px 12px 0;
  font-size: .86rem;
  line-height: 1.65;
  color: var(--text);
}
.cl-tip-h {
  display: block;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: .25rem;
}
.cl-tip p { margin: 0; font-size: inherit; line-height: inherit; }

.cl-meta { color: var(--muted); font-size: .8rem; margin-top: .6rem; }

.cl-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2.4rem 0 0; }
.cl-badge {
  display: inline-block;
  padding: .45rem .9rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 600;
  text-decoration: none;
  background: var(--surface);
}
.cl-badge:hover { color: var(--text); border-color: var(--accent); }
.cl-badge.is-current { color: #fff; background: var(--accent); border-color: var(--accent); }

@media (max-width: 600px) {
  .cl-grid { grid-template-columns: 1fr; gap: 1.1rem; }
  .cl-item .bento-thumb { height: 170px; }
}
