/* Container for the main index page only */
.cemetery-index-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.intro-box {
    background: #f9f9f9;
    padding: 15px;
    border-left: 5px solid #2c3e50;
    margin-bottom: 30px;
}

/* Create the 2-column grid for desktop */
.index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.county-group h2 {
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    color: #2c3e50;
}

.index-list {
    list-style: none;
    padding: 0;
}

.index-list li {
    margin-bottom: 12px;
    font-size: 1.1em;
}

.loc-sub {
    font-size: 0.8em;
    color: #888;
    display: block; /* Puts location on its own line under the link */
}



.cemetery-layout {
  display: flex;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.cemetery-sidebar {
  width: 250px;
  background: #fafafa;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.cemetery-sidebar h2,
.cemetery-sidebar h3 {
  margin-top: 20px;
}

.cemetery-sidebar ul {
  list-style-type: none;
  padding-left: 0;
  margin: 0 0 15px 0;
}

.cemetery-sidebar li {
  margin-bottom: 6px;
}

/* Style for cemetery addresses in the sidebar */
.cemetery-sidebar ul li .address {
    display: block;        /* Puts address on its own line */
    font-size: 0.82em;     /* Slightly smaller than the link */
    color: #666;           /* Muted gray so it doesn't compete with the link */
    font-style: italic;    /* Gives it a descriptive feel */
    line-height: 1.3;
    margin-top: 2px;
    margin-bottom: 8px;    /* Adds a little space before the next list item */
}

/* Add this for specific site-navigation tips */
.nav-tip {
    display: block;
    font-size: 0.8em;
    color: #b35900; /* A subtle burnt orange/brown for "caution/notice" */
    font-weight: bold;
    margin-top: 4px;
}

/* Ensure the links stay bold and prominent */
.cemetery-sidebar ul li a {
    font-weight: bold;
    text-decoration: none;
}

.cemetery-content {
  flex: 1;
}

.burial-list {
  list-style-type: none;
  padding-left: 0;
}

.burial-list li {
  margin-bottom: 1.2em;
  padding-bottom: 15px;
  border-bottom: 1px solid #ddd;
}

.burial-list .dates {
  font-style: italic;
  color: #555;
}

.marker-photo-link {
  text-decoration: none;
  margin-left: 5px;
}

/* Header Hierarchy */
.cemetery-content h2 {
    font-size: 1.1em;
    text-transform: uppercase;
    color: #666; /* Muted color for the County */
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.cemetery-content h3 {
    font-size: 1.8em; /* Makes the Cemetery name the "Hero" */
    color: #2c3e50;
    margin-top: 0;
}

.cemetery-content h4 {
    font-size: 0.95em;
    font-weight: normal;
    color: #b35900; /* Matching your travel tip color */
    font-style: italic;
    margin-top: -10px; /* Pulls it closer to the h3 */
}

/* Lineage Text Style */
.lineage {
    display: block;
    font-size: 0.85em; /* Shrinks the text */
    color: #555;      /* Slightly lighter than the name */
    line-height: 1.4;
    margin: 3px 0;
}

/* Plot Text Style */

.plot {
    display: block;
    color: #333; /* The numbers will be dark and easy to read */
    font-size: 1.05em;
    margin: 5px 0;
    line-height: 1.25;
}

.plot small {
    color: #9c5858; /* Your specific reddish-brown for the labels */
    text-transform: uppercase;
    font-size: 0.7em;
    font-weight: bold;
    letter-spacing: 0.5px;
    margin-right: 2px;
}

/* Epitaph */

.epitaph {
    display: block;
    font-style: italic;
    font-size: 0.9em;
    color: #555; /* A slightly softer gray than your main text */
    margin-top: 5px;
    padding-left: 10px;
    border-left: 2px solid #9c5858; /* An elegant accent line matching your theme color */
}