#wpadminbar {
    display: none;
}
body {
    margin: 0;
    font-family: "Roboto", serif;
    font-weight: 400;
    font-style: normal;
    background: #e8e8e8;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
html {
    margin-top: 0!important;
    scroll-behavior: smooth;
}
main {
    flex: 1;
}
main.frontpage {
    background: #1a1a1a;
}
main.article {
    margin-top: 80px;
    margin-bottom: 24px;
}
*,
*:before,
*:after {
    box-sizing: border-box;
    outline: none;
}
.wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}
@media screen and (max-width: 768px) {
    .wrap {
        padding: 0 20px;
    }
}
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #000000;
    z-index: 10;
}
.header_menu ul {
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}
.header_menu ul li {
    list-style-type: none;
    position: relative;
}
.header_menu ul li:after {
    content: '';
    display: block;
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ededed;
    transition: .3s;
}
.header_menu ul li:hover:after {
    width: 100%;
}
.header_menu ul li a {
    color: #ededed;
    text-decoration: none;
}
.header_wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding-top: 20px;
    padding-bottom: 20px;
}
.header_home_link {
    display: block;
    height: 100%;
}
.header_logo {
    height: 100%;
}
.top {
    display: flex;
    position: relative;
    height: 100vh;
    padding: 120px 0 40px;
    background: #1a1a1a;
    background: url("assets/top_background_v2.png");
    overflow: hidden;
    background-position: center calc(50% + 60px);
    background-size: cover;
    background-attachment: fixed;
}
.top:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
@media screen and (max-width: 980px) {
    .top {
        height: auto;
    }
}
.top_block {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 60px;
    z-index: 2;
}
@media screen and (max-width: 980px) {
    .top_block {
        flex-direction: column;
    }
}
@media screen and (max-width: 768px) {
    .top_block {
        gap: 0;
    }
}
.top_title_block {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.top_title_block .top_title {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 50px;
    margin: 16px 0 10px;
}
@media screen and (max-width: 768px) {
    .top_title_block .top_title {
        font-size: 40px;
    }
}
@media screen and (max-width: 469px) {
    .top_title_block .top_title {
        font-size: 32px;
    }
}
.top_title,
.top_subtitle {
    color: #ededed;
    text-align: center;
    white-space: nowrap;
}
@media screen and (max-width: 469px) {
    .top_title,
    .top_subtitle {
        white-space: normal;
    }
}
.top_subtitle {
    font-weight: 400;
    font-size: 40px;
    margin: 10px 0 23px;
}
@media screen and (max-width: 768px) {
    .top_subtitle {
        font-size: 30px;
    }
}
@media screen and (max-width: 469px) {
    .top_subtitle {
        font-size: 24px;
    }
}
.top_link {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: "Roboto Condensed", serif;
    text-decoration: none;
    text-align: center;
    color: #ededed;
    background: #03a0e7;
    border-radius: 8px;
    padding: 10px 20px;
    transition: .3s;
}
.top_link:hover {
    box-shadow: 0px -5px 10px 0px rgba(0, 0, 0, 0.5);
}
.top_link.single_page_link {
    margin-bottom: 40px;
}
.top_link_logo {
    width: 40px;
}
.top_logo_wrap {
    flex: 1 1 auto;
}
.top_logo {
    width: 100%;
    max-width: 460px;
    height: auto;
    object-fit: cover;
}
@media screen and (max-width: 768px) {
    .top_logo {
        display: none;
    }
}
.posts_wrap {
    margin-top: 40px;
    margin-bottom: 80px;
}
.custom-posts-list {
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4%;
}
@media screen and (max-width: 768px) {
    .custom-posts-list {
        justify-content: space-around;
        gap: 2%;
    }
}
.custom-post-link {
    text-decoration: none;
}
.custom-post-image {
    overflow: hidden;
    aspect-ratio: 1;
}
.custom-post-link:hover .custom-post-image img {
    transform: scale(1.2);
}
.custom-post-link img {
    transform: scale(1.05);
    width: 100%;
    height: auto;
    transition: .5s;
}
.custom-post-title {
    font-family: "Roboto Condensed", serif;
    font-weight: 500;
    text-transform: uppercase;
    color: #ededed;
    text-align: center;
    margin: 8px 0 18px;
}
.custom-post-item {
    list-style-type: none;
    width: 22%;
    margin-bottom: 14px;
}
@media screen and (max-width: 768px) {
    .custom-post-item {
        width: 44%;
    }
}
footer {
    width: 100%;
}
.footer_contacts {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 40px;
}
@media screen and (max-width: 768px) {
    .footer_contacts {
        flex-direction: column;
    }
}
.footer_address {
    width: 48%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
@media screen and (max-width: 768px) {
    .footer_address {
        align-items: center;
        width: 100%;
    }
}
.footer_divider {
    width: 2px;
    height: 200px;
    background: #1a1a1a;
    display: flex;
}
@media screen and (max-width: 768px) {
    .footer_divider {
        display: none;
    }
}
.footer_social {
    width: 48%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
@media screen and (max-width: 768px) {
    .footer_social {
        width: auto;
        flex-direction: row;
        gap: 40px;
    }
}
.footer_social_link {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: #1a1a1a;
}
.footer_social_link span {
    transition: .3s;
}
@media screen and (max-width: 768px) {
    .footer_social_link span {
        display: none;
    }
}
.footer_social_link:hover span {
    margin-left: 15px;
    width: 48%;
}
@media screen and (max-width: 768px) {
    .footer_social_link:hover span {
        margin-left: 0;
    }
}
.footer_copyright {
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer_copyright p {
    color: #a7aaad;
    text-align: center;
}
/*.post-thumbnail {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    width: 100%;*/
/*    height: 300px;*/
/*    overflow: hidden;*/
/*    background-position: center center;*/
/*    background-size: cover;*/
/*    background-attachment: fixed;*/
/*}*/
@media screen and (max-width: 768px) {
    .post-thumbnail .entry-title {
        font-size: 40px;
        padding: 0 20px;
    }
}
@media screen and (max-width: 469px) {
    .post-thumbnail .entry-title {
        font-size: 32px;
    }
}
.breadcrumbs {
    margin-top: 30px;
    margin-bottom: 30px;
}
.breadcrumbs a {
    text-decoration: none;
    color: #000000;
}
img.aligncenter {
    display: block;
    margin: auto;
}
img.full-width {
    width: 100%;
    height: auto;
}