:root {
    --font-family: "Haffer";
    --font-size: 16px;
    --font-weight: 300;
    --font-style: normal;
    --line-height: 1.5;
    --heading-font-family: "Noctis";
    --heading-font-weight: 700;
    --heading-line-height: 1.3;
    --accent-color: #186ADC;
    --background-color: #ffffff;
    --text-primary: #000000;
    --link-color: #004D5C;
    --border-color: #000000;
    --placeholder-color: #000000;
    --error-color: #ff3d0d;
    --el-border-radius: 10px;
}

.team-info {
    position: relative;
}

.team-info .container {
    position: relative;
    z-index: 1;
}

.team-info::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 35vw;
    background-color: #D3CABE;
}

.team-info .section-heading {
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

.ti-col2 {
    display: none;
}

.team-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-family: var(--heading-font-family), sans-serif;
    font-weight: var(--heading-font-weight);
    line-height: 1;
    padding: 1rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
}

.team-nav li {
    padding: 1rem;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.2s;
}

.team-nav li:hover {
    opacity: 1;
}

.tm-row {
    max-width: 440px;
    margin: 0 auto;
}

.team-heading {
    position: relative;
    font-size: 2.75rem;
    margin: 0 0 2.75rem;
    line-height: 1.3;
    z-index: 1;
    text-align: center;
}

.team-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    transform: scale(0.8);
}

.team-quote {
    padding: 2rem 1.25rem;
    border: 1px solid var(--border-color);
    margin-top: 3rem;
}

.team-quote .content blockquote {
    margin: 0;
}

.team-quote .content blockquote cite {
    text-align: left;
    padding-left: 2rem;
}

.tm-col-image {
    display: none;
}

.tm-col-content .section-desc {
    text-align: center;
}

@media (min-width: 640px) {
    .team-nav {
        justify-content: space-between;
    }
}

@media (min-width: 767px) {
    .team-info .team-info-header {
        padding-top: 2.5rem;
    }

    .team-info .section-heading {
        max-width: 100%;
    }

    .tm-row {
        position: relative;
        display: flex;
        justify-content: space-between;
        margin: 0 -1rem;
        max-width: inherit;
    }

    .tm-col {
        flex-basis: 0;
        flex-grow: 1;
        padding: 0 1rem;
        margin: 0;
    }

    .ti-col1 {
        max-width: 43.875rem;
    }

    .ti-col2 {
        display: block;
        max-width: 49.5rem;
    }

    .team-nav {
        justify-content: space-between;
        padding: 0;
    }

    .team-nav li {
        padding: 2.5rem 1rem;
    }

    .team-heading {
        font-size: 11.35vw;
        font-weight: normal;
        line-height: 1.2;
        margin-bottom: 4.8vw;
        text-align: left;
    }

    .team-logo {
        margin-bottom: 2.5rem;
        transform: scale(1);
    }

    .tm-col-content {
        max-width: 55.875rem;
    }

    .tm-col-image {
        display: block;
        max-width: 39.5rem;
    }

    .team-quote {
        position: relative;
        border: none;
        padding: 3vw 3.5vw;
    }

    .team-quote .content {
        position: relative;
        z-index: 1;
    }

    .tmq-border {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
    }

    .tmqb1, .tmqb2, .tmqb3, .tmqb4 {
        position: absolute;
        background-color: var(--border-color);
    }

    .tmqb1, .tmqb3 {
        width: 100%;
        height: 1px;
    }

    .tmqb2,
  .tmqb4 {
        width: 1px;
        height: 100%;
    }

    .tmqb1 {
        right: 0;
        top: 0;
    }

    .tmqb2 {
        left: 0;
        top: 0;
    }

    .tmqb3 {
        left: 0;
        bottom: 0;
    }

    .tmqb4 {
        right: 0;
        bottom: 0;
    }

    .section-plan .tm-col-image {
        margin-top: -9.25vw;
    }

    .section-green-jacket .tm-col-image {
        margin-top: -13vw;
    }

    .section-cracknell .tm-col-image,
  .section-spx .tm-col-image {
        margin-top: -8.25vw;
    }

    .section-cracknell .tm-row,
  .section-spx .tm-row {
        z-index: 2;
    }
}

@media (min-width: 767px) and (max-width: 990px) {
    .team-quote {
        padding: 3vw 2.5vw;
    }

    .team-quote blockquote p {
        font-size: 1.125rem;
    }
}

@media (min-width: 1024px) {
    .team-nav {
        justify-content: center;
    }

    .team-nav li {
        padding: 2.5rem;
    }
}

@media (min-width: 1200px) {
    .team-quote {
        padding: 6vw 6.8vw;
    }
}

@media (min-width: 1300px) {
    .team-nav li {
        padding: 3rem 3.75rem;
    }
}

@media (min-width: 1920px) {
    .ti-col1 {
        max-width: 43.875rem;
    }

    .ti-col2 {
        max-width: 49.5rem;
    }

    .team-info::before {
        height: 42rem;
    }

    .team-heading {
        font-size: 13.625rem;
        margin-bottom: 6rem;
    }

    .team-quote {
        padding: 7.25rem 8.125rem;
    }

    .section-cracknell .tm-col-image,
  .section-spx .tm-col-image {
        margin-top: -10rem;
    }

    .section-green-jacket .tm-col-image {
        margin-top: -16rem;
    }

    .section-plan .tm-col-image {
        margin-top: -11.5rem;
    }
}
