/* =========================================================
   Court Process – Victim & Witness
========================================================= */
/* Intro Section */
.court-intro {
  width: 75%;
  margin: 2rem auto;
}

.court-intro p {
  padding: 1rem;
}

/* Shared divider */
.intro-p-divider {
  border: none;
  border-top: 2px solid var(--gold);
  width: 50%;
  margin: 1.5rem auto;
}

/* Base Content */
.court-content {
  line-height: 1.65;
  font-size: 1.05rem;
  color: var(--text);
}

.court-content p {
  margin-bottom: 1.25rem;
}

.court-content strong {
  color: var(--navy);
}

/* Section headings */
.court-content h2 {
  font-size: 1.35rem;
  margin: 3rem 0 1.25rem;
  color: var(--navy);
  border-left: 4px solid var(--gold);
  padding-left: 0.75rem;
}

/* Court Info Sections */
.court-info {
  max-width: 1000px;
  margin: 2.5rem auto;
}

/* Tabs (Flow Charts) */
.court-tabs {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.court-tab {
  background: #fff;
  padding: 0.5rem 1.25rem;
  font-size: 0.95rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease;
}

.court-tab.active {
  border: none;
  border-bottom: 3px solid var(--navy);
}

/* Panels */

.court-tab-panels {
  margin-top: 1rem;
}

.court-tab-panel {
  display: none;
}

.court-tab-panel.active {
  display: block;
}

/* Court Images */
.court-image {
  text-align: center;
}

.court-image img {
  width: 100%;
  max-width: 900px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.court-image figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #555;
}

/* Courts Grid */
.court-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.court-card {
  background: #fff;
  padding: 16px 18px;
  border: 2px solid var(--navy);
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.court-card:hover {
  transform: translateY(-4px);
}

.court-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
}

.court-card p {
  margin: 0;
  line-height: 1.5;
}

/* Links & Accessibility */
.court-content a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.court-content a:hover {
  color: #0a4d78;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .court-intro {
    width: 100%;
  }

  .court-hero h1 {
    font-size: 1.75rem;
  }

  .court-tabs {
    flex-wrap: wrap;
  }
}

/* Print Safety */
@media print {
  .court-hero,
  .court-tabs,
  .quick-navbar,
  .vw-subnav {
    display: none;
  }

  .court-content {
    font-size: 11pt;
  }
}
