:root {
    --sg-container-padding: 28px;
    --sg-container-sm-padding: 20px;
    --sg-gap: 20px;
    --sg-container-xs: 100%;
    --sg-container-sm: 536px;
    --sg-container-md: 728px;
    --sg-container-lg: 984px;
    --sg-container-xl: 100%;
    --sg-container-xxl: 1320px;

    --white: #f4f4f4;
    --acsent: #cd3433;
    --grey: #5c5a66;
    --black: rgba(0, 0, 0, 0.85);
    --bg: #f5f5f5;

    --font-family: "Noto Sans", sans-serif;
    --second-family: "Roboto", sans-serif;
    --third-family: "Anta", sans-serif;
    --font3: "Agdasima", sans-serif;
    --font4: "Bakbak One", sans-serif;
}

/* breadcrums */
.breadcrums-container {
    width: max-content;
    display: flex;
    gap: 15px;
    margin: 20px auto 50px auto;
    border-radius: 10px;
    padding: 14px 24px;
    background: var(--black);
}

.breadcrums-text {
    margin: 0;
    padding: 0;
}

.separator-holder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.breadcrums-text {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    color: var(--grey);
}

.breadcrums-link {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    color: var(--acsent);
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    .breadcrums-text {
        font-family: var(--font-family);
        font-weight: 500;
        font-size: 16px;
        color: var(--grey);
        max-width: 200px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media screen and (max-width: 567px) {
    .breadcrums-container {
        margin: 15px 15px 20px 15px;
        width: calc(100% - 30px);
    }
    .separator-holder{
        flex: 0 0 15px;
    }
    .breadcrums-text{
        max-width: 100%;
    }
    .breadcrums-text-container{
        flex: 0 0 auto;
    }
    .breadcrums-text-container:last-child{
        flex: 1;
        overflow: hidden;
    }
}

.contacts-content-wrapper__title {
    font-weight: 700;
    font-style: normal;
    font-size: 52px;
    line-height: 61px;
    letter-spacing: 0;
    text-align: center;
    color: var(--black);
    margin-bottom: 40px;
    margin-top: 0;
}

.contacts-content-wrapper__content {
    padding: 50px 30px;
    width: 100%;
    background-image: url(../images/front/about_bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: rgba(18, 18, 18, 0.44);
    border-radius: 30px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 70px;
    column-gap: 140px;
}

.contacts-content-wrapper-left {
    display: flex;
    flex-flow: column;
    align-items: flex-start;
    justify-content: flex-start;
    row-gap: 0;
    flex: 0 0 auto;
    width: 100%;
    max-width: max-content;
}

.phones-list__item-link {
    font-family: var(--font-family);
    font-weight: 500;
    font-style: normal;
    font-size: 44px;
    line-height: 60px;
    letter-spacing: 0;
    color: #fff;
}

.phones-list__item {
    margin-bottom: 20px;
}

.phones-list__item:hover a {
    color: var(--acsent);
}

.contacts-content-wrapper-right {
    display: flex;
    flex-flow: column;
    row-gap: 40px;
    flex: 0 0 auto;
    width: 100%;
    max-width: max-content;
}

.contacts-social__links {
    display: flex;
    flex-flow: column;
    flex: 1;
    width: 100%;
    max-width: 100%;
    gap: 10px;
}

.contacts-social__links-list {
    display: flex;
    flex-flow: row;
    flex: 1;
    width: 100%;
    max-width: 100%;
    gap: 10px;
}

.contacts-title {
    font-family: var(--font-family);
    font-weight: 500;
    font-style: normal;
    font-size: 22px;
    line-height: 30px;
    letter-spacing: 0;
    color: var(--grey);
    width: 100%;
    margin-bottom: 20px;
}

.contacts-social__links-list-item {
    background: #CD3433;
    box-shadow: 0px 8px 20px 0px #CD343380;
    width: 127px;
    height: 50px;
    padding: 0 20px;
    border-radius: 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 127px;
}

.work-time__content {
    font-family: var(--font-family);
    font-weight: 500;
    font-style: normal;
    font-size: 32px;
    line-height: 44px;
    letter-spacing: 0;
    color: #fff;
    margin-bottom: 0;
}

.contacts-social__links-list-item img {
    width: 30px;
    height: 30px;
}

@media screen and (max-width: 1240px) {
    .sg-inner-container {
        padding-inline: var(--sg-container-sm-padding);
    }

    .contacts-content-wrapper__content {
        gap: 40px;
    }
}

@media screen and (max-width: 1024px) {
    .contacts-content-wrapper__content {
        gap: 20px;
    }
}

@media screen and (max-width: 990px) {
    .contacts-content-wrapper__content {
        gap: 30px;
        padding: 40px;
        flex-flow: column;
    }

    .contacts-content-wrapper-right {
        flex-flow: row;
        column-gap: 20px;
    }

    .work-time {
        flex: 1;
        width: 100%;
    }

    .contacts-social__links {
        flex: 0 0 auto;
        max-width: max-content;
    }

    .phones-list__item:last-child {
        margin-bottom: 0;
    }
}

@media screen and (max-width: 768px) {
    .contacts-content-wrapper__content {
        padding: 40px;
    }

    .contacts-content-wrapper-right {
        flex-flow: column;
        row-gap: 30px;
    }
}

@media screen and (max-width: 560px) {
    .contacts-content-wrapper__title {
        margin-top: 20px;
        margin-bottom: 15px;
        font-size: 34px;
        line-height: 40px;
    }

    .contacts-content-wrapper .sg-inner-container {
        padding-inline: 0;
    }

    .contacts-content-wrapper__content {
        border-radius: 0;
        padding: 20px 15px;
        row-gap: 20px;
        margin-bottom: 40px;
    }

    .phones-list__item {
        margin-bottom: 10px;
    }

    .work-time__content {
        font-size: 24px;
        line-height: 33px;
    }

    .contacts-title {
        font-size: 20px;
        line-height: 27px;
        margin-bottom: 10px;
    }

    .contacts-social__links-list-item {
        flex: 0 0 33%;
        max-width: 127px;
        min-width: max-content;
        padding: 0 10px;
    }

    .contacts-social__links-list {
        width: 100%;
        max-width: 100%;
        padding-right: 20px;
    }

    .contacts-social__links {
        max-width: 100%;
    }

    .phones-list__item-link {
        font-size: 32px;
        line-height: 44px;
    }
}