

/* =========================================================
   ШКОЛА «ПРИНЯТИЕ»
   ЕДИНАЯ ГЛОБАЛЬНАЯ ТЕМА БЛОГА GETCOURSE

   Содержит:
   1) оформление SEO-статей;
   2) нижний блок статьи;
   3) главную страницу блога.

   Селекторы изолированы по структуре страниц блога.
========================================================= */

/* =========================================================
   ШКОЛА «ПРИНЯТИЕ»
   ЕДИНЫЙ СТИЛЬ SEO-СТАТЕЙ
========================================================= */


/* =========================================================
   1. БАЗА СТАТЬИ
========================================================= */

.article-prinyatie {
    font-family: 'Manrope', Arial, sans-serif !important;

    color: #102c53;

    width: 100%;
    max-width: 820px;

    margin: 0 auto !important;
    padding: 0;

    box-sizing: border-box;

    font-size: 18px;
    line-height: 1.65;
}


.article-prinyatie *,
.article-prinyatie *::before,
.article-prinyatie *::after {
    box-sizing: border-box;
}


.article-prinyatie p {
    margin: 0 0 24px;
}


.article-prinyatie a {
    color: #68a8f8;
}


/* =========================================================
   2. ВЕРХ СТРАНИЦЫ GETCOURSE
========================================================= */


/* Ссылка «Блог школы Принятие» */

body:has(.article-prinyatie) a[href="/blog"] {
    display: block !important;

    width: 100% !important;

    margin: 20px auto 18px !important;

    text-align: center !important;

    font-family: 'Manrope', Arial, sans-serif !important;
    font-size: 18px !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;

    color: #68a8f8 !important;

    text-decoration: none !important;

    transition: color 0.2s ease !important;
}


@media (hover: hover) and (pointer: fine) {

    body:has(.article-prinyatie) a[href="/blog"]:hover {
        color: #fc79af !important;
    }

}


/* =========================================================
   3. H1
========================================================= */

body:has(.article-prinyatie) h1.f-header.f-header-52 {
    font-family: 'Manrope', Arial, sans-serif !important;

    font-size: 40px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: -0.4px !important;

    color: #102c53 !important;

    width: 100% !important;
    max-width: 820px !important;

    margin: 25px auto 28px !important;
    padding: 0 16px !important;

    box-sizing: border-box !important;

    text-align: center !important;
}


/* =========================================================
   4. ТЕГИ
========================================================= */

body:has(.article-prinyatie) .gc-tags {
    display: flex !important;

    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;

    gap: 9px !important;

    width: 100% !important;
    max-width: 820px !important;

    margin: 0 auto 30px !important;
    padding: 0 16px !important;

    box-sizing: border-box !important;

    text-align: center !important;
}


/* Сами плашки */

body:has(.article-prinyatie) .gc-tags a {
    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    padding: 7px 15px !important;

    background: #eef6ff !important;

    border: 1px solid #dcecff !important;
    border-radius: 50px !important;

    font-family: 'Manrope', Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    font-weight: 500 !important;

    color: #102c53 !important;

    text-decoration-line: underline !important;
    text-decoration-color: rgba(16, 44, 83, 0.35) !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 3px !important;

    cursor: pointer !important;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease,
        text-decoration-color 0.2s ease !important;
}


@media (hover: hover) and (pointer: fine) {

    body:has(.article-prinyatie) .gc-tags a:hover {
        background: #e1efff !important;

        border-color: #68a8f8 !important;

        text-decoration-color: #102c53 !important;

        transform: translateY(-2px);

        box-shadow:
            0 5px 14px rgba(104, 168, 248, 0.14);
    }

}


/* =========================================================
   5. ОБЛОЖКА СТАТЬИ
========================================================= */

.article-prinyatie .article-image {
    display: block;

    width: 100%;
    max-width: 100%;

    height: auto;

    aspect-ratio: 1200 / 630;
    object-fit: cover;

    border-radius: 24px;

    margin: 0 0 38px !important;

    box-sizing: border-box;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/* Если GetCourse ставит статью сразу после тегов */

body:has(.article-prinyatie) .gc-tags + .article-prinyatie {
    margin-top: 0 !important;
}


@media (hover: hover) and (pointer: fine) {

    .article-prinyatie .article-image:hover {
        transform: translateY(-2px);

        box-shadow:
            0 14px 35px rgba(16, 44, 83, 0.09);
    }

}


/* =========================================================
   6. ЛИД В НАЧАЛЕ
========================================================= */

.lead-box {
    background: #f4f8ff;

    border: 1px solid rgba(104, 168, 248, 0.08);
    border-radius: 28px;

    padding: 32px 36px;

    margin: 0 0 48px;

    font-size: 20px;
    line-height: 1.55;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


.lead-box p:last-child {
    margin-bottom: 0;
}


@media (hover: hover) and (pointer: fine) {

    .lead-box:hover {
        border-color: rgba(104, 168, 248, 0.22);

        box-shadow:
            0 10px 28px rgba(16, 44, 83, 0.045);
    }

}


/* =========================================================
   7. ЗАГОЛОВКИ В СТАТЬЕ
========================================================= */

.article-prinyatie h2 {
    font-family: 'Manrope', Arial, sans-serif !important;

    color: #102c53 !important;

    font-size: 32px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.3px;

    margin: 64px 0 28px;
}


.article-prinyatie h3 {
    font-family: 'Manrope', Arial, sans-serif !important;

    color: #102c53 !important;

    font-size: 23px;
    line-height: 1.35;
    font-weight: 700;

    margin: 38px 0 18px;
}


/* =========================================================
   8. СПИСКИ
========================================================= */

.article-prinyatie ul,
.article-prinyatie ol {
    padding-left: 25px;

    margin: 0 0 28px;
}


.article-prinyatie li {
    margin-bottom: 12px;
}


.article-prinyatie li::marker {
    color: #68a8f8;
}


/* =========================================================
   9. ЦИТАТЫ
========================================================= */

.article-prinyatie blockquote {
    margin: 30px 0;

    padding: 22px 28px;

    background: #f7faff;

    border-left: 4px solid #68a8f8;
    border-radius: 0 20px 20px 0;
}


.article-prinyatie blockquote p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   10. ИНФО-БЛОК
========================================================= */

.info-box {
    background: #f2f7ff;

    border: 1px solid transparent;
    border-radius: 28px;

    padding: 32px 36px;

    margin: 42px 0;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}


.info-box h2,
.info-box h3 {
    margin-top: 0;
}


.info-box p:last-child {
    margin-bottom: 0;
}


@media (hover: hover) and (pointer: fine) {

    .info-box:hover {
        border-color: rgba(104, 168, 248, 0.25);

        box-shadow:
            0 8px 26px rgba(16, 44, 83, 0.045);
    }

}


/* =========================================================
   11. ПРЕДУПРЕЖДЕНИЕ
========================================================= */

.warning-box {
    background: #fff4f8;

    border-left: 5px solid #fc79af;
    border-radius: 24px;

    padding: 30px 34px;

    margin: 42px 0;

    transition:
        box-shadow 0.25s ease,
        transform 0.25s ease;
}


.warning-box p:last-child {
    margin-bottom: 0;
}


@media (hover: hover) and (pointer: fine) {

    .warning-box:hover {
        box-shadow:
            0 8px 25px rgba(252, 121, 175, 0.09);
    }

}


/* =========================================================
   12. CTA-БЛОК
========================================================= */

.cta-box {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #68a8f8 0%,
            #fc79af 100%
        );

    background-size: 140% 140%;

    border-radius: 32px;

    padding: 42px;

    margin: 64px 0;

    color: #ffffff;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background-position 0.5s ease;
}


.cta-box h2,
.cta-box h3 {
    color: #ffffff !important;

    margin-top: 0;
}


.cta-box p {
    color: #ffffff;
}


.cta-box p:last-of-type {
    margin-bottom: 18px;
}


@media (hover: hover) and (pointer: fine) {

    .cta-box:hover {
        background-position: 80% 50%;

        transform: translateY(-2px);

        box-shadow:
            0 18px 40px rgba(104, 168, 248, 0.15);
    }

}


/* =========================================================
   13. КНОПКА CTA
========================================================= */

.cta-button {
    position: relative !important;

    display: inline-flex !important;

    justify-content: center;
    align-items: center;

    overflow: hidden !important;

    background: #ffffff !important;

    color: #102c53 !important;

    padding: 16px 34px !important;

    border-radius: 50px !important;

    font-size: 17px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;

    text-decoration: none !important;

    margin-top: 8px;

    box-shadow:
        0 5px 16px rgba(16, 44, 83, 0.10);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        background 0.22s ease !important;
}


/* Блик */

.cta-button::before {
    content: "";

    position: absolute;

    top: -50%;
    left: -70%;

    width: 45%;
    height: 200%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.78),
            transparent
        );

    transform: rotate(20deg);

    transition: left 0.55s ease;

    pointer-events: none;
}


@media (hover: hover) and (pointer: fine) {

    .cta-button:hover {
        transform:
            translateY(-3px)
            scale(1.015);

        box-shadow:
            0 12px 28px rgba(16, 44, 83, 0.20);
    }


    .cta-button:hover::before {
        left: 135%;
    }

}


.cta-button:active {
    transform:
        translateY(0)
        scale(0.98) !important;
}


/* =========================================================
   14. ССЫЛКА НА КУРС
========================================================= */

.course-link {
    display: inline-block;

    color: #377fd7 !important;

    font-weight: 700 !important;

    text-decoration-line: underline !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 4px !important;

    transition:
        color 0.2s ease,
        transform 0.2s ease !important;
}


@media (hover: hover) and (pointer: fine) {

    .course-link:hover {
        color: #fc79af !important;

        transform: translateX(3px);
    }

}


/* =========================================================
   15. FAQ
========================================================= */

.faq-item {
    background: #f8f9fc;

    border: 1px solid transparent;
    border-radius: 24px;

    padding: 28px 32px;

    margin-bottom: 18px;

    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        background 0.22s ease,
        box-shadow 0.22s ease;
}


.faq-item h3 {
    margin-top: 0;
}


.faq-item p:last-child {
    margin-bottom: 0;
}


@media (hover: hover) and (pointer: fine) {

    .faq-item:hover {
        transform: translateY(-2px);

        border-color: #e1ebf8;

        background: #ffffff;

        box-shadow:
            0 8px 24px rgba(16, 44, 83, 0.06);
    }

}


/* =========================================================
   16. ИСТОЧНИКИ
========================================================= */

.sources-box {
    background: #f8f9fc;

    border-radius: 24px;

    padding: 28px 32px;

    margin-top: 48px;

    font-size: 16px;
}


.sources-box p:last-child,
.sources-box ul:last-child {
    margin-bottom: 0;
}


/* =========================================================
   17. ДИСКЛЕЙМЕР
========================================================= */

.disclaimer-box {
    border-top: 1px solid #e5eaf2;

    margin-top: 40px;

    padding-top: 24px;

    font-size: 15px;

    color: #52627a;
}


/* =========================================================
   18. ВЫДЕЛЕНИЕ ТЕКСТА
========================================================= */

.article-prinyatie ::selection {
    background: rgba(252, 121, 175, 0.25);

    color: #102c53;
}


/* =========================================================
   19. ДОСТУПНОСТЬ / ФОКУС
========================================================= */

.article-prinyatie a:focus-visible,
body:has(.article-prinyatie) .gc-tags a:focus-visible,
body:has(.article-prinyatie) a[href="/blog"]:focus-visible {
    outline: 3px solid rgba(104, 168, 248, 0.40);

    outline-offset: 4px;
}


/* =========================================================
   20. МОБИЛЬНАЯ ВЕРСИЯ
========================================================= */

@media (max-width: 768px) {

    .article-prinyatie {
        font-size: 16px;
        line-height: 1.6;

        padding-left: 16px;
        padding-right: 16px;
    }


    /* Блог школы */

    body:has(.article-prinyatie) a[href="/blog"] {
        font-size: 17px !important;

        margin-top: 16px !important;
        margin-bottom: 14px !important;
    }


    /* H1 */

    body:has(.article-prinyatie) h1.f-header.f-header-52 {
        font-size: 30px !important;
        line-height: 1.22 !important;

        padding: 0 15px !important;

        margin-top: 20px !important;
        margin-bottom: 22px !important;
    }


    /* Теги */

    body:has(.article-prinyatie) .gc-tags {
        gap: 7px !important;

        margin: 0 auto 24px !important;

        padding: 0 14px !important;
    }


    body:has(.article-prinyatie) .gc-tags a {
        padding: 6px 12px !important;

        font-size: 13px !important;
    }


    /* Обложка */

    .article-prinyatie .article-image {
        border-radius: 18px;

        margin-bottom: 28px !important;
    }


    /* Лид */

    .lead-box {
        font-size: 17px;
    }


    /* Заголовки */

    .article-prinyatie h2 {
        font-size: 26px;
        line-height: 1.28;

        margin-top: 44px;
        margin-bottom: 22px;
    }


    .article-prinyatie h3 {
        font-size: 21px;
    }


    /* Карточки */

    .lead-box,
    .info-box,
    .warning-box,
    .faq-item {
        padding: 24px;

        border-radius: 20px;
    }


    /* CTA */

    .cta-box {
        padding: 28px 24px;

        border-radius: 24px;

        margin: 48px 0;
    }


    .cta-button {
        width: 100%;

        min-height: 52px;

        box-sizing: border-box;

        text-align: center;
    }


    /* Цитата */

    .article-prinyatie blockquote {
        padding: 20px 22px;
    }


    /* Источники */

    .sources-box {
        padding: 24px;

        border-radius: 20px;
    }

}


/* =========================================================
   21. ОЧЕНЬ УЗКИЕ ЭКРАНЫ
========================================================= */

@media (max-width: 420px) {

    body:has(.article-prinyatie) h1.f-header.f-header-52 {
        font-size: 28px !important;
    }


    body:has(.article-prinyatie) .gc-tags {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }


    body:has(.article-prinyatie) .gc-tags a {
        font-size: 12.5px !important;
    }


    .article-prinyatie {
        padding-left: 14px;
        padding-right: 14px;
    }


    .lead-box,
    .info-box,
    .warning-box,
    .faq-item {
        padding: 21px;
    }


    .cta-box {
        padding: 26px 21px;
    }

}


/* =========================================================
   22. ЕСЛИ У ПОЛЬЗОВАТЕЛЯ ОТКЛЮЧЕНА АНИМАЦИЯ
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .article-prinyatie *,
    .article-prinyatie *::before,
    .article-prinyatie *::after,
    body:has(.article-prinyatie) .gc-tags *,
    body:has(.article-prinyatie) a[href="/blog"] {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }

}


/* =========================================================
   ШКОЛА «ПРИНЯТИЕ»
   НИЖНИЙ БЛОК СТАТЕЙ GETCOURSE

   Область действия ограничена .gc-blog-footer.
========================================================= */


/* =========================================================
   1. ОБЩИЙ КОНТЕЙНЕР
========================================================= */

body:has(.article-prinyatie) .gc-blog-footer {
    --pr-text: #102c53;
    --pr-text-soft: #52627a;
    --pr-blue: #68a8f8;
    --pr-blue-dark: #377fd7;
    --pr-pink: #fc79af;
    --pr-blue-bg: #f4f8ff;
    --pr-blue-bg-light: #f7faff;
    --pr-card-bg: #f8f9fc;
    --pr-blue-border: #dcecff;
    --pr-card-border: #e1ebf8;

    width: 100%;
    margin-bottom: 64px !important;

    font-family: 'Manrope', Arial, sans-serif !important;
    color: var(--pr-text);
}

body:has(.article-prinyatie)
    .gc-blog-footer,
body:has(.article-prinyatie)
    .gc-blog-footer *,
body:has(.article-prinyatie)
    .gc-blog-footer *::before,
body:has(.article-prinyatie)
    .gc-blog-footer *::after {
    box-sizing: border-box;
}

body:has(.article-prinyatie)
    .gc-blog-footer > .container {
    width: calc(100% - 32px) !important;
    max-width: 820px !important;

    margin: 24px auto 0 !important;
    padding: 0 !important;
}

body:has(.article-prinyatie)
    .gc-blog-footer > .container > .row {
    margin: 0 !important;
}

body:has(.article-prinyatie)
    .gc-blog-footer > .container > .row > [class*="col-md-"] {
    float: none !important;

    width: 100% !important;
    max-width: none !important;

    margin-right: 0 !important;
    margin-left: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}


/* =========================================================
   2. КАРТОЧКА АВТОРА
========================================================= */

body:has(.article-prinyatie)
    .gc-blog-footer > .container:first-child > .row {
    display: flex;
    align-items: center;

    padding: 24px 28px;

    background: var(--pr-blue-bg);
    border: 1px solid rgba(104, 168, 248, 0.14);
    border-radius: 24px;
}

body:has(.article-prinyatie)
    .gc-blog-footer .gc-standard-user-info {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    align-items: center;
    column-gap: 16px;

    min-height: 62px;
}

body:has(.article-prinyatie)
    .gc-blog-footer .gc-user-block-avatar {
    grid-row: 1 / span 2;
    grid-column: 1;

    width: 62px;
    height: 62px;
}

body:has(.article-prinyatie)
    .gc-blog-footer .gc-user-block-avatar img {
    display: block;

    width: 62px !important;
    height: 62px !important;

    object-fit: cover;

    border: 3px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 5px 14px rgba(16, 44, 83, 0.10);
}

body:has(.article-prinyatie)
    .gc-blog-footer .gc-standard-user-info .user-profile-link {
    grid-row: 1;
    grid-column: 2;
    align-self: end;

    color: var(--pr-text) !important;
    font-family: 'Manrope', Arial, sans-serif !important;
    font-size: 18px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

body:has(.article-prinyatie)
    .gc-blog-footer .gc-standard-user-info .gc-text-block {
    grid-row: 2;
    grid-column: 2;
    align-self: start;

    margin-top: 3px;

    color: var(--pr-text-soft) !important;
    font-family: 'Manrope', Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
}

body:has(.article-prinyatie)
    .gc-blog-footer .user-payed-label {
    display: none !important;
}


/* Убираем штатные кнопки VK и Twitter. */

body:has(.article-prinyatie)
    .gc-blog-footer .gc-share-links,
body:has(.article-prinyatie)
    .gc-blog-footer .btn-vk,
body:has(.article-prinyatie)
    .gc-blog-footer .btn-twitter,
body:has(.article-prinyatie)
    .gc-blog-footer .col-md-2:has(.gc-share-links) {
    display: none !important;
}


/* =========================================================
   3. ЛАЙК, ПОДПИСКА И КОММЕНТАРИИ
========================================================= */

body:has(.article-prinyatie)
    .gc-blog-footer > .container:nth-child(2) > .row > .col-md-8 {
    padding: 26px 28px !important;

    background: var(--pr-card-bg);
    border: 1px solid var(--pr-card-border);
    border-radius: 24px;
}

body:has(.article-prinyatie)
    .gc-blog-footer .b-like-and-subscribe-notifications {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;

    margin-bottom: 18px;

    font-family: 'Manrope', Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    color: var(--pr-text-soft) !important;
}

body:has(.article-prinyatie)
    .gc-blog-footer .b-like-and-subscribe-notifications .button {
    display: inline-flex;
    align-items: center;

    padding: 7px 13px;

    color: var(--pr-blue-dark) !important;
    background: #ffffff;
    border: 1px solid var(--pr-blue-border);
    border-radius: 50px;

    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

body:has(.article-prinyatie)
    .gc-blog-footer .b-like-and-subscribe-notifications > .word-separator {
    display: none !important;
}

body:has(.article-prinyatie)
    .gc-blog-footer .comments-tree-wrapper {
    margin-top: 0;
}

/* GetCourse добавляет после верхних действий два пустых переноса строки. */

body:has(.article-prinyatie)
    .gc-blog-footer > .container:nth-child(2) > .row > .col-md-8
    > .b-like-and-subscribe-notifications + br,
body:has(.article-prinyatie)
    .gc-blog-footer > .container:nth-child(2) > .row > .col-md-8
    > .b-like-and-subscribe-notifications + br + br {
    display: none !important;
}

body:has(.article-prinyatie)
    .gc-blog-footer .gc-comment-form {
    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: 0 !important;
}

body:has(.article-prinyatie)
    .gc-blog-footer .new-comment > form {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
}

body:has(.article-prinyatie)
    .gc-blog-footer .new-comment .user-image-wrapper {
    grid-column: 1;
    grid-row: 1;

    width: 50px;
    height: 50px;
}

body:has(.article-prinyatie)
    .gc-blog-footer .new-comment .user-image-wrapper img {
    display: block;

    width: 50px !important;
    height: 50px !important;

    object-fit: cover;

    border: 2px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(16, 44, 83, 0.10);
}

body:has(.article-prinyatie)
    .gc-blog-footer .new-comment .textarea-block {
    grid-column: 2;
    grid-row: 1;

    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;

    min-width: 0;
}

body:has(.article-prinyatie)
    .gc-blog-footer .new-comment .emoji-container {
    width: 100%;
}

body:has(.article-prinyatie)
    .gc-blog-footer .new-comment-textarea {
    width: 100% !important;
    min-height: 54px !important;
    max-height: 180px !important;

    padding: 14px 82px 14px 16px !important;

    resize: vertical !important;

    color: var(--pr-text) !important;
    background: #ffffff !important;
    border: 1px solid var(--pr-blue-border) !important;
    border-radius: 16px !important;
    box-shadow: inset 0 1px 2px rgba(16, 44, 83, 0.025) !important;

    font-family: 'Manrope', Arial, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.5 !important;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

body:has(.article-prinyatie)
    .gc-blog-footer .new-comment-textarea:focus {
    border-color: var(--pr-blue) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(104, 168, 248, 0.16) !important;
}

body:has(.article-prinyatie)
    .gc-blog-footer .btn-send {
    min-height: 44px;

    margin: 0 !important;
    padding: 11px 22px !important;

    color: #ffffff !important;
    background: linear-gradient(135deg, var(--pr-blue), var(--pr-pink)) !important;
    background-size: 140% 140% !important;
    border: 0 !important;
    border-radius: 50px !important;

    font-family: 'Manrope', Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    text-transform: none !important;

    box-shadow: 0 6px 16px rgba(104, 168, 248, 0.18);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-position 0.35s ease;
}

body:has(.article-prinyatie)
    .gc-blog-footer .download-csv {
    margin-left: auto;

    color: var(--pr-text-soft) !important;
    font-family: 'Manrope', Arial, sans-serif !important;
    font-size: 12px !important;
    text-decoration-color: rgba(82, 98, 122, 0.35) !important;
    text-underline-offset: 3px;
}

/* Состояние для гостя, которому нужно авторизоваться. */

body:has(.article-prinyatie)
    .gc-blog-footer .new-comment:not(:has(form)) {
    padding: 18px 20px;

    color: var(--pr-text-soft);
    background: #ffffff;
    border: 1px solid var(--pr-blue-border);
    border-radius: 16px;

    font-size: 15px;
    line-height: 1.55;
}

body:has(.article-prinyatie)
    .gc-blog-footer .new-comment:not(:has(form)) a {
    color: var(--pr-blue-dark) !important;
    font-weight: 700;
    text-underline-offset: 3px;
}

/* Опубликованные комментарии: единый шрифт и ровный вертикальный ритм. */

body:has(.article-prinyatie)
    .gc-blog-footer .comments-tree > .comments-container {
    margin-top: 20px !important;
}

body:has(.article-prinyatie)
    .gc-blog-footer .gc-comment > .comment-wrapper {
    margin: 0 0 10px !important;
    padding: 16px 18px !important;

    background: #ffffff;
    border: 1px solid var(--pr-card-border);
    border-radius: 18px;
}

body:has(.article-prinyatie)
    .gc-blog-footer .gc-comment .comment {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: start;
    column-gap: 14px;

    min-height: 50px;
}

body:has(.article-prinyatie)
    .gc-blog-footer .gc-comment .comment > .user-image-wrapper {
    grid-column: 1;
    grid-row: 1 / span 2;

    width: 50px !important;
    height: 50px !important;
}

body:has(.article-prinyatie)
    .gc-blog-footer .gc-comment .comment > .user-image-wrapper img {
    display: block;

    width: 50px !important;
    height: 50px !important;

    object-fit: cover;
    border: 2px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(16, 44, 83, 0.10);
}

body:has(.article-prinyatie)
    .gc-blog-footer .gc-comment .comment > .title {
    grid-column: 2;
    grid-row: 1;

    width: auto !important;
    min-width: 0;
    margin: 0 0 3px !important;
    padding: 0 !important;

    font-family: 'Manrope', Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
}

body:has(.article-prinyatie)
    .gc-blog-footer .gc-comment .comment > .title .user-profile-link {
    color: var(--pr-blue-dark) !important;
    font-family: 'Manrope', Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

body:has(.article-prinyatie)
    .gc-blog-footer .gc-comment .comment > .text {
    grid-column: 2;
    grid-row: 2;

    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;

    color: var(--pr-text) !important;
    font-family: 'Manrope', Arial, sans-serif !important;
}

body:has(.article-prinyatie)
    .gc-blog-footer .gc-comment .comment > .text .main,
body:has(.article-prinyatie)
    .gc-blog-footer .gc-comment .comment > .text .text-content {
    color: var(--pr-text) !important;
    font-family: 'Manrope', Arial, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
}

body:has(.article-prinyatie)
    .gc-blog-footer .gc-comment .comment-time {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;

    height: auto !important;
    min-height: 0 !important;
    margin: 8px 0 0 !important;
    padding: 0 !important;

    color: var(--pr-text-soft) !important;
    font-family: 'Manrope', Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
}

body:has(.article-prinyatie)
    .gc-blog-footer .gc-comment .comment-time > .value {
    color: var(--pr-text-soft) !important;
    font-family: 'Manrope', Arial, sans-serif !important;
    font-size: 12px !important;
}

body:has(.article-prinyatie)
    .gc-blog-footer .gc-comment .comment-time > .word-separator {
    display: none !important;
}

body:has(.article-prinyatie)
    .gc-blog-footer .gc-comment .b-like-and-subscribe-notifications {
    display: inline-flex !important;
    flex: 0 1 auto;
    gap: 6px;

    width: auto !important;
    margin: 0 !important;

    font-size: 12px !important;
}

body:has(.article-prinyatie)
    .gc-blog-footer .gc-comment .b-like-and-subscribe-notifications .button,
body:has(.article-prinyatie)
    .gc-blog-footer .gc-comment .b-comment-reply .button {
    padding: 5px 10px !important;

    color: var(--pr-blue-dark) !important;
    background: #f7faff !important;
    border: 1px solid var(--pr-blue-border) !important;
    border-radius: 50px !important;

    font-family: 'Manrope', Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
}

body:has(.article-prinyatie)
    .gc-blog-footer .gc-comment .b-comment-reply {
    display: inline-flex !important;
    align-items: center;

    font-family: 'Manrope', Arial, sans-serif !important;
}

body:has(.article-prinyatie)
    .gc-blog-footer .gc-comment .b-comment-reply > .word-separator {
    display: none !important;
}


/* =========================================================
   4. ТЕГИ И СВЯЗАННЫЕ СТАТЬИ
========================================================= */

body:has(.article-prinyatie)
    .gc-blog-footer .related_articles > .row > .col-md-8 {
    display: flex;
    flex-direction: column;

    padding: 30px 32px !important;

    background: var(--pr-blue-bg-light);
    border: 1px solid var(--pr-card-border);
    border-radius: 28px;
}

body:has(.article-prinyatie)
    .gc-blog-footer .related_articles .col-md-8 > div:has(.gc-tags) {
    order: 1;
    float: none !important;

    width: 100%;

    margin: 0 0 24px !important;
}

body:has(.article-prinyatie)
    .gc-blog-footer .related_articles .gc-tags {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    text-align: center !important;
}

body:has(.article-prinyatie)
    .gc-blog-footer .related_articles .gc-tags a {
    display: inline-flex !important;
    justify-content: center;
    align-items: center;

    padding: 7px 14px !important;

    color: var(--pr-text) !important;
    background: #eef6ff !important;
    border: 1px solid var(--pr-blue-border) !important;
    border-radius: 50px !important;

    font-family: 'Manrope', Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    font-weight: 500 !important;
    text-align: center !important;
    text-decoration: none !important;
}

body:has(.article-prinyatie)
    .gc-blog-footer .related_articles h3 {
    order: 2;

    margin: 0 0 18px !important;

    color: var(--pr-text) !important;
    font-family: 'Manrope', Arial, sans-serif !important;
    font-size: 26px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    letter-spacing: -0.2px;
    text-align: center;
}

body:has(.article-prinyatie)
    .gc-blog-footer .related_articles ul {
    order: 3;

    display: grid;
    gap: 10px;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}

body:has(.article-prinyatie)
    .gc-blog-footer .related_articles li {
    position: relative;

    margin: 0 !important;
    padding: 13px 18px 13px 42px;

    background: #ffffff;
    border: 1px solid rgba(104, 168, 248, 0.12);
    border-radius: 16px;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

body:has(.article-prinyatie)
    .gc-blog-footer .related_articles li::before {
    content: "→";

    position: absolute;
    top: 13px;
    left: 17px;

    color: var(--pr-pink);
    font-size: 17px;
    line-height: 1.3;
    font-weight: 700;
}

body:has(.article-prinyatie)
    .gc-blog-footer .related_articles li a {
    color: var(--pr-blue-dark) !important;
    font-family: 'Manrope', Arial, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.45 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}


/* =========================================================
   5. HOVER И ФОКУС
========================================================= */

@media (hover: hover) and (pointer: fine) {

    body:has(.article-prinyatie)
        .gc-blog-footer .b-like-and-subscribe-notifications .button:hover {
        transform: translateY(-1px);

        color: var(--pr-text) !important;
        background: #eef6ff;
        border-color: var(--pr-blue);
    }

    body:has(.article-prinyatie)
        .gc-blog-footer .btn-send:hover {
        transform: translateY(-2px);
        background-position: 80% 50% !important;
        box-shadow: 0 10px 24px rgba(104, 168, 248, 0.24);
    }

    body:has(.article-prinyatie)
        .gc-blog-footer .related_articles li:hover {
        transform: translateY(-2px);
        border-color: rgba(104, 168, 248, 0.34);
        box-shadow: 0 7px 18px rgba(16, 44, 83, 0.055);
    }

    body:has(.article-prinyatie)
        .gc-blog-footer .related_articles li:hover a {
        color: var(--pr-pink) !important;
    }
}

body:has(.article-prinyatie)
    .gc-blog-footer :is(a, button, textarea, .button):focus-visible {
    outline: 3px solid rgba(104, 168, 248, 0.42) !important;
    outline-offset: 3px !important;
}


/* =========================================================
   6. МОБИЛЬНАЯ ВЕРСИЯ
========================================================= */

@media (max-width: 768px) {

    body:has(.article-prinyatie)
        .gc-blog-footer > .container {
        width: calc(100% - 28px) !important;
    }

    body:has(.article-prinyatie)
        .gc-blog-footer > .container:first-child > .row,
    body:has(.article-prinyatie)
        .gc-blog-footer > .container:nth-child(2) > .row > .col-md-8,
    body:has(.article-prinyatie)
        .gc-blog-footer .related_articles > .row > .col-md-8 {
        padding: 22px 20px !important;
        border-radius: 20px;
    }

    body:has(.article-prinyatie)
        .gc-blog-footer .gc-standard-user-info {
        grid-template-columns: 54px minmax(0, 1fr);
        column-gap: 13px;
    }

    body:has(.article-prinyatie)
        .gc-blog-footer .gc-user-block-avatar,
    body:has(.article-prinyatie)
        .gc-blog-footer .gc-user-block-avatar img {
        width: 54px !important;
        height: 54px !important;
    }

    body:has(.article-prinyatie)
        .gc-blog-footer .new-comment > form {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    body:has(.article-prinyatie)
        .gc-blog-footer .new-comment .user-image-wrapper {
        display: none;
    }

    body:has(.article-prinyatie)
        .gc-blog-footer .new-comment .textarea-block {
        grid-column: 1;
    }

    body:has(.article-prinyatie)
        .gc-blog-footer .btn-send {
        width: 100%;
    }

    body:has(.article-prinyatie)
        .gc-blog-footer .download-csv {
        width: 100%;
        margin-left: 0;
        text-align: center;
    }

    body:has(.article-prinyatie)
        .gc-blog-footer .related_articles h3 {
        font-size: 23px !important;
    }

    body:has(.article-prinyatie)
        .gc-blog-footer .related_articles li {
        padding: 12px 14px 12px 38px;
    }

    body:has(.article-prinyatie)
        .gc-blog-footer .related_articles li::before {
        top: 12px;
        left: 14px;
    }

    body:has(.article-prinyatie)
        .gc-blog-footer .related_articles li a {
        font-size: 15px !important;
    }
}


@media (max-width: 420px) {

    body:has(.article-prinyatie)
        .gc-blog-footer > .container {
        width: calc(100% - 24px) !important;
    }

    body:has(.article-prinyatie)
        .gc-blog-footer .related_articles .gc-tags {
        gap: 6px !important;
    }

    body:has(.article-prinyatie)
        .gc-blog-footer .related_articles .gc-tags a {
        padding: 6px 11px !important;
        font-size: 12px !important;
    }
}


/* =========================================================
   ШКОЛА «ПРИНЯТИЕ»
   ОФОРМЛЕНИЕ ГЛАВНОЙ СТРАНИЦЫ БЛОГА GETCOURSE

   Все правила ограничены страницей, на которой есть #ugcListForm.
   Статьи, лендинги и системные страницы аккаунта не затрагиваются.
========================================================= */


/* =========================================================
   1. ДИЗАЙН-ТОКЕНЫ И КОНТЕЙНЕР
========================================================= */

body:has(#ugcListForm) {
    --pr-text: #102c53;
    --pr-text-soft: #52627a;
    --pr-blue: #68a8f8;
    --pr-blue-dark: #377fd7;
    --pr-pink: #fc79af;
    --pr-blue-bg: #f4f8ff;
    --pr-blue-bg-light: #f7faff;
    --pr-card-bg: #f8f9fc;
    --pr-blue-border: #dcecff;
    --pr-card-border: #e1ebf8;
}

body:has(#ugcListForm)
    .container:has(#ugcListForm) {
    width: 100% !important;
    max-width: 100% !important;

    margin-top: 38px !important;
    padding-right: 20px !important;
    padding-left: 20px !important;
}

body:has(#ugcListForm)
    .row:has(#ugcListForm) {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

body:has(#ugcListForm)
    .col-md-8:has(> #ugcListForm) {
    float: none !important;

    width: 100% !important;
    max-width: 920px !important;

    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;

    font-family: 'Manrope', Arial, sans-serif !important;
    color: var(--pr-text) !important;
}

body:has(#ugcListForm)
    .col-md-8:has(> #ugcListForm),
body:has(#ugcListForm)
    .col-md-8:has(> #ugcListForm) *,
body:has(#ugcListForm)
    .col-md-8:has(> #ugcListForm) *::before,
body:has(#ugcListForm)
    .col-md-8:has(> #ugcListForm) *::after {
    box-sizing: border-box;
}


/* =========================================================
   2. ЗАГОЛОВОК БЛОГА
========================================================= */

body:has(#ugcListForm)
    h1.f-header.f-header-52:has(+ #ugcListForm) {
    width: 100% !important;
    max-width: 820px !important;

    margin: 0 auto 28px !important;
    padding: 0 16px !important;

    font-family: 'Manrope', Arial, sans-serif !important;
    font-size: 40px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: -0.4px !important;

    color: var(--pr-text) !important;
    text-align: center !important;
}


/* =========================================================
   3. ПОИСК И ФИЛЬТР ПО ТЕГАМ
========================================================= */

body:has(#ugcListForm) #ugcListForm {
    width: 100%;

    margin: 0 0 34px !important;
    padding: 22px 24px;

    background: var(--pr-blue-bg);
    border: 1px solid rgba(104, 168, 248, 0.10);
    border-radius: 28px;
}

body:has(#ugcListForm) .gc-tags-cloud {
    width: 100% !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: visible !important;

    background: transparent !important;
}

body:has(#ugcListForm) .gc-tags-input-wrapper {
    width: 100% !important;
    height: auto !important;
    min-height: 48px;

    margin: 0 !important;
    padding: 0 !important;

    background: #ffffff;
    border: 1px solid var(--pr-blue-border);
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(16, 44, 83, 0.035);
}

body:has(#ugcListForm) .tag-editor {
    width: 100% !important;
    min-height: 46px !important;

    margin: 0 !important;
    padding: 8px 44px 8px 14px !important;

    overflow: visible !important;

    background: transparent !important;
    border: 0 !important;
    border-radius: 16px !important;
    box-shadow: none !important;

    font-family: 'Manrope', Arial, sans-serif !important;
    font-size: 15px !important;
    line-height: 28px !important;
    color: var(--pr-text-soft) !important;
}

body:has(#ugcListForm)
    .tag-editor .placeholder,
body:has(#ugcListForm)
    .tag-editor .placeholder div {
    font-family: 'Manrope', Arial, sans-serif !important;
    color: #8b98aa !important;
}

/* Выбранный тег: GetCourse меняет разметку фильтра после выборки. */

body:has(#ugcListForm) .tag-editor {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
}

body:has(#ugcListForm)
    .tag-editor > li {
    float: none !important;
}

body:has(#ugcListForm)
    .tag-editor > li:not(:first-child, .placeholder) {
    display: inline-flex !important;
    align-items: center !important;

    height: auto !important;

    margin: 0 !important;
    padding: 6px 9px 6px 12px !important;

    color: var(--pr-text) !important;
    background: #eef6ff !important;
    border: 1px solid var(--pr-blue-border) !important;
    border-radius: 50px !important;
}

body:has(#ugcListForm)
    .tag-editor .tag-editor-spacer {
    display: none !important;
}

body:has(#ugcListForm)
    .tag-editor .tag-editor-tag {
    padding: 0 !important;

    font-family: 'Manrope', Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    color: var(--pr-text) !important;
}

body:has(#ugcListForm)
    .tag-editor .tag-editor-delete {
    position: relative !important;
    top: auto !important;
    right: auto !important;

    width: 20px !important;
    height: 20px !important;

    margin-left: 6px !important;

    border-radius: 50%;
}

body:has(#ugcListForm) .gc-close-btn {
    top: 50% !important;
    right: 15px !important;

    width: 24px;
    height: 24px;

    margin-top: -12px;

    font-size: 20px !important;
    line-height: 24px !important;
    color: #8b98aa !important;
    text-align: center;
}

body:has(#ugcListForm) .gc-tags-list {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;

    width: 100% !important;
    height: auto !important;

    margin: 0 !important;
    padding: 16px 0 0 !important;

    overflow: visible !important;
}

body:has(#ugcListForm)
    .gc-tags-list > .gc-tag,
body:has(#ugcListForm)
    .gc-tags-list > .gc-tag-filter {
    float: none !important;

    height: auto !important;

    margin: 0 !important;
    padding: 7px 14px !important;

    border: 1px solid var(--pr-blue-border) !important;
    border-radius: 50px !important;

    font-family: 'Manrope', Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    font-weight: 500 !important;

    color: var(--pr-text) !important;
    background: #ffffff !important;

    cursor: pointer;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

body:has(#ugcListForm)
    .gc-tags-list > .gc-tag-filter {
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--pr-blue), var(--pr-pink)) !important;
    border-color: transparent !important;
}

body:has(#ugcListForm)
    .gc-tags-list .edit-link {
    display: none !important;
}


/* =========================================================
   4. КАРТОЧКИ СТАТЕЙ
========================================================= */

body:has(#ugcListForm) .blog-record {
    position: relative;

    width: 100%;

    margin: 0 0 24px !important;
    padding: 30px 32px 28px;

    background: var(--pr-card-bg);
    border: 1px solid var(--pr-card-border);
    border-radius: 28px;

    box-shadow: 0 6px 22px rgba(16, 44, 83, 0.035);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

body:has(#ugcListForm)
    .blog-record h4.f-header.f-header-26 {
    margin: 0 0 14px !important;

    font-family: 'Manrope', Arial, sans-serif !important;
    font-size: 26px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    letter-spacing: -0.2px !important;
}

body:has(#ugcListForm)
    .blog-record h4.f-header.f-header-26 a {
    color: var(--pr-text) !important;
    text-decoration: none !important;

    transition: color 0.2s ease;
}

body:has(#ugcListForm)
    .blog-record > div:has(> .gc-tags) {
    margin: 0 0 18px !important;
    overflow: visible !important;
}

body:has(#ugcListForm)
    .blog-record .gc-tags {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 7px !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    text-align: left !important;
}

body:has(#ugcListForm)
    .blog-record .gc-tags a {
    display: inline-flex !important;
    align-items: center;

    margin: 0 !important;
    padding: 6px 12px !important;

    background: #eef6ff !important;
    border: 1px solid var(--pr-blue-border) !important;
    border-radius: 50px !important;

    font-family: 'Manrope', Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    font-weight: 500 !important;

    color: var(--pr-text) !important;
    text-decoration: none !important;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

body:has(#ugcListForm)
    .blog-record .f-desc {
    margin: 0 !important;

    font-family: 'Manrope', Arial, sans-serif !important;
    font-size: 16.5px !important;
    line-height: 1.65 !important;
    font-weight: 400 !important;

    color: var(--pr-text-soft) !important;
}


/* =========================================================
   5. НИЖНЯЯ ЧАСТЬ КАРТОЧКИ
========================================================= */

body:has(#ugcListForm)
    .blog-record-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;

    margin-top: 22px;
    padding-top: 20px;

    border-top: 1px solid var(--pr-card-border);

    font-family: 'Manrope', Arial, sans-serif !important;
    font-size: 14px;
    line-height: 1.45;
    color: var(--pr-text-soft);
}

body:has(#ugcListForm)
    .blog-record-info > .pull-left,
body:has(#ugcListForm)
    .blog-record-info > .pull-right {
    float: none !important;
}

body:has(#ugcListForm)
    .blog-record-info > div[style*="clear"] {
    order: 3;
    width: 100%;
}

body:has(#ugcListForm)
    .blog-record-info .pull-left > a {
    position: relative;

    display: inline-flex;
    justify-content: center;
    align-items: center;

    min-height: 44px;
    padding: 11px 22px;

    background: linear-gradient(135deg, var(--pr-blue), var(--pr-pink));
    background-size: 140% 140%;
    border-radius: 50px;

    color: #ffffff !important;
    font-family: 'Manrope', Arial, sans-serif !important;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
    text-decoration: none !important;

    box-shadow: 0 6px 16px rgba(104, 168, 248, 0.17);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        background-position 0.4s ease;
}

body:has(#ugcListForm)
    .blog-record-info .pull-right,
body:has(#ugcListForm)
    .blog-record-info .pull-right a {
    color: var(--pr-text-soft) !important;
}

body:has(#ugcListForm)
    .blog-record-info .pull-right a {
    text-decoration-color: rgba(82, 98, 122, 0.35) !important;
    text-underline-offset: 3px;
}

body:has(#ugcListForm)
    .b-like-and-subscribe-notifications {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--pr-text-soft) !important;
}

body:has(#ugcListForm)
    .b-like-and-subscribe-notifications .button {
    color: var(--pr-blue-dark) !important;
    text-decoration-line: underline;
    text-decoration-color: rgba(55, 127, 215, 0.30);
    text-underline-offset: 3px;
}


/* =========================================================
   6. ПАГИНАЦИЯ
========================================================= */

body:has(#ugcListForm) .pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;

    width: 100%;

    margin: 18px 0 22px !important;
    padding: 0;
}

body:has(#ugcListForm)
    .pagination > li > a,
body:has(#ugcListForm)
    .pagination > li > span {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    min-width: 42px;
    min-height: 42px;

    margin: 0 !important;
    padding: 8px 12px !important;

    background: #ffffff !important;
    border: 1px solid var(--pr-blue-border) !important;
    border-radius: 50px !important;

    font-family: 'Manrope', Arial, sans-serif !important;
    font-size: 14px;
    font-weight: 600;
    color: var(--pr-text) !important;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

body:has(#ugcListForm)
    .pagination > .active > a,
body:has(#ugcListForm)
    .pagination > .active > span {
    color: #ffffff !important;
    background: var(--pr-blue) !important;
    border-color: var(--pr-blue) !important;
}

body:has(#ugcListForm)
    .pagination > .disabled > span {
    color: #aeb8c6 !important;
    background: var(--pr-card-bg) !important;
}


/* =========================================================
   7. HOVER И ФОКУС
========================================================= */

@media (hover: hover) and (pointer: fine) {

    body:has(#ugcListForm)
        .blog-record:hover {
        transform: translateY(-3px);

        background: #ffffff;
        border-color: rgba(104, 168, 248, 0.38);

        box-shadow: 0 14px 34px rgba(16, 44, 83, 0.075);
    }

    body:has(#ugcListForm)
        .blog-record h4 a:hover {
        color: var(--pr-blue-dark) !important;
    }

    body:has(#ugcListForm)
        .blog-record .gc-tags a:hover,
    body:has(#ugcListForm)
        .gc-tags-list > .gc-tag:hover {
        transform: translateY(-2px);

        background: #e1efff !important;
        border-color: var(--pr-blue) !important;

        box-shadow: 0 5px 14px rgba(104, 168, 248, 0.13);
    }

    body:has(#ugcListForm)
        .gc-tags-list > .gc-tag-filter:hover {
        transform: translateY(-2px);
        background-position: 80% 50% !important;
        box-shadow: 0 7px 16px rgba(104, 168, 248, 0.20);
    }

    body:has(#ugcListForm)
        .blog-record-info .pull-left > a:hover {
        transform: translateY(-2px);
        background-position: 80% 50%;
        box-shadow: 0 10px 24px rgba(104, 168, 248, 0.23);
    }

    body:has(#ugcListForm)
        .pagination > li:not(.active, .disabled) > a:hover {
        transform: translateY(-2px);

        color: var(--pr-blue-dark) !important;
        background: var(--pr-blue-bg) !important;
        border-color: var(--pr-blue) !important;
    }
}

body:has(#ugcListForm)
    :is(a, .gc-tag, .gc-tag-filter):focus-visible {
    outline: 3px solid rgba(104, 168, 248, 0.42) !important;
    outline-offset: 3px !important;
}


/* =========================================================
   8. МОБИЛЬНАЯ ВЕРСИЯ
========================================================= */

@media (max-width: 768px) {

    body:has(#ugcListForm)
        .container:has(#ugcListForm) {
        margin-top: 26px !important;
        padding-right: 14px !important;
        padding-left: 14px !important;
    }

    body:has(#ugcListForm)
        h1.f-header.f-header-52:has(+ #ugcListForm) {
        margin-bottom: 22px !important;
        padding-right: 8px !important;
        padding-left: 8px !important;

        font-size: 30px !important;
        line-height: 1.22 !important;
    }

    body:has(#ugcListForm) #ugcListForm {
        margin-bottom: 24px !important;
        padding: 16px;
        border-radius: 22px;
    }

    body:has(#ugcListForm)
        .gc-tags-list {
        gap: 7px;
        padding-top: 13px !important;
    }

    body:has(#ugcListForm)
        .gc-tags-list > .gc-tag,
    body:has(#ugcListForm)
        .gc-tags-list > .gc-tag-filter {
        padding: 6px 11px !important;
        font-size: 12px !important;
    }

    body:has(#ugcListForm)
        .blog-record {
        margin-bottom: 18px !important;
        padding: 23px 21px 21px;
        border-radius: 22px;
    }

    body:has(#ugcListForm)
        .blog-record h4.f-header.f-header-26 {
        margin-bottom: 12px !important;

        font-size: 22px !important;
        line-height: 1.32 !important;
    }

    body:has(#ugcListForm)
        .blog-record .gc-tags {
        gap: 6px !important;
    }

    body:has(#ugcListForm)
        .blog-record .gc-tags a {
        padding: 5px 10px !important;
        font-size: 12px !important;
    }

    body:has(#ugcListForm)
        .blog-record .f-desc {
        font-size: 15.5px !important;
        line-height: 1.6 !important;
    }

    body:has(#ugcListForm)
        .blog-record-info {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;

        margin-top: 18px;
        padding-top: 18px;
    }

    body:has(#ugcListForm)
        .blog-record-info .pull-left,
    body:has(#ugcListForm)
        .blog-record-info .pull-left > a {
        width: 100%;
    }

    body:has(#ugcListForm)
        .blog-record-info .pull-right {
        text-align: left !important;
    }

    body:has(#ugcListForm)
        .pagination {
        justify-content: flex-start;
        flex-wrap: nowrap;

        padding: 4px 0 10px;
        overflow-x: auto;
        scrollbar-width: thin;
    }
}


@media (max-width: 420px) {

    body:has(#ugcListForm)
        h1.f-header.f-header-52:has(+ #ugcListForm) {
        font-size: 28px !important;
    }

    body:has(#ugcListForm)
        .blog-record {
        padding: 21px 18px 19px;
    }

    body:has(#ugcListForm)
        .blog-record h4.f-header.f-header-26 {
        font-size: 21px !important;
    }
}


/* =========================================================
   9. УМЕНЬШЕННОЕ ДВИЖЕНИЕ
========================================================= */

@media (prefers-reduced-motion: reduce) {

    body:has(#ugcListForm) *,
    body:has(#ugcListForm) *::before,
    body:has(#ugcListForm) *::after {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }
}

