html {
  scroll-behavior: smooth;
  min-height: 100%;
  background-image: url("marb18-30.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

body {
  font-family: "Charis SIL", serif;
  line-height: 1.45;
  color: #111;
  max-width: 800px;
  margin: 2rem auto;
  padding: 1.5rem 2rem;
  text-align: left;
  }
div {
    background-image: url("marb18-30.jpg");
}
/* Header & Navigation */
.page-header {
  margin-bottom: 1.75rem;
  border-bottom: 2px solid #222;
  padding-bottom: 1rem;
  text-align: center;
}

.page-header h1 {
  font-size: 18pt;
  margin: 0 0 0.75rem 0;
}

.header-actions {
  margin-bottom: 0.85rem;
}

.jump-btn {
  display: inline-block;
  font-family: "Charis SIL", serif;
  font-size: 10pt;
  padding: 0.3rem 0.8rem;
  background: #222;
  color: #fff;
  text-decoration: none;
  border-radius: 3px;
}

.jump-btn:hover {
  background: #444;
}

.alphabet-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
}

.alpha-btn {
  font-family: "Charis SIL", serif;
  font-size: 11pt;
  padding: 0.2rem 0.55rem;
  border: 1px solid #bbb;
  background: #f8f8f8;
  color: #111;
  cursor: pointer;
  border-radius: 3px;
}

.alpha-btn:hover {
  background: #e8e8e8;
}

.alpha-btn.active {
  background: #222;
  color: #fff;
  border-color: #222;
}

.letter-index {
  margin-top: 0.85rem;
  padding: 0.6rem 0.75rem;
  background: #f4f4f4;
  border-left: 3px solid #222;
  font-size: 10pt;
  text-align: left;
}

.letter-index a {
  color: #111;
  text-decoration: none;
  font-weight: bold;
}

.letter-index a:hover {
  text-decoration: underline;
}

.back-top {
  float: right;
  font-size: 9pt;
  font-weight: normal;
  color: #555;
  text-decoration: none;
}

.back-top:hover {
  text-decoration: underline;
}

/* Dictionary Entries */
h2 {
  font-size: 12pt;
  font-weight: bold;
  margin-top: 2rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.25rem;
}

.entry {
  margin-bottom: 1.25rem;
}

.lx {
  font-size: 12pt;
  font-weight: bold;
}

.subentry {
  display: flex;
  align-items: flex-start;
  margin-left: 1.5rem;
  margin-top: 0.5rem;
  gap: 1.5rem;
}

.se {
  font-size: 10pt;
  font-weight: bold;
  flex: 0 0 140px;
}

.sub-details-col {
  flex: 1;
}

.sub-detail {
  margin-left: 0;
}

.mr,
.cf {
  font-size: 10pt;
  font-weight: normal;
}

.gc,
.de {
  font-size: 10pt;
  font-style: italic;
}

.re-item {
  font-size: 10pt;
  font-weight: normal;
  margin-bottom: 0.2rem;
}

/* Finder & Highlights */
.finder-link {
  color: #111;
  text-decoration: none;
  border-bottom: 1px dotted #666;
}

.finder-link:hover {
  color: #000;
  border-bottom: 1px solid #000;
}

.highlight-target {
  background-color: #fff8c5;
  transition: background-color 0.6s ease;
  border-radius: 3px;
}
/* Make dictionary entry divs transparent so the marble background shows through */
.entry,
.subentry,
.sub-details-col,
.sub-detail,
.re-item {
  background-color: transparent !important;
}

/* Optional: Make the letter index box semi-transparent instead of solid gray */
.letter-index {
  background-color: rgba(244, 244, 244, 0.75) !important;
}
/* Force all divs and structural containers to let the background image show through */
body div,
body section,
body article,
body main,
body p,
body ul,
body li,
body table,
body td,
body th {
  background-color: transparent !important;
  background-image: none !important;
}