/* --- Apply styles only inside article body of Health Sciences theme --- */
.article-details-main table {
  border-collapse: collapse;
  width: 100%;           /* Fit container */
  max-width: 100%;       /* Prevent overflow */
  table-layout: auto;    /* Natural column widths */
  margin: 1rem 0;        /* Space around tables */
  font-size: 0.8rem;     /* Smaller font for readability */
  line-height: 1.3;
  display: block;        /* Allow scroll if needed */
  overflow-x: auto;
  white-space: nowrap;   /* Prevent chopping text */
}

/* Add borders */
.article-details-main table,
.article-details-main th,
.article-details-main td {
  border: 1px solid #444;
}

/* Header cells */
.article-details-main th {
  font-weight: 600;
  text-align: center;
  background-color: #f2f2f2;
  white-space: normal;     /* Allow wrapping in headers */
}

/* Table cells */
.article-details-main th,
.article-details-main td {
  padding: 0.35rem 0.5rem; /* Compact padding */
  vertical-align: middle;
  text-align: left;
}

/* Caption styling */
.article-details-main caption {
  caption-side: top;
  font-weight: bold;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  text-align: center;
}

/* Zebra striping */
.article-details-main tbody tr:nth-child(odd) td {
  background-color: #fafafa;
}

/* First column wider */
.article-details-main td:first-child,
.article-details-main th:first-child {
  width: 30%;
  white-space: normal;   /* Wrap long text */
}

/* Compact numeric columns */
.article-details-main td:nth-child(n+3),
.article-details-main th:nth-child(n+3) {
  width: 6%;
  text-align: center;
}

/* Issue Header */
.page-issue-description-wrapper {
    display: flex;
    align-items: center; /* keep heights equal */
    justify-content: center;
    color: #009639;
}

.page-issue-static-image img {
    object-fit: cover; 
    height: 100%; 
    max-width: 80px; /* adjust width */
}

.article-details-issue-section{
    font-size: 0;
}
