/* ==========================================================
   СТРАНИЦА НОВОСТИ
   ========================================================== */

.ik-single-page {
    width: calc(100% - 92px);
    max-width: 1250px;
    margin: 28px auto 70px;
}

/* ==========================================================
   ОСНОВНАЯ СЕТКА
   ========================================================== */

.ik-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 24px;
    align-items: start;
}


.ik-single {
    min-width: 0;

    background: #fff;

    padding: 34px 38px;

    border-radius: 8px;

    box-sizing: border-box;

    overflow: hidden;
}


/* ==========================================================
   ЗАГОЛОВОК
   ========================================================== */

.ik-single__header {
    margin-bottom: 24px;
}


.ik-single__category {
    display: inline-block;

    margin-bottom: 12px;
    padding: 6px 10px;

    background: #d71920;
    color: #fff;

    border-radius: 4px;

    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}


.ik-single__title {
    margin: 0;

    font-size: clamp(24px, 4vw, 40px);
    line-height: 1.08;
    font-weight: 800;

    color: #111;
}


.ik-single__meta {
    margin-top: 14px;

    color: #777;
    font-size: 13px;
}


/* ==========================================================
   ГЛАВНОЕ ИЗОБРАЖЕНИЕ
   ========================================================== */

.ik-single__featured-image {
    margin: 0 0 28px;
}


.ik-single__featured-image img {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 10px;
}


/* ==========================================================
   ТЕКСТ
   ========================================================== */

.ik-single__content {
    font-size: 18px;
    line-height: 1.7;
    color: #222;
}


.ik-single__content p {
    margin: 0 0 20px;
}


.ik-single__content img {
    max-width: 100%;
    height: auto;
}


/* ==========================================================
   СОЦСЕТИ
   ========================================================== */

.ik-single__share {
    display: flex;
    gap: 6px;
    margin: 28px 0;
}


.ik-single__share a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    text-decoration: none;
}

.ik-single__share a img {
    display: block;

    width: 40px;
    height: 40px;
}



/* ==========================================================
   СООБЩИТЬ НОВОСТЬ
   ========================================================== */

.ik-single__contact {
    display: flex;
    flex-direction: column;
    gap: 6px;

    margin: 30px 0;

    text-align: center;

    font-size: 15px;
}


.ik-single__contact a {
    color: #168de2;
}


/* ==========================================================
   РЕКЛАМА
   ========================================================== */

.ik-single__ad {
    width: 100%;

    margin-top: 24px;

    margin-bottom: 24px;

    padding: 0;

    box-sizing: border-box;

    background: transparent;

    overflow: hidden;

    border-radius: 8px;
}


.ik-single__ad .ik-banner {
    width: 100%;

    max-width: 100%;

    margin: 0;

    overflow: hidden;

    border-radius: 8px;
}


.ik-single__ad .ik-banner-image {
    display: block;

    width: 100%;

    height: auto;
}


/* ==========================================================
   ПРАВАЯ КОЛОНКА
   ========================================================== */

.ik-sidebar-block {
    background: #fff;

    padding: 20px;

    border-radius: 8px;

    box-sizing: border-box;
}

.ik-sidebar-block h2 {
    margin: 0 0 14px;
    padding-bottom: 10px;

    border-bottom: 2px solid #e5e5e5;

    font-size: 20px;
    font-weight: 800;
}


.ik-latest-news {
    display: flex;
    flex-direction: column;
}


.ik-latest-news__item {
    display: block;
    padding: 13px 0;
    border-bottom: 1px solid #e5e5e5;
    color: #222;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ik-latest-news__item:hover {
    color: #d71920;
}

.ik-latest-news__item strong {
    display: block;

    font-size: 15px;
    line-height: 1.35;
}


.ik-latest-news__item time {
    display: block;

    margin-top: 6px;

    color: #777;

    font-size: 12px;
}


.ik-sidebar-ad {
    margin-top: 18px;
    background: #fff;
    padding: 18px;
    border-radius: 8px;
    box-sizing: border-box;
    overflow: hidden;
}

.ik-sidebar-ad .ik-banner {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

/* ==========================================================
   КОММЕНТАРИИ
   ========================================================== */

.ik-single__comments {
    margin-top: 24px;

    background: #fff;

    padding: 28px 38px;

    border-radius: 8px;

    box-sizing: border-box;

    overflow: hidden;
}


.ik-single__comments h2 {
    margin: 0 0 20px;

    font-size: 24px;
    font-weight: 800;
}


.ik-comments__login {
    padding: 16px 18px;

    background: #f7f7f7;

    border-radius: 6px;

    font-size: 14px;

    line-height: 1.4;
}


.ik-single__comments label {
    display: block;
    margin-bottom: 7px;

    font-weight: 600;
}


.ik-single__comments textarea {
    width: 100%;

    min-height: 160px;

    padding: 12px;

    box-sizing: border-box;

    border: 1px solid #ddd;

    border-radius: 6px;

    background: #fff;

    font: inherit;

    resize: vertical;

    outline: none;
}


.ik-single__comments textarea:focus {
    border-color: #d71920;
}


.ik-comments__submit {
    margin-top: 12px;

    padding: 10px 18px;

    border: 0;

    background: #d71920;

    color: #fff;

    border-radius: 6px;

    font-weight: 700;

    cursor: pointer;

    transition: opacity 0.2s ease;
}


.ik-comments__submit:hover {
    opacity: 0.9;
}


/* ==========================================================
   ЕЩЁ В РУБРИКЕ
   ========================================================== */

.ik-more-category {
    margin-top: 24px;
    background: #fff;
    padding: 26px 38px 30px;
    border-radius: 8px;
    box-sizing: border-box;
    overflow: hidden;
}


.ik-more-category__header {
    display: flex;
    align-items: end;
    justify-content: space-between;

    margin-bottom: 18px;

    border-bottom: 2px solid #e5e5e5;
}


.ik-more-category__header h2 {
    margin: 0;
    padding-bottom: 10px;

    font-size: 22px;
    font-weight: 800;
}


.ik-more-category__header a {
    padding-bottom: 10px;

    color: #168de2;

    font-size: 13px;

    text-decoration: none;
}


.ik-more-category__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}


.ik-news-card__image {
    display: block;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #eee;

    border-radius: 5px;
}


.ik-news-card__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


.ik-news-card__placeholder {
    width: 100%;
    height: 100%;

    background: #e6e6e6;
}


.ik-news-card__title {
    display: block;

    margin-top: 10px;

    color: #222;

    font-size: 17px;
    line-height: 1.3;
    font-weight: 700;

    text-decoration: none;
}


.ik-news-card__date {
    display: block;

    margin-top: 7px;

    color: #777;

    font-size: 12px;
}


/* ==========================================================
   АДАПТИВ
   ========================================================== */

@media (max-width: 900px) {

    .ik-single-page {
        width: calc(100% - 20px);
        margin: 20px 10px 50px;
    }

    .ik-single-layout {
        grid-template-columns: 1fr;
    }

    .ik-single__title {
        font-size: 36px;
    }

    .ik-more-category__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 600px) {

    .ik-single__title {
        font-size: 30px;
    }

    .ik-single__content {
        font-size: 16px;
        line-height: 1.6;
    }

    .ik-more-category__grid {
        grid-template-columns: 1fr;
    }

    .ik-single__share {
        margin: 20px 0;
    }

}

body.single-post {
    background: #eeeeee !important;
}

body.single-post .site-wrapper {
    background: transparent;
    max-width: none;
}

body.single-post .topbar-v2 {
    background: #eeeeee !important;
}

/* ==================
 убрать живую ленту
 ====================*/

body.single-post .ik-live-ticker {
    display: none;
}


/* ==========================================================
   ИНДИВИДУАЛЬНЫЕ РАЗМЕРЫ ИКОНОК ПОДЕЛИТЬСЯ
   ========================================================== */

.ik-single__share-link--vk img {
    width: 40px !important;
    height: 40px !important;
}

.ik-single__share-link--ok img {
    width: 40px !important;
    height: 40px !important;
}

.ik-single__share-link--tg img {
    width: 34px !important;
    height: 34px !important;
}

.ik-single__share-link--max img {
    width: 35px !important;
    height: 35px !important;
}