﻿.at-contactInfo {
    display: flex;
    flex-direction: column;
    margin-top: var(--mbase-spacer-xxl);
}

.at-contactInfo__item {
    transition: box-shadow 0.25s cubic-bezier(0, 0, 0.3, 1), border 0.25s cubic-bezier(0, 0, 0.3, 1);
    display: flex;
    align-items: center;
    flex-direction: column;
    position: relative;
    margin-bottom: var(--mbase-spacer-xxl);
    box-shadow: var(--mbase-shadow-subtle);
    max-width: 100%;
    border-radius: var(--mbase-brdr-radius);
    border: 1px solid var(--mbase-clr-brdr-xlight);
    padding: var(--mbase-spacer-md);
}

.at-contactInfo__item:last-child {
    margin-bottom: 0;
}

.at-contactInfo__item::before {
    border-top-left-radius: var(--mbase-brdr-radius);
    border-top-right-radius: var(--mbase-brdr-radius);
    background: var(--mbase-clr-theme);
    background: -webkit-linear-gradient(0deg, var(--mbase-clr-theme) 0%, var(--mbase-clr-theme-intense) 100%);
    background: linear-gradient(90deg, var(--mbase-clr-theme) 0%, var(--mbase-clr-theme-intense) 100%);
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 5px;
    z-index: 2;
}

.at-contactInfo__header {
    height: 58px;
}

.at-contactInfo__picture {
    display: inline-block;
    position: absolute;
    top: calc(var(--mbase-spacer-xl) * -1);
    left: var(--mbase-spacer-md);
    z-index: 2;
    width: 120px;
    height: 120px;
    margin: 0 var(--mbase-spacer-md) var(--mbase-spacer-xs) 0;
    border-radius: 50%;
    overflow: hidden;
    vertical-align: middle;
    background: var(--mbase-clr-theme-light);
    border: 4px solid var(--mbase-clr-brdr-white);
    box-shadow: var(--mbase-nice-box-shadow);
}

.at-contactInfo__picture::before {
    font-family: var(--mbase-fam-icon);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    text-decoration: none;
    text-transform: none;
    content: "\e02e";
}

.at-contactInfo__picture::before {
    font-size: var(--mbase-txtSize-3);
    color: var(--mbase-clr-txt-placeholder-icon);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
    z-index: 1;
}

.at-contactInfo__image {
    transition: transform 1s cubic-bezier(0, 0, 0.3, 1), opacity 1s cubic-bezier(0, 0, 0.3, 1);
    width: 100%;
    object-fit: cover;
    height: 100%;
    opacity: 0.95;
    position: absolute;
    top: 0;
    z-index: 3;
}

.at-contactInfo__picture__background {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--mbase-clr-bg-body);
}

.at-contactInfo__section {
    width: 100%;
    font-size: var(--mbase-txtSize-7);
    color: var(--mbase-clr-txt-body);
}

.at-contactInfo__name {
    transition: all 0.25s ease-in-out;
    display: block;
    color: var(--mbase-clr-txt-body);
    margin-bottom: var(--mbase-spacer-xxs);
    font-size: var(--mbase-txtSize-5);
    font-family: var(--mbase-fam-regular);
    font-weight: var(--mbase-txt-bold);
    line-height: var(--mbase-lnHeight-sm);
}

.at-contactInfo__jobTitle {
    display: inline-block;
    color: var(--mbase-clr-txt-meta);
    font-size: var(--mbase-txtSize-6);
    margin-bottom: var(--mbase-spacer-xs);
    line-height: var(--mbase-lnHeight-sm);
}

.at-contactInfo__email {
    margin-top: var(--mbase-spacer);
}

.at-contactInfo__email a {
    transition: all 0.25s ease-in-out;
    border: 1px solid var(--mbase-clr-btn-brdr-80);
    background-color: transparent;
    height: var(--mbase-btn-default-height);
    border-radius: var(--mbase-btn-brdr-radius);
    font-weight: var(--mbase-txt-semibold);
    font-family: var(--mbase-fam-regular);
    font-size: var(--mbase-txtSize-6);
    color: var(--mbase-clr-link);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-inline: var(--mbase-spacer-reg);
    line-height: var(--mbase-lnHeight-xxs);
    text-decoration: none;
}

.at-contactInfo__email a:hover {
    color: var(--mbase-clr-link-hover);
    border-color: var(--mbase-clr-btn-brdr-hover);
}

.at-contactInfo__email a span {
    line-height: var(--mbase-lnHeight-xxs);
}

.at-contactInfo__email a::after {
    display: none;
}

.at-contactInfo__email a::after {
    font-family: var(--mbase-fam-icon);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    text-decoration: none;
    text-transform: none;
    content: "\e004";
}

.at-contactInfo__email a::after {
    transition: all 0.25s ease-in-out;
    display: inline-block;
    margin-left: var(--mbase-spacer-xs);
}

.at-contactInfo__email a:hover::after {
    margin-left: var(--mbase-spacer-sm);
}

.at-contactInfo__email a::before {
    font-family: var(--mbase-fam-icon);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    text-decoration: none;
    text-transform: none;
    content: "\e023";
}

.at-contactInfo__email a::before {
    margin-right: var(--mbase-spacer-xs);
}

.at-contactInfo__phoneNumber {
    font-size: var(--mbase-txtSize-6);
}

.at-contactInfo__phoneNumber::before {
    font-family: var(--mbase-fam-icon);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    text-decoration: none;
    text-transform: none;
    content: "\e028";
}

.at-contactInfo__phoneNumber::before {
    margin-right: var(--mbase-spacer-xxs);
}

.at-contactInfo__link {
    margin-top: var(--mbase-spacer-xs);
}

.at-contactInfo__link a {
    transition: all 0.25s ease-in-out;
    border: 1px solid var(--mbase-clr-btn-brdr-80);
    border-radius: var(--mbase-btn-brdr-radius);
    font-weight: var(--mbase-txt-semibold);
    font-family: var(--mbase-fam-regular);
    font-size: var(--mbase-txtSize-6);
    color: var(--mbase-clr-link);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-inline: var(--mbase-spacer-reg);
    line-height: var(--mbase-lnHeight-xxs);
    text-decoration: none;
    background-color: transparent;
    border-color: transparent;
    padding: 0;
    height: auto;
    margin-top: var(--mbase-spacer-xs);
}

.at-contactInfo__link a:hover {
    color: var(--mbase-clr-link-hover);
    border-color: var(--mbase-clr-btn-brdr-hover);
}

.at-contactInfo__link a span {
    line-height: var(--mbase-lnHeight-xxs);
}

.at-contactInfo__link a::after {
    display: none;
}

.at-contactInfo__link a:hover {
    background-color: transparent;
    border-color: transparent;
}

.at-contactInfo__link a::after {
    font-family: var(--mbase-fam-icon);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    text-decoration: none;
    text-transform: none;
    content: "\e004";
}

.at-contactInfo__link a::after {
    transition: all 0.25s ease-in-out;
    display: inline-block;
    margin-left: var(--mbase-spacer-xs);
}

.at-contactInfo__link a:hover::after {
    margin-left: var(--mbase-spacer-sm);
}

@media (min-width: 36em) {
    .at-contactInfo {
        flex-direction: row;
    }

    .at-contactInfo__item {
        margin-right: var(--mbase-gap-grid-sm);
        flex: 0 0 calc((100% - var(--mbase-gap-grid-sm) * (2 - 1)) / 2);
        max-width: calc((100% - var(--mbase-gap-grid-sm) * (2 - 1)) / 2);
        margin-bottom: 0;
    }

    .at-contactInfo__item:nth-child(2n),
    .at-contactInfo__item:last-child {
        margin-right: 0;
    }
}

@media (min-width: 48em) {
    .at-contactInfo__item {
        margin-right: var(--mbase-gap-grid);
        flex: 0 0 calc((100% - var(--mbase-gap-grid) * (2 - 1)) / 2);
        max-width: calc((100% - var(--mbase-gap-grid) * (2 - 1)) / 2);
    }

    .at-contactInfo__item:nth-child(2n),
    .at-contactInfo__item:last-child {
        margin-right: 0;
    }
}

@media (min-width: 62em) {
    .at-contactInfo {
        flex-direction: column;
    }

    .at-contactInfo__item {
        max-width: 100%;
        flex-basis: 100%;
        width: 100%;
        margin-bottom: var(--mbase-spacer-xxl);
    }
}
