/* Layout isolated to the Cadet Corps portfolio project. */
body.postid-3670 .single-main > .container {
    padding-right: 20px;
    padding-left: 20px;
}

body.postid-3670 .page-content {
    margin-bottom: 48px;
}

body.postid-3670 .page-block {
    margin-top: 56px;
    margin-bottom: 40px;
}

body.postid-3670 .page-content-header {
    padding: 20px;
    border-radius: 24px;
    background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.76) 82%, rgba(255, 255, 255, 0) 100%);
}

body.postid-3670 .page-content-header img {
    border-radius: 18px;
}

body.postid-3670 .projects-nav-page {
    margin-top: 18px;
}

body.postid-3670 .page-content-header-text,
body.postid-3670 .page-content-body {
    box-sizing: border-box;
    width: 100%;
    max-width: 1040px;
    margin-right: auto;
    margin-left: auto;
}

body.postid-3670 .page-content-header-text {
    align-items: flex-end;
    gap: 32px;
    margin-top: 40px;
    margin-bottom: 24px;
}

body.postid-3670 .page-content-header-text h1 {
    width: auto;
    max-width: 850px;
    margin: 0;
    font-size: clamp(36px, 3.75vw, 48px);
    font-weight: 300;
    line-height: 1.14;
    text-wrap: balance;
}

body.postid-3670 .page-content-header-text .header-text-date {
    flex: 0 0 auto;
    margin: 0;
    padding-bottom: 5px;
    white-space: nowrap;
}

body.postid-3670 .page-content-body {
    margin-top: 0;
}

body.postid-3670 .page-content-body > p {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    text-align: left !important;
    text-indent: 0 !important;
}

body.postid-3670 .page-content-nav {
    box-sizing: border-box;
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    gap: 16px;
    align-items: stretch;
}

body.postid-3670 .page-content-nav .button {
    min-height: 66px;
}

body.postid-3670 .page-content-nav .title {
    line-height: 1.35;
}

@media (max-width: 767px) {
    body.postid-3670 .single-main > .container {
        padding-right: 16px;
        padding-left: 16px;
    }

    body.postid-3670 .page-content {
        margin-bottom: 36px;
    }

    body.postid-3670 .page-block {
        margin-top: 32px;
        margin-bottom: 28px;
    }

    body.postid-3670 .page-content-header {
        padding: 10px;
        border-radius: 18px;
    }

    body.postid-3670 .page-content-header img {
        border-radius: 14px;
    }

    body.postid-3670 .projects-nav-page {
        margin-top: 12px;
    }

    body.postid-3670 .page-content-header-text {
        align-items: flex-start;
        gap: 10px;
        margin-top: 24px;
        margin-bottom: 18px;
    }

    body.postid-3670 .page-content-header-text h1 {
        font-size: 28px;
        line-height: 1.2;
    }

    body.postid-3670 .page-content-header-text .header-text-date {
        padding-bottom: 0;
    }

    body.postid-3670 .page-content-body > p {
        font-size: 16px;
        line-height: 1.55;
    }

    body.postid-3670 .page-content-nav {
        margin-top: 28px;
    }
}
