html {
    font-size: clamp(11px, 1vw + 9px, 15px);
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

html,
.avenir,
.serif {
    font-family: "Merriweather", Georgia, serif !important;
}

main {
    flex: 1;
}

.home p {
    font-size: 1.25rem !important;
}

.highlight-text {
    font-weight: 800 !important;
    color: #385623 !important;
}

.lcthlogo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;

    padding: 0.55rem 1rem;

    border: 2px solid #222;
    border-radius: 999px;

    background: #fff;

    font-family: Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.06em;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.lcthlogo .lct {
    background: #385623;
    color: #fff;

    padding: 0.25rem 0.55rem;
    border-radius: 999px;

    font-size: 0.9rem;
}

.lcthlogo .houtstook {
    color: #b30000;
    font-size: 1.1rem;
}

.lcthlogo:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

footer.bg-lcthgreen,
div.bg-lcthgreen {
    background-color: #385623 !important;
}

div:not(.bg-lcthgreen) h1 {
    color: rgba(255, 255, 255, .9) !important;
}

div:not(.bg-lcthgreen) h2 {
    color: rgba(255, 255, 255, 0.9) !important;
    /*  font-weight: 200 !important; */
}

h1.lh-title {
    font-weight: 500 !important;
}

header h2 {
    font-weight: 300 !important;
}

h1,
h2,
h3,
nav {
    font-family: "Inter", system-ui, sans-serif !important;
    color: #385623 !important;
}

/*
h1 {
    font-weight: 500 !important;
}

h2 {
    font-weight: 500 !important;
}
*/
div.nested-links h1 {
    color: #385623 !important;
}

div.nested-links h2 {
    color: #385623 !important;
}

.near-black {
    color: #385623 !important;
}

.near-black a {
    color: #385623 !important;
}

blockquote p {
    font-size: 3rem;
    font-weight: 600;
    color: #b30000;
}


.footnotes {
    font-size: 0.9rem;
    border-top: 1px solid #ddd;
    margin-top: 2rem;
    padding-top: 1rem;
}

.footnotes ol {
    padding-left: 1.2rem;
}

.u {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.info-box {
    background: rgba(56, 86, 35, 0.1);
    border-left: 5px solid #385623;
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 8px;
    font-size: 1rem;
}

.figure {
    text-align: center;
}

.figure-img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.figure-caption {
    font-size: 0.9rem;
    opacity: 0.75;
    margin-top: 0.5rem;
}

.center-text {
    font-size: 2.25rem;
    font-weight: 600;
    color: #385623 !important;
    text-align: center;
}

/*figure.figure figcaption p {
    font-style: italic;
    font-size: 0.75rem !important;
}*/
/*
figcaption {
    xfont-style: italic;
    font-size: 0.85rem !important;
}
*/
/* ===== Tufte-style sidenotes ===== */

span.sidenote,
.marginnote {
    float: right;
    clear: right;

    width: 14rem;
    margin-right: -16rem;

    margin-top: 0.3rem;
    margin-bottom: 1rem;

    font-size: 0.9rem;
    line-height: 1.5;

    vertical-align: baseline;
    position: relative;

    color: #385623;
}

/* nummering */
span.sidenote-number::after {
    content: counter(sidenote-counter);
    counter-increment: sidenote-counter;

    font-size: 0.7rem;
    vertical-align: super;

    margin-left: 0.1rem;
    color: #777;
}

/* verborgen checkbox */
input.margin-toggle {
    display: none;
}

/* mobiel gedrag */
@media (max-width: 1200px) {

    span.sidenote,
    .marginnote {
        /*display: none;*/
        /*float: none;*/
        width: 100%;
        margin: 1rem -1rem;

        background: #f8f8f8;
        padding: 0.8rem;

        border-left: 3px solid #385623;
    }

    span.margin-toggle:checked+.sidenote {
        display: block;
    }

    span.sidenote-number {
        cursor: pointer;
        color: #0066cc;
    }
}


.full-width-override {
    position: relative;
    padding-left: 5rem;
    padding-right: 5rem;
    left: 50%;
    right: 50%;
    width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
}

.org-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    font-size: 1.00rem;
    /*    padding-left: 5rem;
    padding-right: 5rem; */
}

.org-card {
    padding: 1.25rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.org-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
}

.org-card h3 {
    margin-top: 0;
    margin-bottom: .75rem;
}

.org-card p {
    color: #666;
    line-height: 1.5;
}

.org-card a {
    text-decoration: none;
    font-weight: 600;
}