body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.limited-sentence {
    max-width: 100ch; /* limits line to ~60 characters */
    margin: 0;  /* center text */
    line-height: 1.5; /* optional: nicer spacing */
    word-wrap: break-word; /* ensures long words wrap */
    text-align: left;
}

main {
    
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 0%;
    padding: 20px;
}

.section {
    width: 100%; /* Adjust width as needed */
    max-width: 1200px; /* or 1000px or whatever you prefer */
    margin: 0 auto;
    background-color: #f8f8f8;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin: 20px 0;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.section:hover {
    transform: translateY(-5px);
}

h2 {
    text-align: center;
    color: #003366;

}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.table-wrapper table {
    table-layout: fixed;
    width: 100%;
    min-width: 1200px;   /* or whatever size triggers scroll */
    border-collapse: collapse;
}

th, td {
    padding: 10px;
    border: 1px solid #ccc;
    text-align: center;
}


th {
    background-color: #c53e26;
    color: white;
}

@media (max-width: 768px) {
    .section {
        width: 95%;
    }

    header, footer {
        padding: 15px;
    }

}


.footnote {
    font-size: 0.85rem;          /* smaller than body text */
    color: #555;                  /* dark gray, less harsh than black */
    font-style: italic;           /* optional */
    line-height: 1.5;             /* improves readability */
    text-align: justify;           /* clean block alignment */
    max-width: 1200px;             /* optional, keeps text readable */
    margin: 20px auto;            /* centered with space around */
    padding: 10px 15px;           /* comfortable padding */
    border-top: 1px solid #ddd;   /* subtle separation from main content */
}



/* Allow text to wrap in table cells */
#vars_table th, #vars_table td {
    white-space: normal; /* allows wrapping */
    word-break: break-word; /* breaks long words if needed */
    max-width: 200px; /* adjust per your needs */
}

/* Allow text to wrap in table cells */
#hom_vars_table th, #hom_vars_table td {
    white-space: normal; /* allows wrapping */
    word-break: break-word; /* breaks long words if needed */
    max-width: 200px; /* adjust per your needs */
}