/* Keep these corrections out of phone, landscape, and desktop layouts. */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    #nps25-header-nav > .header-nav {
        flex-wrap: nowrap;
        gap: 8px;
        justify-content: space-between;
        padding-left: 16px;
        padding-right: 16px;
        width: 100%;
    }

    #nps25-header-nav > .header-nav > li {
        flex: 0 0 auto;
    }

    #nps25-header-nav > .header-nav > li > a,
    #nps25-header-nav > .header-nav > li > button {
        white-space: nowrap;
    }

    :is(.ccm-page-id-246, .ccm-page-id-723, .ccm-page-id-724) #adhd-hero {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    :is(.ccm-page-id-246, .ccm-page-id-723, .ccm-page-id-724) #adhd-hero .row {
        align-items: center;
        row-gap: 32px;
    }

    :is(.ccm-page-id-246, .ccm-page-id-723, .ccm-page-id-724) #adhd-hero .col-md-4:first-child {
        width: 100%;
    }

    :is(.ccm-page-id-246, .ccm-page-id-723, .ccm-page-id-724) #adhd-hero h1 {
        margin-top: 0;
        margin-bottom: 0;
        text-align: center;
    }

    :is(.ccm-page-id-246, .ccm-page-id-723, .ccm-page-id-724) #adhd-hero .col-md-4:nth-child(2),
    :is(.ccm-page-id-246, .ccm-page-id-723, .ccm-page-id-724) #adhd-hero .col-md-4:last-child {
        width: 50%;
    }

    :is(.ccm-page-id-246, .ccm-page-id-723, .ccm-page-id-724) #adhd-hero img {
        min-width: 0;
        max-width: 100%;
    }

    :is(.ccm-page-id-246, .ccm-page-id-723, .ccm-page-id-724) #adhd-hero .col-md-4:last-child {
        padding-top: 0;
        padding-bottom: 0;
    }

    :is(.ccm-page-id-246, .ccm-page-id-723, .ccm-page-id-724) #adhd-hero .col-md-4:last-child > * {
        width: 100%;
        max-width: 100%;
    }

    :is(.ccm-page-id-246, .ccm-page-id-723, .ccm-page-id-724) .evaluation-process .evaluation-process__steps,
    :is(.ccm-page-id-246, .ccm-page-id-723, .ccm-page-id-724) #main-content .evaluation-process .evaluation-process__steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
