.header-html-1 {
    flex-grow: 1;
}

.header-html-1 address {
    margin-bottom: 0;
}

.header-contacts {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 5px;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .header-contacts {
        align-items: self-end;
    }
}

@media (min-width: 992px) {
    .header-contacts {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .header-contacts li {
        flex-grow: 1;
        display: flex;
        justify-content: center;
    }

    .h-contacts {
        flex-basis: 150px;
        flex-grow: 0;
        flex-shrink: 1;
    }

    .datetime {
        flex-basis: 165px;
        flex-grow: 0;
        flex-shrink: 1;
    }
}

.address ul, .h-contacts ul, .datetime ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.address ul {
    row-gap: 2px;
}

@media (min-width: 500px) {

}

@media (min-width: 768px) {
    .address ul, .h-contacts ul, .datetime ul {
        flex-direction: column;
        align-items: flex-end;
        gap: 5px;
    }
}

@media (min-width: 992px) {
    .address ul, .h-contacts ul, .datetime ul {
        align-items: flex-start;
    }
}

.header-contacts svg {
    width: 14px;
    height: 14px;
    fill: var(--red-color);
}

.header-contacts li > ul > li,
.header-contacts li > ul > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.875rem;
    z-index: 1;
    padding: 0;
}

.h-contacts__phone a span, .h-contacts__mail a span {
    color: var(--primary-color);
}