.services-related-wrapper {
    position: relative;
    margin-top: 30px;
    margin-bottom: 50px;
}

.services-related-container {
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 20px;
}

.services-related-information-header {
    position: relative;
    display: flex;
    justify-content: center;
}

.services-related-information {
    color: #282828;
    text-align: center;
}

.services-related-description {
    color: white;
    font-weight: bold;
}

.services-related-date {
    margin-top: 20px;
}

.services-related-card-header {
    position: relative;
    box-shadow: 0px 2px 30px #00000033;
}

.services-related-option-container {
    margin-top: 30px;
}

.services-related-header-description {
    border: 1px solid transparent;
    padding: 20px;
    padding-top: 0px;
    padding-left: 0px;
    padding-right: 0px;
}

.services-related-card-container {
    display: grid;
    grid-gap: 20px;
}

.services-related-header-img {
    display: flex;
    justify-content: center;
}

.services-related-img {
    width: 100%;
}

.services-related-description-container {
    display: grid;
    grid-gap: 20px;
}

.services-related-description-header {
    width: 100%;
}

.services-related-img .post-thumbnail img {
    width: 250px;
    height: auto;
}

.services-related-description-img {
    background-size: cover !important;
    background-position: center !important;
    width: 100%;
    height: 200px;
}

.services-related-optiondescription-img {
    background-color: black !important;
    background-size: contain !important;
    background-position: center !important;
    width: 100%;
    height: 200px;
}

.services-related-description {
    margin-top: 10px;
    max-width: 800px;
}

.services-related-header-zagolovok {
    display: flex;
    justify-content: center;
}

.services-related-description-zagolovok {
    color: black;
    font-size: 18px;
    text-align: center;
}

.services-related-header-author {
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr;
}

.services-related-header-btn {
    display: flex;
    justify-content: center;
}

.services-related-btn {
    background: transparent;
    color: black;
    font-size: 18px;
    box-shadow: 0px 0px 3px #f93f26, 0px 0px 3px #f93f26, 0px 0px 3px #f93f26, 0px 0px 3px #f93f26;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    width: fit-content;
    transition: 0.5s ease-out;
    transition-property: background, color;
    cursor: pointer;
}

.services-related-btn:hover {
    background: black;
    color: white;
    font-size: 18px;
    box-shadow: 0px 0px 3px #f93f26, 0px 0px 3px #f93f26, 0px 0px 3px #f93f26, 0px 0px 3px #f93f26;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    width: fit-content;
    transition: 0.5s ease-out;
    transition-property: background, color;
    cursor: pointer;
}

.services-related-description-btn {
    text-decoration: none !important;
}

.services-related-btn a {
    color: white !important;
    text-decoration: none !important;
}

.services-related-header-btn {
    display: flex;
    justify-content: center;
}

.services-related-products-header .services-related-header-btn {
    display: flex;
    justify-content: center;
}


@media only screen and (max-width: 1200px) {
.services-related-container {
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
}
}


@media only screen and (max-width: 768px) {
.services-related-container {
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr;
    grid-gap: 20px;
}
}