﻿/*******************************************************************************
    Page Banner
*******************************************************************************/

.page-banner {
    grid-template-rows: 200px;
}

.pb-headline {
    grid-row: 1 / 2;
    grid-column: 2 / 10;
    display: flex;
    flex-direction: row;
    align-items: center;
}

    .pb-headline > h1 {
        margin: 0;
    }

        .pb-headline > h1 > .pb-byline {
            display: block;
            font-size: 0.65em; /* Scales proportionally relative to the h1 */
            font-weight: 400;
            margin-top: 0.35em;
        }

.pb-image {
    grid-row: 1 / 2;
    grid-column: 10 / 15;
    height: 200px;
}

    .pb-image > img {
        display: block;
        width: 100%;
        height: 200px;
        margin: 0;
        padding: 0;
        object-fit: cover;
    }


/* bp-major-narrow-max */
@media all and (max-width: 670px) {

    .page-banner {
        grid-template-rows: auto;
    }

    .pb-headline {
        grid-row: 2 / 3;
        grid-column: 2 / 8;
        padding-top: 2em;
        padding-bottom: 2em;
    }

        .pb-headline > div > h1 {
            font-size: 150%;
        }

    .pb-image {
        grid-row: 1 / 2;
        grid-column: 1 / 9;
        height: auto;
    }

        .pb-image > img {
            width: 100%;
            height: auto;
        }
}


/* bp-major-wide-min */
@media all and (min-width: 1024px) {

    .page-banner {
        grid-template-rows: 200px;
    }
}

/* Specific pages */
.pb-services {
    background-color: var(--ac-pastel-biscuit);
}

.pb-solutions {
    background-color: var(--ac-pastel-blue);
}

.pb-about {
    background-color: var(--ac-pastel-green);
}
