﻿/* =========================================================
   PHOENIX YORK - CONTACT PAGE
   FINAL CONTACT-ONLY VERSION

   IMPORTANT:
   - Contact only
   - Does not affect Strategy / About / Products / etc.
   - responsive-pages.css should not contain Contact rules
   ========================================================= */


/* =========================================================
   FULL HEIGHT CONTACT PAGE

   Contact is a short page.

   Body becomes a column so the footer can sit at the bottom
   of the viewport without stretching.
   ========================================================= */

html {
    min-height: 100%;
    background: #ffffff;
}


body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    background: #ffffff;
}


/* =========================================================
   MAIN

   Override the normal site-main minimum height on Contact.
   ========================================================= */

.site-main {
    width: 100%;
    min-height: 0 !important;
    height: auto !important;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    background: #ffffff;
}


/* =========================================================
   FOOTER

   Footer remains its normal size.
   margin-top:auto only pushes it to the bottom when
   Contact content is shorter than the screen.
   ========================================================= */

.site-footer {
    flex-shrink: 0;
    margin-top: auto !important;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    background: rgba(0, 11, 32, 0.72);
}


/* =========================================================
   HERO - DESKTOP
   ========================================================= */

.contact-hero {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 90px 0 0;
    padding: 0;
    overflow: hidden;
    background: #d5ae8d;
}


.contact-hero__image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    object-fit: contain;
    object-position: center center;
    transform: none;
}


/* =========================================================
   CONTACT SECTION
   ========================================================= */

.contact-section {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 24px 0 30px;
    background: #ffffff;
}


/* =========================================================
   CONTACT CONTAINER
   ========================================================= */

.contact-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}


    /* =========================================================
   TALK TO US
   ========================================================= */

    .contact-container h1 {
        margin: 0;
        padding: 0 0 8px;
        font-family: PYmuseosans, Arial, sans-serif;
        font-size: 30px;
        font-weight: normal;
        line-height: 1.15;
        letter-spacing: 0.5px;
        color: #353434;
        text-align: center;
    }


/* =========================================================
   TITLE RULE
   ========================================================= */

.contact-title-rule {
    width: 50px;
    height: 1px;
    margin: 0 auto 18px;
    background: #d8d8d8;
}


/* =========================================================
   ADDRESS

   The whole address block is centred below Talk to Us.
   The text inside remains left aligned.
   ========================================================= */

.contact-details {
    width: fit-content;
    max-width: calc(100% - 36px);
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    text-align: center;
}


    .contact-details h2 {
        margin: 0 0 8px;
        padding: 0;
        font-family: PYmuseosans, Arial, sans-serif;
        font-size: 18px;
        font-weight: 900;
        line-height: 1.2;
        color: #252525;
    }


    .contact-details p {
        margin: 0 0 5px;
        padding: 0;
        font-family: PYmuseosans, Arial, sans-serif;
        font-size: 15px;
        font-weight: 700;
        line-height: 1.35;
        letter-spacing: 0.3px;
        color: #353434;
    }


    .contact-details .contact-space {
        margin-top: 10px;
    }


/* =========================================================
   TABLET PORTRAIT
   iPad Mini / Air / Pro
   Surface Pro / ASUS ZenBook
   ========================================================= */

@media (min-width: 721px) and (max-width: 1100px) and (orientation: portrait) {

    .site-main {
        min-height: 0 !important;
        height: auto !important;
        background: #ffffff;
    }


    .contact-hero {
        width: 100%;
        height: auto;
        margin-top: 70px;
        padding: 0;
        overflow: hidden;
    }


    .contact-hero__image {
        display: block;
        width: 100%;
        height: auto;
        margin: 0;
        object-fit: contain;
        object-position: center center;
    }


    .contact-section {
        padding: 24px 0 30px;
    }


    .contact-container {
        max-width: 650px;
        padding-left: 30px;
        padding-right: 30px;
    }


        .contact-container h1 {
            font-size: 27px;
        }


    .contact-title-rule {
        margin-bottom: 17px;
    }


    .contact-details {
        width: fit-content;
        max-width: calc(100% - 36px);
        margin-left: auto;
        margin-right: auto;
    }


        .contact-details h2 {
            font-size: 17px;
        }


        .contact-details p {
            font-size: 14px;
            line-height: 1.4;
        }
}


/* =========================================================
   TABLET LANDSCAPE
   ========================================================= */

@media (min-width: 721px) and (max-width: 1199px) and (orientation: landscape) {

    .site-main {
        min-height: 0 !important;
        height: auto !important;
    }


    .contact-hero {
        width: 100%;
        height: auto;
        margin-top: 70px;
    }


    .contact-hero__image {
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: center center;
    }


    .contact-section {
        padding: 20px 0 26px;
    }


    .contact-container {
        max-width: 650px;
    }


    .contact-details {
        width: fit-content;
        max-width: calc(100% - 36px);
        margin-left: auto;
        margin-right: auto;
    }
}


/* =========================================================
   PHONE PORTRAIT
   ========================================================= */

@media (max-width: 720px) and (orientation: portrait) {

    .site-main {
        min-height: 0 !important;
        height: auto !important;
        background: #ffffff;
    }


    .contact-hero {
        width: 100%;
        height: auto;
        margin-top: 70px;
        padding: 0;
        overflow: hidden;
    }


    .contact-hero__image {
        display: block;
        width: 100%;
        height: auto;
        margin: 0;
        padding: 0;
        object-fit: contain;
        object-position: center center;
        transform: none;
    }


    .contact-section {
        width: 100%;
        height: auto;
        min-height: 0;
        margin: 0;
        padding: 18px 0 24px;
        background: #ffffff;
    }


    .contact-container {
        width: 100%;
        max-width: 100%;
        padding-left: 22px;
        padding-right: 22px;
    }


        .contact-container h1 {
            padding-bottom: 6px;
            font-size: 23px;
        }


    .contact-title-rule {
        width: 42px;
        margin-bottom: 14px;
    }


    .contact-details {
        width: fit-content;
        max-width: calc(100% - 24px);
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }


        .contact-details h2 {
            margin-bottom: 7px;
            font-size: 16px;
        }


        .contact-details p {
            margin-bottom: 4px;
            font-size: 13px;
            line-height: 1.35;
        }


        .contact-details .contact-space {
            margin-top: 8px;
        }
}


/* =========================================================
   SMALL PHONE PORTRAIT
   ========================================================= */

@media (max-width: 480px) and (orientation: portrait) {

    .contact-section {
        padding: 16px 0 22px;
    }


    .contact-container {
        padding-left: 18px;
        padding-right: 18px;
    }


        .contact-container h1 {
            font-size: 22px;
        }


    .contact-details {
        width: fit-content;
        max-width: calc(100% - 20px);
        margin-left: auto;
        margin-right: auto;
    }
}


/* =========================================================
   PHONE LANDSCAPE
   ========================================================= */

@media (max-width: 1000px) and (max-height: 600px) and (orientation: landscape) {

    body {
        min-height: 100vh;
    }


    .site-main {
        min-height: 0 !important;
        height: auto !important;
    }


    .contact-hero {
        margin-top: 70px;
    }


    .contact-section {
        padding: 14px 0 20px;
    }


    .contact-container {
        max-width: 550px;
        padding-left: 20px;
        padding-right: 20px;
    }


        .contact-container h1 {
            font-size: 21px;
        }


    .contact-title-rule {
        margin-bottom: 12px;
    }


    .contact-details {
        width: fit-content;
        max-width: calc(100% - 30px);
        margin-left: auto;
        margin-right: auto;
    }


        .contact-details h2 {
            font-size: 15px;
        }


        .contact-details p {
            font-size: 13px;
            line-height: 1.3;
        }
}


/* =========================================================
   FINAL ADDRESS POSITION

   Ensures no earlier responsive width pushes the address
   block left again.
   ========================================================= */

.contact-details {
    width: fit-content !important;
    max-width: calc(100% - 36px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center;
}
