/* ============
   Base Container
   ============ */
.ccda-section {
  margin-bottom: 2rem;
  font-family: Arial, sans-serif;
  color: #333;
}

/* ============
   Headings
   ============ */
.ccda-section h1,
.ccda-section h2,
.ccda-section h3 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: #222;
}

.ccda-section h2 {
  font-size: 1.5rem;
  border-bottom: 2px solid #ccc;
  padding-bottom: 0.25rem;
}

.ccda-section h3 {
  font-size: 1.25rem;
}

/* ============
   Paragraphs
   ============ */
.ccda-section p {
  margin: 0.5rem 0;
  line-height: 1.5;
}

/* ============
   Lists
   ============ */
.ccda-section ul,
.ccda-section ol {
  margin: 0.5rem 0 0.5rem 2rem;
  line-height: 1.5;
}

.ccda-section li {
  margin: 0.25rem 0;
}

/* ============
   Tables
   ============ */
.ccda-section table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 1rem;
  overflow-x: auto;
  display: block; /* For horizontal scroll on mobile */
}

.ccda-section table th,
.ccda-section table td {
  border: 1px solid #ddd;
  padding: 0.5rem;
  text-align: left;
  vertical-align: top;
}

.ccda-section table th {
  background-color: #f2f2f2;
  font-weight: bold;
}

.ccda-section table caption {
  caption-side: top;
  text-align: left;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

/* ============
   Cross-references & Links
   ============ */
.ccda-section a {
  color: #0072ce;
  text-decoration: underline;
}

.ccda-section a:hover {
  text-decoration: none;
}

/* ============
   Misc
   ============ */
.ccda-section hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 2rem 0;
}

.ccda-section strong {
  font-weight: bold;
}

.ccda-section em {
  font-style: italic;
}

/* ==============
   styleCode Classes
   ============== */
.ccda-xSecondary {
  color: rgba(0, 0, 0, 0.65);
}

.ccda-xLabel {
  font-weight: 600;
  margin: 4px;
}

.ccda-xBorderBottom {
    border-bottom: 1px solid #000;
}
.ccda-xRowGroup tr {
}

.ccda-xRowGroup + tbody tr {
  border-top: 2px solid #ccc;  /* Optional: separate groups with border */
}
