/* tufte-styles.css */

/* Tufte Heading Hierarchy */

h1, .title {
    font-family: "EtBembo", "Palatino", serif;
    font-weight: 400;
    font-style: italic;
    font-size: 2.2rem;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

h2 {
    font-family: "EtBembo", "Palatino", serif;
    font-weight: 400;
    font-style: italic;
    font-size: 1.7rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h3 {
    font-family: "EtBembo", "Palatino", serif;
    font-weight: 400;
    font-style: italic;
    font-size: 1.2rem; /* Close to body size but distinct through style */
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

body {
    background-color: #fffff8; /* Classic Tufte off-white */
    color: #111;
    font-family: "EtBembo", "Palatino", serif;
}

/* Style the Quarto Margin Content */
.column-margin {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #333;
    border-top: 1px solid #ccc;
    padding-top: 0.5rem;
}

/* Ensure the main content doesn't stretch too wide */
#quarto-content.page-columns {
    display: grid;
    gap: 2rem;
}

/* Force hide the project-level footer */
footer, 
.nav-footer,
#quarto-footer {
    display: none !important;
}


*[class*="margin"] {
  border-top: none !important;
  border-bottom: none !important;
}



