/*
Theme Name: RapidWP Child
Theme URI: https://themesdna.com/rapidwp-wordpress-theme/
Template: rapidwp
Author: ThemesDNA
Author URI: https://themesdna.com/
Description: RapidWP is a clean and elegant, fully responsive, user-friendly, 3 columns blogging theme for WordPress. It has various Customizer theme options to configure the theme quickly and has 2 navigation menus, slider, 3 post styles, full-width layout for posts/pages, sticky menu, 728x90 header banner, left and right sticky sidebars, 4 columns footer, social buttons, scroll-to-top button and more. RapidWP PRO version is a powerful magazine theme with color and font options, 13 different post styles, 18 featured posts widgets including slider widget, social widget, tabbed widget and more widgets, 10+ separate layout options for singular and non-singular pages, 10+ custom page templates, 10+ custom post templates, 3 header styles, footer layout options, social and share buttons, related posts and more features. Free version demo: https://demo.themesdna.com/rapidwp/
Tags: three-columns,left-sidebar,right-sidebar,flexible-header,custom-background,custom-colors,custom-header,custom-menu,custom-logo,editor-style,featured-images,footer-widgets,full-width-template,theme-options,threaded-comments,translation-ready,blog,news
Version: 1.0.8.1762270044
Updated: 2025-11-04 15:27:24
*/

.site-branding:before {
    content: "Сайт находится в разработке";
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #fff;
    color: #d32f2f;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    box-sizing: border-box;
    border-bottom: 2px solid #d32f2f;
    margin-bottom: 10px;
}

.site-disclaimer {
    background-color: #f8f9fa;
    padding: 10px 0;
    text-align: center;
    font-size: 14px;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
    color: #555;
    width: 100%;
    position: relative;
    z-index: 100;
}

body.custom-background::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.30); /* Полупрозрачный белый слой */
    z-index: -1;
}
body.custom-background {

}
/* === Базовые стили логотипа === */
.rapidwp-outer-wrapper {
    position: relative;
    max-width: 99%;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}
.rapidwp-logo {
    margin: 5px 0;
    float: left;
    width: 99%;
}
.site-branding {
    display: flex;
    align-items: center;
}
.rapidwp-logo-img {
    max-width: 100px;
    height: auto;
}
.rapidwp-custom-logo-info {
    margin-left: 20px;
}
@media (max-width: 768px) {
    .site-branding {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .rapidwp-custom-logo-info {
        margin-left: 0;
        margin-top: 10px;
    }
    .rapidwp-logo-img {
        max-width: 100px;
    }
}

.rapidwp-site-description {
    font: normal normal 20px Domine, Arial, Helvetica, sans-serif;
    line-height: 1 ;
    color: #333333;
}

/* === Исправление макета для страниц с одной правой панелью === */
.has-only-right-sidebar-single .rapidwp-content-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
}
.has-only-right-sidebar-single .rapidwp-main-wrapper {
    flex: 0 0 70%;
    max-width: 70%;
    width: 70%;
    float: none;
    order: 1;
}
.has-only-right-sidebar-single .rapidwp-sidebar-two-wrapper {
    flex: 0 0 28%;
    max-width: 28%;
    width: 28%;
    float: none;
    order: 2;
}
.has-only-right-sidebar-archive .rapidwp-content-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
}
.has-only-right-sidebar-archive .rapidwp-main-wrapper {
    flex: 0 0 70%;
    max-width: 70%;
    width: 70%;
    float: none;
    order: 1;
}
.has-only-right-sidebar-archive .rapidwp-sidebar-two-wrapper {
    flex: 0 0 28%;
    max-width: 28%;
    width: 28%;
    float: none;
    order: 2;
}
/* Скрываем левую панель */
.has-only-right-sidebar-single .rapidwp-sidebar-one-wrapper {
    display: none;
}
.has-only-right-sidebar-archive .rapidwp-sidebar-one-wrapper {
    display: none;
}
/* === Сетка для рубрик и меток === */
.rapidwp-posts-wrapper.three-column-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    clear: both;
    margin-top: 20px;
}
.rapidwp-posts-wrapper.three-column-grid .rapidwp-post {
    margin-bottom: 0;
    position: relative;
    padding: 0;
    background: transparent;
    background-blend-mode: darken;
    box-shadow: 1px 1px 20px 0px #999fff;
}
/* Стили элементов поста в сетке */
.rapidwp-posts-wrapper.three-column-grid article {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.rapidwp-posts-wrapper.three-column-grid .rapidwp-post-thumbnail {
    margin-bottom: 10px;
}
.rapidwp-posts-wrapper.three-column-grid .rapidwp-post-thumbnail a {
    display: block;
    overflow: hidden;
}
.rapidwp-posts-wrapper.three-column-grid .rapidwp-post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}
.rapidwp-posts-wrapper.three-column-grid .rapidwp-post-thumbnail img:hover {
    transform: scale(1.05);
}
.rapidwp-posts-wrapper.three-column-grid .rapidwp-entry-header {
    margin-bottom: 8px;
}
.rapidwp-posts-wrapper.three-column-grid .rapidwp-entry-title {
    font-size: 18px;
    line-height: 1.3;
    margin: 0;
}
.rapidwp-posts-wrapper.three-column-grid .rapidwp-entry-title a {
    color: #333;
    text-decoration: none;
}
.rapidwp-posts-wrapper.three-column-grid .rapidwp-entry-title a:hover {
    color: #0066cc;
    text-decoration: underline;
}
.rapidwp-posts-wrapper.three-column-grid .rapidwp-entry-meta {
    font-size: 12px;
    color: #777;
    margin-bottom: 0;
    padding: 0;
}
.rapidwp-posts-wrapper.three-column-grid .rapidwp-entry-content {
    font-size: 14px;
    line-height: 1.5;
    color: #000000;
    margin-bottom: 0;
    padding: 0 2%;
}
/* Кнопка "Читать далее" */
.rapidwp-posts-wrapper.three-column-grid .more-link {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    background: #0066cc;
    color: white;
    text-decoration: none;
    border-radius: 3px;
    font-size: 14px;
}
.rapidwp-posts-wrapper.three-column-grid .more-link:hover {
    background: #0055aa;
    text-decoration: none;
}
/* === Исправленные эффекты теней для заголовков === */
.rapidwp-posts-wrapper.three-column-grid .rapidwp-post-content {
    position: relative;
    overflow: visible; /* Не скрываем, чтобы заголовок был виден */
}
.rapidwp-posts-wrapper.three-column-grid .rapidwp-post-header-inner {
    background: #fff;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    border-top: 1px solid #ddd;
    margin: -10% auto 0;
    padding: 15px 5% 10px;
    position: relative;
    width: 90%;
    z-index: 2;
    min-height: auto;
}
/* Исправленные псевдоэлементы теней с градиентом */
.rapidwp-posts-wrapper.three-column-grid .rapidwp-post-content::before, .rapidwp-posts-wrapper.three-column-grid .rapidwp-post-content::after {
    background: linear-gradient(to bottom, rgb(0 0 0 / 47%) 0%, rgb(0 0 0 / 36%) 40%, rgba(0, 0, 0, 0.05) 70%, transparent 100%);
    content: "";
    display: block;
    filter: blur(5px);
    height: 30%;
    position: absolute;
    top: -8px;
    transform: rotate(6deg);
    width: 20px;
    z-index: 1;
    pointer-events: none;
}
.rapidwp-posts-wrapper.three-column-grid .rapidwp-post-content::before {
    left: calc(6% - 4px);
    transform: rotate(-6deg);
}
.rapidwp-posts-wrapper.three-column-grid .rapidwp-post-content::after {
    right: calc(6% - 4px);
    transform: rotate(6deg);
}
/* Скрываем оригинальные категории */
.rapidwp-posts-wrapper.three-column-grid .rapidwp-post-header .rapidwp-post-categories {
    display: none;
}
/* Стили для новых категорий в стиле Дзен */
.rapidwp-posts-wrapper.three-column-grid .rapidwp-post-categories-dzen-style {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0 0;
    justify-content: flex-start;
    max-width: 92%;
    margin-left: auto;
    margin-right: auto;
}
.rapidwp-posts-wrapper.three-column-grid .rapidwp-post-categories-dzen-style a {
    display: inline-block;
    color: #666;
    text-decoration: none;
    font-size: 12px;
    font-family: Oswald, Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-left: 18px;
}
.rapidwp-posts-wrapper.three-column-grid .rapidwp-post-categories-dzen-style a::before {
    content: "✦";
    position: absolute;
    left: 0;
    top: 0;
    color: #353963;
    font-size: 14px;
    line-height: 1;
    width: 14px;
    height: 14px;
    text-align: center;
    transition: all 0.2s ease;
}
.rapidwp-posts-wrapper.three-column-grid .rapidwp-post-categories-dzen-style a:hover {
    color: #0044ff;
    text-decoration: underline;
}
.rapidwp-posts-wrapper.three-column-grid .rapidwp-post-categories-dzen-style a:hover::before {
    color: #00268f;
    transform: scale(1.1);
}
/* Адаптивность для макета */
/* На планшетах и немного больших мобильных устройствах */
@media (max-width: 992px) {
    .has-only-right-sidebar-single .rapidwp-main-wrapper {
        flex: 0 0 65%;
        max-width: 65%;
        width: 65%;
    }
    .has-only-right-sidebar-single .rapidwp-sidebar-two-wrapper {
        flex: 0 0 33%;
        max-width: 33%;
        width: 33%;
    }
    .has-only-right-sidebar-archive .rapidwp-main-wrapper {
        flex: 0 0 65%;
        max-width: 65%;
        width: 65%;
    }
    .has-only-right-sidebar-archive .rapidwp-sidebar-two-wrapper {
        flex: 0 0 33%;
        max-width: 33%;
        width: 33%;
    }
    /* --- Ключевое изменение для сетки --- */
    .rapidwp-posts-wrapper.three-column-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* На мобильных устройствах */
@media (max-width: 768px) {
    /* --- Ключевое изменение для макета --- */
    /* Применяем правило ширины 100% для основных блоков */
    .has-only-right-sidebar-single .rapidwp-main-wrapper {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        float: none;
        margin-right: 0;
        margin-left: 0;
        padding: 0;
    }
    .has-only-right-sidebar-single .rapidwp-sidebar-two-wrapper {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        float: none;
        margin-right: 0;
        margin-left: 0;
        padding: 0;
    }
    .has-only-right-sidebar-archive .rapidwp-main-wrapper {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        float: none;
        margin-right: 0;
        margin-left: 0;
        padding: 0;
    }
    .has-only-right-sidebar-archive .rapidwp-sidebar-two-wrapper {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        float: none;
        margin-right: 0;
        margin-left: 0;
        padding: 0;
    }
    /* --- Ключевое изменение для сетки --- */
    /* Убедимся, что сетка на мобильных 1 колонка, если не указана 2 выше */
    .rapidwp-posts-wrapper.three-column-grid {
        grid-template-columns: 1fr;
    }
    .theiaStickySidebar {
        position: relative;
    }
}
/* На очень маленьких мобильных устройствах */
@media (max-width: 480px) {
    /* Сетка уже 1fr из правила выше */
    /* Можно добавить другие стили, если нужно */
}
/* === Дополнительные улучшения === */
/* Гарантируем, что контент не выходит за пределы */
.rapidwp-posts-wrapper.three-column-grid .rapidwp-post {
    box-sizing: border-box;
}
/* Плавные переходы */
.rapidwp-posts-wrapper.three-column-grid .rapidwp-post * {
    transition: all 0.3s ease;
}
/* Улучшаем читаемость текста */
.rapidwp-posts-wrapper.three-column-grid .rapidwp-entry-content p {
    margin: 10px 0;
    line-height: 1.4;
    background-color: #e2e2e2;
}
/* === Стеклянный морфизм для заголовка архива === */
header.rapidwp-archive-header {
    background: rgb(242 242 242);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgb(0 17 255 / 37%), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    padding: 0 1%;
    margin: 1% 0;
    /* border-radius: 20px; */
    position: relative;
    overflow: hidden;
}
/* Анимированный градиентный фон */
header.rapidwp-archive-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: shimmer 3s infinite;
    z-index: 1;
}
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
.rapidwp-archive-title,
.rapidwp-archive-description {
    position: relative;
    z-index: 2;
}
/* Адаптивность для заголовка архива */
@media (max-width: 768px) {
    header.rapidwp-archive-header {
        padding: 25px 15px;
        margin-bottom: 25px;
        border-radius: 12px;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    .rapidwp-archive-title {
        font-size: 24px;
    }
}
@media (max-width: 480px) {
    header.rapidwp-archive-header {
        padding: 20px 12px;
        margin-bottom: 20px;
        border-radius: 10px;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }
    .rapidwp-archive-title {
        font-size: 20px;
    }
}
/* === Исправленный стиль для блоков анонсов на главной странице === */
/* Общий контейнер для последних записей */
#rapidwp-posts-wrapper .rapidwp-posts {
    background: transparent;
    border: none;
    box-shadow: none;
}
#rapidwp-posts-wrapper .rapidwp-box-inside {
    padding: 0;
}
/* Заголовок "Последние записи" */
#rapidwp-posts-wrapper .rapidwp-posts-heading {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}
#rapidwp-posts-wrapper .rapidwp-posts-heading span {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2c3e50;
    position: relative;
    z-index: 2;
    background: #fff;
    padding: 0 1rem;
}
/* Декоративная линия под заголовком */
#rapidwp-posts-wrapper .rapidwp-posts-heading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #bdc3c7, transparent);
    z-index: 1;
}
/* Контейнер для карточек — ИСПРАВЛЕНИЕ: используем flex, а не grid */
#rapidwp-posts-wrapper .rapidwp-posts-content
 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex-direction: column;
}
/* Стили для отдельной карточки — ИСПРАВЛЕНИЕ: гибкая ширина */
#rapidwp-posts-wrapper .rapidwp-fp05-post {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* --- ИСПРАВЛЕНИЕ ШИРИНЫ КАРТОЧКИ --- */
    flex: 1 1 calc(50% - 0.75rem); /* grow, shrink, basis */
    /* basis: calc(50% - 0.75rem) - базовая ширина 50% минус половина gap */
    /* grow: 1 - элемент может расти, если есть место */
    /* shrink: 1 - элемент может сжиматься, если места не хватает */
    min-width: 280px; /* Уменьшаем минимальную ширину для лучшей адаптации */
    /* max-width не нужно, если используем flex-basis правильно */
    /* ----------------------------- */
    display: flex;
    flex-direction: column;
    height: auto; /* Высота автоматическая */
}
/* === Адаптивность для главной страницы === */
/* Переключаем на 1 колонку при ширине контейнера менее 1000px */
@media (max-width: 1090px) {
    #rapidwp-posts-wrapper .rapidwp-posts-content {
        justify-content: center; /* Центрируем карточки при 1 колонке */
    }
    #rapidwp-posts-wrapper .rapidwp-fp05-post {
        flex: 1 1 100%; /* Занимает всю ширину */
        min-width: auto; /* Отключаем минимальную ширину */
        width: 100%; /* Убедимся, что карточка растягивается */
    }
}
/* Убираем лишние отступы при 1 колонке */
@media (max-width: 1090px) {
    #rapidwp-posts-wrapper .rapidwp-posts-content {
        padding: 1rem 0;
    }
}
/* Адаптивность: на мобильных 1 колонка */
@media (max-width: 768px) {
    #rapidwp-posts-wrapper .rapidwp-posts-content {
        gap: 1rem;
        padding: 1rem 0;
    }
    #rapidwp-posts-wrapper .rapidwp-fp05-post {
        flex: 1 1 100%; /* Занимает всю ширину */
        min-width: auto; /* Отключаем минимальную ширину на мобильных */
        width: 100%; /* Убедимся, что карточка растягивается */
    }
}
/* Адаптивность: на очень маленьких экранах */
@media (max-width: 480px) {
    #rapidwp-posts-wrapper .rapidwp-fp05-post {
        min-width: auto; /* Еще раз убедимся */
        width: 100%;
    }
}
/* Остальные стили для карточек — остаются без изменений */
#rapidwp-posts-wrapper .rapidwp-fp05-post-thumbnail {
    overflow: hidden;
    position: relative;
}
#rapidwp-posts-wrapper .rapidwp-fp05-post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
#rapidwp-posts-wrapper .rapidwp-fp05-post:hover .rapidwp-fp05-post-thumbnail img {
    transform: scale(1.05);
}
#rapidwp-posts-wrapper .rapidwp-fp05-post-details {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
#rapidwp-posts-wrapper .rapidwp-fp05-post-categories {
    margin-bottom: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}
#rapidwp-posts-wrapper .rapidwp-fp05-post-categories a {
    background-color: #3498db;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
#rapidwp-posts-wrapper .rapidwp-fp05-post-categories a:hover {
    background-color: #2980b9;
}
#rapidwp-posts-wrapper .rapidwp-fp05-post-title {
    margin: 0.5rem 0 0.8rem 0;
    font-size: 1.1rem;
    line-height: 1.4;
}
#rapidwp-posts-wrapper .rapidwp-fp05-post-title a {
    color: black;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: large;
}
#rapidwp-posts-wrapper .rapidwp-fp05-post-title a:hover {
    color: #e74c3c;
}
#rapidwp-posts-wrapper .rapidwp-fp05-post-snippet {
    color: #7f8c8d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: auto; /* Отодвигает кнопку вниз */
    flex-grow: 1; /* Занимает оставшееся пространство */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
#rapidwp-posts-wrapper .rapidwp-fp05-post-read-more {
    margin-top: 1rem;
    text-align: right;
}
#rapidwp-posts-wrapper .rapidwp-fp05-post-read-more a {
    display: inline-block;
    background-color: #e74c3c;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
#rapidwp-posts-wrapper .rapidwp-fp05-post-read-more a:hover {
    background-color: #c0392b;
    transform: scale(1.05);
}
/* === Креативные стили для категорий в блоках анонсов на главной странице === */
/* Обертка для категорий (если нужно добавить эффекты к контейнеру) */
#rapidwp-posts-wrapper .rapidwp-fp05-post .rapidwp-fp05-post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem; /* Соответствует вашему текущему значению */
    /* Убираем или оставляем отступы, если они мешают */
    margin: 0.5rem 0; /* Пример внутреннего отступа */
    /* position: relative; /* Для позиционирования псевдоэлементов, если понадобятся эффекты фона */
    /* overflow: hidden; /* Если будут использоваться анимации фона */
    padding: 0.5rem; /* Добавим немного отступа внутри */
    /* border-radius: 8px; /* Скругления, если хочется */
    /* background: rgba(0,0,0,0.05); /* Легкий фон, если хочется */
    /* transition: all 0.3s ease; /* Плавные переходы */
}
/* Стили для каждой ссылки-категории */
#rapidwp-posts-wrapper .rapidwp-fp05-post .rapidwp-fp05-post-categories a {
    /* --- ВАШИ КРЕАТИВНЫЕ СТИЛИ --- */
    display: inline-block; /* Обязательно для анимаций */
    font-weight: 900; /* Жирный шрифт */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Шрифт */
    background: linear-gradient(135deg, rgb(162 0 0) 0%, rgb(51 51 51) 100%);
    font-size: 10px; /* Градиентный фон */
    color: #ffffff; /* Цвет текста */
    line-height: 1.3; /* Высота строки */
    padding: 0.2rem 0.6rem; /* Внутренние отступы */
    border-radius: 5px; /* Скругления */
    position: relative; /* Для позиционирования псевдоэлементов */
    border: 2px solid rgb(255 255 255); /* Белая граница */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Плавный переход */
    text-decoration: none; /* Убираем подчеркивание */
    text-shadow: 0 1px 2px rgb(0 0 0); /* Тень текста */
    /* Анимация танцующего эффекта */
    animation: floatTag 6s ease-in-out infinite;
    /* Анимация с задержкой для каждого тега */
    animation-delay: calc(var(--tag-index, 0) * 0.15s);
    backdrop-filter: blur(10px); /* Эффект размытия фона (может не работать в старых браузерах) */
    box-shadow: 0 4px 15px rgba(3, 233, 244, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2); /* Тени */
    z-index: 2; /* Повысим z-index для правильного наложения */
    /* --- */
}
/* Эффекты при наведении */
#rapidwp-posts-wrapper .rapidwp-fp05-post .rapidwp-fp05-post-categories a:hover {
    transform: translateY(-5px) scale(1.1); /* Подъем и увеличение */
    background: linear-gradient(135deg, rgba(3, 233, 244, 0.9) 0%, rgba(0, 124, 214, 0.9) 100%); /* Новый градиент при наведении */
    color: #ffffff; /* Цвет текста при наведении */
    box-shadow: 0 8px 25px rgba(3, 233, 244, 0.5), 0 0 30px rgba(0, 124, 214, 0.3), inset 0 0 20px rgba(255, 255, 255, 0.2); /* Более яркие тени */
    border-color: rgba(3, 233, 244, 0.6); /* Цвет границы при наведении */
    animation-play-state: paused; /* Останавливаем анимацию при наведении */
}
/* --- Адаптивность --- */
@media (max-width: 768px) {
    #rapidwp-posts-wrapper .rapidwp-fp05-post .rapidwp-fp05-post-categories a {
        padding: 0.5rem 1rem; /* Увеличиваем отступы на мобильных */
        font-size: 0.85em; /* Уменьшаем размер шрифта */
    }
}
/* --- Анимация плавающего тега (танцующий эффект) --- */
@keyframes floatTag {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-3px) rotate(0.5deg);
    }
    66% {
        transform: translateY(2px) rotate(-0.5deg);
    }
}
/* --- Разноцветные акценты при наведении (по порядку) --- */
#rapidwp-posts-wrapper .rapidwp-fp05-post .rapidwp-fp05-post-categories a:nth-child(6n+1):hover {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}
#rapidwp-posts-wrapper .rapidwp-fp05-post .rapidwp-fp05-post-categories a:nth-child(6n+2):hover {
    background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%);
}
#rapidwp-posts-wrapper .rapidwp-fp05-post .rapidwp-fp05-post-categories a:nth-child(6n+3):hover {
    background: linear-gradient(135deg, #fd79a8 0%, #e84393 100%);
}
#rapidwp-posts-wrapper .rapidwp-fp05-post .rapidwp-fp05-post-categories a:nth-child(6n+4):hover {
    background: linear-gradient(135deg, #55efc4 0%, #00b894 100%);
}
#rapidwp-posts-wrapper .rapidwp-fp05-post .rapidwp-fp05-post-categories a:nth-child(6n+5):hover {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    color: #2d3436; /* Темный цвет текста для светлого фона */
}
#rapidwp-posts-wrapper .rapidwp-fp05-post .rapidwp-fp05-post-categories a:nth-child(6n+6):hover {
    background: linear-gradient(135deg, #81ecec 0%, #00cec9 100%);
}
/* --- Сброс анимации при фокусе (для доступности) --- */
@media (prefers-reduced-motion: reduce) {
    #rapidwp-posts-wrapper .rapidwp-fp05-post .rapidwp-fp05-post-categories a {
        animation: none;
        transition: none;
    }
}
.rapidwp-fp05-post-snippet p {
    margin: 0;
    font-family: 'Noto Sans';
    color: black;
    font-size: large;
}
/* Отображение полного изображения без обрезки */
.rapidwp-post-thumbnail-single-holder {
    width: 100%;
    height: auto;
    overflow: visible;
    margin: 20px 0;
    text-align: center;
}
.rapidwp-post-thumbnail-single {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 700px; /* Максимальная высота для сохранения пропорций */
    object-fit: contain;
    display: inline-block;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .rapidwp-post-thumbnail-single {
        max-height: 400px;
    }
}










/* Страница "Сурен Акобян в СМИ" */
.smi-page {
    padding: 40px 0;
}

.smi-intro {
    margin-bottom: 40px;
}

.smi-intro h1 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: #2c3e50;
    text-align: center;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    color: #34495e;
}

.intro-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.smi-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    justify-content: center;
}

.filter-btn {
    background: #95b1cd;
    border: 1px solid #ddd;
    border-radius: 30px;
    padding: 8px 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #00d0ff;
}

.filter-btn.active {
    background: #0058f9;
    color: white;
    border-color: #3498db;
}

.smi-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.smi-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: min-content;
    min-height: auto ;
}

.smi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.smi-card-inner {
    display: flex;
    flex-direction: column;
    height:min-content;
}

/* Стили для изображений в карточках */
.smi-card-image-container {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.smi-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Корректировка для карточек без изображений */
.smi-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.smi-card-content.no-image {
    padding: 15px 20px;
}

/* Убираем верхний отступ для заголовка в карточках без изображений */
.smi-card-content.no-image .smi-card-title {
    margin-top: 0;
}

/* Делаем карточки без изображений компактнее */
.smi-card.no-image .smi-card-content {
    padding-top: 10px;
}

/* Обработка ошибок загрузки изображений */
.smi-card-image-container {
    transition: height 0.3s ease;
}

.smi-card-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.smi-card-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
}

.smi-card-title a:hover {
    color: #3498db;
}

.smi-card-description {
    color: #7f8c8d;
    margin-bottom: 15px;
    line-height: 1.5;
    flex-grow: 1;
}

.smi-card-date {
    color: #95a5a6;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.smi-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #ecf0f1;
}

.smi-card-source {
    font-size: 0.85rem;
    color: #95a5a6;
    text-transform: lowercase;
}

.smi-card-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.smi-card-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #7f8c8d;
    font-size: 1.1rem;
}

/* Фильтрация по категориям */
.smi-card.news {
    border-top: 4px solid #3498db;
    height: min-content;
}
.smi-card.social { border-top: 4px solid #e74c3c; }
.smi-card.books {
    border-top: 4px solid #2ecc71;
    height: min-content;
}
.smi-card.official { border-top: 4px solid #f39c12; }

/* Адаптивность */
@media (max-width: 768px) {
    .smi-links-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .smi-intro h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .smi-links-grid {
        grid-template-columns: 1fr;
    }
    
    .smi-filters {
        flex-direction: column;
    }
    
    .filter-btn {
        width: 100%;
        text-align: center;
    }
}


/*snoski perepisal v functions
div#footnote-list {
    padding-left: 1em;
    font-size: 80%;
    font-family: 'play';
    margin-top: -1em;
}
.fn-text {
    text-decoration: none;
    padding-bottom: 1%;
}
div.rlink {
    background-color: whitesmoke;
    padding-top: 1%;
    margin: 25% 0 3% 0;
    border-top: 4px double rgba(0, 0, 0, 0.2);
}

#rlink {}#rlink li {
    font-size: 85%;
    font-family: 'LugaadcItalic';
    font-style: italic;
    padding: 0 0 2px 0.1em;
    margin: 2%;
    letter-spacing: .6pt;
    line-height: 10pt;
}

#refstar {
    list-style-type: "*	";;
    font-style: oblique;
    border-bottom: 1px dashed #2222;
    font-family: 'LugaadcItalic';
    margin-bottom: 1%;
    padding-bottom: 1%;
}

#refstar {}.rlink hr {
    background-image: linear-gradient(to right, transparent, rgba(888, 888, 0, 0.2), transparent);
    border: 0;
    height: 1px;
    margin: 5px 0 10px 0;
    box-sizing: content-box;
    padding-top:;
}

.rlink:before {
    content: "сноски";
    color: gray;
}

#rlink:before {
    content: "числовые сноски";
    color: gray;
}
*/



.datavremya {
    background: transparent;
    color: #004e97;
    display: block;
    font-family: cristallnormal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: keep-all;
    line-break: strict;
    -webkit-hyphens: auto;
    -ms-hyphens: initial;
    hyphens: auto;
    margin: 1%;
    position: relative;
}

.datavremya::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #ccc;
}


















/* === Увеличение ширины центрального блока на главной и странице блога === */
body.home .rapidwp-content-wrapper,
body.blog .rapidwp-content-wrapper {
    display: flex ;
    flex-wrap: nowrap ;
}

body.home .rapidwp-main-wrapper,
body.blog .rapidwp-main-wrapper {
    flex: 0 0 60% ;
    max-width: 60% ;
}

body.home .rapidwp-sidebar-one-wrapper,
body.blog .rapidwp-sidebar-one-wrapper {
    flex: 0 0 20% ;
    max-width: 20% ;
}

body.home .rapidwp-sidebar-two-wrapper,
body.blog .rapidwp-sidebar-two-wrapper {
    flex: 0 0 20% ;
    max-width: 20% ;
}

/* === Адаптивность для планшетов === */
@media (max-width: 992px) {
    body.home .rapidwp-main-wrapper,
    body.blog .rapidwp-main-wrapper {
        flex: 0 0 58% ;
        max-width: 58% ;
    }
    body.home .rapidwp-sidebar-one-wrapper,
    body.blog .rapidwp-sidebar-one-wrapper,
    body.home .rapidwp-sidebar-two-wrapper,
    body.blog .rapidwp-sidebar-two-wrapper {
        flex: 0 0 21% ;
        max-width: 21% ;
    }
}

/* === Адаптивность для мобильных устройств — стек === */
@media (max-width: 768px) {
    body.home .rapidwp-content-wrapper,
    body.blog .rapidwp-content-wrapper {
        flex-direction: column ;
    }
    body.home .rapidwp-main-wrapper,
    body.blog .rapidwp-main-wrapper,
    body.home .rapidwp-sidebar-one-wrapper,
    body.blog .rapidwp-sidebar-one-wrapper,
    body.home .rapidwp-sidebar-two-wrapper,
    body.blog .rapidwp-sidebar-two-wrapper {
        flex: 1 1 100% ;
        max-width: 100% ;
        width: 100% ;
        order: initial ;
    }
}









.entry-content p {
    margin-bottom: 10px;
    font-size: large;
    color: black;
}




























/*blok*/

/*ВЫВОД blognko*/
#blognko
{
	display: grid;
	width: 100%;
	font: bold normal 100% tahoma;
	border-radius: 10px;
}

#blognko ul
{
	display: grid;
	grid-gap: 0.1rem;
	margin-left: 0;
	margin-inline-start: 0;
	padding-inline-start: 0;
	grid-template-columns: repeat(auto-fill, minmax(30%, 1fr));
}

#blognko li
{
	flex: 1 1 auto;
	width: 100%;
	border-radius: 13px;
	float: left;
	height: auto;
	position: relative;
	display: grid;
}

.blogcellnko {
    -webkit-box-shadow: 6px 6px 11px grey;
    -moz-box-shadow: 6px 6px 11px gray;
    box-shadow: 5px 4px 5px grey;
    /* border: 2px solid #ddd; */
    list-style: none;
    overflow: hidden;
    /* border-radius: 10px; */
    background-color: #f0f1f2;
}

.blogcellnko a
{
	color: #000000;
	text-decoration: none;
	font-size: 90%;
	display: grid;
}

.blogcellnko a img
{
	display: grid;
	padding-top: 0;
	height: 18vh;
	width: 100%;
	padding-left: 0;
	object-fit: cover;
	margin: 0;
}

.posts-item-content
{
}
.posts-item-content h3
{
}
.posts-item-content p
{
}
p.posts-item-date
{
}
#blognko li:hover
{
	transform: scale(1.1);
	z-index: 2;
}
@media all and (orientation:landscape)
{
	#blognko ul
	{
		grid-template-columns: repeat(auto-fill, minmax(30%, 1fr));
	}
}
@media all and (orientation:portrait)
{
	#blognko ul
	{
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}
}


div.homeniz {
    display: block;
}
div.homeniz:after {
    content: " ";
    display: block;
    clear: both;
    visibility: hidden;
    height: 0;
    line-height: 0;
}
.bloktop {
    vertical-align: middle;
    display: block;
}
.bloktop * {
    margin: 1%;
}
div.leftright {
    clear: both;
    display: flex;
    overflow: hidden;
    flex-direction: row;
    align-content: center;
    justify-content: space-evenly;
    align-items: flex-start;
    width: 100%;
}
@media all and (orientation:landscape) {
    div.leftright {
        flex-wrap: nowrap;
    }}
@media all and (orientation:portrait) {
    div.leftright {
        display: flex;
        flex-wrap: wrap;
    }
}
div.blokleft {
    display: inline-block;
    margin-right: 2%;
    width: 90%;
}
.widgetleft,.widgetleft #left-sidebar {
    width: auto;
    display: block;
}
div.blokright {
    width: auto;
    clear:;
    float: right;
}
.widgetright {}
.contentright {}
.contentright {}
div.blog2 {
    display: table;
    width: 98%;
}
div.blog2 ul {
    margin: 2px;
    list-style: none;
}
div.blog2 ul li {}
div.blog2 li {
    list-style: none;
}
div.blog2 .blogcell {}

.blogcell2 {
    width: 99%;
    display: inline-flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: flex-start;
    -webkit-box-shadow: 3px -3px 3px #6c6b798a;
    -moz-box-shadow: 3px -3px 3px #6c6b798a;
    box-shadow: 3px -3px 3px #6c6b798a;
    border: 2px solid #ddd;
    list-style: none;
    border: 1px dashed yellow;
    border-width: 1px 0 1px 1px;
    border: 1px solid #ddd;
    border-width: 0 0 1px 1px;
    margin-top: 2%;
    margin-right: 1%;
}
.blog2 li:hover {
    transform: scale(1.02);
    z-index: 2;
    position: relative;
}
.thumbnail img {
    width: 100%;
    object-fit: cover;
    height: 20vh;
    min-width: 23vw;
    max-width: 23vw;
    padding: 3% 0 3% 3%;
    filter: grayscale(0.9) sepia(10%) brightness(105%) contrast(100%);
}
.blog2 .br {
    position: relative;
    width: auto;
    margin-left: 1vw;
}
.br h5 {
    width: 99%;
}
.br p {
    font-style: italic;
    font-size: smaller;
    bottom: 0;
    font-family: Philosopher;
}
.blogcell2 a {
    margin: 2%;
    float: right;
    border-bottom: 1px solid #c3c3d0;
    font-family: tahoma;
    overflow: hidden;
    font-weight: bold;
    color: black;
    width: 99%;
}
.catlist a {
    margin: unset;
    float: unset;
    border-bottom: unset;
    font-family: unset;
    overflow: hidden;
    font-weight: unset;
    color: revert;
    width: unset;
}
.blokbottom {
    margin: 1%;
}
@media only screen and (max-width: 1024px) {
    .blogcell2 div.thumbnail img {
        height: 17vh;
    }
}
/*blok end*/


/*tags categories*/
/*popular tags */
.aft-popular-taxonomies-lists {
    text-transform: uppercase;
}
body.aft-light-mode .aft-main-banner-section.aft-banner-background-default.data-bg .aft-popular-taxonomies-lists ul li a {
    font-family: 'Philosopher';
    color: #fff;
    text-transform: uppercase;
}
.aft-popular-taxonomies-lists ul li a:before {
    content: /*"\e90f" eto # */ "\2727";
    font-family: 'chromenews-icons';
    font-size: 12px;
    padding: 0 5px;
}










/* ============================================
   ОБЛАКО ТЕГОВ - ПОЛНЫЙ ИСПРАВЛЕННЫЙ КОД
   ============================================ */

/* ОБЩИЕ СТИЛИ ОБЛАКА - ТЕМНЫЙ ФОН "СУМЕРКИ" */
.oblakotegov {
    position: relative;
    width: 100%;
    margin: 1em auto;
    padding: 0;
    background: none;
    overflow: visible ;
}

.mytagcloud {
    background: radial-gradient(circle at 20% 50%, rgb(18 18 105 / 90%) 0%, transparent 60%), 
                radial-gradient(circle at 80% 70%, rgb(0 0 0 / 80%) 0%, transparent 60%), 
                linear-gradient(145deg, rgb(0 0 243 / 95%) 0%, rgb(0 0 255 / 90%) 50%, rgb(0 0 0 / 85%) 100%);
    margin: 1em;
    box-shadow: 2px 2px 25px rgba(0, 0, 0, 0.7), inset 0 0 40px rgba(0, 0, 0, 0.3);
    padding: 1.5em;
    border-radius: 15px;
    position: relative;
    overflow: visible ;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
    min-height: 250px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 1;
    animation: cloudFloat 10s ease-in-out infinite;
    zoom:.7;
}

/* ПАДАЮЩИЕ ШАРЫ НА ФОНЕ - ЯРКИЕ И ВИДНЫЕ */
.falling-ball {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgb(255 255 255) 0%, rgb(255 255 255 / 28%) 70%);
    animation: move 4s linear infinite;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.4);
    filter: drop-shadow(2px 4px 6px black);
}

/* Позиционирование и размеры шаров */
.falling-ball:nth-child(1) {
    top: 10%;
    left: 5%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 8s;
}

.falling-ball:nth-child(2) {
    top: 20%;
    right: 10%;
    width: 50px;
    height: 50px;
    animation-delay: 1s;
    animation-duration: 10s;
}

.falling-ball:nth-child(3) {
    bottom: 15%;
    left: 15%;
    width: 70px;
    height: 70px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.falling-ball:nth-child(4) {
    bottom: 25%;
    right: 20%;
    width: 40px;
    height: 40px;
    animation-delay: 3s;
    animation-duration: 9s;
}

.falling-ball:nth-child(5) {
    top: 50%;
    left: 10%;
    width: 80px;
    height: 80px;
    animation-delay: 0.5s;
    animation-duration: 14s;
}

.falling-ball:nth-child(6) {
    top: 60%;
    right: 15%;
    width: 56px;
    height: 56px;
    animation-delay: 1.5s;
    animation-duration: 11s;
}

.falling-ball:nth-child(7) {
    bottom: 40%;
    left: 30%;
    width: 64px;
    height: 64px;
    animation-delay: 2.5s;
    animation-duration: 13s;
}

.falling-ball:nth-child(8) {
    top: 30%;
    right: 30%;
    width: 44px;
    height: 44px;
    animation-delay: 0.8s;
    animation-duration: 9.6s;
}

/* Анимация падающих шаров */
@keyframes move {
    0% {
        transform: translate(0, -100px) rotate(0deg) scale(0.8);
        opacity: 0;
    }
    10% {
        opacity: 0.9;
        transform: translate(30px, 50px) rotate(90deg) scale(1);
    }
    25% {
        opacity: 0.8;
    }
    50% {
        opacity: 0.6;
        transform: translate(60px, 200px) rotate(180deg) scale(1.2);
    }
    75% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.1;
    }
    100% {
        transform: translate(0, 450px) rotate(360deg) scale(0.8);
        opacity: 0;
    }
}

/* СТИЛИ ТЕГОВ - с анимацией появления */
.mytagcloud a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: capitalize;
    transition: all 0.3s ease-out;
    overflow: hidden;
    font-family: 'Xolonium', Arial, sans-serif;
    color: #ffffff;
    margin: 0.15rem;
    padding: 0.25rem 0.6rem;
    text-shadow: 1px 1px 2px rgb(0 0 0);
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 0;
    transform: skew(-10deg) translateY(15px) scale(0.92);
    transform-origin: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 4px 10px rgba(0, 0, 0, 0.4);
    z-index: 3;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    white-space: nowrap;
    height: auto;
    max-width: max-content;
    min-width: auto;
    backdrop-filter: grayscale(1);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    
    /* Анимация появления */
    opacity: 0;
    animation: fadeInTag 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Задержки для анимации появления первых 20 тегов */
.mytagcloud a:nth-child(1) { animation-delay: 0.1s; }
.mytagcloud a:nth-child(2) { animation-delay: 0.15s; }
.mytagcloud a:nth-child(3) { animation-delay: 0.2s; }
.mytagcloud a:nth-child(4) { animation-delay: 0.25s; }
.mytagcloud a:nth-child(5) { animation-delay: 0.3s; }
.mytagcloud a:nth-child(6) { animation-delay: 0.35s; }
.mytagcloud a:nth-child(7) { animation-delay: 0.4s; }
.mytagcloud a:nth-child(8) { animation-delay: 0.45s; }
.mytagcloud a:nth-child(9) { animation-delay: 0.5s; }
.mytagcloud a:nth-child(10) { animation-delay: 0.55s; }
.mytagcloud a:nth-child(11) { animation-delay: 0.6s; }
.mytagcloud a:nth-child(12) { animation-delay: 0.65s; }
.mytagcloud a:nth-child(13) { animation-delay: 0.7s; }
.mytagcloud a:nth-child(14) { animation-delay: 0.75s; }
.mytagcloud a:nth-child(15) { animation-delay: 0.8s; }
.mytagcloud a:nth-child(16) { animation-delay: 0.85s; }
.mytagcloud a:nth-child(17) { animation-delay: 0.9s; }
.mytagcloud a:nth-child(18) { animation-delay: 0.95s; }
.mytagcloud a:nth-child(19) { animation-delay: 1s; }
.mytagcloud a:nth-child(20) { animation-delay: 1.05s; }

@keyframes fadeInTag {
    to {
        opacity: 1;
        transform: skew(-10deg) translateY(0) scale(1);
    }
}

/* Решетка перед текстом тега */
.mytagcloud a::before {
    content: "#";
    display: inline-block;
    margin-right: 5px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: bold;
    transition: all 0.3s ease;
}

/* Компенсируем наклон для текста */
.mytagcloud a .tag-text {
    display: inline-block;
    transform: skew(10deg);
}

/* РАЗНЫЕ ФОНЫ ДЛЯ ТЕГОВ */
.mytagcloud a:nth-child(8n+1) {
    background: linear-gradient(145deg, rgba(0, 124, 214, 0.9) 0%, rgba(3, 233, 244, 0.7) 100%);
}

.mytagcloud a:nth-child(8n+2) {
    background: linear-gradient(145deg, rgba(255, 0, 0, 0.9) 0%, rgba(255, 100, 100, 0.7) 100%);
}

.mytagcloud a:nth-child(8n+3) {
    background: linear-gradient(145deg, rgba(0, 255, 0, 0.9) 0%, rgba(100, 255, 100, 0.7) 100%);
}

.mytagcloud a:nth-child(8n+4) {
    background: linear-gradient(145deg, rgba(0, 0, 255, 0.9) 0%, rgba(100, 100, 255, 0.7) 100%);
}

.mytagcloud a:nth-child(8n+5) {
    background: linear-gradient(145deg, rgba(255, 255, 0, 0.9) 0%, rgba(255, 255, 100, 0.7) 100%);
}

.mytagcloud a:nth-child(8n+6) {
    background: linear-gradient(145deg, rgba(255, 0, 255, 0.9) 0%, rgba(255, 100, 255, 0.7) 100%);
}

.mytagcloud a:nth-child(8n+7) {
    background: linear-gradient(145deg, rgba(0, 255, 255, 0.9) 0%, rgba(100, 255, 255, 0.7) 100%);
}

.mytagcloud a:nth-child(8n+8) {
    background: linear-gradient(145deg, rgba(255, 165, 0, 0.9) 0%, rgba(255, 200, 100, 0.7) 100%);
}

/* РАЗНОЦВЕТНЫЕ БЕГАЮЩИЕ ГРАНИЦЫ */
.mytagcloud a .border-line {
    position: absolute;
    display: block;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
    border-radius: 8px;
}

.mytagcloud a .border-line:nth-child(1) {
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff0000, transparent);
    animation: borderRotate1 2s linear infinite;
}

.mytagcloud a .border-line:nth-child(2) {
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #00ff00, transparent);
    animation: borderRotate2 2s linear infinite;
    animation-delay: 0.5s;
}

.mytagcloud a .border-line:nth-child(3) {
    bottom: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg, transparent, #0000ff, transparent);
    animation: borderRotate3 2s linear infinite;
    animation-delay: 1s;
}

.mytagcloud a .border-line:nth-child(4) {
    bottom: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(0deg, transparent, #ffff00, transparent);
    animation: borderRotate4 2s linear infinite;
    animation-delay: 1.5s;
}

/* Анимации для вращающихся границ */
@keyframes borderRotate1 {
    0% {
        left: -100%;
        opacity: 0;
    }
    10% {
        opacity: 0.9;
    }
    50% {
        opacity: 0.9;
    }
    90% {
        opacity: 0;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

@keyframes borderRotate2 {
    0% {
        top: -100%;
        opacity: 0;
    }
    10% {
        opacity: 0.9;
    }
    50% {
        opacity: 0.9;
    }
    90% {
        opacity: 0;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

@keyframes borderRotate3 {
    0% {
        right: -100%;
        opacity: 0;
    }
    10% {
        opacity: 0.9;
    }
    50% {
        opacity: 0.9;
    }
    90% {
        opacity: 0;
    }
    100% {
        right: 100%;
        opacity: 0;
    }
}

@keyframes borderRotate4 {
    0% {
        bottom: -100%;
        opacity: 0;
    }
    10% {
        opacity: 0.9;
    }
    50% {
        opacity: 0.9;
    }
    90% {
        opacity: 0;
    }
    100% {
        bottom: 100%;
        opacity: 0;
    }
}

/* ЭФФЕКТ ПРИ НАВЕДЕНИИ - текст НЕ размывается */
.mytagcloud a:hover {
    transform: skew(-10deg) scale(1.08) translateY(-4px);
    text-shadow: 0px 3px 1px black;
    color: #ffffff ;
    z-index: 100;
    -webkit-box-reflect: below 3px linear-gradient(transparent, rgba(255, 255, 255, 0.15));
    filter: none ;
    backdrop-filter: none ;
    -webkit-font-smoothing: antialiased;
}

/* Цветовые вариации свечения при наведении */
.mytagcloud a:nth-child(8n+1):hover {
    box-shadow: 
        0 0 12px #ff0000,
        0 0 20px #ff0000,
        inset 0 0 15px rgba(255, 255, 255, 0.4);
    border-color: #ff0000;
}

.mytagcloud a:nth-child(8n+2):hover {
    box-shadow: 
        0 0 12px #00ff00,
        0 0 20px #00ff00,
        inset 0 0 15px rgba(255, 255, 255, 0.4);
    border-color: #00ff00;
}

.mytagcloud a:nth-child(8n+3):hover {
    box-shadow: 
        0 0 12px #0000ff,
        0 0 20px #0000ff,
        inset 0 0 15px rgba(255, 255, 255, 0.4);
    border-color: #0000ff;
}

.mytagcloud a:nth-child(8n+4):hover {
    box-shadow: 
        0 0 12px #ffff00,
        0 0 20px #ffff00,
        inset 0 0 15px rgba(255, 255, 255, 0.4);
    border-color: #ffff00;
}

.mytagcloud a:nth-child(8n+5):hover {
    box-shadow: 
        0 0 12px #ff00ff,
        0 0 20px #ff00ff,
        inset 0 0 15px rgba(255, 255, 255, 0.4);
    border-color: #ff00ff;
}

.mytagcloud a:nth-child(8n+6):hover {
    box-shadow: 
        0 0 12px #00ffff,
        0 0 20px #00ffff,
        inset 0 0 15px rgba(255, 255, 255, 0.4);
    border-color: #00ffff;
}

.mytagcloud a:nth-child(8n+7):hover {
    box-shadow: 
        0 0 12px #ffa500,
        0 0 20px #ffa500,
        inset 0 0 15px rgba(255, 255, 255, 0.4);
    border-color: #ffa500;
}

.mytagcloud a:nth-child(8n+8):hover {
    box-shadow: 
        0 0 12px #800080,
        0 0 20px #800080,
        inset 0 0 15px rgba(255, 255, 255, 0.4);
    border-color: #800080;
}

/* Ускоряем анимацию границ при наведении */
.mytagcloud a:hover .border-line {
    animation-duration: 0.7s;
    opacity: 1;
    filter: brightness(1.8);
}

/* Анимация плавающего эффекта для всего облака */
@keyframes cloudFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-6px) rotate(0.6deg);
    }
}

/* Стили для заголовка - НЕ РАЗМЫТЫЙ */
span.oblako-heading-line {
    font-family: 'Xolonium', sans-serif;
    display: block;
    text-align: center;
    margin-bottom: 25px;
    color: #ffffff;
    text-shadow: none;
    font-size: 2em;
    position: relative;
    z-index: 3;
    letter-spacing: 1.5px;
    background: linear-gradient(90deg, #007cd6, #03e9f4, #007cd6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 0 1em;
    font-weight: 800;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Адаптивность */
@media (max-width: 768px) {
    .mytagcloud {
        padding: 1em;
        margin: 0.5em;
        gap: 0.4rem;
        min-height: 200px;
    }
    
    .mytagcloud a {
        padding: 0.3rem 0.7rem;
        margin: 0.2rem;
        transform: skew(-8deg) translateY(10px) scale(0.95);
        animation-delay: 0s ;
    }
    
    .mytagcloud a .tag-text {
        transform: skew(8deg);
    }
    
    .mytagcloud a:hover {
        transform: skew(-8deg) scale(1.05) translateY(-3px);
    }
    
    /* Уменьшаем шары на мобильных */
    .falling-ball {
        width: 40px ;
        height: 40px ;
        animation-duration: 6s ;
    }
    
    span.oblako-heading-line {
        font-size: 1.6em;
        margin-bottom: 15px;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .mytagcloud a {
        padding: 0.25rem 0.6rem;
        margin: 0.15rem;
    }
}















/*vivod postov i zapisi celikom*/
/*stranica zapisi*/
.singular-page main aside {
    width: 25%;
}
.singular-page main article.post, .singular-page main article.page {
    width: 74%;
    font-size: 1.2em;
    line-height: 1.3;
    background: #ffffffd9;
    box-shadow: 0 1px 4px rgb(0 0 0), 0 0 40px #e9e0b5 inset;
}
@media all and (orientation:portrait ) {
    .singular-page main article.post, .singular-page main article.page {
        width: 100%;
    }}
@media only screen and (max-width: 780px) {
    .singular-page main article.post, .singular-page main article.page, .singular-page main aside, .singular-page main aside .widget.post-info {
        width: 100%;
    }}
.singular-page main article.post p, .singular-page main article.page p {
    line-height: 1.5;
    padding: 1% 2% 0 2%;
}

.inner-post-content .content p:not(.wp-block-quote p) {
    font-family: sans-serif;
}

div.inside-article, .single div.inner-post-content {
    margin: 1% 0 0 0;
    padding: 2% 2% 10% 2%;
    position: relative;
    background: -webkit-gradient(linear, 0% 20%, 0% 92%, from(#ffffff), to(#ffffff), color-stop(.1,#f3f3f3));
    background: -moz-linear-gradient(0 0 270deg, #fff, #fff 10%, #f3f3f3);
    border-top: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-left: 1px solid #ccc;
    -webkit-border-bottom-right-radius: 60px 60px;
    -moz-border-radius-topleft: 60px 5px;
    -moz-border-radius-topright: 60px 5px;
    -moz-border-radius-bottomright: 60px 60px;
    border-bottom-right-radius: 60px 60px;
    -webkit-box-shadow: 0px 0px 12px rgb(0 0 0 / 30%);
    -moz-box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 12px rgb(0 0 0 / 30%);
}
div.inside-article:before, .single div.inner-post-content:before {
    content: '';
    width: 25px;
    height: 20px;
    position: absolute;
    bottom: 0;
    right: 0;
    -webkit-border-bottom-right-radius: 30px;
    -moz-border-radius-bottomright: 30px;
    border-bottom-right-radius: 30px;
    -webkit-box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.3);
    box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.3);
    -webkit-transform: rotate(-20deg)			   skew(-40deg,-3deg)			   translate(-13px,-13px);
    -moz-transform: rotate(-20deg)			skew(-40deg,-3deg)			translate(-13px,-13px);
    -o-transform: rotate(-20deg)			skew(-40deg,-3deg)			translate(-13px,-13px);
    transform: rotate(-20deg)		skew(-40deg,-3deg)
    translate(-13px,-13px);
}
div.inside-article:after, .single div.post-inner:after {
    content: '';
    z-index: -10;
    width: 100px;
    height: 100px;
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.2);
    display: inline-block;
    -webkit-box-shadow: 20px 20px 8px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 20px 20px 8px rgba(0, 0, 0, 0.2);
    box-shadow: 20px 20px 8px rgba(0, 0, 0, 0.2);
    -webkit-transform: rotate(0deg)		   translate(-45px,-20px)			   skew(20deg);
    -moz-transform: rotate(0deg)			translate(-45px,-20px)			skew(20deg);
    -o-transform: rotate(0deg)      translate(-45px,-20px)
    skew(20deg);
    transform: rotate(0deg)		   translate(-45px,-20px)		   skew(20deg);
}
/*vivod bloka novostilipetska*/.rpwe-img {
    border-top: 0.5px solid red;
}

img.rpwe-alignleft.rpwe-thumb.rpwe-default-thumb {
    font-size: 0;
}

li.rpwe-li.rpwe-clearfix {
    font-weight: bold;
    background: linear-gradient(#ffffff, #858486);
    list-style: none;
    margin: 3px;
    padding: 3px;
}

li.rpwe-li.rpwe-clearfix:hover {
    background: linear-gradient(#ffffff, #05f730);
}

.rpwe-block ul {
    list-style: none;
    margin-left: 0;
    padding-left: 3px;
}

.rpwe-block li {
    border: 1px solid #0e177e;
    font-family: 'izvestija';
}

.rpwe-block a {
    display: block;
    padding: px;
    text-decoration: none;
    color: black;
    transform: translateY(5%);
}

.rpwe-block h3 {
    clear: none;
    margin-top: 0;
    line-height: 1;
    font-family: 'izvestija';
    text-shadow: 3px 5px 6px white;
    font-size: 20px;
    font-weight: 100;
}

@media screen and (max-width: 600px) {
    .rpwe-block h3 {
        background: none ;
        clear: none;
        margin-bottom: 0 ;
        margin-top: 0 ;
        line-height: 1;
        font-family: 'izvestija';
        text-shadow: 3px 5px 6px whitesmoke;
    }}

.rpwe-thumb {
    border: 1px solid #eee;
    box-shadow: none;
    margin: 2px 10px 2px 0;
    padding: 3px;
    Font-size: 5px;
}

.rpwe-summary {
    text-align: end;
    font-weight: 100;
    color: blue;
}

.rpwe-time {
    color: #0065b5;
    font-size: 14px;
}

.rpwe-comment {
    color: #bbb;
    font-size: 11px;
    padding-left: 5px;
}
.rpwe-alignleft {
    display: inline;
    float: left;
    padding: 0 3px 0 0;
}

.rpwe-alignright {
    display: inline;
    float: right;
}

.rpwe-aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.rpwe-clearfix:before,.rpwe-clearfix:after {
    content: "";
    display: table;
}

.rpwe-clearfix:after {
    clear: both;
}

.rpwe-clearfix {
    zoom: 1;
}
@font-face {
    font-family: 'izvestija';src: url( '/wp-content/fonts/Izvestija.ttf' );
}
/*slider
div#slider {margin-bottom: -2em;}*/
/*неизвнестные стилы*/
span.postter {
    padding-left: 20px;
}

span.postter a {
    color: #cc0000;
}

span.postter a:hover {
    text-decoration: underline;
}
/*classs vidget*/
.podzapis {
    border: 1px solid #967f06;
}
/*vidget image aside#media_image-1 { display: flex; align-items: flex-start; justify-content: center; flex-wrap: wrap; flex-direction: row;} */
.reklama {
    /*class image*/
}
/*TAGS*/ div.tagcloud,.widget.post-info .tax ul li a {

}
div.tagcloud a,.widget.post-info .tax ul li a {

}


.widget_tag_cloud a {
    display: inline-block;
        color: #fff ;
    background: #004d05 ;
    /* border: 0px solid #cccccc; */
    font-size: 13px ;
    /* padding: 3px 5px ; */
    margin: 0 5px 5px 0;
    text-decoration: none;
    /* line-height: 1; */
    /* -webkit-transition: .2s ease-in; */
    -moz-transition: .2s ease-in;
    -o-transition: .2s ease-in;
    /* transition: .2s ease-in; */
    text-shadow: none ;
    font-family: sans-serif;
    text-transform: uppercase;
    font-weight: 900;
        transform: skewX(-15deg); /* Наклон вправо, можно изменить значение */
    transform-origin: center left; /* Важно для правильного наклона */
}


div.tagcloud a:hover {
    -webkit-transform: translate(0, 4px);
    transform: translate(0, 4px);
    border-bottom: none;
    box-shadow: none;
    text-decoration: none;
}
div.tagcloud a:before, span.tags-links a:before, span.cat-links a:before,.widget.post-info .tax ul li a:before {
    content: "\2727 ";
}
span.tags-links a:hover, span.cat-links a:hover, {}
.tags-links {
    bottom:;position:;display: inline;
}
.tags-links a, .cat-links a {
    font-family: 'europe_ext';
    font-weight: 600;
    font-variant: unicase;
    text-transform: uppercase;
}
.cat-links {
    bottom:;position:;display: inline;
}
.cat-links:before,.tags-links:before {
    content: "";
}
.widget.post-info .tax ul li a:hover {
    -webkit-transform: translate(0, 4px);
    transform: translate(0, 4px);
    border: none;
    box-shadow: none;
}

.widget.post-info .tax ul li {
    border: none;
}
/*partnerskie zapisi*/
.single .srr-wrap div, .page .srr-wrap div, .page-template-default .srr-wrap div {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
    align-content: space-around;
    flex-wrap: wrap;
}

.srr-wrap .srr-item>div>:first-child {
    margin-top: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: flex-end;
    align-content: center;
    flex-direction: row;
    width: 80%;
}

div#tag_cloud-2 {
    zoom: .8;
}
div#tag_cloud-1 {
    zoom: .8;
}
/*убираем бестолковый рубрик нет*/.cat-item-none {
    display: none;
}
/*style opisanii rubrik*/
div.archivnoc {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    padding: 1%;
}

.page-header {
    margin: 1% 1% 5% 0;
    padding: 0;
    width: 100%;
    background: linear-gradient(0deg,#a59103 0%,#e5bf07 60%);
    position: relative;
}

.opisanie {
    color: #fbfbfb;
    padding: 1%;
    position: relative;
    letter-spacing: .5px;
    margin: 1%;
    font-size: initial;
    border-top: 10px dotted white;
}

div.opisanie h2 {
    padding-bottom: 1%;
    border-bottom: 1px solid hsl(0deg 0% 100% / 40%)
}

.page-header:after,.page-header:before {
    content: "";
    position: absolute;
    z-index: -500;
    bottom: 20px;
    left: 10px;
    width: 50%;
    height: 20%;
    max-width: 300px;
    -webkit-box-shadow: 0 20px 10px #000;
    -moz-box-shadow: 0 20px 10px rgba(0,0,0,.75);
    box-shadow: 0 20px 10px #000;
    -webkit-transform: rotate(-4deg);
    -moz-transform: rotate(-4deg);
    -o-transform: rotate(-4deg);
    -ms-transform: rotate(-4deg);
    transform: rotate(-4deg);
}

.page-header:before {
    content: "";
    position: absolute;
    z-index: -500;
    bottom: 20px;
    left: 10px;
    width: 50%;
    height: 20%;
    max-width: 300px;
    -webkit-box-shadow: 0 20px 10px #000;
    -moz-box-shadow: 0 20px 10px rgba(0,0,0,.75);
    box-shadow: 0 20px 10px #000;
    -webkit-transform: rotate(-4deg);
    -moz-transform: rotate(-4deg);
    -o-transform: rotate(-4deg);
    -ms-transform: rotate(-4deg);
    transform: rotate(-4deg)
}

.page-header:after {
    right: 10px;
    left: auto;
    -webkit-transform: rotate(4deg);
    -moz-transform: rotate(4deg);
    -o-transform: rotate(4deg);
    -ms-transform: rotate(4deg);
    transform: rotate(4deg);
}

.page-header p {
    margin-top: 0
}

/*SIDEBAR*/
aside {
    width: auto;
}
.inside-left-sidebar {
    padding-left: .4em
}

.inside-right-sidebar {
    padding-right: .5em
}

.inside-left-sidebar aside,.inside-right-sidebar aside {
    border: 2px solid #ddd
}

.inside-left-sidebar li,.inside-right-sidebar li {
    border-bottom: 1px dashed #ccc
}
/*zagalovki widget*/h3.widget-title {
    border-bottom: 2px solid #bbb
}
.sidebar .widget .widget-title {
    color: #1c0f83;
}
.footer-widgets .widget-title {
    color: #1c0f83;
}




.widget .widget-title,
span.oblako-heading-line {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 0.8em;
    padding: 10px 18px;
    background: linear-gradient(135deg, #0065fb4f, #ffffff);
    border-radius: 8px;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(6, 69, 173, 0.25);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
    transition: all 0.3s ease;

}

.widget .widget-title:hover,
span.oblako-heading-line:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(6,69,173,0.35);
}












#newpost {
    width: 400px;
    margin-left: 20px;
}
.widget .widget-title::after {
    display: none;
}
/*sploshnaya liniya v widgetov*/div.textwidget hr {
    background-image: linear-gradient(to right, transparent, rgba(888, 888, 0, 0.2), transparent);
    border: 0px;
    height: 1.3px;
    margin-top: 20px;
}
.sticky {
    position: sticky;
    top: 0;
    background: #f0f0f0;
}

#site-footer {
    background-image: url(https://catherineasquithgallery.com/uploads/posts/2021-03/thumbs/1614783225_9-p-serie-foni-dlya-saita-9.jpg);
    color: #000;
    background-repeat: ;
    background-size: cover;
    padding: 40px 0 0;
    margin-top: 40px;
    border-top: 5px solid var(--hgwc12);
    background: #ccc
}

#site-footer a {
    color: initial
}

#site-footer .inner-section h4.title.line,#site-footer .inner-section h4.widget-title {
    color: inherit;
    font-weight: 700;
    font-size: 1.1em;
    margin-bottom: 20px
}
#site-footer .copyright {
    border-top: 1px solid var(--hgwc02);
    padding: 15px 0;
    font-family: 'FranckerCYR-medium'
}

#site-footer .copyright p:last-of-type,#site-footer .copyright p:last-of-type a {
    color: #a90000;
    font-size: inherit;
    font-family: 'plateiabold'
}
.footer-menu {
    padding: 0
}

#site-footer li {
    list-style-type: none;
    border-bottom: 1px solid #fff
}

.widget {
    position: relative;
    margin: 1% 1% 2% 2%;
}

#site-footer .widget nav {
    padding: 0;
    margin: 0
}

#site-footer .widget li.post .inner-post-content {
    all: unset;
    width: 100%;
}
#site-footer .inside-article:before,#site-footer .inner-post-content:before

 {
    all:unset;
     
 }


.entry-meta {
    font: bold 110%/1 'Xolonium';
    background: #c6c6c6b3;
    margin: .5em 0 1% 0;
}


.rank-math-breadcrumb a {
    padding: 0;
    margin: 0;
    color: white;
}
.rank-math-breadcrumb a:hover {
    color: blue;
}
.rank-math-breadcrumb {
    font-family: 'ZionTrainProStencil-Demibold';
    background: linear-gradient(0deg,#e1e1e1 0%,#b1b1b1 60%);
    padding: 0;
    margin: 0;
    color: #302eb0;
}
/*
nav.rank-math-breadcrumb p:after {
	content: "";
    position: absolute;
    z-index: -500;
    bottom: 20px;
    left: 10px;
    width: 50%;
    height: 20%;
    max-width: 300px;
    -webkit-box-shadow: 0 20px 10px #000;
    -moz-box-shadow: 0 20px 10px rgba(0,0,0,.75);
    box-shadow: 0 20px 10px #000;
    -webkit-transform: rotate(-4deg);
    -moz-transform: rotate(-4deg);
    -o-transform: rotate(-4deg);
    -ms-transform: rotate(-4deg);
    transform: rotate(-4deg);
}
nav.rank-math-breadcrumb p:before {
	content: "";
    position: absolute;
    z-index: -500;
    bottom: 20px;
    left: 10px;
    width: 50%;
    height: 20%;
    max-width: 300px;
    -webkit-box-shadow: 0 20px 10px #000;
    -moz-box-shadow: 0 20px 10px rgba(0,0,0,.75);
    box-shadow: 0 20px 10px #000;
    -webkit-transform: rotate(-4deg);
    -moz-transform: rotate(-4deg);
    -o-transform: rotate(-4deg);
    -ms-transform: rotate(-4deg);
    transform: rotate(-4deg);
}
*/

/*  для счётчика просмотров */
.statistica {
    margin: 0 auto 1.5% 0;
    width: 100%;
    padding: 5px 0 0 0;
    position: relative;
    background: -webkit-gradient(linear, 0% 20%, 0% 100%, from(#fff), to(#fff), color-stop(.2, #f2f2f2));
    background: -moz-linear-gradient(0% 0% 360deg, #fff, #f2f2f2 20%, #fff );
    border: 1px solid #ccc;
    -webkit-box-shadow: 0px 0px 10px rgb(0 0 0 / 30%);
    -moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 10px rgb(0 0 0 / 30%);
    display: inline-block;
    font-weight: bolder;
}
.statistica::before {
    content: "Количество просмотров: ";
    padding: 1%;
}
.statistica::after {
    content: "";
}

/* plugin prosmotrov */
.pvc_stats {
    margin: 0 auto 10% 0;
    width: 98%;
    padding: 5px 0 0 10px;
    position: relative;
    background: -webkit-gradient(linear, 0% 20%, 0% 100%, from(#fff), to(#fff), color-stop(.2, #f2f2f2));
    background: -moz-linear-gradient(0% 0% 360deg, #fff, #f2f2f2 20%, #fff );
    border: 1px solid #ccc;
    -webkit-box-shadow: 0px 0px 10px rgb(0 0 0 / 30%);
    -moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 10px rgb(0 0 0 / 30%);
}


/*begushaya stroka*/
.begushaya {
    margin: 1%;
}
div.begushaya li {
    list-style: none;
}
.marquee1 a {
    color: darkblue;
    margin-right: 1.5em;
    white-space: nowrap;
    display: inline-flex;
    flex-wrap: nowrap;
}
.marquee1 marquee {}
.marquee1 {
    -moz-box-shadow: rgba(0,0,0,.5) 3px 10px 10px -10px;
    -webkit-box-shadow: rgba(0,0,0,.5) 3px 10px 10px -10px;
    -o-box-shadow: rgba(0,0,0,.5) 3px 10px 10px -10px;
    box-shadow: rgba(0,0,0,.5) 3px 10px 10px -10px;
    outline: none;
    overflow: hidden;
    color: darkblue;
    font-weight: bold;
    -moz-border-radius: 3px / 100%;
    -webkit-border-radius: 3px / 100%;
    -o-border-radius: 3px / 100%;
    border-radius: 3px / 100%;
    text-decoration: none;
    background-size: 200% 100%, auto, 100% 2px, 100% 2px, 100% 1px, 100% 1px;
    background-position: 200% 0, 0 0, 0 0, 0 100%, 0 4px, 0 calc(100% - 4px);
    background-repeat: no-repeat;
    background-image: linear-gradient(45deg, rgba(255,255,255,.0) 30%, rgba(255,255,255,.8), rgba(255,255,255,.0) 70%),
    linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0) 20%, rgba(255,255,255,0) 90%, rgba(255,255,255,.3)),
    linear-gradient(to right, rgba(125,125,125,1), rgba(255,255,255,.9) 45%, rgba(125,125,125,.5)),
    linear-gradient(to right, rgba(125,125,125,1), rgba(255,255,255,.9) 45%, rgba(125,125,125,.5)),
    linear-gradient(to right, rgba(223,190,170,1), rgba(255,255,255,.9) 45%, rgba(223,190,170,.5)),
    linear-gradient(to right, rgba(223,190,170,1), rgba(255,255,255,.9) 45%, rgba(223,190,170,.5));
    white-space: nowrap;
    text-shadow: rgba(255,255,255,.5) 1px 1px, rgba(100,100,100,.3) 3px 7px 3px;
    user-select: none;
    padding: 10px 10px 5px 10px;
    font-size: larger;
}
.marquee1:hover {
    -moz-transition: .5s linear;
    -webkit-transition: .5s linear;
    -o-transition: .5s linear;
    transition: .5s linear;
    background-position: -200% 0, 0 0, 0 0, 0 100%, 0 4px, 0 calc(100% - 4px);
}
.marquee1:active {
    top: 1px;
}

/* osobie abzaci & h3 & podzagalovok v statyi*/
.doc_header__subheader, .inside-article h3 {
    font-family: 'Marmelad-Regular';
    font-weight: 900;
    letter-spacing: 1px;
}

/*zagalovki vivodov anons*/
H2.entry-title {
    overflow: hidden;
    left: 0;
    padding: 0 0 auto 0;
}
h2.entry-title a {
    background: #2c3184ab;
    color: #fff;
    display: inline-block;
    line-height: 17pt;
    text-shadow: 3px 3px 7px black;
    font-family: 'FranckerCYR-Medium';
    font-weight: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: keep-all;
    line-break: strict;
    -webkit-hyphens: auto;
    -ms-hyphens: initial;
    hyphens: auto;
}

H2.entry-title a:hover {
    transition: all 1s cubic-bezier (0.18, 0.89, 0,32, 1.28) 0s;
    position: absolute;
    background: #6780d2;
    text-align: center;
}

/*zagalovki zapisey*/
.singular-page main article.post a.entry-title h2, .singular-page main article.page .entry-title h2, .post-title.entry-title
 {
    position: relative;
    font: normal bold xx-large 'Playfair Display', Arial, Helvetica, sans-serif;
    color: #000000;
    margin: 0 0 10px 0;
    line-height: 1.1;
    text-align: center;
    letter-spacing: -0.5px;
}

/* podzagolovok */
h1.wp-block-heading {
    font-family: 'LiteraturnayaBook';
    line-height: 1em;
}
h2.wp-block-heading {
    font-family: 'yesevaone';
    line-height: 1em;
}
h3.wp-block-heading {
    font-family: 'FranckerCYR-Medium';
    font-stretch: expanded;
    line-height: 1em;
}
h4.wp-block-heading {
    font-family: 'SerpantineLTmedium';
    font-weight:;
}
h5.wp-block-heading {
    font-family: 'kramola';
}
h6.wp-block-heading {
    font-family: 'Mona_LisaC';
}

/*code*/
.wp-block-code code
{
	display: block;
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	overflow-wrap: break-word;
	white-space: pre-wrap;
}
/*blok viderjka*/

.wp-block-pullquote p {
    line-height: normal;
    font-family: 'TypewriterRegular';
    font-style: normal;
    position: relative;
    text-align: left;
    background: transparent;
	color: rgb(75 61 48);
	font-size: large;
}
.wp-block-pullquote
{
	margin: 0;
	padding: 0;
}
.wp-block-pullquote blockquote::after
{
	content: "";
	position: absolute;
	left: 15px;
	top: 20px;
	right: 15px;
	height: 4px;
	border-top: 1px dotted #474C4F;
	border-bottom: 1px dotted #474C4F;
}
.wp-block-pullquote blockquote::before
{
	content: "\f05a";
	font-style: normal;
	font-family: FontAwesome;
	position: absolute;
	z-index: 2;
	left: 50%;
	transform: translateX(-50%);
	top: 14px;
	color: #474C4F;
	font-size: 20px;
	background: transparent;
	padding: 0 15px;
}
.wp-block-pullquote blockquote, .wp-block-pullquote cite {
    font-size: 77%;
    padding: 40px 10px 10px 10px;
    border-left: none;
    text-align: center;
    box-shadow: 0 1px 4px rgb(0 0 0 / 63%), 0 0 40px rgb(255 242 204 / 53%) inset;
    letter-spacing: 0;
    line-height: normal;
    border-top: 1px dotted #818c99;
    border-bottom: 1px dotted #818c99;
}
.wp-block-pullquote cite
{
	z-index: ;
	background-clip: text;
	background: ;
}


/* citata */
/*
.wp-block-quote, blockquote {
    position: relative;
    padding: 0 0 5% 1%;
    margin: 0 0 5% 0;
    font-size: inherit;
    border-top: 1px dotted #818c99;
    border-bottom: 1px dotted #818c99;
    border-left: 7px dotted #b1a891; */
    /* font-family: monospace; */
   /* color: darkslategrey;
    line-height: 1;
    box-shadow: 0 1px 4px rgb(0 0 0 / 63%), 0 0 40px rgb(255 242 204 / 53%) inset;
}
.wp-block-quote:after, blockquote:after
{
	font-family: serif, Times, sans-serif;
	font-weight: bold;
	position: absolute;
	content: "”";
	color: #BFE2FF;
	font-size: 160px;
	line-height: 0;
	bottom: -35px;
	right: 2%;
	text-shadow: 2px 0 0 #337ab7, -2px 0 0 #337ab7, 0 2px 0 #337ab7, 0 -2px 0 #337ab7, 1px 1px #337ab7, -1px -1px 0 #337ab7, 1px -1px 0 #337ab7, -1px 1px 0 #337ab7;
} */

.wp-block-quote, blockquote
 {
    text-align: left;
    border-left: 6px solid #0081ef;
    font-style: italic;
    position: relative;
    background-color: #ffffff;
    box-shadow: 10px 5px 5px #c3c3c3;
}
blockquote:after {
all:unset;
}

blockquote:before

 {
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    text-decoration: inherit;
    -webkit-font-smoothing: antialiased;
    content: "\f0a1";
    font-size: 1.2em;
    color: #dddddd;
    line-height: 1;
    width: 100%;
    text-align: right;
    position: relative;
    left: -20px;
    display: inline-block;
    -moz-transform: unset;
    -webkit-transform: unset;
    -o-transform: unset;
    -ms-transform: unset;
    transform: unset;
    padding: 8px 8px 8px 8px;

}

/*.wp-block-quote:after, blockquote:after {
    content: "”";
    position: absolute;
    top: 50%;
    left: -20px;
    color: #0081ef;
    font-size: 50px;
    font-family: Times, sans-serif;
    font-weight: bold;
	line-height: 30px; }
.wp-block-quote:before {
    content: "";
    position: absolute;
    top: 50%;
    left: -6px;
    height: 40px;
       background-color: #f6f6f6;
    width: 6px;
    margin-top: -1em;
} */
.wp-block-quote cite, .blockquote cite
{
    color: #337AB7;
    font-size: 15px;
    padding-top: 10px;
    display: block;
    text-align: right;
}

.wp-block-quote cite:after
{

}
.wp-block-quote p {
    font-family: 'Philosopher';
    color: #343000;
}
/*classic citata*/
blockquote p
{
    font-family: Times, 'ofont.ru_primus';
    color: #343000;
	font-style:italic ;
font-size: ;
}

/* blok stih */
pre.wp-block-verse {
    font-family: 'MenorahGrotesk-Semi';
    background-image: linear-gradient(90deg, transparent 79px, #d4abab 79px, #f33f3f 81px, transparent 81px), linear-gradient(#eee .1em, transparent .1em);
    background-size: 100% .9em;
    font-size: large;
    letter-spacing: normal;
    font-style: normal;
    word-spacing: normal;
    line-height: 1em;
    border-top: 2px dashed gray;
    background-color: #fff;
    background-position: -2.5em 10%;
    box-shadow: 0 1px 4px rgb(0 0 0 / 63%), 0 0 40px rgb(233 212 172 / 56%) inset;
    font-style: italic;
	    padding: 2% 0 2% 8%;
    border-left: unset;
	color: black;
}

/* formatniy block */
.wp-block-preformatted {
    margin-top: 2%;
    font-weight: bold;
    background: #eee;
    color: #1a4c1a;
}
/*media+text*/
.wp-block-media-text .wp-block-media-text__content {
    direction: ltr;
    grid-column: 2;
    grid-row: 1;
    padding: 0 8%;
    word-break: break-word;
    font-family: 'Play';
}

/*размер изображения в записи*/img.attachment-full.size-full {}
/*ВЫВОД ПОХОЖИХ ЗАПИСЕЙ ПОД НОВОСТЯМИ ПО МЕТКАМ*/
.pometkam {
    display: flex;
    flex-wrap: wrap;
}
.contentpometkam {
    display: grid;
    grid-gap: 0.1rem;
    margin-left: 0;
    margin-inline-start: 0;
    padding-inline-start: 0;
}
.pometkam img {
    height: 120px;
    object-fit: cover;
    display: block;
    width: 100%;
}
.pometkam ul {
    margin-left: 1px;
    width: 98%;
    padding: 0
}
.pometkam li {
    font-size: 85%;
    font-weight: 900;
    list-style: none;
    overflow: hidden;
    padding: 0
}
.cell {
    border: solid 2px #ddd;
    -webkit-box-shadow: 6px 6px 11px grey;
    -moz-box-shadow: 6px 6px 11px gray;
    box-shadow: 5px 4px 5px grey;
    background-color: white;
    list-style: none;
    text-align: center;
    align-content: stretch;
    line-height: normal;
    min-height: 35%;
    margin: 2px;
    align-items: start;
    display: block;
    width: 48%;
    float: left;
}
.cell a:hover,.blogcell a:hover {
    color: darkblue;
    text-decoration: none;
}
.cell a, .blogcell a {
    color: #000000;
    text-decoration: none;
    font-size: medium;
    overflow: hidden;
}
.pometkam h3 {
    position:;
    display: inline;
    font-size: 25px;
    font-weight: 900;
    margin: 0 0 0 0;
    background: rgba(000,100,000,0.8);
    width: 100%;
    color: #fff;
    margin-left: 1%;
    padding: 3px;
    list-style: none;
    padding-left: 40px;
}
/*poxojie zapisi v statyi*/
/* Основной контейнер */
.related-posts-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
    background: #f8f9fa;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* Заголовок блока */
.reltopp1 {
    text-align: center;
    margin: 25px 0 20px;
    font-size: 1.8em;
    color: #2c3184;
    font-weight: 700;
    position: relative;
    padding: 0 15px;
}

.reltopp1::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #2c3184, #4a61d1);
    margin: 10px auto;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(44, 49, 132, 0.2);
}

/* Каждая похожая запись */
.related-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 25px;
    position: relative;
    height: 100%;
    width: 100%; /* Добавляем ширину */
}

.related-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

/* Область с изображением */
.relatedthumb {
    height: 100px; /* Уменьшаем высоту для мобильных */
    overflow: hidden;
    position: relative;
    background: #f5f7fa;
    margin-bottom: 10px;
}

.relatedthumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.relatedthumb::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(44, 49, 132, 0.1), transparent);
    transition: opacity 0.3s;
}


.related-item:hover .relatedthumb img {
    transform: scale(1.08);
}

/* Область с текстом */
.related-content {
    padding: 20px 20px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.related-title {
    display: block;
    font-size: 1.3em;
    font-weight: 700;
    color: #2c3184;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.related-title:hover {
    color: #1a237e;
}

.related-excerpt {
    font-size: 0.95em;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
    word-wrap: break-word; /* Позволяет переносить слова */
    word-break: break-word; /* Позволяет переносить длинные слова */
    white-space: normal; /* Разрешаем перенос строк */
}

.read-more {
    display: inline-block;
    background: linear-gradient(to right, #2c3184, #4a61d1);
    color: white;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.9em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(44, 49, 132, 0.2);
}

.read-more:hover {
    transform: translateX(5px);
    background: linear-gradient(to right, #1a237e, #3a51c1);
    box-shadow: 0 6px 12px rgba(44, 49, 132, 0.3);
}

/* Ответственный дизайн */
@media (min-width: 768px) {
@media (max-width: 768px) {
    .related-item {
        flex-direction: column;
    }
    
    .relatedthumb {
        height: 120px;
    }
    
    .related-excerpt {
        font-size: 0.85em;
    }

    
    .related-content {
        width: 65%;
        padding: 20px;
    }
}

@media (min-width: 1024px) {
    .related-posts-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    

}


/*vivod opisanii picture*/.wp-block-image figcaption {
    margin-top: 1em;
    margin-bottom: 1em;
    font-size: 14px;
    font-weight: 400;
    text-align: auto
}

.archive .wp-block-image
figcaption,.category .wp-block-image figcaption,.home .wp-block-image figcaption,.tag .wp-block-image figcaption {
    display: none
}
/*vivod izobrajenii zapisi*/
.wp-block-image {
    float: none;
}
figure.wp-block-image {
    font-family: 'Xolonium';
    color: gray;
    font-size: small;
}
.wp-block-image img {
    box-sizing: border-box;
    max-width: 99%;
    box-shadow: 3px 3px 2px grey;
    position: relative;
}
.wp-block-image:before {
    content: "";
    background-image: url(https://img.freepik.com/free-vector/decorative-border_1048-11718.jpg);

    background-size: cover;
    background-repeat: round;
}

.wp-block-gallery.has-nested-images, .wp-block-gallery.has-nested-images.columns-default.is-cropped.wp-block-gallery-1.is-layout-flex.wp-block-gallery-is-layout-flex {
    max-width: 98%;
}


/*pagination*/div.nav-links {}Span.page-numbers.current {
    -webkit-animation: pulsate 1.2s linear infinite;
    animation: pulsate 1.2s linear infinite;
    padding: 8px 1em;
    font-size: 20px;
}

Span.page-numbers.current,div.nav-links a {
    position: relative;
    font-size: 20px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    text-shadow: 0 -1px 1px #cc5500;
    user-select: none;
    Margin: .15em;
    outline: none;
    border-radius: 1px;
    background: linear-gradient(to left, rgba(0,0,0,.3), rgba(0,0,0,.0) 50%, rgba(0,0,0,.3)), linear-gradient(#d77d31, #fe8417, #d77d31);
    background-size: 100% 100%, auto;
    background-position: 50% 50%;
    box-shadow: inset #ebab00 0 -1px 1px, inset 0 1px 1px #ffbf00, #cc7722 0 0 0 1px, #000 0 10px 15px -10px;
    transition: 0.2s;
}
/*READ MORE*/
/*zapret vivoda otrivka*/
p.read-more-container {}
div.excerpt {}
/*widget shampur*/
.message-spoilers-container {
    width: 99%;
    -webkit-box-shadow: 3px -3px 3px #6c6b798a;
    -moz-box-shadow: 3px -3px 3px #6c6b798a;
    box-shadow: 3px -3px 3px #6c6b798a;
    border: 2px solid #ddd;
}
.web {}
.quote {}
.quote-text {}
.preview-resizer {}
.message-spoilers-container .title {
    text-align: center;
    font-family: 'Philosopher';
    background-color: azure;
    font-size: large;
}
.text {
    margin: 1%;
    text-shadow: 0px 0px 10px #ffffff;
    font-family: 'MenorahGrotesk-Bold';
}
.message-spoilers-container a.anchor-url {
    padding: 3%;
    font-family: 'Esqadero_FF_CY_4F';
    overflow: hidden;
    visibility: visible;
    color: darkblue;
    font-size: larger;
    display: block;
}

#site-content.ntf .innerw {
    display: flex;
    justify-content: space-between;
    position: relative;
    min-height: 500px;
    background: var(--hgwc10);
    padding-top: 30px;
    flex-wrap: wrap;
}

.jetpack-display-remote-posts p {
    margin: 0;
    padding: 0;
    border-bottom: 2px solid gray;
}

.singular-page .tiled-gallery__row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 0 1%;
    width: 99%;
    align-content: center;
    align-items: stretch;
    flex-wrap: nowrap;
}



















/* Страница "Сурен Акобян в СМИ" */
.smi-page {
    padding: 40px 0;
}

.smi-intro {
    margin-bottom: 40px;
}

.smi-intro h1 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: #2c3e50;
    text-align: center;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    color: #34495e;
}

.intro-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.smi-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    justify-content: center;
}

.filter-btn {
    background: #95b1cd;
    border: 1px solid #ddd;
    border-radius: 30px;
    padding: 8px 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #00d0ff;
}

.filter-btn.active {
    background: #0058f9;
    color: white;
    border-color: #3498db;
}

.smi-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.smi-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: min-content;
    min-height: auto ;
}

.smi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.smi-card-inner {
    display: flex;
    flex-direction: column;
    height:min-content;
}

/* Стили для изображений в карточках */
.smi-card-image-container {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.smi-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Корректировка для карточек без изображений */
.smi-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.smi-card-content.no-image {
    padding: 15px 20px;
}

/* Убираем верхний отступ для заголовка в карточках без изображений */
.smi-card-content.no-image .smi-card-title {
    margin-top: 0;
}

/* Делаем карточки без изображений компактнее */
.smi-card.no-image .smi-card-content {
    padding-top: 10px;
}

/* Обработка ошибок загрузки изображений */
.smi-card-image-container {
    transition: height 0.3s ease;
}

.smi-card-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.smi-card-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
}

.smi-card-title a:hover {
    color: #3498db;
}

.smi-card-description {
    color: #7f8c8d;
    margin-bottom: 15px;
    line-height: 1.5;
    flex-grow: 1;
}

.smi-card-date {
    color: #95a5a6;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.smi-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #ecf0f1;
}

.smi-card-source {
    font-size: 0.85rem;
    color: #95a5a6;
    text-transform: lowercase;
}

.smi-card-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.smi-card-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #7f8c8d;
    font-size: 1.1rem;
}

/* Фильтрация по категориям */
.smi-card.news {
    border-top: 4px solid #3498db;
    height: min-content;
}
.smi-card.social { border-top: 4px solid #e74c3c; }
.smi-card.books {
    border-top: 4px solid #2ecc71;
    height: min-content;
}
.smi-card.official { border-top: 4px solid #f39c12; }

/* Адаптивность */
@media (max-width: 768px) {
    .smi-links-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .smi-intro h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .smi-links-grid {
        grid-template-columns: 1fr;
    }
    
    .smi-filters {
        flex-direction: column;
    }
    
    .filter-btn {
        width: 100%;
        text-align: center;
    }
}


/*snoski perepisal v functions
div#footnote-list {
    padding-left: 1em;
    font-size: 80%;
    font-family: 'play';
    margin-top: -1em;
}
.fn-text {
    text-decoration: none;
    padding-bottom: 1%;
}
div.rlink {
    background-color: whitesmoke;
    padding-top: 1%;
    margin: 25% 0 3% 0;
    border-top: 4px double rgba(0, 0, 0, 0.2);
}

#rlink {}#rlink li {
    font-size: 85%;
    font-family: 'LugaadcItalic';
    font-style: italic;
    padding: 0 0 2px 0.1em;
    margin: 2%;
    letter-spacing: .6pt;
    line-height: 10pt;
}

#refstar {
    list-style-type: "*	";;
    font-style: oblique;
    border-bottom: 1px dashed #2222;
    font-family: 'LugaadcItalic';
    margin-bottom: 1%;
    padding-bottom: 1%;
}

#refstar {}.rlink hr {
    background-image: linear-gradient(to right, transparent, rgba(888, 888, 0, 0.2), transparent);
    border: 0;
    height: 1px;
    margin: 5px 0 10px 0;
    box-sizing: content-box;
    padding-top:;
}

.rlink:before {
    content: "сноски";
    color: gray;
}

#rlink:before {
    content: "числовые сноски";
    color: gray;
}
*/



.datavremya {
    background: transparent;
    color: #004e97;
    display: block;
    font-family: cristallnormal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: keep-all;
    line-break: strict;
    -webkit-hyphens: auto;
    -ms-hyphens: initial;
    hyphens: auto;
    margin: 1%;
    position: relative;
}

.datavremya::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #ccc;
}










/* Страница "Сурен Акобян в СМИ" */
.smi-page {
    padding: 40px 0;
}

.smi-intro {
    margin-bottom: 40px;
}

.smi-intro h1 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: #2c3e50;
    text-align: center;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    color: #34495e;
}

.intro-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.smi-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    justify-content: center;
}

.filter-btn {
    background: #95b1cd;
    border: 1px solid #ddd;
    border-radius: 30px;
    padding: 8px 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #00d0ff;
}

.filter-btn.active {
    background: #0058f9;
    color: white;
    border-color: #3498db;
}

.smi-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.smi-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: min-content;
    min-height: auto ;
}

.smi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.smi-card-inner {
    display: flex;
    flex-direction: column;
    height:min-content;
}

/* Стили для изображений в карточках */
.smi-card-image-container {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.smi-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Корректировка для карточек без изображений */
.smi-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.smi-card-content.no-image {
    padding: 15px 20px;
}

/* Убираем верхний отступ для заголовка в карточках без изображений */
.smi-card-content.no-image .smi-card-title {
    margin-top: 0;
}

/* Делаем карточки без изображений компактнее */
.smi-card.no-image .smi-card-content {
    padding-top: 10px;
}

/* Обработка ошибок загрузки изображений */
.smi-card-image-container {
    transition: height 0.3s ease;
}

.smi-card-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.smi-card-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
}

.smi-card-title a:hover {
    color: #3498db;
}

.smi-card-description {
    color: #7f8c8d;
    margin-bottom: 15px;
    line-height: 1.5;
    flex-grow: 1;
}

.smi-card-date {
    color: #95a5a6;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.smi-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #ecf0f1;
}

.smi-card-source {
    font-size: 0.85rem;
    color: #95a5a6;
    text-transform: lowercase;
}

.smi-card-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.smi-card-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #7f8c8d;
    font-size: 1.1rem;
}

/* Фильтрация по категориям */
.smi-card.news {
    border-top: 4px solid #3498db;
    height: min-content;
}
.smi-card.social { border-top: 4px solid #e74c3c; }
.smi-card.books {
    border-top: 4px solid #2ecc71;
    height: min-content;
}
.smi-card.official { border-top: 4px solid #f39c12; }

/* Адаптивность */
@media (max-width: 768px) {
    .smi-links-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .smi-intro h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .smi-links-grid {
        grid-template-columns: 1fr;
    }
    
    .smi-filters {
        flex-direction: column;
    }
    
    .filter-btn {
        width: 100%;
        text-align: center;
    }
}


/*snoski perepisal v functions
div#footnote-list {
    padding-left: 1em;
    font-size: 80%;
    font-family: 'play';
    margin-top: -1em;
}
.fn-text {
    text-decoration: none;
    padding-bottom: 1%;
}
div.rlink {
    background-color: whitesmoke;
    padding-top: 1%;
    margin: 25% 0 3% 0;
    border-top: 4px double rgba(0, 0, 0, 0.2);
}

#rlink {}#rlink li {
    font-size: 85%;
    font-family: 'LugaadcItalic';
    font-style: italic;
    padding: 0 0 2px 0.1em;
    margin: 2%;
    letter-spacing: .6pt;
    line-height: 10pt;
}

#refstar {
    list-style-type: "*	";;
    font-style: oblique;
    border-bottom: 1px dashed #2222;
    font-family: 'LugaadcItalic';
    margin-bottom: 1%;
    padding-bottom: 1%;
}

#refstar {}.rlink hr {
    background-image: linear-gradient(to right, transparent, rgba(888, 888, 0, 0.2), transparent);
    border: 0;
    height: 1px;
    margin: 5px 0 10px 0;
    box-sizing: content-box;
    padding-top:;
}

.rlink:before {
    content: "сноски";
    color: gray;
}

#rlink:before {
    content: "числовые сноски";
    color: gray;
}
*/



.datavremya {
    background: transparent;
    color: #004e97;
    display: block;
    font-family: cristallnormal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: keep-all;
    line-break: strict;
    -webkit-hyphens: auto;
    -ms-hyphens: initial;
    hyphens: auto;
    margin: 1%;
    position: relative;
}

.datavremya::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #ccc;
}











/* Добавьте этот CSS в ваш файл стилей или в раздел "Дополнительный CSS" в WordPress */
.contact-form {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 2.5rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.contact-form .form-group {
    margin-bottom: 1.75rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #1e293b;
    font-size: 1.05rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: #f8fafc;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    background: #ffffff;
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form input[type="checkbox"] {
    margin-right: 0.5rem;
    width: 1.2rem;
    height: 1.2rem;
    cursor: pointer;
}

.contact-form button {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
    width: 100%;
    letter-spacing: 0.5px;
}

.contact-form button:hover {
    background: #2563eb;
}

.contact-form .form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.contact-form .success {
    background: #dcfce7;
    color: #166534;
}

.contact-form .error {
    background: #fee2e2;
    color: #b91c1c;
}

div[data-gallery-id="77419472"] .pgcsimplygalleryblock-viewer-slider-item-title {
    font-size: 20px;
    color: rgba(255, 255, 255, 1);
    display: none;
}











/* Стили только для страницы с книгой */
.page-template-template-book-page-php .rapidwp-main-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    float: none;
    word-wrap: break-word;
    overflow: visible;
    flex: 0 0 100% ;
    max-width: 100% ;
    -webkit-box-ordinal-group: 2;
    -webkit-order: 1;
    -ms-flex-order: 1;
    order: 1;
}

/* Убираем боковые отступы только для этой страницы */
.page-template-template-book-page-php .rapidwp-content-wrapper {
    padding: 0 ;
    margin: 0 ;
}

/* Центрируем контент книги */
.page-template-template-book-page-php .book-page-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

/* Для мобильных устройств */
@media (max-width: 768px) {
    .page-template-template-book-page-php .book-page-container {
        padding: 15px;
    }
}














/* Основной контейнер футера */
#rapidwp-footer {
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    margin: 0 auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 95%;
    padding: 30px 0 20px;
    border-top: 1px solid #4a4a4a;
    color: #e0e0e0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

/* Внутренний контейнер с отступами */
.rapidwp-foot-wrap {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Блок авторских прав */
.copyright {
    width: 100%;
}

.innerw {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Стили для внутреннего контента */
.inner-copyright {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 15px;
    background: rgba(30, 30, 30, 0.7);
    border-radius: 8px;
    border: 1px solid #3a3a3a;
    backdrop-filter: blur(10px);
}

/* Стили для заголовка и ссылки */
.inner-copyright > p:first-child {
    font-weight: 700;
    font-size: 1.1em;
    color: #ffd700;
    margin: 0;
    letter-spacing: 0.5px;
}

.inner-copyright p a {
    color: #4da6ff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.inner-copyright p a:hover {
    color: #ffd700;
    text-decoration: underline;
}

/* Стили для юридической информации */
.legal-info {
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid #444;
    font-size: 0.9em;
    line-height: 1.6;
    color: #c5c5c5;
}

.legal-info p {
    margin: 8px 0;
    padding-left: 10px;
    position: relative;
}

.legal-info p:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ffd700;
    font-weight: bold;
}

/* Стили для последней строки с авторскими правами */
.legal-info p:last-child {
    font-weight: 600;
    color: #ffd700;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #555;
    font-size: 1em;
}

/* Адаптивные стили для мобильных устройств */
@media (max-width: 768px) {
    .innerw {
        padding: 0 10px;
    }
    
    .inner-copyright {
        padding: 15px;
        gap: 10px;
    }
    
    .inner-copyright > p:first-child {
        font-size: 1em;
        text-align: center;
    }
    
    .inner-copyright p:nth-child(2) {
        text-align: center;
    }
    
    .legal-info {
        font-size: 0.85em;
        padding: 10px 0 0;
    }
    
    .legal-info p {
        margin: 6px 0;
    }
}

@media (max-width: 480px) {
    #rapidwp-footer {
        padding: 25px 0 15px;
    }
    
    .inner-copyright {
        padding: 12px;
    }
    
    .legal-info p {
        font-size: 0.8em;
        line-height: 1.5;
    }
    
    .legal-info p:last-child {
        font-size: 0.9em;
    }
}

/* Анимация появления при скролле */
#rapidwp-footer {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

#rapidwp-footer.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Стили для иконок (если добавишь позже) */
.footer-social {
    margin-top: 15px;
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: #4da6ff;
    font-size: 1.2em;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #ffd700;
}








body, button, input, select, textarea {
    color: #000000;
}








.ok-widget-fullwidth,
#ok_content_widget {
  max-width: none ;
  width: 100% ;
  margin: 0 auto ;
}

/* Дополнительно: убедимся, что внутренние элементы виджета не ломают вёрстку */
#ok_content_widget * {
  box-sizing: border-box ;
}







/* Основные стили контейнера */
.rank-math-html-sitemap {
    font-family: 'Inter', 'Helvetica Neue', 'Segoe UI', sans-serif;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    color: #2d3436;
        border-radius: 8px;
        padding: 2%;
    box-shadow: 
        0 10px 30px rgba(41, 128, 185, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

/* Стили для каждой секции */
.rank-math-html-sitemap__section {
    margin-bottom: 2.5rem;
    padding-bottom: 1.8rem;
    position: relative;
}

.rank-math-html-sitemap__section:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
}

.rank-math-html-sitemap__section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(116, 185, 255, 0.3) 50%, 
        transparent 100%);
}

.rank-math-html-sitemap__section:last-of-type::after {
    display: none;
}

/* Заголовки секций */
.rank-math-html-sitemap__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 1.8rem;
    padding-bottom: 0.8rem;
    position: relative;
    letter-spacing: -0.3px;
}

.rank-math-html-sitemap__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #74b9ff);
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(52, 152, 219, 0.3);
}

/* Список ссылок */
.rank-math-html-sitemap__list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: grid;
    gap: .3rem;
}

/* Элементы списка */
.rank-math-html-sitemap__item {
    background: rgba(255, 255, 255, 0.7);
        border-radius: 8px;
        padding: 2%;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(224, 242, 254, 0.8);
    position: relative;
    overflow: hidden;
}

.rank-math-html-sitemap__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(116, 185, 255, 0.1), 
        transparent);
    transition: left 0.6s ease;
}

.rank-math-html-sitemap__item:hover {
    background: rgba(236, 246, 255, 0.9);
    border-color: rgba(116, 185, 255, 0.5);
    transform: translateX(10px) translateY(-2px);
    box-shadow: 
        0 8px 20px rgba(52, 152, 219, 0.15),
        0 0 0 1px rgba(116, 185, 255, 0.2);
}

.rank-math-html-sitemap__item:hover::before {
    left: 100%;
}

/* Ссылки */
.rank-math-html-sitemap__link {
    color: #2d3436;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
    line-height: 1.5;
}

.rank-math-html-sitemap__link:hover {
    color: #0984e3;
}

/* Добавляем небольшой значок ссылки при наведении */
.rank-math-html-sitemap__item:hover .rank-math-html-sitemap__link::after {
    content: "→";
    margin-left: 10px;
    font-weight: bold;
    color: #3498db;
    animation: arrowBounce 0.5s ease;
}

/* Анимация для стрелки */
@keyframes arrowBounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .rank-math-html-sitemap {
        border-radius: 8px;
        padding: 2%;
    }
    
    .rank-math-html-sitemap__title {
        font-size: 1.3rem;
    }
    
    .rank-math-html-sitemap__item {
        padding: 1rem;
    }
    
    .rank-math-html-sitemap__item:hover {
        transform: translateX(5px);
    }
}




/* Разные акцентные цвета для разных секций */
.rank-math-html-sitemap__section--page .rank-math-html-sitemap__title::after {
    background: linear-gradient(90deg, #3498db, #74b9ff); /* Синий для страниц */
}

.rank-math-html-sitemap__section--taxonomy .rank-math-html-sitemap__title::after {
    background: linear-gradient(90deg, #00b894, #55efc4); /* Зеленый для таксономий */
}

.rank-math-html-sitemap__section--post-type .rank-math-html-sitemap__title::after {
    background: linear-gradient(90deg, #9b59b6, #e056fd); /* Фиолетовый для записей */
}

/* Цветовые акценты для элементов при наведении */
.rank-math-html-sitemap__section--page .rank-math-html-sitemap__item:hover {
    border-color: rgba(116, 185, 255, 0.5);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.15);
}

.rank-math-html-sitemap__section--taxonomy .rank-math-html-sitemap__item:hover {
    border-color: rgba(0, 184, 148, 0.5);
    box-shadow: 0 8px 20px rgba(0, 184, 148, 0.15);
}




/* =============================================
   СТИЛИ ДЛЯ ПОИСКА ЯНДЕКСА (ОПТИМИЗИРОВАННЫЙ)
   ============================================= */






