
/* Mahāsarā References Typography — OJS 3.5 */
/* CSS only. No content or metadata changes. */

.page_article .item.references .value,
.page_article .references,
.page_article .article_references {
  color: #22343d;
  font-size: 0.98rem;
  line-height: 1.66;
}

/* Standard bibliography entries */
.page_article .item.references .value p,
.page_article .references p,
.page_article .article_references p,
.page_article .item.references .value li,
.page_article .references li,
.page_article .article_references li {
  margin: 0 0 1.15rem !important;
  padding-left: 1.65rem !important;
  text-indent: -1.65rem !important;

  text-align: left !important;
  line-height: 1.66 !important;
  letter-spacing: 0 !important;
  word-spacing: normal !important;

  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: none;
}

/* Remove spacing after final entry */
.page_article .item.references .value p:last-child,
.page_article .references p:last-child,
.page_article .article_references p:last-child,
.page_article .item.references .value li:last-child,
.page_article .references li:last-child,
.page_article .article_references li:last-child {
  margin-bottom: 0 !important;
}

/* Clean DOI/URL appearance */
.page_article .item.references .value a,
.page_article .references a,
.page_article .article_references a {
  color: #087d89 !important;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}

/* References heading */
.page_article .item.references > h2,
.page_article .item.references > h3,
.page_article h2.references,
.page_article h3.references {
  margin-bottom: 1rem !important;
  color: #102f42 !important;
}

/* If references are in a list, suppress browser bullets/numbers unless OJS supplies them intentionally */
.page_article .item.references .value ul,
.page_article .references ul,
.page_article .article_references ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

@media (max-width: 680px) {
  .page_article .item.references .value p,
  .page_article .references p,
  .page_article .article_references p,
  .page_article .item.references .value li,
  .page_article .references li,
  .page_article .article_references li {
    padding-left: 1.2rem !important;
    text-indent: -1.2rem !important;
    margin-bottom: 1rem !important;
    line-height: 1.62 !important;
  }
}
