/* 1. GLOBAL SETTINGS */
/* 1. GLOBAL SETTINGS */
body {
    margin: 0;
    padding: 20px 40px; /* 20px top/bottom, 40px left/right for 'room' */
}

/* Restoring table cell padding so table contents don't touch edges */
td {
    vertical-align: top;
    padding: 12px; 
}

p {
    margin: 0;
    /* We keep the bottom padding small to keep the 'tight' look to the list */
    padding: 10px 0px 5px 0px; 
    line-height: 1.3;
}

/* Ensures headings also respect the left margin */
h1, h2, h3 {
    margin-left: 0;
    margin-right: 0;
    font-family: 'Roboto', sans-serif;
}



img {
    width: 100%;
    display: block;
}

/* 2. HEADINGS */
h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
}

h1 {
    font-size: 60px;
    text-align: center;
}

h2 {
    font-size: 28px;
    color: #0725A3;
}

h3 {
    font-size: 18px;
}

/* 3. SPECIES TABLE (Targeting specifically to avoid layout shifts) */
.species-table {
    width: auto !important;
    margin-left: 0;
    border-collapse: collapse;
}

.species-table td {
    width: max-content; 
    white-space: nowrap;
    /* We use 50px right padding to create the columns you wanted */
    padding: 10px 50px 10px 0px !important; 
    vertical-align: top;
    text-align: left;
    font-size: 1.3rem;
}

/* 4. UTILITY FONT CLASSES */
.large-text td {
    font-size: 1.5rem !important;
}

.small-text td {
    font-size: 1.1rem !important;
}

.body-small {
    font-size: 0.9rem !important;
    color: #545353;
    line-height: 1.1;
}

/* 5. SPECIAL CONTAINERS & RULES */
.heavy-rule {
    border: 2px solid #0725A3;
    width: 100%;
    margin-top: 10px; 
}

.bordered-box-cell {
    border: 1px solid #545353;
    padding: 12px;
}

.caption {
    margin-top: 5px;
    text-align: center;
    font-style: italic;
    font-size: 17px;
}

/* 6. GALLERY & OVERLAYS */
.overlay, .overlay-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.overlay-image {
    width: 90vw;
    height: auto;
    cursor: pointer;
}