.contacts__map-container p,
.contacts__map-container h1 {
    margin: 0;
}

.contacts__map-container {
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contacts__title {
    color: #101010;
    font-size: 64px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: -.01em;
}

.contacts__info-title {
    color: #B2B2B2;
}

.contacts__info-title,
strong {
    color: #B2B2B2;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
}

.contacts__info-content {
    margin-top: auto;
}

.contacts__info-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.contacts__info-icons,
.contacts__transport-options {
    display: flex;
    align-items: center;
}

.contacts__icon,
.contacts__transport-icon img {
    width: 32px;
    height: 32px;
    margin-right: 10px;
}

.contacts__info-text,
.contacts__transport-text {
    display: inline-block;
    font-size: 14px;
    color: #333;
}

.contacts__info-icons img,
.contacts__transport-option img {
    margin-bottom: 10px;
}

.contacts__vertical-divider {
    width: 1px;
    background-color: #333;
    height: auto;
    margin: 0 15px;
    align-self: stretch;
}


.contacts__blocks-container {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
    gap: 10px;
    justify-content: space-between;
}

.contacts__block {
    flex: 1 1 calc(33.333% - 10px);
    background-color: #fff;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.contacts__block--orange {
    background: #F54500;
    color: #fff;
}

.contacts__block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contacts__block-title {
    font-size: 16px;
    color: #101010;
    margin: 0;
}

.contacts__block-title a {

    color: #101010;

}

.contacts__block-icon {
    width: 50%;

    /*width: 32px;*/
    height: 32px;
}

.contacts__block-content {
    margin-top: 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    text-align: left;
}

.contacts__block-date {
    font-size: 14px;
    color: #B2B2B2;
    margin-bottom: 5px;
}

.contacts__block-text {
    font-size: 16px;
    color: #333;
    margin-bottom: -20px;
}

.contacts__block-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.contacts__block-icon-footer {
    width: 32px;
    height: 32px;
}

.about-pagination__page.active {
    color: #1c86ff;
}

.contacts__block-label,
.contacts__block-phone,
.contacts__block-email,
.contacts__block-time {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}

.contacts__block-email .contacts__block-phone {
    color: #101010;
}

.contacts__block-label,
.contacts__block-time {
    color: #B2B2B2;
}

.contacts__block-phone {
    font-size: 20px;
    font-weight: bold;
}

.contacts__block--orange,
.contacts__block-label,
.contacts__block-phone,
.contacts__block-email,
.contacts__block-time {
    color: #fff;
}

h3.contacts__block-title,
h3.contacts__block-title * {
    color: #B2B2B2;
    font-size: 16px;
}

.contacts__block-icon img {
    width: 100%;
    height: 100%;

    vertical-align: middle;
    margin-right: 10px;

    object-position: left;
    object-fit: contain;
}


.media {
    display: flex;
    flex-wrap: wrap;
    margin-top: 190px;
    gap: 20px;
}

.media__item {
    flex: 1 1 calc(25% - 20px);
    box-sizing: border-box;
    border-radius: 5px;
    overflow: hidden;
}

.media__image-wrapper {
    width: 100%;
    padding-top: 200px;
    position: relative;
}

.media__image {
    /*width: 100%;
    height: 100%;*/
    height: 274px;
    width: 394px;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.media__info {
    display: flex;
    align-items: center;
    margin-top: 100px;

    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    margin-bottom: 5px;


}


.media__date {
    font-size: 12px;
}

.media__stats {
    display: flex;
    align-items: center;
    padding-left: 10px;
}


.media__icon {
    font-size: 16px;
}

.media__views {
    font-size: 12px;
    position: relative;
    left: 5px;
}

.media__description {
    font-size: 20px;
}

.about__pagination {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 39px;
    border-bottom: 1px solid;
    padding-bottom: 39px;

}

.about-pagination__pages-list {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 50px;
    align-items: center;
}

.about-pagination__page {
    color: #101010;
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: 100%;
/
}

about-pagination__page.active {
    color: #1C86FF;
}


@media screen and (max-width: 1340px) and (min-width: 769px) {
    .contacts__blocks-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 20px;
    }

    .contacts__block {
        flex: 1 1 calc(50% - 20px);
        margin-bottom: 20px;
        padding: 15px;
        min-height: 250px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    }

    .contacts__block-title {
        font-size: 16px;
    }

    .contacts__block-text {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .media {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
        margin-top: 30px;
    }

    .media__item {
        flex: 1 1 calc(50% - 15px);
        margin-bottom: 15px;
    }

    .media__image {
        height: 250px;
        width: 100%;
    }

    .media__description {
        font-size: 18px;
    }

    .media__info {
        margin-top: 50px;
    }

    .about-pagination__page {
        font-size: 18px;
    }

    .about-pagination__pages-list {
        gap: 40px;
    }
}


@media screen and (max-width: 768px) {
    .contacts__blocks-container {
        flex-direction: column;
        margin-bottom: 20px;
        gap: 10px;
    }

    .contacts__block {
        flex: 1 1 100%;
        margin-bottom: 15px;
    }

    .media {
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
    }

    .media__item {
        width: 100%;
    }


    .contacts__block-title {
        font-size: 18px;
    }

    .contacts__block-text {
        font-size: 15px;
    }

}

@media screen and (max-width: 480px) {
    .contacts__blocks-container {
        flex-direction: column;
        margin-bottom: 15px;
        gap: 10px;
        padding: 0 10px;
    }

    .contacts__block {
        flex: 1 1 100%;
        margin-bottom: 15px;
        padding: 8px;
        background-color: #f9f9f9;
        border-radius: 6px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08)
    }

    .media {
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
        padding: 0 10px;
    }

    .media__item {
        width: 100%;
        margin-bottom: 10px;
        padding: 8px;
        border-radius: 6px;

    }

    .contacts__block-title {
        font-size: 15px;
        margin-bottom: 8px;
        color: #333;
    }

    .contacts__block-text {
        font-size: 14px;
        line-height: 1.4;
        color: #666;
    }

    .media__item img {
        max-width: 100%;
        height: auto;
    }

    .media__item, p {
        font-size: 14px;
        line-height: 1.4;
    }

    .button,
    .contacts__block-button {
        font-size: 14px;
        padding: 8px 12px;
    }
}


