﻿/* =========================================================
   PHOENIX YORK - STRATEGY PAGE
   ========================================================= */


/* =========================================================
   HERO
   ========================================================= */

.site-header {
    background: #000b20;
}

.strategy-hero {
    position: relative;
    width: 100%;
    /* screen height minus header and 3-button row */
    height: calc(100vh - 90px - 85px);
    margin-top: 90px;
    padding: 0;
    overflow: hidden;
    background: #003b78;
}

.strategy-hero__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    margin: 0;
    padding: 0;
}


/* =========================================================
   THREE COLOURED BLOCKS
   ========================================================= */

.strategy-focus {
    width: 100%;
    height: 85px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    position: static;
}

.strategy-focus__item {
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    margin: 0;
    padding: 0 10px;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    border: 0;
    border-radius: 0;
    overflow: hidden;
}

    .strategy-focus__item span {
        display: inline-block;
        font-family: pymontserratliner, Arial, sans-serif;
        font-size: 20px;
        font-weight: 300;
        line-height: 1;
        letter-spacing: 0.5px;
        color: #ffffff;
        transform: scaleX(0.85);
        transform-origin: center;
        white-space: nowrap;
        text-shadow: 0 0 0.25px rgba(255, 255, 255, 0.9);
    }

    .strategy-focus__item,
    .strategy-focus__item:hover,
    .strategy-focus__item:focus,
    .strategy-focus__item:active,
    .strategy-focus__item:visited,
    .strategy-focus__item span,
    .strategy-focus__item:hover span,
    .strategy-focus__item:focus span,
    .strategy-focus__item:active span,
    .strategy-focus__item:visited span {
        text-decoration: none !important;
        border-bottom: 0 !important;
        box-shadow: none !important;
        outline: none !important;
    }

.strategy-focus__item--strategy {
    background: #3b5998;
}

.strategy-focus__item--solutions {
    background: #000000;
}

.strategy-focus__item--automation {
    background: #f12e45;
}


/* =========================================================
   CONTENT WRAPPER
   ========================================================= */

.strategy-content {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #ffffff;
}

.strategy-content__inner {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 58px 55px 90px;
    display: grid;
    grid-template-columns: 30% 65%;
    column-gap: 39px;
}


/* =========================================================
   LEFT SIDEBAR
   ========================================================= */

.strategy-sidebar {
    width: 68%;
    margin: 0 0 28px 60px;
    text-align: center;
}

.strategy-sidebar__image-wrap {
    width: 250px;
    height: 250px;
    margin: 10px 15px 28px 20px;
    overflow: hidden;
    border-radius: 50%;
    position: relative;
}

.strategy-sidebar__image {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    margin: 0;
    object-fit: cover;
    /* keep the Innovation section aligned */
    object-position: 100% center;
    /* zoom image inside fixed circle */
    transform: scale(1.25) translate(-2.5%, 5%);
    transform-origin: center center;
    border-radius: 0;
}

.strategy-sidebar h3 {
    margin: 10px 0 22px;
    padding: 0;
    font-family: PYmuseosans;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.2;
    color: #111111;
    text-align: center;
}

.strategy-sidebar__rule {
    width: 100%;
    height: 1px;
    margin: 0 auto 18px;
    background: #d8d8d8;
}

.strategy-sidebar p {
    width: 88%;
    margin: 0 auto 18px;
    padding: 0;
    font-family: PYmuseosans;
    font-size: 17px;
    font-style: normal;
    font-weight: 900;
    line-height: 1.45;
    color: #8b8d8d;
    text-align: left;
}

.strategy-contact-button {
    display: inline-block;
    margin-top: 15px;
    padding: 11px 18px;
    background: #22b85a;
    color: #ffffff;
    font-family: PYmuseosans, Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
}

    .strategy-contact-button:hover,
    .strategy-contact-button:focus,
    .strategy-contact-button:active {
        background: #22b85a;
        color: #ffffff;
        text-decoration: none;
    }


/* =========================================================
   RIGHT MAIN CONTENT
   ========================================================= */

.strategy-main {
    width: 100%;
}

.strategy-main__rule {
    width: 100%;
    height: 1px;
    margin: 0;
    background: #e1e1e1;
}

.strategy-main h1 {
    margin: 0;
    padding: 15px 0;
    font-family: PYmuseosans, Arial, sans-serif;
    font-size: 33px;
    font-weight: normal;
    line-height: 1;
    letter-spacing: 1.5px;
    color: #353434;
    text-transform: uppercase;
}

.strategy-main p {
    margin: 0 0 28px;
    padding: 0;
    font-family: PYmuseosans;
    font-size: 17px;
    font-weight: bold;
    line-height: 25px;
    letter-spacing: 0.5px;
    color: #353434;
}

    .strategy-main p:first-of-type {
        margin-top: 48px;
    }


/* =========================================================
   TABLET
   ========================================================= */
/* =========================================================
   MID-SIZE DEVICES
   iPad Pro / Surface Pro / Asus / Small Laptops
   ========================================================= */

@media (min-width: 851px) and (max-width: 1366px) {

    .strategy-content__inner {
        max-width: 1200px;
        padding: 48px 32px 75px;
        grid-template-columns: 34% 62%;
        column-gap: 4%;
    }

    .strategy-sidebar {
        width: 100%;
        margin: 0;
        padding: 0;
        text-align: center;
    }

    .strategy-sidebar__image-wrap {
        width: 230px;
        height: 230px;
        margin: 0 auto 24px;
    }

    .strategy-sidebar__image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 100% center;
        transform: scale(1.22) translate(-2.5%, 4.5%);
        transform-origin: center center;
    }

    .strategy-sidebar h3 {
        width: 100%;
        margin: 8px auto 20px;
        font-size: 21px;
        text-align: center;
    }

    .strategy-sidebar__rule {
        width: 82%;
        margin: 0 auto 16px;
    }

    .strategy-sidebar p {
        width: 82%;
        margin: 0 auto 16px;
        font-size: 16px;
        line-height: 1.45;
        text-align: left;
    }

    .strategy-contact-button {
        margin-top: 10px;
    }

    .strategy-main {
        width: 100%;
        margin: 0;
        padding: 0;
    }

        .strategy-main h1 {
            font-size: 31px;
            line-height: 1.05;
        }

        .strategy-main p {
            font-size: 16px;
            line-height: 24px;
        }

            .strategy-main p:first-of-type {
                margin-top: 40px;
            }
}
/*@media (max-width: 1100px) {

    .strategy-hero {
        height: 470px;
    }

    .strategy-content__inner {
        padding: 45px 35px 70px;
        grid-template-columns: 32% 68%;
        column-gap: 40px;
    }

    .strategy-sidebar h3 {
        font-size: 22px;
    }

    .strategy-sidebar p {
        font-size: 17px;
    }

    .strategy-main h1 {
        font-size: 35px;
    }

    .strategy-main p {
        font-size: 18px;
    }
}

*/
/* =========================================================
   IPAD / SMALL TABLET
   ========================================================= */

@media (max-width: 850px) {

    .strategy-hero {
        height: 420px;
        /* match 70px tablet header */
        margin-top: 70px;
    }

    .strategy-focus {
        height: 82px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .strategy-focus__item {
        height: 82px;
        padding: 0 3px;
    }

        .strategy-focus__item span {
            font-size: 15px;
            letter-spacing: 0.2px;
            transform: scaleX(0.78);
        }

    .strategy-content__inner {
        grid-template-columns: 1fr;
        padding: 40px 28px 65px;
        column-gap: 0;
        row-gap: 0;
    }

    .strategy-sidebar {
        width: 100%;
        margin: 0 auto 42px;
        padding: 0;
        text-align: center;
    }

    .strategy-sidebar__image-wrap {
        width: 220px;
        height: 220px;
        margin: 0 auto 24px;
        overflow: hidden;
        border-radius: 50%;
        position: relative;
    }

    .strategy-sidebar__image {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        margin: 0;
        object-fit: cover;
        object-position: 100% center;
        transform: scale(1.20) translate(-2%, 4%);
        transform-origin: center center;
        border-radius: 0;
    }

    .strategy-sidebar h3 {
        margin: 0 auto 20px;
        font-size: 22px;
        text-align: center;
    }

    .strategy-sidebar__rule {
        width: 72%;
        margin: 0 auto 16px;
    }

    .strategy-sidebar p {
        width: 72%;
        max-width: 430px;
        margin: 0 auto 16px;
        font-size: 17px;
        text-align: left;
    }

    .strategy-contact-button {
        margin-top: 12px;
    }

    .strategy-main {
        width: 100%;
        margin: 0;
        padding: 0;
    }

        .strategy-main h1 {
            font-size: 34px;
        }

        .strategy-main p {
            font-size: 17px;
            line-height: 25px;
        }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 720px) {

    .strategy-hero {
        height: 350px;
        margin-top: 70px;
    }

    .strategy-focus {
        height: auto;
        grid-template-columns: 1fr;
    }

    .strategy-focus__item {
        height: 62px;
    }

        .strategy-focus__item span {
            font-size: 14px;
            transform: scaleX(0.88);
        }

    .strategy-content__inner {
        padding: 28px 18px 50px;
        grid-template-columns: 1fr;
        column-gap: 0;
    }

    .strategy-sidebar {
        width: 100%;
        margin: 0 auto 34px;
        padding: 0;
    }

    .strategy-sidebar__image-wrap {
        width: 190px;
        height: 190px;
        margin: 0 auto 20px;
        overflow: hidden;
        border-radius: 50%;
        position: relative;
    }

    .strategy-sidebar__image {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        margin: 0;
        object-fit: cover;
        object-position: 100% center;
        transform: scale(1.18) translate(-2%, 4%);
        transform-origin: center center;
        border-radius: 0;
    }

    .strategy-sidebar h3 {
        margin: 0 auto 18px;
        font-size: 20px;
        text-align: center;
    }

    .strategy-sidebar__rule {
        width: 88%;
        margin: 0 auto 14px;
    }

    .strategy-sidebar p {
        width: 88%;
        max-width: none;
        margin: 0 auto 14px;
        font-size: 15px;
        line-height: 1.45;
        text-align: left;
    }

    .strategy-contact-button {
        margin-top: 10px;
    }

    .strategy-main {
        width: 100%;
        margin: 0;
        padding: 0;
    }

        .strategy-main h1 {
            font-size: 28px;
            letter-spacing: 1px;
        }

        .strategy-main p {
            font-size: 16px;
            line-height: 1.5;
        }

            .strategy-main p:first-of-type {
                margin-top: 35px;
            }
}
