﻿/*******************************************************************************
    CSS global variables
*******************************************************************************/

:root {
    /* Page colors */
    --pc-mauve: #652d90;
}


/*******************************************************************************
    Page Banner
*******************************************************************************/

.page-banner {
    grid-template-rows: 200px;
    background-color: var(--ac-pastel-lilac);
}

.pb-headline {
    grid-row: 1 / 2;
    grid-column: 2 / 10;
    display: flex;
    flex-direction: row;
    align-items: center;
}

    .pb-headline > h1 {
        margin-top: 0;
        margin-bottom: 0;
    }

.pb-image {
    grid-row: 1 / 2;
    grid-column: 10 / 15;
    background-size: cover;
    background-position: center top;
    background-clip: border-box;
    background-repeat: no-repeat;
    background-image: url('/images/contact/contact-hero-750w.webp');
    background-image: image-set( url("/images/contact/contact-hero-750w.webp") 1x type("image/webp"), url("/images/contact/contact-hero-1500w.webp") 2x type("image/webp") );
}


/* bp-major-narrow-max */
@media all and (max-width: 670px) {

    .page-banner {
        grid-template-rows: 200px 100px;
    }

    .pb-headline {
        grid-row: 2 / 3;
        grid-column: 2 / 8;
    }

        .pb-headline > div > h1 {
            font-size: 150%;
        }

    .pb-image {
        grid-row: 1 / 2;
        grid-column: 1 / 9;
    }
}


/* bp-major-wide-min */
@media all and (min-width: 1024px) {

    .page-banner {
        grid-template-rows: 200px;
    }
}


/*******************************************************************************
    Page Content
*******************************************************************************/

.page-content {
    margin-top: 24px;
    row-gap: 24px;
}

.pc-text-1 {
    grid-row: 1 / 2;
    grid-column: 2 / 14;
    font-size: 120%;
}

.pc-icon-block-1 {
    grid-row: 2 / 3;
    grid-column: 2 / 14;
}

.pc-icon-block-2 {
    grid-row: 3 / 4;
    grid-column: 2 / 14;
}

.pc-icon-block-3 {
    grid-row: 4 / 5;
    grid-column: 2 / 14;
}

.pc-text-2 {
    grid-row: 5 / 6;
    grid-column: 2 / 14;
    font-size: 120%;
}

.pc-form-habitat {
    grid-row: 6 / 7;
    grid-column: 1 / 15;
}


/* bp-major-narrow-max */
@media all and (max-width: 670px) {

    .pc-text-1 {
        grid-column: 2 / 8;
    }

    .pc-icon-block-1 {
        grid-column: 2 / 8;
    }

    .pc-icon-block-2 {
        grid-column: 2 / 8;
    }

    .pc-icon-block-3 {
        grid-column: 2 / 8;
    }

    .pc-text-2 {
        grid-column: 2 / 8;
    }

    .pc-form-habitat {
        grid-column: 1 / 9;
    }

}


/* bp-major-wide-min */
@media all and (min-width: 1024px) {

    .pc-text-1 {
        grid-column: 2 / 9;
    }

    .pc-icon-block-1 {
        grid-column: 2 / 9;
    }

    .pc-icon-block-2 {
        grid-column: 2 / 9;
    }

    .pc-icon-block-3 {
        grid-column: 2 / 9;
    }

    .pc-text-2 {
        grid-column: 2 / 9;
    }

    .pc-form-habitat {
        grid-row: 1 / 7;
        grid-column: 9 / 15;
    }

}


/*******************************************************************************
    Icon blocks
*******************************************************************************/

.pc-icon-block {
    display: flex;
    flex-direction: row;
    align-items: start;
    gap: 16px;
}

    .pc-icon-block img {
        display: block;
        width: 72px;
        height: auto;
    }

    .pc-icon-block h3 {
        margin: 0;
    }

    .pc-icon-block p {
        margin: 0;
    }

