/* ============================================================
   Prison to Praise — Cases CSS
   Bootstrap 5.3.8
   ============================================================ */

/* 1. Case Listing Card
   ------------------------------------------------------------ */
.case-list-card {
  background: #fff;
  border: 1px solid var(--ptp-border);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}

.case-list-card:hover {
  box-shadow: 0 8px 32px var(--ptp-shadow);
  transform: translateY(-3px);
}

.case-list-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  min-height: 220px;
}

.case-category-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ptp-gold-dark);
  background: var(--ptp-gold-pale);
  border: 1px solid var(--ptp-gold-light);
  border-radius: 4px;
  padding: .2rem .65rem;
  margin-bottom: .75rem;
}

.case-list-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ptp-ink);
  margin-bottom: .75rem;
  line-height: 1.3;
}

.case-list-card h3 a {
  color: inherit;
  text-decoration: none;
  transition: color .15s;
}

.case-list-card h3 a:hover { color: var(--ptp-gold-dark); }

.case-excerpt {
  font-size: .95rem;
  color: var(--ptp-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

/* 2. Breadcrumb
   ------------------------------------------------------------ */
.ptp-breadcrumb {
  font-size: .8rem;
  font-weight: 600;
  margin: 0;
}

.ptp-breadcrumb .breadcrumb-item a {
  color: var(--ptp-gold-dark);
  text-decoration: none;
  transition: color .15s;
}

.ptp-breadcrumb .breadcrumb-item a:hover { color: var(--ptp-ink); }

.ptp-breadcrumb .breadcrumb-item.active { color: var(--ptp-muted); }

.ptp-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: var(--ptp-border);
}

/* 3. Article Header
   ------------------------------------------------------------ */
.article-meta {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ptp-muted);
}

.article-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ptp-ink);
}

.article-featured-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  border: 1px solid var(--ptp-border);
}

/* 4. Article Body Content
   ------------------------------------------------------------ */
.article-content p {
  font-size: 1.05rem;
  line-height: 1.88;
  color: var(--ptp-body);
  margin-bottom: 1.25rem;
}

.article-content p:last-child { margin-bottom: 0; }

.article-content .statement {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ptp-ink);
  border-left: 4px solid var(--ptp-gold);
  padding: .5rem 0 .5rem 1.5rem;
  margin: 1.75rem 0;
  line-height: 1.55;
}

/* 5. Article Sidebar (sticky donation CTA)
   ------------------------------------------------------------ */
.article-sidebar {
  position: sticky;
  top: 80px;
}

.sidebar-cta {
  background: var(--ptp-gold-pale);
  border: 1px solid var(--ptp-gold-light);
  border-top: 4px solid var(--ptp-gold);
  border-radius: 8px;
  padding: 1.75rem;
}

.sidebar-cta h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: var(--ptp-ink);
  margin-bottom: .6rem;
}

.sidebar-cta p {
  font-size: .9rem;
  color: var(--ptp-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

/* 6. Pagination
   ------------------------------------------------------------ */
.page-link {
  color: var(--ptp-body);
  font-weight: 600;
  font-size: .85rem;
  background: #fff;
  border-color: var(--ptp-border);
}

.page-link:hover {
  background: var(--ptp-gold);
  border-color: var(--ptp-gold);
  color: var(--ptp-ink);
}

.page-item.active .page-link {
  background: var(--ptp-gold);
  border-color: var(--ptp-gold);
  color: var(--ptp-ink);
}

/* 7. Responsive
   ------------------------------------------------------------ */
@media (max-width: 768px) {
  .case-list-img { min-height: 200px; }
  .article-sidebar { position: static; }
}
