.leanpde-page {
    color: #2b2f36;
}

.leanpde-page .navbar-burger {
    border: 0;
    background: transparent;
}

.leanpde-page .hero-body {
    padding-bottom: 1.5rem;
}

.leanpde-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 0.7rem;
}

.leanpde-heading img {
    flex: 0 0 auto;
    width: 112px;
    height: auto;
}

.leanpde-heading .publication-title {
    margin: 0;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    line-height: 1.15;
}

.leanpde-credit {
    margin: 0.4rem 0 1rem;
    color: #596574;
    font-size: 0.9rem;
}

.leanpde-section {
    padding-top: 1.8rem;
    padding-bottom: 1.8rem;
}

.leanpde-section .content {
    font-size: 1.2rem;
    line-height: 1.65;
}

.leanpde-section .content h2 {
    margin-bottom: 1rem;
}

.leanpde-section .content li + li {
    margin-top: 0.8rem;
}

.leanpde-section .content figure {
    margin: 2rem 0 0;
}

.leanpde-overview img,
.leanpde-performance img {
    display: block;
    width: 100%;
    height: auto;
}

.leanpde-overview figcaption,
.leanpde-performance figcaption {
    font-size: 1rem;
    color: #596574;
    line-height: 1.5;
    margin-top: 0.75rem;
}

.leanpde-section .content .leanpde-performance {
    margin-bottom: 2rem;
}

.leanpde-page :focus-visible {
    outline: 3px solid #24567f;
    outline-offset: 3px;
}

.leanpde-skip {
    position: absolute;
    top: -5rem;
    left: 1rem;
    z-index: 100;
    padding: 0.5rem 1rem;
    background: #ffffff;
    color: #24567f;
}

.leanpde-skip:focus {
    top: 0.5rem;
}

@media screen and (max-width: 600px) {
    .leanpde-heading {
        flex-direction: column;
        gap: 1rem;
    }

    .leanpde-heading img {
        width: 96px;
    }

    .leanpde-page .hero-body {
        padding: 2rem 1.5rem 1rem;
    }

    .leanpde-section .content {
        font-size: 1.08rem;
    }
}

.leanpde-subtitle {
    margin: 0.2rem 0 1rem;
    color: #3d4652;
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    line-height: 1.4;
}

.leanpde-heading .publication-title {
    font-size: clamp(2.4rem, 5vw, 3.4rem);
}

.leanpde-projects {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.leanpde-project {
    border: 1px solid #dde3ea;
    border-radius: 10px;
    padding: 1.1rem 1.2rem 1rem;
    background: #fbfcfd;
    display: flex;
    flex-direction: column;
}

.leanpde-section .content .leanpde-project h3 {
    margin: 0 0 0.6rem;
    font-size: 1.35rem;
}

.leanpde-section .content .leanpde-project p {
    font-size: 1.02rem;
    line-height: 1.55;
    margin-bottom: 0.8rem;
    flex: 1 1 auto;
}

.leanpde-project-links a {
    margin-right: 0.9rem;
    font-size: 1rem;
    font-weight: 600;
}

.leanpde-built-on {
    margin-top: 1.25rem;
    font-size: 1.05rem;
    color: #3d4652;
}

.leanpde-section pre {
    font-size: 0.85rem;
    line-height: 1.45;
    white-space: pre-wrap;
}

@media screen and (max-width: 900px) {
    .leanpde-projects {
        grid-template-columns: 1fr;
    }
}

.leanpde-page .publication-title {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    line-height: 1.15;
}

.leanpde-links {
    font-weight: 600;
}
