
/* CEMETERY */
  .cemetery-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem 1.5rem;
  max-width: 1100px;
}

.cemetery-list a {
  display: block;
  padding: 0.15rem 0;
  text-decoration: none;
  color: #003366;            /* KYGenWeb-friendly blue */
  font-size: 0.95rem;
}

.cemetery-list a:hover {
  text-decoration: underline;
  color: #990000;
}
@media (max-width: 900px) {
  .cemetery-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 550px) {
  .cemetery-list {
    grid-template-columns: 1fr;
  }
}

/* Three column */

.three-col-list {
  column-count: 3;
  column-gap: 2rem;
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.three-col-list li {
  break-inside: avoid;
  margin-bottom: 0.35rem;
}

.three-col-list a {
  text-decoration: none;
}

.three-col-list a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .three-col-list {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .three-col-list {
    column-count: 1;
  }
}
/* ALPHA LISTS */

.alpha-index {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.alpha-index a,
.alpha-index .alpha-disabled {
  display: inline-block;
  min-width: 2.1rem;
  text-align: center;
  padding: 0.3rem 0.45rem;
  border-radius: 0.4rem;
  font-weight: 600;
}

.alpha-index a {
  background: var(--kyg-light);
  color: var(--kyg-navy);
  text-decoration: none;
}

.alpha-index a:hover {
  background: var(--kyg-navy);
  color: #fff;
}

.alpha-index .alpha-disabled {
  background: #eee;
  color: #999;
  cursor: default;
}

.record-range {
  font-size: 1.05rem;
  font-weight: 600;
}

.related-link {
  font-weight: 600;
}

.muted { opacity: 0.85; }

.subhead {
  margin: 1rem 0 0.35rem;
  font-size: 1.05rem;
}

.kyg-list {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.alpha-index {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.alpha-index a {
  display: inline-block;
  min-width: 2.2rem;
  text-align: center;
  padding: 0.35rem 0.55rem;
  border-radius: 0.45rem;
  text-decoration: none;
  font-weight: 700;
  background: var(--kyg-light);
  color: var(--kyg-navy);
}

.alpha-index a:hover {
  background: var(--kyg-navy);
  color: #fff;
}
