/*---------------------------------------*/
/*ШАБЛОН СТРАНИЦЫ ПОСТА*/
/*---------------------------------------*/
.single-post_bg article {
    padding-bottom: 12px;
    background-color: #fff;
}

.single-post_bg .single-post {
    padding: 12px;
    background-color: #fff;
}

.single-post_content {
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.single-post_content h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.9375rem;
}

.single-post_body img {
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-post_meta {
    display: flex;
    flex-wrap: wrap;
    row-gap: 10px;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.9375rem;
    margin-bottom: 0.9375rem;
}

.single-post_author {
    display: flex;
    align-items: center;
    gap: 7px
}

.single-post_logo {
    display: block;
    width: auto;
    height: 40px;
}

.single-post_author_img {
    width: 40px;
    height: auto;
}

.single-post_views img {
    width: 20px;
    margin-bottom: 3px;
}

.single-post_body img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.single-post_author a {
    color: rgb(51, 51, 51);
    text-decoration: none;
}

.single-post_date {
    color: rgba(51, 51, 51, 0.8);
}

.single-post_thumb {
    margin-top: .75rem;
    margin-bottom: 1.25rem;
}

.single-post_img {
    width: 100%;
}

.single-post_body {
    font-size: 1.1rem;
}

/*блок тегов*/
.single-post_tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 5px;
    column-gap: 10px;
    margin-top: .5rem;
    margin-bottom: .5rem;
    color: rgb(255, 255, 255);
}

.single-post_tags span {
    text-transform: uppercase;
    font-weight: 700;
    background-color: rgb(235, 235, 235);
    padding: .25rem;
    color: rgb(51, 51, 51);
}

.single-post_tags a {
    text-decoration: none;
    color: rgba(51, 51, 51, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: .8rem;
    font-weight: 700;
}

.single-post_tags a:hover {
    color: rgba(51, 51, 51, 1);
}

.single-post_border {
    border-top: 2px solid rgb(217, 217, 217);
    margin-top: 25px;
}

.single-post_button a {
    font-size: 13px;
    padding-left: 5px;
    padding-right: 5px;
}

.single-post_next-previous div {
    width: 50%;
    display: flex;
    justify-content: right;
}

.single-post_next-previous .single-post_previous a {
    text-align: left;
}

.single-post_next-previous .single-post_next a {
    text-align: right;
}



/*блок социальных сетей*/
.single-post_social {
    display: flex;
    justify-content: space-evenly;
    margin-top: .5rem;
    margin-bottom: .5rem;
}

.single-post_social a {
    display: block;
    width: 100%;
    text-align: center;
}

.single-post_social div {
    width: 20%;
    padding-top: .5rem;
    padding-bottom: .5rem;
    opacity: .8;
    margin: 0.25rem;
}

.single-post_social div:hover,
.single-post_social div:focus,
.single-post_social div:active {
    opacity: 1;
}

.single-post_social .instagram {
    background-color: rgb(172, 72, 209);
}

.single-post_social .threads {
    background-color: rgb(0, 0, 0);
}

.single-post_social .telegram {
    background-color: rgb(67, 170, 218);
}

.single-post_social .tiktok {
    background-color: rgb(243, 83, 131);
}

.single-post_social .vk {
    background-color: rgb(0, 115, 247);
}

.single-post_social .ok {
    background-color: rgb(239, 142, 29);
}

.single-post_social .youtube {
    background-color: rgb(241, 50, 50);
}

.single-post_social .facebook {
    background-color: rgb(50, 69, 241);
}

.single-post_social .dzen {
    background-color: rgb(255, 204, 0);
}

.single-post_social .rutube {
    background-color: rgb(57, 57, 61);
}

.single-post_social .twitter {
    background-color: rgb(50, 155, 241);
}

.single-post_fields {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.single-post_fields table {
    width: 100%;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, .15);
}

.single-post_fields td {
    padding-right: 50%;
    padding: 10px;
}

.single-post_fields .custom {
    font-weight: bold;
}

.single-post_fields a {
    color: var(--bs-link-color);
    text-decoration: underline;
}

/* Масштаб Видео на страницах single */
.single-post_body .wp-block-embed iframe:not(.wp-embedded-content) {
    height: 543px;
}

.single-post_body .wp-block-embed iframe {
    width: 100%;
}

.single-post_body .wp-block-embed {
    margin-bottom: 0.5rem;
}

/* Подпись картинки */
.single-post_body .wp-element-caption {
    font-size: 0.75rem;
    color: rgb(100, 100, 100);
    text-align: center;
}

.section-single-advertising-1_bg img,
.section-single-advertising-2_bg img {
    width: 100% !important;

    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

@media (min-width: 0px) and (max-width: 768px) {
    .single-post_body .wp-block-embed iframe:not(.wp-embedded-content) {
        height: 290px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .single-post_body .wp-block-embed iframe:not(.wp-embedded-content) {
        height: 393px;
    }
}

@media (min-width: 1200px) and (max-width: 1400px) {
    .single-post_body .wp-block-embed iframe:not(.wp-embedded-content) {
        height: 628px;
    }
}